The computational complexity involved in modelling district heating (DH) networks impedes the integration of network operations into comprehensive DH system studies. We developed a flexible, accurate, and fast dynamic thermal simulation model utilising discrete event simulation (DES). This model is versatile, suitable for any tree-shaped DH network with a central heating plant and can estimate node temperatures and calculate pipe heat losses. The speed of the model is improved via using variable time steps and by incorporating two advanced techniques: lazy evaluation and a customised priority queue. To further improve the computational speed, we developed a technique to eliminate redundant sampling points. This model was tested and demonstrated excellent consistency with actual measurements. Remarkably, reducing sampling points can speed up the simulation by a factor of three without compromising the temperature accuracy. A 72-day simulation of a network with 102 pipes was completed within 0.219 s. Our findings highlight the significant potential of the DES model for large-scale dynamic network simulations and offer a promising solution for DH network simulations and system optimisation.
Read full abstract