modelMassFlowRate

Ideal sensor for mass flow rate

Extends from BaseClasses.PartialTwoPortSensor, BaseClasses.PartialRotationIcon_withValueIndicator.

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
Integerprecision (from PartialRotationIcon_withValueIndicator)0Number of decimals displayed
Assumptions
BooleanallowFlowReversal (from PartialTwoPortSensor)true= true to allow flow reversal, false restricts to design direction (port_a -> port_b)
Visualization
BooleanshowName (from PartialTwoPortSensor)true= false to hide component name
Advanced
Medium.MassFlowRatem_flow_small (from PartialTwoPortSensor)1e-4Regularization for zero flow:|m_flow| < m_flow_small

Connectors

TypeNameDefaultDescription
TRANSFORM.Fluid.Interfaces.FluidPort_Flowport_a (from PartialTwoPortSensor)Fluid connector a (positive design flow direction is from port_a to port_b)
TRANSFORM.Fluid.Interfaces.FluidPort_Flowport_b (from PartialTwoPortSensor)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
Realvar (from PartialRotationIcon_withValueIndicator)Variable to be converted
Realy (from PartialRotationIcon_withValueIndicator)iconUnit(var)Icon display