Automatized AVR tuning with Python in DIgSILENT PowerFactory

Automatized AVR tuning with Python in DIgSILENT PowerFactory

Sometimes it is needed to tune an AVR (automatic voltage regulator) to fulfill specific requirements. Requirements such as rise time, overshoot, and settling time are often used to specify the desired behavior for a given step response of the AVR. Since it is difficult to tune the controller by hand, this post presents an automatized…

Split lines or cables into a pre-defined number of sections in DIgSILENT PowerFactory

Split lines or cables into a pre-defined number of sections in DIgSILENT PowerFactory

In this post, I present an approach to automatically split lines or cables in DIgSILENT PowerFactory into a pre-defined number of sections. The main idea is to loop over every line and split it into a pre-defined number of sections. The sections assume the same line type as the original line. Whereas the length of…

A template for rate-of-change-of-frequency (RoCoF) analysis of synchronous generators/condensers

A template for rate-of-change-of-frequency (RoCoF) analysis of synchronous generators/condensers

The importance of grid connection studies increases around the world. TSOs focus more on the grid impact of new generation units as the energy transition moves forward. Adding more converter-based units changes the power system dynamics fundamentally, e.g. higher frequency gradients. That’s also why TSOs require rate-of-change-of-frequency (RoCoF) analyses before the approval of prospective units….

A template for fault-ride-through (FRT) analysis of synchronous generators/condensers

A template for fault-ride-through (FRT) analysis of synchronous generators/condensers

The importance of grid connection studies increases around the world. TSOs focus more on the grid impact of new generation units as the energy transition moves forward. Adding more converter-based units changes the power system dynamics fundamentally. That’s also why most TSOs require a fault-ride-through (FRT) analysis of prospective units before approval. Similarly important is…

Automatized short-circuit analysis with Python in DIgSILENT PowerFactory

Automatized short-circuit analysis with Python in DIgSILENT PowerFactory

Sometimes you want to know the short-circuit currents and short-circuit powers at different locations in the power system. This could be of importance for different reasons. For example, design of protection systems or identification of weak grid areas in terms of short-circuit power. Therefore, in this post, I present an approach for automatized short-circuit analysis…

Pitch-controlled variable-speed doubly-fed induction generator (DFIG) wind turbine model in DIgSILENT PowerFactory

Pitch-controlled variable-speed doubly-fed induction generator (DFIG) wind turbine model in DIgSILENT PowerFactory

Thanks to one of my former PhD supervisors Mattia Marinelli, I can provide a pitch-controlled variable speed doubly-fed induction generator (DFIG) wind turbine model in DIgSILENT PowerFactory. Mattia developed and implemented the comprehensive model to study and teach wind integration in the power system. In this post, I present the general concepts of the implemented…

Automated bottleneck (critical line) analysis with Python in DIgSILENT PowerFactory

Automated bottleneck (critical line) analysis with Python in DIgSILENT PowerFactory

On the 8th of January 2021, the system separation incident in Continental Europe started with the tripping of a line in Croatia due to overcurrent protection. The subsequent shift of the power flow overloaded the neighboring lines and caused them to trip as well. These cascading events are undoubtedly very critical for power systems. This…

Run DIgSILENT PowerFactory through the Python API – kickstart your PowerFactory automatization

Run DIgSILENT PowerFactory through the Python API – kickstart your PowerFactory automatization

Most people who work with DIgSILENT PowerFactory know that sometimes it is convenient to automatize certain tasks to avoid tedious manual work. However, automatization is also key if you want to carry out a large number of simulations with varying parameters. Luckily, DIgSILENT PowerFactory comes with an API interface for Python to do precisely that….