Volume Temperature for Heat Exchange: OUT vs AVG
In the Volume components with a thermal port, the temperature connected to the port is the "final" one, meaning the temperature corresponding to the enthalpy of the volume obtained by the energy balance equation. This is fine for volumes, where the flow is supposed to be homogeneized in the volume.
However, the same approach is adopted for the finite volume of 1D heat-exchangers ( DynamicOnePhaseFlowPipe
for example) where the temperature is not really homogeneized in the volume. This results in penalizing the heat exchange (the temperature at the end of the heat exchange is used for computing the DT
). More realistic approaches could use some average temperatures in the control volume, the easiest option being (Tin+Tout)/2.