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
| Type | Name | Default | Description |
|---|---|---|---|
| Types.ApparentPowerModule | SNom (from BaseParameters) | 35 | Nominal apparent power in MVA |
| Types.PerUnit | XaPu (from BaseParameters) | 0.05*Electrical.SystemBase.SnRef/SNom | Reactance a of the DTR in pu (base SnRef, UNom) |
| Types.PerUnit | XbPu (from BaseParameters) | 0.3*Electrical.SystemBase.SnRef/SNom | Reactance b of the DTR in pu (base SnRef, UNom) |
| Types.ActivePowerPu | P0Pu (from BaseParameters) | -1*SNom/Electrical.SystemBase.SnRef | Start value of active power at regulated bus in pu (receptor convention) (base SnRef) |
| Types.ReactivePowerPu | Q0Pu (from BaseParameters) | 0*SNom/Electrical.SystemBase.SnRef | Start value of reactive power at regulated bus in pu (receptor convention) (base SnRef) |
| Types.VoltageModulePu | U0Pu (from BaseParameters) | 1 | Start value of voltage magnitude at regulated bus in pu (base UNom) |
| Types.VoltageModulePu | UInfPu (from BaseParameters) | sqrt((P0Pu*XccPu)^2 + (Q0Pu*XccPu + U0Pu^2)^2)/U0Pu | Value of voltage magnitude at infinite in pu (base UNom) |
| Types.Angle | UPhase0 (from BaseParameters) | Modelica.Math.atan2(-P0Pu*XccPu, Q0Pu*XccPu + U0Pu^2) | Start value of voltage phase angle at regulated bus in rad |
| Types.PerUnit | XccPu (from BaseParameters) | Reactance of equivalent branch connection to the grid in pu (base SnRef, UNom) |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Dynawo.Electrical.Wind.WECC.WTG3CurrentSource1 | Unit | ||
| Modelica.Blocks.Sources.Constant | PRefPu | ||
| Modelica.Blocks.Sources.Constant | QRefPu | ||
| Modelica.Blocks.Sources.Constant | PFaRef | ||
| Modelica.Blocks.Sources.Step | URefPu | ||
| Modelica.Blocks.Sources.Constant | PmRefPu | ||
| Modelica.ComplexBlocks.Sources.ComplexConstant | complexConst | ||
| Modelica.Blocks.Sources.Constant | const | ||
| Dynawo.Electrical.Wind.WECC.WTGCurrentSource_INIT | wtgCurrentSource_INIT |