Formation pore pressure is an important variable for drilling operations. For example, knowing the formation pore pressure ahead of a drilling campaign may help the drilling crew choose the right mud weight to use to ensure safety and preserve the wellbore integrity. Overpressures can cause kicks, blowouts, and borehole instability during drilling leading to risks to human lives and a considerable increase in the cost of drilling. Preparing an efficient drilling plan may be difficult without an accurate pore pressure prediction. The current approach to formation pore pressure prediction ahead of drilling a prospect is heavily reliant on seismic data and wireline logs from offset wells. However, seismic data is known for its low vertical resolution. A more recent seismic-while-drilling approach is costly, and accuracy is still not guaranteed due to the inherent noise in seismic data. Seismic data has high uncertainties due to the low vertical resolution while wireline data is only acquired after drilling is completed, hence could not serve the real-time purpose required for this application. In view of the above, the availability of accurate formation pore pressure predictions would be desirable.
This summary is provided to introduce a selection of concepts that are further described below in the detailed description. This summary is not intended to identify key or essential features of the claimed subject matter, nor is it intended to be used as an aid in limiting the scope of the claimed subject matter.
In general, in one aspect, embodiments relate to a method for facilitating drilling of a prospect, the method comprising: for a plurality of offset wells associated with the prospect, obtaining offset well data, the offset well data comprising: surface drilling parameters, mud gas data, and formation pore pressure data; training, using the offset well data, a machine learning (ML) model to make formation pore pressure predictions, wherein the offset well data used for training the ML model excludes the offset well data of an offset well in closest proximity to the prospect; and generating a formation pore pressure profile prediction for the prospect prior to drilling the prospect by: making formation pore pressure predictions for the offset well in closest proximity to the prospect using the ML model operating on the offset well data of the offset well in closest proximity to the prospect.
In general, in one aspect, embodiments relate to a non-transitory machine-readable medium comprising a plurality of machine-readable instructions executed by one or more processors, the plurality of machine-readable instructions causing the one or more processors to perform operations comprising: for a plurality of offset wells associated with a prospect, obtaining offset well data, the offset well data comprising: surface drilling parameters, mud gas data, and formation pore pressure data; training using the offset well data, a machine learning (ML) model to make formation pore pressure predictions, wherein the offset well data used for training the ML model excludes the offset well data of an offset well in closest proximity to the prospect; and generating a formation pore pressure profile prediction for the prospect prior to drilling the prospect by: making formation pore pressure predictions for the offset well in closest proximity to the prospect using the ML model operating on the offset well data of the offset well in closest proximity to the prospect.
Other aspects and advantages of the claimed subject matter will be apparent from the following description and the appended claims.
Specific embodiments of the disclosed technology will now be described in detail with reference to the accompanying figures. Like elements in the various figures are denoted by like reference numerals for consistency.
In the following detailed description of embodiments of the disclosure, numerous specific details are set forth in order to provide a more thorough understanding of the disclosure. However, it will be apparent to one of ordinary skill in the art that the disclosure may be practiced without these specific details. In other instances, well-known features have not been described in detail to avoid unnecessarily complicating the description.
Throughout the application, ordinal numbers (e.g., first, second, third, etc.) may be used as an adjective for an element (i.e., any noun in the application). The use of ordinal numbers is not to imply or create any particular ordering of the elements nor to limit any element to being only a single element unless expressly disclosed, such as using the terms “before”, “after”, “single”, and other such terminology. Rather, the use of ordinal numbers is to distinguish between the elements. By way of an example, a first element is distinct from a second element, and the first element may encompass more than one element and succeed (or precede) the second element in an ordering of elements.
In general, embodiments of the disclosure include systems and methods for a formation pore pressure prediction prior to and during drilling of a prospect. The prospect may be a well to be drilled at a drilling location. The drilling location may be in an area of exploration in which hydrocarbons are assumed to exist in an economic quantity.
The prediction prior to the drilling may be performed based on surface drilling parameters and mud gas data previously collected from offset wells, and the updating of the prediction during the drilling may be performed using real-time data obtained from the well being drilled.
Methods and systems in accordance with embodiments of the disclosure provide non-seismic alternatives to determining formation pore pressure, based on mud gas data. The gas liberated during drilling (measured as mud gas data) may have a high correlation with drilling hazards such as kicks and blowouts. These hazards are attributable to formation overpressure, which may be detectable using embodiments of the disclosure. Embodiments of the disclosure operate in two major steps:
Embodiments of the disclosure provide various benefits. Embodiments of the disclosure address the challenge of formation pore pressure prediction. A non-seismic alternative to pre-drill formation pore pressure prediction that utilizes mud gas and MDT data is provided. Availability of the formation pore pressure prediction prior to and while drilling provides various benefits: The weight on the drill bit may be dynamically adjusted to prevent various drilling issues such as blowout, gas kicks, stuck pipe, fluid influx, and lost circulation, thereby increasing safety and increasing drilling efficiency. The drilling mud properties such as density and rheology may be dynamically adjusted, thereby increasing the rate of penetration. Availability of formation pore pressure predictions may further be beneficial or essential for well control, geosteering, to dynamically determine optimal casing points while drilling, to dynamically detect zones of poor quality logging while drilling (LWD) measurements, to dynamically detect zones of hydrocarbon existence, etc.
Embodiments of the disclosure overcome the limitation of the traditional approach to formation pore pressure prediction ahead of drilling a prospect. The traditional approach is based on seismic and wireline data. Seismic data has limitations which include low vertical resolution and high uncertainty. Further, wireline data is only available after drilling is completed. Embodiments of the disclosure utilize surface drilling parameters and mud gas data from offset wells to predict a log scale formation pore pressure profile to be included in the drilling plan. The prognostic may be updated in real time when drilling starts, using the same input data acquired while drilling. Embodiments of the disclosure may improve the accuracy and reduce the uncertainty of the formation pore pressure prediction as it is driven by geological data and the nonlinear approximation capability of machine learning.
Turning to
The control system (144) may include one or more programmable logic controllers (PLCs) that include hardware and/or software with functionality to control one or more processes performed by the drilling system (100). Specifically, a programmable logic controller may control valve states, fluid levels, pipe pressures, warning alarms, and/or pressure releases throughout a drilling rig. In particular, a programmable logic controller may be a ruggedized computer system with functionality to withstand vibrations, extreme temperatures, wet conditions, and/or dusty conditions, for example, around a drilling rig. For example, the control system (144) may be coupled to the sensor assembly (123) in order to perform various program functions for up-down steering and left-right steering of the drill bit (124) through the wellbore (116). While one control system is shown in
The wellbore (116) may include a bored hole that extends from the surface into a target zone of the hydrocarbon-bearing formation, such as the reservoir. An upper end of the wellbore (116), terminating at or near the surface, may be referred to as the “up-hole” end of the wellbore (116), and a lower end of the wellbore, terminating in the hydrocarbon-bearing formation, may be referred to as the “down-hole” end of the wellbore (116). The wellbore (116) may facilitate the circulation of drilling fluids during well drilling operations, the flow of hydrocarbon production (“production”) (e.g., oil and gas) from the reservoir to the surface during production operations, the injection of substances (e.g., water) into the hydrocarbon-bearing formation or the reservoir during injection operations, or the communication of monitoring devices (e.g., logging tools) into the hydrocarbon-bearing formation or the reservoir during monitoring operations (e.g., during in situ logging operations). In one or more embodiments, a mud line (119) connects to a drilling fluid circulation system (not shown). A gas mixture may be separated from the drilling mud circulated via the mud line (119). The gas mixture may be analyzed by various instruments such as a gas mass spectrometer (not shown) and/or a gas chromatograph (not shown) in order to acquire mud gas parameters.
As further shown in
One or more of the drilling parameters, including drilling surface parameters, and mud gas parameters may be used for the prediction of formation pore pressure for the prospect. The surface drilling parameters may include, but are not limited to, the rate of penetration (ROP), the weight on bit (WOB), the torque, the revolutions per minute (RPM), the hook load, the mud flow rate, the D-exponent, the mud density, the standpipe pressure, and/or the mud temperature. The mud gas parameters may capture different gas components ranging from the light (C1, C2, C2S, C3, iC4, nC4, iC5, nC5) to the heavy (Benzene, Toluene, Helium, MethylCycloHexane) gas components as well as the organic (all the afore-mentioned) and inorganic (CO2, H2, H2S) gas components.
One or more components of the drilling system (100) may be part of a system for formation pore pressure prediction prior to and during drilling. Specifically, the drilling system (100) may be an offset well or the prospect, as further described below in reference to the subsequently discussed figures. A processing system (150), may receive data from the drilling system (100) and, if the drilling system is the prospect, may further issue drilling commands to the drilling system (100). The processing system (150) may include a computing system such as the computer system shown in
Keeping with
In one well operation example, the sides of the wellbore (116) may require support, and thus casing may be inserted into the wellbore (116) to provide such support. After a well has been drilled, casing may ensure that the wellbore (116) does not close in upon itself, while also protecting the wellstream from outside incumbents, like water or sand. Likewise, if the formation is firm, casing may include a solid string of steel pipe that is run on the well and will remain that way during the life of the well. In some embodiments, the casing includes a wire screen liner that blocks loose sand from entering the wellbore (116).
In another well operation example, a space between the casing and the untreated sides of the wellbore (116) may be cemented to hold a casing in place. This well operation may include pumping cement slurry into the wellbore (116) to displace existing drilling fluid and fill in this space between the casing and the untreated sides of the wellbore (116). Cement slurry may include a mixture of various additives and cement. After the cement slurry is left to harden, cement may seal the wellbore (116) from non-hydrocarbons that attempt to enter the wellstream. In some embodiments, the cement slurry is forced through a lower end of the casing and into an annulus between the casing and a wall of the wellbore (116). More specifically, a cementing plug may be used for pushing the cement slurry from the casing. For example, the cementing plug may be a rubber plug used to separate cement slurry from other fluids, reducing contamination and maintaining predictable slurry performance. A displacement fluid, such as water, or an appropriately weighted drilling fluid, may be pumped into the casing above the cementing plug. This displacement fluid may be pressurized fluid that serves to urge the cementing plug downward through the casing to extrude the cement from the casing outlet and back up into the annulus.
Keeping with well operations, some embodiments include perforation operations. More specifically, a perforation operation may include perforating casing and cement at different locations in the wellbore (116) to enable hydrocarbons to enter a wellstream from the resulting holes. For example, some perforation operations include using a perforation gun at different reservoir levels to produce holed sections through the casing, cement, and sides of the wellbore (116). Hydrocarbons may then enter the wellstream through these holed sections. In some embodiments, perforation operations are performed using discharging jets or shaped explosive charges to penetrate the casing around the wellbore (116).
In another well operation, a filtration system may be installed in the wellbore (116) in order to prevent sand and other debris from entering the wellstream. For example, a gravel packing operation may be performed using a gravel-packing slurry of appropriately sized pieces of coarse sand or gravel. As such, the gravel-packing slurry may be pumped into the wellbore (116) between a casing's slotted liner and the sides of the wellbore (116). The slotted liner and the gravel pack may filter sand and other debris that might have otherwise entered the wellstream with hydrocarbons.
In some embodiments, well intervention operations may include various operations carried out by one or more service entities for an oil or gas well during its productive life (e.g., fracking operations, CT, flow back, separator, pumping, wellhead and Christmas tree maintenance, slickline, wireline, well maintenance, stimulation, braded line, coiled tubing, snubbing, workover, subsea well intervention, etc.). For example, well intervention activities may be similar to well completion operations, well delivery operations, and/or drilling operations in order to modify the state of a well or well geometry. In some embodiments, well intervention operations provide well diagnostics, and/or manage the production of the well. With respect to service entities, a service entity may be a company or other actor that performs one or more types of oil field services, such as well operations, at a well site. For example, one or more service entities may be responsible for performing a cementing operation in the wellbore (116) prior to delivering the well to a producing entity.
While
Execution of one or more blocks in
Turning to
In Step 402, the prospect is identified. Identification of the prospect may involve determining a location of the prospect. Any location may be selected. The location may be selected based on any consideration such an expected productivity of the well to be drilled.
In Step 404, offset wells associated with the prospect are identified. An offset well associated with the prospect, in one or more embodiments, is an existing well in proximity to the prospect. For example, if multiple wells are existing in an area surrounding or adjacent to the prospect, the wells that are in closest spatial or geological proximity to the prospect are selected as offset wells associated with the prospect, based on the assumption that an offset well in closer proximity to the prospect may have formation pore pressure characteristics similar to the prospect. Among the offset wells, the offset well with the closest proximity to the prospect is identified.
In Step 406, offset well data are obtained for the offset wells. The offset well data may include surface drilling parameters, mud gas data, and formation pore pressure data, as previously described. The offset well data may be stored in any format, e.g., in a database.
In Step 408, a machine learning (ML) model is trained to make pore pressure predictions.
The ML model may be any type of machine learning model. Examples for machine learning models that may be used include, but are not limited to, Artificial Neural Networks (ANN), Support Vector Machines (SVM), Regression Trees (RT), Random Forests (RF), Extreme Learning Machines (ELM), Type I and Type II Fuzzy Logic (T1FL/T2FL), etc. Although the following description is based on the use of an ANN, the same principles may be applied to the other algorithms. In some embodiments, two or more different types of machine-learning models are integrated into a single machine-learning architecture, e.g., a machine-learning model may include support vector machines and neural networks.
In some embodiments, various types of machine learning algorithms, e.g., backpropagation algorithms, may be used to train the machine learning models. In a backpropagation algorithm, gradients are computed for each hidden layer of a neural network in reverse from the layer closest to the output layer proceeding to the layer closest to the input layer. As such, a gradient may be calculated using the transpose of the weights of a respective hidden layer based on an error function (also called a “loss function”). The error function may be based on various criteria, such as mean squared error function, a similarity function, etc., where the error function may be used as a feedback mechanism for tuning weights in the machine-learning model. In some embodiments, historical data, e.g., production data recorded over time may be augmented to generate synthetic data for training a machine learning model.
With respect to neural networks, for example, a neural network may include one or more hidden layers, where a hidden layer includes one or more neurons. A neuron may be a modelling node or object that is loosely patterned on a neuron of the human brain. In particular, a neuron may combine data inputs with a set of coefficients, i.e., a set of network weights for adjusting the data inputs. These network weights may amplify or reduce the value of a particular data input, thereby assigning an amount of significance to various data inputs for a task being modeled. Through machine learning, a neural network may determine which data inputs should receive greater priority in determining one or more specified outputs of the neural network. Likewise, these weighted data inputs may be summed such that this sum is communicated through a neuron's activation function to other hidden layers within the neural network. As such, the activation function may determine whether and to what extent an output of a neuron progresses to other neurons where the output may be weighted again for use as an input to the next hidden layer.
In one embodiment, the ANN model used in Step 408 is configured and optimized with one or more hidden layers (depending on the volume and complexity of the training data), a sigmoid activation function in the hidden layer, a linear function in the summation layer, and training algorithms based on the Levenberg-Marquardt and Bayesian regulation backpropagation. The training of Step 408 may further involve adjusting model parameters, such as the learning rate, number of neurons, activation function, and weight coefficients to their optimal values. The error (residual, mean, absolute, or percentage) between the model prediction and the actual pore pressure data may be kept within a pre-set range. If the error is within the range, the model may be considered optimized and may receive real-time data from the new well to predict the pore pressure log profile. Otherwise, the training operations of Step 408 may continue. The process of matching the model prediction with the actual pore pressure data is performed in a feed-forward manner, and the process of re-adjusting the model parameters to increase the match and reduce the error between the model prediction and the actual pore pressure data is performed as a back-propagation process. The combined execution of the feedforward and back-propagation processes may remove the bias embedded in the original pore pressure estimations by the ML model. Step 408 may be executed in iterations until the error is within the preset range or a maximum number of iterations is reached. The best model achieved at that point may be used in the subsequent steps. The following paragraphs provide additional details on the training being performed in Step 408.
The training may be performed using the offset well data, in order to obtain an ML model that establishes a relationship between the combined surface drilling parameters and mud gas data at the input of the ML model and the formation pore pressure at the output of the ML model. In one or more embodiments, the offset well data used for the training excludes the offset well data associated with the offset well in closest proximity to the prospect.
First, the offset well data, obtained in Step 406, is split into a training subset and a validation subset. The training and validation data subsets are used to create a nonlinear mathematical relationship between the combined data and the pore pressure estimations, represented by the ML model. The training involves assigning a certain weight factor determined by the outcome of the nonlinear mapping using an appropriate activation function to each feature from the combined data. This weight factor, typically ranging from 0 to ±1, may be obtained from the degree of nonlinear correlation or significance between the combined data (surface drilling parameters and mud gas data) and the pore pressure data. The weighting process may determine the effect a variable from the combined input data has on the overall relationship provided by the ML model being trained. A certain function, ƒ, such as a sigmoid may be used to transform the input space to a high-dimensional nonlinear space to match the nature of the subsurface data. In a simplified form, a typical mathematical equation could be as shown in a very much simplified form below:
Y=ƒ(a1X1+a2X2+ . . . +a6X6).
Y is the target variable (pore pressure in this case), a1 . . . a6 are the weighting factors, X1-X6 are examples of the combined input data, and ƒ is the activation function such as Gaussian or sigmoid.
A Gaussian function is in this form:
ƒ(x)=e−x
A sigmoid function is in this form:
Parameters such as the number of layers and number of neurons in the hidden layer(s) are set to fit the nonlinear equation to the training data.
The input part of the validation dataset (combined data) may be passed to the ML model being trained, while keeping the target values (actual pore pressure) hidden. The ML model being trained is used to estimate the target values corresponding to the combined input data of the validation data set. The estimated target values are then compared to the actual target values of the validation data set, kept hidden from the ML model being. If the residual is more than a predefined threshold, the parameters are updated, and the entire process is repeated. The described cycle may be continued until the residual is within the predefined threshold. At this point, the ML model may be considered trained and ready for predicting the formation pore pressure for the prospect, as discussed below.
In Step 410, a pore pressure profile prediction is generated for the prospect. The pore pressure profile prediction may include predicted pore pressure values for different depths of the prospect. The pore pressure profile prediction may be for the entire well depth to be drilled, for a zone of interest, or for a zone for which inputs to the ML model are available. In one or more embodiments, the pore pressure profile prediction is generated prior to the drilling of the prospect. The pore pressure profile prediction may be produced by the ML model, after the training of Step 408. The input to the ML model, when making the prediction, in one or more embodiments, is the offset well data of the offset well determined to be in closest proximity to the prospect. Based on the close proximity of the offset well to the prospect, the pore pressure profile prediction of Step 410 may reflect the actual pore pressure profile of the prospect with reasonable accuracy.
In Step 412, a drilling plan is established for the prospect. Establishing the drilling plan may include setting the surface drilling parameters (e.g., the parameters discussed in reference to
Turning to
In Step 452, the ML model is retrained. The retraining may be performed analogous to the initial training (Step 408), although including the offset well data of the offset well in closest proximity to the prospect. The retraining is optional and may be performed for any additional offset well for which offset well data become available. The retraining may result in an ML model different from the original machine learning model. For example, gains may be different, tuning parameters such as the number of neurons, the number of layers, etc. may be different.
In Step 454, real-time data is obtained as the input to the retrained ML model. The real-time data may be obtained during the ongoing drilling of the prospect. The real-time data may include the current surface drilling parameters and mud gas data of the prospect, during the ongoing drilling. The real-time data may be obtained at regular depth intervals, as the drilling is progressing, e.g., as described in reference to
In Step 456, real-time formation pore pressure predictions are made for the prospect using the retrained ML model applied to the real-time data obtained in Step 454. The real-time formation pore pressure predictions may be made at the depth intervals at which real-time data was obtained.
In Step 458, the real-time formation pore pressure predictions obtained in Step 456 are compared with the formation pore pressure profile prediction obtained in Step 410. The comparison may be performed for the corresponding depth intervals. The real-time formation pore pressure predictions may further be compared against pre-specified thresholds to determine possible cases of under- or over-pressure. An alert may be issued to indicate the imminent condition.
In Step 460, based on a difference between the real-time formation pore pressure predictions and the formation pore pressure profile prediction, the formation pore pressure profile prediction is adjusted. More specifically, the formation pore pressure profile prediction may be adjusted for the depth intervals below the current depth interval. The adjustment may be performed by replacing the estimated pore pressure with the real-time actual prediction since the latter is considered more accurate than the former. The former was estimated as a prognosis due to the absence of the latter. As soon as the latter is obtained, the replacement may be performed.
Embodiments may be implemented on a computer system.
The computer (502) can serve in a role as a client, network component, a server, a database or other persistency, or any other component (or a combination of roles) of a computer system for performing the subject matter described in the instant disclosure. The illustrated computer (502) is communicably coupled with a network (530). In some implementations, one or more components of the computer (502) may be configured to operate within environments, including cloud-computing-based, local, global, or other environment (or a combination of environments).
At a high level, the computer (502) is an electronic computing device operable to receive, transmit, process, store, or manage data and information associated with the described subject matter. According to some implementations, the computer (502) may also include or be communicably coupled with an application server, e-mail server, web server, caching server, streaming data server, business intelligence (BI) server, or other server (or a combination of servers).
The computer (502) can receive requests over network (530) from a client application (for example, executing on another computer (502)) and responding to the received requests by processing the said requests in an appropriate software application. In addition, requests may also be sent to the computer (502) from internal users (for example, from a command console or by other appropriate access method), external or third-parties, other automated applications, as well as any other appropriate entities, individuals, systems, or computers.
Each of the components of the computer (502) can communicate using a system bus (503). In some implementations, any or all of the components of the computer (502), both hardware or software (or a combination of hardware and software), may interface with each other or the interface (504) (or a combination of both) over the system bus (503) using an application programming interface (API) (512) or a service layer (513) (or a combination of the API (512) and service layer (513). The API (512) may include specifications for routines, data structures, and object classes. The API (512) may be either computer-language independent or dependent and refer to a complete interface, a single function, or even a set of APIs. The service layer (513) provides software services to the computer (502) or other components (whether or not illustrated) that are communicably coupled to the computer (502). The functionality of the computer (502) may be accessible for all service consumers using this service layer. Software services, such as those provided by the service layer (513), provide reusable, defined business functionalities through a defined interface. For example, the interface may be software written in JAVA, C++, or other suitable language providing data in extensible markup language (XML) format or other suitable format. While illustrated as an integrated component of the computer (502), alternative implementations may illustrate the API (512) or the service layer (513) as stand-alone components in relation to other components of the computer (502) or other components (whether or not illustrated) that are communicably coupled to the computer (502). Moreover, any or all parts of the API (512) or the service layer (513) may be implemented as child or sub-modules of another software module, enterprise application, or hardware module without departing from the scope of this disclosure.
The computer (502) includes an interface (504). Although illustrated as a single interface (504) in
The computer (502) includes at least one computer processor (505). Although illustrated as a single computer processor (505) in
The computer (502) also includes a memory (506) that holds data for the computer (502) or other components (or a combination of both) that can be connected to the network (530). For example, memory (506) can be a database storing data consistent with this disclosure. Although illustrated as a single memory (506) in
The application (507) is an algorithmic software engine providing functionality according to particular needs, desires, or particular implementations of the computer (502), particularly with respect to functionality described in this disclosure. For example, application (507) can serve as one or more components, modules, applications, etc. Further, although illustrated as a single application (507), the application (507) may be implemented as multiple applications (507) on the computer (502). In addition, although illustrated as integral to the computer (502), in alternative implementations, the application (507) can be external to the computer (502).
There may be any number of computers (502) associated with, or external to, a computer system containing computer (502), each computer (502) communicating over network (530). Further, the term “client,” “user,” and other appropriate terminology may be used interchangeably as appropriate without departing from the scope of this disclosure. Moreover, this disclosure contemplates that many users may use one computer (502), or that one user may use multiple computers (502).
In some embodiments, the computer (502) is implemented as part of a cloud computing system. For example, a cloud computing system may include one or more remote servers along with various other cloud components, such as cloud storage units and edge servers. In particular, a cloud computing system may perform one or more computing operations without direct active management by a user device or local computer system. As such, a cloud computing system may have different functions distributed over multiple locations from a central server, which may be performed using one or more Internet connections. More specifically, cloud computing system may operate according to one or more service models, such as infrastructure as a service (IaaS), platform as a service (PaaS), software as a service (SaaS), mobile “backend” as a service (MBaaS), serverless computing, artificial intelligence (AI) as a service (AIaaS), and/or function as a service (FaaS).
Although only a few example embodiments have been described in detail above, those skilled in the art will readily appreciate that many modifications are possible in the example embodiments without materially departing from this invention. Accordingly, all such modifications are intended to be included within the scope of this disclosure as defined in the following claims.