modelWT4ACurrentSource

WECC Wind Turbine model with a simplified drive train model (dual-mass model), without the plant controller and with a current source as interface with the grid

Extends from Dynawo.Electrical.Controls.WECC.Parameters.ParamsLvTfo, Dynawo.Electrical.Wind.WECC.BaseClasses.BaseWT4A (Partial base model for WECC Wind Turbine 4A).

Information

This block contains the generic WECC WT model according to (in case page cannot be found, copy link in browser):
https://www.wecc.org/Reliability/WECC-Second-Generation-Wind-Turbine-Models-012314.pdf

The overall model is structured as follows:

  • Main model: WECC_Wind with terminal connection and measurement inputs for P/Q/U/I.
  • Electrical inverter control.
  • Simplified drive train model, dual-mass model.
  • Generator control.
  • Injector (id,iq).
Notice that in this model and contrary to the norm model, the plant controller is not included.

Parameters

TypeNameDefaultDescription
Types.PerUnitRPu (from ParamsLvTfo)if ConverterLVControl then 1e-5 else RLvTrPuSerial resistance between injector output and LvTfo in pu (base UNom, SNom). Including source resistance for voltage source.
Types.PerUnitXPu (from ParamsLvTfo)if ConverterLVControl then 1e-5 else XLvTrPuSerial reactance between injector output and LvTfo in pu (base UNom, SNom). Including source resistance for voltage source.
Types.ApparentPowerModuleSNom (from ParamsREEC)Nominal apparent power in MVA
Types.CurrentModulePuId0Pu (from ParamsREEC)Start value of d-component current at injector terminal in pu (generator convention) (base SNom, UNom)
Types.CurrentModulePuIq0Pu (from ParamsREEC)Start value of q-component current at injector terminal in pu (generator convention) (base SNom, UNom)
Types.PerUnitPF0 (from ParamsREEC)Start value of power factor
Types.ActivePowerPuPConv0Pu (from ParamsREEC)Start value of active power at converter terminal in pu (generator convention) (base SNom)
Types.ReactivePowerPuQConv0Pu (from ParamsREEC)Start value of reactive power at converter terminal in pu (generator convention) (base SNom)
Types.VoltageModulePuUInj0Pu (from ParamsREEC)Start value of voltage magnitude at injector terminal in pu (base UNom)
Types.ComplexPerUnits0Pu (from ParamsREEC)Start value of complex apparent power at terminal in pu (base SnRef) (receptor convention)
Types.ComplexVoltagePuu0Pu (from ParamsREEC)Start value of complex voltage at terminal in pu (base UNom)
Types.VoltageModulePuUConv0Pu (from ParamsREEC)Start value of voltage module at converter terminal in pu (base UNom)
Types.ComplexPerUnituConv0Pu (from ParamsREEC)Start value of complex voltage at converter terminal in pu (base UNom)
Types.ComplexCurrentPui0Pu (from BaseWT4)Start value of complex current at terminal in pu (base UNom, SnRef) (receptor convention)
Types.ComplexPerUnitiConv0Pu (from BaseWT4)Start value of complex current at converter terminal in pu (base UNom, SNom) (generator convention)
Types.ActivePowerPuPInj0Pu (from BaseWT4)Start value of active power at injector terminal in pu (generator convention) (base SNom)
Types.ReactivePowerPuQInj0Pu (from BaseWT4)Start value of reactive power at injector terminal in pu (generator convention) (base SNom)
Types.ComplexPerUnituInj0Pu (from BaseWT4)Start value of complex voltage at injector in pu (base UNom)
Types.AngleUPhase0 (from BaseWT4)Start value of voltage phase angle at regulated bus in rad
Types.AngleUPhaseConv0 (from BaseWT4)Value of voltage phase angle at converter terminal in rad
LV transformer
Types.PerUnitRLvTrPu (from ParamsLvTfo)Serial resistance of LV transformer in pu (base UNom, SNom). Including source resistance for voltage source.
Types.PerUnitXLvTrPu (from ParamsLvTfo)Serial reactance of LV transformer in pu (base UNom, SNom). Including source reactance for voltage source.
BooleanConverterLVControl (from ParamsLvTfo)If true, the converter is controlling at its output (LV side of its transformer), if false, after its transformer (MV side)
Drive train control
Types.TimeHt (from ParamsWTGT)Turbine Inertia in s (typical: 5 s)
Types.TimeHg (from ParamsWTGT)Generator Inertia in s (typical: 1 s)
Types.PerUnitDshaft (from ParamsWTGT)Damping coefficient in pu (typical: 1.5 pu, base SNom, omegaNom)
Types.PerUnitKshaft (from ParamsWTGT)Spring constant in pu (typical: 200 pu, base SNom, omegaNom)
Types.TimetpWTGTb (from ParamsWTGTb)Lag time constant in WTGTb in s
Initialization
Types.AngularVelocityPuomegaRefWTGQ0Pu (from ParamsWTGT)Start value of reference angular frequency of torque control in pu (base omegaNom)
PLL
Types.PerUnitKiPLL (from ParamsPLL)PLL integrator gain
Types.PerUnitKpPLL (from ParamsPLL)PLL proportional gain
Types.AngularVelocityPuOmegaMaxPu (from ParamsPLL)Upper frequency limit in pu (base omegaNom)
Types.AngularVelocityPuOmegaMinPu (from ParamsPLL)Lower frequency limit in pu (base omegaNom)
Electrical Control › REEC
BooleanPfFlag (from ParamsREEC)Power factor flag: Q control (0) or pf control(1)
BooleanPQFlag (from ParamsREEC)Q/P priority: Q priority (0) or P priority (1)
BooleanQFlag (from ParamsREEC)Q control flag: const. pf or Q ctrl (0) or voltage/Q (1)
BooleanVFlag (from ParamsREEC)Voltage control flag: voltage control (0) or Q ctrl (1)
Types.VoltageModulePuDbd1Pu (from ParamsREEC)Overvoltage deadband for reactive current injection in pu (base UNom) (typical: -0.1..0)
Types.VoltageModulePuDbd2Pu (from ParamsREEC)Undervoltage deadband for reactive current injection in pu (base UNom) (typical: 0..0.1)
Types.PerUnitDPMaxPu (from ParamsREEC)Active power upper rate limit in pu/s (base SNom) (typical: > 0.1, set to 99 to disable)
Types.PerUnitDPMinPu (from ParamsREEC)Active power lower rate limit in pu/s (base SNom) (typical: < -0.1, set to -99 to disable)
Types.CurrentModulePuIMaxPu (from ParamsREEC)Maximal apparent current magnitude in pu (base UNom, SNom) (typical: 1..2)
Types.PerUnitIqh1Pu (from ParamsREEC)Maximum reactive current injection (typical: 1..1.1) in pu (base UNom, SNom)
Types.PerUnitIql1Pu (from ParamsREEC)Minimum reactive current injection (typical: -1.1..-1) in pu (base UNom, SNom)
Types.PerUnitKqi (from ParamsREEC)Integrator gain local reactive power PI controller
Types.PerUnitKqp (from ParamsREEC)Proportional gain local reactive power PI controller
Types.PerUnitKqv (from ParamsREEC)K-Factor, reactive current injection gain (typical: 0..10)
Types.PerUnitKvi (from ParamsREEC)Integrator gain local voltage PI controller
Types.PerUnitKvp (from ParamsREEC)Proportional gain local voltage PI controller
Types.ActivePowerPuPMaxREECPu (from ParamsREEC)Active power upper limit in REEC in pu (base SNom) (typical: 1)
Types.ActivePowerPuPMinREECPu (from ParamsREEC)Active power lower limit in REEC in pu (base SNom) (typical: 0)
Types.ReactivePowerPuQMaxREECPu (from ParamsREEC)Reactive power upper limit, when vFlag == 1 in REEC in pu (base SNom)
Types.ReactivePowerPuQMinREECPu (from ParamsREEC)Reactive power lower limit, when vFlag == 1 in REEC in pu (base SNom)
Types.TimetIq (from ParamsREEC)Filter time constant reactive current in s(typical: 0.01..0.02)
Types.TimetRv (from ParamsREEC)Filter time constant terminal voltage in s(typical: 0.01..0.02)
Types.TimetpREEC (from ParamsREEC)Active power filter time constant in REEC in s (typical: 0.1..0.2)
Types.TimetPord (from ParamsREEC)Filter time constant inverter active power in s
Types.VoltageModulePuVDipPu (from ParamsREEC)Low voltage condition trigger voltage for FRT in pu (base UNom) (typical: 0..0.9)
Types.VoltageModulePuVMaxPu (from ParamsREEC)Maximum voltage at inverter terminal in pu (base UNom) (typical: 1.05..1.15)
Types.VoltageModulePuVMinPu (from ParamsREEC)Minimum voltage at inverter terminal in pu (base UNom) (typical: 0.85..0.95)
Types.VoltageModulePuVRef0Pu (from ParamsREEC)Reference voltage for reactive current injection in pu (base UNom) (typical: 0.95..1.05)
Types.VoltageModulePuVUpPu (from ParamsREEC)High voltage condition trigger voltage for FRT in pu (base UNom) (typical: 1.1..1.3)
Electrical Control › REECa
Types.PerUnitVDLIp11 (from ParamsREECa)
Types.PerUnitVDLIp12 (from ParamsREECa)
Types.PerUnitVDLIp21 (from ParamsREECa)
Types.PerUnitVDLIp22 (from ParamsREECa)
Types.PerUnitVDLIp31 (from ParamsREECa)
Types.PerUnitVDLIp32 (from ParamsREECa)
Types.PerUnitVDLIp41 (from ParamsREECa)
Types.PerUnitVDLIp42 (from ParamsREECa)
Types.PerUnitVDLIq11 (from ParamsREECa)
Types.PerUnitVDLIq12 (from ParamsREECa)
Types.PerUnitVDLIq21 (from ParamsREECa)
Types.PerUnitVDLIq22 (from ParamsREECa)
Types.PerUnitVDLIq31 (from ParamsREECa)
Types.PerUnitVDLIq32 (from ParamsREECa)
Types.PerUnitVDLIq41 (from ParamsREECa)
Types.PerUnitVDLIq42 (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.TimetHoldIpMax (from ParamsREECa)Time delay for which the active current limit (ipMaxPu) is held after voltage dip in s
Types.TimetHoldIq (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.PerUnitIqFrzPu (from ParamsREECa)Constant reactive current injection value in pu (base UNom, SNom) (typical: -0.1 .. 0.1 pu)
BooleanPFlag (from ParamsREECa)Power reference flag: const. Pref (0) or consider generator speed (1)
Types.VoltageModulePuVRef1Pu (from ParamsREECa)User-defined reference/bias on the inner-loop voltage control in pu (base UNom) (typical: 0 pu)
Generator Converter › REGC
Types.PerUnitIqrMaxPu (from ParamsREGC)Maximum rate-of-change of reactive current after fault in pu (base UNom, SNom) (typical: 1..999)
Types.PerUnitIqrMinPu (from ParamsREGC)Minimum rate-of-change of reactive current after fault in pu (base UNom, SNom) (typical: -999..-1)
Types.PerUnitRrpwrPu (from ParamsREGC)Active current (or power if RateFlag = true) recovery rate in pu/s (base UNom, SNom) (typical: 1..20)
Types.TimetFilterGC (from ParamsREGC)Filter time constant of terminal voltage in s(Cannot be set to zero, typical: 0.02..0.05)
Generator Converter › REGCa
Types.TimetG (from ParamsREGCa)Emulated delay in converter controls in s(Cannot be zero, typical: 0.02..0.05)
Types.PerUnitbrkpt (from ParamsREGCa)LVPL breakpoint in pu (base UNom)
Types.PerUnitlvpl1 (from ParamsREGCa)LVPL gain breakpoint in pu
BooleanLvplsw (from ParamsREGCa)Low voltage power logic switch: 1-enabled/0-disabled
Types.PerUnitzerox (from ParamsREGCa)LVPL zero crossing in pu (base UNom)

Connectors

TypeNameDefaultDescription
Modelica.Blocks.Interfaces.RealInputPFaRef (from BaseWT4)Power factor angle reference in rad
Modelica.Blocks.Interfaces.RealInputomegaRefPu (from BaseWT4)Frequency reference in pu (base omegaNom)
Dynawo.Connectors.ACPowerterminal
Modelica.Blocks.Interfaces.RealInputPConvRefPuActive power setpoint at injector terminal in pu (generator convention) (base SNom)
Modelica.Blocks.Interfaces.RealInputQConvRefPuReactive power setpoint at injector terminal in pu (generator convention) (base SNom)
Modelica.Blocks.Interfaces.RealOutputUConvPuVoltage amplitude at converter terminal in pu (base UNom)

Components

TypeNameDefaultDescription
Dynawo.Electrical.Controls.WECC.REEC.REECawecc_reec (from BaseWT4)
Dynawo.Electrical.Controls.WECC.REGC.REGCawecc_regc (from BaseWT4)
Dynawo.Electrical.Sources.InjectorIDQinjector (from BaseWT4)
Dynawo.Electrical.Controls.PLL.PLLpll (from BaseWT4)
Dynawo.Electrical.Sources.IEC.BaseConverters.ElecSystemLvTfo (from BaseWT4)
Dynawo.Electrical.Controls.WECC.Utilities.MeasurementsLvMeasurements (from BaseWT4)
Dynawo.Electrical.Controls.WECC.Mechanical.WTGTbwecc_wtgt (from BaseWT4A)