susantoj/PYPOWER-Dynamics

Small signal stability analysis (eigenvalues)

Opened this issue · 2 comments

rwl commented

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?

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

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