modelEngine_idealGas
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

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
| Type | Name | Default | Description |
|---|---|---|---|
| SI.Volume | engineDisplacement (from PartialEngine_idealGas) | Specification.engineDisplacement | |
| Integer | n_cylinder (from PartialEngine_idealGas) | Specification.n_cylinder | |
| Modelica.Units.NonSI.AngularVelocity_rpm | n_n (from PartialEngine_idealGas) | Specification.n_n | |
| SI.AngularVelocity | omega_n (from PartialEngine_idealGas) | Specification.omega_n | |
| SI.CoefficientOfHeatTransfer | k (from PartialEngine_idealGas) | Specification.k | |
| SI.Area | A (from PartialEngine_idealGas) | Specification.width*Specification.height*2 + Specification.length*Specification.height*2 + Specification.width*Specification.length | |
| SI.ThermalConductivity | thermalConductivity (from PartialEngine_idealGas) | Specification.thermalConductivity | Thermal conductivity between core and mantle |
| SI.Temperature | T_opt (from PartialEngine_idealGas) | Specification.T_opt | Optimal temperature for maximum efficiency |
| TransiEnt.Producer.Combined.SmallScaleCHP.Base.BaseCHPSpecification | Specification (from PartialEngine_idealGas) | ||
| SI.SpecificEnthalpy | NCV_const | 40e6 | set to zero for composition dependent NCV calculation |
| Real | lambda | Specification.lambda | |
| SI.PressureDifference | Delta_p_nom | 1e5 | Nominal pressure drop in heat flow model |
| SI.MassFlowRate | m_flow_nom | heatFlowModel.simCenter.m_flow_nom | Nominal mass flow rate in heat flow model |
| Modelica.Units.SI.Temperature | T_init | 293.15 | |Initialization||Initial temperature of medium in heat exchangers in heat flow model |
| Modelica.Units.SI.Pressure | p_init | 6e5 | |Initialization||Initial pressure of medium in heat exchangers in heat flow model |
| Technical Specifications | |||
| SI.HeatFlowRate | Q_flow_out_max (from PartialEngine_idealGas) | Specification.Q_flow_out_max | Maximum heat flow rate in W |
| SI.HeatFlowRate | Q_flow_out_min (from PartialEngine_idealGas) | Specification.Q_flow_out_min | Minimum heat flow rate in W |
| SI.Power | P_el_max (from PartialEngine_idealGas) | Specification.P_el_max | Maximum power output in W |
| SI.Power | P_el_min (from PartialEngine_idealGas) | Specification.P_el_min | Minimum power output in W |
| SI.Mass | m_engine (from PartialEngine_idealGas) | Specification.m_engine | Approximate mass of motor |
| SI.Efficiency | eta_el_max (from PartialEngine_idealGas) | Specification.eta_el_max | Electrical efficiency |
| SI.Efficiency | eta_el_min (from PartialEngine_idealGas) | Specification.eta_el_min | Electrical efficiency at P_el_min |
| SI.Efficiency | eta_h_max (from PartialEngine_idealGas) | Specification.eta_h_max | Total efficiency at P_el_min |
| SI.Efficiency | eta_h_min (from PartialEngine_idealGas) | Specification.eta_h_min | Total efficiency at P_el_max |
| Standby losses | |||
| SI.Temperature | T_site (from PartialEngine_idealGas) | 290 | Average ambient temperature at plant site |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| TransiEnt.Basics.Interfaces.General.MechanicalPowerPort | mpp (from PartialEngine_idealGas) | Mechanical Power Port | |
| TransiEnt.Basics.Interfaces.Electrical.ElectricPowerIn | P_el_set (from PartialEngine_idealGas) | Set Point for Electric Power | |
| Modelica.Blocks.Interfaces.BooleanInput | switch (from PartialEngine_idealGas) | ||
| TransiEnt.Basics.Interfaces.Gas.IdealGasEnthPortOut | gasPortOut (from PartialEngine_idealGas) | Exhaust Gas Port | |
| TransiEnt.Basics.Interfaces.Gas.IdealGasEnthPortIn | gasPortIn (from PartialEngine_idealGas) | Fuel Gas Port | |
| TransiEnt.Basics.Interfaces.Thermal.FluidPortIn | waterPortIn (from PartialEngine_idealGas) | Fluid Inlet | |
| TransiEnt.Basics.Interfaces.Thermal.FluidPortOut | waterPortOut (from PartialEngine_idealGas) | Fluid Outlet |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| TransiEnt.SimCenter | simCenter (from PartialEngine_idealGas) | ||
| SI.HeatFlowRate | Q_flow_fuel (from PartialEngine_idealGas) | Heat flow rate input from fuel | |
| TILMedia.GasTypes.BaseGas | FuelMedium (from PartialEngine_idealGas) | simCenter.gasModel2 | |
| TILMedia.GasTypes.BaseGas | ExhaustGas (from PartialEngine_idealGas) | simCenter.exhaustGasModel | |
| SI.SpecificEnthalpy | NCV | TransiEnt.Basics.Functions.GasProperties.getIdealGasNCV_xi(FuelMedium, inStream(gasPortIn.xi_outflow), NCV_const) | |
| CombustionModel | combustionModel | ||
| MechanicModel | mechanicModel | ||
| HeatFlowModel | heatFlowModel |
Contents
| Name | Description |
|---|---|