modelMassFlowRateMultiplier

Model that multiplies the mass flow rate

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

Information

This model multiplies the mass flow rate so that 0 = port_b.m_flow + k * port_a.m_flow.

The specific enthalpy, the species concentration and the trace substance concentration remain unchanged. Therefore, this model does not conserve mass or energy. It is used in IBPSA.Fluid.Geothermal.Borefields.BaseClasses.PartialBorefield and also in the Buildings library to avoid having to instantiate circuits in parallel, with each having the same mass flow rate and temperatures.

Parameters

TypeNameDefaultDescription
RealkGain for mass flow rate
Assumptions
BooleanallowFlowReversal (from PartialTwoPort)true= false to simplify equations, assuming, but not enforcing, no flow reversal

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

  • March 27, 2013, by Michael Wetter:
    Changed implementation to extend from Modelica.Fluid.
  • June 27, 2012, by Michael Wetter:
    First implementation.