Engee documentation

Saturation Properties Sensor (2P)

Measurement of the properties of saturated liquid and steam in two-phase liquids.

blockType: AcausalFoundation.TwoPhaseFluid.Sensors.SaturationProperties

Path in the library:

/Physical Modeling/Fundamental/Two Phase Fluid/Sensors/Saturation Properties Sensor (2P)

Description

Block Saturation Properties Sensor (2P) It is an ideal sensor that allows you to measure the following properties of saturated liquid and steam in a two-phase liquid network:

  • temperature, specific volume, internal energy or saturation enthalpy, depending on the pressure measurement;

  • saturation pressure, depending on the temperature measurement.

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

By default, the unit icon displays only the output ports that measure the temperature of saturated liquid and steam, TL and TV. Use the block parameters to control the visibility of the output ports for other measurements.

Ports

Conserving

# A — sensor input
two-phase liquid

Details

Non-directional two-phase liquid port. Connect this port to a node in the two-phase liquid network where you want to measure the properties of saturated liquid and steam.

Program usage name

port

Output

# TL — saturation temperature of the liquid, K
scalar

Details

An output port that measures the temperature of a saturated liquid based on the pressure in port A.

Dependencies

To use this port, check the box Saturated temperature measurement.

Data types

Float64

Complex numbers support

No

# TV — vapor saturation temperature, K
scalar

Details

An output port that measures the temperature of saturated steam based on the pressure in port A.

Dependencies

To use this port, check the box Saturated temperature measurement.

Data types

Float64

Complex numbers support

No

# PL — liquid saturation pressure, Pa
scalar

Details

An output port that measures the pressure of a saturated liquid based on the temperature in port A.

Dependencies

To use this port, check the box Saturated pressure measurement.

Data types

Float64

Complex numbers support

No

# PV — vapor saturation pressure, Pa
scalar

Details

An output port that measures the saturated vapor pressure based on the temperature in port A.

Dependencies

To use this port, check the box Saturated pressure measurement.

Data types

Float64

Complex numbers support

No

# VL — specific volume of saturated liquid, m3/kg
scalar

Details

An outlet port that measures the specific volume of saturated liquid based on the pressure in port A.

Dependencies

To use this port, set the parameter Density measurement meaning Saturated specific volume.

Data types

Float64

Complex numbers support

No

# VV — specific volume of saturated steam, m3/kg
scalar

Details

An output port that measures the specific volume of saturated steam based on the pressure in port A.

Dependencies

To use this port, set the parameter Density measurement meaning Saturated specific volume.

Data types

Float64

Complex numbers support

No

# ρL — saturated liquid density, kg/m3^
scalar

Details

An output port that measures the density of a saturated liquid based on the pressure in port A.

Dependencies

To use this port, set the parameter Density measurement meaning Saturated density.

Data types

Float64

Complex numbers support

No

# ρV — saturated steam density, kg/m3^
scalar

Details

An output port that measures the saturated vapor density based on the pressure in port A.

Dependencies

To use this port, set the parameter Density measurement meaning Saturated density.

Data types

Float64

Complex numbers support

No

# UL — specific internal energy of saturated liquid, J/kg
scalar

Details

An output port that measures the specific internal energy of a saturated liquid based on the pressure in port A.

Dependencies

To use this port, set the parameter Energy measurement meaning Saturated specific internal energy.

Data types

Float64

Complex numbers support

No

# UV — specific internal energy of saturated steam, J/kg
scalar

Details

An output port that measures the specific internal energy of saturated steam based on the pressure in port A.

Dependencies

To use this port, set the parameter Energy measurement meaning Saturated specific internal energy.

Data types

Float64

Complex numbers support

No

# HL — specific enthalpy of saturated liquid, J/kg
scalar

Details

An output port that measures the specific enthalpy of a saturated liquid based on the pressure in port A.

Dependencies

To use this port, set the parameter Energy measurement meaning Saturated specific enthalpy.

Data types

Float64

Complex numbers support

No

# HV — specific enthalpy of saturated steam, J/kg
scalar

Details

An output port that measures the specific enthalpy of saturated steam based on the pressure in port A.

Dependencies

To use this port, set the parameter Energy measurement meaning Saturated specific enthalpy.

Data types

Float64

Complex numbers support

No

Parameters

Parameters

# Saturated temperature measurement — measurement of saturated liquid and steam temperature based on pressure

Details

Selecting this option opens the output ports TL and TV, which measure the temperature of saturated liquid and steam, respectively, based on the pressure in port A.

Default value

true (switched on)

Program usage name

measure_temperature

Evaluatable

No

# Saturated pressure measurement — measurement of saturated liquid and steam pressure based on temperature

Details

Checking this box enables the parameter Saturated pressure beyond min and max pressure and opens the output ports PL and PV, which measure the pressure of saturated liquid and steam, respectively, depending on the temperature in port A.

Default value

false (switched off)

Program usage name

measure_pressure

Evaluatable

No

# Energy measurement — measurement of specific internal saturation energy or specific saturation enthalpy depending on pressure
Off | Saturated specific internal energy | Saturated specific enthalpy

Details

Setting this parameter:

  • in the value Saturated specific internal energy opens the output ports UL and UV, which measure the specific internal energy of saturated liquid and steam, respectively, based on the pressure in port A;

  • in the value Saturated specific enthalpy opens the output ports HL and HV, which measure the specific enthalpy of saturated liquid and steam, respectively, based on the pressure in port A.

Values

Off | Saturated specific internal energy | Saturated specific enthalpy

Default value

Off

Program usage name

measure_energy

Evaluatable

No

# Density measurement — measurement of specific saturation volume or saturation density depending on pressure
Off | Saturated specific volume | Saturated density

Details

Setting this parameter:

  • in the value Saturated specific volume opens the output ports VL and VV, which measure the specific volume of saturated liquid and steam, respectively, based on the pressure in port A;

  • in the value Saturated density opens the output ports pL and pV, which measure the density of saturated liquid and steam, respectively, based on the pressure in port A.

Values

Off | Saturated specific volume | Saturated density

Default value

Off

Program usage name

measure_density

Evaluatable

No

# Saturated pressure beyond min and max pressure — setting the display for saturation pressure that exceeds the acceptable values
None | Error

Details

If any of the saturation pressures is below the minimum pressure or above the maximum pressure specified in the properties of the liquid, then the saturation pressure value is based on extrapolated values from the temperature tables, and not on interpolation within the table. Select the preferred display settings for cases when the saturation pressure exceeds the permissible values.:

  • Error — the simulation stops with an error;

  • None — the block does not perform verification.

Dependencies

To use this option, check the box Saturated pressure measurement.

Values

None | Error

Default value

Error

Program usage name

pressure_assert_action

Evaluatable

No