Skip to content

Warn when network contains voltage levels without substation instead of throw - #445

Open
antoinebhs wants to merge 1 commit into
mainfrom
warn-instead-crash
Open

antoinebhs wants to merge 1 commit into
mainfrom
warn-instead-crash

Conversation

@antoinebhs

Copy link
Copy Markdown
Contributor

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)
  • A PR or issue has been opened in all impacted repositories (if any)

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?

When displaying the map with a network where there are voltage level without substations (which is allowed in powsybl impl), the map is not displayed.

What is the new behavior (if this is a feature change)?
When displaying the map with a network where there are voltage level without substations (which is allowed in powsybl impl), the map is displayed and a warning is issued in the console.

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

  • Yes
  • No

…of crash

Signed-off-by: BOUHOURS Antoine <antoine.bouhours@rte-france.com>
@amarant
amarant force-pushed the warn-instead-crash branch from 2ec71b0 to 587b1fe Compare August 6, 2026 11:53
@sonarqubecloud

sonarqubecloud Bot commented Aug 6, 2026

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants