Abstract
Prediction of air-water two-phase flow frictional pressure loss in pressurized tunnels and pipelines is essentially in the design of proper hydraulic structures and pump systems. In the present study artificial neural networks (ANN) and adaptive neuro-fuzzy inference system (ANFIS) are employed to predict pressure loss in air-water two-phase slug flow. Adaptive particle swarm optimization (APSO) is also applied to optimize the results of the ANN and ANFIS models. To predict the pressure loss in two-phase flow, the frictional pressure loss coefficient needs to be determined with respect to the effective dimensionless parameters including two-phase flow Froude and Weber numbers and the air concentration. Laboratory test results are used to determine and validate the findings of this study. The performances of the ANN-APSO and ANFIS-APSO models are compared with those of the ANN and ANFIS models. Different comparison criteria are used to evaluate the performances of developed models, suggesting that all the models successfully determine the air-water two-phase slug flow pressure loss coefficient. However, the ANFIS-APSO performs better than other models. Good agreement is obtained between estimated and measured values, indicating that the APSO with a conjugated ANFIS model successfully estimates the air-water two-phase slug flow pressure loss coefficient as a complex hydraulic problem. Results suggest that the proposed models are more accurate compared to former empirical correlations in the literature.
HIGHLIGHTS
ANN and ANFIS are employed to predict pressure loss in two-phase slug flow.
APSO is also applied to optimize the results of the ANN and ANFIS models.
Laboratory data are used to determine and validate the findings of this study.
The performances of the ANN-APSO and ANFIS-APSO models are compared with those of the ANN and ANFIS models.
The proposed models are more accurate than the former empirical correlations.
INTRODUCTION
Under exact circumstances, air may be supplied by vortices at water intakes, brought into the pressurized conduits, forming large bubbles in portions of the pipeline. Sequentially, the bubbles may result in an unstable two-phase flow, leading to severe periodic transient pressures inside the pipeline. Two-phase flow occurs when gas and liquid co-subsist in a pressurized conduit. Slug, wavy, stratified, and stratified flows are some of the frequent two-phase flow regimes that are possible in pressurized conduits. Among these, slug flow is the most severe two-phase flow pattern that can lead to disruption of the systems operation (Mandhan et al. 1974). The joint effects of gas and liquid characteristics create a complex and periodic two-phase slug flow with different parameters engaged. Therefore, the study of air-water two-phase slug flow in hydraulic structures such as pressurized flow tunnels, inverted siphons, culverts and pressurized pipelines is of great importance for design purposes (Kabiri-Samani & Borghei 2010; Eyhavand-Koohzadi et al. 2016). In a pressurized two-phase flow, the pressure loss is governed by the complex mix flow behavior; i.e. losses due to sliding between the two phases at the interfaces. Accordingly, introducing an experimental friction coefficient for the mix air-water homogenous flow λmix into a conventional friction loss formula such as the Darcy–Weisbach is a rather general approach for estimating the pressure loss in a two-phase flow (Kabiri-Samani & Borghei 2010).
Investigation and control of flow phenomena in two-phase flow requires detailed knowledge of the two-phase flow pressure loss with respect to the phase properties. Two-phase flow pressure loss was primarily characterized based on the model experimentation methods that use flow visualization techniques or sensors. Numerous model experimentation-based techniques have been used to evaluate the pressure loss of two-phase flows (Lockhart & Martinelli 1949; Chisholm 1967; Muller & Heck 1986; Mishima & Hibiki 1996; Lee & Lee 2001; Kabiri-Samani & Borghei 2010; Zhang et al. 2010; Autee & Giri 2016; Kong et al. 2018; Dang et al. 2019; Lavin et al. 2019; Lewis & Wang 2019). Muller & Heck (1986) related pressure loss in the small diameter horizontal pipes (1–4 mm) to the mass quality, suggesting that pressure loss increases with the increase in mass quality. Kabiri-Samani & Borghei (2010) investigated the pressure fluctuations and pressure losses of air-water two-phase slug flow in a horizontal pipeline of 90 mm in diameter. They proposed a relationship for calculating the mixed air-water two-phase slug flow pressure loss coefficient. Autee & Giri (2016) investigated the two-phase flow pressure loss in small size channels of 4–8 mm in diameter. Kong et al. (2018) studied the effects of pipe size on two-phase flow regimes and pressure loss using the drift-flux model. Lavin et al. (2019) investigated the effects of rectangular channel inclination, whereas Dang et al. (2019) investigated the effect of circular pipe inner diameter on two-phase flow characteristics and pressure loss. However, these approaches often neither perform well nor exhibit accuracy, being often deficient in precision with certain drawbacks to accurately predict two-phase flow pressure loss. Therefore, computational intelligence approaches that avoid any subjective judgments, such as artificial neural networks (ANN) and supervised back-propagation (BP) (Sunde et al. 2005; Bara et al. 2013), self-organizing maps (Mi et al. 1998), an ensemble of competing feed-forward ANN (Mahvash & Ross 2008), probabilistic neural networks PNN (Timung & Mandal 2013), fuzzy logic inference systems (FLIS) (Le Corre et al. 1999), and adaptive neuro-fuzzy inference system (ANFIS) (Tsoukalas et al. 1997) can potentially overcome the disadvantages of classical methods.
Recently, soft-computing techniques such as ANN, FLIS and ANFIS have provided a powerful means for design and management purposes in hydraulic and environmental engineering (Zhang et al. 2006; Chen et al. 2008; Seckin 2010; Kabiri-Samani et al. 2011; Najafzadeh & Sattar 2015; Najafzadeh & Saberi-Movahed 2016; Najafzadeh & Shahid 2016; Lima et al. 2017; Najafzadeh & Bonakdari 2017; Najafzadeh 2019; Saberi-Movahed et al. 2020), and thus are widely used to solve complex phenomena such as two-phase flow problems including classification of two-phase flow regimes via image processing and a neuro-wavelet approach (Sunde et al. 2005), identification of two-phase flow patterns (Mahvash & Ross 2008), prediction of two-phase flow conditions over stepped chutes based on ANFIS (Hanbay et al. 2009) and calculation of volume fraction in stratified three-phase flow regime (Roshani et al. 2018). Among SC techniques, ANFIS, which is a hybrid intelligent scheme based on FLIS and ANN, forecasts outputs in uncertain situations and thus offers certain advantages for solving different hydraulic problems. Despite the capability of soft computing methods to solve complicated problems that conventional methods have not yet been able to solve, rather ‘inexact’ solutions with associated inaccuracies and uncertainties are inevitable (Sinha et al. 2000; Muleta & Nicklow 2002; Mousavi & Shourian 2009; McClymont et al. 2013; Shokouh Saljoughi et al. 2017; Ehteram et al. 2018; Thomas et al. 2019). Nevertheless, applications of optimization algorithms such as particle swarm optimization (PSO), adaptive particle swarm optimization (APSO) and genetic algorithms (GA) (Azamathulla & Ahmad 2013) could effectively enhance the outcomes of SC-based methods and thus pave the way for investigating intrinsic complexities of the two-phase flows.
NOVELTY AND OBJECTIVES OF THE STUDY
Lack of a reliable means for predicting the frictional pressure loss in two-phase flow conduits hinders proper design of pressurized systems (Kabiri-Samani & Borghei 2010). There are several measurements with numerous liquid-gas combinations for different flow conditions. However, the correlations fitted to these data often hold a large number of constants and thus remain impractical. Furthermore, all the former regression and mechanistic methods still have very large deviations. Notably, due to the deforming interface of the liquid and gas, the exact shape and location of the regions occupied by each phase cannot be easily recognized, leading to an even more complicated situation. In the case of slug flow, there is an extra variation in dynamic pressure due to the changes in air pressure. Furthermore, most of the former investigations were performed on two-phase flow characteristics in small size channels, overlooking the complexities of two-phase flow in large size channels including hydraulic structures. To the authors' knowledge, limited information is available in the published literature on the hydrodynamic characteristics of air-water two-phase slug flow including pressure loss in hydraulic structures such as water tunnels and pipelines, inverted siphons and culverts. Therefore, implementation of a general and accurate approach for prediction of the two-phase slug flow pressure loss in water conduits is of great importance for design purposes.
This paper investigates the capabilities of ANN, ANN-APSO, ANFIS, and ANFIS-APSO in identifying air-water two-phase slug flow frictional pressure loss coefficient. The characteristic features of mechanistic two-phase slug flow model are selected as the ANN, ANN-APSO, ANFIS and ANFIS − APSO inputs. The performances of the models are assessed using the experimental datasets of Kabiri-Samani & Borghei (2010). APSO is employed to optimize fuzzy if–then rules of a gradient-based ANFIS model and thus prevent answers from local optimum entrapment. Therefore, the APSO algorithm enables optimization of ANN and ANFIS models configuration and adjustment of the antecedent and consequent parameters of fuzzy if–then rules by minimizing the error values. Finally, sensitivity analysis of the involved variables and discussions on the developed models are provided.
METHODOLOGIES AND MODELS
ANN
A conceptual arrangement of an ANN model employed in the present study is illustrated in Figure 1 (Sinha et al. 2000). This configuration analogizes a multi-layer perceptron model primarily fed by a dataset (x1,x2,…, xn) via the input layer to produce an expected result y in the output layer. The number of nodes in each layer is assessed by a trial-and-error procedure. Multiplying every input by its interconnection weight, summation of the product and then passing the sum via a sigmoid transfer function are the major processes undertaken by each node to produce its result. The back propagation (BP) algorithm is used to train ANNs (Rumelhart et al. 1986). Figure 2 illustrates a schematic configuration of a common radial basis function (RBF) network with n, l and m nodes in the input, hidden, and output layers, respectively (Sinha et al. 2000).
To optimize the parameters of the RBFs, we applied the minimum description length algorithm proposed in Leonardis & Bischof (1998). On the basis of trial-and-error procedure among different trained models, an ANN model with three layers and three, eight, and one neuron in the input, hidden, and output layers, respectively, provides the best results with the minimum least square error.
ANFIS
Finally, layer 5 with only one node simply sums all the outputs that come from layer 4 (Zanganeh et al. 2011).
Subtractive clustering method
In this paper, the fuzzy if–then rules are extracted, applying a subtractive clustering approach in which the number and structure of fuzzy rules are adjusted by clustering parameters, implementing the following steps:
- i.
finding the data with the greatest potential to be the first center;
- ii.
separating all the data adjacent to the first center by a specified radius;
- iii.
repeating these steps to specify all the other clusters.
PSO algorithm
As the generation increases, the algorithm can progressively reduce w by tuning its value. After each generation, the worst particle is substituted by the best particle in the last generation, yielding a better result. Since the searching space and thereby the step length for the parameter w reduce step by step nonlinearly, the APSO algorithm is more effective compared to the PSO algorithm (Azamathulla & Ahmad 2013).
PROPOSED METHODS
Combined ANN and APSO
The ANN–APSO hybrid algorithm is applied in this study by combining the APSO algorithm with RBF in which the search for the optimum starts by utilizing the APSO, thereby the training process is expedited (Figure 5(a)). While the value of fitness function is not amended for some generations or the alteration may become very small, the searching progress is switched to gradient descending search. The ANN–APSO algorithm's searching criteria include: (i) initializing a group of random particles, (ii) updating all particles according to Equations (6a) and (6b) until a new set of particles are generated, (iii) employing those new particles to find the global best position, and (iv) applying the BP algorithm to search around the global optimum. The stages of this hybrid algorithm are summarized below:
(i) Initializing randomly the positions and velocities of a group of particles, ranging from 0 to 1; (ii) Evaluating each particle's fitness value; (iii) If the maximal iterative generations are reached, then Step (viii) is performed; otherwise, Step (iv) is performed; (iv) Storing the best particle of the recent particles, updating the positions and velocities of all particles (Equations 7(a) and 7(b)) and generating a group of new particles; (v) Evaluating each new particle's fitness value and restoring the worst particle by the best particle; (vi) Reducing the inertial weights w according to Equation (8); (vii) If the existing Pg is fixed for the considered generations, then Step (viii) is performed; otherwise, Step (iii) is performed; (viii) Employing the BP algorithm to search around Pg for various epochs. If the search result is better than Pg, then the current search result is the output; otherwise, Pg is the output. The parameter w in the above ANN–APSO algorithm also reduces progressively by increasing iterative generation. The parameter max gen1 is generally adjusted by a trial-and-error procedure and then an adaptive gradient descending method is applied to search around the global optimum Pg.
Combined ANFIS and APSO
In the ANFIS–APSO model, the weights of the fuzzy antecedent parameters and the consequent parameters in the fuzzy rule-based system are adjusted through the APSO learning algorithm that searches for the optimal clustering parameters (Figure 5(b)). This model enhances the searching ability and implementation of ANFIS model to solve complex nonlinear problems such as pressure loss in a two-phase flow. Obtaining the best cluster parameters in the ANFIS–APSO model is a time-consuming trial-and-error procedure, particularly when numerous influential variables are involved. Hence, the fuzzy antecedent and consequent parameters are optimized by applying the normalized root mean square error (NRMSE) to improve the performance of the ANFIS–APSO model. In addition, ANN applies the mean squared error (MSE) to tune the FIS parameters. While developing the ANFIS–APSO model, different learning algorithms with different epochs were tested to define a model that has the best potential estimation ability for the prediction of observed results. The best correlation was then found through a hybrid learning algorithm and 1,000 epochs. Two different program codes were developed using MATLAB 8.0.1.604 software for the ANFIS and ANN simulations (MathWorks R2007b 2007).
EXPERIMENTAL MODEL, DATA, AND IMPORTANT VARIABLES
Experiments were conducted in a horizontal air-water flow pipeline at the hydraulic laboratory of Sharif University of Technology, Iran (Kabiri-Samani & Borghei 2010). It included a 10 m long transparent pipe with an inner diameter of 90 mm, a closed water circuit, an open air circuit, and test sections. The air-water mixture was allowed to flow in the two-phase flow section over a distance of 40 times the pipe diameter before entering the measurement section. The entrained air was released directly into the atmosphere at the end of the main pipe from the downstream reservoir. The frictional pressure loss, excluding the static pressure loss, for inclined flow direction was measured using variable reluctance differential dynamic pressure transducers (VDPT). The pressure sensors were variable reluctance differential pressure transducers that measured pressure from 88 to 350 cm of the water column at a frequency of 100 Hz. For the purpose of this study, the data acquisition system was used to measure transient pressures in different situations simultaneously. In order to exclude the influent effect on the flow, the first point for pressure loss measurement was selected at 4.02 m from the pipe inlet, which is much more than the required length as suggested for single- and two-phase flows (Woods et al. 2006; Kabiri-Samani & Borghei 2010). The locations of VDPTs for measurement of two-phase flow pressure were 4.02, 5.22, 7.12 and 8.92 m from the upper reservoir. The air/water rate ratios were between 0.04 and 2. A PC with a data acquisition system used to record the data, and digital cameras were employed to visualize the flow behavior. Digital cameras and scales were also used for measuring the air-water interface profile, slug flow wave length, and void fraction. Notably, since a transient pulsating pressure occurred, the time-averaged pressure was employed to determine the pressure losses of a steady state two-phase slug flow between different longitudinal sections. Sensitivity analysis inferred that a recording time of 150 seconds is the optimum for all the variable test requirements, including extreme values (Kabiri-Samani et al. 2007). Notably, most of the former investigations were performed on two-phase flow characteristics in small size channels, overlooking the complexities of two-phase flow in large size channels including hydraulic structures. Furthermore, most studies have been carried out on liquids other than water, such as oil, which is mostly used in chemical engineering. Therefore, we just applied the data of Kabiri-Samani & Borghei (2010). Overall, from a total of 210 tests, 1,260 measured data of pressure loss, covering all the two-phase slug flow hydraulic/geometric conditions, were employed in the present modeling.
. | Training data (Number = 880) . | ||||
---|---|---|---|---|---|
. | R . | F . | W . | C . | λmix/λo . |
Mean | 60,000 | 1.82 | 634 | 0.43 | 1.16 |
Min. | 25,000 | 0.10 | 280 | 0.05 | 0.97 |
Max. | 100,000 | 5.00 | 950 | 0.85 | 1.34 |
Range | 75,000 | 4.90 | 670 | 0.80 | 0.37 |
. | Checking data (Number = 130) . | ||||
R . | F . | W . | C . | λmix/λo . | |
Mean | 53,000 | 2.28 | 575 | 0.43 | 1.11 |
Min. | 24,000 | 0.30 | 370 | 0.12 | 1.03 |
Max. | 89,000 | 4.00 | 825 | 0.79 | 1.27 |
Range | 65,000 | 3.70 | 455 | 0.67 | 0.24 |
. | Testing data (Number = 250) . | ||||
R . | F . | W . | C . | λmix/λo . | |
Mean | 57,000 | 2.70 | 615 | 0.42 | 1.10 |
Min. | 29,000 | 0.20 | 290 | 0.12 | 1.01 |
Max. | 93,000 | 4.80 | 885 | 0.77 | 1.31 |
Range | 64,000 | 4.60 | 595 | 0.65 | 0.3 |
. | Training data (Number = 880) . | ||||
---|---|---|---|---|---|
. | R . | F . | W . | C . | λmix/λo . |
Mean | 60,000 | 1.82 | 634 | 0.43 | 1.16 |
Min. | 25,000 | 0.10 | 280 | 0.05 | 0.97 |
Max. | 100,000 | 5.00 | 950 | 0.85 | 1.34 |
Range | 75,000 | 4.90 | 670 | 0.80 | 0.37 |
. | Checking data (Number = 130) . | ||||
R . | F . | W . | C . | λmix/λo . | |
Mean | 53,000 | 2.28 | 575 | 0.43 | 1.11 |
Min. | 24,000 | 0.30 | 370 | 0.12 | 1.03 |
Max. | 89,000 | 4.00 | 825 | 0.79 | 1.27 |
Range | 65,000 | 3.70 | 455 | 0.67 | 0.24 |
. | Testing data (Number = 250) . | ||||
R . | F . | W . | C . | λmix/λo . | |
Mean | 57,000 | 2.70 | 615 | 0.42 | 1.10 |
Min. | 29,000 | 0.20 | 290 | 0.12 | 1.01 |
Max. | 93,000 | 4.80 | 885 | 0.77 | 1.31 |
Range | 64,000 | 4.60 | 595 | 0.65 | 0.3 |
RESULTS AND DISCUSSION
Likewise, oi, pi, qi, ri, and si are the consequent parameters in the fuzzy if–then rules. Details of parameters for each rule of the ANFIS models are discussed in the Appendix. Accordingly, the normalized pressure loss coefficient of air-water two-phase slug flow was obtained by implementing the present ANN, ANN–APSO, ANFIS, and ANFIS–APSO models. Table 2 presents the parameters of the APSO algorithm in which the stopping criteria were met based on the number of iterations by trial-and-error procedure. Equality of the population size and the decision variables in the APSO model significantly decreases the computation load of the APSO algorithm.
APSO . | c1 . | c2 . | itermax . | wmin . | wmax . |
---|---|---|---|---|---|
ANN–APSO | 0.45 | 0.55 | 500 | 0.42 | 0.89 |
ANFIS–APSO | 0.50 | 0.50 | 100 | 0.40 | 0.90 |
APSO . | c1 . | c2 . | itermax . | wmin . | wmax . |
---|---|---|---|---|---|
ANN–APSO | 0.45 | 0.55 | 500 | 0.42 | 0.89 |
ANFIS–APSO | 0.50 | 0.50 | 100 | 0.40 | 0.90 |
As stated, minimizing the NRMSE of the training and checking datasets was employed as the objective function to adjust the clustering and fuzzy antecedent and consequent parameters. Table 3 represents the maximum, minimum, average and standard deviation of the error values according to the results of the developed ANN, ANN–APSO, ANFIS, and ANFIS–APSO models. The robustness of the APSO in the optimization of the ANN and ANFIS models was checked by performing 25 runs to represent their associated statistical parameters (Table 3). When the NRMSE is less than 0.01 or if the maximal iterative generations are reached, the existing algorithm training process ends.
Method statistical parameters . | Training error SD . | Ave. . | Max. . | Min. . | Checking error SD . | Ave. . | Max. . | Min. . |
---|---|---|---|---|---|---|---|---|
ANN | 0.1127 | 0.096 | 0.117 | 0.074 | 0.1739 | 0.143 | 0.189 | 0.098 |
ANN–APSO | 0.0535 | 0.074 | 0.098 | 0.052 | 0.0836 | 0.084 | 0.114 | 0.053 |
ANFIS | 0.0082 | 0.009 | 0.013 | 0.003 | 0.0117 | 0.021 | 0.034 | 0.008 |
ANFIS–APSO | 0.0005 | 0.004 | 0.008 | 0.001 | 0.0091 | 0.008 | 0.012 | 0.003 |
Method statistical parameters . | Training error SD . | Ave. . | Max. . | Min. . | Checking error SD . | Ave. . | Max. . | Min. . |
---|---|---|---|---|---|---|---|---|
ANN | 0.1127 | 0.096 | 0.117 | 0.074 | 0.1739 | 0.143 | 0.189 | 0.098 |
ANN–APSO | 0.0535 | 0.074 | 0.098 | 0.052 | 0.0836 | 0.084 | 0.114 | 0.053 |
ANFIS | 0.0082 | 0.009 | 0.013 | 0.003 | 0.0117 | 0.021 | 0.034 | 0.008 |
ANFIS–APSO | 0.0005 | 0.004 | 0.008 | 0.001 | 0.0091 | 0.008 | 0.012 | 0.003 |
From Table 3, we can see that the ANFIS–APSO is apparently the best among the developed models. It consumes less central processing unit (CPU) time than the others while achieving the same NRMSE. ANFIS–APSO uses the gradient descending approach to search around the Pg until the best result Pg of all the particles in the searching space does not change for 25 generations. The searching effectiveness of the algorithm was improved significantly by transitioning heuristically from the PSO to the gradient descending search. Our results indicate that ANFIS and ANFIS–APSO have roughly similar maximal recognition rates. However, ANFIS and ANFIS–APSO have a better recognition rate than the ANN and ANN–APSO models. ANFIS–APSO demonstrates more stability during the training process with less CPU time compared to the others. The best recognition rate for the ANN is 83.7%, while the best recognition rate of the ANFIS can reach around 91.5%. For ANFIS–APSO with 16 hidden nodes, the best recognition rate reaches 99.83%. As mentioned, Kabiri-Samani & Borghei (2010) found that for R >20,000 the relative friction factor is independent of Reynolds number. Since the minimum Reynolds number considered here was 24,000, this parameter is not a substantial variable to be taken into account in the present non-parametric approaches. Given that each input variable F, W and C has four membership functions and each membership function has three parameters a, b and c, the number of the fuzzy antecedent and consequent parameters as well as the number of fuzzy rules are 36, 256 and 64, respectively. More explanations about the membership functions and the related antecedent and consequent parameters are provided in the Appendix. Figure 6 shows the optimization process of the parameters from the best among the 25 runs. Results indicate that the APSO not only optimizes fuzzy clusters, but also prevents an over-trained model.
According to the present data analysis, ANN and ANFIS models are trapped in the local optimum while the checking and training errors are minimized. On the contrary, applying the APSO algorithm enhances the capability of the ANN and ANFIS models. This finding proves the superiority of the developed ANN–APSO and ANFIS–APSO models to the ANN and ANFIS models, respectively. We performed a sensitivity analysis to determine the most effective variables on air-water two-phase slug flow pressure loss. The influence of a variable on the estimated results precision would be evaluated by eliminating it from the model inputs. Subsequently, the estimation error is calculated. The increase in model error indicates that the removed variable is effectual; if not, it can be omitted from the analysis. The obtained error values corresponding to elimination of each variable are shown in Figure 7. According to this figure, the Froude number is the most effective variable among the others that significantly influences the two-phase slug flow pressure loss coefficient. The effects of the concentration and Weber number could not be neglected. However, for large values of Reynolds number (R > 20,000), the relative friction factor is independent of the Reynolds number (Kabiri-Samani & Borghei 2010).
To guarantee the generalization ability of the developed models and to assess performance of the models in handling a dataset that has not been yet employed in the training process, the models should also be validated using the testing data. The scatter diagrams depict the accuracy of the models comparing the observed and estimated values (Figures 8 and 9). According to these figures, the pressure loss coefficient of the two-phase slug flow is slightly greater than that of a single-phase flow. This could be attributed to the reduced water flow cross section, turbulence increase, bubble generation inside the pipe, and irregular interface between the two phases. These phenomena induce a complex flow with increasing friction pressure losses coefficient. The results of statistical analysis including bias, SE and R2 (Zanganeh et al. 2011) for estimation of two-phase flow pressure loss coefficient via the ANN, ANN–APSO, ANFIS, and ANFIS–APSO models and available empirical models are shown in Table 4. As can be seen, the combined ANFIS–APSO model has the greatest accuracy followed by ANFIS, ANN–APSO, and ANN. All the above mentioned models overestimate the two-phase flow pressure loss coefficient. However, the ANFIS–APSO model estimates two-phase slug flow pressure loss coefficient with a satisfactory accuracy (bias = 0.034, SE% = 8.45 and R2 = 0.989). The empirical methods of Lockhart & Martinelli (1949), Muller & Heck (1986), Mishima & Hibiki (1996), Lee & Lee (2001) and Kabiri-Samani & Borghei (2010) obviously underestimate the two-phase flow pressure loss coefficient, whereas the empirical correlation presented in Zhang et al. (2010) overestimates the two-phase flow pressure loss coefficient. The above results indicate that ANFIS–APSO performs better than the other models in noisy media of air-water two-phase flow phenomenon.
Method . | SE% . | bias . | R2 . |
---|---|---|---|
ANN | 36.49 | 0.174 | 0.873 |
ANN-APSO | 23.71 | 0.118 | 0.919 |
ANFIS | 14.73 | 0.084 | 0.943 |
ANFIS-APSO | 8.45 | 0.034 | 0.989 |
Equation (14) | 10.12 | 0.063 | 0.961 |
Kabiri-Samani & Borghei (2010) | 17.56 | –0.113 | 0.947 |
Zhang et al. (2010) | 18.22 | 0.211 | 0.931 |
Lee & Lee (2001) | 21.14 | –0.317 | 0.725 |
Mishima & Hibiki (1996) | 29.71 | –5.236 | 0.629 |
Muller & Heck (1986) | 35.43 | –11.76 | 0.324 |
Lockhart & Martinelli (1949) | 48.96 | –23.77 | 0.261 |
Method . | SE% . | bias . | R2 . |
---|---|---|---|
ANN | 36.49 | 0.174 | 0.873 |
ANN-APSO | 23.71 | 0.118 | 0.919 |
ANFIS | 14.73 | 0.084 | 0.943 |
ANFIS-APSO | 8.45 | 0.034 | 0.989 |
Equation (14) | 10.12 | 0.063 | 0.961 |
Kabiri-Samani & Borghei (2010) | 17.56 | –0.113 | 0.947 |
Zhang et al. (2010) | 18.22 | 0.211 | 0.931 |
Lee & Lee (2001) | 21.14 | –0.317 | 0.725 |
Mishima & Hibiki (1996) | 29.71 | –5.236 | 0.629 |
Muller & Heck (1986) | 35.43 | –11.76 | 0.324 |
Lockhart & Martinelli (1949) | 48.96 | –23.77 | 0.261 |
SENSITIVITY ANALYSIS AND PHYSICAL MEANING OF THE RESULTS
Applying the StatSoft method, a sensitivity analysis was performed to investigate the sensitivity of model to its input variables. The StatSoft method calculates the sensitivity coefficient for an input variable, divided by the total error of the model, excluding such a variable in the presence of all the other input variables. While the sensitivity coefficient of a variable is more than unity, such a variable has a great contribution to the variability of the output component, e.g. the pressure loss coefficient (Table 5). Accordingly, the average air concentration has the greatest effect on pressure loss coefficient compared to the other effective dimensionless input variables. Reducing water flow cross section, increasing flow, generating bubbles around the pipe wall and establishing regular-irregular flow interface between the two phases results in a complex flow behavior with λmix > λo or perhaps λmix < λo. By increasing the Weber number, for a given concentration, λmix/λo increases. However, according to Table 5, among F, W and C, the Weber number W has the least effect on the variation of pressure loss coefficient. Since the flow was fully turbulent with R > 20,000, the viscous effect was minimum and the Reynolds number, R, can be excluded from the dimensionless prevailing parameters. Considering these criteria, it can be inferred that the scale effects were minimal in the present study.
Input variables . | Removed variable . | MSE . | Sensitivity coefficient . |
---|---|---|---|
F, W, C | – | 0.0019 | – |
W, C | F | 0.0095 | 5 |
F, C | W | 0.0025 | 1.31 |
W, F | C | 0.084 | 44.21 |
Input variables . | Removed variable . | MSE . | Sensitivity coefficient . |
---|---|---|---|
F, W, C | – | 0.0019 | – |
W, C | F | 0.0095 | 5 |
F, C | W | 0.0025 | 1.31 |
W, F | C | 0.084 | 44.21 |
CONCLUDING REMARKS
In this paper we applied a hybrid APSO algorithm combined with ANN and ANFIS models. The APSO benefits from the capabilities of the PSO and BP algorithms in global and local search, respectively. In the developed hybrid algorithms, the early particles are distributed randomly in the searching space and then a global search is performed around the global optimum.
The study makes use of heuristic knowledge to transfer the APSO algorithm to the gradient descending searching until the best fitness value in the history of all particles became constant for some generations. The effective dimensionless parameters were found with less clustering radii than the other ones. Furthermore, the application of dimensional models exerts noises on the system so that the present models are not capable of adjusting the fuzzy if–then rule parameters. Hence, the non-dimensional-based models were developed based on dimensional analysis. Results of the sensitivity analysis indicated that the mixed homogeneous two-phase flow Froude and Weber numbers and the air concentration are the most significant variables to affect the two-phase flow normalized pressure loss coefficient. Considering the available criteria in the literature, the viscosity effect is negligible if the Reynolds numbers R > 20,000. Satisfying this criterion, thereby minimizing the effect of viscosity on the pressure loss coefficient, R was diminished from the set of effective dimensionless parameters.
Our findings show that the ANFIS–APSO algorithm consumes less CPU time to achieve a higher training accuracy than the other algorithms. The best agreement was achieved between the measured and the predicted values using the ANFIS-APSO model, indicating that this model is more convenient and could predict the frictional pressure loss with reasonable accuracy. Results show that the ANFIS-APSO model is superior to the other developed models in terms of convergence speed and accuracy. It outperforms the existing methods and published correlations and shows promising capabilities in solving different air-water two-phase flow problems. According to the results, the ANFIS-APSO model performs better than the empirical correlations in the literature. Equation (14), obtained based on an extensive set of measured data and model predictions, offers a simple and applicable relation for design purposes.
Finally, the proposed model offers a practical means for the prediction of pressure loss in air-water two-phase slug flow design problems, even by applying other databases with acceptable precision. Although we endeavored to meet standard conditions for producing the database and generalizing the developed models, researchers and design engineers are cordially invited to share their databases and developed models to improve the present model.
ACKNOWLEDGEMENTS
The authors gratefully acknowledge the generous assistance and constructive comments of Dr Milad Aminzadeh, Isfahan University of Technology, Iran.
DATA AVAILABILITY STATEMENT
The data will be added to the home page of the core author at: kabiri.iut.ac.ir