modelREECa
WECC Electrical Control type A
Extends from Dynawo.Electrical.Controls.WECC.REEC.BaseClasses.BaseREEC (WECC Electrical Control REEC common), Dynawo.Electrical.Controls.WECC.Parameters.REEC.ParamsREECa (REEC type A parameters).
Information
This block contains the electrical inverter control of the generic WECC Wind (or PV) model according to (in case page cannot be found, copy link in browser):
https://www.wecc.org/Reliability/WECC%20Wind%20Plant%20Dynamic%20Modeling%20Guidelines.pdf
Following control modes can be activated:
The block calculates the Id and Iq setpoint values for the generator control based on the selected control algorithm.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Types.ApparentPowerModule | SNom (from ParamsREEC) | Nominal apparent power in MVA | |
| Types.CurrentModulePu | Id0Pu (from ParamsREEC) | Start value of d-component current at injector terminal in pu (generator convention) (base SNom, UNom) | |
| Types.CurrentModulePu | Iq0Pu (from ParamsREEC) | Start value of q-component current at injector terminal in pu (generator convention) (base SNom, UNom) | |
| Types.PerUnit | PF0 (from ParamsREEC) | Start value of power factor | |
| Types.ActivePowerPu | PConv0Pu (from ParamsREEC) | Start value of active power at converter terminal in pu (generator convention) (base SNom) | |
| Types.ReactivePowerPu | QConv0Pu (from ParamsREEC) | Start value of reactive power at converter terminal in pu (generator convention) (base SNom) | |
| Types.VoltageModulePu | UInj0Pu (from ParamsREEC) | Start value of voltage magnitude at injector terminal in pu (base UNom) | |
| Types.ComplexPerUnit | s0Pu (from ParamsREEC) | Start value of complex apparent power at terminal in pu (base SnRef) (receptor convention) | |
| Types.ComplexVoltagePu | u0Pu (from ParamsREEC) | Start value of complex voltage at terminal in pu (base UNom) | |
| Types.VoltageModulePu | UConv0Pu (from ParamsREEC) | Start value of voltage module at converter terminal in pu (base UNom) | |
| Types.ComplexPerUnit | uConv0Pu (from ParamsREEC) | Start value of complex voltage at converter terminal in pu (base UNom) | |
| Types.AngularVelocityPu | omegaRefWTGQ0Pu (from ParamsREECa) | Start value of reference angular frequency of torque control in pu (base omegaNom) | |
| Electrical Control › REEC | |||
| Boolean | PfFlag (from ParamsREEC) | Power factor flag: Q control (0) or pf control(1) | |
| Boolean | PQFlag (from ParamsREEC) | Q/P priority: Q priority (0) or P priority (1) | |
| Boolean | QFlag (from ParamsREEC) | Q control flag: const. pf or Q ctrl (0) or voltage/Q (1) | |
| Boolean | VFlag (from ParamsREEC) | Voltage control flag: voltage control (0) or Q ctrl (1) | |
| Types.VoltageModulePu | Dbd1Pu (from ParamsREEC) | Overvoltage deadband for reactive current injection in pu (base UNom) (typical: -0.1..0) | |
| Types.VoltageModulePu | Dbd2Pu (from ParamsREEC) | Undervoltage deadband for reactive current injection in pu (base UNom) (typical: 0..0.1) | |
| Types.PerUnit | DPMaxPu (from ParamsREEC) | Active power upper rate limit in pu/s (base SNom) (typical: > 0.1, set to 99 to disable) | |
| Types.PerUnit | DPMinPu (from ParamsREEC) | Active power lower rate limit in pu/s (base SNom) (typical: < -0.1, set to -99 to disable) | |
| Types.CurrentModulePu | IMaxPu (from ParamsREEC) | Maximal apparent current magnitude in pu (base UNom, SNom) (typical: 1..2) | |
| Types.PerUnit | Iqh1Pu (from ParamsREEC) | Maximum reactive current injection (typical: 1..1.1) in pu (base UNom, SNom) | |
| Types.PerUnit | Iql1Pu (from ParamsREEC) | Minimum reactive current injection (typical: -1.1..-1) in pu (base UNom, SNom) | |
| Types.PerUnit | Kqi (from ParamsREEC) | Integrator gain local reactive power PI controller | |
| Types.PerUnit | Kqp (from ParamsREEC) | Proportional gain local reactive power PI controller | |
| Types.PerUnit | Kqv (from ParamsREEC) | K-Factor, reactive current injection gain (typical: 0..10) | |
| Types.PerUnit | Kvi (from ParamsREEC) | Integrator gain local voltage PI controller | |
| Types.PerUnit | Kvp (from ParamsREEC) | Proportional gain local voltage PI controller | |
| Types.ActivePowerPu | PMaxREECPu (from ParamsREEC) | Active power upper limit in REEC in pu (base SNom) (typical: 1) | |
| Types.ActivePowerPu | PMinREECPu (from ParamsREEC) | Active power lower limit in REEC in pu (base SNom) (typical: 0) | |
| Types.ReactivePowerPu | QMaxREECPu (from ParamsREEC) | Reactive power upper limit, when vFlag == 1 in REEC in pu (base SNom) | |
| Types.ReactivePowerPu | QMinREECPu (from ParamsREEC) | Reactive power lower limit, when vFlag == 1 in REEC in pu (base SNom) | |
| Types.Time | tIq (from ParamsREEC) | Filter time constant reactive current in s(typical: 0.01..0.02) | |
| Types.Time | tRv (from ParamsREEC) | Filter time constant terminal voltage in s(typical: 0.01..0.02) | |
| Types.Time | tpREEC (from ParamsREEC) | Active power filter time constant in REEC in s (typical: 0.1..0.2) | |
| Types.Time | tPord (from ParamsREEC) | Filter time constant inverter active power in s | |
| Types.VoltageModulePu | VDipPu (from ParamsREEC) | Low voltage condition trigger voltage for FRT in pu (base UNom) (typical: 0..0.9) | |
| Types.VoltageModulePu | VMaxPu (from ParamsREEC) | Maximum voltage at inverter terminal in pu (base UNom) (typical: 1.05..1.15) | |
| Types.VoltageModulePu | VMinPu (from ParamsREEC) | Minimum voltage at inverter terminal in pu (base UNom) (typical: 0.85..0.95) | |
| Types.VoltageModulePu | VRef0Pu (from ParamsREEC) | Reference voltage for reactive current injection in pu (base UNom) (typical: 0.95..1.05) | |
| Types.VoltageModulePu | VUpPu (from ParamsREEC) | High voltage condition trigger voltage for FRT in pu (base UNom) (typical: 1.1..1.3) | |
| Electrical Control › REECa | |||
| Types.PerUnit | VDLIp11 (from ParamsREECa) | ||
| Types.PerUnit | VDLIp12 (from ParamsREECa) | ||
| Types.PerUnit | VDLIp21 (from ParamsREECa) | ||
| Types.PerUnit | VDLIp22 (from ParamsREECa) | ||
| Types.PerUnit | VDLIp31 (from ParamsREECa) | ||
| Types.PerUnit | VDLIp32 (from ParamsREECa) | ||
| Types.PerUnit | VDLIp41 (from ParamsREECa) | ||
| Types.PerUnit | VDLIp42 (from ParamsREECa) | ||
| Types.PerUnit | VDLIq11 (from ParamsREECa) | ||
| Types.PerUnit | VDLIq12 (from ParamsREECa) | ||
| Types.PerUnit | VDLIq21 (from ParamsREECa) | ||
| Types.PerUnit | VDLIq22 (from ParamsREECa) | ||
| Types.PerUnit | VDLIq31 (from ParamsREECa) | ||
| Types.PerUnit | VDLIq32 (from ParamsREECa) | ||
| Types.PerUnit | VDLIq41 (from ParamsREECa) | ||
| Types.PerUnit | VDLIq42 (from ParamsREECa) | ||
| Types.PerUnit[:,:] | VDLIpPoints (from ParamsREECa) | [VDLIp11, VDLIp12; VDLIp21, VDLIp22; VDLIp31, VDLIp32; VDLIp41, VDLIp42] | Pair of points for voltage-dependent active current limitation piecewise linear curve [u1,y1; u2,y2;...] |
| Types.PerUnit[:,:] | VDLIqPoints (from ParamsREECa) | [VDLIq11, VDLIq12; VDLIq21, VDLIq22; VDLIq31, VDLIq32; VDLIq41, VDLIq42] | Pair of points for voltage-dependent reactive current limitation piecewise linear curve [u1,y1; u2,y2;...] |
| Types.Time | tHoldIpMax (from ParamsREECa) | Time delay for which the active current limit (ipMaxPu) is held after voltage dip in s | |
| Types.Time | tHoldIq (from ParamsREECa) | Absolute value of tHoldIq defines seconds to hold current injection after voltage dip ended. tHoldIq > 0 for constant, 0 for no injection after voltage dip, tHoldIq < 0 for voltage-dependent injection (typical: -1 .. 1 s) | |
| Types.PerUnit | IqFrzPu (from ParamsREECa) | Constant reactive current injection value in pu (base UNom, SNom) (typical: -0.1 .. 0.1 pu) | |
| Boolean | PFlag (from ParamsREECa) | Power reference flag: const. Pref (0) or consider generator speed (1) | |
| Types.VoltageModulePu | VRef1Pu (from ParamsREECa) | User-defined reference/bias on the inner-loop voltage control in pu (base UNom) (typical: 0 pu) | |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Interfaces.RealInput | PFaRef (from BaseREEC) | Power factor angle reference in rad | |
| Modelica.Blocks.Interfaces.RealInput | PConvPu (from BaseREEC) | Active power at converter terminal in pu (base SNom) (generator convention) | |
| Modelica.Blocks.Interfaces.RealInput | PConvRefPu (from BaseREEC) | Active power setpoint at converter terminal in pu (base SNom) (generator convention) | |
| Modelica.Blocks.Interfaces.RealInput | QConvPu (from BaseREEC) | Reactive power at converter terminal in pu (base SNom) (generator convention) | |
| Modelica.Blocks.Interfaces.RealInput | QConvRefPu (from BaseREEC) | Reactive power setpoint at converter terminal in pu (base SNom) (generator convention) | |
| Modelica.Blocks.Interfaces.RealInput | UPu (from BaseREEC) | Voltage magnitude at converter terminal in pu (base UNom) | |
| Modelica.Blocks.Interfaces.RealOutput | idCmdPu (from BaseREEC) | idCmdPu setpoint for generator control in pu (base SNom, UNom) | |
| Modelica.Blocks.Interfaces.RealOutput | iqCmdPu (from BaseREEC) | iqCmdPu setpoint for generator control in pu (base SNom, UNom) | |
| Modelica.Blocks.Interfaces.RealOutput | UFilteredPu (from BaseREEC) | Filtered voltage module at converter terminal in pu (base UNom) | |
| Modelica.Blocks.Interfaces.BooleanOutput | frtOn (from BaseREEC) | Boolean signal for iq ramp after fault: true if FRT detected, false otherwise | |
| Modelica.Blocks.Interfaces.RealInput | omegaGPu | Generator frequency from drive train control in pu (base omegaNom) | |
| Modelica.Blocks.Interfaces.RealOutput | ipMaxPu | p-axis maximum current in pu (base UNom, SNom) | |
| Modelica.Blocks.Interfaces.RealOutput | ipMinPu | p-axis minimum current in pu (base UNom, SNom) | |
| Modelica.Blocks.Interfaces.RealOutput | iqMaxPu | q-axis maximum current in pu (base UNom, SNom) | |
| Modelica.Blocks.Interfaces.RealOutput | iqMinPu | q-axis minimum current in pu (base UNom, SNom) | |
| Modelica.Blocks.Interfaces.RealOutput | POrdPu | Active power order in pu (base SNom) (generator convention) |