Next Article in Journal
Combining a Population-Based Approach with Multiple Linear Models for Continuous and Discrete Optimization Problems
Next Article in Special Issue
Deep Learning for Vessel Trajectory Prediction Using Clustered AIS Data
Previous Article in Journal
Stochastic Modelling of Lassa Fever Epidemic Disease
Previous Article in Special Issue
Mitigating the Multicollinearity Problem and Its Machine Learning Approach: A Review
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Proposing a High-Precision Petroleum Pipeline Monitoring System for Identifying the Type and Amount of Oil Products Using Extraction of Frequency Characteristics and a MLP Neural Network

by
Abdulilah Mohammad Mayet
1,
Karina Shamilyevna Nurgalieva
2,
Ali Awadh Al-Qahtani
1,
Igor M. Narozhnyy
3,
Hala H. Alhashim
4,
Ehsan Nazemi
5,* and
Ilya M. Indrupskiy
6
1
Electrical Engineering Department, King Khalid University, Abha 61411, Saudi Arabia
2
Department of Development and Operation of Oil and Gas Fields, Saint-Petersburg Mining University, 199106 Saint-Petersburg, Russia
3
Department of Commercialization of Intellectual Activity Resultse Center for Technology Transfer of RUDN University, Mining Oil and Gas Department, RUDN University, 117198 Moscow, Russia
4
Department of Physics, College of Science, Imam Abdulrahman Bin Faisal University, P.O. Box 1982, Dammam 31441, Saudi Arabia
5
Imec-Vision Laboratory, Department of Physics, University of Antwerp, 2610 Antwerp, Belgium
6
Mining Oil and Gas Department, RUDN University, 117198 Moscow, Russia
*
Author to whom correspondence should be addressed.
Mathematics 2022, 10(16), 2916; https://doi.org/10.3390/math10162916
Submission received: 21 June 2022 / Revised: 29 July 2022 / Accepted: 12 August 2022 / Published: 13 August 2022
(This article belongs to the Special Issue Advances in Machine Learning, Optimization, and Control Applications)

Abstract

:
Setting up pipelines in the oil industry is very costly and time consuming. For this reason, a pipe is usually used to transport various petroleum products, so it is very important to use an accurate and reliable control system to determine the type and amount of oil product. In this research, using a system based on the gamma-ray attenuation technique and the feature extraction technique in the frequency domain combined with a Multilayer Perceptron (MLP) neural network, an attempt has been made to determine the type and amount of four petroleum products. The implemented system consists of a dual-energy gamma source, a test pipe to simulate petroleum products, and a sodium iodide detector. The signals received from the detector were transmitted to the frequency domain, and the amplitudes of the first to fourth dominant frequency were extracted from them. These characteristics were given to an MLP neural network as input. The designed neural network has four outputs, which is the percentage of the volume ratio of each product. The proposed system has the ability to predict the volume ratio of products with a maximum root mean square error (RMSE) of 0.69, which is a strong reason for the use of this system in the oil industry.

1. Introduction

When different products pass through the petroleum pipeline, these products are mixed in a cross-section, which makes it difficult to recognize the type and quantity of products passing through the pipeline. Therefore, implementing a non-invasive control system to determine the type and amount of product passing through the pipe is very important. Several studies have been done to introduce non-invasive X-ray tube-based systems to determine the parameters of two-phase [1] and three-phase flows [2]. In [1], the researchers defined five time characteristics as suitable features as input of the MLP neural network for determining the type of flow regime and volumetric percentages. They stated that all flow regimes were correctly detectable, and volume percentages were predictable with a MAPE of less than 1.16, which was due to the extraction of appropriate characteristics from the received signal. Three RBF neural networks were trained in research [2], to recognize the type of flow regimes of a three-phase flow. The inputs of these networks were frequency characteristics named the first and second dominant frequencies of the recorded signals of both detectors. The use of X-ray tubes is not limited to this, and the researchers, following the design of a control system, introduced a structure consisting of an X-ray tube, a test pipe, and a sodium iodide detector to determine the type and amount of products passing through the pipeline [3]. Due to not using feature extraction techniques, not only was a high computational load applied to the neural network, but also the introduced system was not very accurate. Following the development of the previous work [3], Balubaid et al. [4] implemented a structure similar to that in [3], but they divided the received signal into five parts of approximation and detail using wavelet transform, and approximation of the fifth stage and the details of the first to fifth stages were introduced as appropriate characteristics. In line with these researches, a research was conducted to select appropriate characteristics [5]. In this study, different time characteristics of the received signal were extracted, the most efficient of which was determined by calculating the correlation parameter between the characteristics so that the characteristics with the lowest amount of correlation were introduced as neural network input. Although the two-phase and three-phase flow parameters were detectable in the mentioned systems, in all of them, gamma-based systems are referred to as the gold standard systems. Several researches have been done to determine parameters such as the type of flow regimes and the volume percentage in two-phase [6,7,8] and three-phase flows [9,10,11]. In these researches, feature extraction techniques have not been used, but the operation of different neural networks such as MLP, RBF, adaptive neuro-fuzzy inference system, and GMDH neural network has been studied. In [12], the authors examined several time characteristics and, using an innovative method, introduced the most appropriate characteristics for determining the type of flow regimes and volumetric percentages of two-phase flows using the MLP neural network. Sattari et al. [13] used the GMDH neural network, which is a self-organized network, to select the appropriate characteristic automatically. Finally, they can classify all flow regimes correctly and predict volume percentages with a maximum RMSE of 1.11. Roshani et al. [14] applied characteristics such as count under Compton continuum and under photopeak to determine volume percentages. Using GMDH neural network, they were able to determine the volume percentage with an RMSE of less than 2.71. The deposition scale layer inside the pipe is undeniable over time that can have a significant impact on the oil industry equipment. Therefore, in [15], the researchers try to obtain the scale thickness how a two-phase flow passes through the pipe in different volume percentages and three flow regimes of annular, homogeneous, and stratified. They considered the characteristics of counts under photopeak of Ba-133 and Cs-137 as the input of the RBF neural network, and the output of the network was the thickness of scale in the pipe in millimeters. A gamma-ray attenuation-based control system was implemented in study [16]. In this study, a dual-energy source and a detector were used to determine the type and amount of product passing through the pipe. The weakness of this study was the lack of feature extraction techniques that imposed a high computational load on the network and reduced the accuracy of the proposed system. Non-iterative SGTM neural-like structure can also be useful in determining the parameters of oil industry detection systems [17,18]. In [19], a research has been done on the determination of volume ratio. In the mentioned researches, due to the lack of extraction of effective characteristics, not only relatively high accuracy has not been achieved, but also researchers have been forced to use more detectors, which increases the cost and complexity of the detection system. In the current research, using the frequency characteristics of the received signals, despite the increase in accuracy in the presented system, only one detector has been used, which has reduced the complexity of the detection system and reduced the design cost. The contributions of the current research are as follows:
  • Examining the received signals in the frequency domain and extracting appropriate characteristics.
  • The use of a detector in the structure of the control system.
  • The use of only one neural network to determine volume rates, which is due to the extraction of appropriate characteristics. This is despite the fact that in previous researches, researchers implemented separate neural networks according to the number of output parameters, which increases the cost of calculations.
  • Increasing accuracy in determining volume rates.
The current paper is structured as follows. In the second section, the simulated structure is explained in detail. Then, the received signals are transferred to the frequency domain using the Fast Fourier transform, and the frequency characteristics are extracted from them. In the next section, the obtained characteristics are used as inputs of the MLP neural network and volume ratio are predicted. In Section 5, the results of this research are stated and the conclusion is presented in the last section.

2. Simulation Setup

Ethylene glycol, crude oil, gasoline, and gasoil have been studied in this study as by-products. The density of these products is 1.114, 0.975, 0.721, and 0.826 g/cm3, respectively. In this research, a test pipe is considered with an external diameter of 10 cm and a thickness of 0.25 cm. The detection system consists of a dual-energy gamma source, consisting of americium-241 and barium-133, and a sodium iodide (NaI) detector located on either side of the test pipe. The distance between the source and the detector is 30 cm. The simulated structure is shown in Figure 1. This simulation is done with version X of Monte Carlo N Particle code (MCNP-X). First, one product is placed inside the pipe in a single phase, and then the next product is loaded into the pipe. The two products overlap in a cross-section, and over time the amount of the first product decreases, and the second product increases. In this simulation, all possible modes for combining two by two petroleum by-products in volume percentages of 5% to 95% with steps of 5% are implemented. A total of 118 simulations, including 6 different modes × 19 different volume percentages + 4 single-phase modes, are carried out. The received signals can be seen for several different modes in Figure 2. The simulated structure and sample of the signal received by the detector are shown in Figure 1. The reproduction aftereffects of this study have been approved by past examinations [6].
According to the Beer–Lambert law, the attenuation rate of a narrow gamma-ray beam is as follows
I = I 0 e μ ρ x
where I is the intensity of un-collided and primary photons is represented by I0. The mass attenuation coefficient and density of absorber material are shown by µ and ρ, respectively. x is the beam path length through the absorber. Equation (1) states that gamma rays have different attenuation rates when they hit different objects. This difference in the attenuation rate can be a very important factor to determine the type and amount in many detection systems.

3. Frequency Feature Extraction

The signals received from the detector are large and require to feature extraction for better interpretation to prepare for neural network training. There are several methods for extracting signal characteristics, including extraction of time, frequency, and time-frequency characteristics. In this study, the frequency characteristics of the received signals are investigated. For this purpose, to transmit the signal from the time domain to the frequency, the Fast Fourier Transform (FFT) is used according to the following Equation (2).
Y ( k ) = J = 1 n × ( J ) w n ( y 1 ) ( k 1 )
where Y(k) = FFT(X) and w n = e ( 2 π i ) n is one of the n roots of unity.
From the frequency domain signals, the amplitude of the first to the fourth dominant frequency were extracted and introduced as neural network inputs. The extracted features have been introduced as very useful features in previous researches [20,21,22], so the mentioned characteristics have been used in order to increase the accuracy of the volumetric rate detection system. The frequency domain signal and the extracted characteristics are shown in Figure 3.

4. The Multilayer Perceptron Neural Network

The human brain has millions of computing units called neurons. All these neurons are connected with each other. Neurons have branches called dendrites that receive information from other neurons. The nucleus is the processing unit of the neuron, which after processing the received information, transmits the output information to other neurons through the output cable called the axon. All these processes happen in the physiological and biochemical fields. Researchers have proposed several methods to model this function in mathematics, one of the most common of which is the MLP neural network. The structure of this network has an input layer and an output layer. There can be different number of hidden layers between these two layers. In the hidden layers, a series of mathematical processes are performed, which are introduced as the activation function. The number of these layers, the number of neurons in the hidden layers, and the type of activation function depend on the nature and degree of non-linearity of the available data. In the implementation of neurons mathematically, the output of neurons is as follows [23,24].
n l = i = 1 u x i w ij + b             j = 1 , 2 , , m
u j = f ( i = 1 u x i w ij + b   )             j = 1 , 2 , , m
output = n = 1 j ( u n w n ) + b
In which x presents the input parameters; the bias term, the weighting factor, and the activation function are shown with b, w, and f, respectively. The index i is the input number, and j is the neuron number in every hidden layer. In recent years, different mathematical approaches have been used for analyzing data in plenty of engineering fields [25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48], but it has been proved that Artificial Neural network (ANN) is the most powerful tool for estimation and classification. For the implementation of neural networks, the collected data are usually divided into three categories: training data, validation data, and test data. Training data usually contain 70% of the data. The neural network is designed based on this data, and the network fits on these data. A total of 15% of the data are allocated to validation data. These data are used for testing during training. Although the neural network is not trained with this data, it is essential to prevent over-fitting and under-fitting problems. The rest of the data fall into the category of test data. After completing the network design steps, these data are given to the neural network input to check the network performance against data that have not been seen before. Proper network performance against these three datasets guarantees network performance in operating conditions. To extract the mentioned characteristics and train the MLP neural network, MATLAB software was applied. Although there are many toolboxes for neural network training in this software, no pre-designed toolbox was used in this research and all steps of neural network implementation are programmed for more freedom of action. In the implementation stages, the ‘newff’ function was used for training the MLP neural network. In order to prevent over-fitting and under-fitting of the neural network and to ensure the proper functioning of the designed neural network, the available data are divided into three sub-data. The first sub-data are the training data, which includes the majority of the data. These data are used to train the neural network. The network is fitted using these data. The second sub-data are the validation data used for testing during training. The correct response of the neural network to this dataset shows the correct training process. After the implementation of the neural network, the designed network is evaluated against the test sub-data. The neural network has not seen these data and is not trained with them, and it is only used to check the performance of the neural network. The accurate response of the neural network to these three datasets guarantees the proper functioning of the neural network in operational conditions and the absence of over-fitting and under-fitting problems.

5. Result and Discussion

An MLP neural network with four inputs and four outputs was designed that the inputs of this network are the characteristics of the amplitude of the first to fourth dominant frequency. Of the 118 available data, 82 were allocated to training data, 18 to validation data, and 18 to test data. The outputs of this network include the percentage of volume ratio of each of the petroleum by-products. It is important to say that neural networks with the different of number layers and different neurons in each layer have been implemented and tested, and a the best structure is shown in Figure 4. The target outputs can be predicted with fewer layers, but their accuracy is not high, and since the aim of this research is to increase the accuracy in determining volume ratio, a structure that has the least error has been presented. Regression and error diagrams have been used to show the performance of this network. The high compatibility of the stars and line indicates the high accuracy of the designed network. The amount of error between the network output data and the desired output data can be seen in the error diagram. The performance of the network for determining the volume percentage of ethylene glycol, crude oil, gasoline, and gasoil are shown in Figure 5, Figure 6, Figure 7 and Figure 8, respectively. To calculate the amount of network error, two criteria, mean square error (MSE) and root mean square error (RMSE), have been computed with Equations (5) and (6). The accuracy of the network and the structure of the designed network are shown in Table 1.
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
Appropriate inputs in this study have been obtained by extracting frequency features. The use of these features, in addition to increasing the accuracy of the proposed system, reduces the volume of calculations. Using only one neural network with four outputs, the volume percentages of each product could be predicted with high accuracy, while more neural networks were needed in previous studies [1,2,3,4,5] to determine the volume percentage of each product used. The target outputs and the outputs in the designed neural network are shown in Table 2. The accuracy of the introduced detection system is compared with the previous research in Table 3. The general process of the current research is shown in Figure 9. According to this figure, the detection process is that first, four petroleum products were simulated two by two with each other in different volume percentages in a test pipe. A dual-energy gamma source and a NaI detector were placed on both sides of this pipe, and data related to each simulation were collected and labeled. Then, using FFT, the received signals were transferred to the frequency domain and the frequency characteristics were extracted from them. Finally, the extracted characteristics were used to train a neural network, which its output was the volume rate of petroleum products.

6. Conclusions

Implementing an oil pipeline control system is very important to determine the amount and type of product in the pipeline. The proposed control system consists of a dual-energy source of gamma and one detector located on either side of a pipe. There are four petroleum products called ethylene glycol, crude oil, gasoil, and gasoline inside the pipe, which were examined in different volume ratios. Investigating the frequency characteristics of the received signals by the detector were on the agenda. The characteristics of the amplitude of the first to fourth dominant frequency were extracted from the signal and defined as the input of the artificial neural network. The designed MLP network has four outputs, each of which is related to the volume ratio of each product. By obtaining all four outputs, the amount and type of product passing through the pipeline can be obtained. The maximum RMSE of the designed neural network to determine the volume ratio was 0.67, which is a very small value, compared to the detection systems of previous researches. The major limitation of this research is working with radioisotope devices, which requires the use of protective clothing. The high accuracy obtained from this research is due to the extraction of appropriate characteristics from the received signals, which can be investigated in future researches as inputs of different type of neural networks. In addition, the use of deep neural networks to achieve higher accuracy is strongly recommended to researchers in this field.

Author Contributions

Formal analysis, I.M.N. and I.M.I.; Funding acquisition, A.M.M.; Methodology, A.M.M., A.A.A.-Q., H.H.A. and K.S.N.; Software, H.H.A., A.A.A.-Q. and A.M.M.; Supervision, I.M.N.; Visualization, E.N., I.M.N. and I.M.I. 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). This article was written with the support of grant No. MK-4464.2022.1.5. This paper has been supported by the RUDN University Strategic Academic Leadership Program.

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. 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]
  2. 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]
  3. 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. Simulation Study of Utilizing X-ray Tube in Monitoring Systems of Liquid Petroleum Products. Processes 2021, 9, 828. [Google Scholar] [CrossRef]
  4. 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]
  5. 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]
  6. 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. Hydrog. Energy 2016, 41, 7438–7444. [Google Scholar] [CrossRef]
  7. 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]
  8. Hanus, R.; Zych, M.; Petryka, L.; Świsulski, D.; Strzępowicz, A. Application of ANN and PCA to two-phase flow evaluation using radioisotopes. EPJ Web Conf. 2017, 143, 02033. [Google Scholar] [CrossRef]
  9. Salgado, C.M.; Brandão, L.E.; Schirru, R.; Pereira, C.M.; da Silva, A.X.; Ramos, R. Prediction of volume fractions in three-phase flows using nuclear technique and artificial neural network. Appl. Radiat. Isot. 2009, 67, 1812–1818. [Google Scholar] [CrossRef] [PubMed]
  10. Salgado, C.M.; Pereira, C.M.; Schirru, R.; Brandão, L.E. Flow regime identification and volume fraction prediction in multiphase flows by means of gamma-ray attenuation and artificial neural networks. Prog. Nucl. Energy 2010, 52, 555–562. [Google Scholar] [CrossRef]
  11. Salgado, W.; Dam, R.; Salgado, C. Optimization of a flow regime identification system and prediction of volume fractions in three-phase systems using gamma-rays and artificial neural network. Appl. Radiat. Isot. 2021, 169, 109552. [Google Scholar] [CrossRef] [PubMed]
  12. 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]
  13. 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]
  14. 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]
  15. 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]
  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. Nucl. Eng. Technol. 2020, 53, 1277–1283. [Google Scholar] [CrossRef]
  17. Tkachenko, R.; Izonin, I.; Tkachenko, P. Neuro-Fuzzy Diagnostics Systems Based on SGTM Neural-Like Structure and T-Controller. In International Scientific Conference “Intellectual Systems of Decision Making and Problem of Computational Intelligence”; Springer: Cham, Switzerland, 2019; pp. 685–695. [Google Scholar]
  18. Izonin, I.; Tkachenko, R.; Kryvinska, N.; Tkachenko, P. Multiple linear regression based on coefficients identification using non-iterative SGTM neural-like structure. In Proceedings of the International Work-Conference on Artificial Neural Networks, Gran Canaria, Spain, 12–14 June 2019; Springer: Cham, Switzerland; pp. 467–479. [Google Scholar]
  19. Mayet, A.M.; Alizadeh, S.M.; Kakarash, Z.A.; Al-Qahtani, A.A.; Alanazi, A.K.; Guerrero, J.W.G.; 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. [Google Scholar] [CrossRef]
  20. Nussbaumer, H.J. The fast Fourier transform. In Fast Fourier Transform and Convolution Algorithms; Springer: Berlin, Germany, 1981; pp. 80–111. [Google Scholar]
  21. 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]
  22. 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. [Google Scholar] [CrossRef]
  23. Taylor, J.G. Neural Networks and Their Applications; John Wiley & Sons Ltd.: Brighton, UK, 1996. [Google Scholar]
  24. Gallant, A.R.; White, H. On learning the derivatives of an unknown mapping with multilayer feedforward networks. Neural Netw. 1992, 5, 129–138. [Google Scholar] [CrossRef]
  25. Hosseini, S.; Roshani, G.; 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]
  26. 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]
  27. 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]
  28. 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]
  29. 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]
  30. 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. 2021, 50, 101492. [Google Scholar] [CrossRef]
  31. 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]
  32. Mayet, A.M.; Hussain, A.M.; Hussain, M.M. Three-terminal nanoelectromechanical switch based on tungsten nitride, an amorphous metallic material. Nanotechnology 2016, 27, 035202. [Google Scholar] [CrossRef]
  33. 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]
  34. 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]
  35. 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]
  36. Mayet, A.; Smith, C.E.; Hussain, M.M. Energy reversible switching from amorphous metal based nanoelectromechanical switch. In Proceedings of the 2013 13th IEEE International Conference on Nanotechnology (IEEE-NANO 2013), Beijing, China, 5–8 August 2013; pp. 366–369. [Google Scholar]
  37. Roshani, S.; Roshani, S. Two-section impedance transformer design and modeling for power amplifier applications. Appl. Comput. Electromagn. Soc. J. (ACES) 2017, 32, 1042–1047. [Google Scholar]
  38. Jamshidi, M.B.; Roshani, S.; Talla, J.; Roshani, S.; Peroutka, Z. Size reduction and performance improvement of a microstrip Wilkinson power divider using a hybrid design technique. Sci. Rep. 2021, 11, 7773. [Google Scholar] [CrossRef] [PubMed]
  39. 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]
  40. Hookari, M.; Roshani, S.; Roshani, S. Design of a low pass filter using rhombus-shaped resonators with an analytical LC equivalent circuit. Turk. J. Electr. Eng. Comput. Sci. 2020, 28, 865–874. [Google Scholar] [CrossRef]
  41. 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]
  42. Roshani, S.; Dehghani, K.; Roshani, S. A lowpass filter design using curved and fountain shaped resonators. Frequenz 2019, 73, 267–272. [Google Scholar] [CrossRef]
  43. 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]
  44. 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]
  45. 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]
  46. Mohamadinia, A.; Shama, F.; Sattari, M.A. Miniaturized bandpass filter using coupled lines for wireless applications. Frequenz 2021, 75, 301–308. [Google Scholar] [CrossRef]
  47. Jedkare, E.; Shama, F.; Sattari, M.A. Compact Wilkinson power divider with multi-harmonics suppression. AEU Int. J. Electron. Commun. 2020, 127, 153436. [Google Scholar] [CrossRef]
  48. Tabatabaee, A.H.; Shama, F.; Sattari, M.A.; Veysifard, S. A miniaturized Wilkinson power divider with 12th harmonics suppression. J. Electromagn. Waves Appl. 2020, 35, 371–388. [Google Scholar] [CrossRef]
Figure 1. Simulation structure.
Figure 1. Simulation structure.
Mathematics 10 02916 g001
Figure 2. Recorded spectrum by the detector.
Figure 2. Recorded spectrum by the detector.
Mathematics 10 02916 g002
Figure 3. Frequency domain signal and extracted characteristics.
Figure 3. Frequency domain signal and extracted characteristics.
Mathematics 10 02916 g003
Figure 4. Implemented MLP neural network.
Figure 4. Implemented MLP neural network.
Mathematics 10 02916 g004
Figure 5. Network performance for predicting the volume rate of ethylene glycol (a) Training, (b) validation, and (c) testing dataset.
Figure 5. Network performance for predicting the volume rate of ethylene glycol (a) Training, (b) validation, and (c) testing dataset.
Mathematics 10 02916 g005aMathematics 10 02916 g005b
Figure 6. Network performance for predicting the volume rate of crude oil: (a) training, (b) validation, and (c) testing dataset.
Figure 6. Network performance for predicting the volume rate of crude oil: (a) training, (b) validation, and (c) testing dataset.
Mathematics 10 02916 g006aMathematics 10 02916 g006b
Figure 7. Network performance for predicting the volume rate of gasoline: (a) training, (b) validation, and (c) testing dataset.
Figure 7. Network performance for predicting the volume rate of gasoline: (a) training, (b) validation, and (c) testing dataset.
Mathematics 10 02916 g007aMathematics 10 02916 g007b
Figure 8. Network performance for predicting the volume rate of gasoil: (a) training, (b) validation, and (c) testing dataset.
Figure 8. Network performance for predicting the volume rate of gasoil: (a) training, (b) validation, and (c) testing dataset.
Mathematics 10 02916 g008aMathematics 10 02916 g008b
Figure 9. The general process of the research to determine the volumetric ratio of petroleum products.
Figure 9. The general process of the research to determine the volumetric ratio of petroleum products.
Mathematics 10 02916 g009
Table 1. The characteristics of designed networks.
Table 1. The characteristics of designed networks.
ANNMLP
No. of neurons in the input layer4
No. of neurons in the 1st hidden layer25
No. of neurons in the 2nd hidden layer20
No. of neurons in the 3rd hidden layer10
No. of neurons in the output layer4
No. of epoch850
Hidden neuron activation functionTansig
MSE of predicting ethylene glycolTraining dataValidation dataTest data
0.340.280.26
RMSE of predicting ethylene glycol0.580.530.51
MSE of predicting crude oil0.250.450.34
RMSE of predicting crude oil0.500.670.58
MSE of predicting gasoline0.300.280.45
RMSE of predicting gasoline0.550.520.67
MSE of predicting gasoil0.410.300.26
RMSE of predicting gasoil0.660.550.51
Table 2. Comparison of target values with neural network outputs.
Table 2. Comparison of target values with neural network outputs.
Ethylene GlycolCrude OilGasolineGasoil
TrainValidationTrainValidationTrainValidationTrainValidation
TargetOutputTargetOutputTargetOutputTargetOutputTargetOutputTargetOutputTargetOutputTargetOutput
100100.25030−0.66790−0.244400.120000.25180−0.27100−0.3601100100.9374
00.461655.4959100100.33339595.545800.878100.129800.303700.8107
00.37292525.096500.22917575.5199100100.150400.844000.258800.5440
1010.62041515.44409090.786200.928500.07038585.658200.509300.0190
1515.00603535.75428585.012300.91160−0.01116565.638300.002900.6936
2020.47115555.95768080.018300.417600.69884545.207600.810700.3935
3030.73476060.39237070.237700.869000.83024040.184800.209300.5399
3535.58488080.17896565.306900.156000.15482020.809900.970300.8869
4040.504755.25656060.480300.983400.371100.433100.66709595.8385
4545.25024545.13425555.620700.687200.756700.037000.40005555.1675
5050.14896060.67325050.505200.928100.236200.237800.14024040.1336
5555.680200.58034545.57803030.783800.85577070.728500.917800.9562
6060.399700.19544040.53349090.564500.46221010.795700.635100.4161
6565.218900.86623535.16422525.062700.228400.824300.41577575.2045
7070.660700.78153030.15459090.976500.037200.114800.16821010.0996
7575.605300.45622525.590700.322100.91404040.161500.89966060.0079
8080.653700.33882020.786900.298000.87357575.126700.68342525.2053
8585.538400.21301515.129600.813100.88699595.724200.424255.2522
9090.7981Test1010.0152Test00.9475Test00.1989Test
9595.2433TargetOutput55.6774TargetOutput00.0524TargetOutput0−0.0373TargetOutput
55.76911010.096300.292400.14499595.35819090.020600.613700.7854
2020.96927575.382500.987100.29328080.35202525.891400.735200.4598
2525.83023535.314200.107000.67047575.233800.553200.85946565.2154
3030.07295555.282400.460300.82667070.922000.922000.55874545.9522
4040.22067070.118600.753400.58236060.023300.844400.98623030.4423
4545.29437575.772400.284100.28915555.789800.732700.60642525.5066
5050.40058585.892500.584100.39785050.623600.836700.36381515.9047
6565.237500.640100.590755.34563535.44299595.473200.729700.5678
7070.417000.991500.10901515.20023030.42388585.602900.065500.2494
8585.963500.278100.59944040.56861515.14496060.710200.317400.4820
9090.479600.207000.83565555.91461010.88984545.519200.799400.3714
9595.734000.239700.04717575.807755.92872525.467400.255200.4647
1010.426800.380400.32821515.337300.003100.75349090.19028585.4777
1515.321800.632700.15513030.406100.050500.47548585.42177070.4645
2020.622700.595500.35844040.794400.431000.45878080.56616060.1754
2525.385200.703400.36496565.410000.176800.74197575.08503535.1766
3030.875700.256100.11409595.665700.080600.89317070.968855.1572
4040.97420−0.174900.048200.905300.31382020.87806060.70768080.3878
5050.0287--00.2554--00.3280--5050.3917--
6565.4649--00.6128--00.2182--3535.6784--
8080.1930--00.9640--00.2512--2020.6160--
9090.8877--00.9461--00.0308--1010.1557--
9595.2856--00.3720--00.8852--55.4375--
00.8116--1010.9860--9090.2708--00.9674--
00.1563--2020.2464--8080.6384--00.0074--
00.3523--2525.5626--7575.2913--00.8436--
00.8774--3535.1213--6565.8709--00.1757--
00.7764--4545.8156--5555.4477--00.9914--
00.4610--5050.1615--5050.8660--00.5332--
00.0937--6060.4247--4040.1619--00.3229--
00.3649--6565.0956--3535.3425--00.1906--
00.6050--7070.0008--3030.0373--00.3430--
00.8907--8080.0561--2020.2694--00.7588--
00.9881--8585.0471--1515.9021--00.0350--
00.8255--9595.6633--55.6746--00.8099--
0−0.3040--55.0832--00.0832--9595.5449--
00.6973--1010.1651--00.6355--9090.4770--
00.7413--2020.6047--00.0190--8080.5796--
00.1897--3535.6512--00.6508--6565.5103--
00.8841--4545.2931--00.0432--5555.8189--
00.1644--5050.4422--00.5633--5050.8786--
00.4981--5555.7387--00.2583--4545.5543--
00.0006--6060.3096--00.1521--4040.5810--
00.7261--7070.2379--00.9742--3030.0793--
00.1960--7575.6808--00.9075--2525.2178--
00.1926--8080.4320--00.7600--2020.6035--
00.5311--8585.0690--00.0494--1515.3289--
0−0.7112--00.8132--55.9879--9595.9897--
0−0.8436--00.7161--1010.7479--9090.4273--
0−0.9808--00.7233--1515.4751--8585.8016--
00.4536--00.3547--2525.3062--7575.8660--
00.1702--00.8403--3030.2059--7070.7492--
00.8165--00.5051--3535.7077--6565.9260--
00.9459--00.3093--4545.7886--5555.9010--
00.4537--00.4437--5050.4946--5050.5521--
00.9560--00.7649--5555.1449--4545.0799--
00.3390--00.1744--6060.1362--4040.3001--
00.6794--00.6930--6565.8811--3535.7006--
00.0618--00.5073--7070.7896--3030.6033--
00.6051--00.2804--8080.3527--2020.7391--
00.8882--00.6390--8585.5569--1515.9040--
00.0510--00.6310--9090.1803--1010.1328--
Table 3. The accuracy of the presented detection system compared to previous research.
Table 3. The accuracy of the presented detection system compared to previous research.
RefExtracted FeaturesType of Neural NetworkMSERMSE
TrainingTestingTrainingTesting
[12]Time domainGMDH1.241.201.111.09
[13]Time domainMLP0.210.0360.460.6
[14]Lack of feature extractionGMDH7.344.922.712.21
[15]Lack of feature extractionRBF0.0490.370.220.19
[25]Frequency domainMLP0.170.670.420.82
[26]Lack of feature extractionMLP2.562.561.61.6
[current study]Frequency domainMLP0.410.450.660.67
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.; Nurgalieva, K.S.; Al-Qahtani, A.A.; Narozhnyy, I.M.; Alhashim, H.H.; Nazemi, E.; Indrupskiy, I.M. Proposing a High-Precision Petroleum Pipeline Monitoring System for Identifying the Type and Amount of Oil Products Using Extraction of Frequency Characteristics and a MLP Neural Network. Mathematics 2022, 10, 2916. https://doi.org/10.3390/math10162916

AMA Style

Mayet AM, Nurgalieva KS, Al-Qahtani AA, Narozhnyy IM, Alhashim HH, Nazemi E, Indrupskiy IM. Proposing a High-Precision Petroleum Pipeline Monitoring System for Identifying the Type and Amount of Oil Products Using Extraction of Frequency Characteristics and a MLP Neural Network. Mathematics. 2022; 10(16):2916. https://doi.org/10.3390/math10162916

Chicago/Turabian Style

Mayet, Abdulilah Mohammad, Karina Shamilyevna Nurgalieva, Ali Awadh Al-Qahtani, Igor M. Narozhnyy, Hala H. Alhashim, Ehsan Nazemi, and Ilya M. Indrupskiy. 2022. "Proposing a High-Precision Petroleum Pipeline Monitoring System for Identifying the Type and Amount of Oil Products Using Extraction of Frequency Characteristics and a MLP Neural Network" Mathematics 10, no. 16: 2916. https://doi.org/10.3390/math10162916

APA Style

Mayet, A. M., Nurgalieva, K. S., Al-Qahtani, A. A., Narozhnyy, I. M., Alhashim, H. H., Nazemi, E., & Indrupskiy, I. M. (2022). Proposing a High-Precision Petroleum Pipeline Monitoring System for Identifying the Type and Amount of Oil Products Using Extraction of Frequency Characteristics and a MLP Neural Network. Mathematics, 10(16), 2916. https://doi.org/10.3390/math10162916

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