Pressure & Temperature Sensor (TL)
R2026bMeasure pressure and temperature in thermal liquid networks
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
Conserving
Parameters
Programmatic Use: Add Block
To add the block programmatically, use the add_block function with one of these library block paths as the source.
"fl_lib/Thermal Liquid/Sensors/Pressure & Temperature Sensor (TL)"
Example: add_block("fl_lib/Thermal Liquid/Sensors/Pressure & Temperature Sensor (TL)","myModel/myBlock",MakeNameUnique="on")
For information about programmatic access to individual block parameters, see the Programmatic Use section of parameter descriptions on this page.



