modelREGCb

WECC Generator Converter REGC type B

Extends from Dynawo.Electrical.Controls.WECC.REGC.BaseClasses.BaseREGC (Base class for WECC Generator Converter REGC), Dynawo.Electrical.Controls.WECC.Parameters.REGC.ParamsREGCb (REGC type B parameters), Dynawo.Electrical.Controls.WECC.Parameters.ParamsVSourceRef.

Information

The block calculates the final setpoints for Iq and Id while considering ramp rates for reactive current and active current (or active power if RampFlag is true).
It is connected to the grid with a voltage source interface through urSource and uiSource.

Parameters

TypeNameDefaultDescription
Dynawo.Types.CurrentModulePuId0Pu (from BaseREGC)Start value of d-component current at injector terminal in pu (generator convention) (base SNom, UNom)
Dynawo.Types.CurrentModulePuIq0Pu (from BaseREGC)Start value of q-component current at injector terminal in pu (generator convention) (base SNom, UNom)
Types.ReactivePowerPuQConv0Pu (from BaseREGC)Start value of reactive power at converter terminal in pu (generator convention) (base SNom)
Types.VoltageModulePuUConv0Pu (from BaseREGC)Start value of voltage module at converter terminal in pu (base UNom)
Types.TimetE (from ParamsVSourceRef)Emulated delay in converter controls in s (cannot be zero, typical: 0.02..0.05)
Types.PerUnitRSourcePu (from ParamsVSourceRef)Source resistance in pu (base UNom, SNom)
Types.PerUnitXSourcePu (from ParamsVSourceRef)Source reactance in pu (base UNom, SNom)
Types.PerUnitUdInj0PuStart value of d-axis voltage injector in pu (base UNom)
Types.ComplexVoltagePuuInj0PuStart value of complex voltage at injector in pu (base UNom)
Types.PerUnitUqInj0PuStart value of q-axis voltage injector in pu (base UNom)
Types.ComplexVoltagePuuSource0PuStart value of complex voltage at source in pu (base UNom)
Types.AngleUPhaseConv0Value of voltage phase angle at converter terminal in rad
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 › REGCb
BooleanRateFlag (from ParamsREGCb)Active current (=false) or active power (=true) ramp (if unkown set to false)
Types.TimetG (from ParamsREGCb)Emulated delay in converter controls in s(Cannot be zero, typical: 0.02..0.05)

Connectors

TypeNameDefaultDescription
Modelica.Blocks.Interfaces.BooleanInputfrtOn (from BaseREGC)Boolean signal for iq ramp after fault: true if FRT detected, false otherwise
Modelica.Blocks.Interfaces.RealInputidCmdPu (from BaseREGC)idCmdPu setpoint from electrical control in pu (base SNom, UNom)
Modelica.Blocks.Interfaces.RealInputiqCmdPu (from BaseREGC)iqCmdPu setpoint from electrical control in pu (base SNom, UNom)
Modelica.Blocks.Interfaces.RealInputUPu (from BaseREGC)Voltage magnitude at converter terminal in pu (base UNom)
Modelica.ComplexBlocks.Interfaces.ComplexInputuInjPuComplex voltage at injector in pu (base UNom)
Modelica.Blocks.Interfaces.RealInputphiVoltage phase at injector in rad
Modelica.Blocks.Interfaces.RealOutputurSourceReal voltage at source in pu (base UNom)
Modelica.Blocks.Interfaces.RealOutputuiSourceImaginary voltage at source in pu (base UNom)

Components

TypeNameDefaultDescription
Modelica.Blocks.Sources.Constantconstant3 (from BaseREGC)
Modelica.Blocks.Sources.Constantconstant4 (from BaseREGC)
Dynawo.NonElectrical.Blocks.Continuous.RateLimFirstOrderFreezerateLimFirstOrderFreeze2 (from BaseREGC)
Modelica.Blocks.Sources.Constantconstant5 (from BaseREGC)
Modelica.Blocks.Sources.Constantconstant6 (from BaseREGC)
Modelica.Blocks.Logical.Switchswitch3 (from BaseREGC)
Modelica.Blocks.Logical.Switchswitch4 (from BaseREGC)
Modelica.Blocks.Sources.ConstantRrpwrNeg0 (from BaseREGC)
Dynawo.NonElectrical.Blocks.Continuous.RateLimFirstOrderFreezerateLimFirstOrderFreeze1 (from BaseREGC)
Modelica.Blocks.Continuous.FirstOrderfirstOrder (from BaseREGC)
Modelica.Blocks.Sources.ConstantRrpwrPos0 (from BaseREGC)
Dynawo.NonElectrical.Blocks.MathBoolean.OffDelayoffDelay (from BaseREGC)
Modelica.Blocks.MathBoolean.Andand1 (from BaseREGC)
Modelica.Blocks.Sources.BooleanConstantQConv0PuPos (from BaseREGC)
Modelica.Blocks.MathBoolean.Andand2 (from BaseREGC)
Modelica.Blocks.Sources.BooleanConstantQConv0PuNeg (from BaseREGC)
Modelica.Blocks.Logical.Switchswitch
Modelica.Blocks.Sources.ConstantUNomFix
Modelica.Blocks.Math.Productproduct
Modelica.Blocks.Sources.BooleanConstantRateFlag0
Modelica.Blocks.Nonlinear.Limiterlimiter
Modelica.Blocks.Math.Divisiondivision
Dynawo.Electrical.Controls.WECC.BaseControls.VSourceRefvSourceRef
Modelica.Blocks.Math.Gaingain1