modelCyclePseudoInversion
Turbocharged diesel engine
Extends from ThermofluidStream.Idealized.Examples.TUMExercisesThermodynamicCycles.Exercise5TurboChargedDieselEngine.BaseModel.
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.
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Medium.Density | rho4 | Medium.density(engineCompression.outlet.state) | Density after compression |
| SI.Volume | V4 | m3/rho4 | Volume top dead center (per cylinder) |
| SI.Volume | V_h | V3 - V4 | Engine displacement volume (per cylinder) |
| SI.MassFlowRate | m_flow | rho3*V_h*z*Modelica.Units.Conversions.to_Hz(w)/2 | Averaged mass flow rate (total) |
| ThermofluidStream.DropOfCommons | dropOfCommons | ||
| ThermofluidStream.Idealized.Processes.PolytropicPerfectGas | engineCompression | ||
| ThermofluidStream.Idealized.Processes.Isobaric | combustion | ||
| ThermofluidStream.Idealized.Processes.PolytropicPerfectGas | engineExpansion | ||
| ThermofluidStream.Idealized.Processes.Adiabatic | compressor | ||
| ThermofluidStream.Idealized.Processes.Isobaric | cooler | ||
| ThermofluidStream.Boundaries.Source | source | ||
| ThermofluidStream.Boundaries.Sink_m | sink | ||
| Modelica.Blocks.Sources.RealExpression | massFlowRate | ||
| ThermofluidStream.Idealized.Processes.Adiabatic | turbine | ||
| Modelica.Blocks.Sources.RealExpression | pseudoSourcePower | ||
| ThermofluidStream.Idealized.Processes.Isenthalpic | valve | ||
| ThermofluidStream.Idealized.EnergyFlow.Components.Sum | shaftPower | ||
| ThermofluidStream.Idealized.EnergyFlow.Components.Sum | pseudoSource | ||
| ThermofluidStream.Idealized.Processes.FlowWork | inletFlowWork | ||
| ThermofluidStream.Idealized.Processes.FlowWork | outletFlowWork | ||
| Modelica.Blocks.Continuous.Integrator | integrator | ||
| Modelica.Blocks.Math.Feedback | feedback | ||
| ThermofluidStream.Utilities.showRealValue | massFlowRate1 | ||
| ThermofluidStream.Utilities.showRealValue | turbineWork | ||
| ThermofluidStream.Utilities.showRealValue | power | ||
| ThermofluidStream.Utilities.showRealValue | efficiency |
Revisions
-
2026, by Raphael Gebhart (raphael.gebhart@dlr.de):
Initial version.