Modeling viscosity of crude oil using k-nearest neighbor algorithm

Oil viscosity is an important factor in every project of the petroleum industry. These processes can range from gas injection to oil reservoirs to comprehensive reservoir simulation studies. Different experimental approaches have been proposed for measuring oil viscosity. However, these methods are...

Full description

Bibliographic Details
Main Authors: Mohammad Reza Mahdiani, Ehsan Khamehchi, Sassan Hajirezaie, Abdolhossein HemmatiiSarapardeh
Format: Article
Language:English
Published: Yandy Scientific Press 2020-12-01
Series:Advances in Geo-Energy Research
Subjects:
Online Access:https://www.yandy-ager.com/index.php/ager/article/view/288
id doaj-eb21ddced06646e7a9dd1776c90d0092
record_format Article
spelling doaj-eb21ddced06646e7a9dd1776c90d00922021-01-08T02:59:34ZengYandy Scientific PressAdvances in Geo-Energy Research2208-598X2208-598X2020-12-014443544710.46690/ager.2020.04.08Modeling viscosity of crude oil using k-nearest neighbor algorithmMohammad Reza Mahdiani0 Ehsan Khamehchi1Sassan Hajirezaie2Abdolhossein HemmatiiSarapardeh3https://orcid.org/0000-0002-5889-150XDepartment of Petroleum Engineering, Amirkabir University of Technology, Tehran, IranDepartment of Petroleum Engineering, Amirkabir University of Technology, Tehran, IranDepartment of Civil and Environmental Engineering, Princeton University, NJ 08540, United StatesDepartment of Petroleum Engineering, Shahid Bahonar University of Kerman, Kerman, IranOil viscosity is an important factor in every project of the petroleum industry. These processes can range from gas injection to oil reservoirs to comprehensive reservoir simulation studies. Different experimental approaches have been proposed for measuring oil viscosity. However, these methods are often time taking, cumbersome and at some physical conditions, impossible. Therefore, development of predictive models for estimating this parameter is crucial. In this study, three new machine learning based models are developed to estimate the oil viscosity. These approaches are genetic programing, k-nearest neighbor (KNN) and linear discriminant analysis. Oil gravity and temperature were the input parameters of the models. Various graphical and statistical error analyses were used to measure the performance of the developed models. Also, comparison study between the developed models and the well-known previously published models was conducted. Moreover, trend analysis was performed to compare the predictions of the models with the trend of experimental data. The results indicated that the developed models outperform all of the previously published models by showing negligible prediction errors. Among the developed models, the KNN model has the highest accuracy by showing an overall mean absolute error of 8.54%. The results show that the new developed models in this study can be potentially utilized in reservoir simulation packages of the petroleum industry.https://www.yandy-ager.com/index.php/ager/article/view/288oil viscositymachine learningk-nearest neighborgenetic programminglinear discriminant analysis
collection DOAJ
language English
format Article
sources DOAJ
author Mohammad Reza Mahdiani
Ehsan Khamehchi
Sassan Hajirezaie
Abdolhossein HemmatiiSarapardeh
spellingShingle Mohammad Reza Mahdiani
Ehsan Khamehchi
Sassan Hajirezaie
Abdolhossein HemmatiiSarapardeh
Modeling viscosity of crude oil using k-nearest neighbor algorithm
Advances in Geo-Energy Research
oil viscosity
machine learning
k-nearest neighbor
genetic programming
linear discriminant analysis
author_facet Mohammad Reza Mahdiani
Ehsan Khamehchi
Sassan Hajirezaie
Abdolhossein HemmatiiSarapardeh
author_sort Mohammad Reza Mahdiani
title Modeling viscosity of crude oil using k-nearest neighbor algorithm
title_short Modeling viscosity of crude oil using k-nearest neighbor algorithm
title_full Modeling viscosity of crude oil using k-nearest neighbor algorithm
title_fullStr Modeling viscosity of crude oil using k-nearest neighbor algorithm
title_full_unstemmed Modeling viscosity of crude oil using k-nearest neighbor algorithm
title_sort modeling viscosity of crude oil using k-nearest neighbor algorithm
publisher Yandy Scientific Press
series Advances in Geo-Energy Research
issn 2208-598X
2208-598X
publishDate 2020-12-01
description Oil viscosity is an important factor in every project of the petroleum industry. These processes can range from gas injection to oil reservoirs to comprehensive reservoir simulation studies. Different experimental approaches have been proposed for measuring oil viscosity. However, these methods are often time taking, cumbersome and at some physical conditions, impossible. Therefore, development of predictive models for estimating this parameter is crucial. In this study, three new machine learning based models are developed to estimate the oil viscosity. These approaches are genetic programing, k-nearest neighbor (KNN) and linear discriminant analysis. Oil gravity and temperature were the input parameters of the models. Various graphical and statistical error analyses were used to measure the performance of the developed models. Also, comparison study between the developed models and the well-known previously published models was conducted. Moreover, trend analysis was performed to compare the predictions of the models with the trend of experimental data. The results indicated that the developed models outperform all of the previously published models by showing negligible prediction errors. Among the developed models, the KNN model has the highest accuracy by showing an overall mean absolute error of 8.54%. The results show that the new developed models in this study can be potentially utilized in reservoir simulation packages of the petroleum industry.
topic oil viscosity
machine learning
k-nearest neighbor
genetic programming
linear discriminant analysis
url https://www.yandy-ager.com/index.php/ager/article/view/288
work_keys_str_mv AT mohammadrezamahdiani modelingviscosityofcrudeoilusingknearestneighboralgorithm
AT ehsankhamehchi modelingviscosityofcrudeoilusingknearestneighboralgorithm
AT sassanhajirezaie modelingviscosityofcrudeoilusingknearestneighboralgorithm
AT abdolhosseinhemmatiisarapardeh modelingviscosityofcrudeoilusingknearestneighboralgorithm
_version_ 1724345658251411456