Dynamic simulation of district heating and cooling networks has an increased importance in the transition towards renewable energy sources and lower temperature district heating grids, as both temporal and spatial behavior need to be considered. Even though much research and development has been performed in the field, there are several pitfalls and challenges towards dynamic district heating and cooling simulation for everyday use. This article presents the experiences from developing and working with a city-scale simulator of a district heating grid located in Luleå, Sweden. The grid model in the case study is a physics based white-box model, while consumer models are either data-driven black-box or gray-box models. The control system and operator models replicate the manual and automatic operation of the combined heat and power plant. Using the functional mock-up interface standard, a co-simulation environment integrates all the models. Further, the validation of the simulator is discussed. Lessons learned from the project are presented along with future research directions, corresponding to identified gaps and challenges.
Simulation of thermal dynamics in city-scale district energy grids often becomes computationally prohibitive for long simulation runs. Most current model order reduction methods offer limited interpretability with regards to the nonreduced system and are not in general applicable for varying flow rates, multiple producers, or changing flow directions. This article presents a graph perspective on modeling of district energy networks. Based on spectral graph theory, a novel method for model order reduction of district energy systems is proposed. The method approximates the solution of an optimization problem, minimizing the coefficients of the local truncation error for the advection equation. Furthermore, a method for calculating the intracluster temperature distribution is presented. It is shown that the method can be used to reduce the thermal dynamic model of a city-scale energy grid, resulting in a coarser temporal and spatial resolution, with a significant decrease in simulation time. The relative root-mean-square error (rRMSE) was 2.5% for the temperature in the evaluation scenario, comparing the reduced-order system with the nonreduced system at the instances of the coarser time step.
Dynamic physics based modeling of district heating networks has gained importance due to an increased use of renewable energy sources and a transition towards lower temperature district heating networks. The modeling is enhanced by technologies for automatic model generation and co-simulation. These models are in general not suitable for automatic control and optimization methods, due to the complexity of the model. Moreover, there is no notion of uncertainty in the models, something that can be of importance for decision making, and that can be explicitly accounted for in e.g Bayesian Optimization and Stochastic Nonlinear Model Predictive Control. In this paper a data driven Gaussian process model for the thermal dynamics of the district heating grid is proposed, with a kernel derived using known physics and numerical methods. The model is trained and validated on a realistic first principle simulation model of a district heating pipe. Results show a good correspondence with the output from the training model on a validation dataset, providing explicit propagation of the input uncertainties. It is suggested that the method can be scaled up to larger parts of the grid for use in advanced control and optimization methods.
In this paper a new method for heat load prediction in district energy systems is proposed. The method uses a nominal model for the prediction of the outdoor temperature dependent space heating load, and a data driven latent variable model to predict the time dependent residual heat load. The residual heat load arises mainly from time dependent operation of space heating and ventilation, and domestic hot water production. The resulting model is recursively updated on the basis of a hyper-parameter free implementation that results in a parsimonious model allowing for high computational performance. The approach is applied to a single multi-dwelling building in Lulea, Sweden, predicting the heat load using a relatively small number of model parameters and easily obtained measurements. The results are compared with predictions using an artificial neural network, showing that the proposed method achieves better prediction accuracy for the validation case. Additionally, the proposed methods exhibits explainable behavior through the use of an interpretable physical model.