modelConsumer_LowTemperatureDHN

Simple model of a thermal consumer for a low temperature DHN including a heat pump and simple fluid ports

Information

Purpose of model

A model of a low temperature district heating network consumer. It contains a P-Controller, a pump, a heat exchanger, a thermal capacity and a heat conductance. The heat exchanger contains an integrated heat pump to increase the temperature of the heat source. The P-Controller sets the mass flow rate through the pump so that the temperature of the thermal capacity is kept constant. The thermal capacity represents the thermal capacity of the building. Heat losses are calculated with the thermal resistance and the temperature difference between the thermal capacity and the ambient temperature. The ambient temperature is set with a RealInput.

The difference to the consumer and Consumer_SLP model is that the supply and the return temperature of the building are calculated from the heat characteristics of the building.

The difference to the ConsumerHeatCharacteristic model is that the heat exchanger model has an integrated heat pump.

The model ist based on TransiEnt.Consumer.Heat.ConsumerHeatCharacteristic.

Level of detail, physical effects considered, and physical insight

  • P-controler
  • heat losses from the building to the environemnt
  • a thermal capacity of the buildings

References

Version History

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

Parameters

TypeNameDefaultDescription
RealmultiplicationFactor1Factor for the heat flow rate multiplication (for upscaling of consumer)
RealG155.737Thermal Conuctivity of the thermal resistor
SI.HeatCapacityC570000Thermal capacity of the heat capacitor
SI.PressureDifferencedelta_p_nom0.1e5Nominal pressure difference of the valve inside the consumer
SI.MassFlowRatem_flow_nom0.18Nominal mass flow rate of the water (used in the valve)
SI.HeatFlowRateQ_flow_nom8e3Nominal heat flow rate (used in the heat exchanger)
SI.TemperatureT_room295.15Set value for room temperature
SI.Timetau_i1000Constant for integrator part of PI-controller
Realk20Constant for proportional part of PI-controller
Realy_max3*m_flow_nomMax. opening of valve
Realy_min0.0001Min. opening of valve
Realcp4186
StringDHWfileName"Data_files/dhw_demand_w_dym.txt"
StringDHWtableName"tab1"

Connectors

TypeNameDefaultDescription
TransiEnt.Basics.Interfaces.Thermal.FluidPortIn_simpleinlet
TransiEnt.Basics.Interfaces.Thermal.FluidPortOut_simpleoutlet
Modelica.Blocks.Interfaces.RealInputT_outdoor_K

Components

TypeNameDefaultDescription
SI.HeatFlowRateQ_flow_C
Modelica.Thermal.HeatTransfer.Components.HeatCapacitorheatCapacitor1
Modelica.Thermal.HeatTransfer.Components.ThermalConductorthermalConductor1
TransiEnt.Components.Heat.HeatFlowMultiplierheatFlowMultiplier
Modelica.Thermal.HeatTransfer.Sources.PrescribedTemperatureAmbientTemperature1
TransiEnt.Components.Heat.SimplePump_mflowpump
Modelica.Blocks.Sources.RealExpressionSetTemperature
Modelica.Thermal.HeatTransfer.Celsius.TemperatureSensortemperatureSensor1
TransiEnt.Producer.Heat.Power2Heat.Heatpump.HeatPump_LowTemperatureDHNheatPump
Modelica.Blocks.Continuous.LimPIDPID1
TransiEnt.Consumer.Heat.HeatCharacteristicDoublePortheatCharacteristicsDoublePort