Description
-
Do you want to request a feature or report a bug?
A feature. -
What is the current behavior?
KLU issues may occur when an AC loadflow is performed on a network where a pair of PV buses linked by low impedent lines have a different voltage target. -
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem
It is not a bug. -
What is the expected behavior?
The expected behavior is to not launch the loadflow before having remove a voltage controler from the regulation (beginning with transformers and ending with generators).
To detect this case, the following algorithm is proposed:
1/ Detect the pairs of PV buses which are at the same voltage level and have different voltage targets,
2/ Build the shortest path in term of line impedance between both PV buses.
3/ If the length of the path exceeds V1*(V1-V2)/Qmax, there is no risk to perform the loadflow with both buses as PV-buses.
4/ If the length of the path is under the criterium (V1*(V1-V2)/Qmax), one of the PV bus must be switched to a PQ-bus (transformers before genrators).
V1 and V2 are the two voltage targets, V1 is the larger target. Qmax depends on the voltage level:
100 kV: 400 MVar
220 KV: 880 Mvar
400 kV: 1600 MVar
750 kV : 3000 MVar -
What is the motivation / use case for changing the behavior?
Avoiding crashes of loadflow runs.