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

CGMES export - Add a parameter to export generators in local regulation mode #3198

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

rcourtier
Copy link
Member

@rcourtier rcourtier commented Nov 5, 2024

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)

Does this PR already have an issue describing the problem?

No

What kind of change does this PR introduce?

New feature

What is the current behavior?

Generator regulation in CGMES reflects the generator regulation in IIDM

What is the new behavior (if this is a feature change)?

It is now possible to set a parameter in the CGMES export to force the generator regulation mode to local: iidm.export.cgmes.export-generators-in-local-regulation-mode.
It only affects the CGMES generated files, not the IIDM model. Also it only concerns voltage regulating generators, not the reactive power regulating generators.
When the parameter is set to true:

  • The Generator's RegulatigControl.Terminal in the CGMES EQ is set to the Generator's own terminal.
  • The RegulatingControl.targetValue in the CGMES SSH is adapted (the engineering value is rescaled in accordance with the new terminal, but the per unit value remains the same)

When the parameter is set to false (default value), the old behaviour is kept: Generator regulation in CGMES reflects the generator regulation in IIDM.

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

  • Yes
  • No

Other information:

See #3192 for setting a generator's regulation mode to local in the IIDM model.

@rcourtier rcourtier marked this pull request as ready for review November 5, 2024 16:21
@jeandemanged jeandemanged changed the title CGMES export - Add a paremeter to export generators in local regulation mode CGMES export - Add a parameter to export generators in local regulation mode Nov 5, 2024
…sed for regulation in the CGMES Equipment export

Signed-off-by: Romain Courtier <[email protected]>
Copy link

sonarcloud bot commented Nov 7, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants