-
Notifications
You must be signed in to change notification settings - Fork 3
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
Fix per united susceptance in shunt modifications #73
Conversation
Signed-off-by: p-arvy <pierre.arvy@artelys.com>
Signed-off-by: Sophie Frasnedo <sophie.frasnedo@rte-france.com>
shuntCompensator.getTerminal().getBusView().getConnectableBus().getId())) { | ||
reconnect = true; | ||
if (Objects.isNull(shuntCompensator)) { | ||
modifications.add(new ShuntCompensatorModification(id, null, null)); |
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.
Is there an interest to add this modification when the shuntCompensator
is null
?
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.
Indeed no, I've left it to be isofunctional with the previous implementation. I removed it. Thanks for the comment
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.
I wonder if there is a need to add a modification with null
parameters.
Signed-off-by: p-arvy <pierre.arvy@artelys.com>
Quality Gate passedIssues Measures |
Please check if the PR fulfills these requirements
Does this PR already have an issue describing the problem?
What kind of change does this PR introduce?
What is the current behavior?
Two values with different units are compared when shunts are updated after OpenReac optimization.
What is the new behavior (if this is a feature change)?
Does this PR introduce a breaking change or deprecate an API?
If yes, please check if the following requirements are fulfilled
What changes might users need to make in their application due to this PR? (migration steps)
Other information: