Next Article in Journal
Cost-Effectiveness Mathematical Model to Evaluate the Impact of Improved Cardiac Ablation Strategies for Atrial Fibrillation Treatment
Previous Article in Journal
Complex Fractional-Order LQIR for Inverted-Pendulum-Type Robotic Mechanisms: Design and Experimental Validation
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Methodology for Analysis and Prediction of Volume Fraction of Two-Phase Flow Using Particle Swarm Optimization and Group Method of Data Handling Neural Network

by
Abdullah M. Iliyasu
1,2,*,
Dakhkilgova Kamila Bagaudinovna
3,
Ahmed S. Salama
4,
Gholam Hossein Roshani
5,* and
Kaoru Hirota
2,6
1
Electrical Engineering Department, College of Engineering, Prince Sattam Bin Abdulaziz University, Al-Kharj 11942, Saudi Arabia
2
School of Computing, Tokyo Institute of Technology, Yokohama 226-8502, Japan
3
Department of Programming and Infocommunication Technologies, Institute of Mathematics, Physics and Information Technology, Kadyrov Chechen State University, 32 Sheripova Str., Grozny 364907, Russia
4
Faculty of Engineering and Technology, Future University in Egypt, New Cairo 11835, Egypt
5
Electrical Engineering Department, Kermanshah University of Technology, Kermanshah 6715685420, Iran
6
School of Automation, Beijing Institute of Technology, Beijing 100081, China
*
Authors to whom correspondence should be addressed.
Mathematics 2023, 11(4), 916; https://doi.org/10.3390/math11040916
Submission received: 11 December 2022 / Revised: 16 January 2023 / Accepted: 7 February 2023 / Published: 11 February 2023
(This article belongs to the Section Mathematics and Computer Science)

Abstract

:
Determining the volume percentages of flows passing through the oil transmission lines is one of the most essential problems in the oil, gas, and petrochemical industries. This article proposes a detecting system made of a Pyrex-glass pipe between an X-ray tube and a NaI detector to record the photons. This geometry was modeled using the MCNP version X algorithm. Three liquid-gas two-phase flow regimes named annular, homogeneous, and stratified were simulated in percentages ranging from 5 to 95%. Five time characteristics, three frequency characteristics, and five wavelet characteristics were extracted from the signals obtained from the simulation. X-ray radiation-based two-phase flowmeters’ accuracy has been improved by PSO to choose the best case among thirteen characteristics. The proposed feature selection method introduced seven features as the best combination. The void fraction inside the pipe could be predicted using the GMDH neural network, with the given characteristics as inputs to the network. The novel aspect of the current study is the application of a PSO-based feature selection method to calculate volume percentages, which yields outcomes such as the following: (1) presenting seven suitable time, frequency, and wavelet characteristics for calculating volume percentages; (2) the presented method accurately predicted the volume fraction of the two-phase flow components with RMSE and MSE of less than 0.30 and 0.09, respectively; (3) dramatically reducing the amount of calculations applied to the detection system. This research shows that the simultaneous use of time, frequency, and wavelet characteristics, as well as the use of the PSO method as a feature selection system, can significantly help to improve the accuracy of the detection system.

1. Introduction

Determining volume percentages of flows traveling through oil transmission lines is one of the most important problems in the oil, gas, and petrochemical industries. Therefore, there has been much study in this area. Photon attenuation methods, capacitive tomography, resistance tomography, X-rays, and so on are only some of the numerous non-invasive techniques available for determining this parameter. The photon attenuation approach has been studied extensively for the detection of these factors in recent years [1,2,3,4,5,6,7,8,9,10,11,12,13]. In [1], researchers used the MCNP algorithm to examine three different flow regimes—stratified, homogeneous, and annular—across a range of volume fractions. This investigation utilized two radioisotope sources and three NaI detectors to calculate volume fractions and recognize various flow regimes. To identify different flow regimes, a neural network was developed. Three different networks were developed to calculate the volume fractions of oil–water–gas three-phase flow. Similarly, another study presented a different methodology for calculating volume fractions in a stratified regime. An energy spectrum of the backscattered gamma radiation was recorded by placing a NaI detector near a cesium-137 source. MLP neural network was also utilized to accurately estimate volume fractions [2]. The extraction of features from detector signals has garnered much interest from scientists in recent years. To introduce the most suitable time-domain features, Sattari et al., for instance, conducted a study [3]. The percentages of volume and the types of flow regimes were determined using a measurement equipment consisting of a cesium-137 source, two NaI detectors, and a Pyrex glass. After collecting the data, several characteristics in the time domain were extracted for better interpretation. Then, the MLP neural network was used to accurately identify the flow regime types and provide accurate predictions of the volume fractions. Time-domain features and the GMDH neural network were utilized to calculate volume fractions and flow regime types in a different study [4]. Roshani et al., conducted their research on three-phase flows using the dual energy approach. A pair of 241 Am and 137 Cs sources and two NaI detectors made up their detecting system. They trained the neural network using the features of recorded counts of 241 Am and 137 Cs in two detectors, and it was able to make predictions about volume percentages with an MRE% of less than 5.68% [5]. Several characteristics in the time [6] and frequency [7] domains were presented by Hanus et al. to identify the kind of flow regimes in two-phase flows, and the most effective features were then determined. Using these features and other kinds of neural networks, they attempted to classify the different flow regimes in their subsequent study [8]. Time-domain features were obtained from frequency domain data using the FFT by Hosseini et al. With these features, they accurately predicted volume percentages in two-phase flows and detected all flow regimes [9].
Many researchers have shifted in recent years to using an X-ray source instead of gamma in their structures to avoid issues such as requiring personnel to wear protective clothing when working with this device (due to its inability to be turned off). X-ray tubes were used to distinguish multiphase flow characteristics [10,13]. In [10], for instance, the aforementioned complementary source was used. With the use of an X-ray tube and a sodium iodide detector, the researchers were able to determine the regime type and volume fraction of two-phase flows. Temporal features extracted from the signals received by the detector were also used to train two MLP neural networks in their proposed structure. The study [11] looked at three-phase flows and simulated them in three different regimes (annular, stratified, and homogeneous) at varying volumes. Three RBF neural networks were developed in this study and trained using the frequency characteristics of the received signals, yielding satisfactory results. X-ray tubes were used to model a control system in [12]. The MCNP code was used to model the interactions between four petroleum products when they were combined in pairs at different volumes. Three MLP neural networks were fed the recorded signals to make predictions about the volume distribution ratio of the three products. Researchers claimed that knowing the volume ratios of the first three products would allow them to compute the volume ratio of the fourth product. While the introduced method could make predictions regarding the product types and amounts, the lack of feature extraction techniques limited the accuracy of those predictions. In order to build upon earlier studies [12], wavelet transform was used for feature extraction by Balubaid et al. in [13], which effectively decreased computational load and improved accuracy. The key flaw in the majority of the aforementioned studies is the absence of feature extraction and feature selection methods that could be employed to artificial neural networks. This study makes an effort to propose a technique for extracting time-domain, wavelet, and frequency-domain features and choosing the most useful characteristic using the PSO algorithm. Figure 1 illustrates the recommended technique. The main contributions of current study are summarized here.
  • Extraction of time, wavelet, and frequency features for investigating the two-phase fluid;
  • Using a feature-selection system based on the PSO algorithm to introduce useful characteristics;
  • A significant boost in volume percentage calculations’ accuracy;
  • Selecting the optimal characteristics to utilize as the neural network’s inputs will minimize the volume of calculations that must be done on the system.

2. Proposed Methodology

2.1. Detection System

In this study, we use the MCNP algorithm to simulate the detection system, which consists of an X-ray tube and a NaI detector on opposite ends of a Pyrex-glass pipe. Instruments that use ionizing radiation as a measuring standard have been modeled using this code [14,15,16,17,18]. The basic geometry of the planned setup is shown in Figure 2. When analyzing two-phase flow, photons from an X-ray tube are sent to a pipe and, after being somewhat attenuated by the pipe walls and contents, are picked up by a detector. The amount of gas and liquid within the pipe accounts for the attenuation of the radiation beam. This study simulates three different flow patterns (shown in Figure 3) and nineteen various volume fractions, ranging from a 5% void fraction to a 95% volume fraction with a 5% void fraction step (57 simulations were used in total). It is worth noting that prior research has corroborated the results of this investigation’s simulations [19]. In this study, several laboratory structures were constructed and compared with the data acquired from the MCNP code. To facilitate a direct comparison between actual and simulated findings, the Tally output from the MCNP algorithm was converted to units per source particle. The difference between the results of the simulation and the experimental setup represented the biggest relative error, at 2.2%.
This study established a more efficient architecture that involves a photon source positioned within a metal shield because accurate modeling of an industrial X-ray tube using the MCNPX code, which includes a cathode (electron source) and an anode (tungsten target) contained in a cylindrical shield, is time demanding. That is to say, instead of simulating the cathode–anode development, a photon source placed in a metal shield was considered in the current study since photon tracking in the MCNPX algorithm is significantly quicker than electron tracking. TASMIC, a free piece of the software shown by Hernandez et al. [20] was used to acquire the X-ray energy spectrum that was then used to characterize the photon source. The used X-ray spectrum is shown in Figure 4, with the X-ray peaks that are characteristic of the tungsten anode. Radiation shields for X-ray tubes, essentially hollow cylinders, are often composed of steel or lead. This output window is a hole in the shield’s surface that allows for the release of X-ray photons that have been generated. In this investigation, the simulated X-output ray’s window has a 5 cm radius. An aluminum filter of thickness 2.5 mm was placed in front of the output window to filter the low-energy photons with the purpose of decreasing scattering.

2.2. Feature Extraction

The term “feature extraction” describes converting unstructured data into a collection of quantifiable characteristics that may be further processed without losing any of the original data’s context. It produces superior outcomes compared to using machine learning on the raw data directly. To extract features manually, one must first determine which characteristics are essential for a specific situation, and then devise a strategy to extract them. Knowing the context or domain is often helpful when determining which features to implement. Optimization methods can also be used to select the best features. In this research, inspired by the previous research [3,4,10,11,13], the received signals in three domains of time, frequency, and wavelet transformation were investigated.

2.2.1. Time-Domain Feature Extraction

Figure 5 shows the signals received from the NaI detector for three flow regimes: annular, homogeneous, and stratified in volume percentages from 5 to 95%. From these signals, five time characteristics have been extracted with the following formulas:
  • skewness:
g 1 = m 3 σ 3   ,   m 3 = 1 N n = 1 N x n m 3 m = 1 N n = 1 N x n       σ = 1 N n = 1 N x n m 2                      
  • kurtosis:
g 2 = m 4 σ 4             m 4 = 1 N n = 1 N x n m 4  
  • WL:
W L = n = 0 N 1 x n + 1 x n
  • ASS:
A S S = n = 1 N x n 0.5
  • MSR:
M S R = 1 N n = 1 N x n 0.5

2.2.2. Frequency-Domain Feature Extraction

To extract frequency features, the FTT (Equation (1) [21]) was employed to transform the received signal into the frequency domain. The transmitted signals in the frequency domain for three regimes, annular, homogeneous, and stratified, are shown in Figure 6. AFDF, ASDF, and ATDF were extracted from frequency-domain signals.
Y k = J = 1 n x J w n y 1 k 1
where Y(k) = FFT(X), and w n = e 2 π i n is one of n roots of unity.
The frequency domain signals for the three flow regimes are shown in Figure 6.

2.2.3. Wavelet Transform

DWT is helpful for studying data with characteristics that change at various sizes. Signal characteristics might be fluctuating frequencies, brief fluctuations, or long-term tendencies. The primary motivation for developing wavelet transforms was to overcome limitations in the Fourier transform. Signals are broken down into scaled and shifted copies of wavelets in wavelet analysis instead of sine waves in Fourier analysis. In contrast to a sine wave, a wavelet is an oscillation that decomposes quickly. The ability to represent data at different scales makes wavelets so valuable. Depending on the application, different wavelets might be utilized. The DWT is computed by first applying a low-pass filter with impulse response g to the signal, leading to the convolution of the two as shown in [22,23]:
y n = x g n = k = x k g n k
Signal is also decomposed by a second high-pass filter (h) operating concurrently. The breakdown of a signal is seen in great detail in Figure 7. Both exact coefficients (the result of a high-pass filter) and approximations (the result of a low-pass filter) are produced using this method. There is a downsampler with two steps at the filter output. Approximation (a) is provided by the low-pass filter’s downsampled output, while detail (d) is provided by the high-pass filter’s low-pass samplers. The approximate component may be split into smaller and smaller pieces at each stage. The analysis in this study has reached the fourth step at this point. The wavelet operation determines, for a given mother wavelet ψ(t), a distinct group of child wavelet coefficients. The discrete wavelet transform involves scaling and shifting the mother wavelet by powers of two [22,23].
ψ j , k = 1 2 j ψ t k 2 j 2 j
Scale is indicated by j, and shift by k. The wavelet coefficients obtained from x(t) may be regarded as the projection of x(t) onto a wavelet, given that x(t) represents a 2 N-length signal. The following conditions must be met for a member of the aforementioned discrete wavelet family to be considered a child wavelet [22,23]:
γ j k = x t 1 2 j ψ t k 2 j 2 j d t
Then, j is a constant, and the γ j k is derived only in terms of a function of k. Sampled at points 1, 2j, 2j,..., 2N, γ j k is calculated by convolving x(t) with the mother wavelet signal,   h t = 1 2 j ψ t 2 j .
Discrete wavelet coefficients at the jth level are specified here. Thus, for a given mother wavelet ψ(t), a perfect match between the detail coefficients of the filter bank and a wavelet coefficient of a discrete collection of child wavelets is guaranteed by selecting h[n] and g[n] appropriately. Average a4 and average d1–d4 characteristics were derived from the investigated signals and employed in the following procedures.

2.3. PSO-Based Feature Extraction

The PSO algorithm is among the essential tools for researchers into swarm intelligence [24]. Because of its effectiveness and simplicity, the PSO algorithm has rapidly become a go-to solution for feature-selection problems. This strategy is inspired by the cooperative lifestyles of animals in the wild, such as fish and birds. In order to solve the problem, the algorithm needs the contribution of the whole population. Each member of the population is denoted by the term “particle”, and the whole group is spread out evenly throughout the search space of the function being optimized. The position of each particle is measured against the goal function. Next, a path forward is decided upon by integrating information on the present location, the optimal past location, and the most promising available particles. When all particles have updated their positions, the program will proceed. The desired outcome may be achieved by repeating these steps numerous times. Like a flock of birds looking for food, a collection of particles seeking the optimal value of a function is like a swarm of particles. This algorithm’s central notion may be stated as follows: at each given time, particles move to the best available position in the search space based on their previous observations and the locations of their neighbors. Like other evolutionary algorithms, PSO first generates a fully random initial population. The initial population has N particles picked at random. Particle positions and velocities are both expressed as vectors. After the objective function’s value is calculated, these particles start moving throughout the problem space in search of a more suitable location. The ability to search requires each particle to have a dual-memory system. One memory stores the optimal location for all particles and the best past positions of each particle. The particles use this information to plan their next course of action. Each particle adjusts its speed and location at each iteration in order to optimize the biggest absolute and local solutions. Each particle adjusts its speed and location at each iteration to optimize the biggest absolute and local solutions [25]. In PSO, each particle represents a possible solution. Two vectors at each iteration support the search for the ith particle: the location vector X i t = [ X i 1 t , X i 2 t ,..., X i D t ] and the velocity vector V i t = [ V i 1 t , V i 2 t ,..., V i D t ]. During motion, each particle’s position and velocity are updated depending on the best position (or solution) of the particle itself (denoted by pbesti = [pbesti1, pbesti2, …, pbestiD]) and the best position (or solution) of the population as a whole (denoted by gbest = [gbest1, gbest2, …, gbestD]). At the next iteration, t +1, the i th particle’s velocity, and position are modified according to pbest and gbest, using the following formulas:
V i d t + 1 = ω V i d t + c 1 r 1 p b e s t i d t X i d t + c 2 r 2 g b e s t d t X i d t
X i d t + 1 = X i d t + V i d t + 1
where t and ω represent the iteration number and the iteration weight, respectively, c1 and c2 are acceleration constants (the cognitive and social parameters, respectively); the r1 and r2 are uniformly distributed and fall between [0, 1]. Defining the cost function is a crucial step in establishing optimization systems. The cost function of the PSO system is established in this study as the MSE of an MLP neural network with one hidden layer and ten neurons in the hidden layer. First, the network is fed a random sample of features collected from the data. Then, the inputs are gradually improved toward ideal values using the established optimization method to minimize the cost function. The PSO system employs an iterative process in which it first attempts to forecast the goal using a characteristic, then raises the number of inputs accordingly, and finally implements the system for all modes using various inputs.

2.4. GMDH Neural Network

M.G. Ivakhnenko, a mathematician from Ukraine, developed a mathematical strategy for handling prediction and classification problems; he dubbed it the GMDH [26]. Ivakhnenko proposes a model that, because of its inherent capacity for self-organization, may have its many parameters—such as network architecture, adequate inputs, number of hidden layers, and number of neurons in hidden layers—automatically chosen. Its input–output relationship is described by the Kolmogorov–Gabor polynomial, which is given below:
y = a 0 + i = 1 m a i x i + i = 1 m j = 1 m a i j x i x j + i = 1 m j = 1 m k = 1 m a i j k x i x j x k +  
The output y is the network’s calculated value based on the input vectors X (x1, x2,..., xm) and the weights a (a1, a2,..., am) of the vector. There are five stages to implementing the GMDH neural network.
  • For each admixture ( m 2 ), two inputs (extracted characteristics) are fitted using Equation (13). This process is responsible for extracting the C coefficients from the least squares approach. The solutions to the quadratic polynomials could be used as estimates for the desired answer. The neurons will compute these polynomials in the neural network.
    Z = c 1 + c 2 x i + c 3 x j + c 4 x i 2 + c 5 x j 2 + c 6 x i x j
  • The neurons with the highest erroneous predictions of future output are removed.
  • Like the first, the selected neurons are regarded as inputs characterized by quadratic polynomials. In this method, a polynomial of higher order is created by combining polynomials of smaller orders.
  • The second step is repeated, and the most defective neurons are eliminated. The generation of polynomials from polynomials is repeated until the desired inaccuracy is achieved.
  • Validating the network’s performance using a test dataset. The neural network is trained using around 70% of the data and then tested using the remaining 30%. If the created neural network can show accuracy on these data sets, it is guaranteed to provide acceptable performance under operational conditions. Numerous aspects of chemical and petrochemical engineering [27,28,29,30,31,32], electrical engineering [33,34,35,36,37,38], civil engineering [39,40], instrumentation and control engineering [41,42,43], and nanoelectronic [44,45,46,47] problems have recently been addressed by computational and numerical calculations, as well as Digital Signal Processing (DSP) and particularly Artificial Neural Networks (ANN), a very potent mathematical tool.

3. Results

As explained in the previous sections, 13 characteristics were extracted from the recorded signals in terms of time, frequency, and wavelet transform. The PSO method was used to determine the suitable mode. First, a characteristic was applied to the PSO system, and the cost function was calculated. Then, the number of characteristics increased to 13, and the PSO algorithm found the suitable mode for each of the characteristics and calculated the cost function. Figure 8 shows the value of the cost function according to the number of input characteristics. Carefully, in this figure, it can be seen that the value of the cost function in the selection of seven characteristics has the lowest value. Therefore, seven characteristics have been chosen as the suitable mode. The lowest specified cost function is obtained for selecting the following characteristics: Mean{a4}, Mean{d3}, Mean{d2}, ASDF, WL, kurtosis, and skewness. These characteristics were introduced as the input of the GMDH neural network to predict the void fraction inside the pipe. This study trained many neural networks to estimate percentages of volume. In order to determine the void percentage, a GMDH neural network was trained. The GMDH network’s self-organization capacity is used to automatically create the trained network with a topology consisting of an input layer with seven neurons, an output layer, and four hidden layers, which have eight neurons, six neurons, four neurons, and two neurons, respectively. The structure of this network can be seen in Figure 9.
A pair of regression and error histogram diagrams depicting the network’s performance throughout training and testing datasets are shown in Figure 10. The red circles in the regression diagram represent the network’s output values, while the blue line represents the expected output. Matching both of them with each other indicates high accuracy in neural network prediction. The distribution of the error value is graphically represented in the error histogram diagram. The MSE and RMSE were computed for both the training and testing data. The maximum MSE and RMSE values are, respectively, 0.09 and 0.30. The diagnosis system presented in this study was compared with previous studies in Table 1.

4. Conclusions

System optimization and improved oil industry performance could be achieved by determining the volume percent of each condensate phase that goes through the oil pipe. As a result, developing and implementing a system to calculate volume percentages could be helpful in solving the problems in the petroleum industry. In this research, the volume percentage-detection structure was simulated using MCNP code, which consisted of an X-ray tube, a Pyrex pipe, and a sodium-iodide detector. Three flow regimes named annular, homogeneous, and stratified were simulated at void fraction percentages of 5 to 95%, and the signals of each simulation were collected and labeled. A total of thirteen time, frequency, and wavelet characteristics were extracted from the collected signals. A PSO-based feature selection system was implemented to identify the best features. Among the extracted features, the simultaneous use of seven features was selected as the suitable mode. The seven selected features were defined as the inputs of the GMDH neural network to predict the percentage of void fraction inside the pipe. The methodology presented in this research was able to predict volume percentages with MSE of less than 0.09. High accuracy in determining volume percentages, the use of only one detector in the structure of the detection system, and the use of the PSO-based feature selection method are among the advantages and innovations of the current research.

Author Contributions

Conceptualization, A.M.I. and G.H.R.; Methodology, D.K.B., A.S.S., G.H.R. and K.H.; Software, A.M.I.; Validation, A.S.S.; Formal analysis, A.M.I.; Investigation, D.K.B., A.S.S. and K.H.; Resources, A.M.I.; Data curation, K.H.; Writing—original draft, A.M.I., D.K.B. and A.S.S.; Writing—review & editing, D.K.B. and G.H.R.; Visualization, K.H.; Supervision, G.H.R. All authors have read and agreed to the published version of the manuscript.

Funding

This study is funded by the Deputyship for Research and Innovation of the Saudi Ministry of Education via its funding for the PSAU Advanced Computational Intelligence and Intelligent Systems Engineering (ACIISE) Research Group, Project Number IF-PSAU-2022/01/22246.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The data is unavailable due to privacy.

Conflicts of Interest

The authors declare no conflict of interest.

Abbreviations

FFTFast Fourier transform
AFDFAmplitude of the First Dominant Frequencies
ASDFAmplitude of the Second Dominant Frequencies
ATDFAmplitude of the Third Dominant Frequencies
DWTDiscrete Wavelet Transformations
PSOParticle Swarm Optimization
MSEMean Squared Error
MLPMultiLayer Perceptron
GMDHGroup Method of Data Handling
WLWaveform Length
RMSERoot Mean Squared Error
MCNPMonte Carlo N Particle
ASSAbsolute value of the Summation of Square root
MSRMean value of the Square Root

References

  1. Roshani, G.H.; Feghhi, S.A.H.; Mahmoudi-Aznaveh, A.; Nazemi, E.; Adineh-Vand, A. Precise volume fraction prediction in oil–water–gas multiphase flows by means of gamma-ray attenuation and artificial neural networks using one detector. Measurement 2014, 51, 34–41. [Google Scholar] [CrossRef]
  2. Peyvandi, R.G.; Rad, S.Z.I. Application of artificial neural networks for the prediction of volume fraction using spectra of gamma rays backscattered by three-phase flows. Eur. Phys. J. Plus 2017, 132, 511. [Google Scholar] [CrossRef]
  3. Sattari, M.A.; Roshani, G.H.; Hanus, R.; Nazemi, E. Applicability of time-domain feature extraction methods and artificial intelligence in two-phase flow meters based on gamma-ray absorption technique. Measurement 2021, 168, 108474. [Google Scholar] [CrossRef]
  4. Sattari, M.A.; Roshani, G.H.; Hanus, R. Improving the structure of two-phase flow meter using feature extraction and GMDH neural network. Radiat. Phys. Chem. 2020, 171, 108725. [Google Scholar] [CrossRef]
  5. Roshani, G.H.; Nazemi, E.; Roshani, M.M. Intelligent recognition of gas-oil-water three-phase flow regime and determination of volume fraction using radial basis function. Flow Meas. Instrum. 2017, 54, 39–45. [Google Scholar] [CrossRef]
  6. Hanus, R.; Zych, M.; Petryka, L.; Jaszczur, M.; Hanus, P. Signals features extraction in liquid-gas flow measurements using gamma densitometry. Part 1: Time domain. EPJ Web Conf. 2016, 114, 02035. [Google Scholar] [CrossRef]
  7. Hanus, R.; Zych, M.; Petryka, L.; Jaszczur, M.; Hanus, P. Signals features extraction in liquid-gas flow measurements using gamma densitometry. Part 2: Frequency domain. EPJ Web Conf. 2016, 114, 02036. [Google Scholar] [CrossRef]
  8. Hanus, R.; Zych, M.; Kusy, M.; Jaszczur, M.; Petryka, L. Identification of liquid-gas flow regime in a pipeline using gamma-ray absorption technique and computational intelligence methods. Flow Meas. Instrum. 2018, 60, 17–23. [Google Scholar] [CrossRef]
  9. Hosseini, S.; Roshani, G.H.; Setayeshi, S. Precise gamma based two-phase flow meter using frequency feature extraction andonly one detector. Flow Meas. Instrum. 2020, 72, 101693. [Google Scholar] [CrossRef]
  10. Basahel, A.; Sattari, M.A.; Taylan, O.; Nazemi, E. Application of Feature Extraction and Artificial Intelligence Techniques for Increasing the Accuracy of X-ray Radiation Based Two Phase Flow Meter. Mathematics 2021, 9, 1227. [Google Scholar] [CrossRef]
  11. Taylan, O.; Sattari, M.A.; Elhachfi Essoussi, I.; Nazemi, E. Frequency Domain Feature Extraction Investigation to Increase the Accuracy of an Intelligent Nondestructive System for Volume Fraction and Regime Determination of Gas-Water-Oil Three-Phase Flows. Mathematics 2021, 9, 2091. [Google Scholar] [CrossRef]
  12. Roshani, G.H.; Ali, P.J.M.; Mohammed, S.; Hanus, R.; Abdulkareem, L.; Alanezi, A.A.; Kalmoun, E.M. Simulation Study of Utilizing X-ray Tube in Monitoring Systems of Liquid Petroleum Products. Processes 2021, 9, 828. [Google Scholar] [CrossRef]
  13. Balubaid, M.; Sattari, M.A.; Taylan, O.; Bakhsh, A.A.; Nazemi, E. Applications of Discrete Wavelet Transform for Feature Extraction to Increase the Accuracy of Monitoring Systems of Liquid Petroleum Products. Mathematics 2021, 9, 3215. [Google Scholar] [CrossRef]
  14. Roshani, G.H.; Nazemi, E.; Roshani, M.M. Flow regime independent volume fraction estimation in three-phase flows using dual-energy broad beam technique and artificial neural network. Neural Comput. Appl. 2016, 28, 1265–1274. [Google Scholar] [CrossRef]
  15. Roshani, M.; Sattari, M.A.; Ali, P.J.M.; Roshani, G.H.; Nazemi, B.; Corniani, E.; Nazemi, E. Application of GMDH neural network technique to improve measuring precision of a simplified photon attenuation based two-phase flowmeter. Flow Meas. Instrum. 2020, 75, 101804. [Google Scholar] [CrossRef]
  16. Roshani, M.; Phan, G.; Faraj, R.H.; Phan, N.H.; Roshani, G.H.; Nazemi, B.; Corniani, E.; Nazemi, E. Proposing a gamma radiation based intelligent system for simultaneous analyzing and detecting type and amount of petroleum by-products. Neural Eng. Technol. 2021, 53, 1277–1283. [Google Scholar] [CrossRef]
  17. Alamoudi, M.; Sattari, M.A.; Balubaid, M.; Eftekhari-Zadeh, E.; Nazemi, E.; Taylan, O.; Kalmoun, E.M. Application of Gamma Attenuation Technique and Artificial Intelligence to Detect Scale Thickness in Pipelines in Which Two-Phase Flows with Different Flow Regimes and Void Fractions Exist. Symmetry 2021, 13, 1198. [Google Scholar] [CrossRef]
  18. Sattari, M.A.; Korani, N.; Hanus, R.; Roshani, G.H.; Nazemi, E. Improving the performance of gamma radiation based two phase flow meters using optimal time characteristics of the detector output signal extraction. J. Nucl. Sci. Technol. 2020, 41, 42–54. [Google Scholar]
  19. Nazemi, E.; Roshani, G.; Feghhi, S.; Setayeshi, S.; Zadeh, E.E.; Fatehi, A. Optimization of a method for identifying the flow regime and measuring void fraction in a broad beam gamma-ray attenuation technique. Int. J. Hydrogen Energy 2016, 41, 7438–7444. [Google Scholar] [CrossRef]
  20. Hernandez, A.M.; Boone, J.M. Tungsten anode spectral model using interpolating cubic splines: Unfiltered x-ray spectra from 20 kV to 640 kV. Med Phys. 2014, 41, 042101. [Google Scholar] [CrossRef]
  21. Nussbaumer, H.J. The Fast Fourier Transform. In Fast Fourier Transform and Convolution Algorithms; Springer: Berlin, Germany, 1981; pp. 80–111. [Google Scholar]
  22. Daubechies, I. The wavelet transform, time-frequency localization and signal analysis. IEEE Trans. Inf. Theory 1990, 36, 961–1005. [Google Scholar] [CrossRef] [Green Version]
  23. Soltani, S. On the use of the wavelet decomposition for time series prediction. Neurocomputing 2002, 48, 267–277. [Google Scholar] [CrossRef]
  24. Kennedy, J.; Eberhart, R. Particle Swarm Optimization. In Proceedings of the ICNN’95-International Conference on Neural Networks, Perth, WA, Australia, 27 November–1 December 1995; Volume 4, pp. 1942–1948. [Google Scholar] [CrossRef]
  25. Shi, Y.; Eberhart, R. A Modified Particle Swarm Optimizer. In Proceedings of the IEEE International Conference on Evolutionary Computation, Anchorage, Alaska, 4–9 May 1998; pp. 69–73. [Google Scholar] [CrossRef]
  26. Ivakhnenko, A. Polynomial theory of complex systems. IEEE Trans. Syst. Man Cybern. 1971, 4, 364–378. [Google Scholar] [CrossRef]
  27. Alanazi, A.K.; Alizadeh, S.M.; Nurgalieva, K.S.; Guerrero, J.W.G.; Abo-Dief, H.M.; Eftekhari-Zadeh, E.; Narozhnyy, I.M. Optimization of X-ray tube voltage to improve the precision of two phase flow meters used in petroleum industry. Sustainability 2021, 13, 13622. [Google Scholar] [CrossRef]
  28. Tikhomirova, E.A.; Sagirova, L.R.; Khaibullina, K.S. A Review on Methods of Oil Saturation Modelling Using IRAP RMS. IOP Conf. Ser. Earth Environ. Sci. 2019, 378, 012075. [Google Scholar] [CrossRef]
  29. Isaev, A.A.; Aliev, M.M.O.; Drozdov, A.N.; Gorbyleva, Y.A.; Nurgalieva, K.S. Improving the efficiency of curved wells’ operation by means of progressive cavity pumps. Energies 2022, 15, 4259. [Google Scholar] [CrossRef]
  30. Khaibullina, K.S.; Sagirova, L.R.; Sandyga, M.S. Substantiation and selection of an inhibitor for preventing the formation of asphalt-resin-paraffin deposits. Period. Tche Quim. 2020, 17, 541–551. [Google Scholar] [CrossRef]
  31. Mayet, A.M.; Alizadeh, S.M.; Kakarash, Z.A.; Al-Qahtani, A.A.; Alanazi, A.K.; Alhashimi, H.H.; Eftekhari-Zadeh, E.; Nazemi, E. Introducing a Precise System for Determining Volume Percentages Independent of Scale Thickness and Type of Flow Regime. Mathematics 2022, 10, 1770. [Google Scholar] [CrossRef]
  32. Mayet, A.M.; Alizadeh, S.M.; Nurgalieva, K.S.; Hanus, R.; Nazemi, E.; Narozhnyy, I.M. Extraction of Time-Domain Characteristics and Selection of Effective Features Using Correlation Analysis to Increase the Accuracy of Petroleum Fluid Monitoring Systems. Energies 2022, 15, 1986. [Google Scholar] [CrossRef]
  33. Lalbakhsh, A.; Mohamadpour, G.; Roshani, S.; Ami, M.; Roshani, S.; Sayem, A.S.; Alibakhshikenari, M.; Koziel, S. Design of a compact planar transmission line for miniaturized rat-race coupler with harmonics suppression. IEEE Access. 2021, 9, 129207. [Google Scholar] [CrossRef]
  34. Hookari, M.; Roshani, S.; Roshani, S. High-efficiency balanced power amplifier using miniaturized harmonics suppressed coupler. Int. J. RF Microw. Comput. Aided Eng. 2020, 8, e22252. [Google Scholar] [CrossRef]
  35. Lotfi, S.; Roshani, S.; Roshani, S.; Gilan, M.S. Wilkinson power divider with band-pass filtering response and harmonics suppression using open and short stubs. Frequenz 2020, 74, 169–176. [Google Scholar] [CrossRef]
  36. Jamshidi, M.; Siahkamari, H.; Roshani, S.; Roshani, S. A compact Gysel power divider design using U-shaped and T-shaped resonators with harmonics suppression. Electromagnetics 2019, 39, 491–504. [Google Scholar] [CrossRef]
  37. Roshani, S.; Jamshidi, M.B.; Mohebi, F.; Roshani, S. Design and modeling of a compact power divider with squared resonators using artificial intelligence. Wirel. Pers. Commun. 2021, 117, 2085–2096. [Google Scholar] [CrossRef]
  38. Roshani, S.; Azizian, J.; Roshani, S.; Jamshidi, M.B.; Parandin, F. Design of a miniaturized branch line microstrip coupler with a simple structure using artificial neural network. Frequenz 2022, 76, 255–263. [Google Scholar] [CrossRef]
  39. Khaleghi, M.; Salimi, J.; Farhangi, V.; Moradi, M.J.; Karakouzian, M. Application of Artificial Neural Network to Predict Load Bearing Capacity and Stiffness of Perforated Masonry Walls. Civil Eng. 2021, 2, 48–67. [Google Scholar] [CrossRef]
  40. Dabiri, H.; Farhangi, V.; Moradi, M.J.; Zadehmohamad, M.; Karakouzian, M. Applications of Decision Tree and Random Forest as Tree-Based Machine Learning Techniques for Analyzing the Ultimate Strain of Spliced and Non-Spliced Reinforcement Bars. Appl. Sci. 2022, 12, 4851. [Google Scholar] [CrossRef]
  41. Zych, M.; Petryka, L.; Kępński, J.; Hanus, R.; Bujak, T.; Puskarczyk, E. Radioisotope investigations of compound two-phase flows in an ope channel. Flow Meas. Instrum. 2014, 35, 11–15. [Google Scholar] [CrossRef]
  42. Zych, M.; Hanus, R.; Wilk, B.; Petryka, L.; Świsulski, D. Comparison of noise reduction methods in radiometric correlation measurements of two-phase liquid-gas flows. Measurement 2018, 129, 288–295. [Google Scholar] [CrossRef]
  43. Golijanek-Jędrzejczyk, A.; Mrowiec, A.; Hanus, R.; Zych, M.; Heronimczak, M.; Świsulski, D. Uncertainty of mass flow measurement using centric and eccentric orifice for Reynolds number in the range 10,000 ≤ Re ≤ 20,000. Measurement 2020, 160, 107851. [Google Scholar] [CrossRef]
  44. Mayet, A.; Hussain, M. Amorphous WNx Metal for Accelerometers and Gyroscope. In Proceedings of the MRS Fall Meeting, Boston, MA, USA, 30 November–5 December 2014. [Google Scholar]
  45. Mayet, A.; Hussain, A.; Hussain, M. Three-terminal nanoelectromechanical switch based on tungsten nitride—An amorphous metallic material. Nanotechnology 2016, 27, 035202. [Google Scholar] [CrossRef] [PubMed]
  46. Shukla, N.K.; Mayet, A.M.; Vats, A.; Aggarwal, M.; Raja, R.K.; Verma, R.; Muqeet, M.A. High speed integrated RF–VLC data communication system: Performance constraints and capacity considerations. Phys. Commun. 2022, 50, 101492. [Google Scholar] [CrossRef]
  47. Mayet, A.; Smith, C.E.; Hussain, M.M. Energy Reversible Switching from Amorphous Metal Based Nanoelectromechanical Switch. In Proceedings of the 13th IEEE International Conference on Nanotechnology, Beijing, China, 5–8 August 2013; pp. 366–369. [Google Scholar]
  48. Roshani, G.; Nazemi, E.; Feghhi, S.; Setayeshi, S. Flow regime identification and void fraction prediction in two-phase flows based on gamma ray attenuation. Measurement 2015, 62, 25–32. [Google Scholar] [CrossRef]
  49. Roshani, G.; Nazemi, E.; Shama, F.; Imani, M.; Mohammadi, S. Designing a simple radiometric system to predict void fraction percentage independent of flow pattern using radial basis function. Metrol. Meas. Syst. 2018, 25, 347–358. [Google Scholar] [CrossRef]
Figure 1. Flowchart of the general implementation process of the proposed research.
Figure 1. Flowchart of the general implementation process of the proposed research.
Mathematics 11 00916 g001
Figure 2. Proposed detection system structure.
Figure 2. Proposed detection system structure.
Mathematics 11 00916 g002
Figure 3. Simulated flow regimes.
Figure 3. Simulated flow regimes.
Mathematics 11 00916 g003
Figure 4. X-ray energy spectrum applied to the simulations obtained by the TASMIC package.
Figure 4. X-ray energy spectrum applied to the simulations obtained by the TASMIC package.
Mathematics 11 00916 g004
Figure 5. Received signals from the NaI detector for three flow regimes of (a) annular, (b) homogeneous, and (c) stratified.
Figure 5. Received signals from the NaI detector for three flow regimes of (a) annular, (b) homogeneous, and (c) stratified.
Mathematics 11 00916 g005
Figure 6. The transferred signals to the frequency domain correspond to three regimes of annular, homogeneous, and stratified.
Figure 6. The transferred signals to the frequency domain correspond to three regimes of annular, homogeneous, and stratified.
Mathematics 11 00916 g006
Figure 7. Wavelet transform signal decomposition into approximation and details.
Figure 7. Wavelet transform signal decomposition into approximation and details.
Mathematics 11 00916 g007
Figure 8. Calculated cost function in the PSO algorithm according to the number of selected characteristics.
Figure 8. Calculated cost function in the PSO algorithm according to the number of selected characteristics.
Mathematics 11 00916 g008
Figure 9. The structure of the trained GMDH neural network.
Figure 9. The structure of the trained GMDH neural network.
Mathematics 11 00916 g009
Figure 10. Regression and error histogram plots for (a) training and (b) testing data.
Figure 10. Regression and error histogram plots for (a) training and (b) testing data.
Mathematics 11 00916 g010aMathematics 11 00916 g010b
Table 1. A comparison of the accuracy of the proposed detection system and previous studies.
Table 1. A comparison of the accuracy of the proposed detection system and previous studies.
RefExtracted FeaturesFeature Selection MethodType of Neural NetworkMaximum MSEMaximum RMSE
[2]No feature extractionLack of feature selectionMLP2.561.6
[3]Time featuresLack of feature selectionMLP0.210.46
[4]Time featuresLack of feature selectionGMDH1.241.11
[9]Frequency featuresLack of feature selectionMLP0.670.82
[15]Lack of feature extractionLack of feature selectionGMDH7.342.71
[48]Full energy peak (transmission count), photon counts of Compton edge in transmission detector and total count in the scattering detectorLack of feature selectionMLP1.081.04
[49]Compton continuum and counts under full energy peaks of 1173 and 1333 keVLack of feature selectionRBF37.456.12
[proposed method]Time, wavelet, and frequency featuresPSO-based feature selectionGMDH0.090.30
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

Iliyasu, A.M.; Bagaudinovna, D.K.; Salama, A.S.; Roshani, G.H.; Hirota, K. A Methodology for Analysis and Prediction of Volume Fraction of Two-Phase Flow Using Particle Swarm Optimization and Group Method of Data Handling Neural Network. Mathematics 2023, 11, 916. https://doi.org/10.3390/math11040916

AMA Style

Iliyasu AM, Bagaudinovna DK, Salama AS, Roshani GH, Hirota K. A Methodology for Analysis and Prediction of Volume Fraction of Two-Phase Flow Using Particle Swarm Optimization and Group Method of Data Handling Neural Network. Mathematics. 2023; 11(4):916. https://doi.org/10.3390/math11040916

Chicago/Turabian Style

Iliyasu, Abdullah M., Dakhkilgova Kamila Bagaudinovna, Ahmed S. Salama, Gholam Hossein Roshani, and Kaoru Hirota. 2023. "A Methodology for Analysis and Prediction of Volume Fraction of Two-Phase Flow Using Particle Swarm Optimization and Group Method of Data Handling Neural Network" Mathematics 11, no. 4: 916. https://doi.org/10.3390/math11040916

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop