modelGeneratorPVRemoteDiagramPQ

Model for generator PV with a PQ diagram, based on SignalN for the frequency handling and a remote voltage regulation

Extends from BaseClasses.BaseGeneratorSignalNDiagramPQ (Base dynamic model for generators based on SignalN for the frequency handling with a PQ diagram and that do not participate in the Secondary Frequency Regulation (SFR)), BaseClasses.BasePVRemote (Base dynamic model for a remote voltage regulation).

Information

This generator regulates the voltage URegulatedPu unless its reactive power generation hits its limits QMinPu or QMaxPu (in this case, the generator provides QMinPu or QMaxPu and the voltage is no longer regulated). The reactive power limitations follow a PQ diagram.

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.PerUnitKGover (from BaseGenerator)Mechanical power sensitivity to frequency
Types.ActivePowerPuPMaxPu (from BaseGenerator)Maximum active power in pu (base SnRef)
Types.ActivePowerPuPMinPu (from BaseGenerator)Minimum active power in pu (base SnRef)
Types.ActivePowerPNom (from BaseGenerator)Nominal power in MW
RealAlpha (from BaseGenerator)PNom*KGoverParticipation of the considered generator in the primary frequency regulation
BooleanlimUQDown0 (from BaseGenerator)Whether the minimum reactive power limits are reached or not (from generator voltage regulator), start value
BooleanlimUQUp0 (from BaseGenerator)Whether the maximum reactive power limits are reached or not (from generator voltage regulator), start value
Types.ActivePowerPuPRef0Pu (from BaseGenerator)Start value of the active power set point in pu (base SnRef) (receptor convention)
QStatusqStatus0 (from BaseGenerator)Start voltage regulation status: Standard, AbsorptionMax, GenerationMax
StringQMaxTableFile (from BaseDiagramPQ)Text file that contains the table to get QMaxPu from PGenPu
StringQMaxTableName (from BaseDiagramPQ)Name of the table in the text file to get QMaxPu from PGenPu
StringQMinTableFile (from BaseDiagramPQ)Text file that contains the table to get QMinPu from PGenPu
StringQMinTableName (from BaseDiagramPQ)Name of the table in the text file to get QMinPu from PGenPu
Types.ReactivePowerPuQMax0Pu (from BaseDiagramPQ)Start value of the maximum reactive power in pu (base SnRef)
Types.ReactivePowerPuQMin0Pu (from BaseDiagramPQ)Start value of the minimum reactive power in pu (base SnRef)
Types.VoltageModuleURef0 (from BasePVRemote)Start value of the voltage regulation set point in kV
Types.VoltageModuleURegulated0 (from BasePVRemote)Start value of the regulated voltage in kV
Types.VoltageModulePuUDeadBandPu (from BasePVRemote)Voltage deadband around the target in pu (base UNom)
Types.ReactivePowerPuQDeadBandPu (from BasePVRemote)Reactive power deadband around the target in pu (base SnRef)

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.PerUnitN (from BaseGenerator)Signal to change the active power reference setpoint of the generators participating in the primary frequency regulation in pu (base SnRef)
Types.ActivePowerPuPRefPu (from BaseGenerator)Active power set point in pu (base Snref) (receptor convention)
BooleanlimUQDown (from BaseGenerator)Whether the minimum reactive power limits are reached or not (from generator voltage regulator)
BooleanlimUQUp (from BaseGenerator)Whether the maximum reactive power limits are reached or not (from generator voltage regulator)
Types.ReactivePowerPuQMaxPu (from BaseDiagramPQ)Maximum reactive power in pu (base SnRef)
Types.ReactivePowerPuQMinPu (from BaseDiagramPQ)Minimum reactive power in pu (base SnRef)
Modelica.Blocks.Tables.CombiTable1DtableQMax (from BaseDiagramPQ)Table to get QMaxPu from PGenPu
Modelica.Blocks.Tables.CombiTable1DtableQMin (from BaseDiagramPQ)Table to get QMinPu from PGenPu
Types.VoltageModuleURef (from BasePVRemote)Voltage regulation set point in kV
Types.VoltageModuleURegulated (from BasePVRemote)Regulated voltage in kV