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

TypeNameDefaultDescription
ThermofluidStream.Idealized.Processes.Adiabaticcompressor
ThermofluidStream.DropOfCommonsdropOfCommons
ThermofluidStream.Idealized.Processes.Isobariccondensor
ThermofluidStream.Idealized.Processes.Isenthalpicvalve
ThermofluidStream.Idealized.Processes.Isobaricevaporator
ThermofluidStream.Idealized.Boundaries.LoopBreaker_mloopBreaker
Modelica.Blocks.Sources.RealExpressionh_dew
ThermofluidStream.Utilities.showRealValuecoefficientOfPerformanceSpecific
Modelica.Blocks.Sources.RealExpressionh_bubble
ThermofluidStream.Utilities.showRealValuecoefficientOfPerformanceExtensive
Modelica.Blocks.Sources.RampcondensorPressure

Contents

NameDescription
Medium

Revisions

  • 2026, by Raphael Gebhart (raphael.gebhart@dlr.de):
    Initial version.