modelBaseTransformerVariableTap

Base class for ideal and classical transformers with variable tap

Extends from Dynawo.Electrical.Controls.Basics.SwitchOff.SwitchOffTransformer (Switch-off signal for a transformer).

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.PerUnitrTfoMinPuMinimum transformation ratio in pu: U2/U1 in no load conditions
Types.PerUnitrTfoMaxPuMaximum transformation ratio in pu: U2/U1 in no load conditions
IntegerNbTapNumber of taps
Types.ComplexVoltagePuu10PuStart value of complex voltage at terminal 1 in pu (base U1Nom)
Types.ComplexCurrentPui10PuStart value of complex current at terminal 1 in pu (base U1Nom, SnRef) (receptor convention)
Types.ComplexVoltagePuu20PuStart value of complex voltage at terminal 2 in pu (base U2Nom)
Types.ComplexCurrentPui20PuStart value of complex current at terminal 2 in pu (base U2Nom, SnRef) (receptor convention)
Types.ActivePowerPuP10PuStart value of active power at terminal 1 in pu (base SnRef) (receptor convention)
Types.ReactivePowerPuQ10PuStart value of reactive power at terminal 1 in pu (base SnRef) (receptor convention)
Types.VoltageModulePuU10PuStart value of voltage amplitude at terminal 1 in pu (base U1Nom)
Types.VoltageModulePuU20PuStart value of voltage amplitude at terminal 2 in pu (base U2Nom)
IntegerTap0Start value of transformer tap
Types.PerUnitrTfo0PuStart value of transformer ratio

Connectors

TypeNameDefaultDescription
Modelica.Blocks.Interfaces.BooleanInputswitchOffSignal1 (from SwitchOffLogic)Switch-off signal 1
Modelica.Blocks.Interfaces.BooleanInputswitchOffSignal2 (from SwitchOffLogic)Switch-off signal 2
Modelica.Blocks.Interfaces.BooleanInputswitchOffSignal3 (from SwitchOffLogic)Switch-off signal 3
Modelica.Blocks.Interfaces.BooleanOutputrunning (from SwitchOffLogic)Indicates if the component is running or not
Dynawo.Connectors.ACPowerterminal1Connector used to connect the transformer to the grid
Dynawo.Connectors.ACPowerterminal2Connector used to connect the transformer to the grid
Modelica.Blocks.Interfaces.RealInputtapCurrent transformer tap (between 0 and NbTap - 1)
Modelica.Blocks.Interfaces.RealOutputP1PuActive power on side 1
Modelica.Blocks.Interfaces.RealOutputQ1PuReactive power on side 1
Modelica.Blocks.Interfaces.RealOutputU1PuAbsolute voltage on side 1
Modelica.Blocks.Interfaces.RealOutputU2PuVoltage amplitude at terminal 2 in pu (base U2Nom)

Components

TypeNameDefaultDescription
Constants.statestate (from SwitchOffTransformer)Transformer connection state
Types.PerUnitrTfoPuTransformation ratio in pu: U2/U1 in no load conditions