modelStep2Temperatures

Extends from Modelica.Icons.Example (Icon for runnable examples).

Information

In a second step, the evaporator and condenser pressure levels are calculated from prescribed temperatures.

Again the coefficient of performance (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.

Parameters

TypeNameDefaultDescription
Medium.TemperatureT_Evaporator253.15Evaporator temperature
Medium.AbsolutePressurep_EvaporatorMedium.saturationPressure(T_Evaporator)Evaporator pressure
Medium.SpecificEnthalpyh_EvaporatorOutMedium.dewEnthalpy(Medium.setSat_T(T_Evaporator))Evaporator outlet specific enthalpy

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
ThermofluidStream.Utilities.showRealValuecoefficientOfPerformanceSpecific
ThermofluidStream.Utilities.showRealValuecoefficientOfPerformanceExtensive
Modelica.Blocks.Sources.RampcondensorTemperature
Modelica.Blocks.Sources.RealExpressioncondenserPressure
Modelica.Blocks.Sources.RealExpressioncondenserOutletEnthalpy

Contents

NameDescription
Medium

Revisions

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