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

Fix missing buses in bus breaker view #3246

Merged
merged 6 commits into from
Mar 3, 2025
Merged

Fix missing buses in bus breaker view #3246

merged 6 commits into from
Mar 3, 2025

Conversation

flo-dup
Copy link
Contributor

@flo-dup flo-dup commented Dec 4, 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?
No

What kind of change does this PR introduce?
Bug fix

What is the current behavior?
Connectables which are not connected to any switch / internal connection in node breaker do not have a calculated bus in bus breaker view, whereas connectables which are connected to a dangling internal connection do have a calculated bus.

What is the new behavior (if this is a feature change)?
All connectables of a node breaker voltage level do have a calculated bus in bus breaker view (in particular connectables which are not connected to any switch / internal connection)

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

  • Yes
  • No

Signed-off-by: Florian Dupuy <florian.dupuy@rte-france.com>
Signed-off-by: Florian Dupuy <florian.dupuy@rte-france.com>
Signed-off-by: Florian Dupuy <florian.dupuy@rte-france.com>
@flo-dup flo-dup requested a review from olperr1 December 4, 2024 16:27
Copy link
Member

@geofjamg geofjamg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@flo-dup thanks for this looooooooonnnnng time topology issue. Thanks to this we are now allowed to clean many bus/breaker buses (coming from node/breaker model) null buses which cannot exist anymore.

@flo-dup flo-dup marked this pull request as draft December 18, 2024 09:15
@flo-dup flo-dup marked this pull request as ready for review March 3, 2025 10:39
@flo-dup
Copy link
Contributor Author

flo-dup commented Mar 3, 2025

I marked this PR as draft as some cleaning could be done following this (the connectableBus getter becomes non-nullable in bus breaker view). That is now in a separate PR, hence we can merge this.

@flo-dup flo-dup merged commit fb16c81 into main Mar 3, 2025
7 checks passed
@flo-dup flo-dup deleted the fix_missing_buses_bbv branch March 3, 2025 13:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

5 participants