modelStratifiedWaterTank
Stratified water tank
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
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Units.SI.Temperature | initialTemperature | 10 + 273.15 | Initial water temperature in the tank [K] |
| Modelica.Units.SI.Volume | tankVolume | 0.2 | Tank volume [m3] |
| Modelica.Units.SI.Height | tankHeight | 1.7 | Tank height [m] |
| Modelica.Units.SI.ThermalConductance | UA | 10 | Insulating heat transfer coefficient [W/K] |
| Integer | nCells | 10 | Number of cells |
| Integer | iHX_top | 5 | Top condenser position |
| Integer | iHX_bottom | 2 | Bottom condenser position |
| Integer | iAux_top | 3 | Top auxiliary position |
| Integer | iAux_bottom | 1 | Bottom auxiliary position |
| Integer | i_sensor | 1 | Temperature sensor position |
| Modelica.Units.SI.Area | tankSurface | tankVolume/tankHeight | Floor surface of the tank in m2 |
| Modelica.Units.SI.Temperature | T_amb | 20 + 273.15 | Ambient temperature [K] |
| Modelica.Units.SI.Power | auxiliaryPower | 1800 | Fixed heating power of the auxiliary heater [W] |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Interfaces.RealInput | m_flow | Inlet cold water mass flow rate [kg/s] | |
| Modelica.Blocks.Interfaces.RealInput | T_in | Inlet cold water temperature [K] | |
| Modelica.Blocks.Interfaces.BooleanInput | onOffAuxiliary | Boolean for switching on/off the auxiliaries | |
| Modelica.Blocks.Interfaces.RealOutput | T_sensor | Temperature of the sensor [K] | |
| Modelica.Blocks.Interfaces.RealInput | heatInput | Injected heat power [W] |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Units.SI.Temperature[nCells] | T_tank | Vector containing the water temperature of each layer [K] | |
| Modelica.Units.SI.Energy | E_stored | Energy stored in the tank [J] | |
| Modelica.Units.SI.Power | P_loss | Power losses [W] | |
| Integer | i_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)