modelStep4Separator
Extends from Modelica.Icons.Example (Icon for runnable examples), ThermofluidStream.Idealized.Utilities.IconInertanceNeglect (Icon for considerInertance = false).
Information
In a forth step, the intermediate heat exchanger is replaced by a flashChamber operating at an intermediate pressure level.
The evaporator and condenser temperature and the cooling heat flow rate are set. The flashChamber pressure level is varied linearly over time between the lower and higher pressure level
and the coefficient of performance (COP) is evaluated.
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.
Since the flashChamber pressure is varying with time the inverse calculation of the mass flow rate in the upper loop
based on the mass flow rate in the lower loop requires considerInertance = false, also see
UsersGuide.InertanceNeglect.
Further documentation is available in the VaporCycle package.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Medium.Temperature | T_Evaporator | 253.15 | Evaporator temperature |
| Medium.Temperature | T_Condensor | 323.15 | Condensor temperature |
| Medium.AbsolutePressure | p_Evaporator | Medium.saturationPressure(T_Evaporator) | Evaporator pressure |
| Medium.AbsolutePressure | p_Condensor | Medium.saturationPressure(T_Condensor) | Condensor pressure |
| Medium.SpecificEnthalpy | h_out_Evaporator | Medium.dewEnthalpy(Medium.setSat_T(T_Evaporator)) | Evaporator outlet specific enthalpy |
| Medium.SpecificEnthalpy | h_out_Condensor | Medium.bubbleEnthalpy(Medium.setSat_T(T_Condensor)) | Condensor outlet specific enthalpy |
Components
Contents
| Name | Description |
|---|---|
Revisions
-
2026, by Raphael Gebhart (raphael.gebhart@dlr.de):
Initial version.