modelBaseGeneratorSimplified

Base model for simplified generator models

Extends from Dynawo.Electrical.Controls.Basics.SwitchOff.SwitchOffGenerator (Switch-off model for a generator).

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 SwitchOffGenerator)Constants.state.ClosedStart value of connection state
Types.ActivePowerPuPGen0PuStart value of active power at terminal in pu (base SnRef) (generator convention)
Types.ReactivePowerPuQGen0PuStart value of reactive power at terminal in pu (base SnRef) (generator convention)
Types.VoltageModulePuU0PuStart value of voltage amplitude at terminal in pu (base UNom)
Types.ComplexVoltagePuu0PuStart value of complex voltage at terminal in pu (base UNom)
Types.ComplexCurrentPui0PuStart value of complex current at terminal in pu (base UNom, 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 synchronous generator to the grid

Components

TypeNameDefaultDescription
Constants.statestate (from SwitchOffGenerator)Generator connection state
RealgenState (from SwitchOffGenerator)Generator continuous connection state
Modelica.Blocks.Math.IntegerToRealconverter (from SwitchOffGenerator)Converter for generator state
Types.ActivePowerPGenActive power at terminal in MW (generator convention)
Types.ActivePowerPuPGenPuActive power at terminal in pu (base SnRef) (generator convention)
Types.ReactivePowerPuQGenPuReactive power at terminal in pu (base SnRef) (generator convention)
Types.ComplexApparentPowerPuSGenPuComplex apparent power at terminal in pu (base SnRef) (generator convention)
Types.VoltageModulePuUPuVoltage amplitude at terminal in pu (base UNom)