Contenido principal

Thermodynamic Properties Sensor (2P)

R2026b

Measure temperature, density, specific enthalpy, specific entropy, and specific volume in two-phase fluid networks

  • Thermodynamic Properties Sensor (2P) block

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

Description

The Thermodynamic Properties Sensor (2P) block represents an ideal sensor that measures temperature, density, specific enthalpy, specific entropy, and specific volume in a two-phase fluid network. There is no mass or energy flow through the sensor.

The block measures these thermodynamic properties at the node connected to port A. All measurements are taken with respect to absolute zero.

Examples

Ports

Output

expand all

Physical signal output port for measuring the temperature of two-phase fluid.

Dependencies

To enable this port, select the Temperature check box.

Programmatic Use

Port: T

Physical signal output port for measuring the specific enthalpy of two-phase fluid.

Dependencies

To enable this port, select the Enthalpy check box.

Programmatic Use

Port: H

Physical signal output port for measuring the density of two-phase fluid.

Dependencies

To enable this port, select the Density check box.

Programmatic Use

Port: RHO

Physical signal output port for measuring the specific volume of two-phase fluid.

Dependencies

To enable this port, select the Specific volume check box.

Programmatic Use

Port: V

Physical signal output port for measuring the specific entropy of two-phase fluid.

Dependencies

To enable this port, select the Entropy check box.

Programmatic Use

Port: S

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 thermodynamic properties. All measurements are taken with respect to absolute zero.

Programmatic Use

Port: A

Parameters

expand all

Selecting this check box exposes the output port T, which lets you measure the temperature of two-phase fluid.

Programmatic Use

Parameter: temperature
Values: "true" | "false"

Selecting this check box exposes the output port h, which lets you measure the specific enthalpy of two-phase fluid.

Programmatic Use

Parameter: enthalpy
Values: "true" | "false"

Selecting this check box exposes the output port ρ, which lets you measure the density of two-phase fluid.

Programmatic Use

Parameter: density
Values: "true" | "false"

Selecting this check box exposes the output port v, which lets you measure the specific volume of two-phase fluid.

Programmatic Use

Parameter: specific_volume
Values: "true" | "false"

Selecting this check box exposes the output port s, which lets you measure the specific entropy of two-phase fluid.

Programmatic Use

Parameter: entropy
Values: "true" | "false"

Extended Capabilities

expand all

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

Version History

Introduced in R2015b

expand all