modelStorageTankWithExternalHeatExchanger

A model of a storage tank with external heat exchanger to produce hot water

Extends from Buildings.DHC.Loads.HotWater.BaseClasses.PartialFourPortDHW (A partial model for domestic water heating).

Information

This model implements a heating hot water tank with external heat exchanger that heats domestic hot water.

The storage tank model is described in Buildings.Fluid.Storage.StratifiedEnhancedInternalHex. The heat pump and storage tank system should be parameterized altogether using Buildings.DHC.Loads.HotWater.Data.GenericDomesticHotWaterWithHeatExchanger.

image

It is based on Fig. 3 in Evaluations of different domestic hot water preparing methods with ultra-low-temperature district heating by X. Yang, H. Li, and S. Svendsen at doi.org/10.1016/j.energy.2016.04.109, as well as the Advanced Energy Design Guide for Multifamily Buildings-Achieving Zero Energy published by ASHRAE in 2022 at https://www.ashrae.org/technical-resources/aedgs/zero-energy-aedg-free-download.

For a model that connects this hot water system to a heat pump, see Buildings.DHC.ETS.Combined.Subsystems.HeatPumpDHWTank.

Parameters

TypeNameDefaultDescription
Buildings.DHC.Loads.HotWater.Data.GenericDomesticHotWaterWithHeatExchangerdatPerformance data
Realk0.1Proportional gain of circulation pump controller
RealTi60Integrator time constant of circulation pump controller
Assumptions
BooleanallowFlowReversalDom (from PartialFourPortDHW)true= false to simplify equations, assuming, but not enforcing, no flow reversal for domestic water
BooleanallowFlowReversalHea (from PartialFourPortDHW)true= false to simplify equations, assuming, but not enforcing, no flow reversal for heating water
Initialization
Modelica.Media.Interfaces.Types.TemperatureTTan_start323.15Start value of tank temperature
Advanced
Realepsdat.QHex_flow_nominal/CMin_flow_nominal/(dat.TDom_nominal + dat.dTHexApp_nominal - dat.TCol_nominal)Heat exchanger effectiveness

Connectors

TypeNameDefaultDescription
Modelica.Fluid.Interfaces.FluidPort_aport_aDom (from PartialFourPortDHW)Fluid connector for cold water (or recirculation water)
Modelica.Fluid.Interfaces.FluidPort_bport_bDom (from PartialFourPortDHW)Fluid connector for heated domestic hot water
Modelica.Fluid.Interfaces.FluidPort_aport_aHea (from PartialFourPortDHW)Fluid connector for heating water (positive design flow direction is from port_a to port_b)
Modelica.Fluid.Interfaces.FluidPort_bport_bHea (from PartialFourPortDHW)Fluid connector b for heating water (positive design flow direction is from port_a to port_b)
Buildings.Controls.OBC.CDL.Interfaces.RealInputTDomSet (from PartialFourPortDHW)Temperature setpoint for heated domestic water
Modelica.Blocks.Interfaces.RealOutputPEleElectric power required for pumping equipment
Buildings.Controls.OBC.CDL.Interfaces.BooleanOutputchargeOutput true if tank needs to be charged, false if it is sufficiently charged

Components

TypeNameDefaultDescription
Buildings.Fluid.Movers.Preconfigured.FlowControlled_dppumHexPump with head as input
Buildings.Fluid.Storage.StratifiedtanHeating water tank
Buildings.Fluid.Sensors.TemperatureTwoPortsenTemHotTemperature sensor for hot water supply
Buildings.Fluid.HeatExchangers.ConstantEffectivenesshex
Buildings.Fluid.FixedResistances.JunctionjunTopFlow junction at top of tank
Buildings.Fluid.Sensors.MassFlowRatesenMasFloMass flow rate of domestic hot water
Modelica.Thermal.HeatTransfer.Sensors.TemperatureSensorTTanTopFluid temperature at the top of the tank
Modelica.Thermal.HeatTransfer.Sensors.TemperatureSensorTTanBotFluid temperature at the bottom of the tank
Buildings.DHC.Loads.HotWater.BaseClasses.HeatExchangerPumpControllerconPumController for pump of heat exchanger
Buildings.DHC.Loads.HotWater.BaseClasses.TankChargingControllerconChaController for tank charge signal
Buildings.Fluid.Actuators.Valves.ThreeWayLineardivValDiversion valve to reduce mixing in tank
Buildings.Fluid.Sensors.TemperatureTwoPortsenTemRetTemperature sensor for return heating water from heat exchanger
Buildings.DHC.Loads.HotWater.BaseClasses.TankValveControllerconValDiversion valve controller
Buildings.Controls.OBC.CDL.Reals.AddParameterdTHexAppOffset for heat exchanger approach temperature
Buildings.Fluid.Sensors.TemperatureTwoPortsenTemHeaSupTemperature sensor for supply water temperature from heating system

Revisions

  • October 5, 2023, by Michael Wetter:
    First implementation.