modelDetailedCHP

Example of how a detailed thermodynamic cycle model of a steam turbine combined heat and power plant can be modeled
Diagram of DetailedCHP

Extends from TransiEnt.Producer.Combined.LargeScaleCHP.Base.PartialCHP (Partial model of a large scale CHP plant with characteristics specified by PQ boundaries and PQ-Heat input table).

Information

1. Purpose of model

Although in an early state of development, this model illustrates how a CHP plant can be modeled to increase the level of detail. The usage of the library interfaces allows the exchangability of the model with models of less level of detail.

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

(no remarks)

3. Limits of validity

(no remarks)

4. Interfaces

P_set: input for power in [W] (connector of setpoint input signal)

Q_flow_set: input for heat flow rate in [W]

outlet: FluidPortOut

inlet: FluidPortIn

eye: EyeOut

5. Nomenclature

(no remarks)

6. Governing Equations

(no remarks)

7. Remarks for Usage

(no remarks)

8. Validation

(no remarks)

9. References

(no remarks)

10. Version History

Parameters

TypeNameDefaultDescription
Modelica.Units.SI.HeatFlowRateQ_flow_n_total (from PartialCHP)Q_flow_n_CHP + Q_flow_n_Peak
Integerquantity (from PartialCHP)1
BooleanintegrateHeatFlow (from PartialCHP)falseTrue if heat flow shall be integrated
BooleanintegrateElectricPower (from PartialCHP)falseTrue if electric power shall be integrated
BooleanintegrateElectricPowerChp (from PartialCHP)falseTrue if electric power of the chp shall be integrated
SI.PowerP_el_n_single (from PartialCHP)P_el_n/quantity
SI.PowerQ_flow_n_CHP_single (from PartialCHP)Q_flow_n_CHP/quantity
Physical Constraints
TransiEnt.Producer.Combined.LargeScaleCHP.Base.Characteristics.Generic_PQ_CharacteristicsPQCharacteristics (from PartialCHP)TransiEnt.Producer.Combined.LargeScaleCHP.Base.Characteristics.PQ_Characteristics_WW1()Characteristics of CHP plant
Modelica.Units.SI.PowerP_el_n (from PartialCHP)300e6Installed capacity for investment cost calculation
Modelica.Units.SI.HeatFlowRateQ_flow_n_CHP (from PartialCHP)PQCharacteristics.PQboundaries[end, 1]/PQCharacteristics.k_Q_flowMaximum possible heat flow according to PQ diagram
Modelica.Units.SI.HeatFlowRateQ_flow_n_Peak (from PartialCHP)0Additional thermal capacity (e.g. peak load heaters)
BooleanuseConstantEfficiencies (from PartialCHP)falseTrue, constant efficiency over load
SI.Efficiencyeta_el_const (from PartialCHP)0.4Constant efficiency used if useConstantEfficiencies=true
SI.Efficiencyeta_th_const (from PartialCHP)0.5Constant efficiency used if useConstantEfficiencies=true
SI.Efficiencyeta_peakload (from PartialCHP)0.98Constant efficiency of peak load heater annotation
BooleanuseConstantSigma (from PartialCHP)falseTrue, use constant power to heat ration (sigma) instead of PQ characteristics
Realsigma (from PartialCHP)0.3Power to heat ration used only if useConstantSigma=true
Advanced › Initialization
SI.ActivePowerP_el_init (from PartialCHP)P_el_nInitial or guess value of output (= state)
SI.HeatFlowRateQ_flow_init (from PartialCHP)Q_flow_n_totalInitial or guess value of output (= state)
BooleanuseEfficiencyForInit (from PartialCHP)falseTrue, set efficiency; False set steam generator power at init
SI.HeatFlowRateQ_flow_SG_init (from PartialCHP)Q_flow_init + P_el_initInitial or guess value of output (= state) of steam generator
Realeta_el_init (from PartialCHP)0.4Thermal efficiency used at init time
Statistics
TransiEnt.Basics.Types.TypeOfResourcetypeOfResource (from PartialCHP)TransiEnt.Basics.Types.TypeOfResource.CogenerationType of energy resource for global model statistics
TransiEnt.Basics.Types.TypeOfPrimaryEnergyCarriertypeOfPrimaryEnergyCarrier (from PartialCHP)TransiEnt.Basics.Types.TypeOfPrimaryEnergyCarrier.BlackCoalType of primary energy carrier for co2 emissions global statistics
TransiEnt.Basics.Types.TypeOfPrimaryEnergyCarrierHeattypeOfPrimaryEnergyCarrierHeat (from PartialCHP)TransiEnt.Basics.Types.TypeOfPrimaryEnergyCarrierHeat.BlackCoalType of primary energy carrier for heat for co2 emissions global statistics
TransiEnt.Basics.Types.TypeOfCO2AllocationMethodtypeOfCO2AllocationMethod (from PartialCHP)1Type of allocation method
Heating condenser parameters
TILMedia.VLEFluidTypes.BaseVLEFluidmedium (from PartialCHP)simCenter.fluid1Medium to be used

Connectors

TypeNameDefaultDescription
Modelica.Blocks.Interfaces.RealInputP_set (from PartialCHP)
TransiEnt.Basics.Interfaces.Thermal.HeatFlowRateInQ_flow_set (from PartialCHP)
TransiEnt.Basics.Interfaces.Electrical.ActivePowerPortepp (from PartialCHP)
TransiEnt.Basics.Interfaces.Thermal.FluidPortOutoutlet (from PartialCHP)
TransiEnt.Basics.Interfaces.Thermal.FluidPortIninlet (from PartialCHP)
TransiEnt.Basics.Interfaces.General.EyeOuteye (from PartialCHP)

Components

TypeNameDefaultDescription
TransiEnt.SimCentersimCenter (from PartialCHP)
TransiEnt.ModelStatisticsmodelStatistics (from PartialCHP)
Modelica.Blocks.Sources.RealExpressionZero (from PartialCHP)
Modelica.Blocks.Math.Gain[quantity]Q_flow_set_pos (from PartialCHP)Thermal setpoint sign changed (>0)
TransiEnt.Producer.Combined.LargeScaleCHP.Base.HeatInputTable[quantity]Q_flow_set_SG (from PartialCHP)Steam generator setpoint
PQBoundaries[quantity]pQDiagram (from PartialCHP)Possible operating regime of electric output for given thermal output
TransiEnt.Components.Sensors.TemperatureSensorT_out_sensor (from PartialCHP)
TransiEnt.Components.Sensors.TemperatureSensorT_in_sensor (from PartialCHP)
TransiEnt.Components.Statistics.Collectors.LocalCollectors.CollectElectricPowercollectElectricPower (from PartialCHP)
TransiEnt.Components.Statistics.Collectors.LocalCollectors.CollectHeatingPowercollectHeatingPower (from PartialCHP)
TransiEnt.Components.Statistics.Collectors.LocalCollectors.CollectGwpEmissionsElectriccollectPowerEmissions (from PartialCHP)
TransiEnt.Components.Statistics.Collectors.LocalCollectors.CollectGwpEmissionsElectriccollectHeatingEmissions (from PartialCHP)
TransiEnt.Components.Statistics.Collectors.LocalCollectors.CogenerationPlantCostcollectCosts (from PartialCHP)
TransiEnt.Components.Statistics.Functions.GetFuelSpecificCO2EmissionsfuelSpecificEmissions (from PartialCHP)
Modelica.Units.SI.PowerP_el_is (from PartialCHP)Actual power generation (>=0)
Modelica.Units.SI.PowerP_el_CHP_is (from PartialCHP)
Modelica.Units.SI.HeatFlowRateQ_flow_is (from PartialCHP)Actual thermal power generation (>=0)
Modelica.Units.SI.HeatFlowRateQ_flow_input (from PartialCHP)
Modelica.Units.SI.Efficiencyeta_el (from PartialCHP)
Modelica.Units.SI.Efficiencyeta_el_target (from PartialCHP)Calculated from setpoint and plant characteristic
Modelica.Units.SI.Efficiencyeta_th (from PartialCHP)
Modelica.Units.SI.Efficiencyeta_th_target (from PartialCHP)Calculated from setpoint and plant characteristic
Modelica.Units.SI.Efficiencyeta_total (from PartialCHP)eta_el + eta_th
Modelica.Units.SI.MassFlowRatem_flow_cde_total (from PartialCHP)Q_flow_input*fuelSpecificEmissions.m_flow_CDE_per_Energy
Modelica.Units.SI.MassFlowRatem_flow_cde_heat (from PartialCHP)m_flow_cde_total*A_cde_alloc_heat
Modelica.Units.SI.MassFlowRatem_flow_cde_power (from PartialCHP)m_flow_cde_total*A_cde_alloc_power
RealA_cde_alloc_heat (from PartialCHP)Allocation factor of total emissions to heat side
RealA_cde_alloc_power (from PartialCHP)Allocation factor of total emissions to power side
Modelica.Units.SI.HeatQ_gen (from PartialCHP)Generated thermal energy
Modelica.Units.SI.EnergyW_el (from PartialCHP)Generated electric energy
Modelica.Units.SI.EnergyW_el_CHP (from PartialCHP)Generated electric energy in combined heat and power operation
Realx_CHP (from PartialCHP)P_el_CHP_is/max(simCenter.P_el_small, P_el_is)Fraction of actual power generation that is produced in CHP operation
RealP_el_star (from PartialCHP)P_el_is/P_el_nPower in p.u.
RealQ_flow_star (from PartialCHP)Q_flow_is/max(simCenter.Q_flow_small, Q_flow_n_total)Thermal output in p.u
RealQ_flow_set_star (from PartialCHP)-Q_flow_set/Q_flow_n_totalThermal setpoint in p.u
Modelica.Blocks.Nonlinear.VariableLimiter[quantity]Q_flow_set_CHP (from PartialCHP)
Modelica.Blocks.Math.MultiSum[quantity]multiSum (from PartialCHP)
Modelica.Blocks.Sources.RealExpressionQ_flow_set_CHP_max (from PartialCHP)
Modelica.Blocks.Sources.RealExpressionQ_flow_set_CHP_min (from PartialCHP)
TransiEnt.Producer.Combined.LargeScaleCHP.Base.CHPStates_heatledplantState (from PartialCHP)
Realtest3
Realtest4
ClaRa.Components.TurboMachines.Turbines.SteamTurbineVLE_L1steamTurbine_HP
ClaRa.Visualisation.DynDisplaydynDisplay
ClaRa.SubSystems.Boiler.SteamGenerator_L1steamGenerator
ClaRa.Components.BoundaryConditions.BoundaryVLE_hxim_flowmassFlowSource_h
Modelica.Blocks.Sources.RealExpressionm_flow_boiler
ClaRa.Visualisation.Quadruplequadruple3
ClaRa.Visualisation.Quadruplequadruple4
ClaRa.Visualisation.Quadruplequadruple5
ClaRa.Visualisation.DynDisplaydynDisplay1
ClaRa.Components.VolumesValvesFittings.Fittings.SplitVLE_L2_Ysplit_MP2_LP_A4
ClaRa.Components.TurboMachines.Turbines.SteamTurbineVLE_L1steamTurbine_LP
ClaRa.Visualisation.DynDisplaydynDisplay2
ClaRa.Components.BoundaryConditions.BoundaryVLE_phxipressureSink_ph2
ClaRa.Visualisation.Quadruplequadruple7
ClaRa.Visualisation.DynDisplaydynDisplay3
ClaRa.Visualisation.DynDisplaydynDisplay5
ClaRa.Visualisation.DynDisplaydynDisplay6
ClaRa.Components.HeatExchangers.IdealShell_L2idealShell_L2_1
ClaRa.Components.BoundaryConditions.PrescribedHeatFlowScalarprescribedHeatFlowScalar
TransiEnt.Components.Boundaries.Mechanical.PowerprescribedPower
Modelica.Blocks.Sources.RealExpressionP_out_mech
TransiEnt.Components.Electrical.Machines.ActivePowerGeneratorGenerator
TransiEnt.Components.Electrical.Machines.ExcitationSystemsVoltageController.DummyExcitationSystemExciter
TransiEnt.Components.Mechanical.ConstantInertiaconstantInertia
ClaRa.Components.TurboMachines.Turbines.SteamTurbineVLE_L1steamTurbine_MP1
ClaRa.Components.VolumesValvesFittings.Fittings.SplitVLE_L2_Ysplit_MP1_MP2_A5
ClaRa.Components.TurboMachines.Turbines.SteamTurbineVLE_L1steamTurbine_MP2
ClaRa.Components.HeatExchangers.HEXvle2vle_L3_2ph_CU_simpleA4
ClaRa.Components.HeatExchangers.HEXvle2vle_L3_2ph_CU_simpleA5
ClaRa.Visualisation.DynDisplaydynDisplay4
ClaRa.Components.BoundaryConditions.BoundaryVLE_pTxipressureSink_pT_2
ClaRa.Components.BoundaryConditions.BoundaryVLE_pTxipressureSink_pT_3
ClaRa.Components.VolumesValvesFittings.Valves.GenericValveVLE_L1valveVLE_L2
ClaRa.Components.VolumesValvesFittings.Valves.GenericValveVLE_L1valveVLE_L3
ClaRa.Components.VolumesValvesFittings.Valves.GenericValveVLE_L1valveVLE_L5
ClaRa.Visualisation.Quadruplequadruple1
ClaRa.Visualisation.Quadruplequadruple6
ClaRa.Visualisation.Quadruplequadruple8
ClaRa.Visualisation.Quadruplequadruple9
ClaRa.Visualisation.Quadruplequadruple11
ClaRa.Visualisation.Quadruplequadruple12
ClaRa.Visualisation.Quadruplequadruple13
ClaRa.Components.VolumesValvesFittings.Valves.GenericValveVLE_L1valveVLE_L1
ClaRa.Visualisation.Quadruplequadruple19
TransiEnt.Producer.Combined.LargeScaleCHP.Base.InitCycle_CHPINIT
TransiEnt.Producer.Combined.LargeScaleCHP.Base.InitCycle_CHPNOM
Modelica.Blocks.Continuous.LimPIDPID_steamGenerator
Modelica.Blocks.Sources.RealExpressionPowerOutput
Modelica.Blocks.Math.Gaingain
ClaRa.Components.TurboMachines.Pumps.PumpVLE_L1_simplepumpVLE_L1_simple
Modelica.Blocks.Continuous.LimPIDPID_pump_DH
ClaRa.Components.Sensors.SensorVLE_L1_psensorVLE_L1_p
Modelica.Blocks.Sources.RealExpressionQ_flow_boiler4
Modelica.Blocks.Continuous.LimPIDPID_HEIKOS
Modelica.Blocks.Sources.RealExpressionQ_flow_is_input
Modelica.Blocks.Math.Addadd
Modelica.Blocks.Nonlinear.Limiterlimiter_A5
Modelica.Blocks.Nonlinear.Limiterlimiter_A4
Modelica.Blocks.Sources.RealExpressionQ_flow_cond
ClaRa.Components.VolumesValvesFittings.Valves.GenericValveVLE_L1valveVLE_L6
ClaRa.Components.VolumesValvesFittings.Valves.GenericValveVLE_L1valveVLE_L4
Modelica.Blocks.Sources.RealExpressionQ_flow_boiler5