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 : import optional ratedS value of transformers #2648

Merged
merged 11 commits into from
Sep 11, 2023
Merged

Conversation

zamarrenolm
Copy link
Member

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?

What kind of change does this PR introduce?

Bug fix

What is the current behavior?

CGMES attribute ratedS of transformer ends is not read.

What is the new behavior (if this is a feature change)?
CGMES attribute ratedS of transformer is read and saved in the IIDM model.
The attribute is optional in CGMES.
CGMES specifies that for 2-winding transformers the values for the high and low voltage sides shall be identical.

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

  • The Breaking Change or Deprecated label has been added
  • The migration guide has been updated in the github wiki (What changes might users need to make in their application due to this PR?)

Other information:

Signed-off-by: Luma <zamarrenolm@aia.es>
Signed-off-by: José Antonio Marqués <marquesja@aia.es>
@zamarrenolm zamarrenolm marked this pull request as ready for review July 13, 2023 05:59
Signed-off-by: José Antonio Marqués <marquesja@aia.es>
@zamarrenolm zamarrenolm requested a review from annetill July 13, 2023 10:21
@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

88.9% 88.9% Coverage
0.0% 0.0% Duplication

@annetill annetill merged commit 4c46916 into main Sep 11, 2023
@annetill annetill deleted the cgmes_import_rateds branch September 11, 2023 10:31
@@ -66,6 +66,7 @@ static class InterpretedWinding {
final TapChangerConversion.InterpretedEnd end1;
final InterpretedEnd2 end2;
final boolean structuralRatioAtEnd2;
final double ratedS;
Copy link
Member

Choose a reason for hiding this comment

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

@zamarrenolm we have a regression here because of this double instead of Double. I am going to open a PR for this bug fix and it will lead to a patch release of core.

zamarrenolm added a commit that referenced this pull request Oct 4, 2023
Signed-off-by: Luma <zamarrenolm@aia.es>
annetill pushed a commit that referenced this pull request Oct 4, 2023
Signed-off-by: Luma <zamarrenolm@aia.es>
olperr1 pushed a commit that referenced this pull request Oct 6, 2023
Signed-off-by: Luma <zamarrenolm@aia.es>
(cherry picked from commit 64c80de)
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.

3 participants