Application of machine learning for modeling heavy oil viscosity

The viscosity of heavy oil is a critical parameter in designing surface and well production equipment, reservoir simulations, and field development projects. However, direct measurement of heavy crude oil viscosity is often costly and requires representative fluid samples, which can be challenging to obtain. This strong dependence of viscosity on temperature further complicates the process. Consequently, the industry relies on predictive correlations to estimate crude oil viscosity. These correlations, however, have significant limitations, as they tend to oversimplify complex relationships, reducing their practical utility. These models often fall short in capturing the full complexity of dependencies, especially those arising from compositional variations in heavy oil. This in return, limits their accuracy and applicability across a wider range of pressures, temperatures, and fluid compositions. Over the past two decades, machine learning (ML) has gained substantial interest in modeling heavy oil viscosity. However, the results from ML models often show high variability and inherent bias. This work develops and compares the performance of two ML models, specifically, backpropagation neural networks (BPNN) and general regression neural networks (GRNN). The proposed models were trained to predict the dead heavy-oil viscosity using a dataset consisting of 371 records and six input variables: temperature, density, C 7 + , and C 26 mole fractions, and their respective molecular weights. Descriptive statistics and correlation analysis identified temperature and density as the most influential factors in predicting heavy oil viscosity. To enhance model performance, log-transformation of viscosity and temperature were applied. The BPNN, with 15 neurons in the hidden layer, achieved an average absolute relative error (AARE) of 1.27% on the blind testing dataset, significantly outperformed the GRNN, which had an AARE of 15%. Despite this disparity in performance, both neural networks significantly outperformed several empirical correlations reported in the literature by a considerable margin. The BPNN model demonstrated superior prediction accuracy due to several key factors. Its iterative weight optimization via backpropagation allows minimizing errors and improving predictions effectively. The hidden layers of the BPNN automatically learn complex data patterns, making it particularly effective with large, high-dimensional datasets. In contrast, the GRNN, while computationally efficient, faces challenges with memory limitations and generalization. Additionally, the BPNN allows greater flexibility through fine-tuning hyperparameters such as learning rate and activation functions, making it the preferred model for predicting heavy oil viscosity.

Authors

Institutions

Publication Details

Journal
Journal of Engineering Research
Published
2025-05-26
DOI
https://doi.org/10.1016/j.jer.2025.05.009
Citations
1
Primary Topic
NMR spectroscopy and applications
Type
article
Field-Weighted Citation Impact
1.87
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Application of machine learning for modeling heavy oil viscosity

Salah Almudhhi, Haitham M. S. Lababidi, Ali A. Garrouch
1 citations
Journal of Engineering Research
NMR spectroscopy and applications
1.87
article

Application of machine learning for modeling heavy oil viscosity

Salah Almudhhi, Haitham M. S. Lababidi, Ali A. Garrouch
article en
1 citations

Abstract

The viscosity of heavy oil is a critical parameter in designing surface and well production equipment, reservoir simulations, and field development projects. However, direct measurement of heavy crude oil viscosity is often costly and requires representative fluid samples, which can be challenging to obtain. This strong dependence of viscosity on temperature further complicates the process. Consequently, the industry relies on predictive correlations to estimate crude oil viscosity. These correlations, however, have significant limitations, as they tend to oversimplify complex relationships, reducing their practical utility. These models often fall short in capturing the full complexity of dependencies, especially those arising from compositional variations in heavy oil. This in return, limits their accuracy and applicability across a wider range of pressures, temperatures, and fluid compositions. Over the past two decades, machine learning (ML) has gained substantial interest in modeling heavy oil viscosity. However, the results from ML models often show high variability and inherent bias. This work develops and compares the performance of two ML models, specifically, backpropagation neural networks (BPNN) and general regression neural networks (GRNN). The proposed models were trained to predict the dead heavy-oil viscosity using a dataset consisting of 371 records and six input variables: temperature, density, C 7 + , and C 26 mole fractions, and their respective molecular weights. Descriptive statistics and correlation analysis identified temperature and density as the most influential factors in predicting heavy oil viscosity. To enhance model performance, log-transformation of viscosity and temperature were applied. The BPNN, with 15 neurons in the hidden layer, achieved an average absolute relative error (AARE) of 1.27% on the blind testing dataset, significantly outperformed the GRNN, which had an AARE of 15%. Despite this disparity in performance, both neural networks significantly outperformed several empirical correlations reported in the literature by a considerable margin. The BPNN model demonstrated superior prediction accuracy due to several key factors. Its iterative weight optimization via backpropagation allows minimizing errors and improving predictions effectively. The hidden layers of the BPNN automatically learn complex data patterns, making it particularly effective with large, high-dimensional datasets. In contrast, the GRNN, while computationally efficient, faces challenges with memory limitations and generalization. Additionally, the BPNN allows greater flexibility through fine-tuning hyperparameters such as learning rate and activation functions, making it the preferred model for predicting heavy oil viscosity.

Journal of Engineering ResearchVol. 14(1)
Kuwait Petroleum Corporation (Kuwait) (KW)
Openalex Percentile: Top 14%
NMR spectroscopy and applications
1.87
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.