Prediction of Oil Flow Rate Through Orifice Flow Meters: Optimized Machine-Learning Techniques

Farsi, Mohammad, Shojaei Barjouei, Hossein, Wood, David A., Ghorbani, Hamzeh, Mohamadian, Nima, Davoodi, Shadfar, Nasriani, Hamid Reza orcid iconORCID: 0000-0001-9556-7218 and Ahmadi Alvar, Mehdi (2021) Prediction of Oil Flow Rate Through Orifice Flow Meters: Optimized Machine-Learning Techniques. Measurement, 174 (108943). ISSN 0263-2241

[thumbnail of Author Accepted Manuscript]
PDF (Author Accepted Manuscript) - Accepted Version
Available under License Creative Commons Attribution Non-commercial No Derivatives.


Official URL:


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.

Repository Staff Only: item control page