modelStep1Simple
Extends from Modelica.Icons.Example (Icon for runnable examples).
Information
In a first step, a simple vapor compression cycle is established. The evaporator outlet is assumed to be saturated vapor, while the condenser outlet is assumed to be saturated liquid. The mass flow rate and the low-pressure level are kept constant, whereas the high-pressure level is varied linearly over time. The coefficient of performance (COP) is evaluated both on a specific basis and using extensive quantities.
The COP is not continuous due to interpolation artifacts in the Modelica medium R134a_ph. These discontinuities are not physical and do not occur when using TIL R134a. Such non-smooth behavior can adversely affect controller performance and may significantly slow down the simulation.
Further documentation is available in the VaporCycle package.
Components
| Type | Name | Default | Description |
|---|---|---|---|
| ThermofluidStream.Idealized.Processes.Adiabatic | compressor | ||
| ThermofluidStream.DropOfCommons | dropOfCommons | ||
| ThermofluidStream.Idealized.Processes.Isobaric | condensor | ||
| ThermofluidStream.Idealized.Processes.Isenthalpic | valve | ||
| ThermofluidStream.Idealized.Processes.Isobaric | evaporator | ||
| ThermofluidStream.Idealized.Boundaries.LoopBreaker_m | loopBreaker | ||
| Modelica.Blocks.Sources.RealExpression | h_dew | ||
| ThermofluidStream.Utilities.showRealValue | coefficientOfPerformanceSpecific | ||
| Modelica.Blocks.Sources.RealExpression | h_bubble | ||
| ThermofluidStream.Utilities.showRealValue | coefficientOfPerformanceExtensive | ||
| Modelica.Blocks.Sources.Ramp | condensorPressure |
Contents
| Name | Description |
|---|---|
Revisions
-
2026, by Raphael Gebhart (raphael.gebhart@dlr.de):
Initial version.