modelStratifiedEnhancedInternalHex

Example showing the use of StratifiedEnhancedInternalHex

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

Information

This model provides an example for the Buildings.Fluid.Storage.StratifiedEnhancedInternalHex model. There are three tanks. In the tank on top, the fluid in the heat exchanger and the metal of the heat exchanger use a steady-state energy balance. In the middle tank, both use a dynamic balance. In the bottom tank, the fluid uses a steady-state heat balance but the metal of the heat exchanger uses a dynamic balance.

Each tank starts at the same water temperature, and there is no water flow through the tank. The glycol that flows through the heat exchanger starts with zero mass flow rate, and is set to its design flow rate at t=300 seconds.

Parameters

TypeNameDefaultDescription
Modelica.Units.SI.PressureDifferencedpHex_nominal2500Pressure drop across the heat exchanger at nominal conditions
Modelica.Units.SI.MassFlowRatemHex_flow_nominal0.278Mass flow rate of heat exchanger

Components

TypeNameDefaultDescription
Buildings.Fluid.Sources.Boundary_pTbouWatBoundary condition for water (used to set pressure)
Buildings.Fluid.Sources.Boundary_pTsolColSupWater from solar collector
Buildings.Fluid.Sources.Boundary_pTtoSolColWater to solar collector
Buildings.Fluid.Storage.StratifiedEnhancedInternalHextanSteTank with heat exchanger configured as steady state
Buildings.Fluid.Sensors.TemperatureTwoPortsenTemSteTemperature sensor for outlet of steady-state heat exchanger
Modelica.Blocks.Sources.StepstepStep input for mass flow rate
Buildings.Fluid.Sensors.TemperatureTwoPortsenTemDynTemperature sensor for outlet of dynamic heat exchanger
Buildings.Fluid.Storage.StratifiedEnhancedInternalHextanDynTank with heat exchanger configured as dynamic
Buildings.Fluid.Storage.StratifiedEnhancedInternalHextanDynSolTank with heat exchanger configured as steady-state except for metal which is dynamic
Buildings.Fluid.Sensors.TemperatureTwoPortsenTemDynSolTemperature sensor for outlet of steady state heat exchanger with solid configured dynamic

Contents

NameDescription
MediumTanMedium in the tank
MediumHexMedium in the heat exchanger

Revisions

  • June 7, 2018 by Filip Jorissen:
    Copied model from Buildings and update the model accordingly. This is for #314.
  • January 22, 2016, by Michael Wetter:
    Corrected type declaration of pressure difference. This is for #404.
  • September 28, 2015 by Michael Wetter:
    Changed medium in heat exchanger from Modelica.Media.Incompressible.Examples.Glycol47 to Buildings.Media.Water to avoid numerical derivative in regression tests.
  • July 2, 2015 by Michael Wetter:
    Modified example to test dynamic versus steady-state heat exchanger configuration.
  • December 22, 2014 by Michael Wetter:
    Removed Modelica.Fluid.System to address issue #311.
  • August 29, 2014 by Michael Wetter:
    Revised example to use a different media in the tank and in the heat exchanger. This is to provide a unit test for issue #271.
  • April 18, 2014 by Michael Wetter:
    Revised example for new connectors and parameters, and provided more interesting parameter values that cause a tank stratification.
  • Mar 27, 2013 by Peter Grant:
    First implementation