modelCurrentLoop
Current loop control for grid forming and grid following converters
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Types.PerUnit | Kpc | Proportional gain of the current loop | |
| Types.PerUnit | Kic | Integral gain of the current loop | |
| Types.PerUnit | LFilter | Filter inductance in pu (base UNom, SNom) | |
| Types.PerUnit | RFilter | Filter resistance in pu (base UNom, SNom) | |
| Types.PerUnit | UdFilter0Pu | Start value of d-axis voltage at the converter's capacitor in pu (base UNom) | |
| Types.PerUnit | UqFilter0Pu | Start value of q-axis voltage at the converter's capacitor in pu (base UNom) | |
| Types.PerUnit | IdConv0Pu | Start value of d-axis current in the converter in pu (base UNom, SNom) (generator convention) | |
| Types.PerUnit | IqConv0Pu | Start value of q-axis current in 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 | UqConv0Pu | Start value of q-axis modulation voltage in pu (base UNom) |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Interfaces.RealInput | omegaPu | Converter's frequency in pu (base omegaNom) | |
| Modelica.Blocks.Interfaces.RealInput | idConvPu | d-axis current in the converter in pu (base UNom, SNom) (generator convention) | |
| Modelica.Blocks.Interfaces.RealInput | iqConvPu | q-axis current in the converter in pu (base UNom, SNom) (generator convention) | |
| Modelica.Blocks.Interfaces.RealInput | idConvRefPu | d-axis current reference in the converter in pu (base UNom, SNom) (generator convention) | |
| Modelica.Blocks.Interfaces.RealInput | iqConvRefPu | q-axis current reference in the converter in pu (base UNom, SNom) (generator convention) | |
| Modelica.Blocks.Interfaces.RealInput | udFilterPu | d-axis voltage at the converter's capacitor in pu (base UNom) | |
| Modelica.Blocks.Interfaces.RealInput | uqFilterPu | q-axis voltage at the converter's capacitor 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.Gain | gaind | ||
| Modelica.Blocks.Continuous.Integrator | integratord | ||
| Modelica.Blocks.Math.Feedback | feedbackd | ||
| Modelica.Blocks.Math.Feedback | feedbackq | ||
| Modelica.Blocks.Math.Gain | gainq | ||
| Modelica.Blocks.Continuous.Integrator | integratorq | ||
| Modelica.Blocks.Math.Product | product | ||
| Modelica.Blocks.Math.Product | product1 | ||
| Modelica.Blocks.Math.Gain | GainLfd | ||
| Modelica.Blocks.Math.Gain | GainLfq | ||
| Modelica.Blocks.Math.Add | addd1 | ||
| Modelica.Blocks.Math.Add | addq1 | ||
| Modelica.Blocks.Math.Add | feedbackLwd | ||
| Modelica.Blocks.Math.Add | feedbackLwq | ||
| Modelica.Blocks.Math.Add | addd2 | ||
| Modelica.Blocks.Math.Add | addq2 |