Pressure, Temperature & Internal Energy Sensor (2P)
Measure pressure, temperature, and specific internal energy in two-phase fluid networks
Libraries:
Simscape /
Foundation Library /
Two-Phase Fluid /
Sensors
Description
The Pressure, Temperature & Internal Energy Sensor (2P) block represents an ideal sensor that measures pressure, temperature, and specific internal energy in a two-phase fluid 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.
Five 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.
Port U outputs the specific internal energy.
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.