modelBaseDERa

Base model for der_a (Distributed Energy Resources model)

Parameters

TypeNameDefaultDescription
Types.ApparentPowerModuleSNomNominal apparent power of the injector (in MVA)
Types.CurrentModulePuIMaxPuMaximum current of the injector in pu (base UNom, SNom)
BooleanPPriorityIf true, prioritise active power over reactive power
RealKpPll3PLL proportional coefficient
RealKiPll10PLL integral coefficient
Types.TimetFilterUVoltage measurement first order time constant in s
Types.TimetFilterOmegaFirst order time constant for the frequency estimation in s
Types.TimetRateLim1e-3Current slew limiter delay in s
Types.TimetPP measurement first order time constant in s
Types.TimetGOutput current time constant in s
Types.TimetPordActive power time constant in s
Types.TimetIqReactive current time constant in s
Types.AngularVelocityPuFDbd1PuLower value of frequency dead zone in pu (base omegaNom)
Types.AngularVelocityPuFDbd2PuUpper value of frequency dead zone in pu (base omegaNom)
RealDdnPuPower reduction factor for over-frequency in pu (base SNom)
RealDupPuPower increase factor for under-frequency in pu (base SNom)
Types.AngularVelocityPuFEMaxPuMaximum frequency error correction in pu (base omegaNom)
Types.AngularVelocityPuFEMinPuMinimum frequency error correction in pu (base omegaNom)
RealKpgPI proportional coefficient of frequency support in pu (base SNom, omegaNom)
RealKigPI integral coefficient of frequency support in pu (base SNom, omegaNom)
Types.ActivePowerPuPMaxPuMaximum active power in pu (base SNom)
Types.ActivePowerPuPMinPuMinimum active power in pu (base SNom)
Types.PerUnitDPMaxPuMaximum active power rise rate in pu (base SNom)
Types.PerUnitDPMinPuMinimum active power drop rate in pu (base SNom)
BooleanFreqFlagTrue if inverters support frequency
Types.AngularVelocityPuOmegaMaxPuMaximum frequency before disconnection in pu (base omegaNom)
Types.AngularVelocityPuOmegaMinPuMinimum frequency before start of disconnections in pu (base omegaNom)
Types.TimetOmegaMaxPuTime-lag for over-frequency trips in s
Types.TimetOmegaMinPuTime-lag for under-frequency trips in s
Types.CurrentModulePuIpRateLimMaxMaximum rise rate of the active current in pu (base SNom)
Types.CurrentModulePuIpRateLimMinMinimum drop rate of the active current in pu (base SNom)
BooleanPfFlagTrue for constant power factor, false for constant reactive power
Types.VoltageModulePuVRefPu1Voltage reference in pu (base UNom)
Types.VoltageModulePuDbd1PuLower value of voltage dead zone in pu (base UNom)
Types.VoltageModulePuDbd2PuUpper value of voltage dead zone in pu (base UNom)
RealKqvProportional coefficient of reactive support in pu (base SNom, UNom)
Types.CurrentModulePuIqh1Maximum reactive support current command (base SNom, UNom)
Types.CurrentModulePuIql1Maximum reactive support current command (base SNom, UNom)
Types.ComplexCurrentPui0PuStart value of complex current at terminal in pu (base UNom, SnRef) (receptor convention)
Types.PerUnitId0PuStart value of d-axs current at injector in pu (base UNom, SNom) (generator convention)
Types.PerUnitIq0PuStart value of q-axis current at injector in pu (base UNom, SNom) (generator convention)
Types.ActivePowerPuP0PuStart value of active power at terminal in pu (base SnRef) (receptor convention)
Types.PerUnitPF0Start value of power factor
Types.ReactivePowerPuQ0PuStart value of reactive power at terminal in pu (base SnRef) (receptor convention)
Types.ComplexApparentPowerPus0PuStart value of complex apparent power at terminal in pu (base SnRef) (receptor convention)
Types.VoltageModulePuU0PuStart value of voltage magnitude at terminal in pu (base UNom)
Types.ComplexVoltagePuu0PuStart value of complex voltage at terminal in pu (base UNom)
Types.AngleUPhase0Start value of voltage phase angle at terminal in rad

Connectors

TypeNameDefaultDescription
Modelica.Blocks.Interfaces.RealInputomegaRefPuReference angular frequency in pu (base omegaNom)
Modelica.Blocks.Interfaces.RealInputPFaRefPower factor angle reference in rad
Modelica.Blocks.Interfaces.RealInputPRefPuAvailable power from the DC source in pu (base SNom)
Modelica.Blocks.Interfaces.RealInputQRefPuReactive power setpoint in pu (base SNom)
Dynawo.Connectors.ACPowerterminal

Components

TypeNameDefaultDescription
Types.PerUnitpartialTrippingRatioCoefficient for partial tripping of generators, equals 1 if no trips, 0 if all units are tripped
Dynawo.Electrical.Sources.InjectorIDQinjector
Modelica.Blocks.Continuous.FirstOrderUFilter
Modelica.Blocks.Math.Divisiondivision
Modelica.Blocks.Math.Maxmax1
Modelica.Blocks.Sources.Constantconstant1
Modelica.Blocks.Math.Addadd
Modelica.Blocks.Continuous.FirstOrderiQcmdFirstOrder
Modelica.Blocks.Continuous.FirstOrderomegaFilter
Modelica.Blocks.Math.Gaingain
Modelica.Blocks.Math.ProductIpPartialTripping
Modelica.Blocks.Math.ProductIqPartialTripping
Modelica.Blocks.Sources.RealExpressionPartialTripping1
Modelica.Blocks.Sources.RealExpressionPartialTripping2
Modelica.Blocks.Nonlinear.VariableLimitervariableLimiter
Modelica.Blocks.Nonlinear.VariableLimitervariableLimiter1
Modelica.Blocks.Continuous.FirstOrderfirstOrder2
Dynawo.Electrical.Controls.WECC.BaseControls.CurrentLimitsCalculationBcurrentLimitsCalculation1
Modelica.Blocks.Continuous.FirstOrderfirstOrder3
Dynawo.Electrical.Controls.PLL.PLLpll
Modelica.Blocks.Sources.Constantconstant2
Modelica.Blocks.Math.Feedbackfeedback
Modelica.Blocks.Nonlinear.LimiterfrequencyErrorLimit
Dynawo.NonElectrical.Blocks.Continuous.PIAntiWinduppowerPIAntiWinDupPu
Modelica.Blocks.Logical.Switchswitch
Modelica.Blocks.Nonlinear.SlewRateLimiterpowerRateLimit
Modelica.Blocks.Sources.BooleanConstantfrequencyFlag
Modelica.Blocks.Math.Divisiondivision1
Modelica.Blocks.Nonlinear.DeadZonefrequencyDeadZone
Modelica.Blocks.Math.Add3add3
Modelica.Blocks.Continuous.FirstOrderfirstOrder
Modelica.Blocks.Sources.ConstantVref
Modelica.Blocks.Math.Feedbackfeedback1
Modelica.Blocks.Nonlinear.DeadZonevoltageDeadZone
Modelica.Blocks.Math.Gaingain1
Modelica.Blocks.Logical.Switchswitch1
Modelica.Blocks.Continuous.FirstOrderIqCmdFilter
Dynawo.NonElectrical.Blocks.Continuous.RateLimFirstOrderFreezeIpRateLimiter
Modelica.Blocks.Sources.ConstantIpRateMax
Modelica.Blocks.Sources.ConstantIpRateMin
Modelica.Blocks.Math.Gaingain2
Modelica.Blocks.Math.Gaingain3
Modelica.Blocks.Nonlinear.Limiterdown
Modelica.Blocks.Nonlinear.Limiterup
Modelica.Blocks.Math.Addadd1
Modelica.Blocks.Continuous.FirstOrderpOrderFilter
Modelica.Blocks.Nonlinear.LimiterreactiveSupportLimit
Modelica.Blocks.Nonlinear.LimiterpOrdLimit
Dynawo.Electrical.Controls.PEIR.Protections.DER.FRTDERaFRT
Modelica.Blocks.Sources.BooleanConstantPFFlag
Modelica.Blocks.Math.Productproduct
Modelica.Blocks.Math.Tantan