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
| 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.PerUnit | KGover | Mechanical power sensitivity to frequency | |
| Types.ActivePowerPu | PMaxPu | Maximum active power in pu (base SnRef) | |
| Types.ActivePowerPu | PMinPu | Minimum active power in pu (base SnRef) | |
| Types.ActivePower | PNom | Nominal power in MW | |
| Real | Alpha | PNom*KGover | Participation of the considered generator in the primary frequency regulation |
| Boolean | limUQDown0 | Whether the minimum reactive power limits are reached or not (from generator voltage regulator), start value | |
| Boolean | limUQUp0 | Whether the maximum reactive power limits are reached or not (from generator voltage regulator), start value | |
| Types.ActivePowerPu | PRef0Pu | Start value of the active power set point in pu (base SnRef) (receptor convention) | |
| QStatus | qStatus0 | Start voltage regulation status: Standard, AbsorptionMax, GenerationMax |
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 |
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) | |
| Types.PerUnit | N | Signal to change the active power reference setpoint of the generators participating in the primary frequency regulation in pu (base SnRef) | |
| Types.ActivePowerPu | PRefPu | Active power set point in pu (base Snref) (receptor convention) | |
| Boolean | limUQDown | Whether the minimum reactive power limits are reached or not (from generator voltage regulator) | |
| Boolean | limUQUp | Whether the maximum reactive power limits are reached or not (from generator voltage regulator) |
Contents
| Name | Description |
|---|---|
| PStatus | |
| QStatus |