Skip to content

Security Analysis: add distributedActivePower to results#1351

Merged
SylvestreSakti merged 5 commits intomainfrom
sa-results-distrib-active-power
Mar 23, 2026
Merged

Security Analysis: add distributedActivePower to results#1351
SylvestreSakti merged 5 commits intomainfrom
sa-results-distrib-active-power

Conversation

@jeandemanged
Copy link
Copy Markdown
Member

@jeandemanged jeandemanged commented Feb 23, 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?

OLF security analysis does not report distributed active power

What is the new behavior (if this is a feature change)?
OLF implementation for powsybl/powsybl-core#3789: report distributed active power in SA results for:

  • pre-contingency simulation
  • post-contingency simulation
  • operator strategies simulation

Note that 0 MW distributed active power is reported for Fast DC security analysis, this is left for future work.

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

  • Yes

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)

If you have custom implementations of ContingencyActivePowerLossDistribution (see https://powsybl.readthedocs.io/projects/powsybl-open-loadflow/en/latest/advanced_programming/contingency_active_power_loss.html), the run method now requires your implementation to return how much active power has been distributed by your plugin.

Other information:

Signed-off-by: Damien Jeandemange <damien.jeandemange@artelys.com>
Signed-off-by: Damien Jeandemange <damien.jeandemange@artelys.com>
Signed-off-by: Damien Jeandemange <damien.jeandemange@artelys.com>
# Conflicts:
#	pom.xml
#	src/main/java/com/powsybl/openloadflow/sa/AbstractSecurityAnalysis.java
#	src/main/java/com/powsybl/openloadflow/sa/WoodburyDcSecurityAnalysis.java
@sonarqubecloud
Copy link
Copy Markdown

@jeandemanged jeandemanged marked this pull request as ready for review March 23, 2026 14:25
@jeandemanged jeandemanged moved this from In Progress to Waiting for review in Release 03/2026 Mar 23, 2026
@github-project-automation github-project-automation Bot moved this from Waiting for review to Approved in Release 03/2026 Mar 23, 2026
@SylvestreSakti SylvestreSakti merged commit 6f892b0 into main Mar 23, 2026
7 checks passed
@SylvestreSakti SylvestreSakti deleted the sa-results-distrib-active-power branch March 23, 2026 14:53
@github-project-automation github-project-automation Bot moved this from Approved to Done in Release 03/2026 Mar 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants