modelTwoPhaseSeparator

Test model to show the functionality of the two-phase seperator

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

Information

This is a simple example model to test the two-phase separator model. Therefore, the tank's temperature at inlet is a function of time as well as the tank's pressure at outlet. The time dependencies of temperature and pressure leads to changes of steam quality at inlet and outlet conditions as well as the tank's mean steam quality.

Suggestions

Although the two-phase separator works for water introduced as two-phase medium (e.g. WaterIF97_phy), it is recommended to use refrigerants as working fluids.

Parameters

TypeNameDefaultDescription
Modelica.Units.SI.AbsolutePressurepInlMedium.pressure(Medium.setBubbleState(Medium.setSat_T(TInl + 5)))Actual pressure at inlet conditions
Modelica.Units.SI.TemperatureTInl323.15Actual temperature at inlet conditions
Modelica.Units.SI.AbsolutePressurepOutMedium.pressure(Medium.setDewState(Medium.setSat_T(TOut)))Actual set point of the compressor's outlet pressure
Modelica.Units.SI.TemperatureTOut333.15Actual temperature at outlet conditions

Components

TypeNameDefaultDescription
Modelica.Blocks.Sources.RampramphInlRamp to provide temperature at tank's inlet
Sources.MassFlowSource_hsourceSource of constant mass flow and variable enthalpy
AixLib.Fluid.Storage.TwoPhaseSeparatortwoPhaseSeperatorModel of a two-phase tank loacted after condenser
Sources.Boundary_phsinkSink of constant enthalpy and variable pressure
Modelica.Blocks.Sources.RamprampPOutRamp to provide pressure at tank's outlet
Modelica.Thermal.HeatTransfer.Sources.FixedTemperaturefixedTemperatureFixed ambient temperature to simulate heat losses to ambient

Contents

NameDescription
MediumActual medium of the compressor

Revisions

  • October 18, 2017, by Mirko Engelpracht, Christian Vering:
    First implementation (see issue 457).