This component transports two fluid streams between four ports. It provides the basic model for implementing a dynamic heat exchanger.
The model can be used as-is, although there will be no heat or mass
transfer between the two fluid streams. To add heat transfer, heat
flow can be added to the heat port of the two volumes. See for
example AixLib.Fluid.Chillers.Carnot_y.
To add moisture input into (or moisture output from) volume
vol2, the model can be replaced with AixLib.Fluid.MixingVolumes.MixingVolumeMoistAir.
The variable names follow the conventions used in Modelica.Fluid.Examples.HeatExchanger.BaseClasses.BasicHX.
vol1 replaceable. This is required for
Buildings,
issue 1013.
use_dh is no longer a parameter in
the pressure drop model.quantity attributes.
extends
statement. This is for issue #299.
mSenFac in
vol1 and vol2. This is for issue #258.
allowFlowReversal to
instances vol1 and vol2. This is for
issue #412.
annotation(Evaluate=true) for parameters
tau1 and tau2. This is needed to allow
changing the time constant after translation.
import Modelica.Constants statement.
show_V_flow.
sum operator.
m_flow_small as it is no longer
used in its base class.
h_outflow_a1_start,
h_outflow_b1_start, h_outflow_a2_start
and h_outflow_b2_start, and declared them as final.
vol1.C and
vol2.C.
tau = 0.
stateSelect=StateSelect.always for temperature
of volume 1.
Delays.DelayFirstOrder with
instances of MixingVolumes.MixingVolume. This allows
to extract liquid for a condensing cooling coil model.