Main Content

Pressure & Temperature Sensor (MA)

Measure pressure and temperature differences

  • Library:
  • Simscape / Foundation Library / Moist Air / Sensors

  • Pressure & Temperature Sensor (MA) block

Description

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

The physical signal ports P and T report the pressure difference and the temperature difference, respectively, across the sensor. The measurements are positive when the values at port A are greater than the values at port B.

To measure the absolute pressure and absolute temperature at port A, connect port B to an Absolute Reference (MA) block.

Temperature measurements are different from pressure measurements, because the energy flow rate depends on the flow direction. The temperature measurement represents the temperature upstream of the measured node.

For example, if port A of the Pressure & Temperature Sensor (MA) is connected to a node between pipe 1 and pipe 2 and the moist air flows from pipe 1 to pipe 2, then the temperature measured at port A is the temperature of the moist air volume in pipe 1. If the air flow then switches direction and flows from pipe 2 to pipe 1, then the temperature measured at port A is the temperature of the moist air volume in pipe 2.

If the temperatures of the two moist air volumes are different, then the measured temperature changes when the flow direction switches. If there are two or more upstream flow paths merging at the node, then the temperature measurement at the node represents the weighted average based on the ideal mixing of the merging flow.

Ports

Output

expand all

Physical signal output port for pressure difference measurement.

Physical signal output port for temperature difference measurement.

Conserving

expand all

Moist air conserving port. The measurements are positive when the values at port A are greater than the values at port B.

Moist air conserving port. The measurements are positive when the values at port A are greater than the values at port B.

Extended Capabilities

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

Introduced in R2018a