Main Content

Saturation Properties Sensor (2P)

Measure liquid and vapor saturation properties in two-phase fluids

  • Library:
  • Simscape / Foundation Library / Two-Phase Fluid / Sensors

  • Saturation Properties Sensor (2P) block

Description

The Saturation Properties Sensor (2P) block represents an ideal sensor that lets you measure liquid and vapor saturation properties in a two-phase fluid network:

  • Saturated temperature, specific volume, internal energy, or enthalpy, based on pressure measurement

  • Saturated pressure, based on temperature measurement

The block measures these properties at the node connected to port A. There is no mass or energy flow through the sensor.

By default, only the output ports for measuring the saturated liquid and vapor temperatures, TL and TV, are visible on the block icon. Use the block parameters to control visibility of output ports for the other measurements.

Ports

Output

expand all

Physical signal output port for measuring saturated liquid temperature based on pressure at port A.

Physical signal output port for measuring saturated vapor temperature based on pressure at port A.

Physical signal output port for measuring saturated liquid pressure based on temperature at port A.

Dependencies

To enable this port, set the Saturated pressure measurement parameter to On.

Physical signal output port for measuring saturated vapor pressure based on temperature at port A.

Dependencies

To enable this port, set the Saturated pressure measurement parameter to On.

Physical signal output port for measuring saturated liquid specific internal energy based on pressure at port A.

Dependencies

To enable this port, set the Energy measurement parameter to Saturated specific internal energy.

Physical signal output port for measuring saturated vapor specific internal energy based on pressure at port A.

Dependencies

To enable this port, set the Energy measurement parameter to Saturated specific internal energy.

Physical signal output port for measuring saturated liquid specific enthalpy based on pressure at port A.

Dependencies

To enable this port, set the Energy measurement parameter to Saturated specific enthalpy.

Physical signal output port for measuring saturated vapor specific enthalpy based on pressure at port A.

Dependencies

To enable this port, set the Energy measurement parameter to Saturated specific enthalpy.

Physical signal output port for measuring saturated liquid specific volume based on pressure at port A.

Dependencies

To enable this port, set the Density measurement parameter to Saturated specific volume.

Physical signal output port for measuring saturated vapor specific volume based on pressure at port A.

Dependencies

To enable this port, set the Density measurement parameter to Saturated specific volume.

Physical signal output port for measuring saturated liquid density based on pressure at port A.

Dependencies

To enable this port, set the Density measurement parameter to Saturated density.

Physical signal output port for measuring saturated vapor density based on pressure at port A.

Dependencies

To enable this port, set the Density measurement parameter to Saturated density.

Conserving

expand all

Two-phase fluid conserving port. Connect this port to the node in the two-phase fluid network where you want to measure the liquid and vapor properties.

Parameters

expand all

Setting this parameter to On enables the Saturated pressure beyond min and max pressure parameter and exposes output ports PL and PV, to let you measure saturated liquid and vapor pressure, respectively, based on temperature at port A.

When either of the saturated pressures is below the minimum pressure or above the maximum pressure specified in the fluid properties, then the saturated pressure value is based on extrapolated values of the temperature tables, rather than the interpolation within the table. Choose your reporting preference for when the saturated pressure is out of bounds:

  • Error — Simulation stops with an error.

  • Warn — The block issues a warning.

  • None — The block does not issue an assertion.

Dependencies

To enable this parameter, set Saturated pressure measurement to On.

Setting this parameter to:

  • Saturated specific internal energy — Exposes output ports UL and UV, to let you measure saturated specific internal energy of liquid and vapor, respectively, based on pressure at port A.

  • Saturated specific enthalpy — Exposes output ports HL and HV, to let you measure saturated specific enthalpy of liquid and vapor, respectively, based on pressure at port A.

Setting this parameter to:

  • Saturated specific volume — Exposes output ports VL and VV, to let you measure saturated specific volume of liquid and vapor, respectively, based on pressure at port A.

  • Saturated density — Exposes output ports rhoL and rhoV, to let you measure saturated density of liquid and vapor, respectively, based on pressure at port A.

Extended Capabilities

C/C++ Code Generation
Generate C and C++ code using Simulink® Coder™.

Introduced in R2021a