modelHeatExchangerLocation

Test model for heat exchanger with hHex_a and hHex_b interchanged

Extends from Modelica.Icons.Example (Icon for runnable examples).

Information

This validation model compares two tank models. The only difference between the two tank models is that tan_aTop has the hot water inlet for the heat exchanger above its outlet, whereas tan_bTop has the hot water inlet below its outlet. In both models, the heat exchanger extends from element 9 to element 11.

Parameters

TypeNameDefaultDescription
Modelica.Units.SI.HeatFlowRateQHex_flow_nominal6000Design heat flow rate of heat exchanger
Modelica.Units.SI.MassFlowRatem_flow_nominalQHex_flow_nominal/4200/4

Components

TypeNameDefaultDescription
Buildings.Fluid.Sources.Boundary_pTwatInTanBoundary condition for water in the tank
Buildings.Fluid.Sources.MassFlowSource_TmHex_flow1Mass flow rate through the heat exchanger
Tanktan_aTopTank with heat exchanger inlet above its outlet
Tanktan_bTopTank with heat exchanger outlet above its inlet
Buildings.Fluid.Sources.Boundary_pTsinSink boundary condition
Buildings.Fluid.Sensors.TemperatureTwoPortsenTan_aTopTemperature sensor at tank outlet
Buildings.Fluid.Sensors.TemperatureTwoPortsenTan_bTopTemperature sensor at tank outlet
Buildings.Fluid.Sources.MassFlowSource_TmWatTanSte_flowMass flow rate through the tank
Buildings.Fluid.Sources.MassFlowSource_TmWatTanDyn_flowMass flow rate through the tank

Contents

NameDescription
MediumMedium model
TankTank

Revisions

  • June 7, 2018 by Filip Jorissen:
    Copied model from Buildings and update the model accordingly. This is for #314.
  • July 5, 2017, by Michael Wetter:
    Added zero mass flow rate boundary conditions to avoid a translation error in Dymola 2018.
    This is for issue 834.
  • June 23, 2016 by Michael Wetter:
    First implementation to test issue 531.