modelQRefQU
Function that calculates QRef for the Q mode and the U mode depending on the setpoints for URef and QRef
Extends from Dynawo.Electrical.HVDC.HvdcVsc.BaseControls.Parameters.ParamsQRefQU (Parameters of reactive power reference calculation).
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Types.PerUnit | KiAc (from ParamsQRefQU) | Integral coefficient of the PI controller for the AC voltage control | |
| Types.PerUnit | KpAc (from ParamsQRefQU) | Proportional coefficient of the PI controller for the AC voltage control | |
| Types.PerUnit | LambdaPu (from ParamsQRefQU) | Lambda coefficient for the QRefUPu calculation in pu (base SNom, UNom) | |
| Types.PerUnit | SlopeQRefPu (from ParamsQRefQU) | Slope of the ramp of QRefPu in pu/s (base SNom) | |
| Types.PerUnit | SlopeURefPu (from ParamsQRefQU) | Slope of the ramp of URefPu in pu/s (base UNom) | |
| Types.ReactivePowerPu | Q0Pu | Start value of reactive power in pu (base SNom) (DC to AC) | |
| Types.VoltageModulePu | U0Pu | Start value of voltage amplitude in pu (base UNom) |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Interfaces.BooleanInput | iqModNeg | If true, additional reactive current is negative | |
| Modelica.Blocks.Interfaces.RealInput | QPu | Reactive power in pu (base SNom) (DC to AC) | |
| Modelica.Blocks.Interfaces.RealInput | QRefLimPu | Limited reference reactive power in pu (base SNom) (DC to AC) after applying the diagrams | |
| Modelica.Blocks.Interfaces.RealInput | QRefPu | Reference reactive power in pu (base SNom) (DC to AC) | |
| Modelica.Blocks.Interfaces.RealInput | UPu | Voltage module in pu (base UNom) | |
| Modelica.Blocks.Interfaces.RealInput | URefPu | Reference voltage in pu (base UNom) | |
| Modelica.Blocks.Interfaces.RealOutput | QRefQPu | Reference reactive power in Q mode in pu (base SNom) (DC to AC) | |
| Modelica.Blocks.Interfaces.RealOutput | QRefUPu | Reference reactive power in U mode in pu (base SNom) (DC to AC) |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Math.Feedback | feedback | ||
| Modelica.Blocks.Math.Gain | gain | ||
| Modelica.Blocks.Math.Feedback | feedback1 | ||
| Modelica.Blocks.Nonlinear.SlewRateLimiter | slewRateLimiter | ||
| Modelica.Blocks.Nonlinear.SlewRateLimiter | slewRateLimiter1 | ||
| Modelica.Blocks.Math.Gain | gain1 | ||
| Modelica.Blocks.Math.Add | add1 | ||
| Modelica.Blocks.Math.Add | add | ||
| Modelica.Blocks.Continuous.Integrator | integrator | ||
| Modelica.Blocks.Math.Feedback | feedback2 | ||
| Modelica.Blocks.Logical.Switch | switch | ||
| Modelica.Blocks.Sources.Constant | const |