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
| Type | Name | Default | Description |
|---|---|---|---|
| Medium.Temperature | T_Evaporator | 253.15 | Evaporator temperature |
| Medium.AbsolutePressure | p_Evaporator | Medium.saturationPressure(T_Evaporator) | Evaporator pressure |
| Medium.SpecificEnthalpy | h_EvaporatorOut | Medium.dewEnthalpy(Medium.setSat_T(T_Evaporator)) | Evaporator outlet specific enthalpy |
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 | ||
| ThermofluidStream.Utilities.showRealValue | coefficientOfPerformanceSpecific | ||
| ThermofluidStream.Utilities.showRealValue | coefficientOfPerformanceExtensive | ||
| Modelica.Blocks.Sources.Ramp | condensorTemperature | ||
| Modelica.Blocks.Sources.RealExpression | condenserPressure | ||
| Modelica.Blocks.Sources.RealExpression | condenserOutletEnthalpy |
Contents
| Name | Description |
|---|---|
Revisions
-
2026, by Raphael Gebhart (raphael.gebhart@dlr.de):
Initial version.