modelBaseWT4

Partial base model for the WECC Wind Turbine models including the electrical control, the generator control, the injector, the measurements and the equivalent branch connection to the grid

Extends from Dynawo.Electrical.Controls.PLL.ParamsPLL, Dynawo.Electrical.Controls.WECC.Parameters.ParamsREEC, Dynawo.Electrical.Controls.WECC.Parameters.ParamsREGC.

Information


Parameters

TypeNameDefaultDescription
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 powerfactor
Types.ActivePowerPuPInj0Pu (from ParamsREEC)Start value of active power at injector terminal in pu (generator convention) (base SNom)
Types.ReactivePowerPuQInj0Pu (from ParamsREEC)Start value of reactive power at injector terminal in pu (generator convention) (base SNom)
Types.VoltageModulePuUInj0Pu (from ParamsREEC)Start value of voltage magnitude at injector terminal in pu (base UNom)
Types.ApparentPowerModuleSNomNominal apparent power in MVA
Types.PerUnitRPuResistance of equivalent branch connection to the grid in pu (base SnRef, UNom)
Types.PerUnitXPuReactance of equivalent branch connection to the grid in pu (base SnRef, UNom)
Types.ComplexPerUniti0PuStart value of complex current at terminal in pu (base UNom, SnRef) (receptor convention)
Types.ComplexPerUnits0PuStart value of complex apparent power at terminal in pu (base SnRef) (receptor convention)
Types.ComplexPerUnitu0PuStart value of complex voltage at terminal in pu (base UNom)
Types.ComplexPerUnituInj0PuStart value of complex voltage at injector in pu (base UNom)
Types.AngleUPhaseInj0Start value of voltage angle at injector
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
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.ActivePowerPuPMaxPu (from ParamsREEC)Active power upper limit in pu (base SNom) (typical: 1)
Types.ActivePowerPuPMinPu (from ParamsREEC)Active power lower limit in pu (base SNom) (typical: 0)
Types.ReactivePowerPuQMaxPu (from ParamsREEC)Reactive power upper limit, when vFlag == 1 in pu (base SNom)
Types.ReactivePowerPuQMinPu (from ParamsREEC)Reactive power lower limit, when vFlag == 1 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.TimetP (from ParamsREEC)Filter time constant active power 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)
Types.PerUnitVDLIp11
Types.PerUnitVDLIp12
Types.PerUnitVDLIp21
Types.PerUnitVDLIp22
Types.PerUnitVDLIp31
Types.PerUnitVDLIp32
Types.PerUnitVDLIp41
Types.PerUnitVDLIp42
Types.PerUnitVDLIq11
Types.PerUnitVDLIq12
Types.PerUnitVDLIq21
Types.PerUnitVDLIq22
Types.PerUnitVDLIq31
Types.PerUnitVDLIq32
Types.PerUnitVDLIq41
Types.PerUnitVDLIq42
Types.TimetHoldIpMaxTime delay for which the active current limit (ipMaxPu) is held after voltage dip vDip returns to zero for tHoldIpMax seconds at its value during the voltage dip
RealtHoldIqAbsolute 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.PerUnitIqFrzPuConstant reactive current injection value (typical: -0.1 .. 0.1 pu)
BooleanPFlagPower reference flag: const. Pref (0) or consider generator speed (1)
Types.VoltageModulePuVRef1PuUser-defined reference/bias on the inner-loop voltage control (typical: 0 pu)
Generator Converter
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)
BooleanRateFlag (from ParamsREGC)Active current (=false) or active power (=true) ramp (if unkown set to false)
Types.PerUnitRrpwrPu (from ParamsREGC)Active current (power) 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)
Types.TimetG (from ParamsREGC)Emulated delay in converter controls in s(Cannot be zero, typical: 0.02..0.05)

Connectors

TypeNameDefaultDescription
Modelica.Blocks.Interfaces.RealInputPFaRefPower factor angle reference in rad
Dynawo.Connectors.ACPowerterminal

Components

TypeNameDefaultDescription
Dynawo.Electrical.Lines.Lineline
Dynawo.Electrical.Controls.WECC.REEC.REECawecc_reec
Dynawo.Electrical.Controls.WECC.REGC.REGCbCSwecc_regc
Dynawo.Electrical.Sources.InjectorIDQinjector
Dynawo.Electrical.Controls.WECC.Utilities.Measurementsmeasurements
Dynawo.Electrical.Controls.PLL.PLLpll
Modelica.Blocks.Sources.ConstantOmegaRef