| Literature DB >> 36131092 |
Ahmed Gowida1, Ahmed Farid Ibrahim1, Salaheldin Elkatatny2.
Abstract
Safe mud window (SMW) defines the allowable limits of the mud weights that can be used while drilling O&G wells. Controlling the mud weight within the SMW limits would help avoid many serious problems such as wellbore instability issues, loss of circulation, etc. SMW can be defined by the minimum mud weight below which shear failure (breakout) may occur (MWBO) and the maximum mud weight above which tensile failure (breakdown) may occur (MWBD). These limits can be determined from the geomechanical analysis of downhole formations. However, such analysis is not always accessible for most drilled wells. Therefore, in this study, a new approach is introduced to develop a new data-driven model to estimate the safe mud weight range in no time and without additional cost. New models were developed using an artificial neural network (ANN) to estimate both MWBO and MWBD directly from the logging data that are usually available for most wells. The ANN-based models were trained using actual data from a Middle Eastern field before being tested by an unseen dataset. The models achieved high accuracy exceeding 92% upon comparing the predicted and observed output values. Additionally, new equations were established based on the optimized ANN models' weights and biases whereby both MWBO and MWBD can be calculated without the need for any complicated codes. Finally, another dataset from the same field was then used to validate the new equations and the results demonstrated the high robustness of the new equations to estimate MWBO and MWBD with a low mean absolute percentage error of 0.60% at maximum. So, unlike the costly conventional approaches, the newly developed equations would facilitate determining the SMW limits in a timely and economically effective way, with high accuracy whenever the logging data are available.Entities:
Year: 2022 PMID: 36131092 PMCID: PMC9492774 DOI: 10.1038/s41598-022-20195-7
Source DB: PubMed Journal: Sci Rep ISSN: 2045-2322 Impact factor: 4.996
Borehole shear failure (Breakout) criterion to determine MWBO for borehole stability.
| Case | Stress state | Borehole failure occurs when |
|---|---|---|
| 1 | ||
| 2 | ||
| 3 |
Where; , , , , where, A, B, and C are constants that are calculated based on other parameters, i.e., Shmin, Shmax, Sv and PR. UCS refers to the uniaxial compressive strength and β denotes the failure angle.
Descriptive statistical analysis of the dataset used in this study.
| Parameter | GR (API unit) | DTC (µs/ft) | DTS (µs/ft) | RHOB (g/cm3) | NPHI | MWBO (Ib/ft3) | MWBD (Ib/ft3) |
|---|---|---|---|---|---|---|---|
| Minimum | 3.38 | 44.89 | 81.28 | 2.32 | 0.28 | 92.73 | 149.82 |
| Maximum | 85.79 | 66.12 | 132.28 | 3.04 | 0.32 | 98.01 | 167.71 |
| Mean | 29.25 | 48.55 | 90.26 | 2.83 | 0.30 | 95.11 | 156.23 |
| STD | 15.12 | 2.91 | 7.00 | 0.11 | 0.01 | 0.79 | 3.11 |
| Skewness | 4.12 | 44.82 | 81.28 | 2.38 | 0.28 | 92.73 | 150.15 |
Figure 1Histogram of the data used in this study.
Figure 2Heat map reflecting the collinearity among the input/output parameter with the P-values associated with the correlation coefficients.
Figure 3Comparison of the prediction error for the tested input groups.
The tested options for optimizing the developed ANN models.
| Parameter | Tested options/ranges | Optimized parameters | |||
|---|---|---|---|---|---|
| MWBO model | MWBD model | ||||
| Number of hidden layers | 1–4 | 1 | |||
| Number of neurons in each layer | 5–40 | 10 | 7 | ||
| Split Ratio | 70–90% (For training set) The rest was used for testing | 70 (train) : 30 (test) | |||
| Training algorithms | trainlm | trainbr | trainrp | trainbr | |
| trainscg | traincgb | traincgf | |||
| traincgp | trainoss | traingdx | |||
| Transfer function | tansig | logsig | elliotsig | tansig | |
| radbas | hardlim | satlin | |||
| Learning rate | 0.01–0.9 | 0.12 | |||
Figure 4Typical schematic of the developed ANN architectures.
Figure 5Flowchart for developing the proposed new ANN-Based equations.
Figure 6Graphical representations for the Observed vs. Predicted outputs for both MWBO (left) and MWBD (right) models for the testing process.
Figure 7Crossplots between the actual and predicted output values for (a) MWBO and (b) MWBD models using the testing dataset.
The optimized weights and biases of the developed ANN-based model to estimate the MWBO.
| 1 | − 0.146 | 3.033 | − 0.626 | 0.972 | − 1.907 | − 0.598 |
| 2 | 0.136 | − 0.915 | − 1.555 | − 2.913 | − 0.630 | |
| 3 | 3.116 | − 0.749 | 0.169 | − 1.230 | − 0.454 | |
| 4 | 0.587 | 0.957 | 2.175 | − 0.990 | 0.613 | |
| 5 | − 4.532 | 0.451 | − 0.565 | − 0.768 | 0.770 | |
| 6 | − 0.593 | 1.210 | 4.230 | − 0.779 | 2.736 | |
| 7 | − 1.410 | 0.579 | 2.169 | − 0.957 | 0.371 | |
| 8 | − 0.398 | 2.369 | − 0.515 | − 1.743 | − 1.829 | |
| 9 | − 1.864 | − 0.601 | 0.769 | 0.501 | 0.446 | |
| 10 | 1.022 | − 1.752 | − 0.466 | 1.067 | − 0.439 | |
The optimized weights and biases of the developed ANN-based model to estimate the MWBD.
| 1 | − 0.445 | 0.393 | 2.084 | − 0.598 | 0.546 | 1.398 |
| 2 | − 0.743 | − 0.797 | − 0.110 | 1.689 | − 0.369 | |
| 3 | − 1.822 | − 1.811 | − 1.066 | − 0.705 | − 0.537 | |
| 4 | − 0.704 | 1.211 | − 1.903 | 1.188 | − 1.668 | |
| 5 | 0.553 | − 2.369 | 1.021 | 1.069 | 1.565 | |
| 6 | − 0.266 | − 1.558 | − 0.526 | − 1.628 | 1.186 | |
| 7 | − 0.123 | 0.160 | − 1.913 | − 1.418 | − 0.981 | |
Figure 8Graphical representations for the Observed vs. predicted outputs for both MWBO (left) and MWBD (right) models for the validation process.
Prediction accuracy of the developed equations to estimate MWBO and MWBD.
| MWBO | MWBD | |||||
|---|---|---|---|---|---|---|
| Prediction error | Prediction error | |||||
| MAPE | MSE | RMSE | MAPE | MSE | RMSE | |
| Training process | 0.21 | 0.003 | 0.057 | 0.41 | 0.004 | 0.065 |
| Testing process | 0.26 | 0.035 | 0.186 | 0.53 | 0.357 | 0.598 |
| Validation process | 0.41 | 0.044 | 0.209 | 0.59 | 0.675 | 0.821 |