Literature DB >> 34179625

Improved Tracking of the Rheological Properties of Max-Bridge Oil-Based Mud Using Artificial Neural Networks.

Ahmed Alsabaa1, Salaheldin Elkatatny1.   

Abstract

Lab measurements for the rheological properties of mud are critical for monitoring the drilling fluid functions during the drilling operations. However, these measurements take a long time and might need more than one person to be completed. The main objectives of this research are to implement artificial intelligence for predicting the mud rheology from only Marsh funnel (μf) and measuring mud density (ρm) easily and quickly on the rig site. For the first time, an artificial neural network (ANN) was used to build different models for predicting the rheological properties of Max-bridge oil-based mud. The properties included the plastic viscosity (μp), yield point (γ), flow behavior index (η), and apparent viscosity (μa). Field measurements of 383 samples were used to build and optimize the ANN models. The obtained results showed that 32 neurons in the hidden layer and tan sigmoid function transfer function were the best parameters for all ANN models. The training and testing processes of models showed a strong prediction performance with a correlation coefficient (R) greater than 0.91 and an average absolute percentage error (AAPE) less than 5.31%. New empirical correlations were developed based on the optimized weights and biases of the ANN models. The developed empirical correlations were compared with the published correlations, and the comparison results confirmed that the ANN-developed correlations outperformed all previous work.
© 2021 The Authors. Published by American Chemical Society.

Entities:  

Year:  2021        PMID: 34179625      PMCID: PMC8223408          DOI: 10.1021/acsomega.1c01230

Source DB:  PubMed          Journal:  ACS Omega        ISSN: 2470-1343


Introduction

Drilling fluid has several functions in the drilling operation as it basically transports cuttings from the bottom of the well to the surface through circulation. Mud is lubricating the drill string and the bit in addition to cooling them. Mud must be designed to form a thin and faster-formed filter cake that can minimize filter loss. One of the most important roles is to control the formation pressure by applying the required overbalance to prevent formation fluids from entering the bottom of the well causing kicks and interruption of the operation.[1] According to the base fluid, the drilling fluid has two main categories which are water- or oil-based.[1−3] Different chemicals and materials are used for optimizing the drilling fluid properties, such as adding the weighting materials, which are used for regulating the density, and viscosifiers, which are used for tuning the rheological properties (plastic viscosity, yield point, gel strength, etc.) by special chemicals and additives.[4] Oil-based mud (OBM) is classified into two main classes, which are all-oil and invert emulsion. All-oil contains oil as a base fluid with no water or with a very little amount, usually less than 5%. Invert emulsion contains oil as the continuous phase with a large volume of water (as high as 60%) as the dispersed phase.[5,6] Invert emulsion mud has many advantages such as minimizing corrosion of casing and tubing, efficient in drilling troublesome formations (unstable shale), protecting water-bearing formations,[6−8] and lower toxicity compared with the oil-base mud system. It can be stable under extreme conditions of temperature and pressure.[9] Max-bridge is one type of oil-based mud with special additives. Max-bridge mud system has bridging agents that consist mainly of resilient graphite and special sealing polymers that effectively seal the pore throats to provide the bridging effect. The advanced bridging materials in this type of mud have been proven to be effective with drilling depleted reservoirs of high permeability to prevent problems such as stuck pipe and losses. Figure shows a schematic diagram of the sealing impact by the mud bridging agents that leads to plugging of the rock pore throats.
Figure 1

Bridging agents of Max-bridge mud system.

Bridging agents of Max-bridge mud system.

Drilling Fluid Monitoring during Operations

Good monitoring of the mud rheological properties is very critical in the drilling operations as it affected the drilling performance. Improving the drilling performance requires effective cleaning of the hole and optimization of the bit hydraulics.[10] Drilling hydraulic optimization accounts for pressure losses that rely mainly on the rheological properties of the drilling fluid.[11] It is also possible to estimate equivalent circulating density (ECD), which reflects the apparent weight of the mud under complex conditions, to compensate for many drilling problems such as loss of circulation, surge and swab pressures,[12] and instances of well control. Therefore, continuous measurements for the mud properties are needed and performed on the rig site using the mud lab that is equipped with the needed testing instruments like a Marsh funnel and a mud balance. Marsh funnel viscosity is just a time recorded for a volume of 930 cm3 to flow through the funnel orifice as described by Marsh.[13] Some other lab devices are existing only on the mini-lab on rig site like a rotating viscometer for measuring the mud rheological properties, and an API filter press is required for measuring filtration properties. Mud weight has particular significance concerning pressure management inside the well.[14] During the drilling process, mud density and Marsh funnel viscosity are assessed three to four times per hour. The two measurements provide an indication of the mud properties changes that reflect the interaction between the mud and the drilled rock. These lab measurements will help for better monitoring of the mud performance and quick actions for optimizing the mud properties by mud reformulation.[15] The traditional way of such measurements is time-consuming and prone to human errors; hence, automating this process is a need for the drilling industry to overcome the difficulties in measuring rheology at a higher frequency. A few studies were conducted for addressing this issue.[16−18] A patented device has claimed that rheological properties could be predicted in a short time from an automatically read mud weight and Marsh funnel viscosity.[16] This promising technique could be the solution for the complexity of measuring the rheology; however, prediction algorithms will be needed for running the system. Some other studies went a step forward by proposing an online measuring technique for rheology.[19] They claimed that normal rheology lab measurements are outdated, but they could not explain the disparity between the continuous flowing measurement of rheology and the static old-fashioned lab tests.[20] Apparent viscosity (μa) (cP) was related to Marsh funnel viscosity (μf) (s) and mud weight (ρm) (gm/cm3) by Pitt[21] as per eq . The same parameters were used in another study by Almahdawi et al.[22] to get apparent viscosity, but the constant was different as in eq .

Petroleum Engineering Utilization of Artificial Intelligence

The artificial intelligence (AI) technology helped to manage a process in which the machine starts to learn about the data patterns and how different parameters could affect each other to find a description of the relations.[23] The implementation of AI tools contributed to solving many technical problems such as estimation and optimization of drilling parameters[24−28] and prediction and monitoring of the drilling fluids properties,[29−34] reservoir fluid properties,[35−40] rock permeability,[41,42] and rock strength and geomechanical properties.[43−47] This is reflecting the trust in the AI models generated and the need for such applications in the drilling industry. The main objective of this research is to build artificial neural network (ANN) models that can be used to predict the rheological properties of Max-bridge in real time using only two inputs, which are mud density (ρm) and Marsh funnel viscosity (μf). These models were optimized, and empirical equations were developed to overcome the traditional measurement technique for the mud properties and enhance the automation technique for better monitoring of the mud characteristics. Section describes the data description, statistical analysis, and the ANN approach and optimization, followed by Section that represents the results obtained from the model training and testing, Section for in-depth discussion and analysis of the results, and finally Section that summarizes the study findings.

Materials and Methods

The mud rheological properties are determined according to the model that best describes the mud behavior. Those mathematical models that may describe mud rheology are like the Bingham plastic model, which is a two-parameter model. The design of the rotational rheometer was conducted basically for the fluids following the Bingham plastic model. Another rheological model is the power-law model, which is also a two-parameter model, but it describes pseudoplastic fluids that show a decrease in viscosity with increasing shear rate.[14] The most accurate model considered for describing the rheological behavior of drilling fluids is the Herschel–Bulkley model, which is a three-parameter model.

Data Description and Statistics

The recorded data for this study were the mud weight and Marsh funnel viscosity that were measured for the same mud samples. The plastic viscosity, yield point, apparent viscosity, and behavior index of the same samples were calculated from the viscometer readings at 300 and 600 rpm. All of the recorded data were for the same mud type but from several drilling sites. The data collected were of a wide range that was essential to have reliable general models. The data used for building the artificial intelligence models contained mud weight for each sample of a total of 383 samples with a wide range starting from 76 to 120 pcf. The Marsh funnel viscosity was measured and recorded for each sample with very low values starting from only 44 s to 120 s. The plastic viscosity values ranged from 12 to 73 cP, while the yield point ranged from 14 lb/100ft2 to 39 lb/100ft2. The apparent viscosity ranges from 20 to 89 cP. The behavior index was calculated and shows a range of 0.51–0.82. Table summarizes the statistical analysis of the model data.
Table 1

Statistics of Studied Data for Max-Bridge Oil-Based Mud

 ρm [pcf]μf [s]μp [cP]γ [lb/100 ft2]ημa [cP]
minimum76.0044.0012.0014.000.5120.00
maximum120.00120.0073.0039.000.8289.00
mean95.6875.8744.5322.710.7355.88
median97.0074.0044.0022.000.7456.00
standard deviation9.1312.859.663.780.0510.41
kurtosis0.821.40–0.090.851.680.23
skewness0.531.050.170.62–0.790.13

Data Preprocessing and Analysis

The approach that was employed in this study included purification of the data before using simple Matlab codes from invalid, unrealistic, and/or missed portions of data that were removed to have a good quality data set of 383 lines. This process was implemented to remove the data outliers to improve the data quality.[48,49] The next step was to verify that there is a relation between inputs and outputs by checking the correlation coefficient (R) between inputs and outputs. Strong relations between the parameters were shown as per the correlation coefficients (Figure ). Mud weight increase has a direct relationship with viscosity, and the data used in this study showed the highest correlation coefficient with apparent viscosity, which is logical and natural. Mud weight had a slightly less correlation coefficient with plastic viscosity (0.67) and with apparent viscosity (0.68). Numbers are pushing toward the fact that high-quality data are available for developing accurate models with mud weight with a correlation coefficient of 0.43 with behavior index. The least correlation coefficient was with yield point. The correlation coefficient between mud weight and yield point was 0.29, which is still good. This low R might be attributed to the nonlinear relations between the parameters.
Figure 2

Relative importance of inputs to outputs of the study.

Relative importance of inputs to outputs of the study. The correlation coefficient between the other input that was Marsh funnel viscosity and apparent viscosity was also the highest among all of the rheological parameters, i.e., 0.59, followed by plastic viscosity, 0.57, which is still a high correlation coefficient. The n parameter had the lowest correlation coefficient of 0.30, while the yield point had a correlation coefficient of 0.34 with Marsh funnel viscosity.

Optimization Tool and Approach

The technique of artificial neural networks is widely used for its efficacy and reliability in the petroleum industry disciplines such as fluid properties modeling,[50−52] reservoir flooding,[53−55] and rock properties estimation.[56,57] It can imitate various complex issues that cannot be dealt with using simple nonlinear regression techniques.[58] Artificial neural networks provide an efficient way for analyzing the problem characteristics and the interrelations of parameters based on data analytics.[59] It was originally designed to mimic the performance characteristics of neurons.[60] The elementary units of artificial neural networks are artificial neurons. The required layers of the artificial neural network structure are known as the input, hidden, and output layers. In addition to the appropriate transfer function that represents the nature of the problem, the network also contains a training algorithm.[60] In each layer, neurons are connected with other neurons by constant parameters called weights and biases in the next layer.[61] For regression tasks, the (pure linear) transfer function used in the output layer, in addition to log-sigmoid and tan-sigmoidal, is a common type of transfer function.[62] AI has recently been widely used in the field of fluids for drilling. Some of these applications involve optimizing drilling,[63] optimizing hydraulics,[64] and predicting rheological characteristics of invert emulsion mud[65] water-based KCl mud[66] drilling liquid CaCl2,[67] and water-based NaCl drill-in fluid.[31] After data purification and quality checks, the next step is to choose the artificial intelligence technique that would approximate functions for predicting the rheological parameters from mud weight and Marsh funnel viscosity. The neural networks technique was chosen that helped us to derive ANN-based equations in this study to make them available for usage in automated systems or simple comparison with other research. The data set was prepared for the training process within the code developed using the Matlab program. The data set was used for predicting a single rheological parameter in time. Several trials were made to obtain the optimum parameters for the neural network used for the prediction of each rheological parameter and tuning of the artificial neural network parameters. Each rheological property, including plastic viscosity and yield point, was considered as a separate problem that needed to be defined in a separate neural network. A file containing the inputs, which were mud weight and Marsh funnel viscosity, and the output, which was a single rheological property, was loaded and the parameters were defined. To have an improved generalization of the developed models, the data set was divided into a training set, which would be used in training, and a testing set, which is separate from training and will not be seen by the neural network while training. The testing set is used to check the strength of the trained model. A feedforward neural network was used with a single hidden layer, which was powerful enough to have excellent accuracy. Training function of a network updates weights and bias values according to certain optimization. A backpropagation Levenberg–Marquardt algorithm was used, which is the fastest method with medium-sized networks, and it is the most efficient when used with Matlab software. For each rheological parameter, the number of neurons in the hidden layer had a significant effect on the accuracy of the trained model and was considered to be the main hyperparameter. Other hyperparameters were selected and tested for their results. Not only the trained model was evaluated with the accuracy of training, but also the testing stage was included in the evaluation. The correlation coefficient between the values obtained for the output from the developed artificial neural networks model and the measured values was used as an indication of the quality of the models. Average absolute percentage error was used also as another indicator for the amount of error resulting from the model compared to the recorded rheological parameters. The process was like building four different models or dealing with four different problems. Those four models were successfully developed for predicting the plastic viscosity, apparent viscosity, yield point, and flow behavior index.

Results

For all of the four parameters investigated in this study, the number of neurons in the hidden layer that produced the most accurate models was found to be 32, which is the same for all. The transfer function was changing as well in the trials to choose between the log-sigmoid function and the tan sigmoid function and also for all of the four parameters. The tan sigmoid function is found to be the best transfer function. This made the architecture of the artificial neural networks for all of the four developed models the same. The weights and biases were then extracted from the code for all of the models. The neural networks have internal normalization for the input and output values between (1) maximum and (−1) minimum. For any simple program or automation process, eqs and 4 for normalization of the inputs must be used, where the normalized parameters would have a subscript (n) added to their symbols.The equations derived from the neural networks used in the optimization process would be used for the normalized inputs, and a table of weights and biases was used for each output. Eqs –8 were used to denormalize the output to get the predicted valueThe normalized outputs had their equations related to the inputs according to the transfer function used with all of the four networks for the four parameters (tansig). The training set had 223 points, which constitute 58% of the total data set that is cleaned purified and checked for quality.

Plastic Viscosity Model

The artificial neural network architecture of a single hidden layer extracted the inputs as mud weight and Marsh funnel viscosity while the output was defined as plastic viscosity only. Several automatic trials through a loop were running the learning algorithm with changing the number of neurons starting from 5 neurons up to 50. Regarding the trials, they included loops for different randomization of the data with training data set percent at minimum 50–80%. The trials included changing the training function from the following: trainlm, trainbr, trainscg, trainrp, trainbfg, traincgb, traincgf, traincgp, trainoss, traingdx, traingdm, and traingda, and also the transfer function was chosen from several trials for the following different transfer functions: tansig, logsig, elliotsig, purelin, satlin, satlins, and poslin. The optimization process included the testing stage with 160 points. The values of correlation coefficient and average absolute percentage error for training and testing with each number of neurons tried were recorded, and the whole process was evaluated according to that. The optimum number of neurons on the hidden layer was 32 neurons that achieved an R of 0.96 and an AAPE of 4.59% for the training phase between the model results and the actual values (Figure a). The correlation coefficient of the testing set for the plastic viscosity model was lower but still accurate enough to have a robust model as it was 0.93 along with a low AAPE of only 5.31% (Figure b). Eq was extracted from the resulted artificial neural networks model.
Figure 3

Plastic viscosity ANN-based model results vs actual measurements: (a) training data set and (b) testing data set.

Plastic viscosity ANN-based model results vs actual measurements: (a) training data set and (b) testing data set. A table containing the weights and biases was extracted from the network with the number of neurons (N) and neuron index (i). The weights (w1 and w2) are presented in Table along with the values of the biases (b1). For the bias (b2), it was found to be (−1.40).
Table 2

Weights and Biases for Plastic Viscosity Model

iw1i,1w1i,2b1iw2i
11.33–9.42–6.60–7.39
2–2.179.126.807.71
30.584.080.87–21.32
4–1.303.970.26–25.99
5–1.597.000.7312.50
621.75–25.02–16.4324.50
7–51.37–22.4524.45–0.28
8–13.7427.317.7820.04
9–0.983.89–0.1720.48
10–25.38–12.9527.790.45
11–1.74–4.211.152.19
122.888.991.537.89
13–12.977.6710.950.92
1483.3762.30–39.01–0.15
15–1.6121.59–3.63–0.22
165.81–14.213.510.50
17–10.99–3.34–0.840.56
180.054.164.072.32
19–4.81–16.993.72–0.32
2053.5524.6522.20–0.41
213.581.570.825.55
22–4.53–12.69–2.203.38
23–69.7049.28–35.310.16
24–17.97–9.71–4.148.91
25–7.77–24.01–6.48–12.37
2621.1011.734.857.32
27–10.033.69–9.5312.05
28–9.05–28.79–7.427.26
2910.03–1.859.2412.42
30–5.09–12.83–4.446.40
313.875.399.080.10
32–1.69–6.64–8.991.83

Yield Point Model

By following the same approach, the results of the yield point model showed that R was 0.91 for both training and testing data sets as shown in Figure . AAPE was 4.85 and 4.98% for training and testing processes, respectively. The model equation derived for normalized yield point is eq with the bias (b2) of 15.90, and the remaining weights and biases are listed in Table .
Figure 4

Yield point ANN-based model results vs actual measurements: (a) training data set and (b) testing data set.

Table 3

Weights and Biases for Yield Point Model

iw1i,1w1i,2b1iw2i
1–8.96–8.2513.10–7.59
211.67–5.97–11.34–5.84
311.1618.61–18.65–2.01
4–11.72–0.219.01–4.04
515.47–13.44–9.78–0.75
61.59–6.082.360.40
7–26.20–22.2018.88–0.09
8–11.971.368.694.34
939.1915.14–5.630.15
10–2.098.522.02–4.54
11–14.664.784.11–1.40
120.862.81–0.812.81
13–0.661.551.08–20.42
143.37–64.5112.180.03
15–5.672.521.503.25
1615.06–7.762.23–0.06
1728.6710.46–2.170.14
18–8.58–3.871.290.86
19–5.66–3.90–0.90–4.15
20–1.61–3.36–0.59–2.77
215.153.120.90–6.51
225.030.344.54–12.18
23–36.3043.15–46.10–8.20
24–30.67–2.51–11.630.21
2514.83–0.5212.531.18
265.420.732.98–8.41
27–4.57–0.22–2.56–9.21
28–6.77–4.78–5.97–1.77
29–0.826.752.1813.43
30–1.154.40–10.74–7.58
314.14–0.894.067.92
3260.64–75.6577.30–25.77
Yield point ANN-based model results vs actual measurements: (a) training data set and (b) testing data set.

Flow Behavior Index Model

Figure shows that the results of the flow behavior index model were 0.91 and 0.94 for R, while AAPEs were 1.68 and 1.66% for the training and testing data sets, respectively. Weights and biases to normalize the flow behavior index equation (eq ) are listed in Table , and the bias (b2) was −11.80.
Figure 5

Flow behavior index ANN-based model results vs actual measurements: (a) training data set and (b) testing data set.

Table 4

Weights and Biases for Flow Behavior Index Model

iw1i,1w1i,2b1iw2i
1–10.44–22.2917.440.30
23.98–3.12–2.0726.42
32.796.77–6.28–10.81
4–5.49–11.627.490.89
54.77–3.59–1.87–16.65
6–2.62–11.466.91–0.99
7–9.99–14.177.810.70
8–5.932.164.438.51
90.0819.03–9.440.52
10–12.1818.224.31–5.59
11–11.1910.722.95–2.42
129.829.20–2.51–0.54
13–10.1014.903.658.31
14–0.31–6.391.75–2.65
15–1.074.70–1.46–3.02
1655.36–2.96–4.770.14
1768.3597.62–12.160.07
18–21.34–8.67–5.160.38
19–95.59–75.21–18.50–0.23
20–5.08–4.72–2.53–3.38
2151.58–14.5625.760.91
2256.681.8126.98–0.90
23–26.5351.01–32.09–0.30
24–4.560.72–3.1515.06
256.4912.625.2614.43
268.6816.828.1020.01
27–5.532.04–3.94–9.35
28–4.36–11.25–4.0518.64
298.5013.197.34–12.94
301.634.21–4.2521.03
3142.48–53.2554.6124.22
3232.07–40.7040.84–2.17
Flow behavior index ANN-based model results vs actual measurements: (a) training data set and (b) testing data set.

Apparent Viscosity Model

The apparent viscosity model performed well for training and testing phases, and the results showed R values of 0.97 and 0.93 and AAPEs of 3.51 and 4.67% for the training and testing data sets, respectively (Figure ). Table presents the weights and biases for the apparent viscosity equation (eq ) while bias (b2) was 9.96.
Figure 6

Apparent viscosity ANN-based model results vs actual measurements: (a) training data set and (b) testing data set.

Table 5

Weights and Biases for Apparent Viscosity Model

iw1i,1w1i,2b1iw2i
1–30.20–31.6435.358.63
22.93–0.85–8.30–8.11
3–0.3817.62–13.69–0.08
4–32.52–33.6437.85–7.90
510.90–6.99–7.6013.86
6–5.95–7.727.41–1.09
7–29.97–17.0515.100.39
8–12.758.868.8911.49
93.3317.20–6.350.26
10–9.5410.624.5425.60
11–10.993.084.16–2.46
1233.4168.75–23.10–0.20
13–8.8110.663.93–24.29
14–38.69–156.608.640.07
15–8.958.482.543.10
1627.95–4.760.45–0.17
175.90–0.431.3419.38
18–6.390.52–1.4318.22
19–16.54–18.43–3.525.95
20–23.382.93–9.92–8.94
2121.81–2.689.22–9.70
2237.1410.0125.67–2.65
23–67.9127.82–26.97–0.11
24–16.20–17.94–3.45–6.08
2516.309.6611.109.80
2615.3616.5810.25–24.79
27–27.3630.42–33.45–15.53
28–15.74–18.78–10.45–17.88
2915.80–14.4814.890.57
30–25.3181.48–38.20–0.14
316.54–4.405.83–1.08
3231.46–30.3737.95–33.55
Apparent viscosity ANN-based model results vs actual measurements: (a) training data set and (b) testing data set.

Cross-Validation of the Four Models

The training data set used for developing the four models went through rigorous checking using the cross-validation technique. The training data were distributed over five portions. Each partition is used to test the developed model with the results recorded and compare to each other as in Table , which lists the correlation coefficients (R) for the testing fold of the four rheological parameters and in Table , which lists the AAPEs. It was found that the accuracy of the models was assured according to the evaluation that needed several runs for each rheological parameter.
Table 6

Correlation Coefficient (R) for the Testing Fold for the Four Rheological Parameters

 μpγημa
R10.970.910.970.96
R20.970.810.920.97
R30.960.910.920.98
R40.980.810.920.97
R50.960.880.940.97
Table 7

AAPE for the Testing Fold for the Four Rheological Parameters

 μpγημa
AAPE1%4.76.51.44.1
AAPE2%3.97.01.93.2
AAPE3%4.74.91.73.0
AAPE4%4.37.61.63.7
AAPE5%4.65.41.73.6

Discussion

In this study, we successfully employed artificial intelligence as an approach for better prediction of the mud rheology in real time from only two inputs. In addition, the study enhanced the automation process for tracking the mud rheological properties for better performance in drilling operations. The developed models for the mud rheological properties were compared with other conventional models[21,22] to check the prediction accuracy. Pitt[21] had developed an equation that can be used to calculate the apparent viscosity depending on mud weight and Marsh funnel viscosity. This correlation was updated by Almahdawi.[22] The correlations developed by Pitt[21] and Almahdawi[22] were developed depending on samples not representing all types of mud which makes it unreliable when exposed to different types of mud. Studying the relation between Marsh funnel viscosity and rheology considering the type of mud is a more successful approach. Elktatny et al.[68] succeeded in having highly accurate models not only for apparent viscosity but also for plastic viscosity, yield point, flow behavior index, and flow consistency index. However, the study included the solid content measured in percentage as a parameter on the developed models that involve an issue for measurement error. The rheology of mud predicted from mud weight, Marsh funnel viscosity in some studies, and solid percent in some other studies, it was possible to omit the solid percent from inputs, which was revisited by researchers many times manipulating data for different types of mud. Elkatatny[65] dealt with invert emulsion mud using artificial neural networks, but including the solid percent on the inputs besides mud weight and Marsh funnel viscosity. This type of mud was revisited by Alsabaa et al.[33] using an adaptive network-based fuzzy inference system (ANFIS) into having highly accurate models predicting rheological properties but, this time without solid percent, which is an advantage that allows for high resolution of rheology tracking with no time consumed in determining the solid percent on mud sample. Elkatany et al.[69] have used a simple nonlinear regression technique for developing models to predict the rheology of invert emulsion mud using mud weight and Marsh funnel viscosity as inputs, and the developed equations were included in that research. The equations developed by Elkatatny et al.[69] for invert emulsion mud indicate the logarithmic relationships between Marsh funnel viscosity (μF) in seconds and plastic viscosity (μp) (eq ) measured in (cP), yield point (γ) (eq ) measured in (lb/100ft2), flow behavior index (η) (eq ), and apparent viscosity (μa) (eq ) measured in (cP). The mud weight is used as the input in eqs –16 and was measured in (g/cm3), which needed conversion for values of data used in this study as mud weight was in (pcf).

Comparison with Published Studies

One of the earliest studies on the relationship between Marsh funnel viscosity and mud rheology was done by Pitt.[21] The formula that Pitt[21] developed for predicting the apparent viscosity depending on mud weight and Marsh funnel viscosity can be used with the 383 data points to evaluate the value of the work done here compared to previous studies. It was found that the correlation coefficient for the apparent viscosity obtained from Pitt’s equation (eq ) was 0.74, which is fairly good, but the model developed from this study is much more accurate as it had a correlation coefficient of 0.96 and the values resulted from this model had higher quality when checked for average absolute percentage error that was extremely low, i.e., 3.99%, which is far less than the average absolute percentage error from Pitt’s equation (eq ) that was 78.44%. Even the modified version of Pitt’s equation, that is, Almahdawi’s equation (eq ), is still outperformed by the model developed by this study for predicting apparent viscosity when tested against the 383 points used with a correlation coefficient of 0.73 and high error in terms of average absolute percentage error that was 73.87% (Figure ). The results from this comparison confirmed the success and high accuracy of the developed ANN models.
Figure 7

Actual values of apparent viscosity versus predicted values from the equation developed by this study, Pitt’s equation, and Almahdawi’s equation.

Actual values of apparent viscosity versus predicted values from the equation developed by this study, Pitt’s equation, and Almahdawi’s equation. The whole data set used for training and testing for the Max-bridge oil-based mud models was used for comparison with other models.[69] Generally, the developed models for the Max-bridge oil-based mud outperformed all of the models developed by Elkatatny et al.[69] in terms of R (Figure a) and AAPE (Figure b).
Figure 8

Accuracy comparison between Elkatatny et al. equations and the developed models in this paper for Max-bridge oil-based mud: (a) R and (b) AAPE.

Accuracy comparison between Elkatatny et al. equations and the developed models in this paper for Max-bridge oil-based mud: (a) R and (b) AAPE.

Conclusions

This work facilitates the monitoring of rheological parameters in real time with an automated approach using the ANN. High-frequency measured data like mud weight and Marsh funnel viscosity are used directly to predict the rheological parameters of Max-bridge oil-based mud. The following conclusion can be drawn: Four ANN models were developed for predicting the rheological properties such as plastic viscosity (μp), yield point (γ), flow behavior index (η), and apparent viscosity (μa) in real time with a high accuracy. Each model has its optimized parameters; however, 32 neurons in the hidden layer and tan sigmoid (tansig) function transfer function were the best parameters for all models. The models’ training and testing phases showed a high performance with R greater than 0.91 and AAPE less than 5.31%. The models outperformed other published studies in terms of R and AAPE between the actual and predicted values. This study provided empirical equations for estimating the mud rheological parameters to be employed for estimation in real time with a high accuracy.
  2 in total

1.  A fast learning algorithm for deep belief nets.

Authors:  Geoffrey E Hinton; Simon Osindero; Yee-Whye Teh
Journal:  Neural Comput       Date:  2006-07       Impact factor: 2.026

2.  Real-Time Prediction of Rheological Properties of Invert Emulsion Mud Using Adaptive Neuro-Fuzzy Inference System.

Authors:  Ahmed Alsabaa; Hany Gamal; Salaheldin Elkatatny; Abdulazeez Abdulraheem
Journal:  Sensors (Basel)       Date:  2020-03-17       Impact factor: 3.576

  2 in total
  2 in total

1.  Real-time prediction of formation pressure gradient while drilling.

Authors:  Ahmed Abdelaal; Salaheldin Elkatatny; Abdulazeez Abdulraheem
Journal:  Sci Rep       Date:  2022-07-05       Impact factor: 4.996

2.  Machine Learning Model for Monitoring Rheological Properties of Synthetic Oil-Based Mud.

Authors:  Ahmed Alsabaa; Hany Gamal; Salaheldin Elkatatny; Yasmin Abdelraouf
Journal:  ACS Omega       Date:  2022-04-29
  2 in total

北京卡尤迪生物科技股份有限公司 © 2022-2023.