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

Draft: Bugfix: enhance DC multi-slack #997

Draft
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

vmouradian
Copy link
Member

@vmouradian vmouradian commented Mar 14, 2024

Please check if the PR fulfills these requirements

  • The commit message follows our guidelines
  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)

Does this PR already have an issue describing the problem?

The current algorithm of slackbus selection (for most meshed at least) can select two buses connected by a non impedant branch. This causes an exception when creating equations for DC loadflow.

just comment the filter here and run MultipleSlackBusesTest#nonImpedantBranchTest to see the exception.

Currently in this branch I reproduced the bug in a unit test and added a basic draft for a possible fix.

What kind of change does this PR introduce?

What is the current behavior?

What is the new behavior (if this is a feature change)?

Does this PR introduce a breaking change or deprecate an API?

  • Yes
  • No

If yes, please check if the following requirements are fulfilled

  • The Breaking Change or Deprecated label has been added
  • The migration steps are described in the following section

What changes might users need to make in their application due to this PR? (migration steps)

Other information:

@vmouradian vmouradian added the bug Something isn't working label Mar 14, 2024
Signed-off-by: vmouradian <valentin.mouradian@artelys.com>
Signed-off-by: vmouradian <valentin.mouradian@artelys.com>
@vmouradian vmouradian force-pushed the bugfix/slackbus-select-non-impedant-branches branch from 526ab84 to ac678e3 Compare March 14, 2024 16:41
@vmouradian vmouradian changed the title Draft: Bugfix: slackbus selection - avoid non impedant branches connected to two slack buses Draft: Bugfix: enhance DC multi-slack Mar 18, 2024
vmouradian and others added 3 commits March 19, 2024 10:42
…nt-branches

# Conflicts:
#	src/main/java/com/powsybl/openloadflow/dc/equations/DcEquationSystemCreator.java
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
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants