modelInitializedTransformerVariableTap

Model of transformer with variable tap and built-in initialization, for the RVS test system

Extends from Dynawo.Electrical.Transformers.TransformerVariableTapXtdPu (Transformer with variable tap to be connected to a tap changer).

Information

This model implements a transformer with variable tap which is automatically initialized by an initialization model.
The parameters and the initial values of side 1 are passed to the initialization model, which in turn calculates the necessary initial tap, ratio and load flow.
The calculated values are then assigned to the respective transformer parameters in an initial algorithm section. This way, the transformer has appropriate parameters before the simulation starts. The model cannot use equations due to variability conflict (parameters and variables), therefore the assignment operator must be used. This is permissible, because the initial values do not change during simulation.

Parameters

TypeNameDefaultDescription
IntegerNbSwitchOffSignals (from SwitchOffLogic)Number of switch-off signals to take into account in inputs
BooleanSwitchOffSignal10 (from SwitchOffLogic)falseInitial switch-off signal 1
BooleanSwitchOffSignal20 (from SwitchOffLogic)falseInitial switch-off signal 2
BooleanSwitchOffSignal30 (from SwitchOffLogic)falseInitial switch-off signal 3
BooleanRunning0 (from SwitchOffLogic)if NbSwitchOffSignals >= 3 then not (SwitchOffSignal10 or SwitchOffSignal20 or SwitchOffSignal30) elseif NbSwitchOffSignals >= 2 then not (SwitchOffSignal10 or SwitchOffSignal20) else not SwitchOffSignal10Indicates if the component is initially running or not
Constants.stateState0 (from SwitchOffTransformer)Constants.state.ClosedStart value of connection state
Types.PerUnitrTfoMinPu (from BaseTransformerVariableTap)Minimum transformation ratio in pu: U2/U1 in no load conditions
Types.PerUnitrTfoMaxPu (from BaseTransformerVariableTap)Maximum transformation ratio in pu: U2/U1 in no load conditions
IntegerNbTap (from BaseTransformerVariableTap)Number of taps
Types.ComplexVoltagePuu10Pu (from BaseTransformerVariableTap)Start value of complex voltage at terminal 1 in pu (base U1Nom)
Types.ComplexCurrentPui10Pu (from BaseTransformerVariableTap)Start value of complex current at terminal 1 in pu (base U1Nom, SnRef) (receptor convention)
Types.ComplexVoltagePuu20Pu (from BaseTransformerVariableTap)Start value of complex voltage at terminal 2 in pu (base U2Nom)
Types.ComplexCurrentPui20Pu (from BaseTransformerVariableTap)Start value of complex current at terminal 2 in pu (base U2Nom, SnRef) (receptor convention)
Types.VoltageModulePuU10Pu (from BaseTransformerVariableTap)Start value of voltage amplitude at terminal 1 in pu (base U1Nom)
Types.VoltageModulePuU20Pu (from BaseTransformerVariableTap)Start value of voltage amplitude at terminal 2 in pu (base U2Nom)
Types.ActivePowerPuP10Pu (from BaseTransformerVariableTap)Start value of active power at terminal 1 in pu (base SnRef) (receptor convention)
Types.ReactivePowerPuQ10Pu (from BaseTransformerVariableTap)Start value of reactive power at terminal 1 in pu (base SnRef) (receptor convention)
IntegerTap0 (from BaseTransformerVariableTap)Start value of transformer tap
Types.PerUnitrTfo0Pu (from BaseTransformerVariableTap)Start value of transformer ratio
Types.ApparentPowerModuleSNom (from TransformerVariableTapXtdPu)Nominal apparent power in MVA
Types.PercentR (from TransformerVariableTapXtdPu)Resistance in % (base U2Nom, SNom)
Types.PercentX (from TransformerVariableTapXtdPu)Reactance in % (base U2Nom, SNom)
Types.PercentG (from TransformerVariableTapXtdPu)Conductance in % (base U2Nom, SNom)
Types.PercentB (from TransformerVariableTapXtdPu)Susceptance in % (base U2Nom, SNom)
Types.VoltageModulePuUc20PuVoltage set-point on side 2 in pu (base U2Nom)
Types.AngleU1Phase0Start value of voltage angle at terminal 1 in rad

Connectors

TypeNameDefaultDescription
Dynawo.Connectors.BPinswitchOffSignal1 (from SwitchOffLogic)Switch-off signal 1
Dynawo.Connectors.BPinswitchOffSignal2 (from SwitchOffLogic)Switch-off signal 2
Dynawo.Connectors.BPinswitchOffSignal3 (from SwitchOffLogic)Switch-off signal 3
Dynawo.Connectors.BPinrunning (from SwitchOffLogic)Indicates if the component is running or not
Dynawo.Connectors.ACPowerterminal1 (from BaseTransformerVariableTap)Connector used to connect the transformer to the grid
Dynawo.Connectors.ACPowerterminal2 (from BaseTransformerVariableTap)Connector used to connect the transformer to the grid
Dynawo.Connectors.ZPintap (from BaseTransformerVariableTap)Current transformer tap (between 0 and NbTap - 1)
Dynawo.Connectors.ImPinU1Pu (from BaseTransformerVariableTap)Absolute voltage on side 1
Dynawo.Connectors.ImPinP1Pu (from BaseTransformerVariableTap)Active power on side 1
Dynawo.Connectors.ImPinQ1Pu (from BaseTransformerVariableTap)Reactive power on side 1
Dynawo.Connectors.ImPinU2Pu (from BaseTransformerVariableTap)Voltage amplitude at terminal 2 in pu (base U2Nom)

Components

TypeNameDefaultDescription
Constants.statestate (from SwitchOffTransformer)Transformer connection state
Types.PerUnitrTfoPu (from BaseTransformerVariableTap)Transformation ratio in pu: U2/U1 in no load conditions
Dynawo.Electrical.Transformers.TransformerVariableTapPQ_INITinit