Well track generation method and system, electronic equipment and storage medium
By combining the spatial arc method and the cylindrical spiral method, the wellbore orbit design is optimized, which solves the problems of long wellbore orbit design cycle and low efficiency in the existing technology, and achieves a more efficient and safer drilling process.
Patent Information
- Application Number
- CN202411249187.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-06
- Publication Date
- 2025-01-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.
The method of combining the spatial arc method and the cylindrical snail line method, combined with the rail constraint equation and the depth and depth of the strata, use the inspiration algorithm to optimize the well -eye track to ensure the shortest total length, and update the orbital constraint equation when needed to avoid Slash layers are not allowed.
Effectively shorten the well trajectory design cycle, reduce construction difficulty and cost, and improve drilling safety and efficiency.
Smart Images

Figure CN119358073A_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 speed is very slow and it is difficult to increase the inclination. These formations are not suitable for inclination creation. When considering the directional difficulty constraints of such formations, traditional track design methods often require manual adjustment of the track, which results in low design efficiency and difficulty in track optimization.
[0004] Existing wellbore trajectory design schemes mainly adopt manual design methods. In complex formations, designers often find it difficult to comprehensively consider formation factors, which results in a long design cycle and increases drilling costs. Summary of the invention
[0005] The technical problem to be solved by the present invention is to address the deficiencies of the prior art, specifically the technical problems such as "the formation factors cannot be comprehensively considered in the wellbore trajectory design process before drilling, the wellbore trajectory design cycle is long and the efficiency is low", and a wellbore trajectory generation method, system, electronic device and storage medium are provided, which are 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] 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.
[0008] 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;
[0009] When the judgment result is no, 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] On the basis of the six-segment wellbore trajectory design, the formation factors can be comprehensively considered by matching the trajectory constraint equation, and the initial wellbore trajectory can be optimized using the heuristic algorithm, which can effectively shorten the wellbore trajectory design cycle and reduce the construction difficulty and cost.
[0012] Based on the above solution, the method for generating a wellbore trajectory of the present invention can also be improved as follows.
[0013] Furthermore, it also includes:
[0014] 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 method of the track occupied by the designated stratum in the initial wellbore track is set to obtain a new track constraint equation;
[0015] A dual-objective optimization function for optimizing the total length and the number of curve segments of the wellbore trajectory is constructed, and the constraints and boundary conditions of the dual-objective optimization function are constructed and substituted into the new trajectory constraint equation to obtain the Pareto frontier when the total length of the wellbore trajectory is the shortest and the number of curve segments is the least. The Pareto frontier is: the corresponding relationship between the number of curve segments of the wellbore trajectory and the total well depth;
[0016] 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.
[0017] The beneficial effect of adopting the above-mentioned further scheme is: for strata that cannot be deflected (that is, pre-specified strata that are not allowed to be deflected, that is, designated strata), by updating the trajectory constraint equation and combining the dual-objective optimization function, it is possible to avoid deflecting in strata that cannot be deflected, effectively improving the safety of drilling, and also reducing the number of deflection sections, which can both reduce the construction difficulty and speed up the construction progress.
[0018] Furthermore, the heuristic algorithm is a genetic algorithm, a simulated annealing algorithm or an ant colony algorithm.
[0019] Furthermore, the spatial arc method and the cylindrical helix method are combined as follows:
[0020] When designing the inclination section of the wellbore trajectory, the spatial arc method is used, and when designing the twisting azimuth section of the wellbore trajectory, the cylindrical spiral method is used.
[0021] 2) In the second aspect, the present invention also provides a system for generating a wellbore trajectory, and 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 to: on the basis of the six-segment wellbore trajectory design, use the space arc method and the cylindrical spiral method in combination, and combine the trajectory constraint equation with the parameters to be optimized and the vertical position and depth of the formation to limit the total length of the wellbore trajectory, and use the heuristic algorithm to optimize the initial wellbore trajectory;
[0024] 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;
[0025] The determination module is used to: when the judgment result is no, determine the initial wellbore trajectory as the final wellbore trajectory.
[0026] Based on the above solution, the wellbore trajectory generation system of the present invention can also be improved as follows.
[0027] Further, it also includes a trajectory constraint equation regeneration module, a Pareto frontier calculation module and a generation determination module;
[0028] 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;
[0029] 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;
[0030] The generation and determination module is used to generate a wellbore trajectory with the shortest total length and the least 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 spatial arc method and the cylindrical helix method are combined as follows:
[0033] When designing the inclination section of the wellbore trajectory, the spatial arc method is used, and when designing the twisting azimuth section of the wellbore trajectory, the cylindrical spiral method is used.
[0034] 3) In a third aspect, the present invention further provides an electronic device, comprising a processor, the processor being coupled to a memory, the memory storing at least one computer program, the at least one computer program being loaded and executed by the processor so that the electronic device implements any of the above-mentioned methods for generating a wellbore trajectory.
[0035] 4) In a fourth aspect, the present invention further provides a computer-readable storage medium, in which at least one computer program is stored, and the at least one computer program is loaded and executed by a processor so that the computer implements any of the above-mentioned methods for generating a wellbore trajectory.
[0036] It should be noted that the beneficial effects achieved by the technical solutions of the second to fourth aspects of the present invention and the corresponding possible implementation methods can be found in the above-mentioned technical effects of the first aspect and its corresponding possible implementation methods, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] Other features, objects and advantages of the present invention will become more apparent from the detailed description of non-limiting embodiments made with reference to the following drawings:
[0038] Figure 1 : A schematic diagram of a flow chart of a method for generating a wellbore trajectory according to an embodiment of the present invention;
[0039] Figure 2 : A schematic diagram of the wellbore trajectory designed using the space arc method;
[0040] Figure 3 The figure is a schematic diagram of the wellbore trajectory on the vertical section diagram when the wellbore trajectory is obtained by using the cylindrical spiral method;
[0041] Figure 4 The following is a schematic diagram of the wellbore trajectory on the horizontal projection diagram when the wellbore trajectory is determined using the cylindrical spiral method;
[0042] Figure 5 One of the schematic diagrams is: when the designated formation overlaps with the deflection section of the initial wellbore trajectory, processing is performed by adding control points;
[0043] Figure 6 The second schematic diagram is: when the designated formation overlaps with the deflection section of the initial wellbore trajectory, processing is performed by adding control points;
[0044] Figure 7 : Schematic diagram of the initial wellbore trajectory;
[0045] Figure 8 For: Schematic diagram of the Pareto front;
[0046] Fig. 9 A schematic diagram of the structure of a wellbore trajectory generation system according to an embodiment of the present invention;
[0047] Fig.10 The figure is a schematic diagram of the structure of an electronic device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0048] In order to make the objectives, technical solutions and advantages of the present invention more clear, the embodiments of the present invention will be further described in detail below with reference to the accompanying drawings.
[0049] like Figure 1As shown, a method for generating a wellbore trajectory according to an embodiment of the present invention comprises the following steps:
[0050] S1. Based on the design of the six-segment wellbore trajectory, 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.
[0051] Among them, the six-section wellbore trajectory design means that the designed wellbore trajectory includes a vertical well section, a first inclination section, a stable inclination section, a twisting azimuth section, a second inclination section and a horizontal section which are arranged in sequence.
[0052] The endpoints of the vertical well section, the first inclination section, the stable inclination section, the twist azimuth section, the second inclination section and the horizontal section are recorded as A, B, C, D, E and T respectively. In S1, all parameters to be optimized include: the inclination angle of point B, the azimuth angle of point B, the inclination angle of point D and the vertical depth of 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 actual conditions.
[0054] In the process of optimizing the initial wellbore trajectory, the following two preset constraints must be met:
[0055] 1) The first preset constraint condition is to ensure that the twist azimuth segment cannot be in a pre-specified stratum (specified stratum) that does not allow deflection. The constraint can be implemented by the starting vertical depth and ending vertical depth of the twist azimuth segment. The stratum that does not allow deflection can be pre-specified according to actual conditions.
[0056] 2) The second preset constraint is: none of the following situations are allowed:
[0057] ① The first deflection section is completely located in a pre-specified stratum that does not allow deflection.
[0058] ② The second deflection section is completely located in a pre-specified stratum that does not allow deflection.
[0059] The second preset constraint can be determined by the vertical depth at the start and end points.
[0060] When the first preset constraint condition and / or the second preset constraint condition is violated, a penalty value is imposed, and the first preset constraint condition and the second preset constraint condition are met through the adaptability of the heuristic algorithm.
[0061] Among them, the method of combining the space arc method with the cylindrical spiral method is:
[0062] When designing the inclination 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. Specifically:
[0063] 1) Taking the first deflection section as an example, the space arc method is explained as follows:
[0064] like Figure 2 As shown, the equation that characterizes 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 calculated, and X, Y, Z represent the three-dimensional coordinates in the downhole coordinate system; α A Indicates: the well inclination angle at the starting point of the first deflection section (also the end point A of the vertical well section), φ A Indicates: the azimuth of the starting point of the first deflection section, ω A Indicates: tool face angle at the starting point of the first deflection section, well inclination angle, azimuth angle and tool face angle and the unit is rad, N A Indicates: the north coordinate of the starting point of the first deflection section, E A Indicates: the east coordinate of the starting point of the first deflection section, H A It represents the vertical depth of the starting point of the first deflection section, R represents the arc radius, in m; ε represents the dogleg degree, in degrees; ΔN, ΔE, ΔH represent the increments of the three-dimensional coordinates in the wellhead coordinate system.
[0070] 2) When designing the twist azimuth section of the wellbore trajectory, the cylindrical spiral method is used, such as Figure 3 and Figure 4 As shown, the equation that characterizes the wellbore trajectory is as follows:
[0071]
[0072] In formula (2):
[0073]
[0074] Among them, R i Indicates: the radius of curvature of the wellbore trajectory at the preset position point on the vertical section diagram, in m; r i Indicates: the radius of curvature of the wellbore trajectory at the preset position point on the horizontal projection map, in meters. φi Indicates: the azimuth of the preset position point, α i Indicates: Well inclination angle at preset position, φ i-1 Indicates: the azimuth of the previous position point of the preset position point (the sounding value of the preset position point is larger than the sounding value of the previous position point), α i-1 Indicates: the well inclination angle of the previous position point of the preset position point, ΔN i , ΔH i and ΔE i All are intermediate variables; Δφ i Indicates: the azimuth difference between the preset position point and the previous position point, ΔL i Indicates: the depth difference between the preset position point and the previous position point, Δα i Indicates: the difference in well inclination between the preset position point and the previous position point. The preset position point is any position point in the twist azimuth segment.
[0075] The trajectory constraint equations with parameters to be optimized specifically include formula (1) and formula (2), as well as the trajectory constraint equations of the vertical well section, the trajectory constraint equations of the steady inclination section, and the trajectory constraint equations of the horizontal section.
[0076] S2. 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.
[0077] S3. When the judgment result is no, the initial wellbore trajectory is determined as the final wellbore trajectory.
[0078] Optionally, in the above technical solution, it also includes:
[0079] S4. When the judgment result is yes, a control point is set for the specified stratum in the track occupied by the initial wellbore track, and a design method of the track occupied by the specified stratum in the initial wellbore track is set to obtain a new track constraint equation, specifically:
[0080] 1) When the build-up section (first build-up section or second build-up section) completely passes through the specified formation, Figure 5 As shown, a control point is added at the top boundary and the bottom boundary of the specified stratum respectively, and the deflection section (the deflection section is a curved section) is changed into three sections. The track of the middle section (the track occupied by the specified stratum in the initial wellbore track) is designed according to the composite drilling deflection rate or the inclined straight well section design. The deflection rate and length of the upper section track and the lower section track can be zero, that is, the deflection section (the deflection section is a curved section) can be changed into a straight section, and the deflection section may not exist.
[0081] 2) When part of the build-up section (the first build-up section or the second build-up section) is in the specified formation, such as Figure 6As shown, the end point of the deflection section located in the specified stratum is moved up to the top boundary of the specified stratum, and then a new control point is added at the bottom boundary of the specified stratum. The track of the middle section (that is, the track passing through the specified stratum, specifically including the part of the deflection section and the part of the steady-inclination section) is designed according to the composite drilling deflection rate or straight section. At this time, the length of the deflection section and the length of the steady-inclination section are both reduced. The upper section of the specified stratum is the reduced deflection section, and the lower section of the specified stratum is the reduced steady-inclination section. The two sections are designed according to the curved section, and their curvature and length can be zero.
[0082] The orbit constraint equation is rewritten according to the changed orbit profile type to obtain a new orbit constraint equation, that is, the three-dimensional coordinates of each point are expressed by the parameters to be optimized. At this time, the results obtained by 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 designated strata, multiple control points need to be added. At this time, the design of the track becomes very complicated. If only the traditional total length is optimized, the final track may switch between the "inclination section-steady inclination section" multiple times. Therefore, the track between the control points is divided into straight segments and curved segments. When the curvature is greater than a certain critical value, such as the composite drilling inclination rate, it is determined to be a curved segment.
[0084] S5. Construct a dual-objective optimization function for optimizing the total length and the number of curve segments of the wellbore trajectory, as well as the 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 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.
[0085] The dual objectives include minimizing the total length of the final wellbore trajectory and minimizing the number of curved segments of the final wellbore trajectory.
[0086] In S5, all parameters to be optimized in the new trajectory constraint equation include: the well inclination angle of point B, the azimuth angle of point B, the well inclination angle of point D, the vertical depth of point A, and the inclination rates of all inclination sections.
[0087] The dual-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 well trajectory, the well sections in the well trajectory include straight well sections and curved sections, j is a positive integer, and j≤n, f1 represents: the length of the well trajectory, f2 represents the number of curved sections, min{f1,f2} represents: making the total length of the final well trajectory as short as possible and making the number of curved sections of the final well trajectory as small as possible.
[0088] Among them, the constraints and boundary conditions include: the depth range of the deflection point, the depth range of the twist azimuth and the range of the deflection rate of each section.
[0089] Among them, the implementation process of S5 can be called a multi-objective Pareto optimization process.
[0090] S6. 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.
[0091] A method for generating a wellbore trajectory of the present invention takes formation restriction factors into consideration during the wellbore trajectory design process, optimizes the deflection section and the twist azimuth section on the basis of the six-segment wellbore trajectory design, and combines heuristic algorithms such as genetic algorithms to finally generate a wellbore trajectory that meets actual drilling requirements. The present invention is further described through the following embodiments:
[0092] In this embodiment, the target point T parameters are as follows: the north coordinate is 400m, the east coordinate is 600m, the vertical depth is 4179m, the well inclination is 87.3°, the azimuth is 90°, the horizontal section length is 1804.4m, and the well inclination after the twist azimuth is set not to be greater than 70°. The designated formations include: the first section of the designated formation: 580m to 700m, the second section of the designated formation: 3270m to 3835m, the third section of the designated formation: 4340m to 4380m, avoiding the designated formation for deflection or twisting azimuth. When constructing the initial wellbore trajectory, the dogleg degree of the first section of the designated formation is 3.5° / 30m, the dogleg degree of the twist azimuth section is 3.8° / 30m, and the dogleg degree of the second section of the designated formation is 5.5° / 30m.
[0093] The first optimization result, i.e. the initial wellbore trajectory, is as follows Figure 7 The first deflection section is located in a designated stratum, which is divided into a deflection section and a steady deflection section passing through the stratum.
[0094] When constructing the dual-objective optimization function, 1° is set as the standard for judging whether the designed well section is a deflection section or a twist section. The optimized Pareto front is as follows: Figure 8 In the final generated wellbore trajectory, the specified formations are all in the stable inclination section, which can effectively reduce the construction difficulty and effectively improve the safety of the drilling process.
[0095] Compared with the prior art, the present invention has the following beneficial effects:
[0096] 1) The design is based on the six-section track commonly used at drilling sites to improve the practicality of the design scheme;
[0097] 2) Combining heuristic algorithms such as genetic algorithms with trajectory models 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 that do not allow deflection, apply corresponding treatment plans to avoid restrictive formations and effectively improve drilling safety;
[0099] 4) Construct a dual-objective optimization function and perform deep optimization to reduce the number of curve segments and the length of the wellbore trajectory, which can both reduce the construction difficulty and speed up the construction progress.
[0100] 5) The present invention realizes the automatic design of three-dimensional wellbore trajectory by constructing trajectory equations and applying formation constraints. Compared with the existing three-dimensional wellbore trajectory design method, the present invention takes into account the constraints of the formation, and the whole process is designed automatically, which is simple to operate, has strong adaptability, and has a relatively wide prospect of promotion and application.
[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 may adjust the execution order of S1, S2, etc. according to actual conditions, which is also within the protection scope of the present invention. It can be understood that in some embodiments, some or all of the above embodiments may be included.
[0102] like Fig. 9 As 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 used to: on the basis of the six-segment wellbore trajectory design, use the space arc method and the cylindrical spiral method in combination, and combine the trajectory constraint equation with the parameters to be optimized and the vertical position and depth of the formation to limit the total length of the wellbore trajectory as the goal, and use the heuristic algorithm to optimize the initial wellbore trajectory;
[0104] The judgment module 202 is used to judge whether the designated stratum overlaps 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;
[0105] The determination module 203 is used to: when the judgment result is no, 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 frontier calculation module and a generation determination module;
[0107] 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;
[0108] 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;
[0109] The generation and determination module is used to generate a wellbore trajectory with the shortest total length and the least curve 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 spatial arc method and the cylindrical spiral method are combined in the following manner:
[0112] When designing the inclination section of the wellbore trajectory, the spatial arc method is used, and when designing the twisting azimuth section of the wellbore trajectory, the cylindrical spiral method is used.
[0113] It should be noted that the beneficial effects of the wellbore trajectory generation system 200 provided in the above embodiment are the same as the beneficial effects of the wellbore trajectory generation method described above, which will not be described in detail here. In addition, when the system provided in the above embodiment realizes its functions, only the division of the above functional modules is used as an example. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the system can be divided into different functional modules according to actual conditions to complete all or part of the functions described above. In addition, the system and method embodiments provided in the above embodiment belong to the same concept, and the specific implementation process is detailed in the method embodiment, which will not be described in detail here.
[0114] like Fig.10 As shown, an electronic device 300 according to an embodiment of the present invention includes a processor 320, the processor 320 is coupled to a memory 310, and the memory 310 stores at least one computer program 330, and 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-mentioned methods for generating a wellbore trajectory, specifically:
[0115] The electronic device 300 may have relatively large differences due to different configurations or performances, and may include one or more processors 320 (Central Processing Units, CPU) and one or more memories 310, wherein at least one computer program 330 is stored in the one or more memories 310, and the at least one computer program 330 is loaded and executed by the one or more processors 320, so that the electronic device 300 implements any of the methods for generating wellbore trajectories 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 and output interface for input and output. The electronic device 300 may also include other components for realizing the functions of the device, which will not be described in detail here. The electronic device may specifically be a computer, etc.
[0116] A computer-readable storage medium according to an embodiment of the present invention 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 any of the above-mentioned methods for generating a wellbore trajectory.
[0117] Optionally, the computer-readable storage medium may be a read-only memory (ROM), a random access memory (RAM), a compact disc (CD-ROM), a magnetic tape, a floppy disk, an optical data storage device, and 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 comprising computer instructions, the computer instructions being 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 above-mentioned methods for generating a wellbore trajectory.
[0119] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects and represent the definition of a specific order or sequence. The order of use of similar objects can be interchanged where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than the order shown or described.
[0120] Those skilled in the art 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 complete hardware, it can be complete software (including firmware, resident software, microcode, etc.), or it can be a combination of hardware and software, which is generally referred to as "circuit", "module" or "system" herein. 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, and the computer-readable medium contains computer-readable program code.
[0121] Any combination of one or more computer-readable media can be used. The computer-readable medium can be a computer-readable signal medium or a computer-readable storage medium. The computer-readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media (a non-exhaustive list) 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, a computer-readable storage medium can be any tangible medium containing or storing a program, which can be used by an instruction execution system, device or device or used in combination with it.
[0122] Although the embodiments of the present invention have been shown and described above, it is to be understood that the above embodiments are exemplary and are not to be construed as limitations of the present invention. A person skilled in the art may change, modify, replace and vary 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, the initial wellbore trajectory is determined as the final wellbore trajectory.
2. A method for generating a wellbore trajectory according to claim 1, characterized in that: 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.
3. A method for generating a wellbore trajectory according to claim 1 or 2, characterized in that: The heuristic algorithm is a genetic algorithm, a simulated annealing algorithm or an ant colony algorithm.
4. A method for generating a wellbore trajectory according to claim 1 or 2, 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.
5. 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.
6. A wellbore trajectory generation system according to claim 5, characterized in that: 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.
7. A wellbore trajectory generation system according to claim 5 or 6, characterized in that: The heuristic algorithm is a genetic algorithm, a simulated annealing algorithm or an ant colony algorithm.
8. A wellbore trajectory generation system according to claim 5 or 6, 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.
9. 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 4.
10. 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 4.
Citation Information
Patent Citations
Sidetrack horizontal well track design method under control point constraint condition
CN103699738A
Method and device for horizontal well reservoir well logging interpretation of marine clastic rock
CN106951660A
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
Directional drill ahead simulator: directional wellbore prediction using BHA and bit models
US20150142406A1