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
| 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) |
| Types.PerUnit | LambdaPuSNom | Reactive power sensitivity of the voltage regulation in pu (base UNom, SNom) | |
| Types.ReactivePower | QMax | Maximum reactive power in Mvar | |
| Types.ReactivePower | QMin | Minimum reactive power in Mvar | |
| Types.ApparentPowerModule | SNom | Apparent nominal power in MVA | |
| Types.PerUnit | LambdaPu | LambdaPuSNom*SystemBase.SnRef/SNom | Reactive power sensitivity of the voltage regulation in pu (base UNom, SnRef) |
| Types.ReactivePowerPu | QMaxPu | QMax/SystemBase.SnRef | Maximum reactive power in pu (base SnRef) |
| Types.ReactivePowerPu | QMinPu | QMin/SystemBase.SnRef | Minimum reactive power in pu (base SnRef) |
| Types.Time | T | 1 | Time constant used to filter the reactive power reference, in s |
| Types.VoltageModulePu | URef0Pu | Initial voltage regulation set point in pu (base UNom) |
Connectors
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.ComplexApparentPowerPu | SGenPu (from BaseGeneratorSimplified) | Complex apparent power at terminal in pu (base SnRef) (generator convention) | |
| Types.ReactivePowerPu | QGenRefPu | Reactive power set point in pu (base SnRef) |
Contents
| Name | Description |
|---|---|
| QStatus |