Engee documentation

Pressure & Temperature Difference Sensor (MA)

Measurement of pressure and temperature in humid air networks.

blockType: AcausalFoundation.MoistAir.Sensors.PressureAndTemperature

Absolute Pressure & Temperature Sensor (MA)

Path in the library:

/Physical Modeling/Fundamental/Moist Air/Sensors/Absolute Pressure & Temperature Sensor (MA)

Pressure & Temperature Difference Sensor (MA)

Path in the library:

/Physical Modeling/Fundamental/Moist Air/Sensors/Pressure & Temperature Difference Sensor (MA)

Description

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

The sensor contains an implicit reference node, which means that only port A is needed for absolute pressure or temperature measurements as well as overpressure.

Port B is used if you want to measure the difference in pressure or temperature between two nodes in the model. Measurements are positive when the values on port A are greater than the values on port B.

Temperature measurements are different from pressure measurements because the rate of energy flow depends on the direction of flow. A temperature measurement represents the temperature upstream of the node being measured. For example, if port A of the Pressure & Temperature Sensor (MA) unit is connected to a node between pipe 1 and pipe 2 and moist air flows from pipe 1 to pipe 2, the temperature measured at port A represents the temperature of the volume of moist air in pipe 1. If the air flow then reverses direction and flows from pipe 2 into pipe 1, the temperature measured at port A is the temperature of the moist air volume in pipe 2. If the temperatures of the two volumes of moist air are different, the measured temperature changes when the direction of flow changes. If two or more streams merge at a node, the temperature measurement at the node represents a weighted average based on perfect mixing of the merging stream.

Four signal ports are available for outputting measurement data:

  • Pa - absolute pressure.

  • Pg - overpressure.

  • P - pressure difference.

  • T - temperature.

Ports

Conserving

# A — sensor input
`humid air

Details

Humid air port, corresponds to the sensor inlet.

Dependencies

To use this port, set the parameters Measurement type to Absolute.

Program usage name

port

# A — sensor input
`humid air

Details

Humid air port, corresponds to the sensor inlet.

Dependencies

To use this port, set the parameters Measurement type to Difference.

Program usage name

inlet

# B — sensor output
`humid air

Details

Humid air port, corresponds to the sensor output. Measurements are positive when the values on port A are greater than the values on port B.

Dependencies

To use this port, set the parameters Measurement type to Difference.

Program usage name

outlet

Output

# Pa — pressure, Pa
scalar

Details

Signal output port. Outputs the result of absolute pressure measurement.

Dependencies

To use this port, set the Measurement type parameters to and set the checkbox to . Absolute, select the Pressure checkbox and set the Pressure type parameters to . Absolute pressure.

Data types

Float64.

Complex numbers support

No

# P — pressure, Pa
scalar

Details

Signal output port. Outputs the result of the pressure difference measurement.

Dependencies

To use this port, set the Measurement type parameters to . Difference and select the Pressure check box.

Data types

Float64.

Complex numbers support

No

# T — temperature, K
scalar

Details

Signal output port. Outputs the result of temperature measurement.

Dependencies

To use this port, select the check box Temperature, and set the parameters Measurement type to . Difference.

Data types

Float64.

Complex numbers support

No

# T — temperature, K
scalar

Details

Signal output port. Outputs the result of temperature measurement.

Dependencies

To use this port, select the check box Temperature, and set the parameters Measurement type to . Absolute.

Data types

Float64.

Complex numbers support

No

# Pg — pressure, Pa
scalar

Details

Signal output port. Outputs the result of the gauge pressure measurement.

Dependencies

To use this port, set the Measurement type parameters to and set the checkbox to . Absolute, select the Pressure checkbox and set the Pressure type parameters to . Gauge pressure.

Data types

Float64.

Complex numbers support

No

Parameters

Parameters

# Measurement type — measurement method
Difference | Absolute

Details

Sets the measurement method:

  • Absolute - The sensor measures pressure and temperature on port A. The sensor contains an implicit reference node, which means that only port A is needed for pressure or temperature measurements.

  • Difference - the sensor measures the difference in pressure or temperature between two nodes in the model. When this parameter is selected, port B is displayed on the block icon.

Values

Difference | Absolute

Default value

Program usage name

type

Evaluatable

No

# Pressure — switching on the output port for pressure measurement

Details

Checking this box enables the Pa, Pg, or P output port to measure pressure.

Default value

true (switched on)

Program usage name

measure_pressure

Evaluatable

No

# Pressure type — type of pressure to be measured
Absolute pressure | Gauge pressure

Details

Select whether the sensor is measuring absolute or gauge pressure:

  • Absolute pressure - the sensor measures absolute pressure at port A. When this parameter is selected, the Pa port is displayed on the unit icon.

  • Gauge pressure - sensor measures overpressure at port A. When this parameter is selected, the Pg port is displayed on the unit icon.

Dependencies

To use this parameter, set the Measurement type parameters to Absolute and select the Pressure check box.

Values

Absolute pressure | Gauge pressure

Default value

Absolute pressure

Program usage name

pressure_type

Evaluatable

No

# Temperature — switching on the output port for temperature measurement

Details

Checking this box enables the T output port to measure temperature.

Default value

false (switched off)

Program usage name

measure_temperature

Evaluatable

No