Skip to content

Hvdc AC emulation limits outer loop#1319

Merged
SylvestreSakti merged 29 commits intomainfrom
hvdc_ac_emulation_outerloop
Mar 26, 2026
Merged

Hvdc AC emulation limits outer loop#1319
SylvestreSakti merged 29 commits intomainfrom
hvdc_ac_emulation_outerloop

Conversation

@SylvestreSakti
Copy link
Copy Markdown
Member

@SylvestreSakti SylvestreSakti commented Dec 17, 2025

This code is largely inspired from #1048 and rebased to the current version (especially including handling of frozen HVDC Ac emulation state)

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?
Closes #1016

What kind of change does this PR introduce?
Change of the model to simulate HVDC AC Emulation limits

What is the current behavior?
Hvdc Ac Emulation state is handled directly in the Jacobian Matrix (depending on the state, the Equation term switches between linear mode, saturated mode or frozen mode with the corresponding derivatives). This lead in very rare cases to divergence due to zero derivative when being in saturated mode.

What is the new behavior (if this is a feature change)?
The Jacobian Matrix handles only the linear mode of AC Emulation. An outer loop checks if the AC Emulation overpasses limits and switches to fixed set point (by setting target P of VSC converters in the TargetVector).

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

  • Yes
  • No

This PR changes the behaviour of DC computation when HVDC emulation is on.
The saturation (PMIN/PMAX) is taken into account in DC loadflow
It is ignored in Sensitivity Analysis and fast mode DC Security Analysis

Signed-off-by: PRABAKARAN Sylvestre <sylvestre.prabakaran@rte-france.com>
Signed-off-by: PRABAKARAN Sylvestre <sylvestre.prabakaran@rte-france.com>
@SylvestreSakti SylvestreSakti changed the title Hvdc ac emulation limits outerloop Hvdc AC emulation limits outer loop Dec 17, 2025
…s after freezing)

Signed-off-by: PRABAKARAN Sylvestre <sylvestre.prabakaran@rte-france.com>
Signed-off-by: PRABAKARAN Sylvestre <sylvestre.prabakaran@rte-france.com>
Signed-off-by: PRABAKARAN Sylvestre <sylvestre.prabakaran@rte-france.com>
Signed-off-by: PRABAKARAN Sylvestre <sylvestre.prabakaran@rte-france.com>
Signed-off-by: PRABAKARAN Sylvestre <sylvestre.prabakaran@rte-france.com>
@SylvestreSakti SylvestreSakti marked this pull request as ready for review December 23, 2025 16:15
Signed-off-by: PRABAKARAN Sylvestre <sylvestre.prabakaran@rte-france.com>
Signed-off-by: PRABAKARAN Sylvestre <sylvestre.prabakaran@rte-france.com>
Comment thread src/main/java/com/powsybl/openloadflow/network/LfHvdc.java Outdated
Comment thread src/main/java/com/powsybl/openloadflow/network/LfHvdc.java Outdated
Comment thread src/main/resources/com/powsybl/openloadflow/reports_fr.properties Outdated
Comment thread src/main/java/com/powsybl/openloadflow/dc/DcHvdcAcEmulationLimitsOuterLoop.java Outdated
Signed-off-by: PRABAKARAN Sylvestre <sylvestre.prabakaran@rte-france.com>
Signed-off-by: PRABAKARAN Sylvestre <sylvestre.prabakaran@rte-france.com>
Signed-off-by: PRABAKARAN Sylvestre <sylvestre.prabakaran@rte-france.com>
Signed-off-by: PRABAKARAN Sylvestre <sylvestre.prabakaran@rte-france.com>
Signed-off-by: PRABAKARAN Sylvestre <sylvestre.prabakaran@rte-france.com>
vidaldid-rte
vidaldid-rte previously approved these changes Mar 6, 2026
Copy link
Copy Markdown
Collaborator

@vidaldid-rte vidaldid-rte left a comment

Choose a reason for hiding this comment

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

Approved. PR description updated to mark it as a breaking change.

@github-project-automation github-project-automation Bot moved this from TODO to Approved in Release 03/2026 Mar 16, 2026
@SylvestreSakti SylvestreSakti moved this from Approved to Waiting for review in Release 03/2026 Mar 16, 2026
Signed-off-by: Sylvestre Prabakaran <sylvestre.prabakaran@rte-france.com>
vidaldid-rte
vidaldid-rte previously approved these changes 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
Signed-off-by: Hadrien <hadrien.godard@artelys.com>
@sonarqubecloud
Copy link
Copy Markdown

@SylvestreSakti SylvestreSakti merged commit 4fdc1d5 into main Mar 26, 2026
7 checks passed
@SylvestreSakti SylvestreSakti deleted the hvdc_ac_emulation_outerloop branch March 26, 2026 15:03
@github-project-automation github-project-automation Bot moved this from Approved to Done in Release 03/2026 Mar 26, 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.

Hvdc AC emulation: support of -Pmax/Pmax

3 participants