MODELING AND GRID CONNECTED CONTROL OF WIND