District heating and cooling systems – Framework for Modelica-based simulation and dynamic optimization

Future district heating systems (so called 4th Generation District Heating (4GDH) systems) have to address challenges such as integration of (de)centralized renewable energy sources and storage, low system temperatures and high fluctuation of the supply temperature. This paper presents a novel framework for representing and simplifying on-grid energy systems as well as for dynamic thermo-hydraulic simulation and optimization of district heating and cooling systems. We describe physically precise and numerically robust models for simulation and continuous optimization. Furthermore, we propose a novel method to decompose a mixed-integer-optimal control problem into two sub-problems, separating the discrete part from the continuous. Two use cases show the applicability of the framework. An existing district heating system with more than 100 consumers is adapted to test the framework based on simulation requirements of 4GDH systems. The second case presents the continuous optimization of a district heating system in a virtual city district. A main advantage of combining equation-based modelling and nonlinear optimization is the possibility of including model coherences based on physical laws into the optimization formulation. Results show that the framework is well-suited for simulating larger scale 4GDH systems and that the solution time of the continuous optimization problem is sufficiently low for real-time applications.

[1]  Karl-Erik Årzén,et al.  Modeling and optimization with Optimica and JModelica.org - Languages and tools for solving large-scale dynamic optimization problems , 2010, Comput. Chem. Eng..

[2]  Brian Vad Mathiesen,et al.  4th Generation District Heating (4GDH) Integrating smart thermal grids into future sustainable energy systems , 2014 .

[3]  Rickard Hägg,et al.  Dynamic Simulation of District Heating Networks in Dymola , 2016 .

[4]  Jonathan A. Wright,et al.  A comparison of deterministic and probabilistic optimization algorithms for nonsmooth simulation-based optimization , 2004 .

[5]  Gerhard Schmitz,et al.  Status of the TransiEnt Library: Transient Simulation of Coupled Energy Networks with High Share of Renewable Energy , 2015 .

[6]  Gerald Schweiger,et al.  The potential of power-to-heat in Swedish district heating systems , 2017 .

[7]  Martin Kozek,et al.  Predictive control of district heating network using fuzzy DMC , 2012, 2012 Proceedings of International Conference on Modelling, Identification and Control.

[8]  Qinghua Wu,et al.  Modelling and operation optimization of an integrated energy based direct district water-heating system , 2014 .

[9]  Peter A. Fritzson,et al.  Principles of object-oriented modeling and simulation with Modelica 2.1 , 2004 .

[10]  S. A. Klein Development and integration of an equation‐solving program for engineering thermodynamics courses , 1993 .

[11]  Henrik Lund,et al.  Renewable Energy Systems: The Choice and Modeling of 100% Renewable Solutions , 2009 .

[12]  C. Mondon,et al.  Predictive Control of a Complex District Heating Network , 2005, Proceedings of the 44th IEEE Conference on Decision and Control.

[13]  Helge V. Larsen,et al.  A comparison of aggregated models for simulation and operational optimisation of district heating networks , 2004 .

[14]  Per-Ola Larsson,et al.  Short-term production planning for district heating networks with JModelica.org , 2014 .

[15]  Irina Gabrielaitiene,et al.  Modelling temperature dynamics of a district heating system in Naestved, Denmark - A case study , 2007 .

[16]  Kristina Orehounig,et al.  Integration of decentralized energy systems in neighbourhoods using the energy hub approach , 2015 .

[17]  Peter Wild,et al.  Thermal performance of a steady state physical pipe model for simulating district heating grids with variable flow , 2016 .

[18]  Jorge Pinho de Sousa,et al.  A NEW METAHEURISTIC APPROACH TO THE UNIT COMMITMENT PROBLEM , 2002 .

[19]  Johan Åkesson,et al.  Industrial application of optimization with Modelica and Optimica us- ing intelligent Python scripting , 2014 .

[20]  Brian Vad Mathiesen,et al.  Smart Energy Systems for coherent 100% renewable energy and transport solutions , 2015 .

[21]  Bernd Möller,et al.  Heat Roadmap Europe: Combining district heating with heat savings to decarbonise the EU energy system , 2014 .

[22]  Per-Ola Larsson,et al.  Optimization of Low-Level Controllers and High-Level Polymer Grade Changes , 2011 .

[23]  Patrick Lauenburg,et al.  Prosumers in district heating networks – A Swedish case study , 2016 .

[24]  Didier Dumur,et al.  Hybrid dynamic optimization of power plants using sum-up rounding and adaptive mesh refinement , 2014, 2014 IEEE Conference on Control Applications (CCA).

[25]  Elisa Guelpa,et al.  Optimal operation of large district heating networks through fast fluid-dynamic simulation , 2016 .

[26]  Sylvain Serra,et al.  A MINLP optimization of the configuration and the design of a district heating network: Academic study cases , 2016 .

[27]  Kody M. Powell,et al.  Thermal Energy Storage to Minimize Cost and Improve Efficiency of a Polygeneration District Energy System in a Real-time Electricity Market , 2016 .

[28]  Jurij Avsec,et al.  Artificial neural networking model of energy and exergy district heating mony flows , 2015 .

[29]  Jonas Allegrini,et al.  A review of modelling approaches and tools for the simulation of district-scale energy systems , 2015 .

[30]  Aric Hagberg,et al.  Exploring Network Structure, Dynamics, and Function using NetworkX , 2008, Proceedings of the Python in Science Conference.

[31]  Johan Åkesson,et al.  Dynamic Optimization in JModelica.org , 2015 .

[32]  Lorenz T. Biegler,et al.  On the implementation of an interior-point filter line-search algorithm for large-scale nonlinear programming , 2006, Math. Program..

[33]  Andrea Toffolo,et al.  Optimization of multi-source complex district heating network, a case study , 2017 .

[34]  Hubertus Tummescheit,et al.  Implementation of a transmission line model for fast simulation of fluid flow dynamics , 2011 .

[35]  Fariborz Haghighat,et al.  Optimization approaches in district heating and cooling thermal network , 2017 .

[36]  Dirk Müller,et al.  Iea Ebc Annex 60 Modelica Library – An International Collaboration to Develop A Free Open-Source Model Library for Buildings And Community Energy Systems , 2015, Building Simulation Conference Proceedings.

[37]  Ralf-Roman Schmidt,et al.  Low temperature district heating in Austria: Energetic, ecologic and economic comparison of four case studies , 2016 .

[38]  Markus Bohlin,et al.  Production Planning for Distributed District Heating Networks with JModelica.org , 2015 .

[39]  Thierry S. Nouidui,et al.  Equation-based languages- A new paradigm for building energy modeling, simulation and optimization , 2016 .

[40]  Andrew Wirth,et al.  Control period selection for improved operating performance in district heating networks , 2011 .

[41]  Yacine Rezgui,et al.  Dynamic simulation of heat losses in a district heating system: A case study in Wales , 2016, 2016 IEEE Smart Energy Grid Engineering (SEGE).

[42]  A.J. Conejo,et al.  Modeling of start-up and shut-down power trajectories of thermal units , 2004, IEEE Transactions on Power Systems.

[43]  Kody M. Powell,et al.  A Continuous Formulation for Logical Decisions in Differential Algebraic Systems using Mathematical Programs with Complementarity Constraints , 2016 .

[44]  Soma Mohammadi,et al.  Identifying the optimal supply temperature in district heating networks - A modelling approach , 2014 .

[45]  Jan Carmeliet,et al.  Optimising urban energy systems: Simultaneous system sizing, operation and district heating network layout , 2016 .

[46]  Jan Dahl,et al.  A method for the simulation and optimization of district heating systems with meshed networks , 2015 .

[47]  Andreas Junghanns,et al.  The Functional Mockup Interface for Tool independent Exchange of Simulation Models , 2011 .

[48]  Martin Geidl,et al.  OPTIMAL POWER DISPATCH AND CONVERSION IN SYSTEMS WITH MULTIPLE ENERGY CARRIERS , 2005 .

[49]  F. Haghighat,et al.  Integration of storage and renewable energy into district heating systems: A review of modelling and optimization , 2016 .

[50]  Erik Dotzauer Produktionsplanering av el och värme - Matematiska modeller och metoder , 2002 .

[51]  Jlm Jan Hensen,et al.  A Modelica based computational model for evaluating a renewable district heating system , 2014 .

[52]  Lorenz T. Biegler,et al.  Nonlinear Waves in Integrable and Nonintegrable Systems , 2018 .