You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just to give a short update, the issue could be solved by simply modelling all other generators as negative loads. This might pose problems if more complex OPF calculations are to be made, which is however not the case for me.
This is one major problem of PyPower. The Algorithm does not detect branches without anything connected.
What I'm trying to say is that when the last Bus of a strand has a total value of (0+j0)MVA the Jacobian cannot be inverted.
In the case above it would be Bus-4...
Simple Fix is to change all 0 values for P in ppc bus array to 1e-10
What should be done though is to automatically detect these branches/buses/generators and deactivate them. Before building the Jacobian.
As reported by Dominik on the mailing list:
When including more than one generator in my grid, I get an error of creating a singular matrix:
This does however not happen when solving the exact same case using MATPOWER after exporting it using 'savecase'.
The text was updated successfully, but these errors were encountered: