-
Notifications
You must be signed in to change notification settings - Fork 3
Migration guide v3.2.0
The followingDynaFlowParameters parameters have been removed and replaced by the equivalent LoadFlowParameters parameters :
| DynaFlow parameters | LoadFlow parameters |
|---|---|
activePowerCompensation |
balanceType |
automaticSlackBusOn |
readSlackBus |
shuntRegulationOn |
shuntCompensatorVoltageControlOn |
startingPointMode |
voltageInitMode |
Default value change (from LoadFlowParameters):
| DynaFlow parameters | Old default value | New default value |
|---|---|---|
automaticSlackBusOn |
true |
false |
shuntRegulationOn |
true |
false |
startingPointMode |
WARM |
FLAT |
ParametersSet methods:
addReference(String name, ParameterType type, String origData, String origName, String componentId)addReference(String name, ParameterType type, String origData, String origName)
have been replaced with:
addReference(String name, ParameterType type, String origName, String componentId)addReference(String name, ParameterType type, String origName)
ParametersSet references field is now a Map<String, Parameter> instead of a List<Reference>, thus ParametersSet in JSON format change from:
"modelsParameters" : [ {
"id" : "LAB",
"parameters" : { },
"references" : [ {
"name" : "load_P0Pu",
"type" : "DOUBLE",
"origData" : "IIDM",
"origName" : "p_pu",
"componentId" : null
} ]
} ]to
"modelsParameters" : [ {
"id" : "LAB",
"parameters" : { },
"references" : {
"load_P0Pu" : {
"name" : "load_P0Pu",
"type" : "DOUBLE",
"origData" : "IIDM",
"origName" : "p_pu",
"componentId" : null
}
}
} ]Make sure to add a PhaseTapChanger to the TwoWindingsTransformer when creating a PhaseShifterIAutomationSystemBuilder or a PhaseShifterPAutomationSystemBuilder
The following classes are renamed:
| Old name | New name |
|---|---|
TapChangerAutomaton |
TapChangerAutomationSystem |
TapChangerBlockingAutomaton |
TapChangerBlockingAutomationSystem |
DynawoOutputVariablesBuilder methods staticId(String) and dynamicModelId(String) are now deprecated.
Use DynawoOutputVariablesBuilder::id(String) instead.
The following reports keys have been removed:
dynawo.dynasim.emptyAutomationSystemdynawo.dynasim.emptyListAutomationSystemdynawo.dynasim.failedDefaultModelHandling
Use dynawo.dynasim.emptyModel instead.