modelHeatExchanger

Simple heat exchanger model based on EN442 with simple fluid ports

Information

Purpose of model

A model of a heat exchanger. It consists of two fluid ports and a heat port. The model is based on the three balance equations of mass, energy and momentum. A dynamic energy balance is assumed. The mass and momentum balance are assumed to be static. No pressure losses are considered. The heat flow is calculated with an equation based on EN442.

It is used for the modeling of radiators and the modeling of substations in district heating networks.

Level of detail, physical effects considered, and physical insight

L2 (defined in the CodingConventions)

  • no pressure losses considered
  • static mass balance
  • constant fluid properties
  • dynamic energy balance
  • heat transport according to EN442

Interfaces

inlet: A fluid inlet for the inflowing heat carrier medium

outlet: A fluid outlet for the outflowing heat carrier medium

heatPort: A heat port for transporting the heat from the heat carrier

Governing Equations

Mass balance: m_in+m_out=0

Energy balance: V*rho*dh/dt=m_in*h_in+m_out*h_in-Q_flow

Heat transport: Q_flow = Q_flow_nom * (abs(heatPort.T - T_out) / delta_T_nom) ^ n

References

The model was used and verified in this publication:

[1] Westphal, J.; Brunnemann, J.; Speerforck, A.; Enabling the dynamic simulation of an unaggregated, meshed district heating network with several thousand substations;Energy; 2025

Moreover it was also used here:

[2]Vieth, J.; Westphal, J.; Speerforck, A.; District heating network topology optimization and optimal co-planning using dynamic simulations; Advances in Applied Energy; 2025

Version History

Model was inserted by Jan Westphal (j.westphal@tuhh.de) January 2025

Parameters

TypeNameDefaultDescription
SI.MassFlowRatem_flow_nom1Nominal mass flow rate of the water
SI.PressureDifferencedelta_p_nom0.02e3Pressure drop in the heat exchanger (Unused)
SI.VolumeV0.5Volume of the heat exchanger
SI.Densityrho983Density of the water
SI.TemperatureDifferencedelta_T_nom8Nominal temperature difference between supply and return temperature8
SI.HeatFlowRateQ_flow_nom4e3Nominal heat flow rate at a given temperature difference
Realn1.333Exponent for radiators
SI.SpecificHeatCapacitycp4186Specific heat capacity

Connectors

TypeNameDefaultDescription
TransiEnt.Basics.Interfaces.Thermal.FluidPortIn_simpleinlet
TransiEnt.Basics.Interfaces.Thermal.FluidPortOut_simpleoutlet
Modelica.Thermal.HeatTransfer.Interfaces.HeatPort_aheatPort

Components

TypeNameDefaultDescription
SI.MassFlowRatem_flow
SI.SpecificEnthalpyh
SI.HeatFlowRateQ_flow
SI.TemperatureT_in
SI.TemperatureT_out