Skip to content

Security analysis - Adding parameters to filter monitored elements results#3903

Open
HugoKulesza wants to merge 2 commits into
mainfrom
filtering-monitor
Open

Security analysis - Adding parameters to filter monitored elements results#3903
HugoKulesza wants to merge 2 commits into
mainfrom
filtering-monitor

Conversation

@HugoKulesza
Copy link
Copy Markdown
Contributor

@HugoKulesza HugoKulesza commented May 5, 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 running security analysis, if an element is monitored in N and N-1 state, both states are written in the security analysis result even if nothing changed for the monitored element.
When there is a lot of monitored elements / a lot of contingencies, it can produce way too much of not useful memory usage.

What is the new behavior (if this is a feature change)?
There is now a new parameters object (mirroring IncreasedViolationsParameters) that can be used by simulators as thresholds to filter N-1 monitored element results.
Branches and 3 windings transformers can be filtered on a proportional power threshold.
Buses can be filtered on a proportional or absolute voltage threshold.

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

  • Yes
  • No

Signed-off-by: Hugo KULESZA <hugo.kulesza@rte-france.com>

private LoadFlowParameters loadFlowParameters = new LoadFlowParameters();
private IncreasedViolationsParameters increasedViolationsParameters = new IncreasedViolationsParameters();
private ModifiedMonitoredElementsParameters modifiedMonitoredElementsParameters = new ModifiedMonitoredElementsParameters();
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Add documentation about this parameter in docs/simulation/security/configuration.md

Signed-off-by: Hugo KULESZA <hugo.kulesza@rte-france.com>
@sonarqubecloud
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

Status: Waiting for review

Development

Successfully merging this pull request may close these issues.

2 participants