-
Notifications
You must be signed in to change notification settings - Fork 8
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
Detects coupler when propagating contingency in sensitivity analysis #303
Conversation
35e2073
to
1dcd82d
Compare
Signed-off-by: Hadrien <[email protected]>
Signed-off-by: Sylvain Leclerc <[email protected]>
Done for sensitivity analysis, not for security analysis Signed-off-by: Florian Dupuy <[email protected]>
Signed-off-by: Florian Dupuy <[email protected]>
Signed-off-by: Florian Dupuy <[email protected]>
Add switches set Signed-off-by: Florian Dupuy <[email protected]>
Signed-off-by: Florian Dupuy <[email protected]>
c8cc735
to
f46f5d6
Compare
return new PropagatedContingency(contingency, index, branchIdsToOpen, hvdcIdsToOpen, switchesToOpen, terminalsToDisconnect); | ||
} | ||
|
||
private static boolean isCoupler(Switch s) { |
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.
hasBusBarSectionCoulper
could be better here, what do you think?
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.
for me coupler already means busbar section coupler
propagatedContingencies.add(propagatedContingency); | ||
} else { | ||
// Sensitivity analysis works in bus view, it cannot deal (yet) with contingencies whose propagation encounters a coupler | ||
LOGGER.warn("Propagated contingency '{}' not processed: coupler '{}' has been encountered while propagating the contingency", |
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 don't know if coupler has a meaning in English indeed. But for sure you have to precise that it is between two bus bar sections.
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.
Coupler is a well known term in power system
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.
Here you skip the contingency, so it means that the result will not contain this contingency. The other solution is to set a predefined result. What is preferable?
Kudos, SonarCloud Quality Gate passed! |
Please check if the PR fulfills these requirements (please use
'[x]'
to check the checkboxes, or submit the PR and then click the checkboxes)Does this PR already have an issue describing the problem ?
Yes, first step to solve issue #289. This doesn't fix that issue, but detects the problematic contingency, gives a warning and does not add it to the propagated contingencies to avoid giving wrong results.