A method, device, equipment and medium for determining full-wellbore equivalent mud density
By adopting the segmented interpolation method when the depth is zero and selecting reference points and control points, the inaccuracy of the depth-equivalent mud density relationship data is resolved, and more accurate and universal relationship data determination is achieved.
Patent Information
- Application Number
- CN202410549780.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-06
- Publication Date
- 2025-09-16
- Estimated Expiration
- 2044-05-06
AI Technical Summary
When the depth is zero, the conventional interpolation method in the prior art for determining the relationship between depth and equivalent mud density is inaccurate and lacks universality and stability.
The segmented interpolation method is used to select the first reference point and the second reference point, and the control point is selected when the depth is zero. The relationship data between the depth and the equivalent mud density is determined by interpolation.
The accuracy and universality of the data on the relationship between depth and equivalent mud density are improved, the problem of inaccurate interpolation when the depth is zero is solved, and the stability and adaptability of the relationship data are ensured.
Smart Images

Figure CN118428269B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of oil and gas drilling, and in particular to a method, device, equipment and medium for determining full-wellbore equivalent mud density. Background Art
[0002] As oilfield exploration continues to expand, well depths continue to increase, and the geological conditions encountered by the drilled formations become increasingly complex, maintaining a reasonable level of well pressure is crucial. Therefore, the oil industry must monitor well pressure fluctuations and make appropriate adjustments to ensure that oil and natural gas can flow smoothly from the wellhead, thereby ensuring smooth oil exploration and production.
[0003] Oil well pressure refers to the pressure exerted by the liquid or gas inside the well on the wellbore. From a microscopic perspective, oil and natural gas in the well primarily exist in pores, fractures, and rock capillaries. The pressure within these tiny spaces determines the fluidity of oil and natural gas within the wellbore, and also influences oil production and extraction efficiency. Equivalent mud density refers to the mud density required to balance formation pressure. During drilling, drilling mud not only maintains the drill bit's temperature, preventing overheating, but also stabilizes the wellbore wall, preventing collapse.
[0004] In actual production, there's a conversion relationship between pressure and equivalent mud density. Pressure values are typically converted to equivalent mud density values, and connecting them creates an equivalent mud density diagram. This allows for better pressure measurement and lays a solid foundation for subsequent mining. Currently, the relationship between equivalent mud density and depth at depth 0 differs from the relationship at depths other than 0. Conventional calculations to determine the relationship between depth and equivalent mud density are not universally applicable. Summary of the Invention
[0005] The embodiments of the present application provide a method, apparatus, device, and medium for determining equivalent mud density of the entire wellbore, so as to adaptively adjust the depth and the determination method of equivalent mud density under special circumstances.
[0006] According to one aspect of the present application, a method for determining full wellbore equivalent mud density is provided, the method comprising:
[0007] Among the coordinate points of the relationship between depth and equivalent mud density, a first reference point and a second reference point are selected;
[0008] If the depth corresponding to the first reference point is zero, selecting a control point between the first reference point and the second reference point;
[0009] Interpolation is performed in each depth interval obtained by dividing the area between the first reference point and the second reference point at the control point to obtain relationship data between the depth and the equivalent mud density.
[0010] According to one aspect of the present application, a device for determining full-wellbore equivalent mud density is provided, the device comprising:
[0011] A reference point selection module is used to select a first reference point and a second reference point from coordinate points of a relationship between depth and equivalent mud density;
[0012] a control point selection module, configured to select a control point between the first reference point and the second reference point if the depth corresponding to the first reference point is zero;
[0013] The interpolation module is used to perform interpolation in each depth interval obtained by dividing the range between the first reference point and the second reference point at the control point to obtain relationship data between the depth and the equivalent mud density.
[0014] According to another aspect of the present application, an electronic device is provided, the electronic device comprising:
[0015] at least one processor; and
[0016] a memory coupled to at least one processor for determining full wellbore equivalent mud density; wherein,
[0017] The memory stores a computer program that can be executed by at least one processor. The computer program is executed by the at least one processor to enable the at least one processor to perform the full wellbore equivalent mud density determination method of any embodiment of the present application.
[0018] According to another aspect of the present application, a computer-readable storage medium is provided, which stores computer instructions, and the computer instructions are used to enable a processor to implement the method for determining the full wellbore equivalent mud density of any embodiment of the present application when executed.
[0019] The technical solution of the embodiment of the present application selects a first reference point and a second reference point from the coordinate points of the relationship between depth and equivalent mud density; if the depth corresponding to the first reference point is zero, a control point is selected between the first reference point and the second reference point; and interpolation is performed within each depth interval obtained by dividing the range between the first reference point and the second reference point at the control point to obtain the relationship data between depth and equivalent mud density. The above solution solves the problem of inaccurate relationship data between depth and equivalent mud density obtained by conventional interpolation when the depth of the selected reference point is zero. The relationship data between depth and equivalent mud density is determined in a targeted manner using a segmented interpolation method when the depth of a reference point is zero, thereby improving the universality and stability of the relationship data determination.
[0020] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present application, nor is it intended to limit the scope of the present application. Other features of the present application will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0022] Figure 1 This is a flow chart of a method for determining full wellbore equivalent mud density provided in Example 1 of the present application;
[0023] Figure 2 This is a flow chart of a method for determining full wellbore equivalent mud density provided in Example 2 of the present application;
[0024] Figure 3 This is a flow chart of a specific implementation method of full wellbore equivalent mud density provided in Example 3 of the present application;
[0025] Figure 4 This is a schematic structural diagram of a device for determining full-wellbore equivalent mud density provided in Example 4 of the present application;
[0026] Figure 5 This is a structural diagram of an electronic device provided in Example 5 of the present application. DETAILED DESCRIPTION
[0027] In order to enable those skilled in the art to better understand the present invention, the following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments in the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts should fall within the scope of protection of this application.
[0028] It should be noted that the terms "first", "second", "third", "fourth", "actual", "preset", etc. in the specification and claims of this application and the above-mentioned drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices. The acquisition, transmission, storage, use, processing, etc. of data in the technical solution of this application comply with the relevant provisions of national laws and regulations.
[0029] It should be noted that in the embodiments of the present application, certain software, components, models and other existing solutions in the industry may be mentioned. They should be regarded as exemplary. Their purpose is only to illustrate the feasibility of implementing the technical solution of the present application, but it does not mean that the applicant has or will necessarily use the solution.
[0030] Example 1
[0031] Figure 1 This is a flow chart of a method for determining equivalent mud density of a whole wellbore provided in the first embodiment of the present application. The embodiment of the present application is applicable to the case of determining the relationship data between depth and equivalent mud density. Typically, the embodiment of the present application is applicable to the case of determining the relationship data between depth and equivalent mud density when there is a reference point with a depth of zero among the selected reference points. The method can be executed by a device for determining equivalent mud density of a whole wellbore. The device for determining equivalent mud density of a whole wellbore can be implemented in the form of hardware and / or software. The device for determining equivalent mud density of a whole wellbore can be configured in an electronic device. Figure 1 As shown, the method includes:
[0032] S110. Select a first reference point and a second reference point from among the coordinate points of the relationship between the depth and the equivalent mud density.
[0033] The depth can be measured downward from the ground surface. The coordinate points for the relationship between depth and equivalent mud density can be determined based on data obtained during actual exploration. These coordinate points only represent a portion of the depth-equivalent mud density relationship. These coordinate points can be represented by (E, T), where E represents the equivalent mud density and T represents the depth.
[0034] For example, a first reference point and a second reference point can be selected from the coordinate points of the relationship between depth and equivalent mud density that have been obtained, and then the coordinates of other points can be determined based on the first reference point and the second reference point, thereby determining the relationship data between depth and equivalent mud density at other locations.
[0035] In the embodiments of the present application, the first reference point and the second reference point can be selected in any manner. Two points can be selected where both depths are non-zero, or one point can be selected where the depth is zero and the other non-zero. The distance between the first reference point and the second reference point can be determined based on actual conditions. The distance between the first reference point and the second reference point can be inversely proportional to the accuracy of the depth and equivalent mud density to be determined. The greater the required accuracy, the smaller the distance between the first reference point and the second reference point.
[0036] In the embodiment of the present application, the first reference point and the second reference point are numbers for two reference points, and the depth of the first reference point is less than the depth of the second reference point, that is, the first reference point is located above the second reference point.
[0037] S120: If the depth corresponding to the first reference point is zero, select a control point between the first reference point and the second reference point.
[0038] In the embodiment of the present application, it is determined whether the depth of the first reference point, which has a smaller depth, is zero. If the depth of the first reference point is zero, it is necessary to adaptively adjust the relationship between depth and equivalent mud density, rather than using conventional linear interpolation, to address the problem that the relationship between depth and equivalent mud density does not conform to the conventional relationship in special circumstances.
[0039] The control points can be selected between the first reference point and the second reference point. The number of control points can be determined based on actual conditions and is not limited here. The number of control points can be proportional to the required accuracy. The higher the required calculation accuracy, the more control points are selected.
[0040] Specifically, the coordinate values of the control points can be calculated by interpolating between the first reference point and the second reference point. The interpolation depth can be a predetermined depth. The predetermined depth can be obtained by summarizing and inducing experimental data.
[0041] In this embodiment of the present application, selecting a control point between the first reference point and the second reference point includes:
[0042] The product of the preset scale factor and the depth corresponding to the second reference point is used as the depth corresponding to the control point;
[0043] An equivalent mud density of the control point is determined according to the first reference point, the second reference point, and the depth corresponding to the control point.
[0044] The preset proportionality factor can be derived from experimental data. For example, the preset proportionality factor can be pre-determined, and the product of the preset proportionality factor and the depth corresponding to the second reference point is used as the depth corresponding to the control point, thus pre-determining the depth of the control point. Based on the depth corresponding to the control point, interpolation is performed between the first reference point and the second reference point to obtain the equivalent mud density of the control point. This interpolation is not arbitrary, but rather is performed by calculating the equivalent mud density of the control point based on the depth of the control point.
[0045] In an embodiment of the present application, determining the equivalent mud density of the control point according to the first reference point, the second reference point, and the depth corresponding to the control point includes:
[0046] Determining a first linear relationship equation based on the first reference point and the second reference point;
[0047] The depth corresponding to the control point is substituted into the first linear relationship to determine the equivalent mud density of the control point.
[0048] For example, a linear fit can be performed based on the first reference point and the second reference point to obtain a first linear relationship. Specifically, assuming that the first reference point is A0 (E0, T0) and the second reference point is A1 (E1, T1), the slope of the first linear relationship can be determined based on the first reference point and the second reference point. From this we can determine the first linear relationship is Assuming the preset proportional coefficient is a, the depth of the control point A(E',T') is T'=a*T1. Substituting the depth of the control point into the first linear relationship, the equivalent mud density of the control point can be obtained.
[0049] S130 , interpolating each depth interval obtained by dividing the area between the first reference point and the second reference point at the control point to obtain relationship data between the depth and the equivalent mud density.
[0050] Exemplarily, the control point is selected by interpolation between the first reference point and the second reference point. Therefore, the control point pair is divided into at least two depth intervals between the first reference point and the second reference point. Assuming there is one control point, the depth interval obtained by dividing the control point pair between the first reference point and the second reference point includes the depth interval from the first reference point to the control point, and the depth interval from the control point to the second reference point. Assuming there are two control points, the depth interval obtained by dividing the control line pair between the first reference point and the second reference point includes three depth intervals: from the first reference point to the first control point, from the first control point to the second control point, and from the second control point to the second reference point.
[0051] Exemplarily, interpolation can be performed in different depth intervals, and the interpolation method in the depth interval including the first reference point is different from the interpolation method in the depth interval not including the first reference point, so as to adaptively determine the relationship data at points including a depth of zero and the relationship data at other locations.
[0052] The technical solution of the embodiment of the present application selects a first reference point and a second reference point from the coordinate points of the relationship between depth and equivalent mud density; if the depth corresponding to the first reference point is zero, a control point is selected between the first reference point and the second reference point; and interpolation is performed within each depth interval obtained by dividing the range between the first reference point and the second reference point at the control point to obtain the relationship data between depth and equivalent mud density. The above solution solves the problem of inaccurate relationship data between depth and equivalent mud density obtained by conventional interpolation when the depth of the selected reference point is zero. The relationship data between depth and equivalent mud density is determined in a targeted manner using a segmented interpolation method when the depth of a reference point is zero, thereby improving the universality and stability of the relationship data determination.
[0053] Example 2
[0054] Figure 2 This is a flow chart of a method for determining the equivalent mud density of the entire wellbore provided in Example 2 of this application. This embodiment of this application is optimized based on the above embodiment. For solutions not fully described in this embodiment of this application, please refer to the above embodiment. Figure 2 As shown, the method of the embodiment of the present application specifically includes the following steps:
[0055] S210. Select a first reference point and a second reference point from among the coordinate points of the relationship between the depth and the equivalent mud density.
[0056] S220: If the depth corresponding to the first reference point is zero, select a control point between the first reference point and the second reference point.
[0057] S230: If the interpolation point is located between the first reference point and the control point, determine a second linear relationship equation according to the first reference point and the control point.
[0058] Exemplarily, if the interpolation point is located between the first reference point and the control point, that is, the depth interval where the interpolation point is located contains a point with a depth of 0, then the second linear relationship equation is determined based on the first reference point and the control point, and interpolation is performed based on the linear relationship between the first reference point and the control point.
[0059] Specifically, assuming the first reference point is A0(E0, T0) and the control point is A(E', T'), the second linear relationship can be determined based on the first reference point and the control point: Among them, because T0=0, when determining the second linear relationship, because the calculated pressure is 0 when the depth is 0, and the actual equivalent mud density is not 0, interpolation is not performed at the pressure level, and interpolation is performed directly in the equivalent mud density data to improve the accuracy of data interpolation.
[0060] S240: Substitute the depth corresponding to the interpolation point into the second linear relationship equation to determine the equivalent mud density of the interpolation point, and obtain relationship data between the depth of the interpolation point and the equivalent mud density.
[0061] Specifically, the depth corresponding to the interpolation point is brought into the second linear relationship, that is, the T of the interpolation point is brought into The equivalent mud density of the interpolation point is obtained. Then the relationship data of the interpolation point is obtained, that is, the specific value of the depth of the interpolation point and the equivalent mud density.
[0062] S250. If the interpolation point is not between the first reference point and the control point, determine a third linear relationship between pressure and depth based on the control point and / or the second reference point corresponding to the endpoint of the depth interval in which the interpolation point is located; wherein the pressure is the product of the depth and the equivalent mud density.
[0063] For example, if the interpolation point is not between the first reference point and the control point, pressure interpolation is performed first. Specifically, if the interpolation point is within the depth interval between the control point and the second reference point, the pressure of the second reference point and the pressure of the control point are converted based on the coordinates of the second reference point and the control point. A linear relationship between the pressure of the second reference point, the pressure of the control point, and the depth, respectively, is then determined, i.e., the third linear relationship.
[0064] Specifically, the pressure at the second reference point is E1*T1, and the pressure at the control point is E'*T'. Then the third linear relationship between the pressure and depth of the interpolation point between the second reference point and the control point is:
[0065] S260: Substitute the depth corresponding to the interpolation point into the third linear relationship equation to determine the pressure corresponding to the interpolation point.
[0066] Exemplarily, the depth corresponding to the interpolation point is substituted into the third linear relationship, that is, T of the interpolation point is substituted into the third linear relationship to obtain the pressure corresponding to the interpolation point.
[0067] S270 : Determine the equivalent mud density of the interpolation point according to the pressure and depth corresponding to the interpolation point, and obtain relationship data between the depth of the interpolation point and the equivalent mud density.
[0068] For example, the ratio of the pressure corresponding to the interpolation point to the depth corresponding to the interpolation point is used as the equivalent mud density of the interpolation point. Then, the specific values of the depth and equivalent mud density of the interpolation point are obtained, that is, the relationship data between the depth and the equivalent mud density are obtained.
[0069] An embodiment of the present application provides a method for determining the equivalent mud density of the entire wellbore. If the depth corresponding to the first reference point is zero, a control point is selected between the first reference point and the second reference point. If the interpolation point is located between the first reference point and the control point, a second linear relationship is determined based on the first reference point and the control point. The depth corresponding to the interpolation point is substituted into the second linear relationship to determine the equivalent mud density of the interpolation point, and the relationship data between the depth and the equivalent mud density of the interpolation point is obtained. If the interpolation point is not located between the first reference point and the control point, a third linear relationship between pressure and depth is determined based on the control point and / or the second reference point corresponding to the endpoint of the depth interval in which the interpolation point is located; the depth corresponding to the interpolation point is substituted into the third linear relationship to determine the pressure corresponding to the interpolation point. The equivalent mud density of the interpolation point is determined based on the pressure and depth corresponding to the interpolation point, and the relationship data between the depth and the equivalent mud density of the interpolation point is obtained. In the above scheme, the relationship between depth and equivalent mud density is adaptively determined according to the different depth intervals in which the interpolation points are located. When the interval in which the interpolation points are located includes a point with a depth of 0, it is possible to get rid of the limitation of the depth value of 0 and directly interpolate and calculate the relationship data based on the equivalent mud density, thereby solving the problem that the equivalent mud density of the first reference point obtained by interpolation based on the depth data and pressure data is 0 but is actually not 0, thereby improving the accuracy of the relationship data determination. The scheme of the embodiment of the present application is more universal.
[0070] In this embodiment of the present application, if the depth corresponding to the first reference point is not zero, the method further includes:
[0071] Interpolation is performed between the first reference point and the second reference point to obtain relationship data between the depth and equivalent mud density.
[0072] For example, if the depth corresponding to the first reference point is not 0, interpolation may be performed directly between the first reference point and the second reference point to obtain relationship data between the depth and the equivalent mud density.
[0073] In the embodiment of the present application, interpolation is performed between the first reference point and the second reference point to obtain the relationship data between the depth and the equivalent mud density, including:
[0074] Determining a fourth linear relationship between pressure and depth based on the first reference point and the second reference point, wherein pressure is the product of depth and equivalent mud density;
[0075] Substituting the depth corresponding to the interpolation point into the fourth linear relationship equation to determine the pressure corresponding to the interpolation point;
[0076] The equivalent mud density of the interpolation point is determined according to the pressure and depth corresponding to the interpolation point, and relationship data between the depth of the interpolation point and the equivalent mud density is obtained.
[0077] For example, a fourth linear relationship between pressure and depth can be determined based on the first reference point and the second reference point, first interpolated based on the pressure, and then converted into equivalent mud density. For example, the pressure at the first reference point can be expressed as A(E',T'), and the pressure at the second reference point can be expressed as E1*T. Based on the pressure at the first reference point and the pressure at the second reference point, the fourth linear relationship determined is: Substituting the depth T of the interpolation point into the equation, we can get the pressure at the interpolation point. Dividing the pressure at the interpolation point by the depth gives the equivalent mud density at the interpolation point, which is:
[0078] In the embodiments of the present application, the equivalent mud density is converted to pressure, then linearly interpolated, and then converted back to equivalent mud density. In some cases, direct density interpolation can avoid the problem of inaccurate results due to the nonlinear relationship between equivalent mud density and depth. Converting density to pressure simplifies this relationship, making the interpolation process more accurate and convenient.
[0079] Example 3
[0080] Figure 3 This is a flow chart of a specific implementation method provided in Example 3 of this application. This embodiment of the application is optimized based on the above embodiment. For solutions not fully described in the embodiment of this application, please refer to the above embodiment. Figure 3 As shown, the method of the embodiment of the present application specifically includes the following steps:
[0081] 1. Set two reference points in the depth-equivalent mud density coordinate system. The coordinates of the first reference point are A0(E0, T0), and the coordinates of the second reference point are A1(E1, T1). E0 is the equivalent mud density of the first reference point, T0 is the vertical depth value corresponding to the first reference point; E1 is the equivalent mud density of the second reference point; and T1 is the vertical depth value corresponding to the second reference point.
[0082] 2. Assume that the current interpolation point is C(E,T). When T0>0, convert the equivalent mud density into pressure and perform linear interpolation, and then convert it into equivalent mud density E:
[0083]
[0084] Wherein, E is the equivalent mud density corresponding to the vertical depth T of the current interpolation point; T0 is the vertical depth value corresponding to the first reference point; T1 is the vertical depth value corresponding to the second reference point; E0 is the equivalent mud density of the first reference point; E1 is the equivalent mud density of the second reference point; T is the vertical depth of the current interpolation point.
[0085] 3. When T0=0, set two equivalent mud density curve control points: A(E',T'), B(E",T")
[0086] T'=a*T1,
[0087] T"=b*T1,
[0088] Through the encrypted data experiment simulation, we know that when a=0.045,b=0.09, the curve shape drawn is most consistent with the actual situation. Therefore, the control point can be obtained Among them, T0 is the vertical depth value corresponding to the first reference point; T1 is the vertical depth value corresponding to the second reference point; T' is the vertical depth value of the first control point; T" is the vertical depth value of the second control point; E0 is the equivalent mud density of the first reference point; E1 is the equivalent mud density of the second reference point; E' is the equivalent mud density of the first control point; E" is the equivalent mud density of the second control point.
[0089] Use control points A(E',T') and B(E",T") to divide the area between the first reference point and the second reference point into three parts:
[0090] (1) If the current interpolation point C(E,T) is between the first reference point and the first control point A(E',T'), then:
[0091]
[0092] Wherein, E is the equivalent mud density corresponding to the vertical depth T of the current interpolation point; E0 is the equivalent mud density of the first reference point; E' is the equivalent mud density of the first control point; T' is the vertical depth at the first control point; T0 is the vertical depth corresponding to the first reference point; and T is the vertical depth of the current interpolation point.
[0093] (2) If the current interpolation point C(E,T) is between the second control point B(E",T") and the second reference point A1, then:
[0094]
[0095] Wherein, E is the equivalent mud density corresponding to the vertical depth T of the current interpolation point; E'' is the equivalent mud density of the second control point; E1 is the equivalent mud density of the second reference point; T'' is the vertical depth at the second control point; T1 is the vertical depth corresponding to the second reference point; and T is the vertical depth of the current interpolation point.
[0096] (3) If the current interpolation point C(E,T) is between the first control point A(E',T') and the second control point B(E",T"), the curve shape is affected by the first and second control points:
[0097]
[0098] Where E is the equivalent mud density corresponding to the vertical depth T of the current interpolation point; E' is the equivalent mud density of the first control point; E" is the equivalent mud density of the second control point; T' is the vertical depth at the first control point; T" is the vertical depth at the second control point; and T is the vertical depth of the current interpolation point.
[0099] 4. Select the corresponding formula for calculation according to the actual situation, connect the calculated equivalent mud density points in sequence, and then draw the depth-equivalent mud density curve.
[0100] Example 4
[0101] Figure 4 This is a schematic diagram of the structure of a device for determining the equivalent mud density of a full wellbore provided in the fourth embodiment of the present application. The device can execute the method for determining the equivalent mud density of a full wellbore provided in any embodiment of the present application, and has the corresponding functional modules and beneficial effects of the execution method. Figure 4 As shown, the device includes:
[0102] A reference point selection module 410 is used to select a first reference point and a second reference point from coordinate points of a relationship between depth and equivalent mud density;
[0103] A control point selection module 420 is configured to select a control point between the first reference point and the second reference point if the depth corresponding to the first reference point is zero;
[0104] The interpolation module 430 is configured to interpolate within each depth interval obtained by dividing the area between the first reference point and the second reference point at the control point to obtain relationship data between the depth and the equivalent mud density.
[0105] In the embodiment of the present application, the control point selection module selects a control point between the first reference point and the second reference point, including:
[0106] The product of the preset scale factor and the depth corresponding to the second reference point is used as the depth corresponding to the control point;
[0107] An equivalent mud density of the control point is determined according to the first reference point, the second reference point, and the depth corresponding to the control point.
[0108] In an embodiment of the present application, the control point selection module selects a control point between the first reference point and the second reference point, including: determining a first linear relationship based on the first reference point and the second reference point;
[0109] The depth corresponding to the control point is substituted into the first linear relationship to determine the equivalent mud density of the control point.
[0110] In an embodiment of the present application, if the interpolation point is between the first reference point and the control point, the interpolation module interpolates in each depth interval obtained by dividing the range from the first reference point to the second reference point at the control point to obtain relationship data between the depth and the equivalent mud density, including:
[0111] Determine a second linear relationship based on the first reference point and the control point;
[0112] The depth corresponding to the interpolation point is substituted into the second linear relationship equation to determine the equivalent mud density of the interpolation point, thereby obtaining relationship data between the depth of the interpolation point and the equivalent mud density.
[0113] In an embodiment of the present application, if the interpolation point is not between the first reference point and the control point, the interpolation module performs interpolation in each depth interval obtained by dividing the range from the first reference point to the second reference point at the control point to obtain relationship data between the depth and the equivalent mud density, including:
[0114] Determining a third linear relationship between pressure and depth based on the control points and / or second reference points corresponding to the endpoints of the depth interval in which the interpolation point is located; wherein the pressure is the product of the depth and the equivalent mud density;
[0115] Substituting the depth corresponding to the interpolation point into the third linear relationship equation to determine the pressure corresponding to the interpolation point;
[0116] The equivalent mud density of the interpolation point is determined according to the pressure and depth corresponding to the interpolation point, and relationship data between the depth of the interpolation point and the equivalent mud density is obtained.
[0117] In this embodiment of the present application, if the depth corresponding to the first reference point is not zero, the apparatus further includes:
[0118] The relationship data determination module is used to perform interpolation between the first reference point and the second reference point to obtain the relationship data between the depth and the equivalent mud density.
[0119] In the embodiment of the present application, the relationship data determination module interpolates between the first reference point and the second reference point to obtain the relationship data between the depth and the equivalent mud density, including:
[0120] Determining a fourth linear relationship between pressure and depth based on the first reference point and the second reference point, wherein pressure is the product of depth and equivalent mud density;
[0121] Substituting the depth corresponding to the interpolation point into the fourth linear relationship equation to determine the pressure corresponding to the interpolation point;
[0122] The equivalent mud density of the interpolation point is determined according to the pressure and depth corresponding to the interpolation point, and relationship data between the depth of the interpolation point and the equivalent mud density is obtained.
[0123] An apparatus for determining full-wellbore equivalent mud density provided in an embodiment of the present application can execute a method for determining full-wellbore equivalent mud density provided in any embodiment of the present application, and has functional modules and beneficial effects corresponding to the execution method.
[0124] Example 5
[0125] Figure 5 A schematic diagram of the structure of an electronic device 10 that can be used to implement an embodiment of the present application is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present application described and / or required herein.
[0126] like Figure 5As shown, electronic device 10 includes at least one processor 11 and a memory device connected to at least one processor 11, such as a read-only memory (ROM) 12 and a random access memory (RAM) 13. The memory device stores a computer program executable by the at least one processor. Processor 11 can perform various appropriate actions and processes based on the computer program stored in ROM 12 or loaded from storage unit 18 into RAM 13. RAM 13 can also store various programs and data required for the operation of electronic device 10. Processor 11, ROM 12, and RAM 13 are interconnected via a bus 14. An input / output (I / O) interface 15 is also connected to bus 14.
[0127] Multiple components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a magnetic disk, an optical disk, etc.; and a full-wellbore equivalent mud density determination unit 19, such as a network card, a modem, a wireless full-wellbore equivalent mud density determination transceiver, etc. The full-wellbore equivalent mud density determination unit 19 allows the electronic device 10 to exchange information / data with other devices via a computer network such as the Internet and / or various telecommunication networks.
[0128] The processor 11 can be any general-purpose and / or specialized processing component with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various specialized artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any other suitable processor, controller, microcontroller, etc. The processor 11 executes the various methods and processes described above, such as the method for determining full-wellbore equivalent mud density.
[0129] In some embodiments, the full-wellbore equivalent mud density determination method can be implemented as a computer program tangibly embodied in a computer-readable storage medium, such as the storage unit 18. In some embodiments, part or all of the computer program can be loaded and / or installed on the electronic device 10 via the ROM 12 and / or the full-wellbore equivalent mud density determination unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the full-wellbore equivalent mud density determination method described above can be performed. Alternatively, in other embodiments, the processor 11 can be configured to execute the full-wellbore equivalent mud density determination method in any other suitable manner (e.g., via firmware).
[0130] Various embodiments of the systems and techniques described herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), system-on-chip systems (SOCs), programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments can include being implemented in one or more computer programs that are executable and / or interpreted on a programmable system that includes at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0131] Computer programs for implementing the methods of the present application can be written in any combination of one or more programming languages. These computer programs can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable full-wellbore equivalent mud density determination device, such that, when executed by the processor, the computer programs implement the functions / operations specified in the flowcharts and / or block diagrams. The computer programs can be executed entirely on the machine, partially on the machine, as a stand-alone software package, partially on the machine and partially on a remote machine, or entirely on a remote machine or server.
[0132] In the context of the present application, a computer-readable storage medium can be a tangible medium that can contain or store a computer program for use by an instruction execution system, device or equipment or used in combination with an instruction execution system, device or equipment. A computer-readable storage medium can include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium can be a machine-readable signal medium. A more specific example of a machine-readable storage medium can include an electrical connection based on one or more lines, 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 foregoing.
[0133] To provide interaction with a user, the systems and techniques described herein can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).
[0134] The systems and techniques described herein can be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., a user computer with a graphical user interface or web browser through which a user can interact with embodiments of the systems and techniques described herein), or a computing system that includes any combination of such back-end components, middleware components, or front-end components. The components of the system can be interconnected via digital data full-wellbore equivalent mud density determination (e.g., a full-wellbore equivalent mud density determination network) in any form or medium. Examples of a full-wellbore equivalent mud density determination network include a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.
[0135] A computing system may include a client and a server. The client and server are generally remote from each other and typically interact via a full-wellbore equivalent mud density determination network. This client-server relationship arises through computer programs running on the respective computers and establishing a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, a hosting product within a cloud computing service ecosystem that addresses the management difficulties and limited scalability of traditional physical hosting and VPS services.
[0136] It should be understood that the various forms of the processes shown above can be used to reorder, add, or delete steps. For example, the steps described in this application can be performed in parallel, sequentially, or in a different order, as long as the desired information of the technical solution of this application can be achieved. This document is not limited here.
[0137] The above specific embodiments do not constitute a limitation on the scope of protection of this application. Those skilled in the art will appreciate that various modifications, combinations, sub-combinations, and substitutions may be made based on design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of this application shall be included within the scope of protection of this application.
Claims
1. A method for determining the equivalent mud density of the entire wellbore, characterized in that: The method comprises: Among the coordinate points of the relationship between depth and equivalent mud density, a first reference point and a second reference point are selected; If the depth corresponding to the first reference point is zero, selecting a control point between the first reference point and the second reference point; interpolating each depth interval obtained by dividing the area between the first reference point and the second reference point at the control point to obtain relationship data between the depth and the equivalent mud density; Interpolation is performed within each depth interval obtained by dividing the area between the first reference point and the second reference point at the control point to obtain relationship data between the depth and the equivalent mud density, including: If the interpolation point is between the first reference point and the control point, determining a second linear relationship according to the first reference point and the control point; Substituting the depth corresponding to the interpolation point into the second linear relationship equation, determining the equivalent mud density of the interpolation point, and obtaining relationship data between the depth of the interpolation point and the equivalent mud density; If the interpolation point is not between the first reference point and the control point, a third linear relationship between pressure and depth is determined based on the control point and / or the second reference point corresponding to the endpoint of the depth interval in which the interpolation point is located; wherein the pressure is the product of the depth and the equivalent mud density; Substituting the depth corresponding to the interpolation point into the third linear relationship equation to determine the pressure corresponding to the interpolation point; The equivalent mud density of the interpolation point is determined according to the pressure and depth corresponding to the interpolation point, and the relationship data between the depth of the interpolation point and the equivalent mud density is obtained; wherein, the equivalent mud density of the interpolation point is Among them, T is the depth corresponding to the interpolation point, is the pressure corresponding to the interpolation point, the pressure at the second reference point is E1*T1, the pressure at the control point is E'*T', E1 is the equivalent mud density corresponding to the second reference point, T1 is the depth corresponding to the second reference point, E' is the equivalent mud density corresponding to the control point, and T' is the depth corresponding to the control point.
2. The method according to claim 1, characterized in that Selecting a control point between the first reference point and the second reference point includes: The product of the preset scale factor and the depth corresponding to the second reference point is used as the depth corresponding to the control point; An equivalent mud density of the control point is determined according to the first reference point, the second reference point, and the depth corresponding to the control point.
3. The method according to claim 2, characterized in that Determining the equivalent mud density of the control point according to the first reference point, the second reference point, and the depth corresponding to the control point includes: Determining a first linear relationship equation based on the first reference point and the second reference point; The depth corresponding to the control point is substituted into the first linear relationship to determine the equivalent mud density of the control point.
4. The method according to claim 1, wherein If the depth corresponding to the first reference point is not zero, the method further includes: Interpolation is performed between the first reference point and the second reference point to obtain relationship data between the depth and equivalent mud density.
5. The method according to claim 4, characterized in that Interpolating between the first reference point and the second reference point to obtain relationship data between the depth and equivalent mud density includes: Determining a fourth linear relationship between pressure and depth based on the first reference point and the second reference point, wherein pressure is the product of depth and equivalent mud density; Substituting the depth corresponding to the interpolation point into the fourth linear relationship equation to determine the pressure corresponding to the interpolation point; The equivalent mud density of the interpolation point is determined according to the pressure and depth corresponding to the interpolation point, and relationship data between the depth of the interpolation point and the equivalent mud density is obtained.
6. A device for determining the equivalent mud density of the entire wellbore, characterized in that: The device comprises: A reference point selection module is used to select a first reference point and a second reference point from coordinate points of a relationship between depth and equivalent mud density; a control point selection module, configured to select a control point between the first reference point and the second reference point if the depth corresponding to the first reference point is zero; an interpolation module, configured to interpolate within each depth interval obtained by dividing the range between the first reference point and the second reference point at the control point, to obtain relationship data between the depth and the equivalent mud density; If the interpolation point is between the first reference point and the control point, the interpolation module interpolates in each depth interval obtained by dividing the range from the first reference point to the second reference point at the control point to obtain relationship data between the depth and the equivalent mud density, including: Determine a second linear relationship based on the first reference point and the control point; Substituting the depth corresponding to the interpolation point into the second linear relationship equation, determining the equivalent mud density of the interpolation point, and obtaining relationship data between the depth of the interpolation point and the equivalent mud density; If the interpolation point is not between the first reference point and the control point, the interpolation module interpolates in each depth interval obtained by dividing the range from the first reference point to the second reference point at the control point to obtain relationship data between the depth and the equivalent mud density, including: Determining a third linear relationship between pressure and depth based on the control points and / or second reference points corresponding to the endpoints of the depth interval in which the interpolation point is located; wherein the pressure is the product of the depth and the equivalent mud density; Substituting the depth corresponding to the interpolation point into the third linear relationship equation to determine the pressure corresponding to the interpolation point; determining the equivalent mud density of the interpolation point according to the pressure and depth corresponding to the interpolation point, and obtaining relationship data between the depth of the interpolation point and the equivalent mud density; Among them, the equivalent mud density of the interpolation point is Among them, T is the depth corresponding to the interpolation point, is the pressure corresponding to the interpolation point, the pressure at the second reference point is E1*T1, the pressure at the control point is E'*T', E1 is the equivalent mud density corresponding to the second reference point, T1 is the depth corresponding to the second reference point, E' is the equivalent mud density corresponding to the control point, and T' is the depth corresponding to the control point.
7. An electronic device, characterized in that: The electronic device comprises: at least one processor; and a memory connected to said at least one processor for determining full wellbore equivalent mud density; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor to enable the at least one processor to perform the full wellbore equivalent mud density determination method according to any one of claims 1 to 5.
8. A computer-readable storage medium, characterized in that The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the method for determining full wellbore equivalent mud density according to any one of claims 1 to 5 when executed.
Citation Information
Patent Citations
Shale gas-bearing evaluation method and device
CN108150161A
Geologic body modeling method and device based on sliding Kriging interpolation
CN114332413A