Prediction of oil flow rate through orifice flow meters: Optimized machine-learning techniques

Abstract Flow measurement is an essential requirement for monitoring and controlling oil movements through pipelines and facilities. However, delivering reliably accurate measurements through certain meters requires cumbersome calculations that can be simplified by using supervised machine learning techniques exploiting optimizers. In this study, a dataset of 6292 data records with seven input variables relating to oil flow through 40 pipelines plus processing facilities in southwestern Iran is evaluated with hybrid machine-learning-optimizer models to predict a wide range of oil flow rates (Qo) through orifice plate meters. Distance-weighted K-nearest-neighbor (DWKNN) and multi-layer perceptron (MLP) algorithms are coupled with artificial-bee colony (ABC) and firefly (FF) swarm-type optimizers. The two-stage ABC-DWKNN Plus MLP-FF model achieved the highest prediction accuracy (root mean square errors = 8.70 stock-tank barrels of oil per day) for oil flow rate through the orifice plates, thereby removing dependence on unreliable empirical formulas in such flow calculations.

[1]  Amrit Pal Singh,et al.  Comparative Study of Firefly Algorithm and Particle Swarm Optimization for Noisy Non- Linear Optimization Problems , 2012 .

[2]  Thomas D. Gauthier,et al.  Detecting Trends Using Spearman's Rank Correlation Coefficient , 2001 .

[3]  Saffa Riffat,et al.  Pressure loss characteristics of orifice and perforated plates , 1997 .

[4]  David A. Wood,et al.  Prediction of oil flow rate through an orifice flow meter: Artificial intelligence alternatives compared , 2020 .

[5]  Steven G. Krantz,et al.  The Euler-Bernoulli beam equation with boundary energy dissipation , 1988 .

[6]  Anil K. Jain,et al.  Artificial Neural Networks: A Tutorial , 1996, Computer.

[7]  Thomas D. Gautheir Detecting Trends Using Spearman's Rank Correlation Coefficient , 2001 .

[8]  A. Ullah,et al.  CFD study of pressure loss characteristics of multi-holed orifice plates using central composite design , 2019 .

[9]  Zh.A. Dayev,et al.  Application of artificial neural networks instead of the orifice plate discharge coefficient , 2020 .

[10]  Sadiq J. Zarrouk,et al.  Measuring two-phase flow in geothermal pipelines using sharp edge orifice plates , 2012 .

[11]  Mohd Azlishah Othman,et al.  A REVIEW OF FIREFLY ALGORITHM , 2014 .

[12]  E. Marubini,et al.  Bravais-Pearson and Spearman Correlation Coefficients: Meaning, Test of Hypothesis and Confidence Interval , 2002 .

[13]  M. Cavalcanti,et al.  Exponential decay of the viscoelastic Euler-Bernoulli equation with a nonlocal dissipation in general domains , 2004, Differential and Integral Equations.

[14]  Xin-She Yang,et al.  Firefly Algorithm: Recent Advances and Applications , 2013, ArXiv.

[15]  G. Morrison,et al.  Beta ratio, axisymmetric flow distortion and swirl effects upon orifice flow meters , 1995 .

[16]  Xin-She Yang,et al.  Firefly Algorithms for Multimodal Optimization , 2009, SAGA.

[17]  David A. Wood,et al.  Predicting liquid flow-rate performance through wellhead chokes with genetic and solver optimizers: an oil field case study , 2018, Journal of Petroleum Exploration and Production Technology.

[18]  S. Shaaban,et al.  Optimization of orifice meter's energy consumption , 2014 .

[19]  S. Barfuss,et al.  Discharge Coefficient Performance of Venturi, Standard Concentric Orifice Plate, V-cone and Wedge Flow Meters at Low Reynolds Numbers , 2011 .

[20]  J. K. Ali,et al.  Neural Networks: A New Tool for the Petroleum Industry? , 1994 .

[21]  Jamshid Moghadasi,et al.  Prediction of gas flow rates from gas condensate reservoirs through wellhead chokes using a firefly optimization algorithm , 2017 .

[22]  David A. Wood,et al.  A geomechanical approach to casing collapse prediction in oil and gas wells aided by machine learning , 2021 .

[23]  S. Shabanlou,et al.  Optimization of ANFIS network using firefly algorithm for simulating discharge coefficient of side orifices , 2019, Applied Water Science.

[24]  Iosr Journals,et al.  Firefly Algorithm for Unconstrained Optimization , 2013, IOSR Journal of Computer Engineering.

[25]  N. F. Nasir,et al.  CFD simulation of flow through an orifice plate , 2017 .

[26]  Perumal Kumar,et al.  A CFD study of low pressure wet gas metering using slotted orifice meters , 2011 .

[27]  Shweta Taneja,et al.  An Enhanced K-Nearest Neighbor Algorithm Using Information Gain and Clustering , 2014, 2014 Fourth International Conference on Advanced Computing & Communication Technologies.

[28]  Kevin N. Gurney,et al.  An introduction to neural networks , 2018 .

[29]  Zheng Yao,et al.  A Feature-Scaling-Based $k$-Nearest Neighbor Algorithm for Indoor Positioning Systems , 2014, IEEE Internet of Things Journal.

[30]  Stavros Stavrou,et al.  RSS Based Localization Using a New WKNN Approach , 2015, 2015 7th International Conference on Computational Intelligence, Communication Systems and Networks.

[31]  David A. Wood,et al.  Transparent open-box learning network provides auditable predictions for coal gross calorific value , 2018, Modeling Earth Systems and Environment.

[32]  O. Zikanov Essential Computational Fluid Dynamics , 2010 .

[33]  David A. Wood,et al.  A transparent Open-Box learning network provides insight to complex systems and a performance benchmark for more-opaque machine learning algorithms , 2018 .

[34]  Dennis Brandão,et al.  A neural network developed in a Foundation Fieldbus environment to calculate flow rates for compressible fluid , 2014 .

[35]  T. J. Chung,et al.  Computational Fluid Dynamics: Contents , 2010 .

[36]  Sthener Campos,et al.  Orifice plate meter field performance: Formulation and validation in multiphase flow conditions , 2014 .

[37]  V. Tereshko,et al.  Collective Decision-Making in Honey Bee Foraging Dynamics , 2005 .

[38]  Dariusz Świsulski,et al.  Uncertainty of the liquid mass flow measurement using the orifice plate , 2018, Flow Measurement and Instrumentation.

[39]  Valery Tereshko,et al.  Reaction-Diffusion Model of a Honeybee Colony's Foraging Behaviour , 2000, PPSN.

[40]  Gerald L. Morrison,et al.  Multiphase flow measurements using coupled slotted orifice plate and swirl flow meter , 2014 .

[41]  J. A. Sattary,et al.  The orifice plate discharge coefficient equation , 1990 .

[42]  E Marubini,et al.  Bravais-Pearson and Spearman correlation coefficients: meaning, test of hypothesis and confidence interval. , 2002, The International journal of biological markers.

[43]  Salvador Gil,et al.  Experimental study of Bernoulli's equation with losses , 2005 .

[44]  David A. Wood,et al.  Performance comparison of bubble point pressure from oil PVT data: Several neurocomputing techniques compared , 2019, Experimental and Computational Multiphase Flow.

[45]  Mohsen Hayati,et al.  Discharge prediction of circular and rectangular side orifices using artificial neural networks , 2016 .

[46]  Abouzar Choubineh,et al.  Improved predictions of wellhead choke liquid critical-flow rates: Modelling based on hybrid neural network training learning based optimization , 2017 .

[47]  O. Bamidele,et al.  Two-phase flow induced vibration of piping structure with flow restricting orifices , 2019, International Journal of Multiphase Flow.

[48]  Jan Hauke,et al.  Comparison of Values of Pearson's and Spearman's Correlation Coefficients on the Same Sets of Data , 2011 .

[50]  Dervis Karaboga,et al.  AN IDEA BASED ON HONEY BEE SWARM FOR NUMERICAL OPTIMIZATION , 2005 .

[51]  D. Karaboga,et al.  On the performance of artificial bee colony (ABC) algorithm , 2008, Appl. Soft Comput..

[52]  Numerical simulation, validation, and analysis of two-phase slug flow in large horizontal pipes , 2020 .

[53]  Cheng Li,et al.  A Feature-Scaling-Based k-Nearest Neighbor Algorithm for Indoor Positioning Systems , 2016, IEEE Internet Things J..

[54]  Dervis Karaboga,et al.  A comparative study of Artificial Bee Colony algorithm , 2009, Appl. Math. Comput..

[55]  Hossein Bonakdari,et al.  Pareto genetic design of group method of data handling type neural network for prediction discharge coefficient in rectangular side orifices , 2015 .

[56]  Troy Lee,et al.  How Information-Mapping Patterns Determine Foraging Behaviour of a Honey Bee Colony , 2002, Open Syst. Inf. Dyn..

[57]  David A. Wood,et al.  Wellbore stability analysis to determine the safe mud weight window for sandstone layers , 2019, Petroleum Exploration and Development.

[58]  Sahibsingh A. Dudani The Distance-Weighted k-Nearest-Neighbor Rule , 1976, IEEE Transactions on Systems, Man, and Cybernetics.

[59]  David A. Wood Predicting porosity, permeability and water saturation applying an optimized nearest-neighbour, machine-learning and data-mining network of well-log data , 2020 .