modelVoltageLoop
Voltage loop control for grid forming and grid following converters
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Types.PerUnit | Kpv | Proportional gain of the voltage loop | |
| Types.PerUnit | Kiv | Integral gain of the voltage loop | |
| Types.PerUnit | CFilter | Filter capacitance 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 | IdPcc0Pu | Start value of d-axis current in the grid in pu (base UNom, SNom) (generator convention) | |
| Types.PerUnit | IqPcc0Pu | Start value of q-axis current in the grid in pu (base UNom, SNom) (generator convention) |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Interfaces.RealInput | omegaPu | Converter's frequency in pu (base omegaNom) | |
| 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.RealInput | udFilterRefPu | d-axis voltage reference at the converter's capacitor in pu (base UNom) | |
| Modelica.Blocks.Interfaces.RealInput | uqFilterRefPu | q-axis voltage reference at the converter's capacitor in pu (base UNom) | |
| Modelica.Blocks.Interfaces.RealInput | idPccPu | d-axis current in the grid in pu (base UNom, SNom) (generator convention) | |
| Modelica.Blocks.Interfaces.RealInput | iqPccPu | q-axis current in the grid in pu (base UNom, SNom) (generator convention) | |
| Modelica.Blocks.Interfaces.RealOutput | idConvRefPu | d-axis current reference in the converter in pu (base UNom, SNom) (generator convention) | |
| Modelica.Blocks.Interfaces.RealOutput | iqConvRefPu | q-axis current reference in the converter in pu (base UNom, SNom) (generator convention) |
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 | GainCfd | ||
| Modelica.Blocks.Math.Gain | GainCfq | ||
| Modelica.Blocks.Math.Add | addd1 | ||
| Modelica.Blocks.Math.Add | addq1 | ||
| Modelica.Blocks.Math.Add | feedbackCwd | ||
| Modelica.Blocks.Math.Add | feedbackCwq | ||
| Modelica.Blocks.Math.Add | addd2 | ||
| Modelica.Blocks.Math.Add | addq2 |