Main Content

Saturation Properties Sensor (2P)

Measure liquid and vapor saturation properties in two-phase fluids

Since R2021a

  • Saturation Properties Sensor (2P) block

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

Description

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

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

  • Saturated pressure based on the 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 that measure 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 that measures the saturated liquid temperature based on the pressure at port A.

Dependencies

To enable this port, select the Saturated temperature measurement check box.

Physical signal output port that measures the saturated vapor temperature based on the pressure at port A.

Dependencies

To enable this port, select the Saturated temperature measurement check box.

Physical signal output port that measures the saturated liquid pressure based on the temperature at port A.

Dependencies

To enable this port, select the Saturated pressure measurement check box.

Physical signal output port that measures the saturated vapor pressure based on the temperature at port A.

Dependencies

To enable this port, select the Saturated pressure measurement check box.

Physical signal output port that measures the saturated liquid specific internal energy based on the pressure at port A.

Dependencies

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

Physical signal output port that measures the saturated vapor specific internal energy based on the pressure at port A.

Dependencies

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

Physical signal output port that measures the saturated liquid specific enthalpy based on the pressure at port A.

Dependencies

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

Physical signal output port that measures the saturated vapor specific enthalpy based on the pressure at port A.

Dependencies

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

Physical signal output port that measures the saturated liquid specific volume based on the pressure at port A.

Dependencies

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

Physical signal output port that measures the saturated vapor specific volume based on the pressure at port A.

Dependencies

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

Physical signal output port that measures the saturated liquid density based on the pressure at port A.

Dependencies

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

Physical signal output port that measures the saturated vapor density based on the 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 associated with the sensor inlet. Connect this port to the node in the two-phase fluid network for which you want to measure liquid and vapor saturation properties.

Parameters

expand all

Selecting this check box exposes output ports TL and TV, which measure the saturated liquid and vapor temperature, respectively, based on the pressure at port A.

Selecting this check box enables the Saturated pressure beyond min and max pressure parameter and exposes output ports PL and PV, which measure the saturated liquid and vapor pressure, respectively, based on the 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, which measure the saturated specific internal energy of liquid and vapor, respectively, based on the pressure at port A.

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

Setting this parameter to:

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

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

Extended Capabilities

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

Version History

Introduced in R2021a

expand all