modelQControl2020

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)
Types.VoltageModulePuDUdb1PuVoltage change dead band lower limit (typically negative) in pu (base UNom)
Types.VoltageModulePuDUdb2PuVoltage change dead band upper limit (typically positive) in pu (base UNom)
Types.PerUnitKpufrtVoltage PI controller proportional gain during FRT in pu (base UNom, SNom)
IntegerMqfrtFRT Q control modes (0-3) (see Table 29, section 7.7.5, page 60 of the IEC norm N°61400-27-1:2020)
Types.TimetUssSteady-state voltage filter time constant in s
Types.VoltageModulePuUqRisePuVoltage threshold for OVRT detection in Q control 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.RealInputidfHookPuUser-defined fault current injection in pu (base UNom, SNom) (generator convention)
Modelica.Blocks.Interfaces.RealInputipfHookPuUser-defined post-fault current injection in pu (base UNom, SNom) (generator convention)
Modelica.Blocks.Interfaces.RealInputPWTCFiltPuFiltered active power at grid terminal in pu (base SNom) (generator convention)
Modelica.Blocks.Interfaces.RealInputQWTCFiltPuFiltered reactive power at grid terminal in pu (base SNom) (generator convention)
Modelica.Blocks.Interfaces.RealInputUWTCFiltPuFiltered voltage amplitude at grid terminal in pu (base UNom)
Modelica.Blocks.Interfaces.IntegerOutputfFrtFault status (0: Normal operation, 1: During fault, 2: Post-fault)
Modelica.Blocks.Interfaces.RealOutputiqBaseHookPuReactive current commmand in normal operation at converter terminal in pu (base UNom, SNom) (generator convention)
Modelica.Blocks.Interfaces.RealOutputiqvHookPuOutput of the fault current injection function in pu (base UNom, SNom) (generator convention)

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.Math.BooleanToIntegerbooleanToInteger
Modelica.Blocks.Continuous.Derivativederivative
Modelica.Blocks.Math.Divisiondivision1
Modelica.Blocks.Math.Divisiondivision
Modelica.Blocks.Math.Gaingain2
Modelica.Blocks.Logical.GreaterThresholdgreaterThreshold
Modelica.Blocks.Sources.IntegerConstantintegerConstant2
Modelica.Blocks.Logical.Switchswitch1
Dynawo.NonElectrical.Blocks.NonLinear.SwitchIntegerswitch5
Dynawo.NonElectrical.Blocks.NonLinear.MultiSwitchswitch6
Dynawo.NonElectrical.Blocks.NonLinear.MultiSwitchswitch8
Dynawo.NonElectrical.Blocks.NonLinear.VariableLimitervariableLimiter1