modelBaseGenerator

Base dynamic model for generators based on SignalN for the frequency handling

Extends from AdditionalIcons.Machine, Machines.BaseClasses.BaseGeneratorSimplified (Base model for simplified generator models).

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.ActivePowerPuPGen0Pu (from BaseGeneratorSimplified)Start value of active power at terminal in pu (base SnRef) (generator convention)
Types.ReactivePowerPuQGen0Pu (from BaseGeneratorSimplified)Start value of reactive power at terminal in pu (base SnRef) (generator convention)
Types.VoltageModulePuU0Pu (from BaseGeneratorSimplified)Start value of voltage amplitude at terminal in pu (base UNom)
Types.ComplexVoltagePuu0Pu (from BaseGeneratorSimplified)Start value of complex voltage at terminal in pu (base UNom)
Types.ComplexCurrentPui0Pu (from BaseGeneratorSimplified)Start value of complex current at terminal in pu (base UNom, SnRef) (receptor convention)
Types.PerUnitKGoverMechanical power sensitivity to frequency
Types.ActivePowerPuPMaxPuMaximum active power in pu (base SnRef)
Types.ActivePowerPuPMinPuMinimum active power in pu (base SnRef)
Types.ActivePowerPNomNominal power in MW
RealAlphaPNom*KGoverParticipation of the considered generator in the primary frequency regulation
BooleanlimUQDown0Whether the minimum reactive power limits are reached or not (from generator voltage regulator), start value
BooleanlimUQUp0Whether the maximum reactive power limits are reached or not (from generator voltage regulator), start value
Types.ActivePowerPuPRef0PuStart value of the active power set point in pu (base SnRef) (receptor convention)
QStatusqStatus0Start voltage regulation status: Standard, AbsorptionMax, GenerationMax

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.ACPowerterminal (from BaseGeneratorSimplified)Connector 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.ActivePowerPGen (from BaseGeneratorSimplified)Active power at terminal in MW (generator convention)
Types.ActivePowerPuPGenPu (from BaseGeneratorSimplified)Active power at terminal in pu (base SnRef) (generator convention)
Types.ReactivePowerPuQGenPu (from BaseGeneratorSimplified)Reactive power at terminal in pu (base SnRef) (generator convention)
Types.ComplexApparentPowerPuSGenPu (from BaseGeneratorSimplified)Complex apparent power at terminal in pu (base SnRef) (generator convention)
Types.VoltageModulePuUPu (from BaseGeneratorSimplified)Voltage amplitude at terminal in pu (base UNom)
Types.PerUnitNSignal to change the active power reference setpoint of the generators participating in the primary frequency regulation in pu (base SnRef)
Types.ActivePowerPuPRefPuActive power set point in pu (base Snref) (receptor convention)
BooleanlimUQDownWhether the minimum reactive power limits are reached or not (from generator voltage regulator)
BooleanlimUQUpWhether the maximum reactive power limits are reached or not (from generator voltage regulator)

Contents

NameDescription
PStatus
QStatus