modelEpriCurrentControl
Current controller in EPRI Grid Forming model
Extends from Parameters.CurrentControl (Current control parameters), Parameters.OmegaFlag (OmegaFlag parameter).
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| CurrentControl | |||
| Types.PerUnit | KPi (from CurrentControl) | Proportional gain of the current loop, example value = 0.5 | |
| Types.PerUnit | KIi (from CurrentControl) | Integral gain of the current loop, example value = 5 | |
| Types.Time | tE (from CurrentControl) | PT1 constant for voltage output in s, example value = 0.01 | |
| General | |||
| Integer | OmegaFlag (from OmegaFlag) | GFM control type; 0=GFL, 1=droop, 2=VSM, 3=dVOC | |
| Circuit | |||
| Types.PerUnit | RFilterPu | Filter resistance in pu (base UNom, SNom), example value = 0.00015 | |
| Types.PerUnit | LFilterPu | Filter inductance in pu (base UNom, SNom), example value = 0.15 | |
| Initial | |||
| 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.PerUnit | UdConv0Pu | Start value of d-axis modulation voltage in pu (base UNom) | |
| Types.PerUnit | UdFilter0Pu | Start value of d-axis voltage at the converter's terminal in pu (base UNom) | |
| Types.PerUnit | UqConv0Pu | Start value of q-axis modulation voltage in pu (base UNom) | |
| Types.PerUnit | UqFilter0Pu | Start value of q-axis voltage at the converter's terminal in pu (base UNom) | |
| Types.Angle | Theta0 | Start value of phase shift between the converter's rotating frame and the grid rotating frame in rad | |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Interfaces.RealInput | idConvPu | D-axis current of the converter in pu (base UNom, SNom) (generator convention) | |
| Modelica.Blocks.Interfaces.RealInput | idConvRefPu | D-axis current reference of the converter in pu (base UNom, SNom) (generator convention) | |
| Modelica.Blocks.Interfaces.RealInput | iqConvPu | Q-axis current of the converter in pu (base UNom, SNom) (generator convention) | |
| Modelica.Blocks.Interfaces.RealInput | iqConvRefPu | Q-axis current reference of the converter in pu (base UNom, SNom) (generator convention) | |
| Modelica.Blocks.Interfaces.RealInput | omegaPu | Converter's frequency in pu (base omegaNom) | |
| Modelica.Blocks.Interfaces.RealInput | udFilterPu | Measured d-axis voltage at the converter's terminal in pu (base UNom) | |
| Modelica.Blocks.Interfaces.RealInput | uqFilterPu | Measured q-axis voltage at the converter's terminal in pu (base UNom) | |
| Modelica.Blocks.Interfaces.RealOutput | udConvRefPu | D-axis modulation voltage reference in pu (base UNom) | |
| Modelica.Blocks.Interfaces.RealOutput | uqConvRefPu | Q-axis modulation voltage reference in pu (base UNom) |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Math.Add | add | ||
| Modelica.Blocks.Math.Add | add1 | ||
| Modelica.Blocks.Math.Add | addd1 | ||
| Modelica.Blocks.Math.Add | addd2 | ||
| Modelica.Blocks.Math.Add | addq1 | ||
| Modelica.Blocks.Math.Add | addq2 | ||
| Modelica.Blocks.Math.Feedback | feedbackd | ||
| Modelica.Blocks.Math.Add | feedbackLwd | ||
| Modelica.Blocks.Math.Add | feedbackLwq | ||
| Modelica.Blocks.Math.Feedback | feedbackq | ||
| Modelica.Blocks.Continuous.FirstOrder | firstOrder | ||
| Modelica.Blocks.Continuous.FirstOrder | firstOrder1 | ||
| Modelica.Blocks.Math.Gain | gain | ||
| Modelica.Blocks.Math.Gain | gain1 | ||
| Modelica.Blocks.Math.Gain | gaind | ||
| Modelica.Blocks.Math.Gain | GainLfd | ||
| Modelica.Blocks.Math.Gain | GainLfq | ||
| Modelica.Blocks.Math.Gain | gainq | ||
| Modelica.Blocks.Continuous.Integrator | integratord | ||
| Modelica.Blocks.Continuous.Integrator | integratorq | ||
| Modelica.Blocks.Math.Product | product | ||
| Modelica.Blocks.Math.Product | product1 |