modelPolytropicFlow

Extends from ThermofluidStream.Idealized.Examples.TUMExercisesThermodynamicCycles.Exercise3OttoEngine.BaseModel.

Information

Example of an Otto cycle engine model. See TUMExercisesThermodynamicCycles.Exercise3OttoEngine for the problem description.

This example makes use of the following components and settings:

This setup is based on the fact that the specific work of a thermodynamic cycle is given by the closed integral in the p–v diagram (pressure - specific volume). Therefore, integrating with respect to volume, p*dv (boundary work as typically transferred in a piston–cylinder system), and integrating with respect to pressure, v*dp (“artificial” shaft work of a dual stationary-flow process), yield the same net cycle work, even though the individual contributions of each process step differ.

Parameters

TypeNameDefaultDescription
Medium.AbsolutePressurep1 (from BaseModel)100000Pressure before compression
Medium.TemperatureT1 (from BaseModel)300Temperature before compression
RealcompressionRatio (from BaseModel)10Compression ratio
Medium.TemperatureT3 (from BaseModel)2200Temperature after combustion
SI.MassFlowRatem_flow (from BaseModel)1Mass flow rate
Medium.Densityrho1 (from BaseModel)Medium.density_pTX(p1, T1, Medium.X_default)Density before compression
Medium.Densityrho2 (from BaseModel)rho1*compressionRatioDensity after compression
SI.SpecificVolumev1 (from BaseModel)1/rho1Specific volume before compression
SI.SpecificVolumev2 (from BaseModel)1/rho2Specific volume after compression

Components

TypeNameDefaultDescription
ThermofluidStream.DropOfCommonsdropOfCommons (from BaseModel)
ThermofluidStream.Idealized.Processes.PolytropicPerfectGascompression
ThermofluidStream.Idealized.Processes.Isochoriccombustion
ThermofluidStream.Idealized.Processes.PolytropicPerfectGasexpansion
ThermofluidStream.Idealized.Processes.IsochoricgasExchange
ThermofluidStream.Idealized.Boundaries.LoopBreaker_mloopBreaker
ThermofluidStream.Idealized.EnergyFlow.Components.SumshaftPower
ThermofluidStream.Utilities.showRealValuemaximumPressure
ThermofluidStream.Utilities.showRealValueefficiency
ThermofluidStream.Utilities.showRealValuenetWork

Revisions

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