modelHotWaterStorage_L2
Extends from TransiEnt.Basics.Icons.ThermalStorageBasic (Icon for thermal storage model).
Information
Purpose of model
Hot water storage without spatial discretisation (based on analytic solution for output temperature at steady state). Thermodynamic properties are calculated in dependence on the thermodynamic state with the fluid models of the TIL media. The model can be used to determine the average temperature of the heat storage in operation. Moreover, the heat losses of the storage are calculated.
Level of detail, physical effects considered, and physical insight
Level L2 (defined in the Coding Conventions)
- consideration of heat losses
- two static mass balances, the circuits of the heat generation and consumption are decoupled
- static momentum balances for both circuits
- assumption of a constant pressure loss
- a simple dynamic energy balanced based on the stored energy
Interfaces
GenIn: inlet from heat generator
GenOut: outlet to heat generator
ConIn: inlet from heat consumer
ConOut: outlet to heat consumer
Q_flow_gen: output for the generated heat flow [W]
T_Stor: output for temperature in heat reservoir in K [K]
Governing Equations
Mass balances:
Generator: GenIn.m_flow + GenOut.m_flow =0
Consumer: ConIn.m_flow + ConOut.m_flow =0
Heat losses to environment: Q_flow_loss=k*A*(T_stor-T_amb)
Energy balance: dE_stor/dt=-Q_flow_gen-Q_flow_loss-Q_flow_con
Impulse balances:
GenIn.p - GenOut.p = dp (constant pressure loss)
ConIn.p - ConOut.p=dp (constant pressure loss)
Remarks for Usage
The circuits for generation and consumption are decoupled. Therefore, when using the storage model a pressure should be defined by the hydraulic grids in BOTH circuits. Look at the test model for an example how to connect the fluid ports.
Validation
The model was tested in the test model:
TransiEnt.Storage.Heat.HotWaterStorage_L2.Check.Check_HotWaterStorage_L2
Version History
Created by Inken Knop (inken.knop@tuhh.de), Jun 2015
Edited by Pascal Dubucq (dubucq@tuhh.de), Aug 2015
Revised by Lisa Andresen (andresen@tuhh.de), Dec 2016
Modified by Anne Senkel (anne.senkel@tuhh.de), Dec 2017
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| TILMedia.VLEFluidTypes.BaseVLEFluid | Medium | simCenter.fluid1 | |
| Modelica.Units.SI.Pressure | dp | 0.02e5 | Pressure drop on generator and consumer side |
| Modelica.Units.SI.Temperature | T_max | 383.15 | Maximum allowed temperature in Storage |
| Modelica.Units.SI.Temperature | T_start | 273.15 + 30 | Initial Temperature of heat storage |
| Modelica.Units.SI.Temperature | T_amb | 273.15 + 18 | Assumed constant ambient temperature |
| Modelica.Units.SI.Height | height | 1.0 | Heigh of heat storage |
| Modelica.Units.SI.Diameter | d_tank | 0.8 | Diameter of heat storage |
| Modelica.Units.SI.Diameter | d_pipe_gen | 0.01 | Diameter of pipe from the generator side |
| Modelica.Units.SI.Length | l_pipe_gen | 9 | length of pipe from the generator side in the storage tank for heat transfer |
| Modelica.Units.SI.Diameter | d_pipe_con | 0.01 | Diameter of pipe from the consumer side |
| Modelica.Units.SI.Length | l_pipe_con | 14.2 | length of pipe from the consumer side in the storage tank for heat transfer |
| Modelica.Units.SI.SurfaceCoefficientOfHeatTransfer | k | 0.08 | Coefficient of heat Transfer from storage to room |
| Modelica.Units.SI.ThermalConductivity | lambda_pipe | 236 | thermal conductivity of aluminium pipe |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| TransiEnt.Basics.Interfaces.Thermal.FluidPortIn | GenIn | inlet from heat generator | |
| TransiEnt.Basics.Interfaces.Thermal.FluidPortOut | GenOut | outlet to heat generator | |
| TransiEnt.Basics.Interfaces.Thermal.FluidPortIn | ConIn | inlet from heat consumer | |
| TransiEnt.Basics.Interfaces.Thermal.FluidPortOut | ConOut | outlet to heat consumer | |
| TransiEnt.Basics.Interfaces.Thermal.HeatFlowRateOut | Q_flow_gen | Generated heat flow | |
| TransiEnt.Basics.Interfaces.General.TemperatureOut | T_Stor | Temperature in heat reservoir in K |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| TransiEnt.SimCenter | simCenter | ||
| Modelica.Units.SI.Energy | E_stor | Stored Energy (with cp and density of the Storage medium | |
| Modelica.Units.SI.HeatFlowRate | Q_flow_con | heat flow to heat consumer | |
| Modelica.Units.SI.HeatFlowRate | Q_flow_loss | surface losses to the environment | |
| Modelica.Units.SI.Temperature | T_stor | Temperature of the storage | |
| Modelica.Units.SI.Temperature | T_genOut | ||
| Modelica.Units.SI.Temperature | T_conOut | ||
| Modelica.Units.SI.SpecificHeatCapacity | cpCon | ||
| Modelica.Units.SI.SpecificHeatCapacity | cpGen | ||
| Real | Re_Gen | Re-number for tube flow | |
| Real | Pr_Gen | Pr-number | |
| Real | Nu_Gen | Nu-number Nu=0.021*Re^0.8*Pr^1/3 | |
| Modelica.Units.SI.Velocity | v_Gen | flow velocity in the pipe | |
| Modelica.Units.SI.DynamicViscosity | eta_Gen | dynamic viscosity of the water | |
| Modelica.Units.SI.CoefficientOfHeatTransfer | alpha_Gen | coefficient of heat transfer from water to the pipe with a turbulent tube flow | |
| Real | Re_Con | Re-number for tube flow | |
| Real | Pr_Con | Pr-number | |
| Real | Nu_Con | Nu-number Nu=0.021*Re^0.8*Pr^1/3 | |
| Modelica.Units.SI.Velocity | v_Con | flow velocity in the pipe | |
| Modelica.Units.SI.DynamicViscosity | eta_Con | dynamic viscosity of the water | |
| Modelica.Units.SI.CoefficientOfHeatTransfer | alpha_Con | coefficient of heat transfer from water to the pipe with a turbulent tube flow | |
| Modelica.Units.SI.ThermalConductivity | k_pipe_gen | ||
| Modelica.Units.SI.ThermalConductivity | k_pipe_con | ||
| Modelica.Units.SI.MassFlowRate | m_flow_con | ||
| Modelica.Units.SI.SpecificEnthalpy | h_outflow_con | ||
| Modelica.Units.SI.SpecificEnthalpy | h_outflow_gen | ||
| TILMedia.Internals.VLEFluidConfigurations.FullyMixtureCompatible.VLEFluid_ph | GenIn_State | ||
| TILMedia.Internals.VLEFluidConfigurations.FullyMixtureCompatible.VLEFluid_ph | GenOut_State | ||
| TILMedia.Internals.VLEFluidConfigurations.FullyMixtureCompatible.VLEFluid_pT | Tank_Medium | ||
| TILMedia.Internals.VLEFluidConfigurations.FullyMixtureCompatible.VLEFluid_ph | ConIn_State | ||
| TILMedia.Internals.VLEFluidConfigurations.FullyMixtureCompatible.VLEFluid_ph | ConOut_State |
Contents
| Name | Description |
|---|---|
| alpha_for_Nu_lam_dprotected | |
| Nu_for_Re_Prprotected | |
| Re_for_v_nu_dprotected | |
| Pr_for_lam_eta_cpprotected |