modelWTGQa

WECC Torque Controller Type A

Extends from Dynawo.Electrical.Controls.WECC.Parameters.Mechanical.ParamsWTGQa.

Information

This block contains the Torque controller model TypeA for a WindTurbineGenerator Type 3 according to
https://www.wecc.org/Reliability/WECC-Second-Generation-Wind-Turbine-Models-012314.pdf

 It is a simplified generic model. The model is relatively simple. It takes in the speed of the generator (ωg), the electrical power developed by the generator (Pe), and the power reference coming from the power plant controller (Prefo), and thus determines the electrical-torque needed. 

 The flag, Tflag, allows the user to determine whether the torque is changed based on the speed reference and change in generator speed, or the power reference.

Parameters

TypeNameDefaultDescription
Torque control
Types.FrequencyKip (from ParamsWTGQa)Integral gain
Types.PerUnitKpp (from ParamsWTGQa)Proportional gain
Types.PerUnitP1 (from ParamsWTGQa)1st power point for extrapolation table
Types.PerUnitSpd1 (from ParamsWTGQa)1st speed point for extrapolation table
Types.PerUnitP2 (from ParamsWTGQa)2nd power point for extrapolation table
Types.PerUnitSpd2 (from ParamsWTGQa)2nd speed point for extrapolation table
Types.PerUnitP3 (from ParamsWTGQa)3rd power point for extrapolation table
Types.PerUnitSpd3 (from ParamsWTGQa)3rd speed point for extrapolation table
Types.PerUnitP4 (from ParamsWTGQa)4th power point for extrapolation table
Types.PerUnitSpd4 (from ParamsWTGQa)4th speed point for extrapolation table
Types.PerUnitTeMaxPu (from ParamsWTGQa)Maximum torque
Types.PerUnitTeMinPu (from ParamsWTGQa)Minimum torque
BooleanTFlag (from ParamsWTGQa)Flag to specify PI controller input, if true : power control, if false : speed control
Types.TimetpWTGQa (from ParamsWTGQa)Power measurement lag time constant in WTGQa in s
Types.TimetOmegaRef (from ParamsWTGQa)Speed reference time constant ins s
Initialization
Types.ActivePowerPuPConv0Pu (from ParamsWTGQa)Start value of active power at converter terminal in pu (generator convention) (base SNom)
Types.AngularVelocityPuomegaRefWTGQ0Pu (from ParamsWTGQa)Start value of reference angular frequency of torque control in pu (base omegaNom)

Connectors

TypeNameDefaultDescription
Modelica.Blocks.Interfaces.RealInputomegaGPuGenerator frequency in pu (base omegaNom)
Modelica.Blocks.Interfaces.RealInputPePuElectrical active power in pu (base SNom) (generator convention)
Modelica.Blocks.Interfaces.RealInputPRef0PuActive power reference from the power plant controller in pu (base SNom) (generator convention)
Modelica.Blocks.Interfaces.BooleanInputfreezeBoolean to freeze the regulation
Modelica.Blocks.Interfaces.RealOutputomegaRefWTGQPuReference angular frequency of torque control in pu (base omegaNom)
Modelica.Blocks.Interfaces.RealOutputPRefPuActive power reference for the electrical controller (base SNom) (generator convention)

Components

TypeNameDefaultDescription
Modelica.Blocks.Tables.CombiTable1DcombiTable1D
Modelica.Blocks.Continuous.FirstOrderfirstOrder
Modelica.Blocks.Continuous.FirstOrderfirstOrder1
Modelica.Blocks.Math.Addadd
Modelica.Blocks.Math.Addadd1
Modelica.Blocks.Math.Divisiondivision
Modelica.Blocks.Logical.Switchswitch1
Modelica.Blocks.Sources.BooleanConstantbooleanConstant
Modelica.Blocks.Math.Gaingain
Modelica.Blocks.Math.Addadd2
Modelica.Blocks.Math.Productproduct
Modelica.Blocks.Nonlinear.Limiterlimiter
Dynawo.NonElectrical.Blocks.NonLinear.LimitedIntegratorFreezelimitedIntegratorFreeze