e2nIEE / pandapower

Convenient Power System Modelling and Analysis based on PYPOWER and pandas
https://www.pandapower.org
Other
847 stars 478 forks source link

Can make_PTDF matrix handle islanded networks? #1577

Open AnkurArohi opened 2 years ago

AnkurArohi commented 2 years ago

Pandapower exception:-

An Error occurred during the computation of sensitivities: Distributed slack calculation is not implemented for several separa te zones at once, please calculate the zones separately

Lets say we have a network which also has islands, Is it possible for make PTDF to calculate the H matrix ? Here we are not talking about distributed slack but one slack and multiple zones.

Because with distributed slacks we receive the exception as mentioned above

rbolgaryn commented 2 years ago

for the distributed slack calculation, you could adjust the code to implement it also for separate zones (if this would help). For that, you would need to add the additional row and additional column in the Jacobian matrix for every disconnected zone, rather than once for the whole grid. You can then open a pull request with this feature. For PTDF atrix you can try and see if it works with the grid that has separate zones (I am not familiar with the implementation very well).

Best regards, Roman