Skip to content

Migration guide v3.2.0

Lisrte edited this page Mar 31, 2026 · 2 revisions

Replaced DynaFlowParameters

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 reference

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
        }
      }
} ]

PhaseTapChanger transformer component for phase shifter automation system

Make sure to add a PhaseTapChanger to the TwoWindingsTransformer when creating a PhaseShifterIAutomationSystemBuilder or a PhaseShifterPAutomationSystemBuilder

Automation system renaming

The following classes are renamed:

Old name New name
TapChangerAutomaton TapChangerAutomationSystem
TapChangerBlockingAutomaton TapChangerBlockingAutomationSystem

DynawoOutputVariablesBuilder refactor

DynawoOutputVariablesBuilder methods staticId(String) and dynamicModelId(String) are now deprecated. Use DynawoOutputVariablesBuilder::id(String) instead.

Deleted report keys

The following reports keys have been removed:

  • dynawo.dynasim.emptyAutomationSystem
  • dynawo.dynasim.emptyListAutomationSystem
  • dynawo.dynasim.failedDefaultModelHandling

Use dynawo.dynasim.emptyModel instead.

Clone this wiki locally