modelPartialFlowSensor

Partial component to model sensors that measure flow properties

Extends from LibRAS.Interfaces.PartialTwoPort.

Information

Partial component to model a sensor that measures any intensive properties of a flow, e.g., to get temperature or density in the flow between fluid connectors.
The model includes zero-volume balance equations. Sensor models inheriting from this partial class should add a medium instance to calculate the measured property.

Parameters

TypeNameDefaultDescription
Advanced
Medium.MassFlowRatem_flow_nominalsystem.m_flow_nominalNominal value of m_flow = port_a.m_flow
Medium.MassFlowRatem_flow_smallif 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)