susantoj / PYPOWER-Dynamics

Python-based transient stability simulation program
BSD 3-Clause "New" or "Revised" License
57 stars 31 forks source link

Small signal stability analysis (eigenvalues) #14

Open rwl opened 7 years ago

rwl commented 7 years ago

With the exception of PSAT, I am not currently aware of any open source library capable of Small Signal Stability Analysis (SSSA).

Section 7 of "Power System Modelling and Scripting" by Federico Milano includes some useful information and snippets of code.

The eigs function from SciPy provides a convenient interface to ARPACK that would do the hard work.

Does anyone know how to find the eigenvalues for a PYPOWER-Dynamics model?

susantoj commented 6 years ago

Hi Richard, I guess the first step would be to calculate the linearised state-space equations for the built-in dynamic models (i.e. synchronous machine models). Next, the state-space equations for the dynamic controllers would need to be created, either manually as user-defined input files or automatically (harder!)

Then all of these need to be converted to a common reference frame and combined with the algebraic network equations to build up the overall system A matrix. I think the eigenvalue decomposition part is pretty straightforward once the A matrix is built.

Regards, Julius

rwl commented 6 years ago

FYI, in addition to PSAT there is Andes by @cuihantao. It is based on Federico Milano's book and it includes a SSSA routine:

https://github.com/cuihantao/Andes