modelREGCbCS

WECC Generator/Converter type B with current source interface

Extends from Dynawo.Electrical.Controls.WECC.Parameters.ParamsREGC.

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).

Parameters

TypeNameDefaultDescription
Types.VoltageModulePuUInj0PuStart value of voltage amplitude at injector terminal in pu (base UNom)
Types.CurrentModulePuId0PuStart value of d-component current at injector terminal in pu (generator convention) (base SNom, UNom)
Types.CurrentModulePuIq0PuStart value of q-component current at injector terminal in pu (generator convention) (base SNom, UNom)
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.RealInputidCmdPuidCmdPu setpoint from electrical control in pu (base SNom, UNom)
Modelica.Blocks.Interfaces.RealInputiqCmdPuiqCmdPu setpoint from electrical control in pu (base SNom, UNom)
Modelica.Blocks.Interfaces.RealInputUPuInverter terminal voltage magnitude in pu (base UNom)
Modelica.Blocks.Interfaces.BooleanInputfrtOnBoolean signal for iq ramp after fault: true if FRT detected, false otherwise
Modelica.Blocks.Interfaces.RealOutputidRefPuidRefPu setpoint to injector in pu (generator convention) (base SNom, UNom)
Modelica.Blocks.Interfaces.RealOutputiqRefPuiqRefPu setpoint to injector in pu (generator convention) (base SNom, UNom)

Components

TypeNameDefaultDescription
Modelica.Blocks.Sources.BooleanConstantRateFlag0
Modelica.Blocks.Continuous.FirstOrderfirstOrder
Modelica.Blocks.Logical.Switchswitch
Modelica.Blocks.Sources.ConstantUNomFix
Modelica.Blocks.Math.Productproduct
Modelica.Blocks.Math.Divisiondivision
Modelica.Blocks.Math.Gaingain
Modelica.Blocks.Nonlinear.Limiterlimiter
Dynawo.NonElectrical.Blocks.Continuous.RateLimFirstOrderFreezerateLimFirstOrderFreeze
Modelica.Blocks.Sources.ConstantIqrMaxPu0
Modelica.Blocks.Sources.ConstantIqrMinPu0
Dynawo.NonElectrical.Blocks.Continuous.RateLimFirstOrderFreezerateLimFirstOrderFreeze1
Modelica.Blocks.Sources.ConstantRrpwrPos0
Modelica.Blocks.Sources.ConstantRrpwrNeg0
Modelica.Blocks.Logical.Switchswitch1
Modelica.Blocks.Logical.Switchswitch2
Modelica.Blocks.Sources.Constantconstant1
Modelica.Blocks.Sources.Constantconstant2
Dynawo.NonElectrical.Blocks.MathBoolean.OffDelayoffDelay