modelComptodq
Computation of dq components from grid measurements in EPRI Grid Forming model
Extends from Parameters.PLL, Parameters.OmegaFlag (OmegaFlag parameter).
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Pll | |||
| Types.PerUnit | KIPll (from PLL) | PLL integrator gain, example value = 700 | |
| Types.PerUnit | KPPll (from PLL) | PLL proportional gain, example value = 20 | |
| Types.PerUnit | OmegaMaxPu (from PLL) | PLL Upper frequency limit in pu (base OmegaNom), example value = 1.5 | |
| Types.PerUnit | OmegaMinPu (from PLL) | PLL Lower frequency limit in pu (base OmegaNom), example value = 0.5 | |
| General | |||
| Integer | OmegaFlag (from OmegaFlag) | GFM control type; 0=GFL, 1=droop, 2=VSM, 3=dVOC | |
| Types.ApparentPowerModule | SNom | Nominal apparent power in MVA | |
| Initial | |||
| Types.ComplexCurrentPu | iInj0Pu | Start value of complex current at converter's terminal in pu (base UNom, SnRef) (generator convention) | |
| Types.PerUnit | IdConv0Pu | Start value of d-axis current of the converter in pu (base UNom, SNom) (generator convention) | |
| Types.PerUnit | IqConv0Pu | Start value of q-axis current of the converter in pu (base UNom, 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.ComplexVoltagePu | u0Pu | Start value of complex voltage at converter's terminal in pu (base UNom) | |
| Types.PerUnit | UdFilter0Pu | Start value of d-axis voltage at the converter's terminal in pu (base UNom) | |
| Types.PerUnit | UqFilter0Pu | Start value of q-axis voltage at the converter's terminal in pu (base UNom) | |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.ComplexBlocks.Interfaces.ComplexInput | iInjPu | Complex current in pu (base UNom, SnRef) (generator convention) | |
| Modelica.Blocks.Interfaces.RealInput | phi | Voltage phase at injector terminal in rad | |
| Modelica.Blocks.Interfaces.RealInput | thetaGFM | Phase shift between the converter's rotating frame and the grid rotating frame in rad | |
| Modelica.ComplexBlocks.Interfaces.ComplexInput | uInjPu | Complex voltage in pu (base UNom) | |
| Modelica.Blocks.Interfaces.RealOutput | idConvPu | D-axis current of the converter in pu (base UNom, SNom) (generator convention) | |
| Modelica.Blocks.Interfaces.RealOutput | iMagPu | ||
| Modelica.Blocks.Interfaces.RealOutput | iqConvPu | Q-axis current of the converter in pu (base UNom, SNom) (generator convention) | |
| Modelica.Blocks.Interfaces.RealOutput | udFilterPu | D-axis voltage at the converter's terminal in pu (base UNom) | |
| Modelica.Blocks.Interfaces.RealOutput | uqFilterPu | Q-axis voltage at the converter's terminal in pu (base UNom) |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Math.Product | idSquare | ||
| Modelica.Blocks.Math.Gain | changeOfBaseD | ||
| Modelica.Blocks.Math.Gain | changeOfBaseq | ||
| Modelica.Blocks.Sources.IntegerConstant | integerConstant | ||
| Modelica.Blocks.Math.Product | iqSquare | ||
| Dynawo.NonElectrical.Blocks.NonLinear.MultiSwitch | multiSwitch | ||
| Modelica.Blocks.Math.Sqrt | sqrt1 | ||
| Modelica.Blocks.Math.Add | sumidiq | ||
| Dynawo.Electrical.Controls.WECC.Utilities.TransformRItoDQ | transformRItoDQ | ||
| Dynawo.Electrical.Controls.WECC.Utilities.TransformRItoDQ | transformRItoDQ1 |