Submission 124
Open-source implementation of a DFIG wind turbine model based on IEC 61400-27 international guideline using Python
WISO25-124
Presented by: Javier Jiménez-Ruiz
In recent years, wind energy integration into power systems has grown rapidly, reaching 1,136 GW of installed capacity in 2024. As wind power penetration increases, maintaining power system stability under grid disturbances becomes critical. This requires dynamic models capable of simulating wind turbine behavior during transient events—such as voltage dips—while also being generic enough to avoid violating manufacturers' non-disclosure agreements.
The IEC 61400-27 standard provides a solution by defining technology-neutral models that accurately represent wind turbines regardless of manufacturer. However, these models have been mostly implemented in proprietary software, which hampers collaboration between companies and academic institutions using different platforms. This paper demonstrates how Python can be used to openly simulate wind turbine models, enabling broader collaboration across the industry and academia. Specifically, the work focuses on implementing a doubly-fed induction generator (DFIG) wind turbine model based on the IEC 61400-27 standard in Python, and comparing its simulation results with those from DIgSILENT PowerFactory, a leading proprietary tool in power system analysis. Results confirm that the Python-based model achieves equivalent accuracy, validating its use for open-source power system studies.
The development of the IEC 61400-27 standard began in 2009 due to the lack of generic wind turbine models. Its first edition, released in 2014, introduced standardized models for turbines and wind power plants, including validation methodologies. A revised version was published in 2020 after extensive consultation with grid operators, manufacturers, and researchers. Yet, adoption has been mostly limited to closed-source environments, creating challenges for validation and collaborative development. In power system simulation, tools such as PSCAD, PowerFactory, PSS/E, and MATLAB Simulink are commonly used but are not open-source, limiting interoperability and information exchange. This highlights the need for open alternatives capable of accurate dynamic simulation. In this context, tools like Collimator—an open-source, high-performance simulation suite built around Python—are emerging. It supports block diagram modeling and seamless integration with other Python-based power system analysis modules.
In this study, a DFIG wind turbine model was implemented in both Python and PowerFactory. To compare them, simulations were run using three voltage dips with different residual voltages and duration under full-load and partial-load conditions. The results from both tools showed strong agreement, validating the Python implementation’s accuracy.
In conclusion, the IEC 61400-27-based wind turbine model implemented in Python delivers results equivalent to those from DIgSILENT PowerFactory. This supports the use of Python as a viable open-source platform for wind turbine modeling and simulation, promoting greater collaboration and model sharing among researchers and industry stakeholders.