modelGeneratorPV

Generator with active power / frequency regulation and voltage / reactive power regulation

Extends from BaseClasses.BaseGeneratorSimplifiedPFBehavior (Base model for generator active power / frequency modulation), AdditionalIcons.Machine.

Information

The active power output is modulated according to frequency (in order to model frequency containment reserves).
The reactive power output is modulated in order to keep U + lambda * Q as close as possible to the target value. When a reactive power limit is reached, the generator produces a constant reactive power equal to the limit reached.

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.ActivePowerPMin (from BaseGeneratorSimplifiedPFBehavior)Minimum active power in MW
Types.ActivePowerPMax (from BaseGeneratorSimplifiedPFBehavior)Maximum active power in MW
Types.ActivePowerPNom (from BaseGeneratorSimplifiedPFBehavior)Nominal active power in MW
Types.PerUnitAlphaPuPNom (from BaseGeneratorSimplifiedPFBehavior)Frequency sensitivity in pu (base PNom, OmegaNom)
Types.ActivePowerPuPMinPu (from BaseGeneratorSimplifiedPFBehavior)PMin/SystemBase.SnRefMinimum active power in pu (base SnRef)
Types.ActivePowerPuPMaxPu (from BaseGeneratorSimplifiedPFBehavior)PMax/SystemBase.SnRefMaximum active power in pu (base SnRef)
Types.PerUnitAlphaPu (from BaseGeneratorSimplifiedPFBehavior)AlphaPuPNom*PNom/SystemBase.SnRefFrequency sensitivity in pu (base SnRef, OmegaNom)
Types.PerUnitLambdaPuSNomReactive power sensitivity of the voltage regulation in pu (base UNom, SNom)
Types.ReactivePowerQMaxMaximum reactive power in Mvar
Types.ReactivePowerQMinMinimum reactive power in Mvar
Types.ApparentPowerModuleSNomApparent nominal power in MVA
Types.PerUnitLambdaPuLambdaPuSNom*SystemBase.SnRef/SNomReactive power sensitivity of the voltage regulation in pu (base UNom, SnRef)
Types.ReactivePowerPuQMaxPuQMax/SystemBase.SnRefMaximum reactive power in pu (base SnRef)
Types.ReactivePowerPuQMinPuQMin/SystemBase.SnRefMinimum reactive power in pu (base SnRef)
Types.TimeT1Time constant used to filter the reactive power reference, in s
Types.VoltageModulePuURef0PuInitial voltage regulation set point in pu (base UNom)

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
Dynawo.Connectors.ImPindeltaPmRefPu (from BaseGeneratorSimplifiedPFBehavior)Additional active power reference in pu (base PNom)
Dynawo.Connectors.ImPinomegaRefPu (from BaseGeneratorSimplifiedPFBehavior)Network angular reference frequency in pu (base OmegaNom)
Dynawo.Connectors.ImPindeltaURefPuAdditional voltage reference in pu (base UNom)
Dynawo.Connectors.ImPinURefPuVoltage regulation set point in pu (base UNom)

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.ReactivePowerPuQGenRefPuReactive power set point in pu (base SnRef)

Contents

NameDescription
QStatus