Flow Rate Sensor (2P)
Measure mass, energy, and volumetric flow rates in two-phase fluid networks
Since R2023a
Libraries:
Simscape /
Foundation Library /
Two-Phase Fluid /
Sensors
Description
The Flow Rate Sensor (2P) block represents an ideal sensor that measures mass flow rate, energy flow rate, and volumetric flow rate in a two-phase fluid network. There is no change in pressure or temperature across the sensor.
Because the flow rates are Through variables, the block must connect in series with the component being measured.
The relative orientation of ports A and B establishes the measurement sign. The sign is positive if flow occurs from port A to port B. Switching port connections reverses the measurement sign.
Three physical signal ports are available to output the measurement data:
Port M outputs the mass flow rate.
Port V outputs the volumetric flow rate.
Port φ outputs the energy flow rate.
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.