Main Content

Mass & Energy Flow Rate Sensor (2P)

Measure mass and energy flow rates

Library

Two-Phase Fluid/Sensors

  • Mass & Energy Flow Rate Sensor (2P) block

Description

The Mass & Energy Flow Rate Sensor (2P) block measures mass and energy flow rates through the two-phase fluid branch defined by ports A and B. The energy flow rate includes contributions from internal energy advection, thermal conduction, pressure work, and kinetic energy. The flow rates are positive if mass and energy flow from port A to port B.

Ports

The block has two two-phase fluid conserving ports, A and B. Physical signal port M outputs the mass flow rate value. Physical signal port Phi outputs the energy flow rate value.

Extended Capabilities

C/C++ Code Generation
Generate C and C++ code using Simulink® Coder™.

Introduced in R2015b