Flow Rate Sensor (G)
Libraries:
Simscape /
Foundation Library /
Gas /
Sensors
Description
The Flow Rate Sensor (G) block represents an ideal sensor that measures mass flow rate, energy flow rate, and volumetric flow rate in a gas network. The energy flow rate is the advection of total enthalpy. 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.