Skip to content

Add parameter to define min nominal voltage for unrealistic state check #1217

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

Merged
merged 10 commits into from
May 20, 2025

Conversation

vidaldid-rte
Copy link
Collaborator

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?
In order to get stricter value for min and max realistic voltage, we need to define a minimal voltage level for which the realistic check applies.

What is the current behavior?
The simulation is interrupted if any bus has a voltage outside of [minRealisticVoltage, maxRealisticVoltage]

What is the new behavior (if this is a feature change)?
The simulation is interrupted only if a bus in a voltage level with a nominal voltage higher higher than minNominalVoltageUnrealisticStateCheck is outside of [minRealisticVoltage, maxRealisticVoltage]

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

  • Yes
  • No
    ==> No because the default value is kept to 0, and [minRealisticVoltage, maxRealisticVoltage] are kept with very loose values.
    Maybe we should provider better values and break compatibility ?

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: Didier Vidal <didier.vidal_externe@rte-france.com>
@vidaldid-rte vidaldid-rte marked this pull request as draft April 4, 2025 12:15
@vidaldid-rte vidaldid-rte changed the title [WIP] Add parameter to define min nominal voltage for unrealistic state check Add parameter to define min nominal voltage for unrealistic state check Apr 4, 2025
vidaldid-rte and others added 3 commits April 11, 2025 15:16
Signed-off-by: Didier Vidal <didier.vidal_externe@rte-france.com>
…ameter

Signed-off-by: Didier Vidal <didier.vidal_externe@rte-france.com>
@vidaldid-rte vidaldid-rte marked this pull request as ready for review April 11, 2025 13:43
SylvestreSakti
SylvestreSakti previously approved these changes Apr 11, 2025
Signed-off-by: Didier Vidal <didier.vidal_externe@rte-france.com>
Signed-off-by: Didier Vidal <didier.vidal_externe@rte-france.com>
SylvestreSakti
SylvestreSakti previously approved these changes May 15, 2025
jeandemanged
jeandemanged previously approved these changes May 19, 2025
Copy link
Member

@jeandemanged jeandemanged left a comment

Choose a reason for hiding this comment

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

vidaldid-rte and others added 2 commits May 19, 2025 14:13
@vidaldid-rte vidaldid-rte dismissed stale reviews from jeandemanged and SylvestreSakti via 119edb0 May 20, 2025 08:04
@vidaldid-rte vidaldid-rte merged commit 69a852c into main May 20, 2025
8 checks passed
@vidaldid-rte vidaldid-rte deleted the feature/realistic_criteria branch May 20, 2025 08:18
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.

3 participants