modelModularCHP_PowerUnit

Model of modular CHP power unit

Information

This model shows the implementation of a holistic overall model for a CHP power unit using the example of the Kirsch L4.12. The model is able to map different gas engine CHPs of small and medium power classes (< 200 kWel). It allows an investigation of the thermal and electrical dynamics of the individual components and the entire plant. In addition, a CO2 balance can be calculated for the comparison of different control strategies.

The modular CHP model is aggregated from closed submodels that can be run on their own. These are based on physical calculation approaches and offer mechanical, material and thermal interfaces. The thermal interconnection of the exhaust gas heat exchanger and combustion engine in the internal primary circuit is freely selectable. Detailed explanations of how the submodels work are provided in their documentation. Parameterization and control are realized on the highest model level using bus ports to transmit measured and calculated signals throughout the different hierarchical model levels.

Calibration:

If the calibration of the model is not to be performed for all listed calibration quantities, a quick adaptation of the essential model quantities for the use of are carried out. Setting the speed of the generator and internal combustion engine for the nominal power point using the calibration variables tilting slip, electrical calibration factor and modulation factor results in a high correspondence for electrical power and fuel input for each power stage of the CHP. The thermal output can then be checked by checking the flue gas temperature when the system exits. The examination of the data sheets of some cogeneration units provides general comparative values for the flue gas temperature in a range around 50 °C with and around 110 °C without condensing utilisation at rated output. The flue gas temperature can mainly be adjusted using the heat transitions G_CoolChannel and G_CooExhHex. Finally, the parameters of the heat exchanger can be adapted to the heating circuit.

Limitations:

Supercharged internal combustion engines and diesel engines cannot be completely mapped.

  • April, 2019  by Julian Matthes:
    First implementation (see issue #667)

Parameters

TypeNameDefaultDescription
Unit properties
AixLib.DataBase.CHP.ModularCHPEngineData.CHPEngDataBaseRecordCHPEngineModelDataBase.CHP.ModularCHPEngineData.CHP_Kirsch_L4_12()CHP engine data for calculations
AixLib.Fluid.BoilerCHP.Data.ModularCHP.EngineMaterialDataEngMatAixLib.Fluid.BoilerCHP.Data.ModularCHP.EngineMaterial_CastIron()Thermal engine material data for calculations
Ambient Parameters
Modelica.Units.SI.TemperatureT_amb298.15Default ambient temperature
Modelica.Units.SI.AbsolutePressurep_amb101325Default ambient pressure
Calibration parameters › Fast calibration - Electric power and fuel usage
Reals_tilabs((inductionMachine.s_nominal*(inductionMachine.M_til/inductionMachine.M_nominal) + inductionMachine.s_nominal*sqrt(abs(((inductionMachine.M_til/inductionMachine.M_nominal)^2) - 1 + 2*inductionMachine.s_nominal*((inductionMachine.M_til/inductionMachine.M_nominal) - 1))))/(1 - 2*inductionMachine.s_nominal*((inductionMachine.M_til/inductionMachine.M_nominal) - 1)))Tilting slip of electric machine
RealcalFac1Calibration factor for electric power output (default=1)
Calibration parameters › Fast calibration - Thermal power output
Modelica.Units.SI.ThermalConductanceGEngToCoo33Thermal conductance of engine housing from the cylinder wall to the water cooling channels
Modelica.Units.SI.ThermalConductanceGCooExhHex400Thermal conductance of exhaust heat exchanger to cooling circuit
Modelica.Units.SI.ThicknessdInn0.01Typical value for the thickness of the cylinder wall (between combustion chamber and cooling circle)
Calibration parameters › Advanced calibration parameters
Modelica.Units.SI.MassmEngCHPEngineModel.mEngTotal engine mass for heat capacity calculation
Modelica.Units.SI.HeatCapacityCExhHex50000Heat capacity of exhaust heat exchanger(default= 4000 J/K)
Modelica.Units.SI.ThermalConductanceGEngToAmb0.23Thermal conductance from engine housing to the surrounding air
Modelica.Units.SI.ThermalConductanceGAmb5Constant thermal conductance of material
Modelica.Units.SI.AreaA_surExhHea50Surface for exhaust heat transfer
Modelica.Units.SI.MassFlowRatem_flowCHPEngineModel.m_floCooNominalNominal mass flow rate of coolant inside the engine cooling circle
Advanced › Latent heat use
BooleanConTecfalseIs condensing technology used and should latent heat be considered?
Advanced › Generator heat use
BooleanuseGenHeatrueIs the thermal loss energy of the elctric machine used?
Advanced › Assumptions
BooleanallowFlowReversalExhausttrue= false to simplify equations, assuming, but not enforcing, no flow reversal for exhaust medium
BooleanallowFlowReversalCoolanttrue= false to simplify equations, assuming, but not enforcing, no flow reversal for coolant medium
Modelica.Units.SI.MassFlowRatemExh_flow_small0.0001Small exhaust mass flow rate for regularization of zero flow
Modelica.Units.SI.MassFlowRatemCool_flow_small0.0001Small coolant mass flow rate for regularization of zero flow

Components

TypeNameDefaultDescription
Modelica.Units.SI.PowerQ_Thermif (submodelCooling.heatPort_outside.Q_flow + exhaustHeatExchanger.pipeCoolant.heatPort_outside.Q_flow) > 10 then submodelCooling.heatPort_outside.Q_flow + exhaustHeatExchanger.pipeCoolant.heatPort_outside.Q_flow else 1Thermal power output of the CHP unit
Modelica.Units.SI.PowerP_MechgasolineEngineChp.cHPCombustionEngine.P_effMechanical power output of the CHP unit
Modelica.Units.SI.PowerP_El-inductionMachine.P_EElectrical power output of the CHP unit
Modelica.Units.SI.PowerP_Fuelif (gasolineEngineChp.cHPEngBus.isOn) then m_flow_Fue*Medium_Fuel.H_U else 0CHP fuel expenses
Modelica.Units.SI.PowerQ_TotUnusedgasolineEngineChp.cHPCombustionEngine.Q_therm - gasolineEngineChp.engineToCoolant.actualHeatFlowEngine.Q_flow + exhaustHeatExchanger.volExhaust.heatPort.Q_flowTotal heat error of the CHP unit
Modelica.Units.SI.MassFlowRatem_flow_CO2gasolineEngineChp.cHPCombustionEngine.m_flow_CO2ExhCO2 emission output rate
Modelica.Units.SI.MassFlowRatem_flow_Fueif (gasolineEngineChp.cHPCombustionEngine.m_flow_Fue) > 0.0001 then gasolineEngineChp.cHPCombustionEngine.m_flow_Fue else 0.0001Fuel consumption rate of CHP unit
SpecificEmissionb_CO2if noEvent(abs(Q_Therm + P_El) > 0) then 3600000000.0*m_flow_CO2/(Q_Therm + P_El) else 0Specific CO2 emissions per kWh (heat and power)
SpecificEmissionb_eif noEvent(abs(Q_Therm + P_El) > 0) then 3600000000.0*m_flow_Fue/(Q_Therm + P_El) else 0Specific fuel consumption per kWh (heat and power)
RealFueUtiRate(Q_Therm + P_El)/(m_flow_Fue*Medium_Fuel.H_U)Fuel utilization rate of the CHP unit
RealPowHeatRatioP_El/Q_ThermPower to heat ration of the CHP unit
Realeta_ThermQ_Therm/(m_flow_Fue*Medium_Fuel.H_U)Thermal efficiency of the CHP unit
Realeta_MechP_Mech/(m_flow_Fue*Medium_Fuel.H_U)Mechanical efficiency of the CHP unit
Realeta_ElP_El/(m_flow_Fue*Medium_Fuel.H_U)Mechanical efficiency of the CHP unit
Modelica.Fluid.Systemsystem
Modelica.Fluid.Sources.FixedBoundaryoutletExhaustGas
Modelica.Thermal.HeatTransfer.Sources.FixedTemperatureambientTemperatureAmbient temperature for thermal loss calculation
Modelica.Thermal.HeatTransfer.Sensors.HeatFlowSensorheatFlowSensor
AixLib.Fluid.BoilerCHP.ModularCHP.BaseClasses.ExhaustHeatExchangerexhaustHeatExchangerExhaust gas heat exchanger of a CHP power unit
AixLib.Fluid.BoilerCHP.ModularCHP.BaseClasses.CHP_ElectricMachineinductionMachineInduction machine working as a starter motor and generator inside the CHP power unit
Modelica.Fluid.Interfaces.FluidPort_aport_retCooFluid port for the return flow side of the cooling circuit
Modelica.Fluid.Interfaces.FluidPort_bport_supCooFluid port for the supply flow side of the cooling circuit
AixLib.Fluid.BoilerCHP.ModularCHP.BaseClasses.GasolineEngineChpgasolineEngineChpCombustion engine with thermal and mechanical power output
AixLib.Controls.Interfaces.CHPControlBussigBusCHPSignal bus connector for the CHP power unit
AixLib.Fluid.BoilerCHP.ModularCHP.BaseClasses.SubmodelCoolingsubmodelCoolingModel of the main fluid components inside the cooling circuit of a CHP power unit
Modelica.Blocks.Sources.RealExpressionspecificFuelUse
Modelica.Blocks.Sources.RealExpressionspecificCO2
Modelica.Blocks.Sources.RealExpressionthermalPowerCHP
Modelica.Blocks.Sources.RealExpressionthermalEfficiencyCHP
Modelica.Blocks.Sources.RealExpressionelectricEfficiencyCHP
Modelica.Blocks.Sources.RealExpressionfuelUtilizationRate

Contents

NameDescription
Medium_Fuel
Medium_Coolant
SpecificEmission
Medium_Airprotected
Medium_Exhaustprotected