modelBaseUnitModel

Extends from BaseParameters.

Information

Rules to follow in order to prevent bug :

  • Before adding your plant model, you should delete the one available here.

  • You should name your model "Unit" in the attributes (the connections in the test cases depend on this name).

  • You should define the base apparent power of your plant model as "SNom", parameter that you will define in the "BaseParameter" file.

  • You should define the 4 initialization parameters U0Pu, P0Pu, Q0Pu, UPhase0 with those exact names in your model. Those parameters are defined across the test cases model to respect the operating points required in the grid code simulations.

  • You should define here the complete tuning of your model. This is where you define the tuning used across all simulations in this GridCodeSimulations package.

  • You should make sure your model is initializing properly.

  • The voltage order entry of your model should remain a step model with offset = Unit.URef0Pu, height = 0.

If the entries of your model are in base SNom and in receptor convention :

  • The active power order entry of your model should be a constant = -Unit.P0Pu*Electrical.SystemBase.SnRef/SNom.

  • The reactive power order entry of your model should be a constant = -Unit.Q0Pu*Electrical.SystemBase.SnRef/SNom.

Parameters

TypeNameDefaultDescription
Types.ApparentPowerModuleSNom (from BaseParameters)35Nominal apparent power in MVA
Types.PerUnitXaPu (from BaseParameters)0.05*Electrical.SystemBase.SnRef/SNomReactance a of the DTR in pu (base SnRef, UNom)
Types.PerUnitXbPu (from BaseParameters)0.3*Electrical.SystemBase.SnRef/SNomReactance b of the DTR in pu (base SnRef, UNom)
Types.ActivePowerPuP0Pu (from BaseParameters)-1*SNom/Electrical.SystemBase.SnRefStart value of active power at regulated bus in pu (receptor convention) (base SnRef)
Types.ReactivePowerPuQ0Pu (from BaseParameters)0*SNom/Electrical.SystemBase.SnRefStart value of reactive power at regulated bus in pu (receptor convention) (base SnRef)
Types.VoltageModulePuU0Pu (from BaseParameters)1Start value of voltage magnitude at regulated bus in pu (base UNom)
Types.VoltageModulePuUInfPu (from BaseParameters)sqrt((P0Pu*XccPu)^2 + (Q0Pu*XccPu + U0Pu^2)^2)/U0PuValue of voltage magnitude at infinite in pu (base UNom)
Types.AngleUPhase0 (from BaseParameters)Modelica.Math.atan2(-P0Pu*XccPu, Q0Pu*XccPu + U0Pu^2)Start value of voltage phase angle at regulated bus in rad
Types.PerUnitXccPu (from BaseParameters)Reactance of equivalent branch connection to the grid in pu (base SnRef, UNom)

Components

TypeNameDefaultDescription
Dynawo.Electrical.Wind.WECC.WTG3CurrentSource1Unit
Modelica.Blocks.Sources.ConstantPRefPu
Modelica.Blocks.Sources.ConstantQRefPu
Modelica.Blocks.Sources.ConstantPFaRef
Modelica.Blocks.Sources.StepURefPu
Modelica.Blocks.Sources.ConstantPmRefPu
Modelica.ComplexBlocks.Sources.ComplexConstantcomplexConst
Modelica.Blocks.Sources.Constantconst
Dynawo.Electrical.Wind.WECC.WTGCurrentSource_INITwtgCurrentSource_INIT