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
| Type | Name | Default | Description |
|---|---|---|---|
| Types.VoltageModulePu | UInj0Pu | Start value of voltage amplitude at injector terminal in pu (base UNom) | |
| Types.CurrentModulePu | Id0Pu | Start value of d-component current at injector terminal in pu (generator convention) (base SNom, UNom) | |
| Types.CurrentModulePu | Iq0Pu | Start value of q-component current at injector terminal in pu (generator convention) (base SNom, UNom) | |
| Generator Converter | |||
| Types.PerUnit | IqrMaxPu (from ParamsREGC) | Maximum rate-of-change of reactive current after fault in pu (base UNom, SNom) (typical: 1..999) | |
| Types.PerUnit | IqrMinPu (from ParamsREGC) | Minimum rate-of-change of reactive current after fault in pu (base UNom, SNom) (typical: -999..-1) | |
| Boolean | RateFlag (from ParamsREGC) | Active current (=false) or active power (=true) ramp (if unkown set to false) | |
| Types.PerUnit | RrpwrPu (from ParamsREGC) | Active current (power) recovery rate in pu/s (base UNom, SNom) (typical: 1..20) | |
| Types.Time | tFilterGC (from ParamsREGC) | Filter time constant of terminal voltage in s(Cannot be set to zero, typical: 0.02..0.05) | |
| Types.Time | tG (from ParamsREGC) | Emulated delay in converter controls in s(Cannot be zero, typical: 0.02..0.05) | |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Interfaces.RealInput | idCmdPu | idCmdPu setpoint from electrical control in pu (base SNom, UNom) | |
| Modelica.Blocks.Interfaces.RealInput | iqCmdPu | iqCmdPu setpoint from electrical control in pu (base SNom, UNom) | |
| Modelica.Blocks.Interfaces.RealInput | UPu | Inverter terminal voltage magnitude in pu (base UNom) | |
| Modelica.Blocks.Interfaces.BooleanInput | frtOn | Boolean signal for iq ramp after fault: true if FRT detected, false otherwise | |
| Modelica.Blocks.Interfaces.RealOutput | idRefPu | idRefPu setpoint to injector in pu (generator convention) (base SNom, UNom) | |
| Modelica.Blocks.Interfaces.RealOutput | iqRefPu | iqRefPu setpoint to injector in pu (generator convention) (base SNom, UNom) |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Sources.BooleanConstant | RateFlag0 | ||
| Modelica.Blocks.Continuous.FirstOrder | firstOrder | ||
| Modelica.Blocks.Logical.Switch | switch | ||
| Modelica.Blocks.Sources.Constant | UNomFix | ||
| Modelica.Blocks.Math.Product | product | ||
| Modelica.Blocks.Math.Division | division | ||
| Modelica.Blocks.Math.Gain | gain | ||
| Modelica.Blocks.Nonlinear.Limiter | limiter | ||
| Dynawo.NonElectrical.Blocks.Continuous.RateLimFirstOrderFreeze | rateLimFirstOrderFreeze | ||
| Modelica.Blocks.Sources.Constant | IqrMaxPu0 | ||
| Modelica.Blocks.Sources.Constant | IqrMinPu0 | ||
| Dynawo.NonElectrical.Blocks.Continuous.RateLimFirstOrderFreeze | rateLimFirstOrderFreeze1 | ||
| Modelica.Blocks.Sources.Constant | RrpwrPos0 | ||
| Modelica.Blocks.Sources.Constant | RrpwrNeg0 | ||
| Modelica.Blocks.Logical.Switch | switch1 | ||
| Modelica.Blocks.Logical.Switch | switch2 | ||
| Modelica.Blocks.Sources.Constant | constant1 | ||
| Modelica.Blocks.Sources.Constant | constant2 | ||
| Dynawo.NonElectrical.Blocks.MathBoolean.OffDelay | offDelay |