Saturation Properties Sensor (2P)
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
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
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
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 R2021aThe Saturation Properties Sensor (2P) block now has the Saturated temperature measurement check box, which controls the visibility of ports TL and TV on the block icon. The Saturated pressure measurement parameter, which controls the visibility of ports PL and PV, is now a check box.
This change has no compatibility impact.
See Also
MATLAB Command
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
Seleccione un país/idioma
Seleccione un país/idioma para obtener contenido traducido, si está disponible, y ver eventos y ofertas de productos y servicios locales. Según su ubicación geográfica, recomendamos que seleccione: .
También puede seleccionar uno de estos países/idiomas:
Cómo obtener el mejor rendimiento
Seleccione China (en idioma chino o inglés) para obtener el mejor rendimiento. Los sitios web de otros países no están optimizados para ser accedidos desde su ubicación geográfica.
América
- América Latina (Español)
- Canada (English)
- United States (English)
Europa
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)