modelGeneratorPQ
Generator with power / frequency modulation and fixed reactive power
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 fixed equal to its initial value QGen0Pu.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | NbSwitchOffSignals (from SwitchOffLogic) | Number of switch-off signals to take into account in inputs | |
| Boolean | SwitchOffSignal10 (from SwitchOffLogic) | false | Initial switch-off signal 1 |
| Boolean | SwitchOffSignal20 (from SwitchOffLogic) | false | Initial switch-off signal 2 |
| Boolean | SwitchOffSignal30 (from SwitchOffLogic) | false | Initial switch-off signal 3 |
| Boolean | Running0 (from SwitchOffLogic) | if NbSwitchOffSignals >= 3 then not (SwitchOffSignal10 or SwitchOffSignal20 or SwitchOffSignal30) elseif NbSwitchOffSignals >= 2 then not (SwitchOffSignal10 or SwitchOffSignal20) else not SwitchOffSignal10 | Indicates if the component is initially running or not |
| Constants.state | State0 (from SwitchOffGenerator) | Constants.state.Closed | Start value of connection state |
| Types.ActivePowerPu | PGen0Pu (from BaseGeneratorSimplified) | Start value of active power at terminal in pu (base SnRef) (generator convention) | |
| Types.ReactivePowerPu | QGen0Pu (from BaseGeneratorSimplified) | Start value of reactive power at terminal in pu (base SnRef) (generator convention) | |
| Types.VoltageModulePu | U0Pu (from BaseGeneratorSimplified) | Start value of voltage amplitude at terminal in pu (base UNom) | |
| Types.ComplexVoltagePu | u0Pu (from BaseGeneratorSimplified) | Start value of complex voltage at terminal in pu (base UNom) | |
| Types.ComplexCurrentPu | i0Pu (from BaseGeneratorSimplified) | Start value of complex current at terminal in pu (base UNom, SnRef) (receptor convention) | |
| Types.ActivePower | PMin (from BaseGeneratorSimplifiedPFBehavior) | Minimum active power in MW | |
| Types.ActivePower | PMax (from BaseGeneratorSimplifiedPFBehavior) | Maximum active power in MW | |
| Types.ActivePower | PNom (from BaseGeneratorSimplifiedPFBehavior) | Nominal active power in MW | |
| Types.PerUnit | AlphaPuPNom (from BaseGeneratorSimplifiedPFBehavior) | Frequency sensitivity in pu (base PNom, OmegaNom) | |
| Types.ActivePowerPu | PMinPu (from BaseGeneratorSimplifiedPFBehavior) | PMin/SystemBase.SnRef | Minimum active power in pu (base SnRef) |
| Types.ActivePowerPu | PMaxPu (from BaseGeneratorSimplifiedPFBehavior) | PMax/SystemBase.SnRef | Maximum active power in pu (base SnRef) |
| Types.PerUnit | AlphaPu (from BaseGeneratorSimplifiedPFBehavior) | AlphaPuPNom*PNom/SystemBase.SnRef | Frequency sensitivity in pu (base SnRef, OmegaNom) |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Dynawo.Connectors.BPin | switchOffSignal1 (from SwitchOffLogic) | Switch-off signal 1 | |
| Dynawo.Connectors.BPin | switchOffSignal2 (from SwitchOffLogic) | Switch-off signal 2 | |
| Dynawo.Connectors.BPin | switchOffSignal3 (from SwitchOffLogic) | Switch-off signal 3 | |
| Dynawo.Connectors.BPin | running (from SwitchOffLogic) | Indicates if the component is running or not | |
| Dynawo.Connectors.ACPower | terminal (from BaseGeneratorSimplified) | Connector used to connect the synchronous generator to the grid | |
| Dynawo.Connectors.ImPin | deltaPmRefPu (from BaseGeneratorSimplifiedPFBehavior) | Additional active power reference in pu (base PNom) | |
| Dynawo.Connectors.ImPin | omegaRefPu (from BaseGeneratorSimplifiedPFBehavior) | Network angular reference frequency in pu (base OmegaNom) |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Constants.state | state (from SwitchOffGenerator) | Generator connection state | |
| Real | genState (from SwitchOffGenerator) | Generator continuous connection state | |
| Modelica.Blocks.Math.IntegerToReal | converter (from SwitchOffGenerator) | Converter for generator state | |
| Types.ActivePower | PGen (from BaseGeneratorSimplified) | Active power at terminal in MW (generator convention) | |
| Types.ActivePowerPu | PGenPu (from BaseGeneratorSimplified) | Active power at terminal in pu (base SnRef) (generator convention) | |
| Types.ReactivePowerPu | QGenPu (from BaseGeneratorSimplified) | Reactive power at terminal in pu (base SnRef) (generator convention) | |
| Types.ComplexApparentPowerPu | SGenPu (from BaseGeneratorSimplified) | Complex apparent power at terminal in pu (base SnRef) (generator convention) | |
| Types.VoltageModulePu | UPu (from BaseGeneratorSimplified) | Voltage amplitude at terminal in pu (base UNom) |