modelPartialFlowSensor

Partial component to model sensors that measure flow properties

Extends from Buildings.Fluid.Interfaces.PartialTwoPort (Partial component with two ports).

Information

Partial component to model a sensor. The sensor is ideal. It does not influence mass, energy, species or substance balance, and it has no flow friction.

Parameters

TypeNameDefaultDescription
Assumptions
BooleanallowFlowReversal (from PartialTwoPort)true= false to simplify equations, assuming, but not enforcing, no flow reversal
Nominal condition
Modelica.Units.SI.MassFlowRatem_flow_nominalNominal mass flow rate, used for regularization near zero flow
Advanced
Modelica.Units.SI.MassFlowRatem_flow_small1E-4*m_flow_nominalFor bi-directional flow, temperature is regularized 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)

Revisions

  • August 15, 2015, by Filip Jorissen:
    Implemented more efficient computation of port_a.Xi_outflow, port_a.h_outflow and port_a.C_outflow when allowFlowReversal=false. This is for #281.
  • June 19, 2015, by Michael Wetter:
    Moved m_flow_small to the Advanced tab as it usually need not be changed by the user. Other models such as heat exchangers also have this parameter on the Advanced tab.
  • February 12, 2011, by Michael Wetter:
    First implementation. Implementation is based on Modelica.Fluid.