modelEngine_idealGas

Motorblock for ideal gas combustion and choosable mechanical and thermal behavior

Extends from TransiEnt.Components.Gas.Engines.Base.PartialEngine_idealGas (Base class for engines with necessary connectors).

Information

1. Purpose of model

This engine model combines replaceable models for thermal, mechanical and chemical behaviour. There are different stages of modeling depth to be chosen in the parameter dialogue.

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

As this is a composition of other models, the level of detail may differ with the chosen replaceable models.

3. Limits of validity

See replaceable models.

4. Interfaces

fuelPort - connector to gas grid

exhaustPort - connector to the exhaust system (or environment)

waterOut / waterIn - supply and return ports for heating system

5. Nomenclature

(no elements)

6. Governing Equations

Only the fuel mass flow rate is calculated directly in this model, giving

m_flow=P/(eta_el*H_i)

where the lower heating value is calculated by a function.

7. Remarks for Usage

(no elements)

8. Validation

For validation see the replaceable models.

9. References

(no remarks)

10. Version History

Created by Arne Koeppen (arne.koeppen@tuhh.de), Apr 2014

Edited by Jan Braune (jan.braune@tuhh.de), Mar 2015

Edited by Lisa Andresen (andresen@tuhh.de), Aug 2015

Parameters

TypeNameDefaultDescription
SI.VolumeengineDisplacement (from PartialEngine_idealGas)Specification.engineDisplacement
Integern_cylinder (from PartialEngine_idealGas)Specification.n_cylinder
Modelica.Units.NonSI.AngularVelocity_rpmn_n (from PartialEngine_idealGas)Specification.n_n
SI.AngularVelocityomega_n (from PartialEngine_idealGas)Specification.omega_n
SI.CoefficientOfHeatTransferk (from PartialEngine_idealGas)Specification.k
SI.AreaA (from PartialEngine_idealGas)Specification.width*Specification.height*2 + Specification.length*Specification.height*2 + Specification.width*Specification.length
SI.ThermalConductivitythermalConductivity (from PartialEngine_idealGas)Specification.thermalConductivityThermal conductivity between core and mantle
SI.TemperatureT_opt (from PartialEngine_idealGas)Specification.T_optOptimal temperature for maximum efficiency
TransiEnt.Producer.Combined.SmallScaleCHP.Base.BaseCHPSpecificationSpecification (from PartialEngine_idealGas)
SI.SpecificEnthalpyNCV_const40e6set to zero for composition dependent NCV calculation
ReallambdaSpecification.lambda
SI.PressureDifferenceDelta_p_nom1e5Nominal pressure drop in heat flow model
SI.MassFlowRatem_flow_nomheatFlowModel.simCenter.m_flow_nomNominal mass flow rate in heat flow model
Modelica.Units.SI.TemperatureT_init293.15|Initialization||Initial temperature of medium in heat exchangers in heat flow model
Modelica.Units.SI.Pressurep_init6e5|Initialization||Initial pressure of medium in heat exchangers in heat flow model
Technical Specifications
SI.HeatFlowRateQ_flow_out_max (from PartialEngine_idealGas)Specification.Q_flow_out_maxMaximum heat flow rate in W
SI.HeatFlowRateQ_flow_out_min (from PartialEngine_idealGas)Specification.Q_flow_out_minMinimum heat flow rate in W
SI.PowerP_el_max (from PartialEngine_idealGas)Specification.P_el_maxMaximum power output in W
SI.PowerP_el_min (from PartialEngine_idealGas)Specification.P_el_minMinimum power output in W
SI.Massm_engine (from PartialEngine_idealGas)Specification.m_engineApproximate mass of motor
SI.Efficiencyeta_el_max (from PartialEngine_idealGas)Specification.eta_el_maxElectrical efficiency
SI.Efficiencyeta_el_min (from PartialEngine_idealGas)Specification.eta_el_minElectrical efficiency at P_el_min
SI.Efficiencyeta_h_max (from PartialEngine_idealGas)Specification.eta_h_maxTotal efficiency at P_el_min
SI.Efficiencyeta_h_min (from PartialEngine_idealGas)Specification.eta_h_minTotal efficiency at P_el_max
Standby losses
SI.TemperatureT_site (from PartialEngine_idealGas)290Average ambient temperature at plant site

Connectors

TypeNameDefaultDescription
TransiEnt.Basics.Interfaces.General.MechanicalPowerPortmpp (from PartialEngine_idealGas)Mechanical Power Port
TransiEnt.Basics.Interfaces.Electrical.ElectricPowerInP_el_set (from PartialEngine_idealGas)Set Point for Electric Power
Modelica.Blocks.Interfaces.BooleanInputswitch (from PartialEngine_idealGas)
TransiEnt.Basics.Interfaces.Gas.IdealGasEnthPortOutgasPortOut (from PartialEngine_idealGas)Exhaust Gas Port
TransiEnt.Basics.Interfaces.Gas.IdealGasEnthPortIngasPortIn (from PartialEngine_idealGas)Fuel Gas Port
TransiEnt.Basics.Interfaces.Thermal.FluidPortInwaterPortIn (from PartialEngine_idealGas)Fluid Inlet
TransiEnt.Basics.Interfaces.Thermal.FluidPortOutwaterPortOut (from PartialEngine_idealGas)Fluid Outlet

Components

TypeNameDefaultDescription
TransiEnt.SimCentersimCenter (from PartialEngine_idealGas)
SI.HeatFlowRateQ_flow_fuel (from PartialEngine_idealGas)Heat flow rate input from fuel
TILMedia.GasTypes.BaseGasFuelMedium (from PartialEngine_idealGas)simCenter.gasModel2
TILMedia.GasTypes.BaseGasExhaustGas (from PartialEngine_idealGas)simCenter.exhaustGasModel
SI.SpecificEnthalpyNCVTransiEnt.Basics.Functions.GasProperties.getIdealGasNCV_xi(FuelMedium, inStream(gasPortIn.xi_outflow), NCV_const)
CombustionModelcombustionModel
MechanicModelmechanicModel
HeatFlowModelheatFlowModel

Contents

NameDescription
CombustionModel
MechanicModel
HeatFlowModel