Skip to content

Add contingency branch filter to network crac creator#1660

Merged
pet-mit merged 4 commits intomainfrom
network_crac_creator_contingency_filter
Mar 26, 2026
Merged

Add contingency branch filter to network crac creator#1660
pet-mit merged 4 commits intomainfrom
network_crac_creator_contingency_filter

Conversation

@geofjamg
Copy link
Copy Markdown
Member

@geofjamg geofjamg commented Mar 16, 2026

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?

Feature

What is the current behavior?

When creating a crac using the network crac creator, we can only create N-1 branch contingencies by filtering on countries and nominal voltages.

What is the new behavior (if this is a feature change)?
In addition to existing filters, we have a more generic one allowing to have custom and complex branch filtering.

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: Geoffroy Jamgotchian <geoffroy.jamgotchian@rte-france.com>
@geofjamg geofjamg marked this pull request as draft March 16, 2026 14:09
@geofjamg geofjamg requested review from pet-mit and phiedw March 16, 2026 15:10
@phiedw phiedw closed this Mar 17, 2026
@phiedw phiedw deleted the network_crac_creator_contingency_filter branch March 17, 2026 16:29
@bqth29 bqth29 restored the network_crac_creator_contingency_filter branch March 17, 2026 16:36
@bqth29 bqth29 reopened this Mar 17, 2026
@geofjamg geofjamg marked this pull request as ready for review March 19, 2026 13:49
Copy link
Copy Markdown
Collaborator

@pet-mit pet-mit left a comment

Choose a reason for hiding this comment

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

geofjamg and others added 2 commits March 26, 2026 13:10
Signed-off-by: Geoffroy Jamgotchian <geoffroy.jamgotchian@rte-france.com>
@geofjamg
Copy link
Copy Markdown
Member Author

@geofjamg geofjamg requested a review from pet-mit March 26, 2026 12:11
@sonarqubecloud
Copy link
Copy Markdown

@pet-mit pet-mit merged commit 421066b into main Mar 26, 2026
12 checks passed
@pet-mit pet-mit deleted the network_crac_creator_contingency_filter branch April 9, 2026 17:35
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.

4 participants