Next Article in Journal
Environmental Consciousness and Green Customer Behavior: The Moderating Roles of Incentive Mechanisms
Previous Article in Journal
Classification of Driving Fatigue in High-Altitude Areas
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Oil and Gas Wells: Enhanced Wellbore Casing Integrity Management through Corrosion Rate Prediction Using an Augmented Intelligent Approach

by
Dhafer A. Al-Shehri
Department of Petroleum Engineering, King Fahd University of Petroleum & Minerals, Dhahran 31261, Saudi Arabia
Sustainability 2019, 11(3), 818; https://doi.org/10.3390/su11030818
Submission received: 13 December 2018 / Revised: 29 January 2019 / Accepted: 30 January 2019 / Published: 4 February 2019
(This article belongs to the Section Energy Sustainability)

Abstract

:
Wellbore integrity management for oil and gas wells plays a vital role throughout the typical lifespan of a well. Downhole casing leaks in oil- and gas-producing wells significantly affect their shallow water horizon, the environment, and fresh water resources. Additionally, downhole casing leaks may cause seepage of toxic gases to fresh water zones and the surface, through the casing annuli. Forecasting of such leaks and proactive measures of prevention will help eliminate their consequences and, in turn, better protect the environment. The objective of this study is to formulate an effective, robust, and accurate model for predicting the corrosion rate of metal casing string using artificial intelligence (AI) techniques. The input parameters used to train AI models include casing leaks, the percentage of metal loss, casing age, and average remaining barrier ratio (ARBR). The target parameter is the corrosion rate of the metal casing string. The dataset from which the AI models were trained was comprised of 250 data points collected from 218 wells in a giant carbonate reservoir that covered a wide range of practically reasonable values. Two AI tools were used: artificial neural networks (ANNs) and adaptive network-based fuzzy inference systems (ANFISs). A prediction comparison was made between these two tools. Based on the minimum average absolute percentage error (AAPE) and the highest coefficient of determination (R2) between the measured and predicted corrosion rate values, the ANN model proposed here was determined to be best for predicting the corrosion rate. An ANN-based empirical model is also presented in this study. The proposed model is based on the associated weights and biases. After evaluating the new ANN equation using an unseen validation dataset, it was concluded that the ANN equation was able to make predictions with a significantly lower AAPE and higher R2. Use of the proposed new equation is very cost-effective in terms of reducing the number of sequential surveys and experiments conducted. The proposed equation can be utilized without an AI engine. The developed model and empirical correlation are very promising and can serve as a handy tool for corrosion engineers seeking to determine the corrosion rate without training an AI model.

1. Introduction

The impact of corrosion on the oil and gas industry must be viewed in terms of its effects on both capital and operational expenditures, as well as health, safety, and the environment. The wide-ranging environmental conditions prevailing in the oil and gas industry necessitate the choice of appropriate and cost-effective materials and corrosion-control measures. Corrosion-related failures constitute over 25% of those experienced in the oil and gas industry [1]. Corrosion-related failures can increase the risk of hydrocarbon leaks and chemical discharges to the atmosphere, subsurface formations, and underground water aquifers. Such corrosion failures and leaks can occur during the drilling, production, transportation, refining, and other phases of the oil and gas field’s operation and development, presenting a potentially serious health and safety hazard.
Historical rates of well failure in the oil and gas field vary from a few percent of well to more than 40% of the total wells in operation in a given area [2]. An analysis of 8000 offshore wells in the Gulf of Mexico showed that 11% to 12% of wells developed pressure in the outer casing strings (i.e., sustained casing pressure), as did 3.9% of 316,000 wells in Alberta [2,3]. Considine et al. [3] investigated state violation records, estimating that 2.6% of the 3533 gas wells drilled between 2008 and 2011 had barrier or integrity failures. Vidic et al. (2013) extended the timeline (2008–2013) and number of wells studied (6466), finding that 3.4% had well barrier leakage, primarily from casing and cementing problems. Davies et al. [2] also estimated that 6.3% of wells drilled between 2005 and 2013 had well barrier or integrity failures; this was consistent with the conclusions of Ingraffea et al. [4], who identified the number as 6.2% for unconventional wells.
The oil and gas industry have reported severe examples of integrity loss in wells, with hugely significant consequences; these include blowouts such as Phillips Petroleum’s failure in 1977, Saga Petroleum’s underground rupture in 1989, Statoil’s blowout on Snorre in 2004, and BP’s Macondo burst in the Gulf of Mexico in 2010. These serious accidents highlight the potential dangers in the oil and gas industry, and hence the need for greater emphasis on well integrity [5] Casing integrity surveillance programs consist primarily of temperature and annuli surveys. One common aspect of these surveillance tools is the detection of casing failures after their occurrence. Corrosion logging, another surveillance tool, provides the most direct measurement of casing integrity and can also be used as a predictive measure. Mechanical, ultrasonic, and electromagnetic tools are the three main types of corrosion logs used to assess casing corrosion.
It is imperative that producers have intact well integrity management programs in brown fields in which producing wells are asked to withstand economic production for up to 40 years. Failure to achieve this objective will result in catastrophic economic losses. A good example of this type of loss is the surface leakages affected by the impairment of downhole casings, which result from the corrosion of saline shallow aquifers [6,7]. Figure 1 shows an attack on an active acquirer surrounding an external casing. To better plan for and define future operating regimes and rehabilitation, the capacity to precisely evaluate corrosion rates is essential; such information is a necessary input parameter for any effective corrosion management scenario [6,8,9]. Surface leaks due to corrosion comprise just one example. Surveillance tools can detect casing failures, but only after corrosion occurs.
Corrosion logging is an example of a surveillance tool that offers direct estimation of casing integrity, and thus can be utilized as a predictive tool. The low frequency permits the inspection of more than one tubular and provides a quantitative measure of the remaining wall thickness. When a reduction in metal is encountered while logging, the electromagnetic field induced by the tool will shift, indicating the presence of corrosion (see Figure 1). The tool’s response is further interpreted and converted to a metal loss value. Corrosion logs can then be analyzed to assess the casing integrity and decide on the need for well intervention to prevent potential casing failures (see Figure 2). In large fields, logging all wells requires substantial time, especially given the current resources and manpower. In addition, the limited number of electromagnetic (EM) tools dictates the need for the development of a risk-based candidate selection process. In fact, casing failures and even surface leaks can suddenly strike before a well is logged. The current practice is to rank the candidates according to many factors, including well age, well location, completion quality, and historical integrity. All of these factors are deemed qualitative and solely reliant on the best of judgment of the practitioner.
Corrosion is the gradual loss of the electrons from the surface of a metal, triggering that metal to convert into its ionic shape [10,11,12,13]. The rate of corrosion can be measured by several methods, such as loss of weight and the rate of penetration. Corrosion occurs because metals want to return to the form in which they are found in nature (i.e., oxides, sulfates, or carbonates); such forms are more stable [14]. Downhole assessment of the corrosion rate is the most difficult task in well-integrity surveillance programs. Typically, there are two categories of well downhole corrosion: external and internal [15]. Internal corrosion is triggered when the fluid moving inside the wellbore is naturally corrosive. External corrosion occurs when the outer wall of the tubing comes in contact with the formation. Saline and shallow aquifers are potential sources of external corrosion. Moreover, the cement bond behind the casing being of weak quality can also raise the probability of external corrosion [16,17].
Al-Ajmi et al. [18] used casing corrosion logs such as the EM logging tool to develop a new, risk-based approach to the prediction of oil well bottom-hole leaks. These researchers observed that an EM logging tool alone is not a sufficient estimator of downhole casing leaks caused by corrosion, because this tool is only capable of determining the average value of any external casing corrosion and does not offer its orientation. In their work, the authors developed a new, probabilistic approach that uses the average metal lost as determined by the EM logging tool to assess the possibility of casing failure.
Surveillance programs designed to determine casing integrity are mainly based on annuli and temperature surveys. The tools used for surveillance detect the failure of a casing after it occurs. The purpose of the temperature survey is to locate casing leaks that can lead to a loss of oil production, surface blowouts, and contamination with nearby connected aquifers. Identification and location of casing leaks is imperative to reducing the loss of hydrocarbons and minimizing contamination of nearby connected aquifers. Annuli surveys are regularly conducted to determine annulus pressures. An annulus is the empty space between the casing, tubing, and any pipe with a formation adjacent. In well drilling, an annulus between the casing and formation provides a path for mud to circulate. Corrosion logging tools provide direct measurement of a casing’s integrity, and in many cases can be used as a predictive tool. In corrosion logging, the most common instruments are mechanical, electromagnetic, or ultrasonic.
The main objective of the current research is to present a novel empirical model based on artificial intelligence (AI) and capable of quantifying the corrosion rate in any casing, using its average metal loss percentage data. For the first time, the concept of the average remaining barrier ratio (ARBR) is being presented here, utilized as an input parameter for the new model. This study explores the comparative performances of state-of-the-art and conventional AI techniques in the prediction of corrosion rates. The outcome of this study will assist users of AI techniques in making informed choices regarding the appropriate state-of-the-art methods for use in petroleum production, with the goal of obtaining improved predictions and better decision-making, especially when being faced with limited or sparsely integrated data.

2. Materials and Methods

2.1. Data Analytics

A total of 250 hotspots were collected from 218 wells. Of the 250 data points, 230 were non-leaking; the remaining were considered leaking average metal loss hotspots. The dataset consisted of a variety of completion types, with different casing grades and sizes. The wells produced both oil and water. The ranges of the input parameters were as follows: well age, 2 to 67 years; average metal loss hotspot depth, 9 to 7723 feet; ARBR, 0.095 to 0.908; and corrosion rate, 3.052 to 26.368. The developed AI model was based only on the numerical value for leaking and non-leaking, with 1 representing leaking and 0 representing non-leaking.
The range of the data represented the length of each data interval and arithmetic mean of each implemented parameter. Generally speaking, the standard deviation of a dataset illustrates how that dataset is distributed around its mean value and how much closer the data values are to the mean. The higher the standard deviation from the mean for a specific data type, the more deviated the data are from the mean value. Data skewness explains how symmetrical or skewed the data distribution is in hand. A positive value of skewness indicates that the dataset is skewed to the left, with a longer tail to the right; a negative value of skewness shows that the dataset is skewed to the right, with a longer tail to the left. Skewness values less than −1 or higher than +1 demonstrate that the distribution is highly skewed. Skewness values between −1 and 1 indicate that the data distribution is moderately skewed or approaches symmetricity. The positive Kurtosis values for the current dataset indicate that the data distribution deviated from the normal distribution, with a heavier tail and a sharper peak.
Table 1 includes the complete statistics for all input and output parameters studied in the present research.

2.2. Average Remaining Barriers Ratio

The ARBR is a dimensionless parameter that takes into account the impacts of various sizes and combinations of casing strings. This parameter is defined as the ratio of the mean number of strings between the corrosive zones (normally water-bearing sands) and the wellbore to the total number of nominal strings at a certain corrosion growth hotspot. The following Equation (1) can be used to compute ARBR:
ARBR = 1 [ T L 1 T N 1 + T L 2 T N 2 + T L 3 T N 3 + T LX T NX ] X
where ARBR is the average remaining barriers ratio (dimensionless), T L 1 is the outer string loss of metal thickness (in), T L 2 is the second outer string loss of metal thickness (in), T L 3 is the third outer string loss of metal thickness (in), T N 1 is the outer string’s nominal thickness (in), T N 2 is the second outer string’s nominal thickness (in), T N 3 is the third outer string’s nominal thickness (in), and X is the number of strings surrounding the hotspot.
For all practical purposes, a hotspot is defined as any casing depth showing a 12% average metal loss as measured by the electromagnetic induction tool (EMIT) logging device. EMIT gives the average metal loss levels for all installed casing strings. If the tool reads a lower frequency, this means that the penetration is deeper into the casing. The tool detects the average metal loss and changes in casing geometry, regardless of the fluid type. Figure 2 shows a typical response of the EMIT tool.

2.3. Design of the Artificial Neural Networks Model

For the last two decades, ANN has served as a useful engineering tool in many applications [19,20]. ANN is an AI technique inspired from the natural features of the biological neurons found in human and animal brains. The fundamental processing units of the ANN model are neurons spread in different layers. Every neuron in the system is linked together to make a network of nodes that form a structure like a biological neural network [21]. A typical ANN model contains an input layer, some number of hidden layers, and an output layer. Signals are received by the input layer. Then, the hidden layer(s) develop relationships among the inputs, and the results are generated at the output layer. Every neuron of a single layer is linked to every neuron in the subsequent layer, and every connection has a related weight [22]. Weights and biases act like coefficients in non-linear equations [23]. The general structure of an ANN model is shown in Figure 3.
In this study, the designed ANN model was developed with three layers: an input layer, a hidden layer, and an output layer. The input layer was comprised of four members. The hidden layer encompassed 20 neurons, and the output layer consisted of one member. The number of neurons in the hidden layer was selected based on the best performance during the training and testing of the modeling phase. A tangential sigmoidal type of activation function was used between the input and hidden layers, and a purely linear type of activation function was used between the hidden and output layers. The learning of ANN model was done with the Levenberg–Marquardt back propagation algorithm. There can be a number of hidden layers between the input and output layers, with varying numbers of neurons. Therefore, to determine the optimum parameters for our problem, an extensive sensitivity analysis was conducted that not only identified the best possible layer/neuron combination, but also provided the most effective training algorithm and transfer function. Consequently, this analysis led us to the best design for an ANN addressing the corrosion rate prediction problem. The complete architecture of the ANN model for predicting corrosion is explained in Table 2.

2.4. Design for the Adaptive Network-Based Fuzzy Inference System Model

The adaptive network-based fuzzy inference system (ANFIS) is a type of fuzzy logic (FL) that includes mapping the inputs and outputs of a particular kind, such as in feed-forward neural network systems [24]. Initially developed to model and control ill-defined and uncertain systems [25,26,27], ANFIS models are a blend of FL and neural networks. They comprise a supervised learning technique that uses the Sugeno fuzzy inference system [26]. They operate by applying conventional Boolean logic (i.e., 0’s and 1’s) to describe a principle of truthiness (i.e., values between the completely false, 0, and total truth, 1) [28]. The steps needed for a typical ANFIS model are as follows: (1) defining the input and output variables, (2) declaring fuzzy sets, (3) defining fuzzy rules, and (4) creating and training the network [29,30].
The ANFIS model for the present research was developed with genfis type-2 subtractive clustering (SC). The value of the radius used in SC genfis-2 was selected to be 0.5. The value of the epoch was 500, which represented the number of iterations. The complete architecture of the ANFIS model for predicting corrosion rates is detailed in Table 3.
The petroleum production property prediction process requires a very high degree of precision; any minor variation from what is anticipated may lead to enormous waste, as well as the loss of man hours and financial investment. Conversely, a slight enhancement of the prediction scenario will produce exponential improvement in present production and exploration projects. Current predictive models are still recognizable in the oil and gas field, but there is an ongoing quest for reliable and improved results.
The modern trend in data analytics and mining is integrating multi-dimensional and multi-modal data for value-added decision-making in petroleum engineering applications. Many commonly used AI techniques have been applied; however, there is still ample room for improvement. Over the years, various AI techniques have attracted attention in a number of geoscience and engineering applications. Many successful implementations of this science in real oil and gas cases have attracted considerable interest, especially those applying these techniques to predict challenging industry parameters. Some areas of petroleum engineering in which AI techniques have introduced new innovations include: permeability porosity relationship predictions [20,31], hydraulic flow unit identification [32], geomechanics parameters estimation [33,34], geophysical well logs estimation [35,36], drilling parameters estimation [37,38], water saturation prediction [39], enhanced oil recovery [40], and many others. Common traditional AI techniques applied in petroleum engineering applications include ANNs, functional networks (FNs), support vector machines (SVMs), decision trees, and FL. These techniques have various advantages and disadvantages that impose structural and technical limitations, affecting their predictive performance; these make their applications inappropriate in specified situations such as conditions of limited, sparse, or missing data [41]. A rigorous comparative study that determines the applicability and performance of state-of-the-art AI techniques in petroleum production parameter prediction is sorely needed.

2.5. Feature Selection Using a Multivariate Linear Regression System

Every AI model is data-driven, including all of the available attributes acting as input parameters. These do not generate useful results, so it is always important to determine which input parameters are the strongest contributors and the most influential. In the present research, a Pearson’s correlation coefficient (CC) was utilized to determine that relationship, in terms of the CC between input and output parameters. The CC input and output values were determined using Equation (2).
CC = k xy ( x ) ( y ) k ( x 2 ) ( y ) 2   k ( b 2 ) ( b ) 2
The CC value for a pair of variables always lies between −1 and 1. A CC value close to −1 shows a strong inverse relationship between the pair of variables, while a value close to 1 indicates a strong direct relationship between the two. A CC value of zero demonstrates that no relationship exists between the two variables.

2.6. Goodness-of-Fit Tests

To determine the strength of the proposed model, several goodness-of-fit criteria were used, such as the average absolute percentage error (AAPE) given by Equation (3), root mean squared error (RMSE) given by Equation (4), and coefficient of determination (R2) given by Equation (5).
Average Absolute Percentage Error
AAPE = | ( a i b i ) | × 100 a i n
Root Mean Square Error
RMSE = ( a i b i ) 2 n
where a is the actual value and b is the predicted value, and n is the total number of data points.
Coefficient of Determination
R 2 = ( k xy ( x ) ( y ) k ( x 2 ) ( y ) 2   k ( b 2 ) ( b ) 2 ) 2
where x and y are the two variables and k is the total number of data points.

3. Mathematical Model for Predicting the Corrosion Rate

A major outcome of this work is the development of an empirical model using a trained neural network based on a set of weights and biases related to both the hidden input and output layers. The weights and biases corresponding to their neurons are shown in Table 4; those linked with the hidden input layer are characterized by w1, whereas those linked with the hidden output layer are called w2. Furthermore, the hidden input and output layer biases are b1 and b2, respectively. The new empirical correlation developed using ANN for the water saturation estimation is given by Equation (6):
CR n = [ i = 1 N w 2 i ( 2 1 + e 2   ( w 1 i , 1   ρ n + w 1 i , 2   ML n + w 1 i , 3 Y n + w 1 i , 4 ARBR n + b 1 i ) 1 ) ] + b 2
where ρ n is the normalized value for the leaking/non-leaking case, ML n is the normalized value of the metal loss, Y n is the normalized value of the age of the casing, and ARBR n is the normalized value of ARBR, N is the total number of neurons from the trained model, w1 and w2 are the weights between input/hidden layers, and b1 and b2 are the biases in the input/hidden layers.

Procedure for Using the New Empirical Correlation for the Corrosion Rate

Following are the three steps to follow when adopting the new equation to predict a corrosion rate.
Step 1: Normalize the input parameters to be between −1 and 1. The input parameters (i.e., casing leaks, metal loss percentage, age of casing, and ARBR) are denoted here by “Input”. The general equation for normalization is Equation (7):
Input norm = ( Input max Input min ) ( X X min ) X max X min + Input min
where   Input min = 1 and Input max = 1 , X is the input parameter, Xmin is the minimum value of the trained input parameter, and Xmax is the maximum value of the trained input parameter. Xmin and Xmax are given in Table 1. To perform the normalization for casing leaks, metal loss percentage, age of casing, and ARBR, Equations (8)–(11) were used:
ρ n = 2 × ( ρ 0 1 0 ) 1
ML n = 2 × ( ML 0.1 0.82 0.1 ) 1
y n = 2 × ( y 12 67 12 ) 1
ARBR n = 2 × ( ARBR 0.095 0.908 0.095 ) 1
Step 2: The weights and biases given in Table 4 were necessary to apply Equation (6). The sequence of parameters going into the model was as follows: casing leaks, metal loss percentage, age of casing, and ARBR.
Step 3: Equation (6) gives the corrosion rate in a normalized form, within the range of −1 to 1. To de-normalize the corrosion rate and transform it into a real-value form, Equation (13) can be used:
CR = ( 26.368 3.052 ) ( CR n + 1 ) 2 + 3.052
CR = 11.652 × CR n + 14.72

4. Results and Discussion

A total of 250 data points were divided randomly into two sets, at a proportion of 0.7 to 0.3. The set with 70% of the data (i.e., 175 data points) was utilized for training the models, and the second set, with 30% of the data (i.e., 75 data points), was used to test the prediction capabilities of the trained models. Two AI techniques, ANN and ANFIS, were implemented to develop the models and predict the corrosion rate. A comparison was made between these techniques, based on the lowest AAPE and highest R2 for the actual and predicted values. For ANN, several runs were executed with various values for the model parameters. At every run, the parameters of learning rate, number of hidden layers with a corresponding number of neurons, and different transfer functions were all changed. For ANFIS, in genfis-2, the sensitivity of the cluster radii was performed such that it reached the optimum model. The proposed model(s) were tuned by optimizing their several variables via particle swarm optimization.
On a training dataset, ANN predicted the corrosion rate with an AAPE of 3.1, and ANFIS predicted the corrosion rate with an AAPE of 4.9. On the testing dataset, ANN predicted the corrosion rate with an AAPE of 3.8, and ANFIS predicted it with an AAPE of 5.4. Figure 4 and Figure 5 show a comparison of the corrosion rates predicted by ANN and ANFIS, during both the training and testing phases of modeling. Figure 6 shows a cross-plot comparison of the ANN and ANFIS techniques for predicting corrosion rates. To prevent the model from becoming stuck on a local minima, more than 50,000 realizations were performed with the initialization of different sets of weights and biases during training of the prediction modeling. After training, the optimum weights and biases from the trained model were extracted; these are given in Table 4.

5. Validation of the Proposed Model

To validate the new model, a variety of datasets from different wells were obtained. The data gathered via the EMIT logging tool response were then digitized. Table 5 shows the input parameters, actual corrosion rates, and predicted corrosion rates from the ANN model. With a new dataset, the proposed model yielded a perfect prediction by giving a coefficient of determination of 0.85, AAPE of 13 %, and RMSE of 3.7, as shown in Figure 7 and Table 6. The results obtained from the validation confirmed the generalization and robustness of the new model. Thus, it can be argued that the new model is capable of make predictions with any new dataset, so long as the inputs are within the range defined in Table 1.

6. Conclusions

This paper presents an ANN-based empirical model that can be used as a predictive tool when implementing wellbore integrity management strategies, leading to more sustained environmental protection. The imprecise results produced by the EMIT logging tool can be focused by studying the average metal loss measurements across the leaking and non-leaking metal loss hotspots, and presenting how the ARBR concept normalizes the impact of multiple casings sizes, grades, combinations, and thicknesses. The following conclusion can also be drawn from this study.
  • Machine learning techniques have successfully been shown to predict corrosion rates with a correlation of determination of approximately 94% in the case of ANN, and 96% when using ANFIS.
  • A new empirical model for estimating corrosion rates has been proposed that can be applied to any case in which the input parameters are within the developed model’s range; this can be accomplished without the need for intricate software.
  • ANFIS provides slightly better results. However, the estimation is not greatly affected if ANN is used. Furthermore, neural networks have been used to produce a practical working equation.
  • Additional techniques like SVMs and FNs should be explored to investigate the possibility of gaining better results.

Author Contributions

Every aspect of the paper was covered by the main author.

Funding

This research received no external funding.

Acknowledgments

The author would like to acknowledge Mr. Zeeshan Tariq for proofreading of this paper.

Conflicts of Interest

The author declares no conflict of interest.

Nomenclature

AAPEaverage absolute percentage error
AIartificial intelligence
ANFISadaptive neuro-fuzzy inference system
ANNartificial neural network
ARBRaverage remaining barriers ratio (dimensionless)
CRcorrosion rate, MPY
FNfunctional networks
SCsubtractive clustering
SVMsupport vector machines
TL1thickness loss from the outer string (in)
TL2thickness loss from the second outer string (in)
TL3thickness loss from the third outer string (in)
TN1nominal thickness of the outer string (in)
TN2nominal thickness of the second outer string (in)
TN3nominal thickness of the third outer string (in)
Xnumber of strings across a hotspot
nnumber of sample data points

References

  1. Kermani, M.B.; Harrop, D. The Impact of Corrosion on Oil and Gas Industry. SPE Prod. Facil. 1996, 11, 186–190. [Google Scholar] [CrossRef]
  2. Davies, R.J.; Almond, S.; Ward, R.S.; Jackson, R.B.; Adams, C.; Worrall, F.; Herringshaw, L.G.; Gluyas, J.G.; Whitehead, M.A. Oil and gas wells and their integrity: Implications for shale and unconventional resource exploitation. Mar. Pet. Geol. 2014, 56, 239–254. [Google Scholar] [CrossRef]
  3. Considine, T.J.; Watson, R.W.; Considine, N.B.; Martin, J.P. Environmental regulation and compliance of Marcellus Shale gas drilling. Environ. Geosci. 2013, 20, 1–16. [Google Scholar] [CrossRef]
  4. Ingraffea, A.R.; Wells, M.T.; Santoro, R.L.; Shonkoff, S.B.C. Assessment and risk analysis of casing and cement impairment in oil and gas wells in Pennsylvania, 2000–2012. Proc. Natl. Acad. Sci. USA 2014, 111, 10955–10960. [Google Scholar] [CrossRef] [PubMed]
  5. Klassen, W. Secondary Intervention of Blow Out Preventers. In Proceedings of the SPE Offshore Europe Oil and Gas Conference and Exhibition, Aberdeen, UK, 3–6 September 2013. [Google Scholar]
  6. Al-Ashhab, J.; Afzal, M.; Emenike, C.O. Well Integrity Management System (WIMS). In Proceedings of the Abu Dhabi International Conference and Exhibition, Abu Dhabi, UAE, 10–13 October 2004. [Google Scholar]
  7. Chatriwala, S.A.; Al-Subaie, F.M.; Al-Shehri, D.A.; Soremi, A.X.; Reaux, J. First Saudi Aramco Use of Retrievable Downhole Pressure and Temperature Gauges Monitoring System: A Cost Effective Technology Solution to Manage Maturing Oil and Gas Fields. In Proceedings of the SPE Saudi Arabia Section Technical Symposium, Al-Khobar, Saudi Arabia, 9–11 May 2009. [Google Scholar]
  8. Al Khamis, M.N.; Al Khalewi, F.T.; Al Hanabi, M.; Al Yateem, K.; Al Qatari, A.; Al Muailu, H. A Comprehensive Approach of Well Integrity Surveillance. In Proceedings of the International Petroleum Technology Conference; International Petroleum Technology Conference, Kuala Lumpur, Malaysia, 10–12 December 2014. [Google Scholar]
  9. Stokes, P.; Sandana, D.; Jones, L. Corrosion Management—it’s all gone holistic. In Proceedings of the SPE International Oilfield Corrosion Conference and Exhibition, Aberdeen, UK, 12–13 May 2014. [Google Scholar]
  10. AlAjmi, M.D.; Abdulraheem, A.; Mishkhes, A.T.; Al-Shammari, M.J. Profiling Downhole Casing Integrity Using Artificial Intelligence. In Proceedings of the SPE Digital Energy Conference and Exhibition, The Woodlands, TX, USA, 3–5 March 2015. [Google Scholar]
  11. Brill, T.M.; Demichel, C.; Nichols, E.A.; Zapata Bermudez, F. Electromagnetic Casing Inspection Tool for Corrosion Evaluation. In Proceedings of the International Petroleum Technology Conference, Bangkok, Thailand, 15–17 November 2011. [Google Scholar]
  12. Brill, T.M.; Le Calvez, J.-L.; Demichel, C.; Nichols, E.; Bermudez, F.Z. Quantitative Corrosion Assessment with an EM Casing Inspection Tool. In Proceedings of the SPE/DGS Saudi Arabia Section Technical Symposium and Exhibition, Al-Khobar, Saudi Arabia, 15–18 May 2011. [Google Scholar]
  13. Rahman, M.; Zahir, M.; Haq, M.; Shehri, D.; Kumar, A. Corrosion Inhibition Properties of Waterborne Polyurethane/Cerium Nitrate Coatings on Mild Steel. Coatings 2018, 8, 34. [Google Scholar] [CrossRef]
  14. McCafferty, E. Validation of corrosion rates measured by the Tafel extrapolation method. Corros. Sci. 2005, 47, 3202–3215. [Google Scholar] [CrossRef]
  15. Tems, R.D. Downhole corrosion. In Trends in Oil and Gas Corrosion Research and Technologies; Elsevier: Amsterdam, The Netherlands, 2017; pp. 79–94. [Google Scholar]
  16. Papavinasam, S. Monitoring—Internal Corrosion. In Corrosion Control in the Oil and Gas Industry; Elsevier: Amsterdam, The Netherlands, 2014; pp. 425–528. [Google Scholar]
  17. Papavinasam, S. The Oil and Gas Industry. In Corrosion Control in the Oil and Gas Industry; Elsevier: Amsterdam, The Netherlands, 2014; pp. 1–39. [Google Scholar]
  18. Al-Ajmi, M.D.; Al-Shehri, D.; Mahmoud, M.; Al-Hajri, N.M. Risk-Based Approach to Evaluate Casing Integrity in Upstream Wells. J. Energy Resour. Technol. 2018, 140, 122901. [Google Scholar] [CrossRef]
  19. Rammay, M.H.; Abdulraheem, A. PVT correlations for Pakistani crude oils using artificial neural network. J. Pet. Explor. Prod. Technol. 2016, 7, 217–233. [Google Scholar] [CrossRef]
  20. Nooruddin, H.A.; Anifowose, F.; Abdulraheem, A. Applying Artificial Intelligence Techniques to Develop Permeability Predictive Models using Mercury Injection Capillary-Pressure Data. In Proceedings of the SPE Saudi Arabia Section Technical Symposium and Exhibition, S Al-Khobar, Saudi Arabia, 19–22 May 2013. [Google Scholar]
  21. Hinton, G.E.; Osindero, S.; Teh, Y.-W. A Fast Learning Algorithm for Deep Belief Nets. Neural Comput. 2006, 18, 1527–1554. [Google Scholar] [CrossRef] [PubMed]
  22. Lippmann, R. Book Review: “Neural Networks, A Comprehensive Foundation”, by Simon Haykin. Int. J. Neural Syst. 1994, 05, 363–364. [Google Scholar] [CrossRef]
  23. Vineis, P.; Rainoldi, A. Neural networks and logistic regression: Analysis of a case-control study on myocardial infarction. J. Clin. Epidemiol. 1997, 50, 1309–1310. [Google Scholar] [CrossRef]
  24. Tariq, Z.; Elkatatny, S.; Mahmoud, M.; Ali, A.Z.; Abdulraheem, A. A New Approach to Predict Failure Parameters of Carbonate Rocks using Artificial Intelligence Tools. In Proceedings of the SPE Kingdom of Saudi Arabia Annual Technical Symposium and Exhibition, Dammam, Saudi Arabia, 24–27 April 2017. [Google Scholar]
  25. Jang, J.-S.R.; Sun, C.-T. Neuro-fuzzy modeling and control. Proc. IEEE 1995, 83, 378–406. [Google Scholar] [CrossRef]
  26. Jang, J.-S.R. ANFIS: adaptive-network-based fuzzy inference system. IEEE Trans. Syst. Man. Cybern. 1993, 23, 665–685. [Google Scholar] [CrossRef]
  27. Jang, J.-S.R. Input selection for ANFIS learning. In Proceedings of the IEEE 5th International Fuzzy Systems, New Orleans, LA, USA, 11 September 1996; Volume 2, pp. 1493–1499. [Google Scholar]
  28. Ebrahimi, M.; Sajedian, A. Use of Fuzzy Logic for Predicting Two Phase Inflow Performance Relationship of Horizontal Oil Wells. In Proceedings of the Trinidad and Tobago Energy Resources Conference, Port of Spain, Trinidad and Tobago, 27–30 June 2010; ISBN 978-1-61738-885-9. [Google Scholar]
  29. Walia, N.; Singh, H.; Sharma, A. ANFIS: Adaptive Neuro-Fuzzy Inference System—A Survey. Int. J. Comput. Appl. 2015, 123, 32–38. [Google Scholar] [CrossRef]
  30. Tahmasebi, P.; Hezarkhani, A. A hybrid neural networks-fuzzy logic-genetic algorithm for grade estimation. Comput. Geosci. 2012, 42, 18–27. [Google Scholar] [CrossRef] [PubMed]
  31. Abdulraheem, A.; Sabakhy, E.; Ahmed, M.; Vantala, A.; Raharja, P.D.; Korvin, G. Estimation of Permeability from Wireline Logs in a Middle Eastern Carbonate Reservoir Using Fuzzy Logic. In Proceedings of the SPE Middle East Oil and Gas Show and Conference, Manama, Bahrain, 11–14 March 2007. [Google Scholar]
  32. Shujath Ali, S.; Hossain, M.E.; Hassan, M.R.; Abdulraheem, A. Hydraulic Unit Estimation From Predicted Permeability and Porosity Using Artificial Intelligence Techniques. In Proceedings of the North Africa Technical Conference and Exhibition, Cairo, Egypt, 15–17 April 2013. [Google Scholar]
  33. Abdulraheem, A.; Ahmed, M.; Vantala, A.; Parvez, T. Prediction of Rock Mechanical Parameters for Hydrocarbon Reservoirs Using Different Artificial Intelligence Techniques. In Proceedings of the SPE Saudi Arabia Section Technical Symposium, Al-Khobar, Saudi Arabia, 9–11 May 2009. [Google Scholar]
  34. Tariq, Z.; Abdulraheem, A.; Mahmoud, M.; Ahmed, A. A Rigorous Data-Driven Approach to Predict Poisson’s Ratio of Carbonate Rocks Using a Functional Network. Petrophysics—SPWLA J. Form. Eval. Reserv. Descr. 2018, 59, 761–777. [Google Scholar]
  35. Tariq, Z.; Elkatatny, S.; Mahmoud, M.; Abdulraheem, A. A Holistic Approach to Develop New Rigorous Empirical Correlation for Static Young’s Modulus. In Proceedings of the Abu Dhabi International Petroleum Exhibition & Conference, Abu Dhabi, UAE, 7–10 November 2016. [Google Scholar]
  36. Tariq, Z.; Mahmoud, M.A.; Abdulraheem, A.; Al-Shehri, D.A. On Utilizing Functional Network to Develop Mathematical Model for Poisson’s Ratio Determination. In Proceedings of the 52nd U.S. Rock Mechanics/Geomechanics Symposium, Seattle, WA, USA, 23–26 June 2018. [Google Scholar]
  37. Al-Azani, K.; Elkatatny, S.; Abdulraheem, A.; Mahmoud, M.; Al-Shehri, D. Real Time Prediction of the Rheological Properties of Oil-Based Drilling Fluids Using Artificial Neural Networks. In Proceedings of the SPE Kingdom of Saudi Arabia Annual Technical Symposium and Exhibition, Dammam, Saudi Arabia, 23–26 April 2018. [Google Scholar]
  38. Elzenary, M.; Elkatatny, S.; Abdelgawad, K.Z.; Abdulraheem, A.; Mahmoud, M.; Al-Shehri, D. New Technology to Evaluate Equivalent Circulating Density While Drilling Using Artificial Intelligence. In Proceedings of the SPE Kingdom of Saudi Arabia Annual Technical Symposium and Exhibition, Dammam, Saudi Arabia, 23–26 April 2018. [Google Scholar]
  39. Adebayo, A.R.; Abdulraheem, A.; Olatunji, S.O. Artificial intelligence based estimation of water saturation in complex reservoir systems. J. Porous Media 2015, 18, 893–906. [Google Scholar] [CrossRef]
  40. Tariq, Z.; Mahmoud, M.; Al-Shehri, D.; Sibaweihi, N.; Sadeed, A.; Hossain, M.E. A Stochastic Optimization Approach for Profit Maximization Using Alkaline-Surfactant-Polymer Flooding in Complex Reservoirs. In Proceedings of the SPE Kingdom of Saudi Arabia Annual Technical Symposium and Exhibition, Dammam, Saudi Arabia, 23–26 April 2018. [Google Scholar]
  41. Anifowose, F.; Adeniye, S.; Abdulraheem, A. Recent advances in the application of computational intelligence techniques in oil and gas reservoir characterisation: A comparative study. J. Exp. Theor. Artif. Intell. 2014, 26, 551–570. [Google Scholar] [CrossRef]
Figure 1. View of external corrosion attacking an outer casing string on a well with an active aquifer.
Figure 1. View of external corrosion attacking an outer casing string on a well with an active aquifer.
Sustainability 11 00818 g001
Figure 2. Typical response of the EMIT logging tool showing the metal loss percentage.
Figure 2. Typical response of the EMIT logging tool showing the metal loss percentage.
Sustainability 11 00818 g002
Figure 3. Typical structure of an ANN.
Figure 3. Typical structure of an ANN.
Sustainability 11 00818 g003
Figure 4. Training comparison of different AI techniques for predicting corrosion rates.
Figure 4. Training comparison of different AI techniques for predicting corrosion rates.
Sustainability 11 00818 g004
Figure 5. Testing comparison of different AI techniques for predicting corrosion rates.
Figure 5. Testing comparison of different AI techniques for predicting corrosion rates.
Sustainability 11 00818 g005
Figure 6. Training and testing cross-plot comparison of different AI techniques for predicting corrosion rates.
Figure 6. Training and testing cross-plot comparison of different AI techniques for predicting corrosion rates.
Sustainability 11 00818 g006
Figure 7. Validation of the proposed model.
Figure 7. Validation of the proposed model.
Sustainability 11 00818 g007
Table 1. Training data statistics for corrosion prediction.
Table 1. Training data statistics for corrosion prediction.
ParameterLeaking Case (Yes/No)Average ML, %Age, YearsAverage Remaining Barriers RatioCorrosion Rate, MPY
Mean0.1070.33140.6640.6999.930
Standard Error0.0280.0130.9250.0130.418
Median0.0000.30041.0000.7329.644
Mode0.0000.23042.0000.77918.227
Standard Deviation0.3100.14810.2190.1424.614
Sample Variance0.0960.022104.4230.02021.288
Kurtosis4.7450.3440.7892.1551.386
Skewness2.5820.8040.216-1.1901.051
Range1.0000.72055.0000.81323.316
Minimum0.0000.10012.0000.0953.052
Maximum1.0000.82067.0000.90826.368
Sum13.00040.3804961.00085.2311211.481
Count122.000122.000122.000122.000122.000
Table 2. Developed neural network model for predicting the corrosion rate architecture.
Table 2. Developed neural network model for predicting the corrosion rate architecture.
Neural Network ParameterRange
Number of Inputs3
Number of Outputs1
Number of Neurons20
Number of Hidden Layer(s)1
Training AlgorithmLevenberg–Marquardt
Learning Rate, α 0.12
Hidden-Layer Transfer FunctionTangential sigmoidal
Outer-Layer Transfer FunctionPure linear
Training Ratio0.7
Testing Ratio0.15
Validation Ratio0.15
Table 3. ANFIS model architecture.
Table 3. ANFIS model architecture.
Neural Network ParameterRange
Number of Inputs3
Number of Outputs1
Number of Rules5
Genfis Type2
Cluster Radius0.5
Epoch Size500
Table 4. Weights and biases of the ANN model for predicting the corrosion rate (in mills per year).
Table 4. Weights and biases of the ANN model for predicting the corrosion rate (in mills per year).
Hidden Layer Neurons (N)Weights Between Input and Hidden Layers (W1)Weights Between Hidden and Output Layers (W1)Hidden Layer Bias (b1)Output Layer Bias (b2)
LeakML, %AGE, YearsARBR
1−0.80562.0361−0.78061.54710.58933.26300.3366
20.7801−2.2259−1.1987−1.4638−0.7081−2.5455
3−1.15181.98190.52521.2399−0.26562.8491
4−2.2960−0.08090.2676−2.3103−0.86991.8388
5−2.72861.15791.03550.29120.29491.1351
62.4246−0.54610.92560.6130−0.4835−1.6147
71.44962.50891.45690.09581.0998−1.2605
81.3588−0.3056−1.7989−1.13401.0042−1.4414
9−1.9955−0.3955−1.7329−0.62821.3636−0.0667
102.6130−0.88451.0068−0.3291−0.5042−0.6139
110.36501.74723.18601.1018−0.94590.4697
12−0.6945−1.5393−0.9785−1.16271.0357−0.9896
130.10431.8686−0.6753−2.2764−0.00620.8773
14−2.1720−0.48802.05170.9744−1.3560−1.1831
15−0.4380−2.0103−3.1879−0.2956−1.1222−1.5927
161.1553−2.1156−1.5031−1.5825−1.07561.9112
170.74082.11811.62520.7625−0.25582.1355
180.15000.4894−2.47711.6431−0.51022.0059
19−1.9882−0.40980.3490−1.9301−0.3645−2.9039
201.27172.30140.92311.14250.90992.9353
Table 5. Performance comparison of different AI techniques.
Table 5. Performance comparison of different AI techniques.
IDLeaking Case (Yes/No)Average ML% Age, YearsAverage Remaining Barriers RatioCorrosion Rate, MPYANN APEAAPE
ANNANN
110.59450.45510.25311.87715.83913.919
200.3450.7447.3278.34713.921
300.21220.78912.50512.2412.111
400.25460.7875.9736.93816.156
500.4400.65810.99012.73815.905
600.24370.7688.1738.6075.310
700.31390.7368.73610.71522.653
800.18410.8474.8255.48813.741
900.19450.8384.6405.49318.384
1000.38420.6769.94311.16212.260
1100.39420.66810.20511.34611.181
1200.47400.57713.41914.5058.093
1310.53430.52213.54612.3708.682
1400.2340.8015.0886.82134.061
1500.16410.8826.0644.25729.799
1600.19420.8424.8505.77319.031
1700.47370.57120.05817.61212.195
1800.13400.8893.5723.5251.316
1900.34460.7108.1238.8188.556
2000.22280.7869.9558.81811.421
2100.42530.6259.0509.99410.431
2200.23410.8147.8097.2607.030
2300.25550.7715.3735.2312.643
2400.22450.8207.7446.31818.414
2500.33450.7198.0598.93710.895
2600.31440.7306.4758.96538.456
2700.25370.78010.3658.51817.820
2800.68410.36618.22722.69624.519
2900.36370.69310.69313.11422.641
3010.62450.42915.14211.93621.173
3100.4420.65810.46711.54410.289
3200.27560.7376.0415.5837.582
3300.42420.63710.99011.9418.653
3400.27330.7619.3479.1332.290
3500.24580.7794.9124.6365.619
3600.24280.76710.8609.55512.017
Table 6. Validation results of the ANN-based model.
Table 6. Validation results of the ANN-based model.
AAPERMSECCR2
133.70.920.847

Share and Cite

MDPI and ACS Style

Al-Shehri, D.A. Oil and Gas Wells: Enhanced Wellbore Casing Integrity Management through Corrosion Rate Prediction Using an Augmented Intelligent Approach. Sustainability 2019, 11, 818. https://doi.org/10.3390/su11030818

AMA Style

Al-Shehri DA. Oil and Gas Wells: Enhanced Wellbore Casing Integrity Management through Corrosion Rate Prediction Using an Augmented Intelligent Approach. Sustainability. 2019; 11(3):818. https://doi.org/10.3390/su11030818

Chicago/Turabian Style

Al-Shehri, Dhafer A. 2019. "Oil and Gas Wells: Enhanced Wellbore Casing Integrity Management through Corrosion Rate Prediction Using an Augmented Intelligent Approach" Sustainability 11, no. 3: 818. https://doi.org/10.3390/su11030818

APA Style

Al-Shehri, D. A. (2019). Oil and Gas Wells: Enhanced Wellbore Casing Integrity Management through Corrosion Rate Prediction Using an Augmented Intelligent Approach. Sustainability, 11(3), 818. https://doi.org/10.3390/su11030818

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