1. Introduction
Poorly designed drilling operations can make drilling less efficient. This can cause problems such as damaged bits, slower drilling, twisted drill strings, and inaccurate measurement while drilling (MWD) tools. These issues can lead to unwanted round-tipping operations and drive up the cost of drilling. During tripping operations, the movement of the drill string in and out of the wellbore, making and breaking connections, results in undesired non-productive time (NPT) being spent, hence increasing drilling costs. It is logical to run the drill string up to its permissible threshold speed and shorten the time related to the tripping operation. However, drill string movement beyond the allowable speed will lead to well collapse and fluid influx to the wellbore while tripping out (the swabbing effect), and well fracturing while tripping in (the surging effect). The consequence of well collapse may cause drill string sticking. When the initial and alternative drill string unsticking operations are carried out without success, the final action is to locate the point of sticking, cut the drill string at the fee point, and then sidetrack. This results in a significant increase in the well budget.
Similarly, well fracturing results in drilling fluid losses. Here, the problem also increases the operational and non-productive time spent, increasing the overall drilling budget. Predicting an appropriate well pressure mitigates possible well instability issues and kick influxes.
Over the years, researchers have built models to predict surge and swab effects based on different assumptions and conditions, such as steady-state and dynamic/transient conditions. Burkhardt (1961) developed a model to estimate surge and swab pressures for Bingham plastic fluids, considering steady-state conditions [
1]. Schuh (1964) used a similar approach when developing a power law fluid model, assuming steady-state flow in a concentric annulus [
2]. Fontenot and Clark (1974) developed a model to predict the swab pressure for Bingham plastic and power law fluids [
3]. Mitchell (1988) produced a dynamic model that included several new factors, such as mud rheology, the elasticity of the pipe and the cement, the formation, changing temperatures, and viscous forces [
4]. Ahmed et al. (2008) experimentally demonstrated the impact of pipe rotation on well pressure in an eccentric and concentric well filled with xanthan gum and polyanionic cellulose-based fluid [
5]. Crespo et al. (2010) developed a simplified swab and surge model for yield–power law fluids [
6]. Srivastav et al. (2012) experimentally showed that the speed of the trip, mud properties, annular clearance, and the eccentricity of the pipe highly affect the surge and swab pressures [
7]. Gjerstad et al. (2013) employed a Kalman filter to predict and calibrate surge and swab pressures in real time for Herschel–Bulkley fluids based on differential pressure equations [
8]. Ming et al. (2016) employed computational fluid dynamics techniques to build a swab and surge prediction model for concentric annuli. The comparison of simulations and experiments indicated an accuracy of up to 75% in predicting surge and swab pressures [
9].
Fredy et al. (2012) utilized narrow slot geometry and regression techniques to develop a steady-state swab and surge prediction model, considering the compressibility of the fluid, formation, and pipe elasticity [
10]. Erge et al. (2015) built a numerical annular pressure loss estimation model for eccentric annuli [
11]. He at el. (2016) employed numerical simulations and regression techniques to forecast drilling operations’ swab and surge pressures. The model indicated a ±3% maximum error compared with that of the experimental measurements [
12]. Evren M. et al. (2018) utilized artificial neural network techniques and performed parametric studies on pressure loss [
13]. Ettehadi et al. (2018) developed an analytical model for calculating pressure surges caused by drill string movement in Herschel–Bulkley fluids [
14]. Shwetank et al. (2020) developed a two-layer neural network to predict swab and surge pressures [
15]. Shwetank et al. (2020) also performed a parametric study to identify the impact of different parameters on the surge and swab pressures [
16]. Zakarya et al. (2021) utilized numerical and random forest models to study the flow of drilling fluid through an eccentric annulus during tripping operations and the effect of eccentricity on annular velocity and apparent viscosity profiles [
17]. Amir et al. (2022) employed deep learning techniques to predict the equivalent circulating mud density during tripping and drilling operations [
18].
However, the reviewed scientific literature shows that the swab and surge models do not consider all the operational fluid properties and well geometry setups. Therefore, the applicability of swab surge models is valid for the considered assumptions and experimental setup conditions.
This study aimed to compare the predictions of swab and surge physics-based models, specifically the Bingham plastic, power law, and Robertson–Stiff models. The evaluation was conducted in vertical and deviated wells, using four different types of drilling fluids. Additionally, two machine learning models were applied to demonstrate how data-driven models can predict the synthetic physics-based dataset. We also implemented six machine learning (ML) models for the prediction of equivalent circulating mud density (ECD) in the actual field data acquired via a high-speed (wired drill pipe) telemetry system.
4. Discussion
Tripping operations refer to lowering or withdrawing a drill string into a wellbore hole. The literature indicates that approximately 18% of drilling time is spent performing tripping operations, and is considered non-productive according to Christopher Jeffery et al. (2020) [
29]. Tripping is performed, for example, to replace worn-out drill bits. Tripping string at a lower speed is safer concerning wellbore instability; however, it will increase the non-productive time and cost. Tripping at a higher speed will minimize the non-productive time, but pulling the strings above their optimum values will create undesired surging and swabbing pressures that could lead to wellbore fracture and collapse/kick, respectively. For safe and efficient operation, it is imperative to predict the appropriate swab surge pressure precisely associated with the optimized tripping speeds.
Amir et al. (2022) [
39] presented an extensive literature review on surge/swab pressure models, which were developed based on physical laws (analytical models) and experimental works (empirical models). The developed analytical models were based on several presumptions, and simulated in laboratory-controlled experimental setup conditions. However, it is difficult to precisely quantify the degree of drill string eccentricity, wellbore roughness, sizes, and fluid properties in actual drilling well operation conditions. Hence, model predictions with uncertain inputs will not be correct. Moreover, the model predictions also varied. This indicates the uncertainty of the parametric-based modeling for swab and surge models.
In this study, first, we conducted a physics-based swab and surge simulation to evaluate the model prediction in different well trajectories filled with drilling fluids exhibiting different rheological and physical properties. The models tested were Bingham plastic, power law, and Robertson–Stiff. Four oil-based drilling fluids with various viscosities were considered for the simulations, under both vertical and deviated well profiles.
Observations based on the considered drilling fluids and simulation setup revealed that:
The model’s predictions were inconsistent compared with each other.
As the flow rates increased to approximately 200–300 lpm, surging speeds in the deviated well filled with 90:10 OBM showed an increasing trend, whereas in 80:20 OBM, the surging speed showed a decreasing trend. On the other hand, in both fluid systems, the surging speeds decreased when the flow rate increased above 300 lpm. Even though the trends in surge speeds for the three models’ predictions seemed similar, the values were quite different.
Regarding rheology fluid descriptions, the RS model showed a lower error deviation. However, the swab and surge percentile deviation from the BP was lower than the RS with PL. The swab and surge predictions with the three models varied in the different well trajectories filled with fluids of different densities and viscosities.
It was difficult to conclude the accuracy of the hydraulics model prediction based on how the model accurately described the fluid rheological properties.
A general model that considers all physical processes and fluid properties is presently unavailable. It is, therefore, vital to calibrate models with a real-time measured dataset that considers bulk effects in the wellbore.
Hydraulics data measured in the North Sea oil field were compared with a hydraulic model by Lohne et al. in 2008 [
40]. The comparison results revealed a difference between the measured and modeled values. This comparison demonstrated that the model was unable to predict the measurement. The model’s parameters, including density, friction factor, and well path, were all ambiguous. Lohne et al. incorporated a calibration factor and set the friction factor value to only one because the model did not fully represent the physics. The authors created a dynamic calibration factor based on the collected data to calibrate the annulus and drill string pressure. Jeyhun et al. (2016) [
27] deployed five hydraulic models on both laboratory and field data in a separate study; they discovered that the predictions derived from these models were inconsistent. For instance, the Herschel–Bulkley model may correctly forecast the hydraulics of fluid A in a pipe or annulus, whereas for fluid type B, Robertson–Stiff models could work better than the others. This suggests that no universal solution can anticipate a fluid’s hydraulics in a wellbore due to the variable fluid flow and pipe movements in and out of the well.
For calibration of the hydraulics model, the accuracy of the measurement was also a critical factor. For this, Lohne et al. (2008) [
40], Reeves et al. (2006) [
28], and Christopher et al. (2020) [
29] identified that the high-speed telemetry system, WDP, plays a significant role in terms of providing a higher rate of data transmission with less noise. Moreover, unlike measurement while drilling (MWD) sensors, Michael (2003) demonstrated that WDP telemetry performs continuous measurements of downhole pressure with low or zero drilling fluid flow rate conditions, [
41]. The argument for data-driven-based modeling is that the measured data include all possible factors contributing to swab and surge impacts. Wired pipe technology enables high-quality and rapid data transfer. Moreover, knowing which physics-based modeling perfectly predicts the swab surge model as consistently and accurately as possible is difficult.
Therefore, the applicability of the selected ML models (ANN and RF) was first employed on the physics-based generated synthetic data. The results show that the ML perfectly correlated with the dataset.
The performance of the six ML algorithms implemented on unfiltered WPD tripping-out field datasets showed relatively accurate predictions on both the training and test datasets. However, after applying an exponential smoothing filter on the same field data, the models demonstrated excellent performance.