Literature DB >> 33277606

High-performance hybrid modeling chemical reactors using differential evolution based fuzzy inference system.

Meisam Babanezhad1,2, Iman Behroyan3, Ali Taghvaie Nakhjiri4, Azam Marjani5,6, Mashallah Rezakazemi7, Saeed Shirazian8.   

Abstract

Bubbly flow behavior simulation in two-phase chemical reactors such bubble column type reactors is widely employed for chemical industry purposes. The computational fluid dynamics (CFD) approach has been employed by engineers and researchers for modeling these types of chemical reactors. In spite of the CFD robustness for simulating transport phenomena and chemical reactions in these reactors, this approach has been known as expensive for modeling such turbulent complex flows. Artificial intelligence (AI) algorithm of the adaptive network-based fuzzy inference system (ANFIS) are largely understood and utilized for the CFD approach optimization. In this hybrid approach, the CFD findings are learned by AI algorithms like ANFIS to save computational time and expenses. Once the pattern of the CFD results have been captured by the AI model, this hybrid model can be then used for process simulation and optimization. As such, there is no need for further simulations of new conditions. The objective of this paper is to obviate the need for expensive CFD computations for two-phase flows in chemical reactors via coupling CFD data to an AI algorithm, i.e., differential evolution based fuzzy inference system (DEFIS). To do so, air velocity as the output and the values of the x, and y coordinates, water velocity, and time step as the inputs are inputted the AI model for learning the flow pattern. The effects of cross over as the DE parameter and also the number of inputs on the best intelligence are investigated. Indeed, DEFIS correlates the air velocity to the nodes coordinates, time, and liquid velocity and then after the CFD modeling could be replaced with the simple correlation. For the first time, a comparison is made between the ANFIS and the DEFIS performances in terms of the prediction capability of the gas (air) velocity. The results released that both ANFIS and DEFIS could accurately predict the CFD pattern. The prediction times of both methods were obtained to be equal. However, the learning time of the DEFIS was fourfold of ANFIS.

Entities:  

Year:  2020        PMID: 33277606      PMCID: PMC7718251          DOI: 10.1038/s41598-020-78277-3

Source DB:  PubMed          Journal:  Sci Rep        ISSN: 2045-2322            Impact factor:   4.379


Introduction

Different types of chemical reactors are being employed in chemical and biochemical engineering industries such as plug flow and batch reactors. However, continuous chemical reactors have attracted much attention due to better process efficiency. Among the various reactors applicable of process industry, bubble column types are mainly used in different disciplines, e.g., water and wastewater treatment, separation/purification, and biopharmaceuticals manufacturing. These reactors are continuous type and provide higher mass transfer rates, and lower operational and fixed costs[1-4]. These efficient reactors have been well understood by experimental and theoretical works in which the effect of underlying parameters on the reactor performance have been studied by underpinning work[5-12]. The results turned out that it is of great importance to well comprehend the turbulent behavior of these reactors. The basic principles for optimizing and scaling up of the bubble columns is usually built by the experimental analysis (e.g., DoE), empirical/semi-empirical correlations, population balance model (PBM), and uni/multi-dimensional convection–dispersion models. Notwithstanding, the aforementioned approaches remain limited in simple cases. Regarding this issue, 3D CFD (computational fluid dynamics) computational techniques are of beneficial to be employed for understanding the bubble column reactors and unlock the process complexity. Indeed, in this context, CFD contributes to comprehending the complex turbulent flow with two phases within the reactor considering the interactions between two phases. This versatile and novel computational method has considerably attracted attention in the past decades for simulation of complex fluid systems mainly for design, optimization, understanding, and process troubleshooting purposes[5]. CFD models have been used for a multidimensional bubble column taking into account an Eulerian approach[13]. In another research, Bhusra and co-workers[5,6] employed CFD technique for modeling, simulation, and understanding air–water interaction in a chemical reactor, in which Eulerian technique was assumed for modeling and simulation purposes. A bubble column was modelled in another study[14] with employing VOF technique as the CFD method. Chen et al.[15] investigated gas hold-up distribution, turbulency behavior of fluids, and velocity of liquid. An adiabatic bubbly flow model with two fluids was implemented[16]. Circulation of liquid phase and combining in the column with internals and without them were studied[17]. Thermal/hydrodynamic behavior of gas/liquid flow inside the bubble column rectors have been investigated experimentally by Kalaga and co-workers[7-9] where they studied hydrodynamics in the bubble column via the methods of experimental particle tracking. In spite of the robustness of these methods for understanding the flow pattern in bubble column reactors, the aforementioned techniques are disable for finding the relations that exist among such characteristics. In this context, Artificial Intelligence (AI) science can be employed and tailored for the bubble column reactors for better understanding and developing these chemical reactors. Fuzzy inference system (FIS) which is an intelligence engine can be employed in this context for process simulation and optimization[18-20]. Linking FIS and adaptive network (AN) was employed and reported in a few studies[21,22], but no investigations exist for considering the other AI algorithms. In order to address the mentioned research gap in the field of chemical reactors, in the present paper, a bubble column reactor considering air–water as fluids is simulated and the results of the CFD computations are learned by an appropriate AI method called DEFIS. The main idea of using DEFIS is that to develop a correlation between the velocities of air and water in each time and position (e.g., x y z) inside the column. For the first time, a comparison is made between the ANFIS and the DEFIS performances in terms of the prediction of air speed.

Methodology

Reactor shape and structure

The shape and design of the reactor for the computational task in this work is a reactor in cylindrical shape (diameter = 290 mm, length = 2 m). The reactor is equipped with a nozzle having the diameter of 23 cm. The air is injected into the reactor, initially filled with water as liquid phase with the temperature and velocity of 22 ºC and 5 mm/s, respectively.

CFD method

For the CFD simulations in this work, two-fluid Euler-Euler approach was employed with appropriate CFD code. The main equations can be expressed as[23,24]: Continuity equation: Momentum equation: The energy conservation equation was employed to estimate the heat transfer between air and water inside the reactor, and turbulence model was used for the turbulency[5,25].

The differential evolution (DE) algorithm

To discover x for optimizing ; x = [× 1, × 2, × 3, …, xD] is the common problem in an optimization algorithm. D represents the function dimensionality. The variables’ domains are denoted by their upper and lower bounds: . NP D-dimensional vectors are included in the original DE algorithm population[26-28]: G represents the generation. Crossover and mutation operations are used by DE for producing a trial vector:

Mutation operation

A mutant vector is created by mutation for every population vector as: One of the mutation approaches can be used to create the mutant vector. The most convenient approaches include[29]: ‘rand/1’: ‘best/1’: ‘current to best/1’: ‘best/2’: ‘rand/2’: In Eqs. (6–10) the indices , , , , stand for the various and random mutually integers created in the range of that are different also from index i. A mutation scale factor is represented by F in the range of [0, 2] (< 1). represents the best vectors within generation G.

Crossover procedure

The crossover process can be expressed using Eq. (11): The crossover parameters or factors are within the [0, 1] denoting the probability of generating the trial vector parameters from a mutant vector[26-28].

Fuzzy inference system (FIS)

The artificial intelligence approach known as FIS which is an efficienct calculating framework was used here for linking with the CFD framework. In the FIS structure, a fuzzy reasoning was employed on the basis of if–then rules[30]. Herein the x, and y coordinates, water velocity (Vw), and time are considered to attain air velocity in the reactor as the model’s output in the predictions using AI. The AI rule for the ith level is found as[30]: where denotes the signal exiting the node in layer 2. Also, K, L, M, N denote the signals incoming from MFs. Details of FIS are reported elsewhere[23,31].

Results and discussion

Figure 1 describes the DEFIS setup and validation as a flowchart for the prediction of the air speed inside the co-current reactor based on the x, and y coordinates, water velocity (Vw), and time. Once the inputs (x, and y coordinates, water velocity, and time) and the output (air velocity) have been determined, the fuzzy C-means clustering (FCM) is employed for generating inertia FIS. Then the FCM and the FIS variables must be defined accordingly. In terms of the differential evolution (DE) parameters, the number of population and crossover probability is determined. In order to achieve the best intelligence, a sensitivity analysis was carried out for different input numbers and crossover. The accuracy of the DEFIS in the prediction of the air velocity is checked with the CFD data, and the coefficient of determination (R2) is recorded in the computations. Once the highest value of R2 has been obtained, the sensitivity analysis must be stopped. Further validation is done by repeating the same process using the ANFIS. The results of DFIS are compared with those of ANFIS. Finally, a correlation is developed for calculation of the air velocity inside the co-current bubble column reactor as a function of the x, and y coordinates, water velocity (Vw), and time. The AI algorithms could cooperate with the CFD for finding such relationships. So, the AI algorithm of the DEFIS has been used in combination with the CFD modeling. Two-phase flow of air–water inside a co-current bubble column reactor is simulated using Eulerian CFD model at different time steps (e.g. 10, 20, 30, 40, 50 s). The air velocity is the output variable of the DEFIS. The x, and y coordinates, water velocity (Vw), and time are the input data learned by the DEFIS.
Figure 1

Flowchart of differential evolution based fuzzy inference system (DEFIS).

Flowchart of differential evolution based fuzzy inference system (DEFIS). In this study, 75% of the CFD data are used in training AI algorithm. But the whole data are used in the testing approach. Figures 2, 3 and 4 illustrate the changes of the regression number (R2) by adjusting the input number and the cross-over (CO) parameter, respectively. As can be seen, the highest R2 is obtained for the case when 4 inputs are considered in the model. However, it is not always the case, increasing the input numbers, the R2 increases. Sometimes, especially when there are not logical relations between the selected inputs and the output, adding more inputs the regression number falls down, and this might impair the calculations. Regarding CO, the highest R2 (i.e. 0.99977) is for 0.2. Hence, the best intelligence condition is seen for the input numbers of 4 and CO equal to 0.2.
Figure 2

Learning processes of DEFIS method with two inputs and changes in crossover (CO).

Figure 3

Learning processes of DEFIS method with three inputs and changes in crossover (CO).

Figure 4

Learning processes of DEFIS method with four inputs and crossover (CO) = 0.2.

Learning processes of DEFIS method with two inputs and changes in crossover (CO). Learning processes of DEFIS method with three inputs and changes in crossover (CO). Learning processes of DEFIS method with four inputs and crossover (CO) = 0.2. Figure 5 depicts the FIS structure being used in this paper for the process simulations. The type of cluster is semi-fuzzy clustering, and 4 clusters are used for each input. The number of rules and output memberships are also set to 4. Gaussian is the type of membership function that is shown schematically in the rectangular boxes on the right-hand side.
Figure 5

DEFIS structure in the high level of intelligence.

DEFIS structure in the high level of intelligence. The Gaussian function is illustrated in Table 1. According to the function, c and σ are the inputs membership functions parameters calculated by the DEFIS learning process in each cluster. Table 2 shows the values of c and σ of each cluster at the best intelligence condition.
Table 1

Mathematical formula of Gaussian function used in this work.

Membership functionFormula
Gaussian\documentclass[12pt]{minimal} \usepackage{amsmath} \usepackage{wasysym} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsbsy} \usepackage{mathrsfs} \usepackage{upgreek} \setlength{\oddsidemargin}{-69pt} \begin{document}$${e}^{\frac{-{\left(x-c\right)}^{2}}{2{\sigma }^{2}}}$$\end{document}e-x-c22σ2
Table 2

The parameters of input membership functions in the highest intelligence of DEFIS method.

Number of clusterType of MFsσc
First input'in1cluster1''gaussmf'− 5.2257E−024.2513E−04
'in1cluster2''gaussmf'5.8232E−013.2302E−04
'in1cluster3''gaussmf'− 1.2828E+01− 1.7492E−03
'in1cluster4''gaussmf'− 1.2653E−015.2875E−02
Second input'in2cluster1''gaussmf'5.0518E−02− 1.1089E−03
'in2cluster2''gaussmf'1.4579E−01− 6.1457E−04
'in2cluster3''gaussmf'2.6418E−015.6296E−04
'in2cluster4''gaussmf'2.5247E−01− 8.6988E−04
Third input'in3cluster1''gaussmf'2.8153E−017.7039E−02
'in3cluster2''gaussmf'7.3711E+001.1823E−02
'in3cluster3''gaussmf'2.2778E−011.6959E−02
'in3cluster4''gaussmf'3.7091E−01− 2.8461E−01
Forth input'in4cluster1''gaussmf'6.6080E+003.9870E+01
'in4cluster2''gaussmf'1.3802E+003.1087E+02
'in4cluster3''gaussmf'5.4194E+001.1682E+01
'in4cluster4''gaussmf'− 9.1207E+002.8001E+01
Mathematical formula of Gaussian function used in this work. The parameters of input membership functions in the highest intelligence of DEFIS method. Gaussian function changes versus the changes of inputs are shown in Fig. 6. According to this figure, the value of Gaussian function (µ) for each input and cluster can be determined. As mentioned before, consequent parameters for predicting air velocity is also obtained after reaching the best intelligence.
Figure 6

Inputs membership in the high level of intelligence.

Inputs membership in the high level of intelligence. Figure 7 illustrates the fuzzy reasoning procedure of prediction of air velocity inside the BCR. The operations of fuzzy reasoning are based on comparisons of the input parameters with the MFs on the premise part and obtaining the values of membership for each linguistic label[32]. Table 3 shows these values for every cluster. So, using Eq. (13), the formula is obtained to correlate the air velocity to x, y, time, and Vw.
Figure 7

Fuzzy reasoning procedure of prediction of air velocity inside the reactor by using the trained rules and trained membership functions.

Table 3

DEFIS method consequent parameters for predicting gas velocity in z direction.

Output MFsOutput MFs typeopqrs
'out1cluster1''linear'2.6131E−042.3510E−051.0059E+00− 1.2047E−056.3183E−04
'out1cluster2''linear'− 3.0254E−04− 6.6650E−041.3127E+00− 7.0574E−05− 1.5252E−04
'out1cluster3''linear'2.1228E−042.9970E−041.0058E+00− 1.5727E−054.0862E−04
'out1cluster4''linear'2.3020E−04− 4.5140E−041.0059E+00− 3.5953E−051.9991E−04
Fuzzy reasoning procedure of prediction of air velocity inside the reactor by using the trained rules and trained membership functions. DEFIS method consequent parameters for predicting gas velocity in z direction. As a summary, once the best intelligence of the DEFIS is achieved, all parameters of the Gaussian membership function and the consequent parameters could be found. Replacing the parameters in Eq. (13), the air velocity could be calculated as a function of x, y, time, and Vw. In this way, the air velocity is calculated in the domain using the formula without additional CFD modeling. This means that there is no need to discretize and solve the complicated governing equations (mass, momentum, etc.) by the CFD tool anymore. As a result, the computational efforts are facilitated by the artificial intelligence of the DEFIS. In other words, the DEFIS helps the users to save the computational time and costs by the elimination of the CFD modeling for prediction of the air velocity in new conditions (the new time and/or the new water velocity). To further assess the model developed in this work, comparisons between the CFD computations in terms of air speed and the DEFIS predictions have been determined and illustrated in Fig. 8. The air has been injected into the bottom side of the reactor vessel along the axial direction. This figure illustrates the axial air velocity in a cross-section plane of the cylindrical column placing in height of 10 cm from the bottom. The blue points represent the air velocities of the nodes predicted by the CFD, while the red ones show those predicted by the DEFIS. The results reveal that both methods predict the same air speeds with minimum deviations.
Figure 8

DEFIS prediction and its comparison with CFD results.

DEFIS prediction and its comparison with CFD results. For more validations and comparisons, the CFD computations data are learned by the other AI method of ANFIS once again. According to Table 4, the similar setup parameters have been chosen for both ANFIS and DEFIS. At this condition, although the prediction time of both methods is equal, the learning time of DEFIS is fourfold of ANFIS.
Table 4

Learning and prediction times for the similar setup parameters of DEFIS and ANFIS.

MethodDEFISANFIS
Number of inputs44
Maximum of iteration800800
Percentage of data in training processes75%75%
Percentage of data in testing processes100%100%
Clustering typeFuzzy C-mean ClusteringFuzzy C-mean Clustering
Type of input membership functionGaussmfGaussmf
FIS typeSugenoSugeno
Number of cluster for each input as FCM clustering parameter44
Number of rules44
Exponent as FCM clustering parameter22
Minimum improvement as FCM clustering parameter1.00E−051.00E−05
Learning time(s)172.316905143.8744104
Prediction time(s)0.0864120.0884874
Learning and prediction times for the similar setup parameters of DEFIS and ANFIS. For accuracy in prediction, as shown in Fig. 9, the coefficient of determination (R2) is close to 1 in both methods at the best intelligence. This similar performance in the prediction of the CFD results (the air velocity) is also shown in Fig. 10. Totally, 5265 CFD data have been used in this study for the computations. As seen in Fig. 10, the CFD results are closely predicted by both ANFIS and DEFIS for the whole of 5265 data.
Figure 9

Validation of DEFIS method by comparison with ANFIS method.

Figure 10

Performance comparison between DEFIS and ANFIS in the prediction of the CFD results.

Validation of DEFIS method by comparison with ANFIS method. Performance comparison between DEFIS and ANFIS in the prediction of the CFD results.

Conclusion

CFD modeling of an air–water co-current bubble column reactor was considered in the present study. The artificial intelligence (AI) came to help the CFD model by learning the generated data. After learning and capturing the general pattern of the CFD results by the AI algorithms, there is no need for further simulations of new conditions by expensive computational tasks. The AI algorithm of the differential evolution based fuzzy inference system was selected, as the main method for learning the CFD data. For further validation, a comparison was made between the DEFIS and the ANFIS performances in the prediction of the air velocity. The Eulerian two-phase CFD model was employed to predict air velocity inside the reactor at different time steps. The x, and y coordinates, water velocity (Vw), and time were considered as the input data learned by the DEFIS. The cross over as the DE parameter and also the number of inputs were adjusted for the best intelligence. Then the Gaussian membership function parameters (i.e. c and σ) and the consequent parameters were obtained by the DEFIS for all 4 clusters to correlate the air velocity based on the x, and y coordinates, water velocity (Vw), and time. This formula eliminates needing further CFD modeling for air speed prediction. The best intelligence condition (i.e. R2 = 0.99977) was seen for the input numbers of 4 and CO equal to 0.2. A comparison between the CFD predictions of the air velocity and the DEFIS predictions revealed that both methods predicted the same air velocities. Comparing ANFIS and DEFIS, both methods could accurately predict the CFD results. The prediction times of both methods were equal. However, the learning time of the DEFIS was fourfold of the ANFIS.
  7 in total

1.  Performance of a modified multi-stage bubble column reactor for lead(II) and biological oxygen demand removal from wastewater using activated rice husk.

Authors:  J N Sahu; S Agarwal; B C Meikap; M N Biswas
Journal:  J Hazard Mater       Date:  2008-03-27       Impact factor: 10.588

2.  Efficient removal of pollutants from olive washing wastewater in bubble-column bioreactor by Trametes versicolor.

Authors:  F Cerrone; P Barghini; C Pesciaroli; M Fenice
Journal:  Chemosphere       Date:  2011-04-27       Impact factor: 7.086

3.  Prediction of thermal distribution and fluid flow in the domain with multi-solid structures using Cubic-Interpolated Pseudo-Particle model.

Authors:  Quyen Nguyen; Meisam Babanezhad; Ali Taghvaie Nakhjiri; Mashallah Rezakazemi; Saeed Shirazian
Journal:  PLoS One       Date:  2020-06-18       Impact factor: 3.240

4.  Thermal and Flow Visualization of a Square Heat Source in a Nanofluid Material with a Cubic-Interpolated Pseudo-particle.

Authors:  Quyen Nguyen; Ali Taghvaie Nakhjiri; Mashallah Rezakazemi; Saeed Shirazian
Journal:  ACS Omega       Date:  2020-07-08
  7 in total
  4 in total

1.  Investigation on performance of particle swarm optimization (PSO) algorithm based fuzzy inference system (PSOFIS) in a combination of CFD modeling for prediction of fluid flow.

Authors:  Meisam Babanezhad; Iman Behroyan; Ali Taghvaie Nakhjiri; Azam Marjani; Mashallah Rezakazemi; Amir Heydarinasab; Saeed Shirazian
Journal:  Sci Rep       Date:  2021-01-15       Impact factor: 4.379

2.  Velocity prediction of nanofluid in a heated porous pipe: DEFIS learning of CFD results.

Authors:  Meisam Babanezhad; Iman Behroyan; Azam Marjani; Saeed Shirazian
Journal:  Sci Rep       Date:  2021-01-13       Impact factor: 4.379

3.  Neural-based modeling adsorption capacity of metal organic framework materials with application in wastewater treatment.

Authors:  Mozhgan Parsaei; Elham Roudbari; Farhad Piri; A S El-Shafay; Chia-Hung Su; Hoang Chinh Nguyen; May Alashwal; Sami Ghazali; Mohammed Algarni
Journal:  Sci Rep       Date:  2022-03-08       Impact factor: 4.379

Review 4.  State-of-the-Art Review on the Application of Membrane Bioreactors for Molecular Micro-Contaminant Removal from Aquatic Environment.

Authors:  My-Linh Nguyen; Ali Taghvaie Nakhjiri; Mehnaz Kamal; Abdullah Mohamed; Mohammed Algarni; Subbotina Tatyana Yu; Fu-Ming Wang; Chia-Hung Su
Journal:  Membranes (Basel)       Date:  2022-04-15
  4 in total

北京卡尤迪生物科技股份有限公司 © 2022-2023.