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
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Units.SI.PressureDifference | dpHex_nominal | 2500 | Pressure drop across the heat exchanger at nominal conditions |
| Modelica.Units.SI.MassFlowRate | mHex_flow_nominal | 0.278 | Mass flow rate of heat exchanger |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Buildings.Fluid.Sources.Boundary_pT | bouWat | Boundary condition for water (used to set pressure) | |
| Buildings.Fluid.Sources.Boundary_pT | solColSup | Water from solar collector | |
| Buildings.Fluid.Sources.Boundary_pT | toSolCol | Water to solar collector | |
| Buildings.Fluid.Storage.StratifiedEnhancedInternalHex | tanSte | Tank with heat exchanger configured as steady state | |
| Buildings.Fluid.Sensors.TemperatureTwoPort | senTemSte | Temperature sensor for outlet of steady-state heat exchanger | |
| Modelica.Blocks.Sources.Step | step | Step input for mass flow rate | |
| Buildings.Fluid.Sensors.TemperatureTwoPort | senTemDyn | Temperature sensor for outlet of dynamic heat exchanger | |
| Buildings.Fluid.Storage.StratifiedEnhancedInternalHex | tanDyn | Tank with heat exchanger configured as dynamic | |
| Buildings.Fluid.Storage.StratifiedEnhancedInternalHex | tanDynSol | Tank with heat exchanger configured as steady-state except for metal which is dynamic | |
| Buildings.Fluid.Sensors.TemperatureTwoPort | senTemDynSol | Temperature sensor for outlet of steady state heat exchanger with solid configured dynamic |
Contents
| Name | Description |
|---|---|
| Medium in the tank | |
| Medium 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:
RemovedModelica.Fluid.Systemto 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