modelGFM
Grid forming control block
Extends from Parameters.Gfm (GFM parameters), Parameters.OmegaFlag (OmegaFlag parameter).
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| GFM | |||
| Types.PerUnit | DD (from Gfm) | VSM damping factor, example value = 0.11 | |
| Types.PerUnit | DeltaOmegaMaxPu (from Gfm) | Frequency deviation maximum in pu/s (base omegaNom), example value = 75(rad/s)/omegaNom | |
| Types.PerUnit | DeltaOmegaMinPu (from Gfm) | Frequency deviation minimum in pu/s (base omegaNom), example value = -75(rad/s)/omegaNom | |
| Types.PerUnit | K1 (from Gfm) | Gain, set according to OmegaFlag | |
| Types.PerUnit | K2 (from Gfm) | Gain, set according to OmegaFlag | |
| Types.PerUnit | K2Dvoc (from Gfm) | Gain, set according to OmegaFlag | |
| Types.PerUnit | KD (from Gfm) | Gain of the active damping, Set according to OmegaFlag | |
| Types.PerUnit | MF (from Gfm) | VSM inertia constant, example value = 0.15 | |
| Types.Time | tF (from Gfm) | Time constant in s, set according to OmegaFlag | |
| Types.Time | tR (from Gfm) | Transducer time constant in s, example value = 0.005 | |
| Types.Time | tV (from Gfm) | Time constant in s, set according to OmegaFlag | |
| General | |||
| Integer | OmegaFlag (from OmegaFlag) | GFM control type; 0=GFL, 1=droop, 2=VSM, 3=dVOC | |
| Initial | |||
| Types.ActivePowerPu | PGen0Pu | Start value of the active power at the converter's terminal in pu (base SNom) (generator convention) | |
| Types.ReactivePowerPu | QGen0Pu | Start value of the reactive power at the converter's terminal in pu (base SNom) (generator convention) | |
| Types.Angle | Theta0 | Start value of phase shift between the converter's rotating frame and the grid rotating frame in rad | |
| Types.PerUnit | UdFilter0Pu | Start value of d-axis voltage at the converter's terminal in pu (base UNom) | |
| Types.VoltageModulePu | URef0Pu | Start value of voltage reference at the converter's terminal in pu (base UNom) | |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Interfaces.RealInput | omegaPLLPu | PLL measured frequency in pu (base omegaNom) | |
| Modelica.Blocks.Interfaces.RealInput | omegaRefPu | Reference frequency of the system in pu (base omegaNom) | |
| Modelica.Blocks.Interfaces.RealInput | PAuxPu | Active power auxiliary control signal in pu (base SNom) | |
| Modelica.Blocks.Interfaces.RealInput | PPu | Active power generated at the converter's terminal in pu (base SNom) (generator convention) | |
| Modelica.Blocks.Interfaces.RealInput | PRefPu | Active power reference at the converter's terminal in pu (base SNom) (generator convention) | |
| Modelica.Blocks.Interfaces.RealInput | QAuxPu | Reactive power auxiliary control signal in pu (base SNom) | |
| Modelica.Blocks.Interfaces.RealInput | QPu | Reactive power generated at the converter's terminal in pu (base SNom) (generator convention) | |
| Modelica.Blocks.Interfaces.RealInput | QRefPu | Reactive power reference at the converter's terminal in pu (base SNom) (generator convention) | |
| Modelica.Blocks.Interfaces.RealInput | URefPu | voltage setpoint in pu (base UNom) (generator convention) | |
| Modelica.Blocks.Interfaces.RealOutput | omegaPu | Converter's frequency in pu (base omegaNom) | |
| Modelica.Blocks.Interfaces.RealOutput | theta | Phase shift between the converter's rotating frame and the grid rotating frame in rad | |
| Modelica.Blocks.Interfaces.RealOutput | udFilterRefPu | D-axis voltage reference at the converter terminals in pu (base UNom) |