modelCyclePseudoInversion

Turbocharged diesel engine

Extends from ThermofluidStream.Idealized.Examples.TUMExercisesThermodynamicCycles.Exercise5TurboChargedDieselEngine.BaseModel (Defines the parameters).

Information

Example of a turbocharged Diesel engine cycle. See TUMExercisesThermodynamicCycles.Exercise5TurboChargedDieselEngine for the problem description.

This example makes use of the systemSpec = Cycle SystemModel for the Diesel engine.

When coupling models configured with systemSpec = Cycle and systemSpec = Flow, the FlowWork model is required, since flow work must be treated explicitly to ensure a consistent energy balance between both representations.

A "pseudo controller" is used to avoid the implicit nonlinear equation.

Parameters

TypeNameDefaultDescription
SI.AngularVelocityw (from BaseModel)209.43951023932Engine speed
Integerz (from BaseModel)6Number of cylinders
SI.VolumeV3 (from BaseModel)0.0025Volume bottom dead center (per cylinder)
Medium.TemperatureT1 (from BaseModel)300Environmental temperature
Medium.AbsolutePressurep1 (from BaseModel)100000Environmental pressure
Medium.AbsolutePressurep2 (from BaseModel)120000Compressor outlet pressure
Medium.AbsolutePressurep4 (from BaseModel)80.62e5Pressure after engine compression
Medium.TemperatureT5 (from BaseModel)1700Temperature after combustion
Medium.ThermodynamicStatestate3 (from BaseModel)Medium.setState_pT(p2, T1)Engine inlet state
Medium.Densityrho3 (from BaseModel)Medium.density(state3)Density before compression
SI.Massm3 (from BaseModel)rho3*V3Mass bottom dead center (per cylinder)

Components

TypeNameDefaultDescription
Medium.Densityrho4Medium.density(engineCompression.outlet.state)Density after compression
SI.VolumeV4m3/rho4Volume top dead center (per cylinder)
SI.VolumeV_hV3 - V4Engine displacement volume (per cylinder)
SI.MassFlowRatem_flowrho3*V_h*z*Modelica.Units.Conversions.to_Hz(w)/2Averaged mass flow rate (total)
ThermofluidStream.DropOfCommonsdropOfCommons
ThermofluidStream.Idealized.Processes.PolytropicPerfectGasengineCompression
ThermofluidStream.Idealized.Processes.Isobariccombustion
ThermofluidStream.Idealized.Processes.PolytropicPerfectGasengineExpansion
ThermofluidStream.Idealized.Processes.Adiabaticcompressor
ThermofluidStream.Idealized.Processes.Isobariccooler
ThermofluidStream.Boundaries.Sourcesource
ThermofluidStream.Boundaries.Sink_msink
Modelica.Blocks.Sources.RealExpressionmassFlowRate
ThermofluidStream.Idealized.Processes.Adiabaticturbine
Modelica.Blocks.Sources.RealExpressionpseudoSourcePower
ThermofluidStream.Idealized.Processes.Isenthalpicvalve
ThermofluidStream.Idealized.EnergyFlow.Components.SumshaftPower
ThermofluidStream.Idealized.EnergyFlow.Components.SumpseudoSource
ThermofluidStream.Idealized.Processes.FlowWorkinletFlowWork
ThermofluidStream.Idealized.Processes.FlowWorkoutletFlowWork
Modelica.Blocks.Continuous.Integratorintegrator
Modelica.Blocks.Math.Feedbackfeedback
ThermofluidStream.Utilities.showRealValuemassFlowRate1
ThermofluidStream.Utilities.showRealValueturbineWork
ThermofluidStream.Utilities.showRealValuepower
ThermofluidStream.Utilities.showRealValueefficiency

Revisions

  • 2026, by Raphael Gebhart (raphael.gebhart@dlr.de):
    Initial version.