modelDroopControl
Droop control for grid forming converters
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Types.PerUnit | Mq | Reactive power droop control coefficient | |
| Types.PerUnit | Wf | Cutoff pulsation of the active and reactive filters (in rad/s) | |
| Types.PerUnit | Mp | Active power droop control coefficient | |
| Types.PerUnit | Wff | Cutoff pulsation of the active damping (in rad/s) | |
| Types.PerUnit | Kff | Gain of the active damping | |
| Types.ActivePowerPu | PRef0Pu | Start value of the active power reference at the converter's capacitor in pu (base SNom) (generator convention) | |
| Types.ReactivePowerPu | QRef0Pu | Start value of the reactive power reference at the converter's capacitor in pu (base 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) | |
| 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.Angle | Theta0 | Start value of phase shift between the converter's rotating frame and the grid rotating frame in rad | |
| Types.ActivePowerPu | PFilter0Pu | Start value of active power generated at the converter's capacitor in pu (base SNom) (generator convention) | |
| Types.ReactivePowerPu | QFilter0Pu | Start value of reactive power generated at the converter's capacitor in pu (base SNom) (generator convention) | |
| Types.PerUnit | DeltaVVId0 | Start value of d-axis virtual impedance output in pu (base UNom) | |
| Types.PerUnit | DeltaVVIq0 | Start value of q-axis virtual impedance output in pu (base UNom) | |
| Types.VoltageModulePu | UFilterRef0Pu | Start value of voltage module reference at the converter's capacitor in pu (base UNom) |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Interfaces.RealInput | PFilterPu | Active power generated at the converter's capacitor in pu (base SNom) (generator convention) | |
| Modelica.Blocks.Interfaces.RealInput | QFilterPu | Reactive power generated at the converter's capacitor in pu (base SNom) (generator convention) | |
| 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.RealInput | PRefPu | Active power reference at the converter's capacitor in pu (base SNom) (generator convention) | |
| Modelica.Blocks.Interfaces.RealInput | QRefPu | Reactive power reference at the converter's capacitor in pu (base SNom) (generator convention) | |
| Modelica.Blocks.Interfaces.RealInput | omegaRefPu | Grid frequency in pu (base omegaNom) | |
| Modelica.Blocks.Interfaces.RealInput | UFilterRefPu | Voltage module reference at the converter's capacitor in pu (base UNom) | |
| Modelica.Blocks.Interfaces.RealInput | DeltaVVId | d-axis virtual impedance output in pu (base UNom) | |
| Modelica.Blocks.Interfaces.RealInput | DeltaVVIq | q-axis virtual impedance output in pu (base UNom) | |
| 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's capacitor in pu (base UNom) | |
| Modelica.Blocks.Interfaces.RealOutput | uqFilterRefPu | q-axis voltage reference at the converter's capacitor in pu (base UNom) |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Math.Feedback | feedback1 | ||
| Modelica.Blocks.Math.Gain | gain | ||
| Modelica.Blocks.Continuous.FirstOrder | firstOrder | ||
| Modelica.Blocks.Math.Add | add1 | ||
| Modelica.Blocks.Math.Feedback | feedback2 | ||
| Modelica.Blocks.Continuous.Integrator | integrator | ||
| Modelica.Blocks.Continuous.FirstOrder | firstOrder1 | ||
| Modelica.Blocks.Math.Gain | gain1 | ||
| Modelica.Blocks.Math.Gain | gain2 | ||
| Modelica.Blocks.Continuous.FirstOrder | firstOrder2 | ||
| Modelica.Blocks.Continuous.FirstOrder | firstOrder3 | ||
| Modelica.Blocks.Math.Feedback | feedback3 | ||
| Modelica.Blocks.Math.Gain | gain3 | ||
| Modelica.Blocks.Math.Add | add2 | ||
| Modelica.Blocks.Math.Feedback | feedback4 | ||
| Modelica.Blocks.Math.Feedback | feedback5 | ||
| Modelica.Blocks.Math.Feedback | feedback7 | ||
| Modelica.Blocks.Sources.Constant | omegaSetPu |