modelInjectorIDQ

Injector controlled by d and q current components idPu and iqPu

Extends from Dynawo.Electrical.Controls.Basics.SwitchOff.SwitchOffInjector (Switch-off model for an injector).

Information

This block calculates the current references for terminal connection based on d-q-frame setpoints from generator control

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 SwitchOffInjector)Constants.state.ClosedStart value of connection state
Types.ApparentPowerModuleSNomNominal apparent power in MVA
Types.ComplexCurrentPui0PuStart value of complex current at injector terminal in pu (base UNom, SnRef) (receptor convention)
Types.PerUnitId0PuStart value of idPu in pu (base SNom, UNom) (generator convention)
Types.PerUnitIq0PuStart value of iqPu in pu (base SNom, UNom) (generator convention)
Types.ActivePowerPuP0PuStart value of active power in pu (base SnRef) (receptor convention)
Types.ReactivePowerPuQ0PuStart value of reactive power in pu (base SnRef) (receptor convention)
Types.ComplexApparentPowerPus0PuStart value of apparent power at injector terminal in pu (base SnRef) (receptor convention)
Types.VoltageModulePuU0PuStart value of voltage amplitude at injector terminal in pu (base UNom)
Types.ComplexVoltagePuu0PuStart value of complex voltage at injector terminal in pu (base UNom)
Types.AngleUPhase0Start value of voltage angle at injector terminal 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.ACPowerterminalConnector used to connect the injector to the grid
Modelica.Blocks.Interfaces.RealInputidPuInjected d-axis current in pu (base SNom, UNom) (generator convention)
Modelica.Blocks.Interfaces.RealInputiqPuInjected q-axis current in pu (base SNom, UNom) (generator convention)
Modelica.Blocks.Interfaces.RealInputUPhaseRotor angle: angle between machine rotor frame and port phasor frame in rad
Modelica.Blocks.Interfaces.RealOutputPInjPuInjected active power in pu (base SnRef) (generator convention)
Modelica.Blocks.Interfaces.RealOutputPInjPuSnInjected active power in pu (base SNom) (generator convention)
Modelica.Blocks.Interfaces.RealOutputQInjPuInjected reactive power in pu (base SnRef) (generator convention)
Modelica.Blocks.Interfaces.RealOutputQInjPuSnInjected reactive power in pu (base SNom) (generator convention)
Modelica.Blocks.Interfaces.RealOutputUPuMagnitude voltage at inverter terminal in pu (base UNom)
Modelica.ComplexBlocks.Interfaces.ComplexOutputuPuComplex inverter terminal voltage, used as complex connector instead of terminal connector, terminal only used for physical connection, in pu (base UNom)

Components

TypeNameDefaultDescription
Constants.statestate (from SwitchOffInjector)Injector connection state