Main Content

Pressure & Temperature Sensor (TL)

Measure pressure and temperature in thermal liquid networks

  • Pressure & Temperature Sensor (TL) block

Libraries:
Simscape / Foundation Library / Thermal Liquid / Sensors

Description

The Pressure & Temperature Sensor (TL) block represents an ideal sensor that measures pressure and temperature in a thermal liquid network. There is no mass or energy flow through the sensor.

The sensor contains an implicit reference node, which means that you need only one port, port A, to make absolute measurements of pressure or temperature. Expose the second port, port B, only if you need to measure the difference in pressure or temperature between two nodes in the model. The measurements are positive when the values at port A are greater than the values at port B.

Four physical signal ports are available to output the measurement data:

  • Port Pa outputs the absolute pressure.

  • Port Pg outputs the gauge pressure.

  • Port P outputs the pressure difference across the sensor.

  • Port T outputs the temperature.

These ports have conditional port visibility on the block icon. Use the block parameters to expose only the ports that you need for measurements in a particular model.

Connect the measurement ports to PS-Simulink Converter blocks to transform the output physical signals into Simulink® signals, for example, for plotting or additional data processing.

Examples

Ports

Output

expand all

Physical signal output port for absolute pressure measurement.

Dependencies

To enable this port, set the Measurement reference parameter to Absolute, select the Pressure check box, and set the Pressure type parameter to Absolute pressure.

Physical signal output port for gauge pressure measurement.

Dependencies

To enable this port, set the Measurement reference parameter to Absolute, select the Pressure check box, and set the Pressure type parameter to Gauge pressure.

Physical signal output port for pressure difference measurement.

Dependencies

To enable this port, set the Measurement reference parameter to Difference and select the Pressure check box.

Physical signal output port for temperature measurement.

Dependencies

To enable this port, select the Temperature check box.

Conserving

expand all

Thermal liquid conserving port. Use this port to measure absolute pressure or temperature.

Thermal liquid conserving port. When the sensor measures absolute pressure or temperature, this port is hidden because the sensor contains an implicit reference node. Enable this port to measure relative pressure or temperature between two nodes in the model. The measurements are positive when the values at port A are greater than the values at port B.

Dependencies

To enable this port, set the Measurement reference parameter to Difference.

Parameters

expand all

Select between absolute and relative measurements:

  • Absolute — The sensor measures pressure and temperature at port A. The sensor contains an implicit reference node, which means that you need only one port to make absolute measurements.

  • Difference — The sensor measures the difference in pressure or temperature between two nodes in the model. Selecting this option exposes port B on the block icon.

Selecting this check box exposes the output port Pa, Pg, or P, to let you measure pressure.

Select whether the sensor measures absolute or gauge pressure:

  • Absolute pressure — The sensor measures absolute pressure at port A. Selecting this option exposes port Pa on the block icon.

  • Gauge pressure — The sensor measures gauge pressure at port A. Selecting this option exposes port Pg on the block icon.

Dependencies

To enable this parameter, set Measurement reference to Absolute and select the Pressure check box.

Selecting this check box exposes the output port T, which lets you measure temperature.

Extended Capabilities

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

Version History

Introduced in R2013b

expand all