modelWarnings3
Example - adiabatic process
Extends from Modelica.Icons.Example (Icon for runnable examples).
Information
This example checks if warnings are issued correctly in the case of mass flow rate and power given (FullMedium model).
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Medium.AbsolutePressure | p_in | 100000 | Inlet pressure |
| Medium.Temperature | T_in | 293.15 | Inlet temperature |
| SI.Efficiency | eta_is | 0.8 | Isentropic efficiency |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| ThermofluidStream.DropOfCommons | dropOfCommons | ||
| .ThermofluidStream.Boundaries.Source | source | ||
| ThermofluidStream.Boundaries.Sink_m | sink | ||
| ThermofluidStream.Idealized.Processes.Adiabatic | adiabaticFilter | ||
| EnergyFlow.Sources.PrescribedEnergyFlow | energyFlowSource | ||
| ThermofluidStream.Boundaries.Source | source1 | ||
| ThermofluidStream.Boundaries.Sink_m | sink1 | ||
| ThermofluidStream.Idealized.Processes.Adiabatic | adiabatic | ||
| Modelica.Blocks.Sources.Trapezoid | power | ||
| Modelica.Blocks.Sources.Trapezoid | massFlowRate |
Contents
| Name | Description |
|---|---|
Revisions
-
2026, by Raphael Gebhart (raphael.gebhart@dlr.de):
Initial version.