Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: Multi-slack not handled in DC but can happen if used for AC voltage init #1117

Closed
vmouradian opened this issue Nov 7, 2024 · 0 comments · Fixed by #1118
Closed

Bug: Multi-slack not handled in DC but can happen if used for AC voltage init #1117

vmouradian opened this issue Nov 7, 2024 · 0 comments · Fixed by #1118
Labels
bug Something isn't working

Comments

@vmouradian
Copy link
Member

vmouradian commented Nov 7, 2024

Describe the current behavior

When using DC_VALUES or FULL_VOLTAGE voltage initializer with AC LF. The network can be created with multiple slack buses.
But then the DC LF used for phase init handles that in an incorrect way: all slack buses have no P balance equation and have phi = 0.
Gives false results and can even crash if a non-impedant branch connects two slack buses

Describe the expected behavior

Handle multi slack as in AC : one reference bus with phi = 0 and slack equally spread over all slack buses

Describe the steps

No response

Environment

No response

Relevant Log Output

No response

Extra Information

No response

@vmouradian vmouradian added the bug Something isn't working label Nov 7, 2024
@vmouradian vmouradian changed the title Bug : DC used as voltage init with mutliple slack buses Bug : Multi-slack not handled in DC but can happen if used for voltage init Nov 7, 2024
@jeandemanged jeandemanged changed the title Bug : Multi-slack not handled in DC but can happen if used for voltage init Bug: Multi-slack not handled in DC but can happen if used for AC voltage init Nov 8, 2024
@alicecaron alicecaron moved this from TODO to In Progress in Release 12/2024 Nov 8, 2024
@github-project-automation github-project-automation bot moved this from In Progress to Done in Release 12/2024 Nov 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant