modelBasePVVoltageSourceC

Base model for WECC PV with a voltage source as interface with the grid (REGC-C)

Extends from Dynawo.Electrical.Controls.PLL.ParamsPLL, Dynawo.Electrical.Controls.WECC.Parameters.REEC.ParamsREEC (Common REEC parameters), Dynawo.Electrical.Controls.WECC.Parameters.REGC.ParamsREGC (Common REGC parameters), Dynawo.Electrical.Controls.WECC.Parameters.REGC.ParamsREGCc (REGC type C parameters), Dynawo.Electrical.Controls.WECC.Parameters.ParamsVSourceRef.

Parameters

TypeNameDefaultDescription
Types.ApparentPowerModuleSNom (from ParamsREEC)Nominal apparent power in MVA
Types.CurrentModulePuId0Pu (from ParamsREEC)Start value of d-component current at injector terminal in pu (generator convention) (base SNom, UNom)
Types.CurrentModulePuIq0Pu (from ParamsREEC)Start value of q-component current at injector terminal in pu (generator convention) (base SNom, UNom)
Types.PerUnitPF0 (from ParamsREEC)Start value of power factor
Types.ActivePowerPuPConv0Pu (from ParamsREEC)Start value of active power at converter terminal in pu (generator convention) (base SNom)
Types.ReactivePowerPuQConv0Pu (from ParamsREEC)Start value of reactive power at converter terminal in pu (generator convention) (base SNom)
Types.VoltageModulePuUInj0Pu (from ParamsREEC)Start value of voltage magnitude at injector terminal in pu (base UNom)
Types.ComplexPerUnits0Pu (from ParamsREEC)Start value of complex apparent power at terminal in pu (base SnRef) (receptor convention)
Types.ComplexVoltagePuu0Pu (from ParamsREEC)Start value of complex voltage at terminal in pu (base UNom)
Types.VoltageModulePuUConv0Pu (from ParamsREEC)Start value of voltage module at converter terminal in pu (base UNom)
Types.ComplexPerUnituConv0Pu (from ParamsREEC)Start value of complex voltage 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.ComplexCurrentPui0PuStart value of complex current at terminal in pu (base UNom, SnRef) (receptor convention)
Types.ComplexPerUnitiConv0PuStart value of complex current at converter terminal in pu (base UNom, SNom) (generator convention)
Types.ComplexPerUnitiInj0PuStart value of complex current at injector in pu (base UNom, SNom) (generator convention)
Types.ComplexPerUnitiSource0PuStart value of complex current at source in pu (base UNom, SNom) (generator convention)
Types.ActivePowerPuPInj0PuStart value of active power at injector terminal in pu (generator convention) (base SNom)
Types.ReactivePowerPuQInj0PuStart value of reactive power at injector terminal in pu (generator convention) (base SNom)
Types.PerUnitUdInj0PuStart value of d-axis voltage at injector in pu (base UNom)
Types.ComplexPerUnituInj0PuStart value of complex voltage at injector in pu (base UNom)
Types.AngleUPhaseConv0Value of voltage phase angle at converter terminal in rad
Types.PerUnitUqInj0PuStart value of q-axis voltage at injector in pu (base UNom)
Types.ComplexPerUnituSource0PuStart value of complex voltage at source in pu (base UNom)
PLL
Types.PerUnitKiPLL (from ParamsPLL)PLL integrator gain
Types.PerUnitKpPLL (from ParamsPLL)PLL proportional gain
Types.AngularVelocityPuOmegaMaxPu (from ParamsPLL)Upper frequency limit in pu (base omegaNom)
Types.AngularVelocityPuOmegaMinPu (from ParamsPLL)Lower frequency limit in pu (base omegaNom)
Electrical Control › REEC
BooleanPfFlag (from ParamsREEC)Power factor flag: Q control (0) or pf control(1)
BooleanPQFlag (from ParamsREEC)Q/P priority: Q priority (0) or P priority (1)
BooleanQFlag (from ParamsREEC)Q control flag: const. pf or Q ctrl (0) or voltage/Q (1)
BooleanVFlag (from ParamsREEC)Voltage control flag: voltage control (0) or Q ctrl (1)
Types.VoltageModulePuDbd1Pu (from ParamsREEC)Overvoltage deadband for reactive current injection in pu (base UNom) (typical: -0.1..0)
Types.VoltageModulePuDbd2Pu (from ParamsREEC)Undervoltage deadband for reactive current injection in pu (base UNom) (typical: 0..0.1)
Types.PerUnitDPMaxPu (from ParamsREEC)Active power upper rate limit in pu/s (base SNom) (typical: > 0.1, set to 99 to disable)
Types.PerUnitDPMinPu (from ParamsREEC)Active power lower rate limit in pu/s (base SNom) (typical: < -0.1, set to -99 to disable)
Types.CurrentModulePuIMaxPu (from ParamsREEC)Maximal apparent current magnitude in pu (base UNom, SNom) (typical: 1..2)
Types.PerUnitIqh1Pu (from ParamsREEC)Maximum reactive current injection (typical: 1..1.1) in pu (base UNom, SNom)
Types.PerUnitIql1Pu (from ParamsREEC)Minimum reactive current injection (typical: -1.1..-1) in pu (base UNom, SNom)
Types.PerUnitKqi (from ParamsREEC)Integrator gain local reactive power PI controller
Types.PerUnitKqp (from ParamsREEC)Proportional gain local reactive power PI controller
Types.PerUnitKqv (from ParamsREEC)K-Factor, reactive current injection gain (typical: 0..10)
Types.PerUnitKvi (from ParamsREEC)Integrator gain local voltage PI controller
Types.PerUnitKvp (from ParamsREEC)Proportional gain local voltage PI controller
Types.ActivePowerPuPMaxREECPu (from ParamsREEC)Active power upper limit in REEC in pu (base SNom) (typical: 1)
Types.ActivePowerPuPMinREECPu (from ParamsREEC)Active power lower limit in REEC in pu (base SNom) (typical: 0)
Types.ReactivePowerPuQMaxREECPu (from ParamsREEC)Reactive power upper limit, when vFlag == 1 in REEC in pu (base SNom)
Types.ReactivePowerPuQMinREECPu (from ParamsREEC)Reactive power lower limit, when vFlag == 1 in REEC in pu (base SNom)
Types.TimetIq (from ParamsREEC)Filter time constant reactive current in s(typical: 0.01..0.02)
Types.TimetRv (from ParamsREEC)Filter time constant terminal voltage in s(typical: 0.01..0.02)
Types.TimetpREEC (from ParamsREEC)Active power filter time constant in REEC in s (typical: 0.1..0.2)
Types.TimetPord (from ParamsREEC)Filter time constant inverter active power in s
Types.VoltageModulePuVDipPu (from ParamsREEC)Low voltage condition trigger voltage for FRT in pu (base UNom) (typical: 0..0.9)
Types.VoltageModulePuVMaxPu (from ParamsREEC)Maximum voltage at inverter terminal in pu (base UNom) (typical: 1.05..1.15)
Types.VoltageModulePuVMinPu (from ParamsREEC)Minimum voltage at inverter terminal in pu (base UNom) (typical: 0.85..0.95)
Types.VoltageModulePuVRef0Pu (from ParamsREEC)Reference voltage for reactive current injection in pu (base UNom) (typical: 0.95..1.05)
Types.VoltageModulePuVUpPu (from ParamsREEC)High voltage condition trigger voltage for FRT in pu (base UNom) (typical: 1.1..1.3)
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 › REGCc
Types.PerUnitKii (from ParamsREGCc)Integrator gain of the inner current loop
Types.PerUnitKip (from ParamsREGCc)Proportional gain of the inner current loop
BooleanRateFlag (from ParamsREGCc)Active current (=false) or active power (=true) ramp (if unkown set to false)

Connectors

TypeNameDefaultDescription
Modelica.Blocks.Interfaces.RealInputPFaRefPower factor angle reference in rad
Modelica.Blocks.Interfaces.RealInputomegaRefPuFrequency reference in pu (base omegaNom)

Components

TypeNameDefaultDescription
Dynawo.Electrical.Controls.WECC.REGC.REGCcwecc_regc
Dynawo.Electrical.Controls.PLL.PLLpll
Dynawo.Electrical.Sources.InjectorURIinjector
Dynawo.Electrical.Lines.Linesource
Dynawo.Electrical.Sources.IEC.BaseConverters.ElecSystemLvTfo
Dynawo.Electrical.Controls.WECC.Utilities.MeasurementsLvMeasurements
Dynawo.Electrical.Controls.WECC.Utilities.MeasurementsSourceMeasurements