modelMassFlowRate

Ideal sensor for mass flow rate

Extends from Sensors.BaseClasses.PartialFlowSensor (Partial component to model sensors that measure flow properties), Modelica.Icons.RoundSensor (Icon representing a round measurement device).

Information

This component monitors the mass flow rate flowing from port_a to port_b. The sensor is ideal, i.e., it does not influence the fluid.

Parameters

TypeNameDefaultDescription
Assumptions
BooleanallowFlowReversal (from PartialTwoPort)system.allowFlowReversal= true to allow flow reversal, false restricts to design direction (port_a -> port_b)
Advanced
Medium.MassFlowRatem_flow_nominal (from PartialFlowSensor)system.m_flow_nominalNominal value of m_flow = port_a.m_flow
Medium.MassFlowRatem_flow_small (from PartialFlowSensor)if system.use_eps_Re then system.eps_m_flow*m_flow_nominal else system.m_flow_smallRegularization for bi-directional flow in the region |m_flow| < m_flow_small (m_flow_small > 0 required)

Connectors

TypeNameDefaultDescription
Modelica.Fluid.Interfaces.FluidPort_aport_a (from PartialTwoPort)Fluid connector a (positive design flow direction is from port_a to port_b)
Modelica.Fluid.Interfaces.FluidPort_bport_b (from PartialTwoPort)Fluid connector b (positive design flow direction is from port_a to port_b)
Modelica.Blocks.Interfaces.RealOutputm_flowMass flow rate from port_a to port_b

Components

TypeNameDefaultDescription
Modelica.Fluid.Systemsystem (from PartialTwoPort)System wide properties