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
| Type | Name | Default | Description |
|---|---|---|---|
| Real | k | Gain for mass flow rate | |
| Assumptions | |||
| Boolean | allowFlowReversal (from PartialTwoPort) | true | = false to simplify equations, assuming, but not enforcing, no flow reversal |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Fluid.Interfaces.FluidPort_a | port_a (from PartialTwoPort) | Fluid connector a (positive design flow direction is from port_a to port_b) | |
| Modelica.Fluid.Interfaces.FluidPort_b | port_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 fromModelica.Fluid. -
June 27, 2012, by Michael Wetter:
First implementation.