Next Article in Journal
The Use of Carbohydrate Biopolymers in Plant Protection against Pathogenic Fungi
Previous Article in Journal
Application of Atomic Force Microscopy as Advanced Asphalt Testing Technology: A Comprehensive Review
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Increasing the Efficiency of a Control System for Detecting the Type and Amount of Oil Product Passing through Pipelines Based on Gamma-Ray Attenuation, Time Domain Feature Extraction, and Artificial Neural Networks

by
Abdulilah Mohammad Mayet
1,
Seyed Mehdi Alizadeh
2,
Zana Azeez Kakarash
3,4,
Ali Awadh Al-Qahtani
1,
Abdullah K. Alanazi
5,
John William Grimaldo Guerrero
6,*,
Hala H. Alhashimi
7 and
Ehsan Eftekhari-Zadeh
8,*
1
Electrical Engineering Department, King Khalid University, P.O. Box 394, Abha 61411, Saudi Arabia
2
Petroleum Engineering Department, Australian College of Kuwait, West Mishref 13015, Kuwait
3
Department of Computer Science, Kurdistan Technical Institute, Sulaymaniyah 46001, Iraq
4
Department of Engineering, Faculty of Engineering and Computer Science, Qaiwan International University, Sulaymaniyah 46001, Iraq
5
Department of Chemistry, Faculty of Science, Taif University, P.O. Box 11099, Taif 21944, Saudi Arabia
6
Department of Energy, Universidad de la Costa, Barranquilla 080001, Colombia
7
Department of Physics, College of Science, Imam Abdulrahman Bin Faisal University, P.O. Box 1982, Dammam 31441, Saudi Arabia
8
Institute of Optics and Quantum Electronics, Friedrich Schiller University Jena, Max-Wien-Platz 1, 07743 Jena, Germany
*
Authors to whom correspondence should be addressed.
Polymers 2022, 14(14), 2852; https://doi.org/10.3390/polym14142852
Submission received: 17 June 2022 / Revised: 7 July 2022 / Accepted: 11 July 2022 / Published: 13 July 2022
(This article belongs to the Section Polymer Processing and Engineering)

Abstract

:
Instantaneously determining the type and amount of oil product passing through pipelines is one of the most critical operations in the oil, polymer and petrochemical industries. In this research, a detection system is proposed in order to monitor oil pipelines. The system uses a dual-energy gamma source of americium-241 and barium-133, a test pipe, and a NaI detector. This structure is implemented in the Monte Carlo N Particle (MCNP) code. It should be noted that the results of this simulation have been validated with a laboratory structure. In the test pipe, four oil products—ethylene glycol, crude oil, gasoil, and gasoline—were simulated two by two at various volume percentages. After receiving the signal from the detector, the feature extraction operation was started in order to provide suitable inputs for training the neural network. Four time characteristics—variance, fourth order moment, skewness, and kurtosis—were extracted from the received signal and used as the inputs of four Radial Basis Function (RBF) neural networks. The implemented neural networks were able to predict the volume ratio of each product with great accuracy. High accuracy, low cost in implementing the proposed system, and lower computational cost than previous detection methods are among the advantages of this research that increases its applicability in the oil industry. It is worth mentioning that although the presented system in this study is for monitoring of petroleum fluids, it can be easily used for other types of fluids such as polymeric fluids.

1. Introduction

In the oil industry, a pipe is usually used to transport various oil products, which significantly reduces the cost of product transfer operations. When one product is inside the pipe, and the next product is loaded into the pipe, the two products mix at a cross-section, which is called the interface region. Therefore, the implementation of a control system to determine the amount and type of product inside the pipe is very important. Previous researchers have used gamma-ray-based systems as a reliable system for determining the parameters of two-phase [1,2,3] and three-phase [4,5,6] flows. In [1], researchers used wavelet transform as an effective method for feature extraction. The structure consisted of a Cs-137 source, two sodium iodide detectors, and a test pipe. Three homogeneous, stratified, and annular flow regimes at different volume percentages were simulated using the MCNP code. All flow regimes were fully detectable and volumetric percentages were predicted with relatively high accuracy. Nazemi et al. [2] implemented a laboratory structure in which they implemented the three flow regimes of annular, stratified, and bubbly in a test pipe at different volume percentages. Two NaI detectors and a cesium source were placed on either side of the pipe. The received signals were applied to the RBF neural network without any characteristic extraction to determine the volume fraction and type of flow regimes. Roshani et al. used a sodium iodide detector to optimize the structure of the detection system [3]. Co-60 was utilized as the gamma source and the properties of count under full energy peaks of 1.173 and 1.333 MeV, and count under Compton continuum were extracted from the signals received by the detector. Due to the extraction of inappropriate features in this study, flow regimes were not fully classifiable. In [4], the researchers simulated a three-phase flow regime, including water, oil, and gas, only in an annular flow regime and at different volume percentages. In this study, an adaptive neuro-fuzzy inference system (ANFIS) has been used to predict volume percentages, which obtained relatively good accuracy for predicting volume percentages. Studies [5,6] examined the performance of a GMDH neural network and Jaya algorithm to determine volume percentages of three-phase flows, respectively. In Articles [7,8], Sattari et al. used time-domain feature extraction techniques to increase the accuracy of determining the type of flow regimes and volume percentages, and they implemented neural networks such as GMDH and MLP with the time characteristics. In previous studies [9], Roshani et al. examined the characteristics of count under Compton continuum, count under photopeak of 1.173 MeV, count under photopeak of 1.333 MeV, and average value. By using a GMDH neural network, they recognized the type of flow regime and the volume percentage of two-phase flows with high accuracy. In another study [10], the thickness of the scale inside the pipe was predicted using the characteristics of counts under photopeak of Ba-133 and Cs-137 with energy of 356 keV and 662 keV and the RBF neural network. In [11], the researchers implemented a structure to control the type and amount of petroleum product in the pipe, which consisted of a dual-energy gamma source, a test pipe, and a detector. Although the amount and type of volume percentages were detectable in this study, the lack of use of feature extraction techniques prevents the achievement of a high-precision system.
In several previous studies, X-ray tubes have been used more than radioisotopes due to the ability to turn them off; this advantage limits potential health risks for people working with this device. In studies [12,13], the authors used a structure based on an X-ray tube to detect the type of flow regime and the volume percentages of multiphase flows. In [12], time characteristics, namely variance, skewness, kurtosis, Summation of Square Roots (SSR), and Summation of Variable Exponent Roots (SVER), were extracted from the received signal from a detector and defined as inputs for the MLP neural network. In [13], a three-phase flow was investigated. An X-ray tube, a pipe, and two NaI detectors were used in the structure of the detection system. The received signals from the two detectors were transmitted to the frequency domain using Fast Fourier Transform (FFT) and frequency characteristics were extracted. Three RBF neural networks were trained with the tasks of determining volume percentages and detecting the type of flow regimes using frequency characteristics. In [14], X-ray tubes were used to implement a diagnostic system, but the lack of characteristic extraction techniques was a disadvantage of this system. In another study [15], wavelet transform characteristics were applied to develop previous work ([14]). In [15], the characteristics of the fifth stage approximation and the details of the first to fifth stages were extracted using wavelet transform and introduced as the inputs for the MLP neural network. In [16], in order to design a system for detecting the type and amount of petroleum products in a pipe, different time characteristics were extracted. By calculating the correlation of these characteristics with each other, the characteristics that have the least similarity with each other were considered as the input for the MLP neural network. In all previous research, gamma-based systems have been introduced as the golden standard and a reliable system for determining the parameters of multiphase flows.
In this research, following the implementation of a precise system to control the type and amount of product in the pipe, a dual-energy gamma-ray-based system with a detector and a test pipe is proposed. Extracting the characteristics of the received signals and implementing the RBF neural networks using these characteristics is the difference between the proposed system and previous research, which has significantly increased the accuracy of the detection system. The present paper is divided as follows: In Section 2, the simulated structure with the MCNP is reported. Section 3 describes the extracted features in detail. The next section contains descriptions of the RBF neural network. Section 5 and Section 6 are result and discussion and conclusion sections, respectively.

2. Simulation Geometry

The purpose of this study is to propose a control system to determine the amount and type of oil product passing through pipelines. For this purpose, a test pipe with a dual-energy gamma source and a NaI detector on both sides is simulated. Ethylene glycol, crude oil, gasoline, and gasoil are the four petroleum products that have been studied in this study, and their density values are 1.114, 0.975, 0.721, and 0.826 g/cm3, respectively. This simulation was performed using a Monte Carlo N Particle (MCNP) code. When there is one product in the pipe and the other product is loaded in the pipe, in a cross-section, these two products are mixed. Subsequently, as the flow passes through the pipe, the amount of the first product decreases and the amount of the second product increases. The mentioned products were examined two by two in six different cases. All six possible modes were simulated at different volume ratios (from 5% to 95%). A total of 118 (6 different modes × 19 different volume ratios + 4 modes with only one product in the pipe) modes were simulated. The gamma source on one side of the pipe contains an americium-241 and barium-133. After the gamma-ray is emitted and collides with the test pipe and the products inside the pipe, the transmitted photons are collected by the detector, located on the other side of the pipe and directly in front of the source. The size of this detector is 25.4 mm × 25.4 mm and it is situated at a distance of 30 cm from the source. The simulated structure and sample of the signal received by the detector are shown in Figure 1. The simulation results of this study have been validated by previous studies [17]. In this study, several laboratory structures were implemented and compared to the results obtained from the MCNP code. Since the tally output in the MCNP code is per source particle, both were normalized to units to compare experimental and simulation data. The maximum relative error of 2.2% was the difference between the simulation results and the laboratory structure. The attenuation for the narrow gamma-ray beam follows Lambert–Beer’s law according to the following equation:
I = I 0 e μ ρ x
where the intensity of un-collided and primary photons is shown by I and I0, respectively. µ and ρ represent the mass attenuation coefficient and density of absorber material, respectively. x is the beam path length through the absorber. According to this equation, different intensities are recorded by the detector due to the collision of photons with different objects. This difference in recorded intensity can be an important factor in determining the volume ratio of the petroleum product in the pipe.

3. Characteristic Extraction

The raw signals received from the detector need to be analyzed and processed so that they can be used as suitable inputs for the design of neural networks. To better interpret the received signals, reduce the size of the data, and reduce the computational costs imposed on neural networks, the feature extraction technique in the time domain was applied. Four time characteristics—variance, fourth order moment, skewness, and kurtosis—were extracted from the received signals with the following equations. The extracted features have been introduced as very useful features in previous research [7,8,18]. For this reason, in this research, in order to increase the efficiency of the control system, these characteristics have been extracted from the signals received by the detector.
  • variance:
m = 1 N n = 1 N x n
  σ 2 = 1 N n = 1 N ( x n m ) 2
  • fourth order moment:
m 4 = 1 N n = 1 N [ x n m ] 4
  • skewness:
Skewness = m 3 σ 3 ,   m 3 = 1 N n = 1 N [ x n m ] 3
  • kurtosis:
Kurtosis = m 4 σ 4
where n is the number of data sets, N is the total number of data, and Xn denotes main signal in time domain.

4. Radial Basis Function Neural Network

In recent years, different mathematical approaches have been used for analyzing data in plenty of engineering fields [19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46], but it has been proven that an artificial neural network (ANN) is the most well-known and powerful tool for prediction and classification. RBF neural networks, abbreviated as “Radial Basis Function”, are special types of artificial neural networks that are distance-based and measure the similarity between data based on distance. An RBF network is a type of feed-forward artificial neural network that consists of three layers: the input layer, the hidden layer, and the output layer. Hidden layer neurons are activated by a Radial Basis Function. The most common form of radial base function is as follows [47]:
φ ( r ) = exp [ r 2 2 σ 2 ]
r is the numerical value of the distance from the center of the cluster. Equation (7) shows a normal bell-shaped curve. A hidden layer consists of an array of computational units called hidden nodes. Each hidden node contains a central vector c, which is a parametric vector of length similar to the input vector x. The Euclidean distance between the center vector and the input vector x of the network is defined as [48]:
r j = i = 1 n ( x i w ij ) 2
Therefore, the output of the jth neuron in the hidden layer is as follows:
j = exp [ i = 1 n ( x i w ij ) 2 2 σ 2 ]
The width or radius of the bell curve is described by σ . The hidden layer of an RBF network has units that are weighted, and these weights corresponding to the vector represent the center of the cluster. Weights can be obtained using traditional methods such as the K-Mean algorithm or techniques based on the Kohonen algorithm. In any case, the training is performed non-supervised but the number of expected clusters (k) is pre-selected, these algorithms then obtain the best fit for these clusters. To design a neural network, the available data are usually divided into two categories: training and testing data. Training data contains more data (usually 70%). With this data, the neural network is implemented and the final model is fitted to the data. After this step, the function of the neural network should be tested. For this purpose, test data is given as input to the network. It should be noted that the neural network has not seen this data before, and the correct response to this data can assure that the network is functioning properly. MATLAB (2016, The MathWorks Inc., Natick, MA, USA) software was used to extract the characteristics mentioned in the previous section and to implement the RBF neural network. In this MATLAB software, there are several toolboxes for implementing neural networks; however, in this research, no pre-designed toolboxes have been used to implement neural networks and all stages of training and testing the neural networks have been programmed step-by-step for more freedom of action. It should be noted that the “newrb” function has been used to train the neural network. After providing the appropriate inputs, the neural network design operation began. The goal was to determine the volume ratio of the four oil products passing through the pipeline, which are mixed in a cross-section. For this purpose, four neural networks with the same inputs were designed, in which the output of each neural network is a percentage of the volume ratio of each product. There are various methods to show the function of neural networks but one of the most widely used methods is the use of regression and error diagrams. To increase productivity and increase speed in neural network training, available data should be optimized. There are various optimization methods that can be used according to the type and nature of available data [49,50,51,52,53]. In this research, in order to optimize the data, all the input and output data were transferred to a range between 0 and 1, and after training the network, the output data were returned to their original state.

5. Result and Discussion

The performance of the designed networks can be seen in the regression and error diagrams for the training and test data shown in Figure 2, Figure 3, Figure 4 and Figure 5. In the regression diagrams, the black line represents the desired outputs and the blue circle represents the output of the neural network. The error diagram shows the amount of error between the target data and the network output for each sample. The greater compatibility of the line and the circle indicates the high accuracy of the designed network. The specifications of these networks are shown in Table 1. The general process of the proposed detection system can be seen in Figure 6. The general process of the current research is that four oil products mixed two by two at different volume rates were first simulated in a test pipe. On both sides of this pipe, a dual-energy gamma source and a sodium iodide detector were placed. The detector provides the intensity of the transmitted photons. Four characteristics—variance, fourth order moment, skewness, and kurtosis—were extracted from the received spectrum to reduce dimensions, allow for better interpretation of data, and reduce computational load. The extracted features were considered as the inputs of four RBF neural networks. Each of these neural networks is responsible for determining the volume percentages of a product. By operating these four neural networks simultaneously, the type of product and volume percentage in the pipe can be recognized. One of the advantages of this research is reducing computational load. In this way, by manually extracting the characteristic, it has become easier for the neural network to assign the data and predict the volume rates with a fewer number of neurons.
In order to calculate the error of the designed neural networks, two error criteria (mean square error (MSE) and root mean square error (RMSE)) were calculated with the following equations, and the obtained values are shown in Table 1. Proper feature extraction is always one of the most important steps in signal analysis. Failure to use feature extraction techniques or not selecting the appropriate feature to determine volume ratio can be an obstacle to achieving high efficiency regarding the detection system. As can be seen from Table 1, the calculated error of the designed networks is very low, which is due to the application of appropriate inputs to the neural networks. Appropriate inputs in this study have been obtained by extracting time characteristics. The use of these features as input to other neural networks to achieve higher efficiency is highly recommended in future research. The target outputs and the outputs of all four designed neural networks are shown in Table 2. The comparison of this detection system with the others is shown in Table 3. It is clear that, by extracting the convenient characteristics, the error of the system can be outstandingly decreased.
MSE = j = 1 N ( X j ( Exp ) X j ( Pred ) ) 2 N
RMSE = [ j = 1 N ( X j ( Exp ) X j ( Pred ) ) 2 N ] 0.5

6. Conclusions

Designing an effective and reliable control system is very important in the oil industry. For this purpose, a structure consisting of a dual-energy gamma source and a NaI detector was simulated. It should be noted that a pipe has also been used to simulate different combinations of petroleum products. After simulating two by two combinations of four different oil products at different volume ratios, the received signals from the detector were processed. From each of the received signals, four time characteristics—variance, fourth order moment, skewness, and kurtosis—were extracted and defined as inputs of neural networks. Four RBF neural networks were designed to determine the amount of each oil product. The simultaneous operation of four neural networks allows the amount and type of product within the pipeline to be measured quickly. The maximum RMSE of designed networks is 0.68, which is a very low error value for predicting volume ratios. This low error has turned the system into an efficient system that can help the oil industry to control oil products crossing the pipeline. The use of this methodology to determine parameters, such as the type of flow regimes and volume percentages of multiphase flows, as well as the use of deep neural networks can be considered as future research topics. Due to being unable to turn off gamma sources, users who use these sources must wear protective clothing, which is a major limitation in this research.

Author Contributions

Formal analysis, A.K.A.; Funding acquisition, A.M.M.; Investigation, Z.A.K.; Methodology, A.M.M., A.A.A.-Q., H.H.A. and S.M.A.; Software, H.H.A., A.A.A.-Q. and A.M.M.; Supervision, J.W.G.G.; Visualization, E.E.-Z., J.W.G.G. and A.M.M.; Writing—original draft, S.M.A. and A.K.A. All authors have read and agreed to the published version of the manuscript.

Funding

This work was supported by the Deanship of Scientific Research at King Khalid University (Grant numbers RGP.1/243/42). The authors acknowledge support from the German Research Foundation and the Open Access Publication Fund of the Thueringer Universitaets-und Landesbibliothek Jena Projekt-Nr. 433052568; the BMBF-Projekt 05P21SJFA2 Verbundprojekt 05P2021 (ErUM-FSP T05).

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Not applicable.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. 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]
  2. Nazemi, E.; Feghhi, S.A.H.; Roshani, G.H.; Peyvandi, R.G.; Setayeshi, S. Precise Void Fraction Measurement in Two-phase Flows Independent of the Flow Regime Using Gamma-ray Attenuation. Nucl. Eng. Technol. 2016, 48, 64–71. [Google Scholar] [CrossRef] [Green Version]
  3. Roshani, G.; Nazemi, E.; Feghhi, S. Investigation of using 60 Co source and one detector for determining the flow regime and void fraction in gas–liquid two-phase flows. Flow Meas. Instrum. 2016, 50, 73–79. [Google Scholar] [CrossRef]
  4. Roshani, G.H.; Karami, A.; Nazemi, E.; Shama, F. Volume fraction determination of the annular three-phase flow of gas-oil-water using adaptive neuro-fuzzy inference system. Comput. Appl. Math. 2018, 37, 4321–4341. [Google Scholar] [CrossRef]
  5. Roshani, M.; Phan, G.; Roshani, G.H.; Hanus, R.; Nazemi, B.; Corniani, E.; Nazemi, E. Combination of X-ray tube and GMDH neural network as a nondestructive and potential technique for measuring characteristics of gas-oil–water three phase flows. Measurement 2021, 168, 108427. [Google Scholar] [CrossRef]
  6. Roshani, G.H.; Karami, A.; Nazemi, E. An intelligent integrated approach of Jaya optimization algorithm and neu-ro-fuzzy network to model the stratified three-phase flow of gas–oil–water. Comput. Appl. Math. 2019, 38, 5. [Google Scholar] [CrossRef]
  7. 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]
  8. 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]
  9. Roshani, M.; Sattari, M.A.; Ali PJ, 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]
  10. Alamoudi, M.; Sattari, M.; Balubaid, M.; Eftekhari-Zadeh, E.; Nazemi, E.; Taylan, O.; Kalmoun, E. 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]
  11. Roshani, M.; Phan, G.; Faraj, R.H.; Phan, N.H.; Roshani, G.H.; Nazemi, B.; Corniani, E.; Nazemi, E. Proposing a gamma radia-tion based intelligent system for simultaneous analyzing and detecting type and amount of petroleum by-products. Nucl. Eng. Technol. 2021, 53, 1277–1283. [Google Scholar] [CrossRef]
  12. Basahel, A.; Sattari, M.; 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]
  13. Taylan, O.; Sattari, M.A.; Essoussi, I.E.; 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]
  14. Roshani, G.H.; Ali, P.J.M.; Mohammed, S.; Hanus, R.; Abdulkareem, L.; Alanezi, A.A.; Sattari, M.A.; Amiri, S.; Nazemi, E.; Eftekhari-Zadeh, E.; et al. Simula-tion Study of Utilizing X-ray Tube in Monitoring Systems of Liquid Petroleum Products. Processes 2021, 9, 828. [Google Scholar] [CrossRef]
  15. 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]
  16. 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]
  17. Nazemi, E.; Roshani, G.H.; Feghhi, S.A.H.; 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]
  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. 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]
  20. Lalbakhsh, A.; Mohamadpour, G.; Roshani, S.; Ami, M.; Roshani, S.; Sayem, A.S.M.; Alibakhshikenari, M.; Koziel, S. Design of a Compact Planar Transmission Line for Miniaturized Rat-Race Coupler With Harmonics Suppression. IEEE Access 2021, 9, 129207–129217. [Google Scholar] [CrossRef]
  21. Roshani, S.; Roshani, S. A compact coupler design using meandered line compact microstrip resonant cell (MLCMRC) and bended lines. Wirel. Netw. 2021, 27, 677–684. [Google Scholar] [CrossRef]
  22. 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 capac-ity considerations. Phys. Commun. 2022, 50, 101492. [Google Scholar] [CrossRef]
  23. Hookari, M.; Roshani, S.; Roshani, S. High-efficiency balanced power amplifier using miniaturized harmonics suppressed coupler. Int. J. RF Microw. Comput.-Aided Eng. 2020, 30, e22252. [Google Scholar] [CrossRef]
  24. Mayet, A.; Hussain, A.; Hussain, M. Three-terminal nanoelectromechanical switch based on tungsten nitride, an amor-phous metallic material. Nanotechnology 2016, 27, 035202. [Google Scholar] [CrossRef]
  25. 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]
  26. 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]
  27. 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]
  28. Mayet, A.; Smith, C.E.; Hussain, M.M. Energy reversible switching from amorphous metal based nanoelectromechanical switch. In Proceedings of the Nanotechnology (IEEE-NANO), 2013 13th IEEE Conference, Beijing, China, 5–8 August 2013; pp. 366–369. [Google Scholar]
  29. Roshani, S.; Roshani, S. Two-section impedance transformer design and modeling for power amplifier applications. Appl. Comput. Electromagn. Soc. J. 2017, 32, 1042–1047. [Google Scholar]
  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. [Substanciação e seleção de um inibidor para evitar a formação de depósitos de asfalto-resina-parafina]. Period. Tche Quim. 2020, 17, 541–551. [Google Scholar]
  31. Jamshidi, M.B.; Roshani, S.; Talla, J.; Roshani, S.; Peroutka, Z. Size reduction and performance improvement of a microstrip Wil-kinson power divider using a hybrid design technique. Sci. Rep. 2021, 11, 7773. [Google Scholar] [CrossRef]
  32. Mayet, A.; Smith, C.; Hussain, M.M.; Smith, C. Amorphous metal based nanoelectromechanical switch. In Proceedings of the 2013 Saudi International Electronics, Communications and Photonics Conference, Riyadh, Saudi Arabia, 27–30 April 2013; pp. 1–5. [Google Scholar] [CrossRef]
  33. Hookari, M.; Roshani, S.; Roshani, S. Design of a low pass filter using rhombus-shaped resonators with an analytical LC equiv-alent circuit. Turk. J. Electr. Eng. Comput. Sci. 2020, 28, 865–874. [Google Scholar] [CrossRef]
  34. Khaibullina, K.S.; Korobov, G.Y.; Lekomtsev, A.V. Development of an asphalt-resin-paraffin deposits inhibitor and substantiation of the technological parameters of its injection into the bottom-hole formation zone. [Desenvolvimento de um inibidor de depósito de asfalto-resinaparafina e subscantiação dos parâmetros tecnológicos de sua injeção na zona de formação de furo inferior]. Period. Tche Quim. 2020, 17, 769–781. [Google Scholar]
  35. Pirasteh, A.; Roshani, S.; Roshani, S. Design of a miniaturized class F power amplifier using capacitor loaded transmission lines. Frequenz 2020, 74, 145–152. [Google Scholar] [CrossRef]
  36. 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]
  37. Roshani, S.; Dehghani, K.; Roshani, S. A lowpass filter design using curved and fountain shaped resonators. Frequenz 2019, 73, 267–272. [Google Scholar] [CrossRef]
  38. Khaibullina, K. Technology to Remove Asphaltene, Resin and Paraffin Deposits in Wells Using Organic Solvents. In Proceedings of the SPE Annual Technical Conference and Exhibition, Dubai, United Arab Emirates, 26–28 September 2016. [Google Scholar] [CrossRef]
  39. Roshani, S.; Roshani, S. Design of a compact LPF and a miniaturized Wilkinson power divider using aperiodic stubs with harmonic suppression for wireless applications. Wirel. Netw. 2020, 26, 1493–1501. [Google Scholar] [CrossRef]
  40. Alanazi, A.K.; Alizadeh, S.M.; Nurgalieva, K.S.; Guerrero, J.W.G.; Abo-Dief, H.M.; Eftekhari-Zadeh, E.; Nazemi, 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]
  41. Alanazi, A.K.; Alizadeh, S.M.; Nurgalieva, K.S.; Nesic, S.; Guerrero, J.W.G.; Abo-Dief, H.M.; Eftekhari-Zadeh, E.; Nazemi, E.; Narozhnyy, I.M. Application of Neural Network and Time-Domain Feature Extraction Techniques for Determining Volumetric Percentages and the Type of Two Phase Flow Regimes Independent of Scale Layer Thickness. Appl. Sci. 2022, 12, 1336. [Google Scholar] [CrossRef]
  42. Mayet, A.M.; Salama, A.S.; Alizadeh, S.M.; Nesic, S.; Guerrero, J.W.G.; Eftekhari-Zadeh, E.; Nazemi, E.; Iliyasu, A.M. Applying Data Mining and Artificial Intelligence Techniques for High Precision Measuring of the Two-Phase Flow’s Characteristics Independent of the Pipe’s Scale Layer. Electronics 2022, 11, 459. [Google Scholar] [CrossRef]
  43. Lalbakhsh, A.; Afzal, M.U.; Esselle, K.P.; Smith, S.L. Low-Cost Non-Uniform Metallic Lattice for Rectifying Aperture Near-Field of Electromagnetic Bandgap Resonator Antennas. IEEE Trans. Antennas Propag. 2020, 68, 3328–3335. [Google Scholar] [CrossRef]
  44. Paul, G.S.; Mandal, K.; Lalbakhsh, A. Single-layer ultra-wide stop-band frequency selective surface using interconnected square rings. AEU-Int. J. Electron. Commun. 2021, 132, 153630. [Google Scholar] [CrossRef]
  45. Lalbakhsh, A.; Afzal, M.U.; Esselle, K.P. Simulation-driven particle swarm optimization of spatial phase shifters. In Proceedings of the 18th IEEE international Conference on Electromagnetics in Advanced Applications (ICEAA), Cairns, Australia, 5–9 September 2016; pp. 428–430. [Google Scholar] [CrossRef]
  46. Lalbakhsh, A.; Lotfi-Neyestanak, A.A.; Naser-Moghaddasi, M. Microstrip Hairpin Bandpass Filter Using Modified Minkowski Fractal-for Suppression of Second Harmonic. IEICE Trans. Electron. 2012, E95-C, 378–381. [Google Scholar] [CrossRef]
  47. Hartman, E.J.; Keeler, J.D.; Kowalski, J.M. Layered neural networks with Gaussian hidden units as universal approximators. Neural Comput. 1990, 2, 210–215. [Google Scholar] [CrossRef]
  48. Yu, B.; He, X. Training radial basis function networks with differential evolution. In Proceedings of the IEEE International Conference on Granular Computing, Atlanta, GA, USA, 10–12 May 2006; pp. 369–372. [Google Scholar] [CrossRef] [Green Version]
  49. Çolak, A.B. An experimental study on the comparative analysis of the effect of the number of data on the error rates of artificial neural networks. Int. J. Energy Res. 2021, 45, 478–500. [Google Scholar] [CrossRef]
  50. Çolak, A.B.; Shafiq, A.; Sindhu, T.N. Modeling of Darcy–Forchheimer bioconvective Powell Eyring nanofluid with artificial neural network. Chin. J. Phys. 2022, 77, 2435–2453. [Google Scholar] [CrossRef]
  51. Shafiq, A.; Çolak, A.B.; Lone, S.A.; Sindhu, T.N.; Muhammad, T. Reliability modeling and analysis of mixture of exponential distributions using artificial neural net-work. Math. Methods Appl. Sci. 2022, 45, 1–21. [Google Scholar] [CrossRef]
  52. Hosseini, S.; Roshani, G.H.; Setayeshi, S. Precise gamma based two-phase flow meter using frequency feature extraction and only one detector. Flow Meas. Instrum. 2020, 72, 101693. [Google Scholar] [CrossRef]
  53. Roshani, M.; Ali, P.J.; Roshani, G.H.; Nazemi, B.; Corniani, E.; Phan, N.H.; Tran, H.N.; Nazemi, E. X-ray tube with artificial neural net-work model as a promising alternative for radioisotope source in radiation based two phase flowmeters. Appl. Radia-Tion Isot. 2020, 164, 109255. [Google Scholar] [CrossRef]
  54. Peyvandi, R.G.; Rad, S.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]
  55. Roshani Gholam, H.; Ehsan, N.; Farzin, S.; Imani Mohammad, A.; Salar, M. 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]
  56. Roshani, G.H.; Nazemi, E.; Feghhi, S.A.H.; 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]
Figure 1. Simulated structure and sample signal recorded by the detector.
Figure 1. Simulated structure and sample signal recorded by the detector.
Polymers 14 02852 g001
Figure 2. (a) The structure of the ethylene glycol volume ratio predictor network, (b) network performance against training, and (c) testing data.
Figure 2. (a) The structure of the ethylene glycol volume ratio predictor network, (b) network performance against training, and (c) testing data.
Polymers 14 02852 g002
Figure 3. (a) The structure of the gasoil volume ratio predictor network, (b) network performance against training, and (c) testing data.
Figure 3. (a) The structure of the gasoil volume ratio predictor network, (b) network performance against training, and (c) testing data.
Polymers 14 02852 g003
Figure 4. (a) The structure of the crude oil volume ratio predictor network, (b) network performance against training, and (c) testing data.
Figure 4. (a) The structure of the crude oil volume ratio predictor network, (b) network performance against training, and (c) testing data.
Polymers 14 02852 g004
Figure 5. (a) The structure of the gasoline volume ratio predictor network, (b) network performance against training, and (c) testing data.
Figure 5. (a) The structure of the gasoline volume ratio predictor network, (b) network performance against training, and (c) testing data.
Polymers 14 02852 g005
Figure 6. The general process of determining the type and amount of petroleum products.
Figure 6. The general process of determining the type and amount of petroleum products.
Polymers 14 02852 g006
Table 1. Specifications of designed networks.
Table 1. Specifications of designed networks.
Output Ethylene GlycolGasoilCrude OilGasoline
Goal of MSE0000
RBF spread3122
Number of neurons in hidden layer26352430
Calculated MSETrain dataTest dataTrain dataTest dataTrain dataTest dataTrain dataTest data
0.420.390.290.370.440.300.110.46
Calculated RMSE0.650.620.530.600.670.550.330.68
Table 2. Comparison of target values with neural network outputs.
Table 2. Comparison of target values with neural network outputs.
Ethylene GlycolGasoilCrude OilGasoline
TrainTestTrainTestTrainTestTrainTest
TargetOutputTargetOutputTargetOutputTargetOutputTargetOutputTargetOutputTargetOutputTargetOutput
0−0.07995555.76648585.000000.289400.02220−0.89370−1.18693030.9895
00.54519089.654500.000255.33424545.00028080.08451515.00002525.8423
5050.447400.81078079.999800.97267070.00030−0.418900.00161010.8828
0−0.45495554.79510−0.046100.922900.00123535.75938584.99990−0.5858
0−0.171700.295100.00026060.66480−0.000100.296400.00016060.9125
1515.05894544.39243030.00007069.16654545.00136060.550000.004500.2852
00.076301.04960−0.000100.94140−0.00016565.61130−0.00042525.8621
8585.381001.05212020.00000−0.02331010.59473030.322200.00019090.6989
3535.443500.26384545.000000.015000.001100.970655.253900.4766
0−1.03541010.63883535.000000.51050−0.03821515.502200.006900.8508
00.34987071.18971515.00259090.29236059.99900−0.06340−0.00009090.6827
100100.02100.99439595.00008585.30377070.000700.34611514.99223030.1708
00.90456060.27954545.00004040.58520−0.22894040.22423534.99992020.4114
9595.65456060.13880−0.000000.83485049.999400.040000.007754.3704
2020.24040−0.80260−0.24265555.94110−0.383200.24887575.00013030.0776
7575.357600.045100.00005050.82000−0.24983535.25153535.06500−1.0564
2020.552900.31462020.08231010.68998080.000000.09300−0.002800.7847
5555.54120−0.634600.00003535.33758080.00002020.760800.00048080.5792
8080.29903535.77166565.00000−0.83440−0.000000.7931109.146300.2380
6565.52955050.67799595.000000.556000.000100.90050−0.000000.9723
00.763800.443500.029200.130554.99979595.244300.00046060.8552
0−0.89240−0.42372526.42950−0.39930−0.20986565.40680−0.00069595.4927
00.62320−0.845500.000000.19890−0.10531515.13296564.99986565.8907
2524.888855.38460−0.003700.60410−2.05281010.30234039.99882020.6045
2525.10760−0.740101.093200.43319090.000000.36700−0.08864040.2360
6564.795100.57633029.75980−0.19179595.00005555.92506059.999900.2360
0−0.626800.38525555.00117575.061600.00121515.15200−0.650500.3405
00.049000.679800.00000−0.294800.00244545.644400.00592020.7590
0−0.622900.422000.00000−0.861700.53373030.57810−0.000500.9098
00.35769089.66239090.00004545.98910−0.00719090.92449595.00004040.7515
4039.43570−0.113100.00198080.09832019.959800.66583535.00008585.8415
1010.185755.11517575.000001.00053535.002200.63387575.00000−0.8019
00.49829595.55500−0.581300.560456.073800.916500.049500.2068
8584.75212525.838000.01969090.57838584.99992525.154000.00060−0.6944
5049.388800.6127100100.0000−0.21378585.000100.22354545.00039595.0399
7575.5998--00.6066--4040.0326--0−0.0001--
4040.3048--00.0000--7575.0001--0−0.0064--
0−0.2791--00.2134--0−0.2452--00.0021--
1515.2345--54.4292--0−0.0000--109.9998--
00.0998--00.4372--0−0.0046--6565.0000--
0−0.0330--3029.8013--7069.9999--8079.9997--
0−0.0174--1011.7721--0−1.2382--7070.0000--
0−0.7205--5050.0000--5050.0001--00.6206--
2019.7326--6060.0000--3029.9999--1514.7291--
6059.4201--0−0.0388--5050.0023--0−0.0000--
0−0.0077--0−0.0017--0−0.3565--0−0.7858--
0−0.2518--01.0294--00.0142--0−0.4207--
1514.8732--8080.0000--6565.0003--5555.0000--
0−0.9549--55.8091--0−0.0003--0−0.0084--
3029.6232--9595.0000--02.7451--0−0.0025--
7574.9045--5049.9970--0−0.0040--5049.9994--
00.9123--1515.0002--7575.0004--8585.0000--
3029.7462--0−0.0003--0−0.4358--0−0.0002--
3030.1388--6564.9998--00.5822--5050.0000--
8080.0138--2526.5605--9595.0000--0−0.0035--
9594.5685--00.8941--5555.0000--0−0.0004--
4545.5548--00.0009--00.0002--0−0.0000--
0−0.4510--00.0000--2525.2575--00.5518--
00.0060--00.6777--8585.0000--8080.0000--
00.8263--109.9997--4039.9999--0−0.0211--
3534.8439--0−0.3033--00.0013--9090.0000--
7070.2326--7575.0000--7575.0000--00.0001--
1010.0451--3535.2954--0−0.0009--00.0280--
0−1.0487--4040.0000--0−0.0009--00.0000--
00.5138--5555.0000--00.5212--00.2641--
0−0.1034--0−1.9185--0−0.1818--100100.0000--
0−0.0799--4039.7019--2524.9999--5050.0002--
9089.8810--00.0017--54.9890--7070.0000--
4545.0490--00.0000--00.0021--4545.0004--
8585.1076--6059.9987--100100.0000--00.0012--
6565.2951--0−0.0000--6059.9999--2524.9994--
55.6701--00.0000--9089.9995--0−0.3680--
0−0.3612--2018.2032--0−1.3001--55.0004--
00.0724--7070.0000--00.1209--5555.0008--
00.2326--8585.0000--00.0029--0−0.0036--
0−4.2127--0−0.0000--109.9997--02.0414--
7069.6701--6565.0000--5555.0000--00.7757--
00.6545--7070.0000--0−0.0000--4545.0000--
0−0.2674--01.3162--2017.2149--7575.0002--
8080.0920--1513.6166--00.0003--5555.0004--
01.0060--00.0000--03.3660--0−0.0002--
00.2482--2525.0000--0−0.0013--00.0022--
4039.9279--00.3553--0−0.0004--7070.0000--
Table 3. A comparison of the error of the proposed detection system and previous studies.
Table 3. A comparison of the error of the proposed detection system and previous studies.
Refs.Extracted FeaturesType of Neural NetworkMaximum MSEMaximum RMSE
[7]Time-domainGMDH1.241.11
[8]Time-domainMLP0.210.46
[9]Lack of feature extractionGMDH7.342.71
[54]Frequency-domainMLP0.670.82
[55]Lack of feature extractionMLP17.054.13
[56]Lack of feature extractionMLP2.561.6
[current study]Frequency-domainRBF0.460.68
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Mayet, A.M.; Alizadeh, S.M.; Kakarash, Z.A.; Al-Qahtani, A.A.; Alanazi, A.K.; Grimaldo Guerrero, J.W.; Alhashimi, H.H.; Eftekhari-Zadeh, E. Increasing the Efficiency of a Control System for Detecting the Type and Amount of Oil Product Passing through Pipelines Based on Gamma-Ray Attenuation, Time Domain Feature Extraction, and Artificial Neural Networks. Polymers 2022, 14, 2852. https://doi.org/10.3390/polym14142852

AMA Style

Mayet AM, Alizadeh SM, Kakarash ZA, Al-Qahtani AA, Alanazi AK, Grimaldo Guerrero JW, Alhashimi HH, Eftekhari-Zadeh E. Increasing the Efficiency of a Control System for Detecting the Type and Amount of Oil Product Passing through Pipelines Based on Gamma-Ray Attenuation, Time Domain Feature Extraction, and Artificial Neural Networks. Polymers. 2022; 14(14):2852. https://doi.org/10.3390/polym14142852

Chicago/Turabian Style

Mayet, Abdulilah Mohammad, Seyed Mehdi Alizadeh, Zana Azeez Kakarash, Ali Awadh Al-Qahtani, Abdullah K. Alanazi, John William Grimaldo Guerrero, Hala H. Alhashimi, and Ehsan Eftekhari-Zadeh. 2022. "Increasing the Efficiency of a Control System for Detecting the Type and Amount of Oil Product Passing through Pipelines Based on Gamma-Ray Attenuation, Time Domain Feature Extraction, and Artificial Neural Networks" Polymers 14, no. 14: 2852. https://doi.org/10.3390/polym14142852

APA Style

Mayet, A. M., Alizadeh, S. M., Kakarash, Z. A., Al-Qahtani, A. A., Alanazi, A. K., Grimaldo Guerrero, J. W., Alhashimi, H. H., & Eftekhari-Zadeh, E. (2022). Increasing the Efficiency of a Control System for Detecting the Type and Amount of Oil Product Passing through Pipelines Based on Gamma-Ray Attenuation, Time Domain Feature Extraction, and Artificial Neural Networks. Polymers, 14(14), 2852. https://doi.org/10.3390/polym14142852

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