Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
BOTTOMHOLE ASSEMBLY DESIGN AND COMPONENT SELECTION
Document Type and Number:
WIPO Patent Application WO/2017/116417
Kind Code:
A1
Abstract:
A method for generating a BHA design and component selection by creating a plurality of BHA configurations. A cost function, representative of each respective BHA configuration, is determined. Each cost function includes drilling process metrics. A final BHA configuration of the plurality of BHA configurations is selected having an optimal cost function value. The optimal cost function value may be defined as a cost function value that is less than cost function values of other respective cost functions for the plurality of BHA configurations.

Inventors:
DYKSTRA JASON D (US)
VADALI VENKATA MADHUKANTH (US)
SONG XINGYONG (US)
ZHAO YIMING (US)
Application Number:
PCT/US2015/067869
Publication Date:
July 06, 2017
Filing Date:
December 29, 2015
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
HALLIBURTON ENERGY SERVICES INC (US)
International Classes:
E21B44/00; E21B10/00; G06F19/00
Foreign References:
EP2108166B12013-06-19
US20110214878A12011-09-08
US20060195307A12006-08-31
US20110077924A12011-03-31
US20050071120A12005-03-31
Attorney, Agent or Firm:
TIDWELL, Mark et al. (US)
Download PDF:
Claims:
Claims

What is claimed is:

1. A method for selection of a bottomhole assembly (BHA) configuration comprising:

creating a plurality of BHA configurations;

determining a cost function representative of each respective BHA

configuration, each cost function comprising drilling process metrics; and

selecting a final BHA configuration of the plurality of BHA

configurations having an optimal cost function value, wherein the optimal cost function value is less than cost function values of other respective cost functions for the plurality of BHA configurations.

2. The method of claim 1, further comprising:

selecting an initial BHA configuration; and

configuring components of the initial BHA configuration to adjust its respective cost function and generate the optimal cost function.

3. The method of claim 1, further comprising optimizing the cost function of each respective BHA configuration through a plurality of iterations based on the respective BHA configuration, drilling model, and/or respective drilling process metrics and weighting coefficients.

4. The method of claim 3, wherein the BHA drilling process metrics

comprise at least one of Energy, Vibrations, Path Deviations, Wear, Measurability, Controllability, Cost, Maneuverability, Rate of

Penetration, or Historical Data.

5. The method of claim 2, wherein updating the weighting coefficients comprises determining the weighting coefficients manually or automatically.

6. The method of claim 1, further comprising constructing a BHA based on the selected final BHA configuration, wherein the selected final BHA configuration is representative of locations and types of BHA

components.

7. The method of claim 1, wherein the cost functions are evaluated in time domain or frequency domain.

8. The method of claim 7, further comprising:

generating a desired BHA frequency response based on the respective cost function of the BHA configuration and/or frequency domain drilling process metrics;

generating a frequency response for each component in the BHA;

generating a plurality of combined frequency responses, each combined frequency response comprising a combination of the frequency responses for the components in the BHA, wherein each frequency response is represented by a respective cost function; determining an error between each combined frequency response and the desired frequency response; and

selecting the final BHA configuration based on the error being

minimized.

9. The method of claim 8, wherein generating a frequency response for each component in the BHA comprises:

generating a set of actual frequency responses for each component for nominal operating conditions; and

generating a set of estimated frequency responses for each component for elevated operating conditions.

10. The method of claim 8, frequency domain drilling process metrics comprise at least one of allowable bandwidth, disturbance sensitivity, frequency gains or resonance amplitude.

11. The method of claim 1, wherein each of the BHA configurations is based on BHA configuration constraints.

12. A non-transitory computer readable medium that stores instructions for execution by processing circuitry to perform operations to generate a bottom hole assembly (BHA) configuration, the operations comprising: create a plurality of BHA configurations;

determine a cost function representative of each respective BHA

configuration, each cost function comprising drilling process metrics; and

select a final BHA configuration of the plurality of BHA configurations having an optimal cost function value, wherein the optimal cost function value is less than cost function values of other representative cost functions for the plurality of BHA configurations.

13. The non-transitory computer-readable medium of clam 12, wherein each cost function is respectively generated by a dynamic model, a plurality of dynamic BHA drilling process metrics, and a plurality of weighting coefficients, the operations further multiply each dynamic drilling constraint by its associated weighting coefficient in a time domain.

14. The non-transitory computer-readable medium of claim 13, further

comprising estimating downhole vibration and drilling path deviation based on the dynamic model.

15. The non-transitory computer-readable medium of claim 14, wherein the dynamic model is physics-based or data-based.

16. The non-transitory computer-readable medium of claim 15, wherein the dynamic model is represented by position and attitude vectors of mass, damping and inertia properties of each component of the BHA.

17. A method comprising:

generating a desired bottom hole assembly (BHA) frequency response based on a cost function;

estimating downhole vibrations and drilling path deviations based on a dynamic model;

generating a frequency response for each component of the BHA based on nominal size, shape, and materials of each component; and changing a combined frequency response, comprising the frequency response for each component, by changing the size, shape, and material of the components of the BHA until an error between the combined frequency response and the desired BHA frequency response is less than a threshold.

18. The method of claim 17, wherein changing the combined frequency response comprises executing an optimization problem defined as mm {{Desired Response - Combined Response at all possible operating conditions)2 wherein Desired Response represents the desired BHA frequency response and Combined Response at all possible operating conditions represents a combination of the frequency responses for all of the components of the BHA.

19. The method of claim 18, wherein the combination of the frequency

responses for all of the components of the BHA includes actual component frequency responses at nominal operating conditions and estimated component frequency responses at elevated operating conditions.

20. The method of claim 19, wherein the error is generated by multiplying weighting coefficient for a predetermined frequency range with the optimization problem.

Description:
BOTTOMHOLE ASSEMBLY DESIGN AND COMPONENT SELECTION

BACKGROUND

[0001] A bottomhole assembly (BHA) may be used for directional drilling of a borehole in almost any direction. The drilling direction of the BHA may be controlled by controlling orientation of the drill bit and/or applied side forces at the bit.

[0002] One challenge related to directional drilling is the design of the BHA. The BHA design has an impact on drilling performance and the lifespan of the BHA In particular, the BHA design determines the various vibration modes of the BHA and also affects the wear rate of the BHA components. For example, if the natural frequencies of the BHA design coincide with expected frequencies of downhole forces, the BHA may resonate, resulting in damage or failure of the BHA.

BRIEF DESCRIPTION OF THE DRAWINGS

[0003] FIG. 1 is a diagram showing an embodiment of a BHA configuration, according to various examples.

[0004] FIG. 2 is a flowchart of a method for BHA design in the time domain, according to various examples.

[0005] FIG. 3 is a diagram showing an embodiment of drilling constraints, according to various examples.

[0006] FIG. 4 is a flowchart of a method for BHA design in the frequency domain, according to various examples.

[0007] FIG. 5 is a graph showing a desired frequency response for the BHA configuration, according to various examples.

[0008] FIG. 6 is a plurality of graphs showing embodiments of actual and estimated frequency responses of various BHA components, according to various embodiments.

[0009] FIG. 7 is a graph showing a combined BHA component frequency response, according to various examples. [0010] FIG.8 is a diagram showing a drilling system, according to various examples of the disclosure.

[0011] FIG. 9 is a block diagram of an example system operable to implement the activities of multiple methods, according to various examples of the disclosure.

DETAILED DESCRIPTION

[0012] Directional drilling is the practice of drilling a wellbore using a hydro- electromechanical system (i.e., BHA) that provides control of the drill bit orientation or applied side forces at the bit thereby allowing drilling along a controlled path in almost any direction. One challenge related to directional drilling is the design of the BHA. The design and component configuration of the BHA has an impact on the performance of drilling as well as the life cycle of the BHA.

[0013] For example, resonating frequencies of a poorly designed BHA, when excited, may result in failure of the BHA. Thus, the BHA should be designed such that the natural frequencies of the BHA do not coincide with expected frequencies of downhole forces. Also, the location and number of stabilizers to be used may affect the whirl and additional contact forces acting on the BHA. The BHA design may also affect the wear rate of the various BHA components. This is an important aspect of BHA design since replacing a worn out or broken downhole component is time consuming and expensive. Another important challenge includes the decision of sensor placement along the BHA. A suitable location for sensors determines the measurability and accuracy of the physical state of interests. Further, accurate placement of sensors is necessary to develop control algorithms for the BHA.

[0014] Some of the challenges noted above, as well as others, may be addressed by implementing a method for BHA design and component selection. The method, operating in either the time domain or the frequency domain, selects the best BHA configuration for a particular job given the type of formation and selected performance requirements. Thus, the method may reduce downhole vibrations and component wear while improving rate of penetration. For example, the method generally may create a plurality of BHA

configurations, determine a cost function representative of each respective BHA configuration, each cost function comprising drilling process metrics, and select a final BHA configuration of the plurality of BHA configurations having an optimal cost function value, wherein the optimal cost function value is less than cost function values of other respective cost functions for the plurality of BHA configurations.

[0015] FIG. 1 is a diagram showing an embodiment of a BHA configuration, according to various embodiments. The various elements and locations of the elements in the BHA are for purposes of illustration only. Other embodiments may employ different BHA elements and locations of those elements than shown.

[0016] A sensor package 101 may be selected for downhole measurements. For example, the sensor package 101 may include the various sensors and circuits (e.g., gyroscopes and accelerometers for inertial measurements, pressure gauges, strain gauges, thermocouples, telemetry, shock, vibration) used during measurement while drilling (MWD) operations with the BHA as part of a drill string. The MWD operations may be used while drilling to determine inclination and/or direction of the drilling operation. Further the sensor package may also include electronics to store the sensor measurements, known as logging while drilling (LWD).

[0017] The sensor package 101 may also include drill collars 125 and/or stabilizers 110. One or more drill collars 125 may be used to provide additional weight on bit (WOB) for drilling.

[0018] The BHA may also include stabilizers 109-112 in other locations of the BHA than the sensor package 101. The primary purpose of the stabilizers, as evident from the name, is to stabilize the BHA within the borehole, reduce vibrations, restrict lateral movement, and provide support forces.

[0019] A rotary steerable system (RSS) 120 is a component used to steer the attached drill bit 103 in directional drilling. The RSS 120 may be controlled from the surface by telemetry or pre-programmed to control the steering of the drill bit 103 by push-the-bit or point-the-bit operations. The drill bit 103 may be pointed in a preferred direction by flexing the drive shaft within the RSS 120 using a pair of eccentric rings controlled by a complex hydro-electro-mechanical system. By controlling the amount of bending of the shaft, the bit can be pointed in the desired direction.

[0020] A flex sub 121 is a flexible joint that may be used to allow flexing and bending of the BHA and certain locations. Other components that are not shown or discussed may also make up the BHA. For example, shock subs,

underreamers, inline reamers as well as other components may be used in a BHA and selected by the subsequently discussed methods for BHA design.

[0021] A dynamic model of the drilling process is used in both the time domain and frequency domain embodiments. The model simulates drilling operating conditions to determine the downhole conditions and the effects on the BHA. The model may be date based, physics based, or a combination of both.

[0022] The data based dynamic model may use empirical data to derive the model. For example, logging data for vibration, rate of penetration, and other forces resulting from particular drilling parameters (e.g., weight-on-bit, torque- on-bit, frictional forces) may be used to generate the model.

[0023] The physics-based model may use a lumped parameter model. In such a model, the drilling system, including the BHA, is modeled as a lumped spring mass system and may be described mathematically by:

wherein x, y, z, a, β, and γ represent the position and attitude vectors of the lumped masses, M, C, and K represent the inertia, damping, and stiffness matrices, respectively, derived from the geometric and material properties of each component, and F represents the force vector of the forces acting on the drilling system. [0024] The X, y, and Z represent the position vectors in Cartesian coordinates of a BHA component. The X, y, and Z represent the first derivative of these coordinates and the position vectors represent the second derivative

of these coordinates.

[0025] The a vectors represent three possible rotational attitudes of

each BHA component at the particular location specified by the x, y, and z position. Th vectors represent the first derivative of these vectors

and the and γ vectors represent the second derivative of these vectors.

Although a Cartesian coordinate systems is used in this example, the model may be developed in any other coordinate systems or a transformation of the same.

[0026] The force vector F thus includes the forces acting on the drilling system. These forces may include torque from a top drive, hook load, weight-on- bit, torque-on-bit, frictional contact forces, non-linear bit rock interactions, hydraulic interaction forces, gravity, as well as other forces.

[0027] FIG. 2 is a flowchart of a method for BHA design in the time domain, according to various embodiments. This method uses an optimized cost function that uses the dynamic model (e.g., physics-based and/or data-based) to estimate vibrations, measurability, controllability, predict wear on components, determine mechanical specific energy (MSE), or other parameters.

[0028] In block 201, an example BHA configuration is generated. This configuration may include types of BHA components and locations of those components. For example, FIG. 1 is one example of a BHA configuration.

[0029] One or more configuration constraints 202 (e.g., expected operating region) may be input to the BHA configuration generation. The expected operating region may be defined based on a type of geological formation to be drilled, a position of the drill bit (e.g., Total Vertical Depth - TVD), desired performance of the drilling system, and/or other such configuration constraints. In an example, FIG. 3 may be used in generating such constraints for operating within a prescribed region of a drilling operation space.

[0030] FIG. 3 is a diagram showing an embodiment of drilling constraints, according to various embodiments. This diagram is only one illustration of particular drilling constraints for operating within the prescribed region of the drilling operation space. Other examples may use other drilling constraints.

[0031] Referring to FIG. 3, an expected operating space 300-302 is defined using three drilling constraints such as weight-on-bit (WOB), drill bit revolutions per minute (RPM) and TVD. In other examples, the operating space may also include dog-leg severity, rate of penetration (ROP), and/or other drilling operating parameters and/or constraints.

[0032] Each of these drilling constraints is assigned to a different axis of the graph. The BHA should perform well within an operating region 300-302 (constraints) as defined by the drilling constraints. However, the operating region 300-302 is going to change based on a changing TVD. Thus, as the effectiveness of a given BHA configuration is simulated using the above- described model and as the drilling operation drills deeper into the geological formation, the operating region 300-302 changes dynamically with depth. The resulting constraints are dynamically changed and imposed on each iteration of the optimization of the cost function.

[0033] In an example, FIG. 3 shows an initial operating region of constraints 300. As the drill bit drills deeper, a second operating region of constraints 301 is generated. Similarly, as the drill bit drills even deeper, a third operating region of constraints 302 is generated. Each of these may be used in a respective iteration of the optimization of the cost function in order to dynamically update the optimization.

[0034] Referring again to FIG. 2, in block 203 a cost function is evaluated as described subsequently. The cost function is representative of the generated BHA configuration 201, dynamic drilling constraints 208 (see FIG. 3), the chosen dynamic model 204 (e.g., physics-based or data-based), and/or a respective weighting coefficient 206 for each of the dynamic drilling constraints 208 and for each of the terms in the cost function. The cost function is optimized by evaluating a plurality of iterations while dynamically updating the drilling constraints and/or weighting coefficients for each iteration. As described previously, the dynamic drilling constraints and/or weighting coefficients may change as the BHA descend deeper into the formation. An optimized function may be defined as a function having the smallest resulting value, relative to the resulting values of the other iterations, upon completion of execution of the iterations.

[0035] The optimized cost function may be defined as the following minimized integration of the drilling constraints and their respective weighting coefficients:

"Energy, Vibrations, Path Deviations, Wear, Measurability, Controllability, Cost, Maneuverability, ROP, and Historical Data " are considered to be drilling process metrics to be optimized. These drilling process metrics are for purposes of illustration only as other drilling process metrics may be used. The choice of the weighting coefficient, c i , for each respective drilling process metric may be manually chosen or automatically chosen.

[0036] In an example of manually chosen weighting coefficients, a user may be interested only in maximizing ROP with minimal vibrations and may not find the energy input (Energy), drilling costs (Cost), etc. as important. In such a case, all Q 's may be set to zero except for the weighting coefficients for Vibrations and ROP

[0037] In an example of automatically chosen weighting coefficients, the process would evaluate the desired drilling path. In a vertical drilling section, no maneuverability is used. Therefore the corresponding weighting coefficient for the drilling process metric of Maneuverability may be automatically set

to zero.

[0038] The Energy drilling process metric may include the total energy input to the drilling system. For example, Energy may include all of the electric, mechanical and hydraulic energies used for the drilling operation. An example mathematical description of the energy may be the mechanical specific energy (MSE), the total strain energy and the input energy and is given as:

[0039] The Vibrations drilling process metric may include various deteriorating downhole vibrations such as stick-slip, bit-whirl, bit-bounce, etc. As an example, the vibrations may be captured by Vibration energy,

where, x, y, z are the three translations and are the three rotations in the

three dimensional drilling space. The variables, var represent the second derivative of the translation and rotation variables, var, with time. Also, each of the vibrations may be scaled appropriately by a normalizing value such as

The normalizing is performed in order to appropriately scale the accelerations in various dimensions. Since a BHA may have multiple sensors to measure acceleration or other drilling parameters, the locations of the different sensors may be taken into account in choosing the normalizing parameters.

[0040] Also in the Vibration energy E v equation,

∑f =1 bi = 1 are vibration weighting coefficients chosen based on the importance of vibrations along particular directions. For example, if the vibrations along all axes are important, then all weighting coefficients are chosen to be equal to a predetermined value (e.g., 1/6). In another example, one vibration weighting coefficients may be chosen to have a higher value (e.g., b 6 = 1) while the rest of the coefficients may be chosen to be zero This gives importance to

the vibrations in the rotary direction (i.e., stick-slip) while the rest are negligible by comparison.

[0041] The cost function also minimizes any deviations from the desired trajectory of drilling, along with minimizing the wear of various components of the BHA. An example representation of such deviations may be given as:

where, the * represents the desired value of the state and

are weighting coefficients chosen based on the importance

of deviations along a particular direction. As an example, if deviations along all axes are equally important, then all weighting coefficients would be chosen to be equal (e.g., 1/6).

[0042] The Measurability term accounts for the locations of the sensors along the BHA such that physical states appropriate for control, optimization and/or fault detection are measured. It also takes the sensor uncertainty, noise, bias, resolution and drift (with time, temperature and other environmental conditions) into account to determine the most beneficial locations for the sensors.

[0043] The Controllability term accounts for the ability to control the BHA and improve the performance while reducing any physical limitations that may arise due to the design. It also includes the locations of various BHA components, such as the stabilizers, such that the BHA may operate in a constraint operating region that is easy to control.

[0044] The Maneuverability term should be maximized as that dictates the location of the RSS relative to the drill bit. Using the location and type of the RSS, Hie Maneuverability term takes into account the desired path geometry parameters (e.g., dog leg severity (DLS), tool face (TF), radius of curvature (ROC)), and optimizes the BHA configuration such that the desired path is achievable at relatively high efficiency and low cost.

[0045] The cost function also takes the Historical Data into account. The Historical Data may include, but not limited to, the formation type, BHA configurations used with a corresponding drilling performance, cost per foot of drilling, etc. These may be included as a separate term in the cost function or may be embedded into other described terms.

[0046] The rate of penetration, ROP is a function of the BHA design and selected components, such as drill bit type. Therefore, the design and components may be chosen such that highest possible ROP is achieved.

[0047] The ultimate goal of optimizing the cost function is to minimize the Cost of drilling. The Cost term may include component costs, assembly costs, and/or maintenance costs.

[0048] In block 205, it is determined if the cost function has been optimized according to the drilling criteria defined by the user 210. The drilling criteria may include a tolerance on energy, ROP, path deviation, etc., or it may be defined based on evaluating the optimal value of the cost function. One way to find the optimal values is to find the BHA configurations that drives the derivative to zero. The determination of an optimized cost function may be determined by comparing the cost function values of the present iteration with the values of other iterations. If this iteration of a particular BHA configuration produced the lowest cost function value, then that particular cost function is the optimal cost function. If the cost function has not been optimized, the process repeats from block 201 where another BHA configuration is generated with new configuration constraints 202 and another cost function iteration generated. [0049] In block 213, if the final cost function is an optimal cost function, the BHA may be designed and assembled based on that final optimized

configuration of the cost function.

[0050] In another example, an initial BHA configuration may be selected. Components of the initial BHA configuration may then be adjusted in order to change its respective cost function and generate the optimal cost function.

[0051] While FIG. 2 illustrates one example of performing BHA design optimization in the time domain, the BHA design optimization may also be accomplished in the frequency domain. The flowchart of FIG. 4 and the frequency response graphs of FIGs. 5-7 illustrate such a concept.

[0052] FIG. 4 is a flowchart of a method for BHA design in the frequency domain, according to various embodiments. This method may be read in conjunction with the frequency response graphs of FIGs. 5-7 that illustrate the desired system frequency response as well as the various BHA component frequency responses.

[0053] In block 401, a desired frequency response is generated for the BHA system. For example, desired frequency response is shown in FIG. 5.

[0054] FIG. 5 is a graph showing a desired frequency response for the BHA configuration, according to various examples. The graphs shows the frequency (in Hertz (Hz)) along the x-axis and the desired response (in decibels (dB)) along the y-axis.

[0055] It can be seen in FIG. 5 that the response gain at a relatively low frequency range may be high in order to achieve acceptable tracking

performance and has a relatively large bandwidth for fast response. The desired response can also incorporate criteria to mitigate disturbance sensitivity and reduce resonance magnitude.

[0056] The Desired Response illustrated in FIG. 5 and used subsequently in the optimization problem may be generated systematically by optimizing the cost function:

where Bandwidth is the bandwidth of the actual frequency response,

is the desired bandwidth of the desired frequency response, Low

Frequency Gain is the estimated low frequency response from the physics based or data driven model and Low Frequency Gain - Desired is desired gain in the low frequency region. Disturbance Sensitivity is a measure of the BHA response to disturbance. One exemplary way to define disturbance sensitivity is the response of BHA for unit disturbance input. Resonance Magnitude at Critical Frequency is response of the BHA when excited at these critical frequencies. The critical frequencies may be the natural frequencies of the BHA or a combination of them.

[0057] In block 403, the frequency response of each of the components of the BHA system (e.g., stabilizer, drill collar, pipe, drill bits) may be generated based on a nominal configuration of each component in a BHA using the dynamic model discussed previously. Such a concept is illustrated in the graphs of FIG. 6.

[0058] The component's nominal configuration, for example, may include a nominal size, shape and/or placement in the BHA. As used herein, a nominal configuration and nominal operating conditions may be defined using empirical data resulting from previous BHA designs and previous BHA operations.

[0059] FIG. 6 is a plurality of graphs showing embodiments of actual 600 and estimated 601 frequency responses of various BHA components, according to various examples. One column of graphs 600 illustrates the actual frequency responses of various BHA components (e.g., stabilizer, drill pipe) at nominal operating conditions (e.g., nominal temperature and pressure, relatively unused drill bit). The other column of graphs 601 illustrates the estimated frequency responses of those same BHA components at elevated operating conditions (e.g., relatively high temperature and pressure, different levels of drill bit wear), as compared to the nominal operating conditions.

[0060] Referring again to the flowchart of FIG. 4, in block 405 the size, shape, material selection, and component placement in the BHA are changed until the combined frequency response is substantially close to the desired frequency response. This is accomplished by solving an optimization problem such as Min {{Desired Response - Combined Response at all possible operating conditions ' ? for each component.

[0061] The optimal BHA configuration (e.g., component size, shape, material, component placement sequence) can be determined by addressing the optimization problem, so that the combined frequency responses at different operating conditions can match the desired frequency response as close as possible. In block 407, the optimization problems for each component of the BHA are represented as a cost function in order to determine an error between the desired frequency response for the BHA (see, for example, FIG. 5) and the response of the current BHA configuration as generated in block 405. This cost function includes weighting coefficients for each executed for component optimization problem in order to adjust (i.e., reduce or increase) the affect that particular component's frequency response has on the overall cost function for the BHA. The cost function for N BHA components can be written as:

where is the weighting coefficient at a given frequency

range for each BHA component and the Max Frequency may be assumed to be infinity for a theoretical solution or Max Frequency may be the highest frequency possible in a downhole environment.

[0062] Each iteration of the cost function results in an error that is the difference between the desired frequency response for the BHA and the actual frequency response of the current BHA configuration. This error is compared to a desired threshold in block 409. If the error is greater than the threshold, the method returns to generate another BHA configuration in block 405 having different size, shape and placement of BHA components. The optimized cost function for that particular BHA configuration is then determined and the process repeats. In block 411, the BHA may then be designed and built based on the optimized cost function. Thus, the optimized cost function has the smallest error of all of the iterations (i.e., the error is minimized).

[0063] The error threshold may not be zero. A higher error threshold may result in greater damage and/or wear to the BHA than a lower error threshold. However, if the error threshold is too low, there may not be a BHA configuration that results in a frequency response that exactly matches the desired frequency response. Thus, a trade-off may be made between achieving a low threshold that is still achievable.

[0064] FIG. 7 is a graph showing combined BHA component frequency responses, according to various examples. The desired frequency response 500 from FIG. 5 is included for reference.

[0065] The graph shows an estimated combined frequency response curve 700 at various different operating conditions. This curve 700 is a combination of the estimated frequency response curves 601 of FIG. 6.

[0066] The graph also shows an actual combined frequency response curve 701 at nominal conditions. This curve 701 is a combination of the actual frequency response curves 600 of FIG. 6.

[0067] The combined BHA component frequency response is generated by combining the BHA component frequency responses with different

configurations of the size, shape, material selection and placement of the BHA components. This may be referred to as an expected overall BHA frequency response. Note that for a specific configuration of BHA components, there could be multiple combined frequency responses accounting for various operating conditions (e.g., temperature, pressure, drill bit wear).

[0068] FIG. 8 is a diagram showing a drilling system 864, according to various examples of the disclosure. The system 864 includes a drilling rig 802 located at the surface 804 of a well 806. The drilling rig 802 may provide support for a drill string 808. The drillstring 808 may operate to penetrate the rotary table 810 for drilling the borehole 812 through the subsurface formations 814. The drillstring 808 may include a drill pipe 818 and the bottom hole assembly (BHA) 820 (e.g., drill string), perhaps located at the lower portion of the drill pipe 818. [0069] The BHA 820 may include drill collars 822, a down hole tool 824, stabilizers, sensors, an RSS, a drill bit 826, as well as other possible components. The drill bit 826 may operate to create the borehole 812 by penetrating the surface 804 and the subsurface formations 814.

[0070] During drilling operations within the cased borehole 812, the drillstring 808 (perhaps including the drill pipe 818 and the BHA 820) may be rotated by the rotary table 810. Although not shown, in addition to or alternatively, the BHA 820 may also be rotated by a motor (e.g., a mud motor) that is located down hole. The drill collars 822 may be used to add weight to the drill bit 826. The drill collars 822 may also operate to stiffen the bottom hole assembly 820, allowing the bottom hole assembly 820 to transfer the added weight to the drill bit 826, and in turn, to assist the drill bit 826 in penetrating the surface 804 and subsurface formations 814.

[0071] During drilling operations within the cased borehole 812, a mud pump 832 may pump drilling fluid (sometimes known by those of ordinary skill in the art as "drilling mud") from a mud pit 834 through a hose 836 into the drill pipe 818 and down to the drill bit 826. The drilling fluid can flow out from the drill bit 826 and be returned to the surface 804 through an annular area 840 between the drill pipe 818 and the sides of the borehole 812. The drilling fluid may then be returned to the mud pit 834, where such fluid is filtered. In some examples, the drilling fluid can be used to cool the drill bit 826, as well as to provide lubrication for the drill bit 826 during drilling operations. Additionally, the drilling fluid may be used to remove subsurface formation cuttings created by operating the drill bit 826.

[0072] A workstation 892 including a controller 896 may include modules comprising hardware circuitry, a processor, and/or memory circuits that may store software program modules and objects, and/or firmware, and combinations thereof that are configured to execute the methods of FIGs. 2 and 4 in designing and optimizing a BHA. The workstation 892 and controller 896 are shown near the rig 802 only for purposes of illustration as these components may be located at remote locations. [0073] These implementations can include a machine-readable storage device having machine-executable instructions, such as a computer-readable storage device having computer-executable instructions. Further, a computer-readable storage device may be a physical device that stores data represented by a physical structure within the device. Such a physical device is a non-transitory device. Examples of a non-transitory computer-readable storage medium can include, but not be limited to, read only memory (ROM), random access memory (RAM), a magnetic disk storage device, an optical storage device, a flash memory, and other electronic, magnetic, and/or optical memory devices.

[0074] FIG. 9 is a block diagram of an example system 900 operable to implement the activities of disclosed methods, according to various examples of the disclosure. The system 900 may include a BHA 906 such as that illustrated in FIG. 1. The system 900 may be configured to operate in accordance with the teachings herein to generate an optimized BHA design. The system 900 of FIG. 9 may be implemented as shown in FIG. 8 with reference to the workstation 892 and controller 896.

[0075] The system 900 may include a controller 920, a memory 930, and a communications unit 935. The memory 930 may be structured to include a database. The controller 920, the memory 930, and the communications unit 935 may be arranged to execute any methods disclosed herein.

[0076] The communications unit 935 may include downhole communications for appropriately located sensors in a wellbore. Such downhole communications can include a telemetry system. The communications unit 935 may use combinations of wired communication technologies and wireless technologies at frequencies that do not interfere with on-going measurements.

[0077] The system 900 may also include a bus 937, where the bus 937 provides electrical conductivity among the components of the system 900. The bus 937 can include an address bus, a data bus, and a control bus, each independently configured or in an integrated format. The bus 937 may be realized using a number of different communication mediums that allows for the distribution of components of the system 900. The bus 937 may include a network. Use of the bus 937 may be regulated by the controller 920. [0078] The system 900 may include display unit(s) 960 as a distributed component on the surface of a wellbore, which may be used with instructions stored in the memory 930 to implement the methods disclosed herein. The user interface may be used to input parameter values for thresholds such that the system 900 can operate autonomously substantially without user intervention in a variety of applications. The user interface may also provide for manual override and change of control of the system 900 to a user. Such a user interface may be operated in conjunction with the communications unit 935 and the bus 937. Many examples may thus be realized. A few examples of such examples will now be described.

[0079] Example 1 is a method for selection of a bottomhole assembly (BHA) configuration comprising: creating a plurality of BHA configurations;

determining a cost function representative of each respective BHA

configuration, each cost function comprising drilling process metrics; and selecting a final BHA configuration of the plurality of BHA configurations having an optimal cost function value, wherein the optimal cost function value is less than cost function values of other respective cost functions for the plurality of BHA configurations.

[0080] In Example 2, the subject matter of Example 1 can further include selecting an initial BHA configuration; and configuring components of the initial BHA configuration to adjust its respective cost function and generate the optimal cost function.

[0081] In Example 3, the subject matter of Examples 1-2 can further include optimizing the cost function of each respective BHA configuration through a plurality of iterations based on the respective BHA configuration, drilling model, and/or respective drilling process metrics and weighting coefficients.

[0082] In Example 4, the subject matter of Examples 1-3 can further include wherein the BHA drilling process metrics comprise at least one of Energy, Vibrations, Path Deviations, Wear, Measurability, Controllability, Cost,

Maneuverability, Rate of Penetration, or Historical Data. [0083] In Example 5, the subject matter of Examples 1-4 can further include wherein updating the weighting coefficients comprises determining the weighting coefficients manually or automatically.

[0084] In Example 6, the subject matter of Examples 1-5 can further include constructing a BHA based on the selected final BHA configuration, wherein the selected final BHA configuration is representative of locations and types of BHA components.

[0085] In Example 7, the subject matter of Examples 1-6 can further include wherein the cost functions are evaluated in time domain or frequency domain.

[0086] In Example 8, the subject matter of Examples 1-7 can further include generating a desired BHA frequency response based on the respective cost function of the BHA configuration and/or frequency domain drilling process metrics; generating a frequency response for each component in the BHA;

generating a plurality of combined frequency responses, each combined frequency response comprising a combination of the frequency responses for the components in the BHA, wherein each frequency response is represented by a respective cost function; determining an error between each combined frequency response and the desired frequency response; and selecting the final BHA configuration based on the error being minimized.

[0087] In Example 9, the subject matter of Examples 1-8 can further include wherein generating a frequency response for each component in the BHA comprises: generating a set of actual frequency responses for each component for nominal operating conditions; and generating a set of estimated frequency responses for each component for elevated operating conditions.

[0088] In Example 10, the subject matter of Examples 1-9 can further include wherein the frequency domain drilling process metrics comprise at least one of allowable bandwidth, disturbance sensitivity, frequency gains or resonance amplitude.

[0089] In Example 11 , the subj ect matter of Examples 1-10 can further include wherein each of the BHA configurations is based on BHA configuration constraints. [0090] Example 12 is a non-transitory computer readable medium that stores instructions for execution by processing circuitry to perform operations to generate a bottom hole assembly (BHA) configuration, the operations comprising: create a plurality of BHA configurations; determine a cost function representative of each respective BHA configuration, each cost function comprising drilling process metrics; and select a final BHA configuration of the plurality of BHA configurations having an optimal cost function value, wherein the optimal cost function value is less than cost function values of other representative cost functions for the plurality of BHA configurations.

[0091] In Example 13, the subject matter of Example 12 can further include wherein each cost function is respectively generated by a dynamic model, a plurality of dynamic BHA drilling process metrics, and a plurality of weighting coefficients, the operations further multiply each dynamic drilling constraint by its associated weighting coefficient in a time domain.

[0092] In Example 14, the subject matter of Examples 12-13 can further include further comprising estimating downhole vibration and drilling path deviation based on the dynamic model.

[0093] In Example 15, the subject matter of Examples 12-14 can further include wherein the dynamic model is physics-based or data-based.

[0094] In Example 16, the subject matter of Examples 12-15 can further include wherein the dynamic model is represented by position and attitude vectors of mass, damping and inertia properties of each component of the BHA.

[0095] Example 17 is a method comprising: generating a desired bottom hole assembly (BHA) frequency response based on a cost function; estimating downhole vibrations and drilling path deviations based on a dynamic model; generating a frequency response for each component of the BHA based on nominal size, shape, and materials of each component; and changing a combined frequency response, comprising the frequency response for each component, by changing the size, shape, and material of the components of the BHA until an error between the combined frequency response and the desired BHA frequency response is less than a threshold. [0096] In Example 18, the subject matter of Example 17 can further include wherein changing the combined frequency response comprises executing an optimization problem defined as min {(Desired Response - Combined Response at all possible operating conditions)2 wherein Desired Response represents the desired BHA frequency response and Combined Response at all possible operating conditions represents a combination of the frequency responses for all of the components of the BHA.

[0097] In Example 19, the subject matter of Examples 17-18 can further include wherein the combination of the frequency responses for all of the components of the BHA includes actual component frequency responses at nominal operating conditions and estimated component frequency responses at elevated operating conditions.

[0098] In Example 20, the subject matter of Examples 17-19 can further include wherein the error is generated by multiplying a weighting coefficient for a predetermined frequency range with the optimization problem.

[0099] Although specific examples have been illustrated and described herein, it will be appreciated by those of ordinary skill in the art that any arrangement that is calculated to achieve the same purpose may be substituted for the specific examples shown. Various examples use permutations and/or combinations of examples described herein. It is to be understood that the above description is intended to be illustrative, and not restrictive, and that the phraseology or terminology employed herein is for the purpose of description. Combinations of the above examples and other examples will be apparent to those of skill in the art upon studying the above description.