Partial model to implement heat exchanger models.
Classes that extend this model need to implement heat and mass balance equations in a form like
// transferred heat Q1_flow = eps * QMax_flow; // no heat loss to ambient 0 = Q1_flow + Q2_flow; // no mass exchange mXi1_flow = zeros(Medium1.nXi); mXi2_flow = zeros(Medium2.nXi);
Thus, if medium 1 is heated in this device, then Q1_flow > 0
and QMax_flow > 0
.
T_in1
and T_in2
to Medium1.Temperature
and Medium2.Temperature
to avoid an error because of conflicting start values if
Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSetPointControl
is translated using pedantic mode in Dymola 2016.
This is for
#426.
show_T=false
to avoid state events near zero flow.
gai1
and gai2
.
state_*_inflow
which is already known in base class.