Conference article

Optimal Control of District Heating Systems using Dynamic Simulation and Mixed Integer Linear Programming

Loïc Giraud
Univ. Grenoble Alpes, INES, F-73375 Le Bourget du Lac, France

Massinissa Merabet
Univ. Grenoble Alpes, INES, F-73375 Le Bourget du Lac, France

Roland Baviere
CEA, LITEN, 17, Rue des Martyrs, F-38054 Grenoble, France

Mathieu Vallée
Univ. Grenoble Alpes, INES, F-73375 Le Bourget du Lac, France

Download article

Published in: Proceedings of the 12th International Modelica Conference, Prague, Czech Republic, May 15-17, 2017

Linköping Electronic Conference Proceedings 132:14, p. 141-150

Show more +

Published: 2017-07-04

ISBN: 978-91-7685-575-1

ISSN: 1650-3686 (print), 1650-3740 (online)


This paper presents the development of a new advanced control method suitable for variable temperature District Heating Systems (DHS). The proposed controller determines optimal planning for the on/off status and power of the heat generators as well as for the supply temperature and differential pressure at the production plant level. Compared to existing methods, the original features of the developed solution are to fully exploit the thermal storage capacity of the network and to determine the best compromise between pumping costs and heat losses. A numerical case study based on a representative DHS is used to evaluate the method over a heating season (5 months). Results show that our method reduces production costs up to 8.3 % when compared to a more classical controller. Moreover, the observed computational costs are compatible with the requirements of the receding time horizon principle, ensuring that the method is tractable on real DHS.


District Heating, Model Predictive Control, Dynamic Simulation, Mixed Integer Linear Programming


Akesson, J., Faber R., Laird C.D., Prolb K. Tummescheit H., Velut S., Zhu Y., ”Models of a post-combustion absorption unit for simulation, optimization and non-linear model predictive control schemes”, Proc. 8th Modelica Conference, Dresden, Germany, March 20-22, 2011

Brah S. A. and Hunsucker J. L., “Branch and bound algorithm for the flow shop with multiple processors,” Eur. J. Oper. Res., no. 51, pp. 88–89, 1991.

Casella F., “Simulation of Large-Scale Models in Modelica: State of the Art and Future Perspectives”, Proc. 11th International Modelica Conf., Sept 21-23 2015, Versailles, France

Donald C. Augustin, Mark S. Fineberg, Bruce B. Johnson, Robert N. Linebarger, F. John Sansom, and Jon C. Strauss. The SCi Continuous System Simulation Language (CSSL). Simulation, No 9, pp. 281–303, 1967.

Benonysson A., Bøhm B., and Ravn H.F., “Operational optimization in a district heating,” Energy Convers. Manag., vol. 36, no. 5, pp. 297–314, 1995

Eriksson H., “Short Term Operation of District Heating Systems: An Application of Mathematical Programming” Doctoral thesis, Chalmers University of Technology, 1994.

Fang T. and Lahdelma R., “Genetic optimization of multiplant heat production in district heating networks,” Appl. Energy, vol. 159, pp. 610–619, Dec. 2015.

Giraud L., Bavière R., Paulus C., Vallée M., and Robin J.-F., “Dynamic Modelling, Experimental Validation and Simulation of a Virtual District Heating Network,” Proc. 28th Int. Conf. on Efficiency, Cost, Optimization, Simulation and Environmental Impact of Energy Systems (ECOS), Pau, France, 2015.

Giraud L., Bavière R., Vallée M., Paulus C. “Presentation, Validation and Application of the DistrictHeating Modelica library”, Proc. 11th International Modelica Conf., Sept 21-23 2015, Versailles, France doi 10.3384/ecp1511879

Giraud L., “Modélisation Dynamique et Gestion Avancée de Réseaux de Chaleur”, Doctoral Thesis, Université Grenoble Alpes, 2016.

IBM, User’s Manual for CPLEX - IBM ILOG CPLEX v12.1. International Busines Machines Corporation, 2009.

Lund H., Werner S., Wiltshire R., Svendsen S., Thorsen J. E., Hvelplund F., and Mathiesen B.V., “4th Generation District Heating (4GDH),” Energy, vol. 68, pp. 1–11, Apr. 2014.

Nielsen T. S. and Madsen H., “Control of Supply Temperature in District Heating Systems with Multiple Supply Points,” presented at the 18th Int. Conf. on Efficiency, cost, Optimization, Simulation, and Environmental Impact of Energy Systems (ECOS), Trondheim, Norway, 2005, vol. 2, pp. 1071–1079.

Runvik H., Larsson P.-O., Velut S., Funquist J., Bohlin M., Nilsson A., Modarrez Razavi S., “Production Planning for Dusributed District Heating Networks with”, Proc. 11th International Modelica Conf., Sept 21-23 2015, Versailles, France doi 10.3384/ecp15118217

Sandou G., “Modélisation, Optimisation et commande de parcs de production multi-énergies complexes,” Doctoral thesis, Université Paris XI Orsay, Paris, France, 2006.

SNCU, “Enquête nationale sur les réseaux de chaleur et de froid - Restitution des statistiques portant sur l’année 2011,” 2013 , accessed in december 2016

Citations in Crossref