The Challenge

Modeling the thermal production of industrial and domestic heat producers presents a complex and challenging problem, primarily due to the inherent difficulties in obtaining accurate and comprehensive observational data. Heat production systems, whether on an industrial scale or within domestic settings, involve a multitude of dynamic processes that are influenced by a variety of factors. These factors include variations in fuel quality, changes in operational conditions, equipment efficiency, and external environmental influences such as ambient temperature and humidity. Each of these elements can significantly impact the thermal output and efficiency of the heat production system, making accurate modeling a formidable task.


One of the primary challenges in this domain is the scarcity of precise observational data. In many cases, the data available for modeling is either incomplete, inconsistent, or outdated, leading to models that may not accurately reflect the real-world behavior of heat production systems. Furthermore, the sensors and monitoring systems used to collect data often have limitations in terms of resolution, accuracy, and coverage, which further complicates the modeling process.


For illustration, we consider the following observations of the output temperature Tout:


Observation of the thermal output of the CHP (Tout).   


which are related to the environmental temperature Tenv and the energy input Qsource

(Upper) time variation of input energy (Qsource) and (lower) time variation of the environmental temperature (Tenv).   


Our challenge is to develop a predictive model M that can predict the output temperature Tout considering the environment temperature Tenv and energy input Qsource .


Data-driven (machine learning) solution 


Considering that scarcity and low quality of the data, developing a predictive model based on the data alone turns out to be a difficult task. In fact, as illustrated by the Figure below, developing a model Md based on these observations only, we find that the model is capable to perfectly describe the observations, however by no means is able to describe the overall true dynamics of the output thermal production. This is evident by comparing the true Tout-true with the output temperature predicted by a machine learning model Md based on the data only Tout-predicted-data

Comparision between (i) the predicted values of Tout with model Md that considers only the observations as input, (ii) scarce and noisy observations and (iii) the true thermal production (Tout-true).

Process based knowledge 

Based on process knowledge (e.g. Van Riet [2019]), it is possible to describe the thermal production of a CHP with a mathematical model as follows:  



Here,  α, β and are engineering parameters related, a.o. to the thermal capacity of the CHP and enveloppe losses, respectively. Thermal efficiency of the CHP is captured with ηth, Qsource comprises the energy source, Qnom the CHP nominal load, Tenv the surrounding temperature, Tin the inlet temperature, c specific heat of water and m the mass flow rate.

Physics Informed Neural Network (PINNs) solution 

Following the concept of Physics Informed Neural Networks (as explained also here), we can add to the machine learning modelling concept also losses that represent the ability of the neural network to comply with the process based model described above: Mpinn


As illustrated below, adding also losses that force the neural network to comply also to the process based knowledge mathematical model, we find that a neural network with the same structure as above (Mpinn), is able to closely describe the overall dynamics of the output thermal production. 


This result clearly shows the advantage of this approach by exemplifying that by adding information of the (process-based) mathematical model describing the dynamics allows to predict the true dynamics, even in the case that only scare and low quality observations are present.


Comparision between (i) the predicted values of Tout with model Mpinn that considers both the observations as the governing equations, (ii) scarce and noisy observations and (iii) the true thermal production (Tout-true).

Applications and outlook

We showcase the advantages of Physics-Informed Neural Networks (PINNs) to model the output temperature of a CHP. We show that PINNs allow to accurately predict the output temperature Tout of a CHP hydronic system even when observations of this quantity of interest are scarce and noisy. 


By leveraging Physics-Informed Neural Networks (PINNs), we can integrate fundamental physical laws with data-driven approaches, enhancing the accuracy and reliability of thermal production models even when observational data is limited. The adoption of this technology is paramount for our software product, Foresight, enabling it to provide more precise and actionable insights into heat production processes across diverse industrial and domestic applications.


Other common approaches which combine mathematical modelling with machine learning technology comprise surrogate modelling. An illustrative industry example on how PropheSea combined process-based models with machine learning technology considering this methodology is provided here


Finally, the observant ready perhaps questions to which extent the presented results of Mpinn depend on the accurate values of the engineering parameters used while integrating the process based model into the data driven methodology. The cool thing about this methodology is that (i) it allows to estimate the values of the engineering parameters; and (2) the resulting model is reasonably robust to changes in parameter values. The illustration of these results is, however, for a different post.   



More Insights 

Weather and AI

Predicting the weather is essential for our day-to-day activities. Conventional forecasts are based on physical (conservation) equations implemented using numerical models. Generative machine learning technology is leading to a paradigm shift in weather forecasting. 

On Physics Informed Learning

Physics Informed Neural Networks (PINNs) are an advanced methodology to improve predictive modelling by integrating prior knowledge into the solution. 

Using PINNs for
CHP heat output modelling

How physics informed neural networks (PINNs) can improve the development of a digital twin of a combined heat and power generation system.  

Weather and AI

Predicting the weather is essential for our day-to-day activities. Conventional forecasts are based on physical (conservation) equations implemented using numerical models. Generative machine learning technology is leading to a paradigm shift in weather forecasting. 

 

On Physics Informed Learning

Physics Informed Neural Networks (PINNs) are an advanced methodology to improve predictive modelling by integrating prior knowledge into the solution. 

 

Using PINNs for
CHP heat output modelling

How physics informed neural networks (PINNs) can improve the development of a digital twin of a combined heat and power generation system.  

 


Ready to turn your data and process knowledge 
into valuable software solutions ?