Next Article in Journal
Reliability, Availability, and Maintainability Assessment of a Mechatronic System Based on Timed Colored Petri Nets
Previous Article in Journal
Special Issue on 3D Information Technologies for Tangible and Intangible Cultural Heritage—Motivations, Overview of Published Works, and Perspectives for the Future
Previous Article in Special Issue
Development of Fast Protection System with Xilinx ZYNQ SoC for RAON Heavy-Ion Accelerator
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Identification of the Structure of Liquid–Gas Flow in a Horizontal Pipeline Using the Gamma-Ray Absorption and a Convolutional Neural Network

1
Faculty of Electrical and Computer Engineering, Rzeszów University of Technology, Powstańców Warszawy 12, 35-959 Rzeszów, Poland
2
Faculty of Geology, Geophysics and Environmental Protection, AGH University of Kraków, Mickiewicza 30, 30-059 Kraków, Poland
3
Bury Technologies, ul. Wspólna 2, 35-205 Rzeszów, Poland
*
Author to whom correspondence should be addressed.
Appl. Sci. 2024, 14(11), 4854; https://doi.org/10.3390/app14114854
Submission received: 8 May 2024 / Revised: 27 May 2024 / Accepted: 31 May 2024 / Published: 4 June 2024
(This article belongs to the Special Issue Signal Processing and Machine Learning for Physics Applications)

Abstract

:
Knowledge of the liquid–gas flow regime is important for the proper control of many industrial processes (e.g., in the mining, nuclear, petrochemical, and environmental industries). The latest publications in this field concern the use of computational intelligence methods for flow structure recognition, which include, for example, expert systems and artificial neural networks. Generally, machine learning methods exploit various characteristics of sensors signals in the value, time, frequency, and time–frequency domain. In this work, the convolutional neural network (CNN) VGG-16 is applied for analysis of histogram images of signals obtained for water–air flow by using gamma-ray absorption. The experiments were carried out on the laboratory hydraulic installation fitted with a radiometric measurement system. The essential part of the hydraulic installation is a horizontal pipeline made of metalplex, 4.5 m long, with an internal diameter of 30 mm. The radiometric measurement set used in the investigation consists of a linear Am-241 radiation source with an energy of 59.5 keV and a scintillation detector with a NaI(Tl) crystal. In this work, four types of water–air flow regimes (plug, slug, bubble, and transitional plug–bubble) were studied. MATLAB 2022a software was used to analyze the measurement signal obtained from the detector. It was found that the CNN network correctly recognizes the flow regime in more than 90% of the cases.

1. Introduction

In many industrial and engineering processes, we deal with multiphase flows in pipelines and open channels. Liquid–gas flows manifest themselves in chemical and petrochemical plants, nuclear energy installations, condensers, power generation facilities, steam boilers, chemical reactors, food processing, and thermal engineering systems. For the precise design and operation of facilities that handle two-phase gas–liquid flows, knowledge of the flow parameters of individual phases, their mixing, and the flow structure is essential. In production systems, early identification of undesired flow regimes in the conduit is necessary. This is a challenging issue in mathematical description, which is why experimental and simulation techniques are often used, coupled with artificial intelligence methods, to address this purpose [1].
Diverse sensor techniques are also used in the study of liquid–gas flows. In the works [2,3,4], ultrasonic techniques were used in combination with artificial neural networks (ANNs) to identify and predict the structure of the two-phase flow. Differential pressure sensor applications are presented in publications [5,6,7]. The authors of these works describe the use of ANN and adaptive neuro-fuzzy inference system to identify flow regime. The articles [8,9,10] present applications of capacitance and conductance sensors in the analysis of liquid–gas flows. In [9], wavelet variance data, principal component analysis, linear discriminant analyses, and the fuzzy c-means clustering algorithm were used to classify the type of flow. Optical techniques used in the study of two-phase flows are described in [11,12,13]. In [11], a machine learning methodology based on support vector analysis was used to identify the flow regime using the map developed in this work. The article [13] describes the use of three types of convolutional neural networks to analyze oil-water flow images obtained with a camera. Other sensor techniques used in the analysis of two-phase flows include industrial tomography: electrical, optical [14,15,16,17], radiography: using X-rays and neutrons [18,19,20,21], accelerometers [22,23], impedance meter [24], wire-mesh sensor [25,26]. An important method that has been used for many years in the study of two-phase flows is gamma radiation techniques, in particular the gamma-absorption method. A number of applications based on gamma-ray attenuation and scattering, combined with artificial intelligence methods for recognizing the flow structure and determining the void fraction, are described in the literature, e.g., [27,28,29,30,31,32]. Diverse methods of computational intelligence have been applied for flow type classification in combination with nuclear technique, e.g., expert systems and ANNs: MLP, RBF, PNN, SVM, GMDH, CNN, RNN [28,29,30,31,32,33,34,35,36].
Generally, machine learning techniques use various features of signals from scintillation detectors extracted in the value, time, frequency, or time–frequency domain [27,30,36,37,38]. The probability density function (PDF) and the cumulative probability density function (CPDF) are characteristics of signals in the value domain and can be applied as input parameters for recognizing the flow structure using machine learning methods. This has been described in works using various sensor techniques: high-speed camera [39,40], differential pressure system [41], capacitance sensor [42], impedance meter [43], single-wire resistivity probe [44].
In this work, a convolutional neural network VGG-16 (Visual Geometry Group) was applied to analyze histogram images of signals obtained in water–air flow measurements using the gamma radiation absorption method. No descriptions of such an approach in the case of radioisotope measurements were found in the available literature. Measurement data were recorded in a laboratory stand to test two-phase flows in a horizontal pipeline built at the AGH University of Kraków. The stand allows for the implementation of various liquid–gas flow structures, such as slug, plug, plug–bubble, and bubble flow. MATLAB 2022a software was used to analyze the measurement signals.
This paper is organized as follows. Section 2 describes the principle of application of the gamma absorption method in two-phase flow measurements. The test station and the signals obtained are presented in the third section. Section 4 provides basic information on the convolutional neural network used. Section 5 describes the results obtained, and Section 6 presents a summary and conclusions of the research conducted.

2. Gamma Radiation Absorption Method in Liquid–Gas Flow Measurements

The technique of using gamma radiation absorption in measurements is based on the exponential attenuation of the γ radiation beam as a function of the geometric (thickness), physical (mass, density), and chemical (elemental composition) quantities of the absorbent [45]. This is described by the Beer–Lambert law:
I = I 0 exp ( η μ d )
where I0 is the inlet to absorbent radiation intensity, I is the outlet intensity of the exit, d represent the thickness of the absorbing material, and η and µ are the density and mass absorption coefficient of this material, respectively.
If the basic Equation (1) is applied to an air–water mixture, then the final equation is as follows:
I = I 0 exp [ ( η G μ G d G + η L μ L d L + η P μ P d P ) ]
where the indices G, L, and P for η, µ, and d denote the gas, the liquid, and the pipe, respectively.
Changes in radiation intensity caused by flow of gas and liquid are recorded by scintillation probes and converted into electrical impulses. A typical measurement setup to test the two-phase flow by using the gamma absorption method is presented in Figure 1.
A radioactive source, placed on one side of the pipe emits a beam of γ radiation (4) shaped by the collimator (1). Gamma photons penetrate the pipe (5) with the flowing liquid–gas mixture and are partially absorbed. The scintillation detector (2) with the collimator (3) are placed opposite the source on the opposite side of the pipeline. At the detector output, electrical impulses Ix(t) are obtained, shaped by the front-end system of the probe, and then recorded by an external data acquisition system. In the studies described in this article, a radiometric measurement system consisting of a linear Am-241 radiation source with an energy of 59.5 keV and a detector with a NaI(Tl) scintillation crystal was used.

3. Laboratory Station

The absorption measurement set described above was used at a laboratory station for testing two-phase flows using radioisotope methods, built at the AGH University of Kraków (Poland). A detailed description of the stand is presented in the works [33,38]. The essential part of the hydraulic installation is a horizontal pipeline made of metalplex, 4.5 m long and with an internal diameter of 30 mm. A general view of the installation measurement section is presented in Figure 2.
Figure 3, in turn, shows photos of exemplary structures of the flows analyzed obtained at the station: slug (3a), plug (3b), plug–bubble (3c), and bubble (3d). The water flow velocity (υw) and the air flow velocity (υa) are given in the caption of the figure.
The data acquisition system includes a dedicated counter card connected to a PC via USB. Voltage pulses Ix(t) were recorded at a sampling frequency of 1 kHz for 3 min, allowing the obtainment of signals x(t). The signals for the types of flows analyzed, after the centering operation, are presented in Figure 4.

4. Convolutional Neural Network

A convolutional neural network (CNN) is a structure that uses convolution operations [46,47,48,49,50]. Most often, this type of network is used for image recognition. In the case of signal classification, the most popular is the use of a spectrogram at the network input (predictor). In this work, to classify the type of flow using a CNN, histogram images of signals obtained from scintillation detectors can be used as predictors. Histograms were determined for low-pass filtered signals (cut-off frequency 50 Hz established experimentally) from 20,000 sample segments. Histograms were made using a standard MATLAB procedure, which gives the number of classes (bins) on the horizontal axis and the number of elements in a given class on the vertical axis. Figure 5 shows sample histogram images (number of 112 classes) for the flow types analyzed. Images are stripped of titles, legends, and axis descriptions so that such data do not negatively impact the training process. The network used for training is a modified VGG-16 network available in the MATLAB 2022a environment [51]. This network was originally created for training, on the basis of the ImageNet database. For the purposes of calculations, layer 14 (changed the classifier input to “auto”, forced by the smaller size of the training set) and layer 16 (changed the classifier output from 1000 to 4) were changed. Histogram images with a size of 224 × 224 pixels were fed into the network input.

5. Results

As already mentioned, the calculations were performed in the MATLAB environment. On the basis of the experiments performed, the following network options were used: network optimization algorithm: SGDM (stochastic gradient descent with momentum); learning coefficient value: 0.001; maximum number of epochs: 60; number of data analyzed by the network at a given moment (batch size): 4. The network was trained for histogram images with different numbers of classes: 28, 56, 112, and 224. The numbers of classes used are divisors of 224. On the basis of the test set, the trained network was tested and confusion matrices were plotted. These matrices for the abovementioned number of classes are shown in Figure 6. A set of 112 elements was used for training, 96 for testing, and 16 for validation. A plot of the loss function versus epochs for testing and validation is shown in Figure 7. The number of epochs was set to 60. The training process continued until the validation loss stopped fluctuating. The visible slight increase in the validation loss function (overfitting) does not reduce the accuracy of the test data.
The following indicators were then calculated: accuracy (Acc), sensitivity (Sen), specificity (Spe), and precision (Prec) of the relationship [52,53]:
A c c = T P + T N T P + F P + T N + F N
S e n = T P T P + F N
S p e = T N T N + F P
P r e c = T P T P + F P
where TP (true positive) are the elements that have been labeled as positive by the model and they are actually positive, FP (false positive) are the elements that have been labeled as positive by the model but they are actually negative, TN (true negative) are the elements that have been labeled as negative by the model and they are actually negative, and FN (false negative) are the elements that have been labeled as negative by the model but they are actually positive.
The results obtained are presented in Table 1, Table 2, Table 3 and Table 4.
The indicator values in Table 1, Table 2 and Table 3 indicate good recognition results. Precision (Table 4) indicates how much one can trust the model obtained when it predicts that the recognition result will be positive. On the basis of the precision and sensitivity indicators, the values of the F1 coefficient were calculated (Table 5), which is their harmonic mean and is described by the relationship [53]:
F 1 = 2 T P 2 T P + F P + F N
The values of the F1 indicator are in the interval [0, 1], where the minimum is achieved for TP = 0, i.e., when all positive samples are misclassified, and the maximum for FN = FP = 0, i.e., for error-free classification. Two main features distinguish F1 from accuracy: F1 is independent of TN and is not symmetric in the case of class swapping [53]. The obtained values of the F1 indicator are good in all cases, i.e., the coefficient is greater than 0.8. The best results were obtained for the slug flow.

6. Conclusions

This article presents the possibility of using CNN to identify the structure of liquid–gas flow in a horizontal pipeline based on the analysis of signals from a radiometric measurement system. The tests were performed for four types of flows: slug, plug, plug–bubble, and bubble. At the input of the VGG-16 network, available in the MATLAB environment, histogram images with a size of 224 × 224 pixels, built for signals from the scintillation detector, were used as predictors. To compare the results, histograms were made for different numbers of classes: 28, 56, 112, and 224. For all four types of flows and all numbers of classes, good recognition results were obtained, which is confirmed by the calculated indices (values above 0.8). The best recognition (values of all indicators equal to 1) was obtained for the slug flow.
The classification results obtained may be useful in radiometric measurements of two-phase liquid–gas flows in pipelines, in which the velocities (or flow rates) and the share of individual components of the mixture are determined. Identification of the flow regime is another piece of information that is important for controlling industrial processes and is additionally obtained from recorded measurement signals.

Author Contributions

Conceptualization, R.H. and P.O.; Methodology, R.H. and P.O.; Software, P.O. and M.A.; Validation, M.Z. and M.A.; Formal analysis, M.Z. and M.A.; Investigation, R.H. and P.O.; Data curation, M.Z. and P.O.; Writing—original draft, R.H.; Writing—review & editing, R.H., M.Z. and M.A.; Visualization, M.Z. and P.O.; Supervision, R.H. All authors have read and agreed to the published version of the manuscript.

Funding

This research work is co-financed from the state budget under the program of the Polish Minister of Education and Science under the name Polska Metrologia, project no. PM/SP/0020/2021/1, co-financing amount PLN 975,590, total value of the project PLN 975,590. Applsci 14 04854 i001

Data Availability Statement

The raw data supporting the conclusions of this article will be made available by the authors on request.

Conflicts of Interest

Author Piotr Ochał was employed by the company Bury Technologies. The remaining authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.

References

  1. Hafsa, N.; Rushd, S.; Yousuf, H. Comparative Performance of Machine-Learning and Deep-Learning Algorithms in Predicting Gas–Liquid Flow Regimes. Processes 2023, 11, 177. [Google Scholar] [CrossRef]
  2. Kuang, B.; Nnabuife, S.G.; Whidborne, J.F.; Sun, S.; Zhao, J.; Jenkins, K. Self-supervised learning-based two-phase flow regime identification using ultrasonic sensors in an S-shape riser. Expert Syst. Appl. 2024, 236, 121414. [Google Scholar] [CrossRef]
  3. Nnabuife, S.G.; Kuang, B.; Rana, Z.A.; Whidborne, J. Classification of flow regimes using a neural network and a non-invasive ultrasonic sensor in an S-shaped pipeline-riser system. Chem. Eng. J. Adv. 2021, 9, 100215. [Google Scholar] [CrossRef]
  4. Zhang, Y.; Azman, A.N.; Xu, K.W.; Kang, C.; Kim, H.-B. Two-phase flow regime identification based on the liquid-phase velocity information and machine learning. Exp. Fluids 2020, 61, 212. [Google Scholar] [CrossRef]
  5. Xu, Q.; Liu, C.; Wang, X.; Cao, Y.; Yu, H.; Li, W.; Guo, L. Machine learning classification of flow regimes in a long pipeline-riser system with differential pressure signal. Chem. Eng. Sci. 2021, 233, 116402. [Google Scholar] [CrossRef]
  6. Madhumitha, R.; Balachandar, C.; Venkatesan, M. Flow regime identification using fuzzy and neuro-fuzzy inference applied on differential pressure sensor. Flow Meas. Instrum. 2023, 94, 102474. [Google Scholar] [CrossRef]
  7. Li, X.; Li, L.; Ma, W.; Wang, W. Two-phase flow patterns identification in porous media using feature extraction and SVM. Int. J. Multiph. Flow 2022, 156, 104222. [Google Scholar] [CrossRef]
  8. Chen, T.-C.; Alizadeh, S.M.; Alanazi, A.K.; Guerrero, J.W.G.; Abo-Dief, H.M.; Eftekhari-Zadeh, E.; Fouladinia, F. Using ANN and Combined Capacitive Sensors to Predict the Void Fraction for a Two-Phase Homogeneous Fluid Independent of the Liquid Phase Type. Processes 2023, 11, 940. [Google Scholar] [CrossRef]
  9. De Kerpel, K.; De Schampheleire, S.; De Keulenaer, T.; De Paepe, M. Two-phase flow regime assignment based on wavelet features of a capacitance signal. Int. J. Heat Fluid Flow 2015, 56, 317–323. [Google Scholar] [CrossRef]
  10. Shi, X.; Tan, C.; Dong, F.; Santos, E.N.D.; da Silva, M.J. Conductance sensors for multiphase flow measurement: A review. IEEE Sens. J. 2021, 21, 12913–12925. [Google Scholar] [CrossRef]
  11. Manjrekar, O.N.; Dudukovic, M.P. Identification of flow regime in a bubble column reactor with a combination of optical probe data and machine learning technique. Chem. Eng. Sci. X 2019, 2, 100023. [Google Scholar] [CrossRef]
  12. Liu, L.; Bai, B. Flow regime identification of swirling gas-liquid flow with image processing technique and neural networks. Chem. Eng. Sci. 2019, 199, 588–601. [Google Scholar] [CrossRef]
  13. Du, M.; Yin, H.; Chen, X.; Wang, X. Oil-in-water two-phase flow pattern identification from experimental snapshots using convolutional neural network. IEEE Access 2018, 7, 6219–6225. [Google Scholar] [CrossRef]
  14. Banasiak, R.; Wajman, R.; Jaworski, T.; Fiderek, P.; Fidos, H.; Nowakowski, J.; Sankowski, D. Study on two-phase flow regime visualization and identification using 3D electrical capacitance tomography and fuzzy-logic classification. Int. J. Multiph. Flow 2014, 58, 1–14. [Google Scholar] [CrossRef]
  15. Xu, Z.; Yang, X.; Chen, B.; Zhang, M.; Li, Y. Imaging of Flow Pattern of Gas-Oil Flows with Convolutional Neural Network. In Proceedings of the 2019 IEEE International Conference on Imaging Systems and Techniques (IST), Abu Dhabi, United Arab Emirates, 9–10 December 2019; pp. 1–6. [Google Scholar]
  16. Tan, C.; Dong, F.; Wu, M. Identification of gas/liquid two-phase flow regime through ERT-based measurement and feature extraction. Flow Meas. Instrum. 2007, 18, 255–261. [Google Scholar] [CrossRef]
  17. Schleicher, E.; da Silva, M.J.; Thiele, S.; Wollrab, E.; Hampel, U. Design of an optical tomograph for the investigation of single- and two-phase pipe flows. Meas. Sci. Technol. 2008, 19, 094006. [Google Scholar] [CrossRef]
  18. Breitenmoser, D.; Prasser, H.-M.; Manera, A.; Petrov, V. Machine learning based flow regime recognition in helically coiled tubes using X-ray radiography. Int. J. Multiph. Flow 2023, 161, 104382. [Google Scholar] [CrossRef]
  19. Hu, B.; Langsholt, M.; Liu, L.; Andersson, P.; Lawrence, C. Flow structure and phase distribution in stratified and slug flows measured by X-ray tomography. Int. J. Multiph. Flow 2014, 67, 162–179. [Google Scholar] [CrossRef]
  20. Tambouratzis, T.; Pázsit, I. Non-invasive on-line two-phase flow regime identification employing artificial neural networks. Ann. Nucl. Energy 2009, 36, 464–469. [Google Scholar] [CrossRef]
  21. Sunde, C.; Avdic, S.; Pázsit, I. Classification of two-phase flow regimes via image analysis and a neuro-wavelet approach. Prog. Nucl. Energy 2005, 46, 348–358. [Google Scholar] [CrossRef]
  22. Sestito, G.S.; Álvarez-Briceño, R.; Ribatski, G.; da Silva, M.M.; de Oliveira, L.P.R. Vibration-based multiphase-flow pattern classification via machine learning techniques. Flow Meas. Instrum. 2023, 89, 102290. [Google Scholar] [CrossRef]
  23. Jung, S.; Yang, H.; Park, K.; Seo, Y.; Seong, W. Monitoring severe slugging in pipeline-riser system using accelerometers for application in early recognition. Sensors 2019, 19, 3930. [Google Scholar] [CrossRef] [PubMed]
  24. Paranjape, S.; Ritchey, S.N.; Garimella, S.V. Electrical impedance-based void fraction measurement and flow regime identification in microchannel flows under adiabatic conditions. Int. J. Multiph. Flow 2012, 42, 175–183. [Google Scholar] [CrossRef]
  25. Wiedemann, P.; Döß, A.; Schleicher, E.; Hampel, U. Fuzzy flow pattern identification in horizontal air-water two-phase flow based on wire-mesh sensor data. Int. J. Multiph. Flow 2019, 117, 153–162. [Google Scholar] [CrossRef]
  26. Zhang, H.; Xiao, Y.; Gu, H. Experimental investigation of two-phase flow evolution in a tight lattice bundle using wire-mesh sensor. Int. J. Heat Mass Transf. 2021, 171, 121079. [Google Scholar] [CrossRef]
  27. Hosseini, S.; Iliyasu, A.M.; Akilan, T.; Salama, A.S.; Eftekhari-Zadeh, E.; Hirota, K. Accurate Flow Regime Classification and Void Fraction Measurement in Two-Phase Flowmeters Using Frequency-Domain Feature Extraction and Neural Networks. Separations 2022, 9, 160. Available online: https://www.mdpi.com/2297-8739/9/7/160/pdf?version=1656060017 (accessed on 3 June 2024). [CrossRef]
  28. Salgado, W.L.; Dam, R.S.D.F.; Desterro, F.S.M.D.; da Cruz, B.L.; Silva, A.X.D.; Salgado, C.M. Application of deep neural network and gamma radiation to monitor the transport of petroleum by-products through polyducts. Appl. Radiat. Isot. 2023, 200, 110973. [Google Scholar] [CrossRef] [PubMed]
  29. Jeshvaghani, P.A.; Rezaee, K.; Rezaee, K.; Feghhi, S.A.H.; Jafari, A. Using statistical features and a neural network to predict gas volume fractions independent of flow regime changes. Flow Meas. Instrum. 2023, 93, 102430. [Google Scholar] [CrossRef]
  30. Dam, R.S.D.F.; Salgado, W.L.; Schirru, R.; Salgado, C.M. Application of radioactive particle tracking and an artificial neural network to calculating the flow rate in a two-phase (oil–water) stratified flow regime. Appl. Radiat. Isot. 2022, 180, 110061. [Google Scholar] [CrossRef]
  31. Sattari, A.M.; 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]
  32. Roshani, G.H.; Nazemi, E.; Shama, F.; Imani, M.A.; 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]
  33. 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]
  34. Ochał, P.; Hanus, R.; Zych, M. Application of the convolutional neural network to identify the liquid-gas flow structure in a pipeline using histograms of signals from scintillation detectors. Przegl. Elektrotech. 2022, 98, 185–189. Available online: http://pe.org.pl/articles/2022/11/38.pdf (accessed on 3 June 2024). (In Polish).
  35. Boorboor, S.; Feghhi, S.A.H.; Jafari, H. Development of an intelligent dual-beam gamma densitometer for real-time recognition of two-phase flow regime in horizontal pipe. Nucl. Instrum. Methods Phys. Res. A 2023, 1054, 168412. [Google Scholar] [CrossRef]
  36. Iliyasu, A.M.; Mayet, A.M.; Hanus, R.; El-Latif, A.A.A.; Salama, A.S. Employing GMDH-type neural network and signal frequency feature extraction approaches for detection of scale thickness inside oil pipelines. Energies 2022, 15, 4500. Available online: https://www.mdpi.com/1996-1073/15/12/4500 (accessed on 3 June 2024). [CrossRef]
  37. Hosseini, S.; Taylan, O.; Abusurrah, M.; Akilan, T.; Nazemi, E.; Eftekhari-Zadeh, E.; Bano, F.; Roshani, G.H. Application of Wavelet Feature Extraction and Artificial Neural Networks for Improving the Performance of Gas–Liquid Two-Phase Flow Meters Used in Oil and Petrochemical Industries. Polymers 2021, 13, 3647. [Google Scholar] [CrossRef] [PubMed]
  38. Hanus, R.; Zych, M.; Jaszczur, M. Computational intelligence approach for liquid-gas flow regime classification based on frequency domain analysis of signals from scintillation detectors. In Advances in Computational Intelligence; Rojas, I., Joya, G., Catala, A., Eds.; IWANN 2019; Lecture Notes in Computer Science; Springer: Cham, Switzerland, 2019; Volume 11507, pp. 339–349. Available online: https://link.springer.com/chapter/10.1007%2F978-3-030-20518-8_29 (accessed on 3 June 2024).
  39. Wijayanta, S.; Deendarlianto; Indarto; Prasetyo, A.; Hudaya, A.Z. The effect of the liquid physical properties on the wave frequency and wave velocity of co-current gas-liquid stratified two-phase flow in a horizontal pipe. Int. J. Multiph. Flow 2023, 158, 104300. [Google Scholar] [CrossRef]
  40. Liu, W.; Lv, X.; Jiang, S.; Li, H.; Zhou, H.; Dou, X. Two-phase flow pattern identification in horizontal gas–liquid swirling pipe flow by machine learning method. Ann. Nucl. Energy 2022, 12, 109644. [Google Scholar] [CrossRef]
  41. Li, X.; Li, L.; Zhao, H.; Yang, X.; Ma, R.; Yuan, Y.; Ma, W. Identification of two-phase flow pattern in porous media based on signal feature extraction. Flow Meas. Instrum. 2022, 83, 102123. [Google Scholar] [CrossRef]
  42. Liu, H.; Li, W.; Peng, J.; Wang, L.; Jiang, H.; Huang, L.; Li, H. Two-phase flow characterization for metal concentric tubes with capacitance measurement. Int. J. Refrig. 2023, 156, 287–297. [Google Scholar] [CrossRef]
  43. Li, Z.; Wang, G.; Yousaf, M.; Yang, X.; Ishii, M. Flow structure and flow regime transitions of downward two-phase flow in large diameter pipes. Int. J. Heat Mass Transf. 2018, 118, 812–822. [Google Scholar] [CrossRef]
  44. Rosa, E.S.; Salgado, R.M.; Ohishi, T.; Mastelari, N. Performance comparison of artificial neural networks and expert systems applied to flow pattern identification in vertical ascendant gas-liquid flows. Int. J. Multiph. Flow 2010, 36, 738–754. [Google Scholar] [CrossRef]
  45. Zhao, Y.; Qincheng, B.; Richa, H. Recognition and measurement in the flow pattern and void fraction of gaseliquid two-phase flow in vertical upward pipes using the gamma densitometer. Appl. Therm. Eng. 2013, 60, 398–410. [Google Scholar] [CrossRef]
  46. Raitoharju, J. Convolutional neural networks. In Deep Learning for Robot Perception and Cognition; Academic Press: Cambridge, MA, USA, 2022. [Google Scholar]
  47. Bahrami, S.; Alamdari, S.; Farajmashaei, M.; Behbahani, M.; Jamshidi, S.; Bahrami, B. Application of artificial neural network to multiphase flow metering: A review. Flow Meas. Instrum. 2024, 97, 102601. [Google Scholar] [CrossRef]
  48. Bhatt, D.; Patel, C.; Talsania, H.; Patel, J.; Vaghela, R.; Pandya, S.; Modi, K.; Ghayvat, H. CNN Variants for Computer Vision: History, Architecture, Application, Challenges and Future Scope. Electronics 2021, 10, 2470. [Google Scholar] [CrossRef]
  49. Jin, H.; Zhang, E.; Espinosa, H.D. Recent advances and applications of machine learning in experimental solid mechanics: A review. Appl. Mech. Rev. 2023, 75, 061001. [Google Scholar] [CrossRef]
  50. Vinuesa, R.; Brunton, S.L.; McKeon, B.J. The transformative potential of machine learning for experiments in fluid mechanics. Nat. Rev. Phys. 2023, 5, 536–545. [Google Scholar] [CrossRef]
  51. Available online: https://www.mathworks.com/help/deeplearning/ref/vgg16.html;jsessionid=27ee6b23c86210369251f413f898 (accessed on 3 June 2024).
  52. Grandini, M.; Bagli, E.; Visani, G. Metrics for Multi-Class Classification: An Overview. arXiv 2008, arXiv:2008.05756. [Google Scholar] [CrossRef]
  53. Chicco, D.; Jurman, G. The advantages of the Matthews correlation coefficient (MCC) over F1 score and accuracy in binary classification evaluation. BMC Genom. 2020, 21, 6. [Google Scholar] [CrossRef]
Figure 1. The idea of the gamma radiation absorption method in liquid–gas flow research: 1—gamma radiation source in the collimator, 2—scintillation probe, 3—detector collimator, 4—γ radiation beam, 5—pipeline, υa—air velocity, υw—water velocity, Ix(t)—voltage pulse signal.
Figure 1. The idea of the gamma radiation absorption method in liquid–gas flow research: 1—gamma radiation source in the collimator, 2—scintillation probe, 3—detector collimator, 4—γ radiation beam, 5—pipeline, υa—air velocity, υw—water velocity, Ix(t)—voltage pulse signal.
Applsci 14 04854 g001
Figure 2. General view of the measuring section of the hydraulic installation for the examination of two-phase flows: 1—radioactive sources in collimators, 2—scintillation detectors, 3—pipeline, 4—pump, 5—expansion tank, 6—ultrasonic flowmeter detectors, 7—video camera [33].
Figure 2. General view of the measuring section of the hydraulic installation for the examination of two-phase flows: 1—radioactive sources in collimators, 2—scintillation detectors, 3—pipeline, 4—pump, 5—expansion tank, 6—ultrasonic flowmeter detectors, 7—video camera [33].
Applsci 14 04854 g002
Figure 3. Examples of water–air flow regimes in a horizontal pipeline: (a) slug, υw = 0.94 m/s, υa = 1.25 m/s; (b) plug, υw = 1.09 m/s, υa = 1.60 m/s; (c) plug–bubble, υw = 1.18 m/s, υa = 2.15 m/s; (d) bubble, υw = 1.48 m/s, υa = 3.19 m/s.
Figure 3. Examples of water–air flow regimes in a horizontal pipeline: (a) slug, υw = 0.94 m/s, υa = 1.25 m/s; (b) plug, υw = 1.09 m/s, υa = 1.60 m/s; (c) plug–bubble, υw = 1.18 m/s, υa = 2.15 m/s; (d) bubble, υw = 1.48 m/s, υa = 3.19 m/s.
Applsci 14 04854 g003
Figure 4. Signals x(t) recorded for the following flows: (a) slug, υw = 0.94 m/s, υa = 1.25 m/s; (b) plug, υw = 1.09 m/s, υa = 1.60 m/s; (c) plug–bubble, υw = 1.18 m/s, υa = 2.15 m/s; (d) bubble, υw = 1.48 m/s, υa = 3.19 m/s.
Figure 4. Signals x(t) recorded for the following flows: (a) slug, υw = 0.94 m/s, υa = 1.25 m/s; (b) plug, υw = 1.09 m/s, υa = 1.60 m/s; (c) plug–bubble, υw = 1.18 m/s, υa = 2.15 m/s; (d) bubble, υw = 1.48 m/s, υa = 3.19 m/s.
Applsci 14 04854 g004
Figure 5. Examples of histogram images of x(t) signals for flows: (a) slug, (b) plug, (c) plug–bubble, and (d) bubble.
Figure 5. Examples of histogram images of x(t) signals for flows: (a) slug, (b) plug, (c) plug–bubble, and (d) bubble.
Applsci 14 04854 g005
Figure 6. Confusion matrices for CNN VGG-16 trained with histogram images with the number of classes: (a) 28, (b) 56, (c) 112, (d) 224. BF—bubble flow; SF—slug flow; PBF—plug–bubble flow; PF—plug flow.
Figure 6. Confusion matrices for CNN VGG-16 trained with histogram images with the number of classes: (a) 28, (b) 56, (c) 112, (d) 224. BF—bubble flow; SF—slug flow; PBF—plug–bubble flow; PF—plug flow.
Applsci 14 04854 g006aApplsci 14 04854 g006b
Figure 7. Plot of loss function versus epochs for testing and validation.
Figure 7. Plot of loss function versus epochs for testing and validation.
Applsci 14 04854 g007
Table 1. Values of the “accuracy” indicator.
Table 1. Values of the “accuracy” indicator.
Number of Classes2856112224
bubble0.9690.9580.9380.958
slug1111
plug–bubble0.9060.9170.9270.938
plug0.9380.9580.9900.979
Table 2. Values of the “ sensitivity” indicator.
Table 2. Values of the “ sensitivity” indicator.
Number of Classes2856112224
bubble10.9170.8330.917
slug1111
plug–bubble0.7920.8750.8750.875
plug0.8330.87510.958
Table 3. Values of the “specificity” indicator.
Table 3. Values of the “specificity” indicator.
Number of Classes2856112224
bubble0.9580.9720.9720.972
slug1111
plug–bubble0.9440.9310.9440.958
plug0.9720.9860.9860.986
Table 4. Values of the “precision” indicator.
Table 4. Values of the “precision” indicator.
Number of Classes2856112224
bubble0.8890.9170.9090.917
slug1111
plug–bubble0.8260.8080.8400.875
plug0.9090.9550.9600.958
Table 5. Values of the “F1” indicator.
Table 5. Values of the “F1” indicator.
Number of Classes2856112224
bubble0.9410.9170.8690.917
slug1111
plug–bubble0.8090.8400.8570.875
plug0.8690.9130.9800.958
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

Hanus, R.; Zych, M.; Ochał, P.; Augustyn, M. Identification of the Structure of Liquid–Gas Flow in a Horizontal Pipeline Using the Gamma-Ray Absorption and a Convolutional Neural Network. Appl. Sci. 2024, 14, 4854. https://doi.org/10.3390/app14114854

AMA Style

Hanus R, Zych M, Ochał P, Augustyn M. Identification of the Structure of Liquid–Gas Flow in a Horizontal Pipeline Using the Gamma-Ray Absorption and a Convolutional Neural Network. Applied Sciences. 2024; 14(11):4854. https://doi.org/10.3390/app14114854

Chicago/Turabian Style

Hanus, Robert, Marcin Zych, Piotr Ochał, and Małgorzata Augustyn. 2024. "Identification of the Structure of Liquid–Gas Flow in a Horizontal Pipeline Using the Gamma-Ray Absorption and a Convolutional Neural Network" Applied Sciences 14, no. 11: 4854. https://doi.org/10.3390/app14114854

APA Style

Hanus, R., Zych, M., Ochał, P., & Augustyn, M. (2024). Identification of the Structure of Liquid–Gas Flow in a Horizontal Pipeline Using the Gamma-Ray Absorption and a Convolutional Neural Network. Applied Sciences, 14(11), 4854. https://doi.org/10.3390/app14114854

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