modelFixed2
Example - adiabatic process
Extends from Modelica.Icons.Example (Icon for runnable examples), ThermofluidStream.Idealized.Tests.Processes.Adiabatic.PartialFixed (Base class).
Information
This example illustrates several variants of using the Adiabatic process defined by parameters (outlet state and power given, FullMedium model).
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| SI.MassFlowRate | m_flow (from PartialFixed) | 1 | Mass flow rate |
| Medium.AbsolutePressure | p_in (from PartialFixed) | 100000 | Inlet pressure |
| Medium.Temperature | T_in (from PartialFixed) | 293.15 | Inlet temperature |
| SI.PressureDifference | dp (from PartialFixed) | 100000 | Pressure difference |
| SI.Efficiency | eta_is (from PartialFixed) | 0.8 | Isentropic efficiency |
| Medium.AbsolutePressure | p_out (from PartialFixed) | p_in + dp | Outlet pressure |
| Real | pRatio (from PartialFixed) | p_out/p_in | Pressure ratio |
| Medium.ThermodynamicState | state_in (from PartialFixed) | Medium.setState_pT(p_in, T_in) |
Components
Revisions
-
2026, by Raphael Gebhart (raphael.gebhart@dlr.de):
Initial version.