modelQControl2015

Reactive power control module for wind turbines (IEC N°61400-27-1:2020)

Extends from Dynawo.Electrical.Controls.IEC.IEC61400.BaseClasses.BaseQControl (Reactive power control base module for wind turbines (IEC N°61400-27-1)).

Parameters

TypeNameDefaultDescription
Types.ApparentPowerModuleSNom (from BaseQControl)Nominal converter apparent power in MVA
Types.TimetS (from BaseQControl)Integration time step in s
QControl
Types.PerUnitIqH1Pu (from BaseQControl)Maximum reactive current injection during dip in pu (base UNom, SNom) (generator convention)
Types.PerUnitIqMaxPu (from BaseQControl)Maximum reactive current injection in pu (base UNom, SNom) (generator convention)
Types.PerUnitIqMinPu (from BaseQControl)Minimum reactive current injection in pu (base UNom, SNom) (generator convention)
Types.PerUnitIqPostPu (from BaseQControl)Post-fault reactive current injection in pu (base UNom, SNom) (generator convention)
Types.PerUnitKiq (from BaseQControl)Reactive power PI controller integration gain in pu/s (base UNom, SNom)
Types.PerUnitKiu (from BaseQControl)Voltage PI controller integration gain in pu/s (base UNom, SNom)
Types.PerUnitKpq (from BaseQControl)Reactive power PI controller proportional gain in pu (base UNom, SNom)
Types.PerUnitKpu (from BaseQControl)Voltage PI controller proportional gain in pu (base UNom, SNom)
Types.PerUnitKqv (from BaseQControl)Voltage scaling factor for FRT current in pu (base UNom, SNom)
IntegerMqG (from BaseQControl)General Q control mode (0-4) : Voltage control (0), Reactive power control (1), Open loop reactive power control (2), Power factor control (3), Open loop power factor control (4)
Types.PerUnitRDropPu (from BaseQControl)Resistive component of voltage drop impedance in pu (base UNom, SNom)
Types.TimetPost (from BaseQControl)Length of time period where post-fault reactive power is injected, in s
Types.TimetQord (from BaseQControl)Reactive power order lag time constant in s
Types.VoltageModulePuUMaxPu (from BaseQControl)Maximum voltage in voltage PI controller integral term in pu (base UNom)
Types.VoltageModulePuUMinPu (from BaseQControl)Minimum voltage in voltage PI controller integral term in pu (base UNom)
Types.VoltageModulePuUqDipPu (from BaseQControl)Voltage threshold for UVRT detection in Q control in pu (base UNom)
Types.VoltageModulePuURef0Pu (from BaseQControl)User-defined bias in voltage reference in pu (base UNom)
Types.PerUnitXDropPu (from BaseQControl)Inductive component of voltage drop impedance in pu (base UNom, SNom)
IntegerMqUvrtUVRT Q control modes (0-2) (see Table 23, section 5.6.5.7, page 51 of the IEC norm N°61400-27-1:2015)
Types.TimetPFiltQActive power filter time constant in s
Types.TimetUFiltQVoltage filter time constant in s
Types.VoltageModulePuUdb1PuVoltage dead band lower limit in pu (base UNom)
Types.VoltageModulePuUdb2PuVoltage dead band upper limit in pu (base UNom)
Operating point
Types.ActivePowerPuP0Pu (from BaseQControl)Initial active power at grid terminal in pu (base SnRef) (receptor convention)
Types.ReactivePowerPuQ0Pu (from BaseQControl)Initial reactive power at grid terminal in pu (base SnRef) (receptor convention)
Types.VoltageModulePuU0Pu (from BaseQControl)Initial voltage amplitude at grid terminal in pu (base UNom)
Types.PerUnitXWT0Pu (from BaseQControl)Initial reactive power or voltage reference at grid terminal in pu (base SNom or UNom) (generator convention)
Initialization
Types.ReactivePowerPuQMax0Pu (from BaseQControl)Initial maximum reactive power at grid terminal in pu (base SNom) (generator convention)
Types.ReactivePowerPuQMin0Pu (from BaseQControl)Initial minimum reactive power at grid terminal in pu (base SNom) (generator convention)

Connectors

TypeNameDefaultDescription
Modelica.Blocks.Interfaces.RealInputQWTMaxPu (from BaseQControl)Maximum reactive power at grid terminal in pu (base SNom) (generator convention)
Modelica.Blocks.Interfaces.RealInputQWTMinPu (from BaseQControl)Minimum reactive power at grid terminal in pu (base SNom) (generator convention)
Modelica.Blocks.Interfaces.RealInputtanPhi (from BaseQControl)Tangent phi (can be figured as QPu / PPu)
Modelica.Blocks.Interfaces.RealInputxWTRefPu (from BaseQControl)Reactive power loop reference : reactive power or voltage reference depending on the Q control mode (MqG), in pu (base SNom or UNom) (generator convention)
Modelica.Blocks.Interfaces.RealOutputiqCmdPu (from BaseQControl)Reactive current command at converter terminal in pu (base UNom, SNom) (generator convention)
Modelica.Blocks.Interfaces.RealInputPWTPuActive power at grid terminal in pu (base SNom) (generator convention)
Modelica.Blocks.Interfaces.RealInputQWTPuReactive power at grid terminal in pu (base SNom) (generator convention)
Modelica.Blocks.Interfaces.RealInputUWTPuVoltage amplitude at grid terminal in pu (base UNom)
Modelica.Blocks.Interfaces.IntegerOutputfUvrtFault status (0: Normal operation, 1: During fault, 2: Post-fault)

Components

TypeNameDefaultDescription
Modelica.Blocks.Sources.IntegerConstantintegerConstant1 (from BaseQControl)
Dynawo.NonElectrical.Blocks.NonLinear.MultiSwitchswitch2 (from BaseQControl)
Dynawo.NonElectrical.Blocks.NonLinear.MultiSwitchswitch4 (from BaseQControl)
Dynawo.NonElectrical.Blocks.NonLinear.VariableLimitervariableLimiter (from BaseQControl)
Modelica.Blocks.Math.Feedbackfeedback (from BaseQControl)
Modelica.Blocks.Math.Gaingain (from BaseQControl)
Modelica.Blocks.Math.Addadd (from BaseQControl)
Modelica.Blocks.Nonlinear.Limiterlimiter (from BaseQControl)
Modelica.Blocks.Math.Feedbackfeedback1 (from BaseQControl)
Modelica.Blocks.Math.Addadd1 (from BaseQControl)
Modelica.Blocks.Math.Gaingain1 (from BaseQControl)
Dynawo.Electrical.Controls.IEC.IEC61400.BaseClasses.VDropvDrop (from BaseQControl)
Modelica.Blocks.Math.Divisiondivision2 (from BaseQControl)
Dynawo.NonElectrical.Blocks.NonLinear.DelayFlagdelayFlag (from BaseQControl)
Dynawo.NonElectrical.Blocks.NonLinear.MultiSwitchswitch7 (from BaseQControl)
Modelica.Blocks.Nonlinear.Limiterlimiter2 (from BaseQControl)
Modelica.Blocks.Nonlinear.Limiterlimiter3 (from BaseQControl)
Modelica.Blocks.Math.Addadd4 (from BaseQControl)
Modelica.Blocks.Sources.Constantconst8 (from BaseQControl)
Modelica.Blocks.Math.Addadd3 (from BaseQControl)
Modelica.Blocks.Math.Gaingain7 (from BaseQControl)
Modelica.Blocks.Nonlinear.DeadZonedeadZone (from BaseQControl)
Modelica.Blocks.Logical.GreaterEqualThresholdgreaterEqualThreshold (from BaseQControl)
Modelica.Blocks.Math.IntegerToRealintegerToReal (from BaseQControl)
Modelica.Blocks.Math.Productproduct (from BaseQControl)
Dynawo.NonElectrical.Blocks.Continuous.AntiWindupIntegratorantiWindupIntegrator (from BaseQControl)
Dynawo.NonElectrical.Blocks.Continuous.AntiWindupIntegratorantiWindupIntegrator1 (from BaseQControl)
Modelica.Blocks.Sources.Constantconst5 (from BaseQControl)
Modelica.Blocks.Math.Maxmax (from BaseQControl)
Dynawo.NonElectrical.Blocks.Continuous.AbsLimRateLimFirstOrderFreezeabsLimRateLimFirstOrderFreeze (from BaseQControl)
Modelica.Blocks.Sources.Constantconst (from BaseQControl)
Modelica.Blocks.Math.Addadd2 (from BaseQControl)
Modelica.Blocks.Sources.IntegerConstantintegerConstant (from BaseQControl)
Modelica.Blocks.Sources.Constantconst1 (from BaseQControl)
Dynawo.NonElectrical.Blocks.Continuous.AbsLimRateLimFeedthroughFreezeabsLimRateLimFeedthroughFreeze (from BaseQControl)
Modelica.Blocks.Math.Gaingain3 (from BaseQControl)
Modelica.Blocks.Math.Gaingain4 (from BaseQControl)
Modelica.Blocks.Math.Gaingain5 (from BaseQControl)
Modelica.Blocks.Math.Gaingain6 (from BaseQControl)
Modelica.Blocks.Math.Absabs (from BaseQControl)
Modelica.Blocks.Logical.LessThresholdlessThreshold (from BaseQControl)
Dynawo.NonElectrical.Blocks.NonLinear.MultiSwitchswitch (from BaseQControl)
Modelica.Blocks.Continuous.FirstOrderfirstOrder
Modelica.Blocks.Continuous.FirstOrderfirstOrder1
Modelica.Blocks.Sources.IntegerConstantintegerConstant2
Dynawo.NonElectrical.Blocks.NonLinear.MultiSwitchmultiSwitch2
Dynawo.NonElectrical.Blocks.NonLinear.MultiSwitchmultiSwitch1