-
Notifications
You must be signed in to change notification settings - Fork 43
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 fix export SV: export phase and ratio tap changer if both present #2685
Conversation
Signed-off-by: Luma <zamarrenolm@aia.es>
Signed-off-by: José Antonio Marqués <marquesja@aia.es>
.endStep() | ||
.add(); | ||
|
||
// as all the tap positions are unique we check that RTC and PTC tap positions are in the sv file |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is just a unit test but the assertion are not really clean.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it was the simplest option to avoid re-importing the case and checking the tap position (costly in testing time), as the change in the code was very simple and only affected the SV output, but we will implement a more clear alternative.
Signed-off-by: José Antonio Marqués <marquesja@aia.es>
Kudos, SonarCloud Quality Gate passed! |
Please check if the PR fulfills these requirements
What kind of change does this PR introduce?
Bug fix
What is the current behavior?
If a transformer has both phase and ratio tap changer, only the tap step for the phase tap changer is exported in the SV file. The SSH file correctly contains information about both tap changers.
What is the new behavior (if this is a feature change)?
Both tap steps are exported to the SV.
Does this PR introduce a breaking change or deprecate an API?
Other information:
Issue reported on slack cgmes channel by Kristjan Vilgo.