modelWarnings3
Example - Isochoric 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_in | 100000 | Inlet pressure |
| Medium.Temperature | T_in | 293.15 | Inlet temperature |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| ThermofluidStream.Boundaries.Source | source | ||
| .ThermofluidStream.Boundaries.Sink_m | sink | ||
| ThermofluidStream.Idealized.Processes.Isochoric | isochoricCycle | ||
| EnergyFlow.Sources.PrescribedEnergyFlow | energyFlowSource | ||
| .ThermofluidStream.Boundaries.Source | source1 | ||
| .ThermofluidStream.Boundaries.Sink_m | sink1 | ||
| ThermofluidStream.Idealized.Processes.Isochoric | isochoricFlow | ||
| 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.