Update powsybl pf parameters to handle network files without single slack - #64
Open
tengxiangren wants to merge 4 commits into
Open
Update powsybl pf parameters to handle network files without single slack#64tengxiangren wants to merge 4 commits into
tengxiangren wants to merge 4 commits into
Conversation
tengxiangren
force-pushed
the
fix-open-load-flow-parameters
branch
from
July 10, 2026 16:07
e197138 to
20bc7be
Compare
…ithout single slack Signed-off-by: tren <tengxiang.ren@artelys.com>
Signed-off-by: tren <tengxiang.ren@artelys.com>
Signed-off-by: tren <tengxiang.ren@artelys.com>
tengxiangren
force-pushed
the
fix-open-load-flow-parameters
branch
from
July 17, 2026 14:24
ec0b6e8 to
d6c0602
Compare
frmir
self-requested a review
July 17, 2026 14:48
Signed-off-by: tren <tengxiang.ren@artelys.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Update default powsybl power flow solver parameters to handle network files without specified single slack (e.g. network with distributed slack).
By default, when the slack distribution is deactivated and there is no specified slack, powsybl would select the most meshed bus as slack to ease branch-related convergence. It could be a bus without any generator.
GridFM's power flow data processing expects the slack to be associated with a generator, hence the choice of the bus with the largest generator as slack to avoid conflict.
The affected parameters: