modelEpriVoltageControl
Voltage controller in EPRI Grid Forming model
Extends from Parameters.VoltageControl (Voltage control parameters), Parameters.OmegaFlag (OmegaFlag parameter).
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| VoltageControl | |||
| Types.PerUnit | IMaxPu (from VoltageControl) | Max current in pu (base UNom, SNom), example value = 1.05 | |
| Types.PerUnit | KIp (from VoltageControl) | Integral gain of the power loop, example value = 10 | |
| Types.PerUnit | KIv (from VoltageControl) | Integral gain of the voltage loop, example value = 150 if OmegaFlag=0 else 10 | |
| Types.PerUnit | KPp (from VoltageControl) | Proportional gain of the power loop, example value = 2 | |
| Types.PerUnit | KPv (from VoltageControl) | Proportional gain of the voltage loop, example value = 0.5 if OmegaFlag=0 else 2.0 | |
| Types.PerUnit | OmegaDroopPu (from VoltageControl) | Frequency droop in pu, example value = 0.05 | |
| Boolean | PQFlag (from VoltageControl) | Active or active power priority flag: false = P priority, true = Q priority | |
| Types.PerUnit | QDroopPu (from VoltageControl) | Voltage droop in pu, example value = 0.2 | |
| Types.PerUnit | UDipPu (from VoltageControl) | Freeze voltage in pu (base UNom), example value = 0.85 | |
| General | |||
| Integer | OmegaFlag (from OmegaFlag) | GFM control type; 0=GFL, 1=droop, 2=VSM, 3=dVOC | |
| 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.ActivePowerPu | PGen0Pu | Start value of the active power at the converter's terminal in pu (base SNom) (generator convention) | |
| Types.ReactivePowerPu | QGen0Pu | Start value of the reactive power at the converter's terminal in pu (base SNom) (generator convention) | |
| 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) | |
| 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 | deltaOmegaPu | frequency deviation in pu (base omegaNom) | |
| Modelica.Blocks.Interfaces.RealInput | PAuxPu | Auxiliary active power in pu (base SNom) (generator convention) | |
| Modelica.Blocks.Interfaces.RealInput | PPu | active power at converter's terminal in pu (base SNom) (generator convention) | |
| Modelica.Blocks.Interfaces.RealInput | PRefPu | Active power reference in pu (base SNom) | |
| Modelica.Blocks.Interfaces.RealInput | QAuxPu | Auxiliary reactive power (optional input) in pu (base SNom) (generator convention) | |
| Modelica.Blocks.Interfaces.RealInput | QPu | Reactive power at converter's terminal in pu (base SNom) (generator convention) | |
| Modelica.Blocks.Interfaces.RealInput | QRefPu | Reactive power reference in pu (base SNom) (generator convention) | |
| Modelica.Blocks.Interfaces.RealInput | UdFilterPu | Measured d-axis voltage at the converter's terminal in pu (base UNom) | |
| Modelica.Blocks.Interfaces.RealInput | UdFilterRefPu | D-axis voltage reference 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 | 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) | |
| Modelica.Blocks.Interfaces.BooleanOutput | Frz | ||
| Modelica.Blocks.Interfaces.RealOutput | uMagPu |