modelREECc
WECC Electrical Control type C
Extends from Dynawo.Electrical.Controls.WECC.REEC.BaseClasses.BaseREEC (WECC Electrical Control REEC common).
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| 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 powerfactor | |
| Types.ActivePowerPu | PInj0Pu (from ParamsREEC) | Start value of active power at injector terminal in pu (generator convention) (base SNom) | |
| Types.ReactivePowerPu | QInj0Pu (from ParamsREEC) | Start value of reactive power at injector 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.PerUnit | SOC0Pu | Initial state of charge in pu (base SNom) | |
| Electrical Control | |||
| 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 | PMaxPu (from ParamsREEC) | Active power upper limit in pu (base SNom) (typical: 1) | |
| Types.ActivePowerPu | PMinPu (from ParamsREEC) | Active power lower limit in pu (base SNom) (typical: 0) | |
| Types.ReactivePowerPu | QMaxPu (from ParamsREEC) | Reactive power upper limit, when vFlag == 1 in pu (base SNom) | |
| Types.ReactivePowerPu | QMinPu (from ParamsREEC) | Reactive power lower limit, when vFlag == 1 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 | tP (from ParamsREEC) | Filter time constant active power 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) | |
| Types.PerUnit | SOCMaxPu | Maximum allowable state of charge in pu (base SNom) (typical: 0.8..1) | |
| Types.PerUnit | SOCMinPu | Minimum allowable state of charge in pu (base SNom) (typical: 0..0.2) | |
| Types.Time | tBattery | Time it takes for the battery to discharge when putting out 1 pu power, in s (typically set to 9999 since most batteries are large as compared to the typical simulation time in a stability study) | |
| Types.PerUnit | VDLIp11 | ||
| Types.PerUnit | VDLIp12 | ||
| Types.PerUnit | VDLIp21 | ||
| Types.PerUnit | VDLIp22 | ||
| Types.PerUnit | VDLIp31 | ||
| Types.PerUnit | VDLIp32 | ||
| Types.PerUnit | VDLIp41 | ||
| Types.PerUnit | VDLIp42 | ||
| Types.PerUnit | VDLIq11 | ||
| Types.PerUnit | VDLIq12 | ||
| Types.PerUnit | VDLIq21 | ||
| Types.PerUnit | VDLIq22 | ||
| Types.PerUnit | VDLIq31 | ||
| Types.PerUnit | VDLIq32 | ||
| Types.PerUnit | VDLIq41 | ||
| Types.PerUnit | VDLIq42 | ||
| Types.PerUnit[:,:] | VDLIpPoints | [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 | [VDLIq11, VDLIq12; VDLIq21, VDLIq22; VDLIq31, VDLIq32; VDLIq41, VDLIq42] | Pair of points for voltage-dependent reactive current limitation piecewise linear curve [u1,y1; u2,y2;...] |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Interfaces.RealInput | PFaRef (from BaseREEC) | Power factor angle reference in rad | |
| Modelica.Blocks.Interfaces.RealInput | PInjPu (from BaseREEC) | Active power at injector terminal in pu (generator convention) (base SNom) | |
| Modelica.Blocks.Interfaces.RealInput | PInjRefPu (from BaseREEC) | Active power setpoint at injector terminal in pu (generator convention) (base SNom) | |
| Modelica.Blocks.Interfaces.RealInput | QInjPu (from BaseREEC) | Reactive power at injector terminal in pu (generator convention) (base SNom) | |
| Modelica.Blocks.Interfaces.RealInput | QInjRefPu (from BaseREEC) | Reactive power setpoint at injector terminal in pu (generator convention) (base SNom) | |
| Modelica.Blocks.Interfaces.RealInput | UPu (from BaseREEC) | Voltage magnitude at injector 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 injector 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 | PAuxPu | Auxiliary input in pu (base SNom) (generator convention) |