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

Make contingency order deterministic for sensitivity computation #960

Merged
merged 7 commits into from
Apr 5, 2024

Conversation

phiedw
Copy link
Collaborator

@phiedw phiedw commented Apr 4, 2024

Please check if the PR fulfills these requirements

  • The commit message follows our guidelines

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?

The order of contingencies for loadflow is very unstable (even changing a logback file can change it). This can change the results of OLF by very small values.

What is the new behavior (if this is a feature change)?
The contingencies are ordered by their id.

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

  • Yes
  • No

@phiedw phiedw added the next-release This issue or pull request should be resolved before next release label Apr 4, 2024
@phiedw phiedw added PR: WIP bug Something isn't working labels Apr 4, 2024
@pet-mit pet-mit marked this pull request as draft April 4, 2024 14:15
@phiedw phiedw marked this pull request as ready for review April 5, 2024 11:15
@phiedw phiedw removed the PR: WIP label Apr 5, 2024
@phiedw phiedw merged commit 9acc0cd into main Apr 5, 2024
8 checks passed
MartinBelthle pushed a commit that referenced this pull request Apr 25, 2024
* use id to fix the order of contingencies in sensitivity computation

Signed-off-by: Philippe Edwards <[email protected]>
Signed-off-by: belthlemar <[email protected]>
MartinBelthle pushed a commit that referenced this pull request May 28, 2024
* use id to fix the order of contingencies in sensitivity computation

Signed-off-by: Philippe Edwards <[email protected]>
Signed-off-by: belthlemar <[email protected]>
@pet-mit pet-mit deleted the fixed_sensi_order branch June 20, 2024 08:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working next-release This issue or pull request should be resolved before next release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants