modelWarnings3
Example - Isobaric 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 heat flow rate given.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Medium.AbsolutePressure | p | 200000 | Pressure (inlet = outlet) |
| Medium.Temperature | T_in | 293.15 | Inlet temperature |
| SI.AbsolutePressure | p_inf | 100000 | Ambient pressure |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| EnergyFlow.Sources.PrescribedEnergyFlow | energyFlowSource | ||
| ThermofluidStream.Boundaries.Source | source | ||
| ThermofluidStream.Idealized.Processes.Isobaric | isobaricFlow | ||
| .ThermofluidStream.Boundaries.Sink_m | sink | ||
| ThermofluidStream.Boundaries.Source | source1 | ||
| ThermofluidStream.Idealized.Processes.Isobaric | isobaricCycle | ||
| .ThermofluidStream.Boundaries.Sink_m | sink1 | ||
| Modelica.Blocks.Sources.Trapezoid | heatFlowRate | ||
| Modelica.Blocks.Sources.Trapezoid | massFlowRate | ||
| DropOfCommons | dropOfCommons |
Contents
| Name | Description |
|---|---|
Revisions
-
2026, by Raphael Gebhart (raphael.gebhart@dlr.de):
Initial version.