This model simulates the power generation of a wind turbine fed into an AC power grid. The goal is to stabilize the power generation by controlling the nacelle and blade pitch angle. This is done by using a DC motor to align the nacelle in the wind direction, as well as controlling the angle of attack by rotating the blades to reduce the induced drag. To convert the mechanical power to electrical power, a DC permanent magnet motor is used as a generator. In addition, the generated power is passed through a DQ Controlled Inverter and a Rectifier in order to feed into an AC power grid. The power generation can be viewed in the resulting simulation plots.