Next Article in Journal
General Concepts from the Risk Assessment and Hazard Identification of HTL-Derived Bio-Oil: A Case Study of the MARINES Project
Previous Article in Journal
Building a Circular Economy Option Through Wastewater Treatment and a Resource Recovery Approach
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Proceeding Paper

Hybrid Modelling Framework for Reactor Model Discovery Using Artificial Neural Networks Classifiers †

by
Emmanuel Agunloye
,
Asterios Gavriilidis
and
Federico Galvanin
*
Department of Chemical Engineering, University College London, London WC1E 7JE, UK
*
Author to whom correspondence should be addressed.
Presented at the 1st SUSTENS Meeting, 4–5 June 2025; Available online: https://www.sustenshub.com/welcome/.
Proceedings 2025, 121(1), 11; https://doi.org/10.3390/proceedings2025121011
Published: 25 July 2025

Abstract

Developing and identifying the correct reactor model for a reaction system characterized by a high number of reaction pathways and flow regimes can be challenging. In this work, artificial neural networks (ANNs), used in deep learning, are used to develop a hybrid modelling framework for physics-based model discovery in reactions systems. The model discovery accuracy of the framework is investigated considering kinetic model parametric uncertainty, noise level, features in the data structure and experimental design optimization via a differential evolution algorithm (DEA). The hydrodynamic behaviours of both a continuously stirred tank reactor and a plug flow reactor and rival chemical kinetics models are combined to generate candidate physics-based models to describe a benzoic acid esterification synthesis in a rotating cylindrical reactor. ANNs are trained and validated from in silico data simulated by sampling the parameter space of the physics-based models. Results show that, when monitored using test data classification accuracy, ANN performance improved when the kinetic parameters uncertainty decreased. The performance improved further by increasing the number of features in the data set, optimizing the experimental design and decreasing the measurements error (low noise level).

1. Introduction

Increasing applications of artificial neural networks (ANNs) for regression and classification tasks in chemical engineering areas including separation processes, chemical thermodynamics and reaction kinetics have been published [1]. Quaglio et al. [2] developed an ANN framework for kinetic model recognition in a batch reaction system composed of series and parallel chemical steps. Using power law kinetics, the authors derived possible candidate kinetic models from the reaction network. Then, they sampled the parameter space to create a large data set satisfying reaction yield and selectivity constraints and simulated the derived kinetic models to generate training data for the ANN, considering fixed experimental conditions and different levels of noise in the simulated data, to mirror real experimental measurement error. Recently, Sangoi et al. [3] extended the ANN framework to employ optimal design of experiments (DoE) to design a set of experimental conditions providing the highest classification accuracy using a differential evolution algorithm (DEA) in the DoE optimization.
While a kinetic model represents an important set of constitutive equations for a reaction system, a complete mathematical description considers reactor flow hydrodynamics coupled with chemical kinetics [4]. In this work, we develop a general hybrid modelling framework that combines physics-based modelling and artificial neural networks for reactor model discovery, considering a reaction system for benzoic acid esterification. This reaction system has been described using two rival kinetic expressions reported [5]. We further consider the impacts of parametric uncertainty, level of noise, number of features and of using DEA.

2. Hybrid Modelling Framework

Figure 1 illustrates the general methodology comprising a chemical system and the modelling framework. The chemical system is a flow reactor whose input and process variables ( x 0 , u ) at steady state are contained in the experimental setpoint denoted by φ . x 0 is the set of reactor inlet concentrations and u is the set of control variables such as the reactor temperature T and residence time τ . The progress of the reaction can then be monitored using the experimental data denoted by y ^ as observed in the reactor output stream.
The modelling framework is illustrated in Figure 1 and is constituted by Parts 1 and 2, relating the experimental setpoint to the observed experimental data. Part 1 employs a library of physics-based models, each denoted in general form as f i x , u , θ j = 0 and computed with parametric values θ j sampled in the model parameters space ( θ j Θ ), to generate simulated data of the chemical system. Part 2, on the other hand, employs an ANN model composed of layers of nodes and activation function parameters ( w , b ): ρ = φ ( w T . n + b ) , to learn the simulated data and predict the most suitable physics-based model for the experimental data.
The DEA used in the experimental design optimization, shown in the lower half of Figure 1 employs the two core parts in the whole experimental design space Φ to propose optimal experiments for the reactor φ o p t .

3. Reaction System Case Study

Benzoic acid esterification, a synthesis for producing esters used as intermediates in the pharmaceutical and fine chemical industry, is considered [5]:
B A + E t O H W + E B
Previous model investigation on this synthesis conducted within the experimental design space reported in Table 1 considered two chemical kinetics [5]:
M 1 :   k 1 C B A C E t O H
M 2 :   k 1 C B A C E t O H 1 + K W C W 2
where k 1 = exp K P 1 K P 2 × 10000 R T 1 T 1 T r e f ; T r e f = 378.15   K
Table 2 introduces two potential scenarios describing kinetic parameters uncertainty: (1) “Imprecise”: a scenario characterized by wide confidence intervals; (2) “Precise”: a scenario characterized by narrow confidence intervals reported for the reaction kinetic expressions.
The reactor is configured to have two concentric cylinders with the reaction occurring in the annulus, where the fluid is mixed by rotating the internal cylinder. This configuration can be described using a cascade of CSTRs. In this work we consider 1 CSTR and infinite CSTRs-in-series or a PFR, expressed mathematically as R1 and R2, respectively [6].
R 1 :   c i = c i 0 + τ r i ;   and   R 2 :   d c i d τ = r i ;   i = B A ,   E t O H ,   W   a n d   E B
A matrix of possible candidate physics-based models is therefore generated as reported in Table 3.

4. Results

For simulation, the physics-based models in Table 3, labelled as 1: ( R 1 , M 1 ), 2: ( R 1 , M 2 ), 3: ( R 2 , M 1 ), and 4: ( R 1 , M 1 ), employed the experimental design space shown in Table 1. The ANN employed 2 hidden layers, 32 nodes per hidden layer and the SoftMax function for quaternary classification in the output layer. The input layer nodes were a multiple of the 4 outlet reactant concentrations simulated, increasing with the number of experiments designed N e x p ,which is one of the key variable factors in the modelling framework that can impact performance. In this work two instances were investigated:(1) the design of one experiment ( N e x p = 1 ); (2) the design of two experiments ( N e x p = 2 ) . Other variable factors considered include parametric uncertainty, and noise level. Two scenarios for the kinetic model parametric information regions were considered: imprecise and precise confidence regions as shown in Table 2, by sampling 1000 sets of parameter values in the corresponding parameter space. Three levels of noise (0%, 1%, and 10% constant relative standard deviation) were added to the simulated data, using a split ratio of 60:20:20 for training, validation and testing of the ANN architecture.
First, we considered a single experiment fixed in the experimental design space reported in Table 1: c B A 0   = 1.5   M ;   F = 40 μ L min ;   T = 120   ° C and simulated without noise, because the no-noise scenario does not imply a perfect classification. Figure 2 shows the resulting ANN confusion matrices (labelled, 1: ( R 1 , M 1 ), 2: ( R 1 , M 2 ), 3: ( R 2 , M 1 ), and 4: ( R 1 , M 1 ) on the test data for the imprecise and precise prior parametric information, equivalent to 75 and 90% ANN accuracy, respectively. The prior information on model parameters determines the physics-based model precision with precise prior information on kinetic parameters yielding model simulations different from other physics-based models and thus improving the ANN performance by 15%. In all cases considered, the modelling framework performed better with precise prior parametric information than with imprecise prior parametric information. For example, corrupting with noise (1% and then 10%), the ANN performance with the precise parameter space decreased to 85 and 44% at 1 and 10% constant relative variance noise, respectively. These performances were better than those with the imprecise parameter space: 74 and 41% for 1 and 10% constant relative variance noise, respectively. The ANN performance can be improved by increasing the number of simulated experiments and employing the DEA design space optimization. A perfect classification accuracy of 100% was achieved by using the DEA to design two optimal experiments and simulating the physics-based models with the precise parametric information without adding noise.

5. Conclusions

A hybrid modelling framework for physics-based model discovery using an ANN classifier has been developed and tested for parametric uncertainty, level of noise, number of features and DEA optimization. Within the hybrid framework, a library of physics-based candidate models with parametric values sampled from the model parameter space generated large in silico data used for training the ANN classifier. On testing, the framework performance increased with number of features and design space optimization but decreased with level of noise and parametric uncertainty. The developed modelling framework can be used to recognize a suitable reactor model, based on the availability of actual experimental data for the rapid characterization and digitalization of reactor systems.

Author Contributions

Conceptualization, E.A. and F.G.; methodology, E.A. and F.G.; software, E.A. and F.G.; validation, E.A.; and F.G.; formal analysis, E.A.; A.G. and F.G.; investigation, E.A.; resources, F.G.; data curation, E.A.; writing—original draft preparation, E.A.; writing—review and editing, E.A.; visualization, E.A.; supervision, F.G.; project administration, A.G. and F.G.; funding acquisition, A.G. and F.G. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by EPSRC, grant number EP/X024016/1.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

No new data were created or analyzed in this study. Data sharing is not applicable to this article. The software source code can be found at: https://github.com/emmanagun/Hybrid-Modelling-for-Reactor-Model-Discovery-Using-ANN-Classifiers (accessed on 19 July 2025).

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Machado Cavalcanti, F.; Emilia Kozonoe, C.; André Pacheco, K.; Maria de Brito Alves, R. Application of Artificial Neural Networks to Chemical and Process Engineering. In Deep Learning Applications; Mazzeo, P.L., Spagnolo, P., Eds.; IntechOpen: London, UK, 2021. [Google Scholar] [CrossRef]
  2. Quaglio, M.; Roberts, L.R.; Jaapar, M.S.; Fraga, E.S.; Dua, V.; Galvanin, F. An artificial neural network approach to recognise kinetic models from experimental data. Comput. Chem. Eng. 2020, 135, 106759. [Google Scholar] [CrossRef]
  3. Sangoi, E.; Quaglio, M.; Bezzo, F.; Galvanin, F. An optimal experimental design framework for fast kinetic model identification based on artificial neural networks. Comput. Chem. Eng. 2024, 187, 108752. [Google Scholar] [CrossRef]
  4. Ranade, V.V. Computational Flow Modeling for Chemical Reactor Engineering; Academic Press: London, UK, 2001. [Google Scholar]
  5. Waldron, C.; Pankajakshan, A.; Quaglio, M.; Cao, E.; Galvanin, F.; Gavriilidis, A. Closed-Loop Model-Based Design of Experiments for Kinetic Model Discrimination and Parameter Estimation: Benzoic Acid Esterification on a Heterogeneous Catalyst. Ind. Eng. Chem. Res. 2019, 58, 22165–22177. [Google Scholar] [CrossRef]
  6. Fogler, H.S. Elements of Chemical Reaction Engineering; Prentice-Hall: Hoboken, NJ, USA, 2004. [Google Scholar]
Figure 1. Interaction between a flow chemical reactor (upper half) and its mathematical representation (lower half) comprising physics-based (PB) possible models and ANN classifier for model prediction (with solid lines) and reactor control via the DEA option (with dashed lines).
Figure 1. Interaction between a flow chemical reactor (upper half) and its mathematical representation (lower half) comprising physics-based (PB) possible models and ANN classifier for model prediction (with solid lines) and reactor control via the DEA option (with dashed lines).
Proceedings 121 00011 g001
Figure 2. Confusion matrices on the test data set for imprecise (A) and precise (B) parameter spaces labelled 1: ( R 1 , M 1 ), 2: ( R 1 , M 2 ), 3: ( R 2 , M 1 ), and 4: ( R 1 , M 1 ).
Figure 2. Confusion matrices on the test data set for imprecise (A) and precise (B) parameter spaces labelled 1: ( R 1 , M 1 ), 2: ( R 1 , M 2 ), 3: ( R 2 , M 1 ), and 4: ( R 1 , M 1 ).
Proceedings 121 00011 g002
Table 1. Benzoic acid esterification experimental design space [5].
Table 1. Benzoic acid esterification experimental design space [5].
Limits c B A 0 M F μ L / m i n T ° C
Upper 1.0 20 100
Lower 1.5 40 120
Table 2. Benzoic acid esterification kinetic parameter space [5].
Table 2. Benzoic acid esterification kinetic parameter space [5].
K P 1 K P 1 K w
Imprecise 16.7 ± 0.07 5.93 ± 0.60 0.28 ± 0.39
Precise 16.7 ± 0.02 5.93 ± 0.20 0.27 ± 0.10
Table 3. A matrix of 4 candidate physics-based models.
Table 3. A matrix of 4 candidate physics-based models.
M 1 M 2
R 1 ( R 1 , M 1 ) ( R 1 , M 2 )
R 2 ( R 2 , M 1 ) ( R 2 , M 2 )
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Agunloye, E.; Gavriilidis, A.; Galvanin, F. Hybrid Modelling Framework for Reactor Model Discovery Using Artificial Neural Networks Classifiers. Proceedings 2025, 121, 11. https://doi.org/10.3390/proceedings2025121011

AMA Style

Agunloye E, Gavriilidis A, Galvanin F. Hybrid Modelling Framework for Reactor Model Discovery Using Artificial Neural Networks Classifiers. Proceedings. 2025; 121(1):11. https://doi.org/10.3390/proceedings2025121011

Chicago/Turabian Style

Agunloye, Emmanuel, Asterios Gavriilidis, and Federico Galvanin. 2025. "Hybrid Modelling Framework for Reactor Model Discovery Using Artificial Neural Networks Classifiers" Proceedings 121, no. 1: 11. https://doi.org/10.3390/proceedings2025121011

APA Style

Agunloye, E., Gavriilidis, A., & Galvanin, F. (2025). Hybrid Modelling Framework for Reactor Model Discovery Using Artificial Neural Networks Classifiers. Proceedings, 121(1), 11. https://doi.org/10.3390/proceedings2025121011

Article Metrics

Back to TopTop