modelInjectorURI

Injector controlled by real (R) part and imaginary (I) part voltage components urPu and uiPu

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

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.ComplexVoltagePuu0PuStart value of complex voltage at injector terminal in pu (base UNom)
Types.ComplexCurrentPui0PuStart value of complex current at injector terminal in pu (base UNom, SnRef) (receptor convention)
Types.ActivePowerPuP0Pu-ComplexMath.real(u0Pu*ComplexMath.conj(i0Pu))Start value of active power in pu (base SnRef) (receptor convention)
Types.ReactivePowerPuQ0Pu-ComplexMath.imag(u0Pu*ComplexMath.conj(i0Pu))Start value of reactive power in pu (base SnRef) (receptor convention)

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.RealInputurPuVoltage real part in pu (base UNom)
Modelica.Blocks.Interfaces.RealInputuiPuVoltage imaginary part in pu (base UNom)
Modelica.Blocks.Interfaces.RealOutputPInjPuInjected active power in pu (base SnRef) (generator convention)
Modelica.Blocks.Interfaces.RealOutputQInjPuInjected reactive power in pu (base SnRef) (generator convention)

Components

TypeNameDefaultDescription
Constants.statestate (from SwitchOffInjector)Injector connection state