modelSimplePowerPlant

No transient behaviuor, no operating states, constant efficiency (with optional primary balancing controller)

Extends from TransiEnt.Producer.Electrical.Base.PartialDispatchablePowerPlant (Abstract model of an electric power plant with a power setpoint input connector), TransiEnt.Producer.Electrical.Base.ControlPower.PartialBalancingPowerProvider (Abstract model of any kind of electric balancing power provider with statistics and control input).

Information

1. Purpose of model

Model contains a total efficiency, statistics adapters and a primary balancing controller.

2. Level of detail, physical effects considered, and physical insight

(no remarks)

3. Limits of validity

- Power plant model is "always on"

- Output is not constrained by gradient or capacity limits

4. Interfaces

Type of electrical power port can be chosen

P_el_set: input for electric power in [W] (setpoint for electric power)

P_SB_set: input for electric power in [W] (secondary balancing setpoint)

5. Nomenclature

(no remarks)

6. Governing Equations

(no remarks)

7. Remarks for Usage

(no remarks)

8. Validation

Tested in check model "TransiEnt.Producer.Electrical.Conventional.Components.Check.CheckSimplePowerPlant"

9. References

(no remarks)

10. Version History

Model created by Pascal Dubucq (dubucq@tuhh.de) on 01.10.2014

Model generalized for different electrical power ports by Jan-Peter Heckel (jan.heckel@tuhh.de) in July 2018

Model modified by Robert Flesch (flesch@xrg-simulation.de) in Feb 2021: introduced firstOrder behavior for primary control power; slewRateLimiter in control can be deactivated and limiting is done in firstOrder as this performs better numerically

Parameters

TypeNameDefaultDescription
IntegernSubgrids (from PartialElectricPowerPlant)simCenter.iDetailedGridFor calculation of statistics in subgrids (=1 local grid, e.g. hamburg, =2 surrounding grid, e.g. UCTE grid
Physical Constraints
Modelica.Units.SI.PowerP_el_n (from PartialElectricPowerPlant)300e6Nominal power of plant
SI.PowerP_n (from PartialBalancingPowerProvider)300e6Nominal power of plant
SI.InertiaJ10*P_el_n/(100*3.14)^2Lumped moment of inertia of whole power plant
Statistics
Modelica.Units.SI.Efficiencyeta_total (from PartialElectricPowerPlant)0.6Total efficiency of plant for emission calculation
EnergyResourcetypeOfResource (from PartialElectricPowerPlant)EnergyResource.ConventionalType of energy resource for global model statistics
PrimaryEnergyCarriertypeOfPrimaryEnergyCarrier (from PartialElectricPowerPlant)PrimaryEnergyCarrier.BlackCoalType of primary energy carrier for co2 emissions global statistics
BooleanintegrateElPower (from PartialElectricPowerPlant)simCenter.integrateElPowertrue if electric powers shall be integrated
BooleanintegrateCDE (from PartialElectricPowerPlant)simCenter.integrateCDEtrue if CDE shall be integrated
BooleancalculateCost (from PartialElectricPowerPlant)simCenter.calculateCosttrue if costs shall be calculated
EnergyResourcetypeOfBalancingPowerResource (from PartialBalancingPowerProvider)EnergyResource.ConventionalType of energy resource for global model statistics
IntegernSubgrid1Index of subgrid for moment of inertia statistics
Block control › Frequency Control
BooleanisPrimaryControlActive (from PartialBalancingPowerProvider)true
BooleanisSecondaryControlActive (from PartialBalancingPowerProvider)false
BooleanisExternalSecondaryController (from PartialBalancingPowerProvider)trueFalse, provider generates its own control setpoint (only for lumped plants)
SI.Timet_SB_act (from PartialBalancingPowerProvider)simCenter.t_SB_actMaximum reaction time for SB
Modelica.Units.SI.PowerP_el_grad_max_SB (from PartialBalancingPowerProvider)0.02*P_n/60Maximum power gradient for secondary balancing (default: 2%/min)
Initialization
BooleanfixedStartValue_wfalseWhether or not the start value of the angular velocity of the plants mechanical components is fixed
Physical constraints
SI.Efficiencyeta_gen1Generator efficiency
Expert Settings
BooleanuseFirstOrderPrimaryCntrltrueuse first order block to delay primary control power

Connectors

TypeNameDefaultDescription
TransiEnt.Basics.Interfaces.Electrical.ActivePowerPortepp (from PartialElectricPowerPlant)
TransiEnt.Basics.Interfaces.Electrical.ElectricPowerInP_el_set (from PartialDispatchablePowerPlant)Electric power setpoint
TransiEnt.Basics.Interfaces.Electrical.ElectricPowerInP_SB_set (from PartialBalancingPowerProvider)Secondary balancing setpoint

Components

TypeNameDefaultDescription
TransiEnt.SimCentersimCenter (from PartialElectricPowerPlant)
TransiEnt.ModelStatisticsmodelStatistics (from PartialElectricPowerPlant)
TransiEnt.Components.Statistics.Collectors.LocalCollectors.CollectElectricPowercollectElectricPower (from PartialElectricPowerPlant)
TransiEnt.Components.Statistics.Collectors.LocalCollectors.CollectGwpEmissionsElectriccollectGwpEmissions (from PartialElectricPowerPlant)
TransiEnt.Components.Statistics.Collectors.LocalCollectors.PowerPlantCostcollectCosts (from PartialElectricPowerPlant)
SI.ActivePowerP_el_is (from PartialElectricPowerPlant)-epp.P
RealP_star (from PartialElectricPowerPlant)P_el_is/P_el_n
SI.Efficiencyeta (from PartialElectricPowerPlant)
SI.Timet_fullload (from PartialElectricPowerPlant)E_total_generation/P_el_nfull load time in hours
SI.EnergyE_total_generation (from PartialElectricPowerPlant)Start value for generated electricity statistics
Booleanis_running (from PartialElectricPowerPlant)For continuous plants always true, for discontinous depending on state
SI.EnthalpyFlowRateQ_flow_fuel_is (from PartialElectricPowerPlant)P_el_is/eta
SI.MassFlowRatem_flow_CDE (from PartialElectricPowerPlant)fuelSpecificCO2Emissions.m_flow_CDE_per_Energy*abs(P_el_is)/eta - m_flow_gas_CDE_deposited
SI.MassFlowRatem_flow_gas_CDE_deposited (from PartialElectricPowerPlant)0*time
Realdelta_f_star (from PartialElectricPowerPlant)(epp.f - simCenter.f_n)/simCenter.f_n
TransiEnt.Components.Statistics.Collectors.LocalCollectors.CollectElectricPowergeneratedSBP (from PartialBalancingPowerProvider)
TransiEnt.Components.Statistics.Collectors.LocalCollectors.CollectElectricPower[2]collectSBPOffer (from PartialBalancingPowerProvider)
TransiEnt.Components.Statistics.Collectors.LocalCollectors.CollectElectricPowergeneratedPBP (from PartialBalancingPowerProvider)
TransiEnt.Components.Statistics.Collectors.LocalCollectors.CollectElectricPower[2]collectPBPOffer (from PartialBalancingPowerProvider)
TransiEnt.Producer.Electrical.Controllers.PrimaryBalancingControllerprimaryBalancingController (from PartialBalancingPowerProvider)
TransiEnt.Components.Sensors.MechanicalFrequencygridFrequencySensor (from PartialBalancingPowerProvider)
TransiEnt.Producer.Electrical.Base.ControlPower.IdealControlOffercontrolPowerModel (from PartialBalancingPowerProvider)
RealP_SB_set_star (from PartialBalancingPowerProvider)P_SB_set_internal/P_n
Realdelta_P_star(P_el_set + P_el_is)/P_el_n
TransiEnt.Components.Electrical.Machines.ActivePowerGeneratorGenerator
TransiEnt.Components.Electrical.Machines.ExcitationSystemsVoltageController.DummyExcitationSystemExciter
TransiEnt.Components.Mechanical.ConstantInertiaMechanicalConnection
Modelica.Blocks.Math.AddtargetSum
TransiEnt.Components.Boundaries.Mechanical.PowerTurbine
TransiEnt.Basics.Blocks.FirstOrderWithGradientLimfirstOrderWithGradientLim
Modelica.Blocks.Sources.RealExpressionmaxGradient
Modelica.Blocks.Sources.RealExpressionminGrad
Modelica.Blocks.Math.Gaindummy