Distributed Slack with ACOPF - Multiple connected slacks in one area found. This would probably lead to non-convergence of the OPF. Therefore, all but one slack (ext_grid) were changed to gens. To avoid undesired behaviour, rather convert the slacks to gens yourself and set slack=True for only one of them. #2424
[X] Browse the tutorials and tests for usefull code snippets and examples of use
Issue
I have a transmission grid with the following specs:
bus (6717 elements)
load (4541 elements)
sgen (63 elements)
gen (668 elements)
shunt (367 elements)
line (7173 elements)
trafo (1967 elements)
I want 5-8 gen.slack = True. I need to run this for ACOPF, DCOPF, and ACPF. Regardless if I use gen.slack = True or external grids, I get the following message:
"Multiple connected slacks in one area found. This would probably lead to non-convergence of the OPF. Therefore, all but one slack (ext_grid) were changed to gens. To avoid undesired behaviour, rather convert the slacks to gens yourself and set slack=True for only one of them." I get this message anytime I have more than 1 gen.slack = True or external grid when running ACOPF and DCOPF. The PF is fine.
Feature Checklist
[X] Searched the issues page for similar reports
[X] Read the relevant sections of the documentation
[X] Browse the tutorials and tests for usefull code snippets and examples of use
Issue
I have a transmission grid with the following specs:
I have seen other comments related, like the one below, with no resolve. https://github.com/e2nIEE/pandapower/issues/1163#issue-825689606
Any conclusions on this? @rbolgaryn @lthurner @FlorianShepherd.
Label