modelDHWConsumption

DHW tank, HX, thermostatic mixing valve, and sink

Information

Model with fresh water station and domestic hot water load.

This model integrates a fresh water station, using Buildings.DHC.ETS.Combined.Subsystems.StorageTankWithExternalHeatExchanger with a domestic hot water load. The load is served at a specified temperature, using Buildings.DHC.Loads.HotWater.ThermostaticMixingValve to mix cold and hot water in order to meet the required hot water load.

The hot water load is specified through the input QReqHotWat_flow, rather than the hot water mass flow rate, in order to take into account the actual temperature of the hot water after the heat exchanger of the fresh water station.

Parameters

TypeNameDefaultDescription
Buildings.DHC.Loads.HotWater.Data.GenericDomesticHotWaterWithHeatExchangerdatPerformance data
Assumptions
BooleanallowFlowReversaltrue= false to simplify equations, assuming, but not enforcing, no flow reversal
Nominal condition
Modelica.Units.SI.HeatFlowRateQHotWat_flow_nominalNominal capacity of heat pump condenser for hot water production system (>=0)
Modelica.Units.SI.TemperatureDifferencedT_nominalNominal temperature difference from the condenser
Modelica.Units.SI.MassFlowRatem_flow_nominalQHotWat_flow_nominal/4200/dT_nominalNominal mass flow rate
Initialization
Medium.TemperatureT_startMedium.T_defaultTemperature start value of the tank

Connectors

TypeNameDefaultDescription
Modelica.Fluid.Interfaces.FluidPort_aport_aFluid connector a (positive design flow direction is from port_a to port_b)
Modelica.Fluid.Interfaces.FluidPort_bport_bFluid connector b (positive design flow direction is from port_a to port_b)
Buildings.Controls.OBC.CDL.Interfaces.RealInputTHotWatSupSetDomestic hot water temperature set point for supply to fixtures
Buildings.Controls.OBC.CDL.Interfaces.RealInputTColWatCold water temperature
Buildings.Controls.OBC.CDL.Interfaces.RealInputQReqHotWat_flowService hot water load
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
Buildings.Controls.OBC.CDL.Interfaces.RealOutputTTanTopTop temperature of tank
Modelica.Blocks.Interfaces.RealOutputdHFloEnthalpy flow rate

Components

TypeNameDefaultDescription
Buildings.DHC.ETS.Combined.Subsystems.StorageTankWithExternalHeatExchangerdomHotWatTanStorage tank with fresh water station
Buildings.DHC.Loads.HotWater.ThermostaticMixingValvetheMixValThermostatic mixing valve
Buildings.Fluid.Sources.Boundary_pTsouDCWSource for domestic cold water
Buildings.DHC.ETS.BaseClasses.JunctiondcwSplSplitter for domestic cold water
Buildings.Controls.OBC.CDL.Reals.MultiplyByParametergaiGain to normalize hot water signal
Modelica.Blocks.Sources.RealExpressionexpTTanTopTop temperature of tank
Buildings.DHC.Networks.BaseClasses.DifferenceEnthalpyFlowRatedHFlowEnthalpy flow rate

Contents

NameDescription
MediumMedium in the component

Revisions

  • November 5, 2025, by Michael Wetter:
    First implementation.