modelDynamicEngineMechanics
Extends from TransiEnt.Components.Gas.Engines.Mechanics.BasicEngineMechanics (Partial model for mechanical behavior of a gas engine).
Information
1. Purpose of model
Simple model for the mechanical behaviour of an engine to supply a targeted mechanical power output.
2. Level of detail, physical effects considered, and physical insight
Based on the staticEngineMechanics model a 2nd-order transfer function has been added to take the dynamical behaviour of the engine into account.
3. Limits of validity
(Purely technical component without physical modeling.)
4. Interfaces
switch - boolean input to switch the engine on/off
P_el - target mechanical power input
efficienciesOut[2] - ouput connector for electrical [1] and overall [2] efficiency of the engine
temperaturesIn[2] - input connector for temperature levels in the engine (as the efficiencies in the more complex models are calculated based on temperature-dependent empirical equations)
mpp - port for mechanical power output
5. Nomenclature
(no elements)
6. Governing Equations
The electrical and overall efficiencies are calculated based on a linear interpolation approach between minimum and maximum power output, as can be seen in the following picture

The 2nd-order transfer function, describing the mechanical inertia of the engine can be adapted via the parameters damping and angular frequency.
7. Remarks for Usage
(no elements)
8. Validation
This model has been parametrised and validated as part of the overall CHP-model (DACHS HKA G5.5).
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
Revised by Lisa Andresen (andresen@tuhh.de), Aug 2015
Edited by Anne Senkel (anne.senkel@tuhh.de), Feb 2019
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| TransiEnt.Producer.Combined.SmallScaleCHP.Base.BaseCHPSpecification | Specification (from BasicEngineMechanics) | Record containing specific chp parameters | |
| Modelica.Units.SI.Pressure | p_me_n | Specification.P_el_max/Specification.omega_n/Specification.engineDisplacement*4*Modelica.Constants.pi/Specification.n_cylinder | Nominal mean effective pressure at P_max |
| Modelica.Units.SI.Pressure | p_mf_n | (1/Specification.eta_m - 1)*p_me_n | Nominal friction mean effective pressure at P_max |
| Modelica.Units.SI.Velocity | c_m | Specification.n_n*Specification.pistonStroke/30 | |
| Modelica.Units.NonSI.Temperature_degC | theta_cylinder_opt | 145 | Optimal temperature of cylinder |
| Modelica.Units.SI.SpecificHeatCapacity | cp_iron | 490 | TILMedia steel |
| Stanby losses | |||
| Modelica.Units.SI.Temperature | T_site | 290 | Average outside temperature at plant site |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| TransiEnt.Basics.Interfaces.Electrical.ElectricPowerIn | P_el_set (from BasicEngineMechanics) | ||
| Modelica.Blocks.Interfaces.BooleanInput | switch (from BasicEngineMechanics) | ||
| TransiEnt.Basics.Interfaces.General.MechanicalPowerPort | mpp (from BasicEngineMechanics) | ||
| Modelica.Blocks.Interfaces.RealOutput | efficienciesOut (from BasicEngineMechanics) | {eta_el, eta_h} | [1] = eta_el, [2] = eta_h |
| TransiEnt.Basics.Interfaces.General.TemperatureIn | TemperaturesIn (from BasicEngineMechanics) |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| SI.Efficiency | eta_el (from BasicEngineMechanics) | Electrical efficiency | |
| SI.Efficiency | eta_h (from BasicEngineMechanics) | Overall efficiency | |
| PartloadEfficiency | partloadEfficiency (from BasicEngineMechanics) | ||
| Modelica.Blocks.Sources.RealExpression | realExpression (from BasicEngineMechanics) | ||
| Modelica.Units.SI.Temperature | T_cylinderWall | Temperature of cylinder wall | |
| Modelica.Units.SI.Temperature | T_innerEngine | TemperaturesIn[2] | |
| Modelica.Units.SI.Temperature | T_outerEngine | TemperaturesIn[1] | |
| Real | eta_start | ||
| Modelica.Units.SI.Pressure | p_me | Mean effective pressure | |
| Modelica.Units.SI.Pressure | p_mf | Friction mean effective pressure | |
| Modelica.Blocks.Logical.Switch | ignition | ||
| Modelica.Blocks.Continuous.SecondOrder | secondOrder | ||
| Modelica.Blocks.Nonlinear.Limiter | limiter | ||
| Modelica.Blocks.Logical.Switch | clutch | ||
| Modelica.Blocks.MathBoolean.OnDelay | onDelay | ||
| Modelica.Blocks.Sources.Constant | zero | ||
| TransiEnt.Components.Boundaries.Mechanical.Power | mechanicalPower | ||
| Modelica.Blocks.Continuous.SecondOrder | secondOrder1 |