A method, system, electronic device, and storage medium for generating a wellbore trajectory
By combining the spatial arc method and the cylindrical spiral method, the wellbore track design is optimized, and the problems of long design cycle and low efficiency of the wellbore track in the existing technology are solved, and a more efficient and safe drilling process is achieved.
Patent Information
- Application Number
- CN202411249187.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-06
- Publication Date
- 2025-06-24
- Estimated Expiration
- 2044-09-06
AI Technical Summary
The existing wellbore track design methods are difficult to comprehensively consider formation factors in complex formations, resulting in long design cycles, low efficiency, and increasing drilling costs.
A method combining spatial arc method and cylindrical spiral method is used to combine the orbital constraint equation and the vertical depth position and depth of the formation, and a heuristic algorithm is used to optimize the wellbore track to ensure the shortest overall length, and update the orbital constraint equation when needed to avoid formations that do not allow oblique formation.
Effectively reduce the design cycle of the wellbore track, reduce construction difficulty and cost, and improve drilling safety and efficiency.
Smart Images

Figure CN119358073B_ABST
Abstract
Description
Background Art
[0002] With the continuous development of directional drilling technology, wellbore trajectory design and control have become increasingly important. Wellbore trajectory design is a key task in directional drilling construction, and its results directly affect the difficulty of directional control and the safety, quality, and efficiency of drilling operations.
[0003] During the drilling construction process, when drilling into certain formations, the mechanical drilling rate is very slow and it is difficult to increase the inclination. Then these formations are not suitable for building the inclination. When traditional trajectory design methods consider the directional difficulty constraints of such formations, they often manually adjust the trajectory, resulting in low design efficiency and difficulty in optimizing the trajectory.
[0004] Existing wellbore trajectory design schemes mainly adopt the method of manual design. In complex formations, it is often difficult for designers to comprehensively consider formation factors, resulting in a long design cycle and increased drilling costs. Summary of the Invention
[0005] The technical problem to be solved by the present invention is aimed at the deficiencies of the prior art, specifically aiming at the following technical problems: "During the wellbore trajectory design process before drilling, formation factors cannot be comprehensively considered, and the wellbore trajectory design cycle is long and the efficiency is low". The present invention provides a method, system, electronic device, and storage medium for generating a wellbore trajectory, specifically as follows:
[0006] 1) In the first aspect, the present invention provides a method for generating a wellbore trajectory, and the specific technical solution is as follows:
[0007] Based on the six-section wellbore trajectory design, a method combining the spatial circular arc method and the cylindrical helix method is used, and combined with a trajectory constraint equation with parameters to be optimized and used to limit the vertical depth position and depth of the formation. With the goal of the shortest total length of the wellbore trajectory, an initial wellbore trajectory is optimized using a heuristic algorithm;
[0008] Judge whether the specified formation has an overlapping part with the build section of the initial wellbore trajectory, and obtain a judgment result, where the specified formation is: a formation that is pre-specified not to allow building the inclination;
[0009] When the judgment result is negative, the initial wellbore trajectory is determined as the final wellbore trajectory.
[0010] The beneficial effects of the method for generating a wellbore trajectory provided by the present invention are as follows:
[0011] Based on the six-section wellbore trajectory design, by matching the trajectory constraint equation, formation factors can be comprehensively considered, and an initial wellbore trajectory is optimized using a heuristic algorithm, which can effectively reduce the design cycle of the wellbore trajectory and reduce the construction difficulty and construction cost.
[0012] On the basis of the above solution, an improvement can be made to the method for generating a wellbore trajectory according to the present invention as follows.
[0013] Further, it further includes:
[0014] When the judgment result is yes, set control points in the trajectory occupied by the specified formation in the initial wellbore trajectory, and set the design method of the trajectory occupied by the specified formation in the initial wellbore trajectory to obtain a new trajectory constraint equation;
[0015] Construct a bi-objective optimization function for optimizing the total length and the number of curve segments of the wellbore trajectory, as well as construct the constraints and boundary conditions of the bi-objective optimization function, and substitute them into the new trajectory constraint equation to obtain the Pareto front when the total length of the wellbore trajectory is the shortest and the number of curve segments is the least. The Pareto front is: the corresponding relationship between the number of curve segments of the wellbore trajectory and the total well depth;
[0016] Generate a wellbore trajectory with the shortest total length and the fewest curve segments according to the Pareto front as the final wellbore trajectory.
[0017] The beneficial effect of adopting the above further solution is that for a formation where deviation cannot be made (that is, a formation where deviation is not allowed in advance, namely the specified formation), by updating the trajectory constraint equation and combining with the bi-objective optimization function, deviation in the formation where deviation cannot be made can be avoided, effectively improving the safety of drilling. Moreover, the number of deviation sections can be reduced, which can not only reduce the construction difficulty but also speed up the construction progress.
[0018] Further, the heuristic algorithm is a genetic algorithm, a simulated annealing algorithm or an ant colony algorithm.
[0019] Further, the combination method of the spatial circular arc method and the cylindrical spiral method is as follows:
[0020] When designing the deviation section of the wellbore trajectory, the spatial circular arc method is adopted, and when designing the azimuth change section of the wellbore trajectory, the cylindrical spiral method is adopted.
[0021] 2) Second, the present invention also provides a system for generating a wellbore trajectory. The specific technical solution is as follows:
[0022] It includes an initial wellbore trajectory generation module, a judgment module and a determination module;
[0023] The initial wellbore trajectory generation module is used for: on the basis of the six-section wellbore trajectory design, using the combination method of the spatial circular arc method and the cylindrical spiral method, and combining with the trajectory constraint equation with parameters to be optimized and for restricting the vertical depth position and depth of the formation, with the goal of the shortest total length of the wellbore trajectory, and using a heuristic algorithm to optimize the initial wellbore trajectory;
[0024] The judgment module is used to: judge whether the specified formation coincides with the build section of the initial wellbore trajectory, and obtain a judgment result, where the specified formation is: a formation that is pre-specified and does not allow wellbore building.
[0025] The determination module is used to: when the judgment result is negative, determine the initial wellbore trajectory as the final wellbore trajectory.
[0026] On the basis of the above solution, a wellbore trajectory generation system of the present invention can also be improved as follows.
[0027] Furthermore, it further includes an orbital constraint equation regeneration module, a Pareto front calculation module, and a generation determination module;
[0028] The orbital constraint equation regeneration module is used to: when the judgment result is positive, set control points in the orbit occupied by the specified formation in the initial wellbore trajectory, and set the design method of the orbit occupied by the specified formation in the initial wellbore trajectory, so as to obtain a new orbital constraint equation;
[0029] The Pareto front calculation module is used to: construct a two-objective optimization function for optimizing the total length and the number of curve segments of the wellbore trajectory, and construct the constraints and boundary conditions of the two-objective optimization function, and substitute them into the new orbital constraint equation to obtain the Pareto front when the total length of the wellbore trajectory is the shortest and the number of curve segments is the least. The Pareto front is: the corresponding relationship between the number of curve segments of the wellbore trajectory and the total well depth;
[0030] The generation determination module is used to: generate a wellbore trajectory with the shortest total length and the least number of curve segments according to the Pareto front as the final wellbore trajectory.
[0031] Furthermore, the heuristic algorithm is a genetic algorithm, a simulated annealing algorithm, or an ant colony algorithm.
[0032] Furthermore, the combination method of the space circular arc method and the cylindrical helix method is:
[0033] When designing the build section of the wellbore trajectory, the space circular arc method is adopted, and when designing the dogleg section of the wellbore trajectory, the cylindrical helix method is adopted.
[0034] 3) Thirdly, the present invention also provides an electronic device. The electronic device includes a processor, the processor is coupled with a memory, and at least one computer program is stored in the memory. The at least one computer program is loaded and executed by the processor so that the electronic device can implement any one of the above wellbore trajectory generation methods.
[0035] 4) Fourthly, the present invention also provides a computer-readable storage medium. At least one computer program is stored in the computer-readable storage medium. The at least one computer program is loaded and executed by the processor so that the computer can implement any one of the above wellbore trajectory generation methods.
[0036] It should be noted that for the beneficial effects achieved by the technical solutions and corresponding possible implementation manners of the second to fourth aspects of the present invention, reference may be made to the above technical effects of the first aspect and its corresponding possible implementation manners, which will not be elaborated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] Other features, objects, and advantages of the present invention will become more apparent by reading the following detailed description of non-limiting embodiments with reference to the accompanying drawings:
[0038] Figure 1 It is: a schematic flowchart of a method for generating a wellbore trajectory according to an embodiment of the present invention;
[0039] Figure 2 It is: a schematic diagram of a wellbore trajectory designed by the spatial circular arc method;
[0040] Figure 3 It is: a schematic diagram of a wellbore trajectory on a vertical sectional view when using the cylindrical helix method for the wellbore trajectory;
[0041] Figure 4 It is: a schematic diagram of a wellbore trajectory on a horizontal projection view when using the cylindrical helix method for the wellbore trajectory;
[0042] Figure 5 It is: one of the schematic diagrams for processing by adding control points when a specified formation coincides with the build section of the initial wellbore trajectory;
[0043] Figure 6 It is: another schematic diagram for processing by adding control points when a specified formation coincides with the build section of the initial wellbore trajectory;
[0044] Figure 7 It is: a schematic diagram of the initial wellbore trajectory;
[0045] Figure 8 It is: a schematic diagram of the Pareto front;
[0046] Figure 9 It is: a schematic structural diagram of a system for generating a wellbore trajectory according to an embodiment of the present invention;
[0047] Figure 10 It is: a schematic structural diagram of an electronic device according to an embodiment of the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0048] To make the objectives, technical solutions, and advantages of the present invention clearer, the following will further describe the embodiments of the present invention in detail with reference to the accompanying drawings.
[0049] As Figure 1As shown in the figure, a method for generating a wellbore trajectory according to an embodiment of the present invention includes the following steps:
[0050] S1. Based on the six-section wellbore trajectory design, a method combining the spatial circular arc method and the cylindrical helix method is used, and combined with the trajectory constraint equation with parameters to be optimized and the vertical depth position and depth for restricting the formation, with the goal of minimizing the total length of the wellbore trajectory, and an initial wellbore trajectory is optimized using a heuristic algorithm.
[0051] Among them, the six-section wellbore trajectory design means that the designed wellbore trajectory includes a vertical well section, a first build section, a constant inclination section, a dogleg section, a second build section, and a horizontal section arranged in sequence.
[0052] The endpoints of the vertical well section, the first build section, the constant inclination section, the dogleg section, the second build section, and the horizontal section arranged in sequence are respectively denoted as A, B, C, D, E, and T. In S1, all the parameters to be optimized include: the well inclination angle at point B, the azimuth angle at point B, the well inclination angle at point D, and the vertical depth at point A.
[0053] Among them, the heuristic algorithm is a genetic algorithm, a simulated annealing algorithm, or an ant colony algorithm, and other algorithms can also be selected according to the actual situation.
[0054] Among them, during the process of optimizing the initial wellbore trajectory, the following two preset constraint conditions also need to be satisfied. Specifically:
[0055] 1) The first preset constraint condition is: Ensure that the dogleg section cannot be in the pre-specified formation where deviation is not allowed (designated formation), and it can be restricted by the starting vertical depth and the ending vertical depth of the dogleg section. Among them, the formation where deviation is not allowed can be pre-specified according to the actual situation.
[0056] 2) The second preset constraint condition is: The following situations are not allowed:
[0057] ① The first build section is completely in the pre-specified formation where deviation is not allowed.
[0058] ② The second build section is completely in the pre-specified formation where deviation is not allowed.
[0059] The second preset constraint condition can be judged by the vertical depth at the start and end.
[0060] When violating the first preset constraint condition and / or the second preset constraint condition, a penalty value is imposed, and the first preset constraint condition and the second preset constraint condition are met through the self-adaptability of the heuristic algorithm.
[0061] Among them, the method of combining the spatial circular arc method and the cylindrical helix method is:
[0062] When designing the build section of the wellbore trajectory, the spatial circular arc method is adopted. When designing the azimuth change section of the wellbore trajectory, the cylindrical spiral method is adopted. Specifically:
[0063] 1) Taking the first build section as an example, the spatial circular arc method is described as follows:
[0064] As Figure 2 shown, the equation characterizing the wellbore trajectory is as follows:
[0065]
[0066] In formula (1):
[0067]
[0068]
[0069] where T represents the transformation matrix from the wellhead coordinate system to the downhole coordinate system; N, E, H represent the three-dimensional coordinates in the wellhead coordinate system, N, E, H are the quantities to be obtained, X, Y, Z represent the three-dimensional coordinates in the downhole coordinate system; α A represents the well inclination angle at the starting point of the first build section (which is also the end point A of the vertical well section), φ A represents the azimuth angle at the starting point of the first build section, ω A represents the tool face angle at the starting point of the first build section. The units of well inclination angle, azimuth angle, and tool face angle are all rad, N A represents the north coordinate at the starting point of the first build section, E A represents the east coordinate at the starting point of the first build section, H A represents the vertical depth at the starting point of the first build section, R represents the radius of the circular arc, with the unit of m; ε represents the dogleg severity, with the unit of degree; ΔN, ΔE, ΔH represent the increments of the three-dimensional coordinates in the wellhead coordinate system.
[0070] 2) When designing the azimuth change section of the wellbore trajectory, the cylindrical spiral method is adopted. As Figure 3 and Figure 4 shown, the equation characterizing the wellbore trajectory is as follows:
[0071]
[0072] In formula (2):
[0073]
[0074] where R i represents the radius of curvature of the preset position point of the wellbore trajectory on the vertical profile, with the unit of m; r i represents the radius of curvature of the preset position point of the wellbore trajectory on the horizontal projection, with the unit of m. φi Denote: the azimuth of the preset position point, α i Denote: the well inclination angle of the preset position point, φ i-1 Denote: the azimuth of the previous position point of the preset position point (the measured depth value of the preset position point is greater than that of the previous position point), α i-1 Denote: the well inclination angle of the previous position point of the preset position point, ΔN i 、ΔH i and ΔE i are all intermediate variables; Δφ i Denote: the azimuth difference between the preset position point and the previous position point, ΔL i Denote: the measured depth difference between the preset position point and the previous position point, Δα i Denote: the well inclination angle difference between the preset position point and the previous position point, and the preset position point is any position point in the build section.
[0075] Among them, the trajectory constraint equations with parameters to be optimized specifically include formula (1) and formula (2), as well as the trajectory constraint equations for the vertical section, the constant inclination section, and the horizontal section.
[0076] S2. Determine whether the specified formation coincides with the build section of the initial wellbore trajectory, and obtain a judgment result, where the specified formation is: a formation that is pre-specified not to allow build.
[0077] S3. When the judgment result is no, determine the initial wellbore trajectory as the final wellbore trajectory.
[0078] Optionally, in the above technical solution, it further includes:
[0079] S4. When the judgment result is yes, set control points on the trajectory occupied by the specified formation in the initial wellbore trajectory, and set the design method of the trajectory occupied by the specified formation in the initial wellbore trajectory, to obtain a new trajectory constraint equation. Specifically:
[0080] 1) When the build section (the first build section or the second build section) completely passes through the specified formation, as Figure 5 shown, add a control point at the top boundary and the bottom boundary of the specified formation respectively, change the build section (the build section is a curved section) into three sections, and design the middle section of the trajectory (the trajectory occupied by the specified formation in the initial wellbore trajectory) according to the build rate of compound drilling or the design of the inclined vertical section. The build rates and lengths of the upper section and the lower section of the trajectory can both be zero, that is, the build section (the build section is a curved section) can be changed into a straight section, and the build section can be non-existent.
[0081] 2) When part of the build section (the first build section or the second build section) is in the specified formation, as Figure 6As shown in the figure, the end point of the build section within the specified formation is moved up to the top boundary of the specified formation, and then new control points are added at the bottom boundary of the specified formation. The track of the intermediate section (i.e., the track passing through the specified formation, specifically including part of the build section and part of the tangent section) is designed according to the build-up rate of compound drilling or the straight section. At this time, the lengths of both the build section and the tangent section are reduced. The upper section of the specified formation is the reduced build section, and the lower section of the specified formation is the reduced tangent section. These two sections are designed as curve sections, and their curvatures and lengths can both be zero.
[0082] Rewrite the track constraint equation according to the changed track profile type to obtain a new track constraint equation, that is, express the three-dimensional coordinates of each point in terms of the parameters to be optimized. At this time, the results obtained from the initial optimization are no longer retained, that is, only the control points are retained, but their three-dimensional coordinates are not retained.
[0083] It should be noted that when there are multiple specified formations, multiple control points need to be added. At this time, the design of the track will become very complicated. If only optimized according to the shortest total length in the traditional way, it may lead to multiple conversions of the final track between the "build section - tangent section". Therefore, the track between the control points is divided into straight sections and curve sections. When the curvature is greater than a certain critical value, such as the build-up rate of compound drilling, it is determined as a curve section.
[0084] S5. Construct a two-objective optimization function for optimizing the total length and the number of curve sections of the wellbore track, as well as construct the constraints and boundary conditions of the two-objective optimization function, and substitute them into the new track constraint equation to obtain the Pareto front when the total length of the wellbore track is the shortest and the number of curve sections is the least. The Pareto front is the corresponding relationship between the number of curve sections of the wellbore track and the total well depth.
[0085] The two objectives include: making the total length of the final wellbore track the shortest, and making the number of curve sections of the final wellbore track the least.
[0086] In S5, all the parameters to be optimized in the new track constraint equation include: the well inclination angle at point B, the azimuth angle at point B, the well inclination angle at point D, the vertical depth at point A, and the build-up rates of all build sections.
[0087] Among them, the two-objective optimization function is: F(x) = min{f1, f2}, where L j is the length of the jth well section, n represents the number of well sections in the wellbore track. The well sections in the wellbore track include vertical well sections and curve sections. j is a positive integer and j ≤ n. f1 represents the length of the wellbore track, f2 represents the number of curve sections, and min{f1, f2} represents making the total length of the final wellbore track the shortest and making the number of curve sections of the final wellbore track the least.
[0088] Among them, the constraints and boundary conditions include: the depth range of the build point, the depth range of the azimuth change, and the build-up rate range of each section, etc.
[0089] Among them, the implementation process of S5 can be called a multi-objective Pareto optimization process.
[0090] S6. Generate a wellbore trajectory with the shortest total length and the fewest curved sections according to the Pareto front as the final wellbore trajectory.
[0091] A method for generating a wellbore trajectory according to the present invention, during the design process of the wellbore trajectory, considering the formation constraint factors, on the basis of the six-section wellbore trajectory design, optimizing the build section and the azimuth change section, and combining heuristic algorithms such as genetic algorithms, finally generating a wellbore trajectory that meets the actual drilling requirements. The present invention is further described through the following embodiments:
[0092] In this embodiment, the parameters of the target point T are as follows: the north coordinate is 400 m, the east coordinate is 600 m, the vertical depth is 4179 m, the well inclination angle is 87.3°, the azimuth angle is 90°, the length of the horizontal section is 1804.4 m, and it is specified that the well inclination angle after the azimuth change cannot be greater than 70°. The specified formations include: the first specified formation: 580 m to 700 m, the second specified formation: 3270 m to 3835 m, the third specified formation: 4340 m to 4380 m. Avoid the specified formations for building or azimuth changing. When constructing the initial wellbore trajectory, the dogleg severity of the first specified formation is 3.5° / 30 m, the dogleg severity of the azimuth change section is 3.8° / 30 m, and the dogleg severity of the second specified formation is 5.5° / 30 m.
[0093] The first optimization result, that is, the initial wellbore trajectory is as Figure 7 shown. The first build section is located in the specified formation, and it is divided into a build section - a tangent section to pass through this formation.
[0094] When constructing the bi-objective optimization function, set 1° as the standard for judging whether the designed well section is a build section or an azimuth change section. The obtained Pareto front is as Figure 8 shown. In the finally generated wellbore trajectory, the specified formations are all in the tangent sections, which can effectively reduce the construction difficulty and also effectively improve the safety of the drilling process.
[0095] Compared with the prior art, the beneficial effects of the present invention are as follows:
[0096] 1) Design is based on the commonly used six-section trajectory in the drilling site, improving the practicability of the design scheme;
[0097] 2) Combining heuristic algorithms such as genetic algorithms with the trajectory model and taking the shortest well depth as the design goal can not only improve the calculation efficiency but also effectively reduce the drilling cost;
[0098] 3) For formations where deviation is not allowed, apply corresponding treatment plans to avoid restricted formations and effectively improve the safety of drilling.
[0099] 4) Construct a dual-objective optimization function for depth optimization to reduce the number of curved segments and the length of the wellbore trajectory, which can not only reduce the construction difficulty but also speed up the construction progress.
[0100] 5) The present invention realizes the automatic design of a three-dimensional wellbore trajectory by constructing a trajectory equation and applying formation constraint conditions. Compared with the existing three-dimensional wellbore trajectory design methods, the present invention takes into account the formation constraints and the whole process is automatically designed, with simple operation and strong adaptability, and has a wide application prospect.
[0101] In the above embodiments, although the steps are numbered S1, S2, etc., these are only specific embodiments given by the present invention. Those skilled in the art can adjust the execution order of S1, S2, etc. according to the actual situation, which is also within the protection scope of the present invention. It can be understood that in some embodiments, it may include some or all of the above embodiments.
[0102] As Figure 9 shown, a wellbore trajectory generation system 200 according to an embodiment of the present invention includes an initial wellbore trajectory generation module 201, a judgment module 202, and a determination module 203.
[0103] The initial wellbore trajectory generation module 201 is configured to: on the basis of a six-segment wellbore trajectory design, combine the spatial circular arc method and the cylindrical helix method, and combine the trajectory constraint equation with the to-be-optimized parameters and the vertical depth position and depth for restricting the formation, with the goal of the shortest total length of the wellbore trajectory, and optimize the initial wellbore trajectory using a heuristic algorithm.
[0104] The judgment module 202 is configured to: judge whether there is an overlapping part between a specified formation and the deviation section of the initial wellbore trajectory to obtain a judgment result, where the specified formation is a formation where deviation is not allowed specified in advance.
[0105] The determination module 203 is configured to: when the judgment result is negative, determine the initial wellbore trajectory as the final wellbore trajectory.
[0106] Optionally, in the above technical solution, it further includes a trajectory constraint equation regeneration module, a Pareto front calculation module, and a generation determination module.
[0107] The trajectory constraint equation regeneration module is configured to: when the judgment result is positive, set control points in the trajectory of the specified formation in the initial wellbore trajectory and set the design method of the trajectory of the specified formation in the initial wellbore trajectory to obtain a new trajectory constraint equation.
[0108] The Pareto front calculation module is used to: construct a two-objective optimization function for optimizing the total length and the number of curved segments of the wellbore trajectory, construct the constraints and boundary conditions of the two-objective optimization function, and substitute them into the new trajectory constraint equation to obtain the Pareto front when the total length of the wellbore trajectory is the shortest and the number of curved segments is the least. The Pareto front is the corresponding relationship between the number of curved segments of the wellbore trajectory and the total well depth;
[0109] The generation determination module is used to: generate a wellbore trajectory with the shortest total length and the fewest curved segments according to the Pareto front as the final wellbore trajectory.
[0110] Optionally, in the above technical solution, the heuristic algorithm is a genetic algorithm, a simulated annealing algorithm or an ant colony algorithm.
[0111] Optionally, in the above technical solution, the combination of the spatial circular arc method and the cylindrical helix method is as follows:
[0112] When designing the build section of the wellbore trajectory, the spatial circular arc method is adopted, and when designing the dogleg section of the wellbore trajectory, the cylindrical helix method is adopted.
[0113] It should be noted that the beneficial effects of the wellbore trajectory generation system 200 provided in the above embodiments are the same as those of the above wellbore trajectory generation method, and will not be elaborated here. In addition, when the system provided in the above embodiments realizes its functions, only the above-mentioned function modules are divided for illustration. In practical applications, the above functions can be allocated to different function modules according to needs, that is, the system is divided into different function modules according to actual situations to complete all or part of the functions described above. In addition, the system provided in the above embodiments and the method embodiments belong to the same concept, and the specific implementation process can be seen in the method embodiments, which will not be elaborated here.
[0114] As Figure 10 shown, an electronic device 300 according to an embodiment of the present invention, the electronic device 300 includes a processor 320, the processor 320 is coupled to a memory 310, and at least one computer program 330 is stored in the memory 310. The at least one computer program 330 is loaded and executed by the processor 320 so that the electronic device 300 implements any of the above wellbore trajectory generation methods. Specifically:
[0115] The electronic device 300 can vary significantly due to different configurations or performances. It may include one or more processors 320 (Central Processing Units, CPUs) and one or more memories 310. Among them, at least one computer program 330 is stored in the one or more memories 310. The at least one computer program 330 is loaded and executed by the one or more processors 320, so that the electronic device 300 can implement any of the wellbore trajectory generation methods provided in the above embodiments. Of course, the electronic device 300 may also have components such as a wired or wireless network interface, a keyboard, and an input / output interface for input and output. The electronic device 300 may also include other components for implementing the device functions, which will not be elaborated here. The electronic device may specifically be a computer or the like.
[0116] In an embodiment of the present invention, a computer-readable storage medium stores at least one computer program, and the at least one computer program is loaded and executed by a processor so that a computer can implement any of the wellbore trajectory generation methods described above.
[0117] Optionally, the computer-readable storage medium may be a read-only memory (ROM), a random access memory (RAM), a compact disc read-only memory (CD-ROM), a magnetic tape, a floppy disk, an optical data storage device, or the like.
[0118] In an exemplary embodiment, a computer program product or a computer program is also provided. The computer program product or the computer program includes computer instructions, and the computer instructions are stored in a computer-readable storage medium. A processor of an electronic device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the electronic device executes any of the wellbore trajectory generation methods described above.
[0119] It should be noted that the terms "first", "second", etc. in the description and claims of this application are used to distinguish similar objects, and do not represent a specific order or sequence. Under appropriate circumstances, the order of use of similar objects may be interchanged, so that the embodiments of the present application described here can be implemented in an order other than the illustrated or described order.
[0120] Those skilled in the art of the present technology know that the present invention can be implemented as a system, method, or computer program product. Therefore, the present invention can be specifically implemented in the following forms, namely: it can be entirely hardware, or entirely software (including firmware, resident software, microcode, etc.), or a combination of hardware and software, which is generally referred to as "circuit", "module", or "system" in this article. In addition, in some embodiments, the present invention can also be implemented in the form of a computer program product in one or more computer-readable media, which contain computer-readable program code.
[0121] Any combination of one or more computer-readable media can be adopted. The computer-readable media can be computer-readable signal media or computer-readable storage media. The computer-readable storage media can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the above. More specific examples (non-exhaustive list) of the computer-readable storage media include: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present invention, the computer-readable storage media can be any tangible medium that contains or stores a program, which can be used by or in combination with an instruction execution system, apparatus, or device.
[0122] Although the embodiments of the present invention have been shown and described above, it can be understood that the above embodiments are exemplary and should not be construed as limitations on the present invention. Those of ordinary skill in the art can make changes, modifications, substitutions, and variations to the above embodiments within the scope of the present invention.
Claims
1. A method for generating a wellbore trajectory, characterized in that: include: On the basis of the six-segment wellbore trajectory design, the spatial arc method is combined with the cylindrical spiral method, and the trajectory constraint equation with the parameters to be optimized and the vertical position and depth of the formation are combined. The goal is to minimize the total length of the wellbore trajectory, and the initial wellbore trajectory is optimized using a heuristic algorithm. Determine whether the designated stratum overlaps with the deflection section of the initial wellbore trajectory, and obtain a determination result, wherein the designated stratum is: a pre-designated stratum that does not allow deflection; When the judgment result is no, determining the initial wellbore trajectory as the final wellbore trajectory; Also includes: When the judgment result is yes, a control point is set for the designated stratum in the track occupied by the initial wellbore track, and a design mode of the track occupied by the designated stratum in the initial wellbore track is set to obtain a new track constraint equation; Constructing a dual-objective optimization function for optimizing the total length and the number of curve segments of the wellbore trajectory, and constructing constraints and boundary conditions of the dual-objective optimization function, and substituting them into the new trajectory constraint equation to obtain the Pareto front when the total length of the wellbore trajectory is the shortest and the curve segments are the least, and the Pareto front is: the corresponding relationship between the number of curve segments of the wellbore trajectory and the total well depth; According to the Pareto front, a wellbore trajectory with the shortest total length and the least curve segments is generated as the final wellbore trajectory.
2. A method for generating a wellbore trajectory according to claim 1, characterized in that: The heuristic algorithm is a genetic algorithm, a simulated annealing algorithm or an ant colony algorithm.
3. A method for generating a wellbore trajectory according to claim 1, characterized in that: The spatial arc method and the cylindrical helix method are combined in the following way: When designing the deflection section of the wellbore trajectory, the space arc method is used, and when designing the twisting azimuth section of the wellbore trajectory, the cylindrical spiral method is used.
4. A system for generating a wellbore trajectory, characterized in that: It includes an initial wellbore trajectory generation module, a judgment module and a determination module; The initial wellbore trajectory generation module is used to: on the basis of the six-segment wellbore trajectory design, use a combination of a space arc method and a cylindrical spiral method, and combine a trajectory constraint equation with parameters to be optimized and a vertical position and depth for limiting the formation, with the goal of minimizing the total length of the wellbore trajectory, and use a heuristic algorithm to optimize the initial wellbore trajectory; The judgment module is used to judge whether the designated stratum has an overlapped part with the deflection section of the initial wellbore trajectory, and obtain a judgment result, wherein the designated stratum is a pre-designated stratum that does not allow deflection; The determination module is used to: when the judgment result is no, determine the initial wellbore trajectory as the final wellbore trajectory; It also includes a trajectory constraint equation regeneration module, a Pareto front calculation module, and a generation determination module; The trajectory constraint equation regeneration module is used to: when the judgment result is yes, set a control point for the specified stratum in the trajectory occupied by the initial wellbore trajectory, and set a design method for the trajectory occupied by the specified stratum in the initial wellbore trajectory to obtain a new trajectory constraint equation; The Pareto front calculation module is used to: construct a dual-objective optimization function for optimizing the total length and the number of curve segments of the wellbore trajectory, and construct constraints and boundary conditions of the dual-objective optimization function, and substitute them into the new trajectory constraint equation to obtain the Pareto front when the total length of the wellbore trajectory is the shortest and the curve segments are the least. The Pareto front is: the corresponding relationship between the number of curve segments of the wellbore trajectory and the total well depth; The generation and determination module is used to generate, according to the Pareto front, a wellbore trajectory with the shortest total length and the least curve segments as a final wellbore trajectory.
5. A wellbore trajectory generation system according to claim 4, characterized in that: The heuristic algorithm is a genetic algorithm, a simulated annealing algorithm or an ant colony algorithm.
6. A wellbore trajectory generation system according to claim 4, characterized in that: The spatial arc method and the cylindrical helix method are combined in the following way: When designing the deflection section of the wellbore trajectory, the space arc method is used, and when designing the twisting azimuth section of the wellbore trajectory, the cylindrical spiral method is used.
7. An electronic device, characterized in that: The electronic device includes a processor, the processor is coupled to a memory, at least one computer program is stored in the memory, and the at least one computer program is loaded and executed by the processor so that the electronic device implements a method for generating a wellbore trajectory as described in any one of claims 1 to 3.
8. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores at least one computer program, and the at least one computer program is loaded and executed by a processor so that a computer implements a method for generating a wellbore trajectory as claimed in any one of claims 1 to 3.
Citation Information
Patent Citations
To-be-drilled well track design parameter optimization method based on sparrow search algorithm
CN116611144A
Well track planning method, system and equipment for rotary steering drilling and medium
CN118241983A