modelStratifiedWaterTank

Stratified water tank
Diagram of StratifiedWaterTank

Information

Hypothesis and equations

Model of a 1D stratified water tank using inversed gradient mixing coefficient and a power distribution model for MHW condenser tanks.

Used in HPWaterHeaterPoly_Stratified model.

Bibliography

none

Instructions for use

none

Known limits / Use precautions

none

Validations

Validated model - Kévin Deutz 08/2017

--------------------------------------------------------------
Licensed by EDF under a 3-clause BSD-license
Copyright © EDF 2009 - 2023
BuildSysPro version 3.6.0
Author : Kévin DEUTZ, EDF (2017)
--------------------------------------------------------------

Parameters

TypeNameDefaultDescription
Modelica.Units.SI.TemperatureinitialTemperature10 + 273.15Initial water temperature in the tank [K]
Modelica.Units.SI.VolumetankVolume0.2Tank volume [m3]
Modelica.Units.SI.HeighttankHeight1.7Tank height [m]
Modelica.Units.SI.ThermalConductanceUA10Insulating heat transfer coefficient [W/K]
IntegernCells10Number of cells
IntegeriHX_top5Top condenser position
IntegeriHX_bottom2Bottom condenser position
IntegeriAux_top3Top auxiliary position
IntegeriAux_bottom1Bottom auxiliary position
Integeri_sensor1Temperature sensor position
Modelica.Units.SI.AreatankSurfacetankVolume/tankHeightFloor surface of the tank in m2
Modelica.Units.SI.TemperatureT_amb20 + 273.15Ambient temperature [K]
Modelica.Units.SI.PowerauxiliaryPower1800Fixed heating power of the auxiliary heater [W]

Connectors

TypeNameDefaultDescription
Modelica.Blocks.Interfaces.RealInputm_flowInlet cold water mass flow rate [kg/s]
Modelica.Blocks.Interfaces.RealInputT_inInlet cold water temperature [K]
Modelica.Blocks.Interfaces.BooleanInputonOffAuxiliaryBoolean for switching on/off the auxiliaries
Modelica.Blocks.Interfaces.RealOutputT_sensorTemperature of the sensor [K]
Modelica.Blocks.Interfaces.RealInputheatInputInjected heat power [W]

Components

TypeNameDefaultDescription
Modelica.Units.SI.Temperature[nCells]T_tankVector containing the water temperature of each layer [K]
Modelica.Units.SI.EnergyE_storedEnergy stored in the tank [J]
Modelica.Units.SI.PowerP_lossPower losses [W]
Integeri_thermocline
Boolean[iHX_top - iHX_bottom + 1]convection

Revisions

Deutz Kévin 07/2020 : correction of an error in the energy calculation (sum over the whole tank volume instead of sum over the cells volume)