This model multiplies the mass flow rate so that
0 = port_b.m_flow + gain * port_a.m_flow
where gain > 0
is either equal to
the input variable u
if use_input
is set to true
, or equal to
the parameter k
if use_input
is set to false
.
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 AixLib.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.
Modelica.Fluid
.