-
Notifications
You must be signed in to change notification settings - Fork 7
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
Use IIDM OverLoadManagementSystem #946
Conversation
Signed-off-by: Damien Jeandemange <damien.jeandemange@artelys.com>
Signed-off-by: Damien Jeandemange <damien.jeandemange@artelys.com>
Signed-off-by: Anne Tilloy <anne.tilloy@rte-france.com>
Signed-off-by: Anne Tilloy <anne.tilloy@rte-france.com>
Signed-off-by: Anne Tilloy <anne.tilloy@rte-france.com>
…ybl/powsybl-open-loadflow into automation_systems_iidm1.12
- three winding transformer support; - Side management; - Update parameter. Signed-off-by: Anne Tilloy <anne.tilloy@rte-france.com>
|
Signed-off-by: Anne Tilloy <anne.tilloy@rte-france.com>
Signed-off-by: Anne Tilloy <anne.tilloy@rte-france.com>
Signed-off-by: Anne Tilloy <anne.tilloy@rte-france.com>
Remove useless update conditions. Signed-off-by: Anne Tilloy <anne.tilloy@rte-france.com>
Signed-off-by: Anne Tilloy <anne.tilloy@rte-france.com>
Signed-off-by: Geoffroy Jamgotchian <geoffroy.jamgotchian@rte-france.com>
branchToMonitor.getId(), i * ib, threshold * ib, branchToOperate.getId()); | ||
branchesToOpen.add(branchToOperate); | ||
break; | ||
} else if (!branchTripping.branchOpen() && branchToOperate.isConnectedAtBothSides()) { |
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.
Should it be?:
} else if (!branchTripping.branchOpen() && !branchToOperate.isConnectedAtBothSides()) {
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.
In previous code it was:
} else if (!system.isSwitchOpen() && !switchToOperate.isConnectedAtBothSides()) {
src/main/java/com/powsybl/openloadflow/ac/outerloop/AutomationSystemOuterLoop.java
Show resolved
Hide resolved
// we have an issue with connectivity here: we have to start temporary changes and undo them just after to | ||
// be able to retrieve the enabled and disabled elements compared to state just after restoring the initial topology | ||
// (restoreInitialTopology method). | ||
network.getConnectivity().startTemporaryChanges(); |
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.
Mmmm finally what is the next step @flo-dup about this strange code?
if (parameters.isSimulateAutomationSystems()) { | ||
boolean connectedSide1Before = branch.getTerminal1().isConnected(); | ||
boolean connectedSide2Before = branch.getTerminal2().isConnected(); | ||
boolean connectedSide1After = !isDisabled() && isConnectedSide1(); |
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 add a comment maybe because isConnectedSide1()
and isConnectedSide2()
is not needed for the moment?
Signed-off-by: Geoffroy Jamgotchian <geoffroy.jamgotchian@rte-france.com>
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.
Thanks @jeandemanged ! Three-windings transformer missing, to be done in another PR.
|
|
Please check if the PR fulfills these requirements
Does this PR already have an issue describing the problem?
No
What kind of change does this PR introduce?
Feature
What is the current behavior?
OLF has its own iIDM extension to describe automation systems
What is the new behavior (if this is a feature change)?
Remove OLF iIDM extension, use powsybl-core new automation systems available in iIDM v1.12 (see powsybl/powsybl-core#2779)
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: