Main Content

Humidity & Trace Gas Sensor (MA)

Measure humidity and trace gas levels in moist air network

  • Humidity & Trace Gas Sensor (MA) block

Libraries:
Simscape / Foundation Library / Moist Air / Sensors

Description

The Humidity & Trace Gas Sensor (MA) block measures the amount of moisture and trace gas in a moist air network. There is no mass or energy flow through the sensor.

The physical signal ports W, Tw, and G report the moisture level, wet-bulb temperature, and trace gas level, respectively, measured at port A. Use the block parameters to control the port visibility and select the quantities to measure. Connect these ports to PS-Simulink Converter blocks to transform the output physical signals into Simulink® signals, for example, for plotting or additional data processing.

The sensor measurements correspond to the moisture and trace gas level upstream of the measured node. For example, if port A of the Humidity & Trace Gas 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 moisture and trace gas level measured at port A are those 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 moisture and trace gas level measured at port A are those of the moist air volume in pipe 2. If the moisture and trace gas levels of the two moist air volumes are different, then the measured values change when the flow direction switches. If there are two or more upstream flow paths merging at the node, then the moisture and trace gas level 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 moisture level measurement. To select the quantity you want to measure, use the Measured moisture specification parameter.

Dependencies

To enable this port, select the Moisture check box and set the Measured moisture specification parameter to

  • Relative humidity

  • Specific humidity

  • Mole fraction

  • Humidity ratio

Physical signal output port for wet-bulb temperature measurement.

Dependencies

To enable this port, select the Moisture check box and set the Measured moisture specification parameter to Wet-bulb temperature.

Physical signal output port for trace gas level measurement. To select the quantity you want to measure, use the Measured trace gas specification parameter.

Dependencies

To enable this port, select the Trace gas check box.

Conserving

expand all

Moist air conserving port. Connect this port to the node in the moist air network where you want to measure the moisture and trace gas level.

Parameters

expand all

Selecting this check box exposes the output port W or Tw, which lets you measure the quantity specified by the Measured moisture specification parameter value.

Select the property to measure:

  • Relative humidity ― Physical signal port W reports the relative humidity.

  • Specific humidity ― Physical signal port W reports the specific humidity.

  • Mole fraction ― Physical signal port W reports the water vapor mole fraction.

  • Humidity ratio ― Physical signal port W reports the humidity ratio.

  • Wet-bulb temperature ― Physical signal port Tw reports the wet-bulb temperature.

Selecting this check box exposes the output port G, which lets you measure the quantity specified by the Measured trace gas specification parameter value.

Select the property to measure:

  • Mass fraction ― Physical signal port G reports the trace gas mass fraction.

  • Mole fraction ― Physical signal port G reports the trace gas mole fraction.

Extended Capabilities

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

Version History

Introduced in R2018a

expand all