-
Notifications
You must be signed in to change notification settings - Fork 0
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
Add hvdc and default shunt models #191
Conversation
DynaWaltzContext returns directly the dynamicModel linked to the static id or a default model/exception if not found depending on the method called Signed-off-by: lisrte <laurent.issertial@rte-france.com>
Signed-off-by: lisrte <laurent.issertial@rte-france.com>
Signed-off-by: lisrte <laurent.issertial@rte-france.com>
Signed-off-by: Florian Dupuy <florian.dupuy@rte-france.com>
Signed-off-by: lisrte <laurent.issertial@rte-france.com>
Signed-off-by: lisrte <laurent.issertial@rte-france.com>
Add side suffix value in CurrentLimitAutomaton name Signed-off-by: lisrte <laurent.issertial@rte-france.com>
Handle MacroConnect index Remove connector commutativity and ConnectedModels Connect StandardBus only with DefaultModel Signed-off-by: lisrte <laurent.issertial@rte-france.com>
Signed-off-by: lisrte <laurent.issertial@rte-france.com>
Handle MacroConnect index Remove connector commutativity and ConnectedModels Connect StandardBus only with DefaultModel Signed-off-by: lisrte <laurent.issertial@rte-france.com>
Signed-off-by: lisrte <laurent.issertial@rte-france.com>
…into refactor_macroconnect_creation # Conflicts: # dynawaltz/src/main/java/com/powsybl/dynawaltz/models/lines/StandardLine.java # dynawaltz/src/main/java/com/powsybl/dynawaltz/models/utils/BusUtils.java # dynawaltz/src/test/java/com/powsybl/dynawaltz/xml/DynaWaltzTestUtil.java # dynawaltz/src/test/resources/dyd.xml
# Conflicts: # dynawaltz/src/main/java/com/powsybl/dynawaltz/DynaWaltzContext.java # dynawaltz/src/main/java/com/powsybl/dynawaltz/models/OmegaRef.java # dynawaltz/src/test/java/com/powsybl/dynawaltz/models/OmegaRefTest.java # dynawaltz/src/test/resources/dyd.xml
Signed-off-by: lisrte <laurent.issertial@rte-france.com>
Signed-off-by: lisrte <laurent.issertial@rte-france.com>
Signed-off-by: lisrte <laurent.issertial@rte-france.com>
Signed-off-by: lisrte <laurent.issertial@rte-france.com>
Signed-off-by: lisrte <laurent.issertial@rte-france.com>
Signed-off-by: lisrte <laurent.issertial@rte-france.com>
Signed-off-by: lisrte <laurent.issertial@rte-france.com>
Signed-off-by: lisrte <laurent.issertial@rte-france.com>
Signed-off-by: lisrte <laurent.issertial@rte-france.com>
…dels # Conflicts: # dynawaltz/src/main/java/com/powsybl/dynawaltz/models/AbstractBlackBoxModel.java
Signed-off-by: lisrte <laurent.issertial@rte-france.com>
Signed-off-by: lisrte <laurent.issertial@rte-france.com>
Signed-off-by: lisrte <laurent.issertial@rte-france.com>
dynawaltz/src/main/java/com/powsybl/dynawaltz/models/AbstractBlackBoxModel.java
Outdated
Show resolved
Hide resolved
dynawaltz/src/test/java/com/powsybl/dynawaltz/xml/AbstractDynamicModelXmlTest.java
Outdated
Show resolved
Hide resolved
dynawaltz/src/test/java/com/powsybl/dynawaltz/xml/AbstractDynamicModelXmlTest.java
Outdated
Show resolved
Hide resolved
dynawaltz/src/test/java/com/powsybl/dynawaltz/xml/AbstractDynamicModelXmlTest.java
Outdated
Show resolved
Hide resolved
dynawaltz/src/main/java/com/powsybl/dynawaltz/models/buses/StandardBus.java
Outdated
Show resolved
Hide resolved
Signed-off-by: lisrte <laurent.issertial@rte-france.com>
Signed-off-by: Florian Dupuy <florian.dupuy@rte-france.com>
dynawaltz/src/main/java/com/powsybl/dynawaltz/models/generators/AbstractGeneratorModel.java
Outdated
Show resolved
Hide resolved
Signed-off-by: lisrte <laurent.issertial@rte-france.com>
Signed-off-by: lisrte <laurent.issertial@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.
Now that the DefaultShuntModel has been added, I just realize, shouldn't we protect the StandardBus from being connected to any default model?
We should add checkLinkedDynamicModels(bus.getShuntCompensatorStream(), "shunt", context);
to the checks, or do it on all type of connectables with something like bus.getConnectedTerminalStream().map(Terminal::getConnectable).forEach(c -> checkLinkedDynamicModels(c, context));
Signed-off-by: lisrte <laurent.issertial@rte-france.com>
SonarCloud Quality Gate failed. |
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 ? If so, link to this issue using
'#XXX'
and skip the restWhat kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
What is the current behavior? (You can also link to an open issue here)
What is the new behavior (if this is a feature change)?
Does this PR introduce a breaking change or deprecate an API? If yes, check the following:
Other information:
(if any of the questions/checkboxes don't apply, please delete them entirely)