Skip to content

Fix bus voltage and angle stability#3906

Open
samirromdhani wants to merge 3 commits into
mainfrom
fix/2509-stability-of-bus-voltage-and-angle
Open

Fix bus voltage and angle stability#3906
samirromdhani wants to merge 3 commits into
mainfrom
fix/2509-stability-of-bus-voltage-and-angle

Conversation

@samirromdhani
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?

Fixes #2509

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:

Signed-off-by: Samir Romdhani <samir.romdhani_externe@rte-france.com>
@samirromdhani samirromdhani force-pushed the fix/2509-stability-of-bus-voltage-and-angle branch from ce1b74d to 1ffa0b5 Compare May 6, 2026 13:50
Signed-off-by: Samir Romdhani <samir.romdhani_externe@rte-france.com>
Signed-off-by: Samir Romdhani <samir.romdhani_externe@rte-france.com>
@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented May 6, 2026

@samirromdhani samirromdhani marked this pull request as ready for review May 7, 2026 08:39
}

private static boolean hasDefinedVoltageOrAngle(NodeTerminal t) {
return !Double.isNaN(t.getV()) || !Double.isNaN(t.getAngle());
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

@olperr1 should we check that both values are not NaN or having only one is enough?

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Stability of bus voltage and angle

2 participants