Wind Power Library
The Wind Power library (WPL) is a Modelica based simulation Library intended to aid modelling wind power plant components including generators, power electronics and auxiliary components. It is intended to study the dynamic behaviour of modern wind turbines with both generator and grid components.
Developed with cross product and platform integration in mind, it allows easy coupling with other tools using FMI interface.
- Study the dynamic behavior of wind turbines
- Power Electronics, i.e. back-to-back converter is based on averaged models. Thus, the simulation performance is increased.
- Control of the PMSG is based on field-oriented control (FOC)
- Control of the Grid is based on voltage-oriented control (VOC)

- With the wind speed as input the power that can be harvested from a wind turbine is computed in the wind turbine model.
- The maximum extractable wind power (turbine power) is calculated based on the power coefficient (which is an approximation required for dynamic investigations > refer to slide 13).
- The harvested wind power is transferred to the permanent-magnet synchronous generator (PMSG) and transformed into electrical power.
- The back-to-back converter is needed to decouple the variable frequency generator-side from the constant frequency grid-side (means that the frequency is fixed by the grid)
- If switching elements are used in the back-to-back converter a filter is smoothing the switching signals generated in the grid-side converter.
The WPL includes different examples that demonstrate the control mechanism of modern wind turbines.
- Generator-Side Control
- MPPT via Optimal Torque
- MPPT via Tip-Speed Ratio
- Pitch Control
- Grid-Side Control
- Voltage Oriented Control

Some examples of some uses of the library include:
- Maximum power point tracking of a wind turbine:
- Optimal torque using an Energy Analysis method
- Optimal torque using a physical model of the turbine including field orientated control
- Using Tip Speed Ratio
- Generator side control of wind turbines
- Grid Side control of wind turbine power plants
