Next Article in Journal
Structural Models in Corporate Social Responsibility: Attraction of Investment in Tunisia
Next Article in Special Issue
A Hybrid Artificial Intelligence Model to Predict the Elastic Behavior of Sandstone Rocks
Previous Article in Journal
Spatiotemporal Variation of Annual Runoff and Sediment Load in the Pearl River during 1953–2017
Previous Article in Special Issue
Development of Output Correction Methodology for Long Short Term Memory-Based Speech Recognition
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Real-Time Prediction of the Rheological Properties of Water-Based Drill-In Fluid Using Artificial Neural Networks

by
Salaheldin Elkatatny
College of Petroleum Engineering & Geosciences, King Fahd University of Petroleum & Minerals, Dhahran 31261, Saudi Arabia
Sustainability 2019, 11(18), 5008; https://0-doi-org.brum.beds.ac.uk/10.3390/su11185008
Submission received: 14 August 2019 / Revised: 10 September 2019 / Accepted: 11 September 2019 / Published: 12 September 2019

Abstract

:
The rheological properties of drilling fluids are the key parameter for optimizing drilling operation and reducing total drilling cost by avoiding common problems such as hole cleaning, pipe sticking, loss of circulation, and well control. The conventional method of measuring the rheological properties are time-consuming and require a high effort for equipment cleaning, so they are only measured twice a day. There is a need to develop an automated system to measure the rheological properties in real-time based on the frequent measurements of mud density, Marsh funnel time, and solid percent. The main objective of this paper is to apply a modified self-adaptive differential evolution technique to determine the optimum combination of an artificial neural network’s variables to precisely predict the rheological properties of water-based drill-in fluid using the frequent measuring of mud density, Marsh funnel time, and solid percent. The second objective is whitening the black box of an artificial neural network by developing five new empirical correlations to determine the rheological properties without the need for the artificial neural network models. Actual field measurements (900 data points) were used to train, test, and validate the artificial neural network models and the developed empirical correlations. The optimization process illustrated that the best training function was Bayesian regularization backpropagation (trainbr), and the best transferring function was Elliot symmetric sigmoid (elliotsig). The optimum number of neurons was 30 for the plastic viscosity and the flow consistency index, while it was 29 for apparent viscosity, yield point, and the flow behavior index. The developed artificial neural network models and empirical correlations predicted the rheological properties with high accuracy. The correlation coefficient (R) was more than 90%, and the average absolute percentage error was less than 8.6%. The new technique for rheological properties estimation is an example of the new development which will help the new generation to discover and extract oil and gas with less cost and with safer operations.

1. Introduction

Water-based drill-in fluid (WBDIF) is used to drill the reservoir section, which carries the hydrocarbon. WBDIF should be designed to be non-damaging by building an impermeable layer on the face of the formation during the drilling process while this layer should be removed easily before casing and cementing the hole. WBDIF should provide stable rheological properties (RHPs) in order to provide a stable and clean hole and to prevent cutting accumulation, both of which lead to the possibility of pipe sticking, [1,2,3]. The main function of WBDIF is to support formation pressure and prevent reservoir fluid from entering the wellbore while drilling [4]. In addition, the drill-in fluid should cool and lubricate the bit and the drill string [5,6].
Sodium chloride-water-based drill-in fluid (NaCl-WBDIF) is mainly used while drilling the reservoir section. NaCl salt is used as a weighting material to increase mud density, while the Na+ ions work as shale stabilizers [7]. NaCl polymer mud is characterized as an inhibited, non-dispersed drilling fluid in which the viscosity control and the filtration properties are enhanced by using some types of polymers such as xanthan gum and starch. This helps reduce the possibility of formation damage [8].
RHPs play a key role in the success of the drilling operation. RHPs such as plastic viscosity (PV), yield point (YP), apparent viscosity (AV), flow consistency index (K), and flow behavior index (n) should be determined in real-time to calculate rig hydraulics and determine the required pressure to optimize hole cleaning. Increasing the PV value gives an indication about the increase in solid content, and it can highly affect the rate of penetration [9,10,11]. Paiaman et al. [12] stated that a lower YP value is preferred in turbulent flow, while a high YP value is required for laminar flow. The ratio of YP/PV is very important for hole cleaning. The YP/PV ratio should be greater than 1.5 [13]. The consistency index of the drilling fluid (k) is the main controlling parameter of the carrying capacity index (CCI) [14].
The common procedure in rig-sites is that the drilling crew usually measures the mud density and Marsh funnel time [15] every 15–20 min, and these measurements are used as indicators for the changes in the fluid properties [16]. Other RHPs (PV, YP, n, and K) are usually measured twice a day, as it requires a long time to heat the fluid, record, analyze the data, and clean the equipment. This process is tedious and time-consuming.
The effect of solid content on drilling fluid RHPs is very obvious, as can be seen throughout the literature. The objective of this study was to develop novel empirical models that are capable of acquiring the RHPs of NaCl polymer mud using one of the powerful artificial intelligence techniques—the artificial neural network (ANN)—using 900 field measurements of mud density (MD), Marsh funnel time (FT), and solid percent (SP). The novelty of this research is getting a real-time prediction (every 10–15 min) of the mud RHPs. Additionally, in this paper, a self-adaptive evolution algorithm was used to optimize the input parameters at the same time, and this was linked with the ANN model. The developed method depends on taking the reading from the automated Marsh funnel system (which contains different sensors) and applying artificial neural network models to predict the rheological properties every 10–20 min, which enable the driller to understand the changes of the drilling fluid properties as well as changes in the rig hydraulics. This make decisions regarding the required action based on given information much faster.

Artificial Neural Network

The concept of artificial networks was introduced into engineering research in the 1940s [17,18]. At early stages, artificial intelligence (AI) was used to solve the complex equations and mimic the nervous system [19,20].
The ANN has been considered as an effective AI tool; therefore, it has been widely applied in several fields such as classification and optimization tasks [21,22]. The ANN model is a system of neurons and hidden layers [23]. Usually, the whole data are grouped into two sets—training and testing data sets. The training group is used to train the network and capture the relationship between the input and output parameters, while the testing data are used to measure the reliability of the developed ANN system. During the training stage, the testing data remain unseen by the model, which provides more confidence regarding model reliability [24,25,26].
Alajmi et al. [27] predicted choke performance using an ANN. Alarifi et al. [28] estimated the productivity index for oil horizontal wells using an ANN, a functional network and fuzzy logic. Chen et al. [29] applied a NN and fuzzy logic to evaluate the performance of an inflow control device (ICD) in a horizontal well. Their model investigated the influences of reservoir parameters (such as reservoir size, thickness, reservoir heterogeneity, and permeability ratio) on ICD completion performance. Van and Chon [30,31] evaluated the performance of carbon dioxide (CO2) flooding using ANN techniques. They developed ANN models for determining oil production rate, CO2 production, and gas-oil ratio (GOR).
The self-adaptive differential evolution (SaDE) was introduced by Qin et al. [32] to overcome the common issues of the differential evaluation (DE) [33]. The advantage of the SaDE is the ability to self-adapt the controlling parameters and mutation strategies based on the learning experience in the previous algorithm generations to obtain better results. Moussa and Awotunde [34] developed a modified SaDE that can be used for the optimization in different engineering problems.
Al-Khdheeawi and Mahdi [35] applied an ANN to predict the apparent viscosity of water-based drilling fluid using the mud density and Marsh funnel time. They concluded that the developed ANN correlation could predict AV with an average absolute percentage error (AAPE) of 8.6% and a correlation coefficient of 98.8%. Gowida et al. [36] stated that the ANN can be used efficiently to predict the rheological properties of the calcium chloride (CaCl2) water-based drilling fluid based on mud density and Marsh funnel time.
Zhang et al. [37] developed a new technique for breast cancer detection using a combination of rectified linear unit and rank-based stochastic pooling. They concluded that the detection efficiency of the new technique overcomes the known six standard techniques known for breast cancer detection. For abnormal breasts in mammogram images, Wang et al. [38] developed a combined system of a feed-forward neural network with principal computer analysis, a Jaya algorithm, and a weighted-type fractional Fourier transform. They concluded that Jaya was a better algorithm for training the feed-forward neural network than the common know algorithms, and the developed technique was able to detect the abnormal breast with high accuracy (>92.27%).
The main goal of this study was to develop new sets of empirical correlations, optimized using modified self-adaptive differential evolution (MSaDE), to determine the RHPs of NaCl-WBDIF using a hybrid ANN model.

2. Methodology

ANN variables such as percent of training to testing, number of neurons, training and testing functions, and the number of layers should be optimized to develop a robust ANN model, and from this model, empirical correlation can be extracted. In this study, MSaDE was applied to optimize the variable parameters of the ANN for different RHPs. Nine-hundred field measurements were used to train, test, and validate the ANN models. The data were selected randomly to train the model, with 65% of the data being used for training (570 data points), 23% of the data being used for testing (180 data points), and 12% of the data being used (150 data points) for further validation. The ANN models were built using 88% of the available data, including training and testing and based on the optimized models, and the new empirical correlation was developed. The 12% remaining of data were used to validate the developed empirical correlations. The correlation coefficient ®, AAPE, and visualization check were used as criteria to evaluate the developed models and correlations.
The AAPE is a measure of the relative deviation of the predicted data from the real data and can be calculated using Equation (1):
AAPE = 1 n i = 1 n | E i |
where n is the number of data points and Ei is the relative deviation of a predicted value from a real value, Equation (2);
E i = ( y real y predict y real ) 100
For the network training and transferring functions, two pools of 12 different training functions and 7 transferring functions were established, respectively. Each individual training/transferring function was indexed and used as one of the input parameters to the MSaDE optimization algorithm along with the other parameters such as the number of neurons, the percent of training to testing, and the number of hidden layers. Twenty independent optimization runs were performed to optimize the above-mentioned parameters. The optimization run that resulted best fit (in terms of the highest R and the lowest AAPE was considered as the best run, and its results are shown and discussed in this paper.

Data Description

Data were collected from different wells which were drilled using NaCl-WBDIF. Nine-hundred data records of MD, FT, SP, PV, and YP were used to train, test and validate the developed correlations for different RHPs. The data were collected while drilling a different reservoir section in which non-damaging drill-in fluid was used. The rheological properties were measure twice a day, and the mud density, solid percent and Marsh funnel time were measured at the same time.
Table 1 lists the statistical parameters of the nine-hundred data points. The drill-in fluid covered a wide range of fluid density where the MD ranged from 64 to 121 ppg. The FT ranged from 35 to 91 s/quart, and SP ranged from 0 to 32.5%. PV ranged from 7 to 51 cP, and the YP ranged from 19 to 45 lb/100 ft2. Figure 1 shows that the PV was a strong function of MD and SP, where the R was 0.76 and 0.70 for MD and SP, respectively. PV was a moderate function of FT, with its R being 0.57. YP was a strong function of MD and moderate function of SP and FT. The R was 0.67, 0.58, and 0.42 for MD, SP, and FT, respectively, as seen in Figure 1.

3. Results and Discussion

3.1. Building Artificial Intelligence Models

The MSaDE technique was applied to optimize the ANN model for the PV. Equations (3)–(6) were used to normalize the input and the output parameters for the model. To train the ANN model, 570 data points were used.
MD n = 0.034 ( MD 64 ) 1
FT n = 0.036 ( FT 35 ) 1
SP n = 0.062 SP 1
PV n = 0.044 ( PV 6 ) 1
The optimization process showed that the best training function was Bayesian regularization backpropagation (trainbr) when using three input parameters (MD, FT, SP), and the optimized number of neurons was 30 when only one hidden layer was applied. The optimization process showed that the best transferring function was Elliot symmetric sigmoid (elliotsig).
Figure 2 shows that the R was 0.97 and the AAPE was 7.8% between the actual and predicted PV for the training data. For testing the model, 180 data points were used. Figure 2 shows that the R was 0.95 and the AAPE was 8.4% between the actual and predicted PV for the testing data.
The above results confirmed the high accuracy of using the MSaDE-ANN technique to predict the PV. For further validation, 150 unseen data points were used to evaluate the developed ANN-PV model. Figure 2 shows that the R was 0.96 and the AAPE was 8.6%, with an excellent match between the actual and predicted PV values for the validation points.
The same procedure was used to estimate the YP values using MD, FT, and SP. Training data (570 data points) were used to build the ANN-YP model. The optimization process after applying the MSaDE technique showed that the optimized number of neurons was 29, the optimum training function was Bayesian regularization backpropagation (trainbr), and the best transferring function was Elliot symmetric sigmoid (elliotsig).
Figure 3 shows that the R was 0.96 and the AAPE was 3.5% when using the MSaDE-ANN model to predict the YP values for the training data set. To test the developed model for YP, another set of data (180 unseen data points) was used. Figure 3 shows that for the unseen data, the R was 0.95 and the AAPE was 3.6. These results confirmed the high accuracy of the MSaDE-ANN model for predicting the YP from the MD, FT, and SP.
The flow behavior index (n) was used to describe the degree of fluid deviation from the standard Newtonian behavior. In other words, n was used to represent the degree of non-Newtonian behavior. For drilling fluids that act according to the pseudoplastic fluids behavior, the standard value of n is between zero and 1 [39], where the value is 1 for Newtonian fluids behavior and less than 1 for dilatant fluids. n also can be used as a representation of the shear-thinning properties of the drilling fluids. A fluid with a low value of n is good for hole cleaning purposes.
The flow behavior index (n) can be calculated through Equation (7) based on the values of PV and YP [40].
n = 3.32 log ( 2 PV + YP PV + YP )
The MSaDE technique was applied to optimize the variable parameters of the ANN model for n. The optimization process yielded that the optimized number of neurons was 29, the optimum training function was Bayesian regularization backpropagation (trainbr), and the best transferring function was Elliot symmetric sigmoid (elliotsig).
Figure 4 shows that the MSaDE-ANN predicted n with high accuracy, where the R was 0.94 and the AAPE was 3.96% for the training dataset (570 data points). The same results were obtained when applying the ANN-n model for the unseen data set (180 data points). The R was 0.93 and the AAPE was 4.1% between the actual and predicted values of n, as seen in Figure 4.
A new set of data was used to validate the developed ANN-n model (150 data points). Figure 4 shows the high accuracy of the developed model to calculate n values based on MD, FT, and SP. The R was 0.94 and the AAPE was 4.0% between the calculated and actual values of n.
The flow consistency index (K) can be calculated from the PV and YP values using Equation (8) [39].
K = 2 PV + YP 1022 3.22 log ( 2 PV + YP PV + YP )
The optimization technique (MSaDE) was applied for the training dataset (570 data points) to determine the best combination of ANN variables to predict the K values based on MD, FT, and SP. The optimization process showed that the optimum number of neurons was 30, the optimum training function was Bayesian regularization backpropagation (trainbr), and the best transferring function was Elliot symmetric sigmoid (elliotsig).
Figure 5 shows that the R was 0.92 and the AAPE was 8.0% when plotting the actual and predicted values of K for the training dataset. For testing the developed ANN-K model, 150 unseen data points were used. Figure 5 shows that the R was 0.90 and the AAPE was 8.6% for the testing data.
For further validation for the developed model for K, a new set of data was used (150 data points). Figure 5 shows that the R was 0.91 and the AAPE was 8.4% when plotting the calculated and actual values of K.

3.2. Development of Empirical Correlations

Plastic viscosity can be estimated using Equation (9) in normalized form using the weights and biases of the optimized PV-ANN model.
PV n = i = 1   N w 2 i w 1 1 MD n + w 1 2 FT n + w 1 3 SP n + b 1 i 1 + | w 1 1 MD n + w 1 2 FT n + w 1 3 SP n + b 1 i | + b 2
where PVn is the PV in the normalized form; N is the optimized number of neurons (30 neurons); w1 and w2 are the weights between the input layer and hidden layer and the weights between the hidden layer and the output layer, respectively (see Table 2); b1 is the biases between the input layer and the hidden layer; b2 = 0.073, which is the bias associated with hidden layer and output layer; and MDn, FTn, and SPn are the normalized value of the MD, FT, and SP, respectively.
The de-normalized value of the PV can be obtained using Equation (10).
PV = 22.727 PV n + 28.727
Using the weights and biases of the optimized MSaDE-ANN model for YP, Equation (9) can be used to calculate the normalized value of YP by changing the PV n by YP n . Equation (11) can be used to determine the actual value of YP. Table 3 list the values of w1, w2, i, and b1. The value of b2 was 1.309.
YP = 16.393 YP n + 28.393
The normalized flow behavior index can be calculated using Equation (9) by changing PV n by n n based on the optimized ANN-n model by extracting the weights and biases. To obtain the de-normalized value of n, Equation (12) can be used. Table 4 lists the values of w1, w2, b1, and i. b2 was 1.209.
n = 0.226 n n + 0.516
The flow consistency index (K) can be estimated as a function of MD, FT, and SP using Equation (9) in a normalized form which was developed using the weights and biases of the optimized ANN-K model. The normal values of K can be calculated using Equation (13). Table 5 lists the values of w1, w2, b1, and i. b2 was −0.148.
k = 2.16 K n + 2.90
AV can be calculated using Equation (9) as a function of MD, FT, and SP, which was developed based on the optimized ANN-AV model by extracting the weights and biases. Equation (14) can be used to calculate the de-normalized values of AV. Table 6 lists the values of w1, w2, b1, and i. b2 was −0.248.
AV = 10.73 AV n + 27.23

3.3. Comparison with Previous Models

To compare the new MSaDE-ANN technique for the RHPs, the AV was predicted using the MSaDE-ANN, and the obtained results were compared with Pitt [41] and Almahdawi et al. [42]. The actual values of AV can be calculated based on PV and YP using Equation (15).
AV = 2 PV + YP 2
Figure 6 shows the high accuracy of the developed ANN-AV model for the training dataset using the MSaDE technique. The R was 0.97 and the AAPE was 5.1% when plotting the predicted and actual AV values (570 data points). The same results were obtained for the testing data set, where the R was 0.97 and the AAPE was 5.3%, as can be seen in Figure 6.
For the further validation of the AV developed ANN-AV model, a new data set was used (150 data points). Figure 6 shows that the R was 0.96 and the AAPE was 5.8% between the calculated and actual values of AV.
Pit [41] illustrated that the AV can be calculated as a function of MD and FT using Equation (16), while Almahdawi et al. [42] stated that AV can be determined using Equation (17).
AV = MD ( FT 25 )
AV = MD ( FT 28 )
Applying Equations (16) and (17) using the available data sets (900 data points) showed that the ANN-AV model outperformed these models. Figure 7 shows that the coefficient of determination (R2) when plotting the calculated and actual valued of AV was 0.94 when the ANN-AV equation was used, 0.65 when Pitt’s equation was used, and 0.64 when Almahdawi’s equation was used. Figure 8 shows that the ANN-AV equation yielded the lowest AAPE (5.26%) as compared with the Pitt [41] equation (the AAPE was 31.47%) and the Almahdawi et al. [42] equation, where the AAPE was 24.81%.

3.4. Sensitivity Analysis

As mentioned earlier, the methodology of this study involved 20 independent optimization runs. Figure 9 shows that 18 out of the 20 optimization runs showed that the best training algorithm that achieved the best fit was the trainbr. The remaining two optimization runs were distributed equally between trainlm and trainbfg. This shows the consistency of this training function in achieving 90% of the best-fit performance compared to the other training algorithms. Figure 10 shows the best results achieved by each of the three training algorithms. The figure demonstrates that trainbr achieved the highest R and the lowest AAPE. The outperformance of trainbr could be related to its backpropagation capability of minimizing a combination of the squared errors and weights to determine the optimum combination that produces an ANN that is able to generalize well by preventing the overfitting (preventing increasing values of weights).
Figure 11 shows the sensitivity of the ANN performance to the number of neurons. The ANN performance indicators were the correlation coefficient (R) and the AAPE for the training and testing datasets. The figure demonstrates that, generally, increasing the number of neurons enhanced the ANN performance in terms of increasing the R of testing until reaching an optimum value of 30 neurons; then, the performance dropped. The reason for this behavior was the overfitting. Increasing the number of neurons to a very large value resulted in the ANN performing well on the training set but performing poorly on the testing set, which indicates overfitting. This is demonstrated by the figure, as it shows when the number of neurons increased more than 30, the R-value of training set generally increased, but the R-value of testing generally decreased. Therefore, the optimum number of neuron, in this case, was determined to be 30 neurons. Figure 12 shows the topography of the ANN with the optimized number of neurons.

4. Conclusions

The modified self-adaptive differential evolution technique was implemented to optimize the different variables of an ANN to determine the RHPs of NaCl-WBDIF using actual field measurements (900 data points) of MD, FT, and SP. Based on the obtained results, the following conclusions can be drawn:
  • For all rheological properties, the optimization process showed that the best training function was Bayesian regularization backpropagation (trainbr) and the best transferring function was Elliot symmetric sigmoid (elliotsig).
  • The optimum number of neurons was 30 for PV and K, while it was 29 for n, AV and YP.
  • The developed ANN models predicted the RHPs with high accuracy. The R was more than 90%, and the AAPE was less than 8.6%.
  • The five empirical equations for the RHPs were simple and accurate to be applied in a real-time without the need for ANN models or any special equipment.
  • The AV empirical equations based on the optimized ANN model outperformed the previous AV models.
It is recommended to develop an automated Marsh funnel system that measures the mud density, Marsh funnel time, and solid percent using automated method, and the yielded results can be used as inputs for the developed ANN models, which can be used to estimate the rheological properties every 5–10 min. This will enable the driller to understand the changes in the drilling fluid properties as well as the changes in the rig hydraulics. This make decisions regarding the required action based on given information much faster.

Funding

This research received no external funding.

Acknowledgments

The authors wish to acknowledge King Fahd University of Petroleum and Minerals (KFUPM) for utilizing the various facilities in carrying out this research. Many thanks are due to the anonymous referees for their detailed and helpful comments.

Conflicts of Interest

The author declares no conflict of interest.

Abbreviations

RHPsRheological properties
WBDIFWater-based drill-in fluid
NaCl-WBDIFSodium chloride-water-based drill-in fluid
ANN Artificial neural network
AIArtificial intelligent
DEDifferential evaluation
SaDESelf-adaptive differential evolution
MSaDEModified self-adaptive differential evolution
MDMud density, ppg
FTMarsh funnel time, s/quart
SPSolid percent, %
PVPlastic viscosity, cP
YPYield point, 100/ 100 ft2
nFlow behavior index
KFlow consistency index, 100/ 100 ft2
AVApparent viscosity, cP
RCorrelation coefficient
MDnNormalized value of mud density
FTnNormalized value of Marsh funnel time
SPnNormalized value of solid percent
PVnNormalized value of plastic viscosity
YPnNormalized value of yield point
AVnNormalized value of apparent viscosity
nnNormalized value of flow behavior index
KnNormalized value of flow consistency index
R2Coefficient of determination
AAPEAverage absolute percentage error
CCICarrying capacity index
ICDInflow control device
GORGas-oil ratio
CO2Carbon dioxide
CaCl2Calcium chloride
yrealActual value for any properties
ypredictedPredicted value using any model
elliotsigElliot symmetric sigmoid
NNumber of neurons
w1Weights between the input layer and hidden layer
w2Weights between the hidden layer and the output layer
b1Biases between the input layer and the hidden layer
b2Bias associated with hidden layer and output layer

References

  1. Zhang, X.; Jiang, G.; Xuan, Y.; Wang, L.; Huang, X. Associating Copolymer Acrylamide/Diallyldimethylammonium Chloride/Butyl Acrylate/2-Acrylamido-2-methylpropanesulfonic Acid as a Tackifier in Clay-Free and Water-Based Drilling Fluids. Energy Fuels 2017, 31, 4655–4662. [Google Scholar] [CrossRef]
  2. Zhang, L.-M.; Tan, Y.B.; Li, Z.M. Application of a new family of amphoteric cellulose-based graft copolymers as drilling-mud additives. Colloid Polym. Sci. 1999, 277, 1001–1004. [Google Scholar] [CrossRef]
  3. Luo, Z.; Pei, J.; Wang, L.; Yu, P.; Chen, Z. Influence of an ionic liquid on rheological and filtration properties of water-based drilling fluids at high temperatures. Appl. Clay Sci. 2017, 136, 96–102. [Google Scholar] [CrossRef]
  4. Bourgoyne, A.T.; Cheever, M.E.; Mulheim, K.K.; Young, F.S. Applied Drilling Engineering; SPE Textbook Series; Society of Petroleum Engineers: Richardson, TX, USA, 1986; Volume 2. [Google Scholar]
  5. Ahmad, H.M.; Kamal, M.S.; Al-Harthi, M.A. Rheological and Filtration Properties of Clay-Polymer Systems: Impact of Polymer Structure. Appl. Clay Sci. 2018, 160, 226–237. [Google Scholar] [CrossRef]
  6. Sadeghalvaad, M.; Sabbaghi, S. The effect of the TiO2/polyacrylamide nanocomposite on water-based drilling fluid properties. Powder Technol. 2015, 272, 113–119. [Google Scholar] [CrossRef]
  7. Lyons, W.C.; Plisga, J. Standard Handbook of Petroleum and Natural Gas Engineering, 2nd ed.; Gulf Publishing Company: Houston, TX, USA, 2005. [Google Scholar]
  8. Hossain, M.E.; Al-Majed, A.A. Fundamentals of Sustainable Drilling Engineering; Scrivener Publishing LLC: Salem, MA, USA, 2015. [Google Scholar]
  9. Adams, N.J. Drilling Engineering: A Complete Well Planning Approach; Penn Well Publishing Company: Tulsa, OK, USA, 1985. [Google Scholar]
  10. Kersten, G.V. Results and Use of Oil-Base Fluids in Drilling and Completing Wells. In Drilling and Production Practice; Paper API-46-061; American Petroleum Institute: New York, NY, USA, 1946. [Google Scholar]
  11. Luo, Y.; Bern, P.A.; Chambers, B.D. Simple Charts to Determine Hole Cleaning Requirements in Deviated Wells. In SPE/IADC Drilling; Paper SPE 27486; Society of Petroleum Engineers: Houston, TX, USA, 1994. [Google Scholar]
  12. Paiaman, A.M.; Al-Askari, M.K.G.; Salmani, B.; Al-Anazi, B.D.; Masihi, M. Effect of Drilling Fluid Properties on Rate of Penetration. NAFTA 2009, 60, 129–134. [Google Scholar]
  13. Okrajni, S.; Azar, J. The Effects of Mud Rheology on Annular hole Cleaning in Directional Wells. SPE Drill. Eng. 1986, 1, 297–308. [Google Scholar] [CrossRef]
  14. Robinson, L.; Morgan, M. Effect of hole cleaning on drilling rate performance. Paper AADE-05-DF-HO-41. In Proceedings of the AADE Drilling Fluid Conference, Houston, TX, USA, 6–7 April 2004. [Google Scholar]
  15. Marsh, H.N. Properties and Treatment of Rotary Mud. Trans. AIME 1931, 92, 234–251. [Google Scholar] [CrossRef]
  16. Balhoff, M.T.; Lake, L.W.; Bommer, P.M.; Lewis, R.E.; Weber, M.J.; Calderin, J.M. Rheological and yield stress measurements of non-Newtonian fluids using a Marsh Funnel. J. Pet. Sci. Eng. 2011, 77, 393–402. [Google Scholar] [CrossRef]
  17. McCulloch, W.S.; Pitts, W. A logical calculus of the ideas immanent in nervous activity. Bull. Math. Biophys. 1943, 5, 115–133. [Google Scholar] [CrossRef]
  18. Rosenblatt, F. The Perceptron, a Perceiving and Recognizing Automaton; Project Para Report No. 85-460-1; Cornell Aeronautical Laboratory (CAL): Buffalo, NY, USA, 1957. [Google Scholar]
  19. Bailey, D.; Thompson, D. How to Develop Neural Network. AI Expert 1990, 5, 38–47. [Google Scholar]
  20. Fausett, L. Fundamentals of Neural Networks, Architectures, Algorithms, and Applications; Prentice-Hall Inc.: Eaglewood Cliffs, NJ, USA, 1994. [Google Scholar]
  21. Ali, J.K. Neural Networks: A new Tool for the Petroleum Industry. Paper SPE-27561-MS. In Proceedings of the European Petroleum Computer Conference, Aberdeen, UK, 15–17 March 1994. [Google Scholar]
  22. Russell Stuart, J.; Norvig, P. Artificial Intelligence: A Modern Approach, 3rd ed.; Prentice Hall: Upper Saddle River, NJ, USA, 2009; ISBN 0-13-604259-7. [Google Scholar]
  23. Sargolzaei, J.; Saghatoleslami, N.; Mosavi, S.M.; Khoshnoodi, M. Comparative Study of Artificial Neural Networks (ANN) and statistical methods for predicting the performance of Ultrafiltration Process in the Milk Industry. Iranian. J. Chem. Eng. 2006, 25, 67–76. [Google Scholar]
  24. Lippmann, R. An introduction to computing with neural nets. IEEE ASSP Mag. 1987, 4, 4–22. [Google Scholar] [CrossRef]
  25. Mao, J.; Mohiuddin, K.; Jain, A. Artificial neural networks: A tutorial. Computer 1996, 29, 31–44. [Google Scholar]
  26. Demuth, H.B.; Beale, M.H.; Hagan, M.T. Neural Network Toolbox 6, User’s Guide; MathWorks, Inc.: Natick, MA, USA, 2009. [Google Scholar]
  27. AlAjmi, M.D.; Alarifi, S.A.; Mahsoon, A.H. Improving Multiphase Choke Performance Prediction and Well Production Test Validation Using Artificial Intelligence: A New Milestone. SPE-173394-MS. In Proceedings of the SPE Digital Energy Conference and Exhibition, Woodlands, TX, USA, 3–5 March 2015. [Google Scholar]
  28. Alarifi, S.A.; AlNuaim, S.; Abdulraheem, A. Productivity Index Prediction for Oil Horizontal Wells Using Different Artificial Intelligence Techniques. SPE-172729-MS. In Proceedings of the SPE Middle East Oil & Gas Show and Conference, Manama, Bahrain, 8–11 March 2015. [Google Scholar]
  29. Chen, F.; Duan, Y.; Zhang, J.; Wang, K.; Wang, W. Application of neural network and fuzzy mathematic theory in evaluating the adaptability of inflow control device in horizontal well. J. Pet. Sci. Eng. 2015, 134, 131–142. [Google Scholar]
  30. Van, S.L.; Chon, B.H. Effective Prediction and Management of a CO2 Flooding Process for Enhancing Oil Recovery using Artificial Neural Networks. ASME J. Energy Resour. Technol. 2017, 140, 032906. [Google Scholar] [CrossRef]
  31. Van, S.L.; Chon, B.H. Evaluating the critical performances of a CO2–Enhanced oil recovery process using artificial neural network models. J. Pet. Sci. Eng. 2017, 157, 207–222. [Google Scholar] [CrossRef]
  32. Qin, A.K.; Huang, V.L.; Suganthan, P.N. Differential Evolution Algorithm with Strategy Adaptation for Global Numerical Optimization. IEEE Trans. Evol. Comput. 2009, 13, 398–417. [Google Scholar] [CrossRef]
  33. Storn, R.; Price, K. Differential Evolution—A Simple and Efficient Heuristic for global Optimization over Continuous Spaces. J. Glob. Optim. 1997, 11, 341–359. [Google Scholar] [CrossRef]
  34. Moussa, T.M.; Awotunde, A.A. Self-adaptive differential evolution with a novel adaptation technique and its application to optimize ES-SAGD recovery process. Comput. Chem. Eng. 2018, 118, 64–76. [Google Scholar] [CrossRef]
  35. Al-Khdheeawi, E.A.; Mahdi, D.S. Apparent Viscosity Prediction of Water-Based Muds Using Empirical Correlation and an Artificial Neural Network. Energies 2019, 12, 3067. [Google Scholar] [CrossRef]
  36. Gowida, A.; Elkatatny, S.; Ramadan, E.; Abdulraheem, A. Data-Driven Framework to Predict the Rheological Properties of CaCl2 Brine-Based Drill-in Fluid Using Artificial Neural Network. Energies 2019, 12, 1880. [Google Scholar] [CrossRef]
  37. Zhang, Y.; Pan, C.; Chen, X.; Wang, F. Abnormal breast identification by nine-layer convolutional neural network. J. Comput. Sci. 2018, 27, 57–68. [Google Scholar] [CrossRef]
  38. Wang, S.; Rao, R.V.; Chen, P.; Liu, A.; Wei, L. Abnormal Breast Detection in Mammogram Images by Feed-forward Neural Network Trained by Jaya Algorithm. Fundam. Inform. 2017, 151, 191–211. [Google Scholar] [CrossRef]
  39. Metzner, A.B. Non-Newtonian technology: Fluid mechanics and transfers. Adv. Chem. Eng. 1956, 1, 77–153. [Google Scholar]
  40. Savins, J.G.; Roper, W.F. A Direct Indicating Viscometer for Drilling Fluids. Paper API-54-007. In Proceedings of the Drilling and Production Practice, New York, NY, USA, 1 January 1954. [Google Scholar]
  41. Pitt, M.J. The Marsh Funnel and Drilling Fluid Viscosity: A New Equation for Field Use. SPE Drill. Complet. 2000, 15, 3–6. [Google Scholar] [CrossRef]
  42. Almahdawi, F.H.; Al-Yaseri, A.Z.; Jasim, N. Apparent Viscosity Direct from Marsh Funnel Test. Iraqi J. Chem. Pet. Eng. 2014, 15, 51–57. [Google Scholar]
Figure 1. The relative importance of the input parameters to plastic viscosity and yield point.
Figure 1. The relative importance of the input parameters to plastic viscosity and yield point.
Sustainability 11 05008 g001
Figure 2. Prediction of plastic viscosity using the modified self-adaptive differential evolution-artificial neural network (MSaDE-ANN) technique.
Figure 2. Prediction of plastic viscosity using the modified self-adaptive differential evolution-artificial neural network (MSaDE-ANN) technique.
Sustainability 11 05008 g002
Figure 3. Prediction of yield point using the MSaDE-ANN technique.
Figure 3. Prediction of yield point using the MSaDE-ANN technique.
Sustainability 11 05008 g003
Figure 4. Prediction of the flow behavior index using the MSaDE-ANN technique.
Figure 4. Prediction of the flow behavior index using the MSaDE-ANN technique.
Sustainability 11 05008 g004
Figure 5. Prediction of the consistency index using the MSaDE-ANN technique.
Figure 5. Prediction of the consistency index using the MSaDE-ANN technique.
Sustainability 11 05008 g005
Figure 6. Prediction of apparent viscosity using the MSaDE-ANN technique.
Figure 6. Prediction of apparent viscosity using the MSaDE-ANN technique.
Sustainability 11 05008 g006
Figure 7. Coefficient of determination for the apparent viscosity using different techniques.
Figure 7. Coefficient of determination for the apparent viscosity using different techniques.
Sustainability 11 05008 g007
Figure 8. Average absolute percentage error for calculating the apparent viscosity using different techniques.
Figure 8. Average absolute percentage error for calculating the apparent viscosity using different techniques.
Sustainability 11 05008 g008
Figure 9. The success percentage for each training algorithm.
Figure 9. The success percentage for each training algorithm.
Sustainability 11 05008 g009
Figure 10. Performance comparison of the training algorithms.
Figure 10. Performance comparison of the training algorithms.
Sustainability 11 05008 g010
Figure 11. Sensitivity analysis of the model performance to the number of neurons.
Figure 11. Sensitivity analysis of the model performance to the number of neurons.
Sustainability 11 05008 g011
Figure 12. The topography of the artificial neural network.
Figure 12. The topography of the artificial neural network.
Sustainability 11 05008 g012
Table 1. Statistical analysis of the collected field data from the drill-in fluid.
Table 1. Statistical analysis of the collected field data from the drill-in fluid.
Statistical ParameterMud Weight (MD)Marsh Funnel Time (MT)Solid Percent (SP)Plastic Viscosity (PV)Yield Point (YP)
Minimum64350719
Maximum1219132.55145
Mean82.1259.2213.7921.6527.15
Median7858132027
Standard Deviation14.3310.107.188.153.95
Kurtosis0.500.20−0.390.741.23
Skewness1.080.590.440.910.87
Table 2. Weight and biases for the MSaDE- ANN-PV (plastic viscosity) model.
Table 2. Weight and biases for the MSaDE- ANN-PV (plastic viscosity) model.
iw1,1w1,2w1,3b1,iw2,i
1−0.5831.507−0.8600.9030.908
2−3.501−0.9042.6680.687−3.538
31.808−0.951−1.900−0.919−1.791
4−1.425−0.2330.9780.8311.730
50.694−0.185−2.284−1.7472.862
6−0.437−0.051−2.1320.9382.268
7−1.859−0.960−0.0781.7932.691
8−1.9380.218−0.7681.179−1.546
9−0.292−0.8611.3510.2652.066
10−1.499−1.501−0.4830.853−2.594
112.684−1.2860.365−0.8722.682
12−2.306−1.5070.7390.7982.175
13−3.4290.825−0.8120.6122.935
14−3.670−0.5622.9140.2123.500
15−0.2122.2420.2150.8980.636
16−3.7830.359−0.9240.322−2.874
171.8410.508−2.3930.4062.054
180.0700.4161.0320.120−1.277
19−1.983−1.337−0.348−1.039−1.360
202.3610.706−1.3520.682−1.953
21−0.4331.532−1.024−0.4160.591
223.936−0.190−0.6641.6752.266
23−2.621−0.4461.632−1.4962.190
24−3.587−0.1790.248−1.9573.859
250.3912.102−0.766−0.4860.718
26−1.6570.513−1.3222.493−2.294
273.9390.095−0.5262.3033.056
282.624−0.2711.1793.2042.736
29−1.1010.296−1.454−1.8722.617
30−0.0900.1591.0120.6950.595
Table 3. Weight and biases for the MSaDE-ANN-YP model.
Table 3. Weight and biases for the MSaDE-ANN-YP model.
iw1,1w1,2w1,3b1,iw2,i
1−1.2211.3082.1591.2331.591
2−0.0372.097−0.212−1.1181.439
30.7180.2322.575−1.190−2.301
44.0580.842−0.047−3.523−2.752
51.1062.0351.657−1.937−1.485
6−1.8311.350−0.6010.126−2.434
7−0.374−1.6610.1750.6942.705
8−0.9111.4441.9320.6301.460
93.782−2.9401.792−0.087−1.533
10−2.465−0.1602.2810.814−2.687
11−3.233−0.544−0.9731.313−3.472
124.6630.189−0.004−1.128−3.994
13−3.5810.020−2.6151.008−3.412
14−0.552−0.9041.216−0.231−0.450
150.232−1.919−2.0350.649−1.958
16−1.575−0.279−2.4140.7082.612
17−1.1801.0070.957−0.032−1.186
183.0170.111−2.6730.4280.984
19−1.576−0.4031.255−0.1362.349
200.594−1.155−2.8620.6901.720
211.1680.259−3.6191.469−2.071
221.2791.2521.3681.1211.375
233.2820.2513.7354.043−2.204
241.9630.6611.6481.578−1.968
252.453−0.1142.0422.6383.704
261.8250.0601.0692.281−3.608
27−0.513−1.540−0.9801.370−3.686
281.8150.2800.012−1.7442.755
292.985−0.4380.6443.0771.977
Table 4. Weight and biases for the MSaDE-ANN-n (artificial neural network-flow behavior index) model.
Table 4. Weight and biases for the MSaDE-ANN-n (artificial neural network-flow behavior index) model.
iw1,1w1,2w1,3b1,iw2,i
1−0.443−0.1560.758−0.485−0.994
21.1412.210−0.648−2.048−1.732
30.9391.0420.370−1.6571.965
4−0.1761.325−0.7650.989−1.317
50.365−0.246−2.876−2.6093.213
60.3731.1951.9752.5953.107
7−2.520−0.7950.3731.659−2.423
8−1.3400.9912.5231.324−2.301
9−0.9610.9012.914−0.8312.361
10−2.506−0.3454.267−0.129−2.154
111.981−0.971−0.055−1.641−2.219
12−1.7940.269−1.6060.6181.510
130.218−2.321−1.5550.3610.814
142.4160.465−2.349−0.419−2.432
15−0.6141.4571.1750.7940.851
163.9140.056−0.5231.832−3.468
172.0650.0851.889−0.2781.808
180.4010.534−2.224−0.083−1.622
193.154−0.414−0.3371.019−2.465
20−1.901−1.296−0.574−1.033−1.579
212.438−0.437−4.0731.5242.822
224.731−0.405−0.5611.8863.552
23−0.9860.434−1.951−2.0563.097
24−3.643−0.243−0.544−2.627−2.013
250.3420.091−0.5930.4210.846
261.679−0.291−0.4391.433−2.427
27−1.483−0.5562.154−0.0031.369
28−2.376−0.4930.507−2.0833.200
29−2.9150.143−1.838−3.799−3.532
Table 5. Weight and biases for the MSaDE-ANN-K (artificial neural network-flow consistency index) model.
Table 5. Weight and biases for the MSaDE-ANN-K (artificial neural network-flow consistency index) model.
iw1,1w1,2w1,3b1,iw2,i
1−0.5430.4392.1751.3302.624
2−1.067−1.0161.7170.141−1.152
3−0.288−0.348−1.4211.3592.115
4−2.822−0.325−0.4920.8161.942
5−0.0651.376−0.993−1.1011.357
6−0.4621.7820.5061.347−1.852
7−0.952−1.445−0.3861.426−1.660
8−2.003−0.1353.601−0.1292.638
9−0.583−1.7070.4770.6181.754
100.1171.8511.359−0.3581.278
110.486−0.749−2.0450.6232.230
121.5680.610−0.380−0.3571.534
13−2.6440.202−1.2450.768−2.811
141.429−1.114−0.5710.095−1.969
151.465−2.126−0.567−0.0871.053
162.855−0.573−0.9950.8302.813
171.4860.230−2.9340.2982.534
18−1.656−0.036−2.2340.4051.775
19−2.152−1.729−1.419−1.2951.239
201.2760.5312.2341.557−1.516
21−1.2460.749−0.784−1.348−2.167
22−3.4130.4270.067−1.3202.202
232.3060.4100.1931.0803.402
24−4.0260.4092.392−1.3073.331
251.3990.202−2.7291.177−2.509
26−2.9460.4472.470−1.1802.865
27−0.856−1.8430.506−1.775−1.709
28−3.7920.4672.515−1.314−3.679
29−1.587−0.228−2.388−3.0753.192
301.722−0.022−0.0911.5622.176
Table 6. Weight and biases for the MSaDE-ANN-AV (apparent viscosity) model.
Table 6. Weight and biases for the MSaDE-ANN-AV (apparent viscosity) model.
iw1,1w1,2w1,3b1,iw2,i
10.374−1.5360.5740.882−1.163
2−1.4081.125−1.2912.137−3.658
3−0.8500.1141.7871.031−2.843
40.0621.6440.325−0.6921.350
51.7120.0261.101−1.4842.197
6−0.4140.927−1.6260.9972.071
72.7310.1880.132−1.953−2.308
81.872−1.064−0.627−0.908−1.324
9−0.0211.993−0.1540.6320.597
10−3.0440.148−0.8000.9823.794
11−1.3520.428−2.180−2.010−1.469
12−1.044−0.8652.198−0.549−1.772
133.5900.2531.442−0.9682.094
142.9520.264−2.643−0.011−1.670
15−3.1001.961−0.7811.463−2.407
16−1.318−0.5152.887−0.3712.183
17−1.602−0.2822.118−0.310−2.710
18−2.679−0.9471.475−0.7461.870
19−1.9750.5300.362−0.818−2.142
20−2.174−1.0620.256−0.855−1.848
210.285−1.041−0.5770.2831.225
222.6340.435−1.5991.482−2.305
23−2.845−0.052−0.060−1.5382.172
24−2.0660.203−0.763−2.269−2.080
250.872−1.133−0.5080.8581.674
26−1.0221.3910.3041.7381.591
272.4550.309−0.4061.4842.241
282.346−0.2310.9802.353−2.973
290.6410.2181.5411.8101.331

Share and Cite

MDPI and ACS Style

Elkatatny, S. Real-Time Prediction of the Rheological Properties of Water-Based Drill-In Fluid Using Artificial Neural Networks. Sustainability 2019, 11, 5008. https://0-doi-org.brum.beds.ac.uk/10.3390/su11185008

AMA Style

Elkatatny S. Real-Time Prediction of the Rheological Properties of Water-Based Drill-In Fluid Using Artificial Neural Networks. Sustainability. 2019; 11(18):5008. https://0-doi-org.brum.beds.ac.uk/10.3390/su11185008

Chicago/Turabian Style

Elkatatny, Salaheldin. 2019. "Real-Time Prediction of the Rheological Properties of Water-Based Drill-In Fluid Using Artificial Neural Networks" Sustainability 11, no. 18: 5008. https://0-doi-org.brum.beds.ac.uk/10.3390/su11185008

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