xxh0523 / Py_PSOPS

Python API for PSOPS (Power System Optimal Parameter Selection)
GNU General Public License v3.0
26 stars 0 forks source link

what are the meanings of results? #2

Open haloproof opened 1 year ago

haloproof commented 1 year ago

I wanna try to use Py_PSOPS for power system fault simulation, but i do not know what are the generated results, i got npz files with keys: ['label', 'topo', 'fault', 'sys', 'delta', 'volt', 'transfer'], which have shapes i can not understand, thanks for any help.

xxh0523 commented 1 year ago

I assume you are using generate_samples.py directly. The meanings of the keys are as follows. label, whether this case loses rotor angle stability. topo, the topology of the case's operating state. 'none' means the original topology of the IEEE 39 case. if it is not 'none', it shows the lines that are disconnected. the power flows are sampled with the original, N-1, and N-2 topologies. fault, the ac line fault information. sys, the system level simulation results including the maximum rotor angle difference, the min and max bus voltages, and the min and max of frequencies in the system at each time step. delta, the rotor angle of all the generators. volt, the bus voltages of all the buses. transfer, the transfer power of all the ac lines.

you can rewrite the code by referring to the comments in py_psops.py.

haloproof commented 1 year ago

thanks for your detailed explanation, i'll read the comments in py_psops.py to learn more.