-
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 Current limit two levels automaton #209
Conversation
…ripole Handle quadripole disconnection Signed-off-by: lisrte <laurent.issertial@rte-france.com>
Signed-off-by: lisrte <laurent.issertial@rte-france.com>
Add UT Signed-off-by: lisrte <laurent.issertial@rte-france.com>
Add disconnection UT Add default model Load Signed-off-by: lisrte <laurent.issertial@rte-france.com>
Fix UT 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>
Add Tap changer blocking automaton Signed-off-by: lisrte <laurent.issertial@rte-france.com>
Add UT 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>
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>
# Conflicts: # dynawaltz/src/main/java/com/powsybl/dynawaltz/models/automatons/CurrentLimitAutomaton.java
Signed-off-by: lisrte <laurent.issertial@rte-france.com>
# Conflicts: # dynawaltz-dsl/src/main/groovy/com/powsybl/dynawaltz/dsl/AbstractPureDynamicGroovyExtension.groovy # dynawaltz-dsl/src/main/groovy/com/powsybl/dynawaltz/dsl/automatons/AbstractPhaseShifterModelBuilder.groovy # dynawaltz-dsl/src/main/groovy/com/powsybl/dynawaltz/dsl/automatons/PhaseShifterIAutomatonGroovyExtension.groovy # dynawaltz-dsl/src/main/groovy/com/powsybl/dynawaltz/dsl/automatons/PhaseShifterPAutomatonGroovyExtension.groovy # dynawaltz-dsl/src/main/groovy/com/powsybl/dynawaltz/dsl/automatons/TapChangerAutomatonGroovyExtension.groovy # dynawaltz-dsl/src/main/groovy/com/powsybl/dynawaltz/dsl/automatons/TapChangerBlockingAutomatonGroovyExtension.groovy # dynawaltz-dsl/src/main/groovy/com/powsybl/dynawaltz/dsl/events/EventDisconnectionGroovyExtension.groovy # dynawaltz-dsl/src/main/groovy/com/powsybl/dynawaltz/dsl/models/automatons/CurrentLimitAutomatonGroovyExtension.groovy # dynawaltz-dsl/src/main/groovy/com/powsybl/dynawaltz/dsl/models/loads/LoadOneTransformerTapChangerGroovyExtension.groovy # dynawaltz-dsl/src/main/groovy/com/powsybl/dynawaltz/dsl/models/loads/LoadTwoTransformersGroovyExtension.groovy # dynawaltz-dsl/src/main/groovy/com/powsybl/dynawaltz/dsl/models/loads/LoadTwoTransformersTapChangersGroovyExtension.groovy # dynawaltz-dsl/src/test/java/com/powsybl/dynawaltz/dsl/DynamicModelsSupplierTest.java # dynawaltz-dsl/src/test/java/com/powsybl/dynawaltz/dsl/EventModelsSupplierTest.java # dynawaltz-dsl/src/test/resources/dynamicModels/tapChangerBlocking.groovy # dynawaltz-dsl/src/test/resources/dynamicModels/tapChangerBusException.groovy # dynawaltz-dsl/src/test/resources/dynamicModels/tapChangerCompatibleException.groovy # dynawaltz-dsl/src/test/resources/ieee57-disconnectgenerator/dynawaltz-inputs/powsybl_dynawaltz.dyd # dynawaltz/src/main/java/com/powsybl/dynawaltz/DynaWaltzContext.java # dynawaltz/src/main/java/com/powsybl/dynawaltz/models/AbstractBlackBoxModel.java # dynawaltz/src/main/java/com/powsybl/dynawaltz/models/TransformerSide.java # dynawaltz/src/main/java/com/powsybl/dynawaltz/models/automatons/TapChangerAutomaton.java # dynawaltz/src/main/java/com/powsybl/dynawaltz/models/automatons/TapChangerBlockingAutomaton.java # dynawaltz/src/main/java/com/powsybl/dynawaltz/models/automatons/phaseshifters/PhaseShifterIAutomaton.java # dynawaltz/src/main/java/com/powsybl/dynawaltz/models/events/DisconnectableEquipment.java # dynawaltz/src/main/java/com/powsybl/dynawaltz/models/events/EventQuadripoleDisconnection.java # dynawaltz/src/main/java/com/powsybl/dynawaltz/models/events/EventSetPointBoolean.java # dynawaltz/src/main/java/com/powsybl/dynawaltz/models/generators/AbstractGeneratorModel.java # dynawaltz/src/main/java/com/powsybl/dynawaltz/models/generators/DefaultGeneratorModel.java # dynawaltz/src/main/java/com/powsybl/dynawaltz/models/generators/GeneratorModel.java # dynawaltz/src/main/java/com/powsybl/dynawaltz/models/generators/OmegaRefGeneratorModel.java # dynawaltz/src/main/java/com/powsybl/dynawaltz/models/loads/AbstractLoad.java # dynawaltz/src/main/java/com/powsybl/dynawaltz/models/loads/LoadOneTransformer.java # dynawaltz/src/main/java/com/powsybl/dynawaltz/models/loads/LoadOneTransformerTapChanger.java # dynawaltz/src/main/java/com/powsybl/dynawaltz/models/loads/LoadTwoTransformers.java # dynawaltz/src/main/java/com/powsybl/dynawaltz/models/loads/LoadTwoTransformersTapChangers.java # dynawaltz/src/main/java/com/powsybl/dynawaltz/models/loads/LoadWithTransformers.java # dynawaltz/src/main/java/com/powsybl/dynawaltz/models/transformers/DefaultTransformerModel.java # dynawaltz/src/main/java/com/powsybl/dynawaltz/models/transformers/TapChangerModel.java # dynawaltz/src/main/java/com/powsybl/dynawaltz/models/transformers/TransformerFixedRatio.java # dynawaltz/src/main/java/com/powsybl/dynawaltz/models/transformers/TransformerModel.java # dynawaltz/src/test/java/com/powsybl/dynawaltz/models/lines/StandardLineTest.java # dynawaltz/src/test/java/com/powsybl/dynawaltz/xml/CustomParameterResolver.java # dynawaltz/src/test/java/com/powsybl/dynawaltz/xml/DisconnectEventXmlTest.java # dynawaltz/src/test/java/com/powsybl/dynawaltz/xml/DynaWaltzTestUtil.java # dynawaltz/src/test/java/com/powsybl/dynawaltz/xml/DynamicModelsXmlTest.java # dynawaltz/src/test/java/com/powsybl/dynawaltz/xml/EventXmlTest.java # dynawaltz/src/test/java/com/powsybl/dynawaltz/xml/LoadsModelXmlTest.java # dynawaltz/src/test/java/com/powsybl/dynawaltz/xml/MappedParameterContext.java # dynawaltz/src/test/java/com/powsybl/dynawaltz/xml/PhaseShiftersXmlTest.java # dynawaltz/src/test/java/com/powsybl/dynawaltz/xml/TapChangerAutomatonExceptionsXmlTest.java # dynawaltz/src/test/java/com/powsybl/dynawaltz/xml/TapChangerAutomatonXmlTest.java # dynawaltz/src/test/java/com/powsybl/dynawaltz/xml/TapChangerBlockingAutomatonXmlTest.java # dynawaltz/src/test/java/com/powsybl/dynawaltz/xml/TapChangerBlockingToTapChangerAutomatonXmlTest.java # dynawaltz/src/test/resources/disconnect_dyd.xml # dynawaltz/src/test/resources/events.xml # dynawaltz/src/test/resources/phase_shifter_i_dyd.xml # dynawaltz/src/test/resources/tap_changer_blocking_dyd.xml
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>
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>
} | ||
|
||
public CurrentLimitTwoLevelsAutomaton(String dynamicModelId, String parameterSetId, Branch<?> measuredQuadripole, Side measuredSide, Branch<?> secondMeasuredQuadripole, Side secondMeasuredSide, String lib) { | ||
this(dynamicModelId, parameterSetId, measuredQuadripole, measuredSide, secondMeasuredQuadripole, secondMeasuredSide, measuredQuadripole, lib); |
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.
The fact that the controlled equipment is the first measured quadripole is not very intuitive, shouldn't we force the user to choose a controlled equipment?
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.
@gautierbureau what do you think? is that a classical thing that the controlled equipment is the first measured quadripole?
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.
As discussed with @gautierbureau, better to make this mandatory. Made that mandatory for basic CLA in the groovy too, to avoid confusion.
...main/groovy/com/powsybl/dynawaltz/dsl/automatons/CurrentLimitAutomatonGroovyExtension.groovy
Outdated
Show resolved
Hide resolved
Signed-off-by: Florian Dupuy <florian.dupuy@rte-france.com>
Signed-off-by: Florian Dupuy <florian.dupuy@rte-france.com>
Signed-off-by: Florian Dupuy <florian.dupuy@rte-france.com>
Signed-off-by: Florian Dupuy <florian.dupuy@rte-france.com>
Kudos, SonarCloud Quality Gate passed! |
Please check if the PR fulfills these requirements
What kind of change does this PR introduce?
Feature