modelDirectHeatExchangerWithElectricHeat

A model for generating hot water using a district heat exchanger and supplemental electric resistance

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

Information

This model implements a basic domestic hot water source for a district heating network. It includes heating by the district through a heat-exchanger and optional electric resistance to bring the temperature of produced hot water to setpoint, if the district supply water is not hot enough.

image

It is based on Fig. 5 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.

Parameters

TypeNameDefaultDescription
Modelica.Units.SI.Efficiencyeps0.8Heat exchanger effectiveness
Booleanhave_eleHeatrueTrue if has auxiliary electric heater
Modelica.Units.SI.HeatFlowRateQMax_flowModelica.Constants.infMaximum heat flow rate for electric heater (positive)
Modelica.Units.SI.MassFlowRatemDom_flow_nominalNominal flow rate of domestic hot water
Modelica.Units.SI.MassFlowRatemHea_flow_nominalNominal flow rate of heating source water
Modelica.Units.SI.PressureDifferencedpDom_nominal0Pressure difference in heat exchanger on domestic water side
Modelica.Units.SI.PressureDifferencedpHea_nominal0Pressure difference in heat exchanger on heating water side
Modelica.Units.SI.PressureDifferencedpEle_nominal0Pressure difference in electric reheater for domestic water
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

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.RealOutputTHexOutTemperature of hot water leaving heat exchanger
Modelica.Blocks.Interfaces.RealOutputPEleElectric power required for electric heater

Components

TypeNameDefaultDescription
Buildings.Fluid.HeatExchangers.Heater_TheaEleSupplemental electric resistance domestic hot water heater
Buildings.Fluid.Sensors.TemperatureTwoPortsenTemHotTemperature sensor for hot water supply
Buildings.Fluid.HeatExchangers.ConstantEffectivenesshexDomestic hot water heater heat exchanger
Buildings.Fluid.Sensors.TemperatureTwoPortsenTemHexOutTemperature sensor for hot water leaving heat exchanger
Modelica.Blocks.Sources.ConstantzeroZero power if no heater

Revisions

  • September 11, 2023 by David Blum:
    Update model for release.
  • June 16, 2022 by Dre Helmns:
    Initial Implementation.