modelLumpedGridGenerators

Lumped model of a number of generators for the use in a non-detailed electric grid model (including primary and secondary control models)
Diagram of LumpedGridGenerators

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

Lumped model of a number of generators for the use in a non-detailed electric grid model (including primary and secondary control models).

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

The model is a composition of a turbine model, an inertia model, a generator model with excitation system model and a primary controller.

See base classes TransiEnt.Producer.Electrical.Base.PartialDispatchablePowerPlant and for more information TransiEnt.Producer.Electrical.Base.ControlPower.PartialBalancingPowerProvider

3. Limits of validity

(no remarks)

4. Interfaces

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)

P_tie_set: input for electric power in [W] "Set point tie line power"

P_tie_is: input for electric power in [W] "Actual tie line power"

epp: active power port (choice of power port)

5. Nomenclature

(no remarks)

6. Governing Equations

(no remarks)

7. Remarks for Usage

(no remarks)

8. Validation

checked in TransiEnt.Grid.Electrical.LumpedPowerGrid.Check

9. References

(no remarks)

10. Version History

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

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.TimeT_tcsimCenter.T_gridTime constant of plant (For easy definition of J)
SI.InertiaJP_el_n*T_tc/(2*simCenter.f_n*Modelica.Constants.pi)^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
IntegernSubgrid2Index 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)
Primary Frequency Control
Realdelta_pr0.2Value used if plantType is set to 'Provided'
RealP_pr_grad_max_star0.02/30Two percent of design case power in 30s
RealP_pr_max_star0.2Two percent of design case power
Realk_pr1Participation factor primary control
Secondary Frequency Control
RealP_sec_grad_max_star0.12/60Maximum secondary power gradient (= 12% in five Minutes)
Realbeta1Gain of secondary balancing power
RealT_r20Time constant of secondary balancing power
Reallambda_sec1Sub grid participation factor
Expert Settings
BooleanfixedStartValue_wfalseWhether or not the start value of the angular velocity of the plants mechanical components is fixed

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
TransiEnt.Basics.Interfaces.Electrical.ElectricPowerInP_tie_isActual tie line power
TransiEnt.Basics.Interfaces.Electrical.ElectricPowerInP_tie_setSet point tie line power

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.Grid.Electrical.SecondaryControl.SecondaryBalancingControllersecondaryBalancingController
TransiEnt.Components.Boundaries.Mechanical.PowerTurbine
TransiEnt.Components.Electrical.Machines.ActivePowerGeneratorGenerator
TransiEnt.Components.Electrical.Machines.ExcitationSystemsVoltageController.DummyExcitationSystemExciter
TransiEnt.Components.Mechanical.ConstantInertiaMechanicalConnection
Modelica.Blocks.Math.Sumsum1
Modelica.Blocks.Continuous.FirstOrderPT1Transient