Oil casing wall thickness calculation method, system, device and storage medium after well
By acquiring wall thickness and inner radius data of the casing and tubing before and after running them into the well, and combining electromagnetic flaw detection and multi-arm caliper measurements, the minimum wall thickness of the downhole casing and tubing can be accurately calculated. This solves the problem that the average wall thickness of electromagnetic flaw detection logging cannot reflect the true wall thickness, and improves the accuracy of strength calculation and safety assessment.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- CHINA NAT PETROLEUM CORP
- Filing Date
- 2024-12-04
- Publication Date
- 2026-06-05
AI Technical Summary
In existing technologies, the casing wall thickness obtained by electromagnetic flaw detection logging is an average value, which cannot reflect the true wall thickness at different positions along the circumference of the cross section, resulting in inaccurate strength calculations and posing safety risks.
By acquiring wall thickness and inner radius data before and after the casing is run into the well, the maximum wall thickness difference and inner radius difference are calculated. Combined with electromagnetic flaw detection and multi-arm caliper measurements, the minimum wall thickness of any section after the casing is run into the well is accurately calculated.
It provides more accurate oil casing wall thickness data, supports strength calculation and safety verification, and can detect wall thickness changes in a timely manner to reduce safety risks.
Smart Images

Figure CN122153198A_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of oil well pipe safety evaluation technology, and specifically relates to the method, system, equipment and storage medium for calculating the wall thickness of oil casing after it has been run into the well. Background Technology
[0002] During long-term service, the wall thickness of downhole casing and tubing continuously decreases due to environmental corrosion and fluid erosion. To ensure the safety of the casing and tubing during service, strength calculations and safety checks must be performed based on the actual wall thickness. Currently, the main method for obtaining the casing and tubing wall thickness is through electromagnetic logging (EML). According to the principle of EML, this wall thickness value is the average value along a certain cross-section of the casing and tubing. Therefore, the wall thickness value obtained from logging cannot reflect the actual wall thickness at different locations along the circumference of the cross-section. In some locations, the actual wall thickness is greater than the average wall thickness obtained from logging, and in others, it is less. For locations where the actual wall thickness is less than the average wall thickness obtained from logging, the strength calculation still uses the measured average wall thickness value, which will lead to a calculated casing and tubing strength result greater than the actual value. Therefore, directly using the average wall thickness value from logging to calculate the casing and tubing strength will result in inaccurate calculations, posing safety risks during the service life of the casing and tubing. Summary of the Invention
[0003] To address the problems in the background art, this invention proposes a method, system, equipment, and storage medium for calculating the wall thickness of oil casing after it has been run into the well.
[0004] To achieve the above objectives, the present invention adopts the following technical solution:
[0005] A method for calculating the wall thickness of oil casing after it has been run into the well includes the following steps:
[0006] Take any section as the first section and obtain the wall thickness and inner radius of the first section before the oil casing is run into the well;
[0007] Calculate the average wall thickness, the difference between the average wall thickness and the minimum wall thickness, and the maximum difference between the inner radii of the first section based on the wall thickness and inner radius of the first section;
[0008] Take any section as the second section, and obtain the average wall thickness and inner radius of the second section after the oil casing is run into the well;
[0009] Calculate the maximum difference in inner radius of the second section based on its inner radius;
[0010] The minimum wall thickness of the second section after the well is calculated based on the difference between the average wall thickness and the minimum wall thickness of the first section before the well is lowered, the difference between the maximum inner radius and the average wall thickness of the second section after the well is lowered.
[0011] Furthermore, taking any section as the first section, the wall thickness and inner radius of the first section before the casing is run into the well are obtained, including the following steps:
[0012] Before going down into the well, take samples of the casing at several points on the first section and record the wall thickness and inner radius of each point.
[0013] The minimum wall thickness of the first section before the casing is run into the well is obtained and denoted as T1. 最小 ;
[0014] The minimum inner radius of the first section before the casing and tubing are run into the well is obtained and denoted as R1. 最小 ;
[0015] The maximum inner radius of the first section before the casing is run into the well is obtained and denoted as R1. 最大 .
[0016] Further, based on the wall thickness and inner radius of the first section, the average wall thickness, the difference between the average wall thickness and the minimum wall thickness, and the maximum difference in inner radius of the first section are calculated, including the following steps:
[0017] Calculate the average wall thickness at several points along the first cross-section of the oil casing to obtain the average wall thickness of the first cross-section, denoted as T1. 平均 ;
[0018] Calculate T1 平均 With T1 最小 The difference between the average wall thickness and the minimum wall thickness of the first section is denoted as A1.
[0019] Calculate R1 最大 With R1 最小 The difference is taken as the maximum inner radius difference of the first section, and is denoted as B1.
[0020] Furthermore, taking any section as the second section, the average wall thickness and inner radius of the second section after the casing and tubing are run into the well are obtained, including the following steps:
[0021] After the casing was run into the well, the average wall thickness T2 of the second section of the casing was obtained by electromagnetic flaw detection. 平均 ;
[0022] Several points were taken at the second section of the casing using a multi-arm caliper, and the inner radius corresponding to each point was recorded.
[0023] The minimum inner radius of the second section after the casing and tubing are run into the well is obtained and denoted as R2. 最小 ;
[0024] The maximum inner radius of the second section after the casing and tubing are run into the well is obtained and denoted as R2. 最大 .
[0025] Further, calculating the maximum inner radius difference of the second cross-section based on the inner radius of the second cross-section includes the following steps:
[0026] Subtract R2 最大 from R2 最小 to obtain the maximum inner radius difference of the second cross-section, denoted as B2.
[0027] Further, calculating the minimum wall thickness of the second cross-section after the oil casing is lowered into the well based on the difference between the average wall thickness and the minimum wall thickness of the first cross-section before lowering the well and the maximum inner radius difference, and the average wall thickness and the maximum inner radius difference of the second cross-section after lowering the well includes the following steps:
[0028] Compare the maximum inner radius difference of the first cross-section and the maximum inner radius difference of the second cross-section;
[0029] If B2 = B1, then T2 最小 = T2 平均 - A1;
[0030] If B2 > B1, then T2 最小 = T2 平均 - A1 - (B2 - B1);
[0031] If B2 < B1, then T2 最小 = T2 平均 - A1 + (B1 - B2);
[0032] where T2 最小 is the minimum wall thickness of the second cross-section.
[0033] An oil casing wall thickness calculation system for calculating the wall thickness of an oil casing after it is lowered into the well, includes:
[0034] A first recording unit, configured to take any cross-section as the first cross-section and obtain the wall thickness and inner radius of the first cross-section of the oil casing before it is lowered into the well;
[0035] A first calculation unit, configured to calculate the average wall thickness, the difference between the average wall thickness and the minimum wall thickness, and the maximum inner radius difference of the first cross-section based on the wall thickness and inner radius of the first cross-section;
[0036] A second recording unit, configured to take any cross-section as the second cross-section and obtain the average wall thickness and inner radius of the second cross-section of the oil casing after it is lowered into the well;
[0037] A second calculation unit, configured to calculate the maximum inner radius difference of the second cross-section based on the inner radius of the second cross-section;
[0038] A third calculation unit, configured to calculate the minimum wall thickness of the second cross-section after the oil casing is lowered into the well based on the difference between the average wall thickness and the minimum wall thickness of the first cross-section before lowering the well and the maximum inner radius difference, and the average wall thickness and the maximum inner radius difference of the second cross-section after lowering the well.
[0039] Furthermore, the first recording unit includes:
[0040] The first recording module is used to record the wall thickness and inner radius of each point when taking samples of the casing at the first section before running it into the well.
[0041] The first acquisition module is used for:
[0042] The minimum wall thickness of the first section before the casing is run into the well is obtained and denoted as T1. 最小 ;
[0043] The minimum inner radius of the first section before the casing and tubing are run into the well is obtained and denoted as R1. 最小 ;
[0044] The maximum inner radius of the first section before the casing is run into the well is obtained and denoted as R1. 最大 .
[0045] Furthermore, the first computing unit includes:
[0046] The first calculation module is used for:
[0047] Calculate the average wall thickness at several points along the first cross-section of the oil casing to obtain the average wall thickness of the first cross-section, denoted as T1. 平均 ;
[0048] Calculate T1 平均 With T1 最小 The difference between the average wall thickness and the minimum wall thickness of the first section is denoted as A1.
[0049] Calculate R1 最大 With R1 最小 The difference is taken as the maximum inner radius difference of the first section, and is denoted as B1.
[0050] Furthermore, the second recording unit includes:
[0051] The second recording module is used for:
[0052] After the casing was run into the well, the average wall thickness T2 of the second section of the casing was obtained by electromagnetic flaw detection. 平均 ;
[0053] Several points were taken at the second section of the casing using a multi-arm caliper, and the inner radius corresponding to each point was recorded.
[0054] The second acquisition module is used for:
[0055] The minimum inner radius of the second section after the casing and tubing are run into the well is obtained and denoted as R2. 最小 ;
[0056] Obtain the maximum inner radius of the second cross-section after the oil casing is lowered into the well, denoted as R2 最大 .
[0057] Furthermore, the second calculation unit includes:
[0058] A second calculation module for subtracting R2 最大 from R2 最小 to obtain the maximum inner radius difference of the second cross-section, denoted as B2.
[0059] Furthermore, the third calculation unit includes a comparison module and a calculation module;
[0060] The comparison module is used to compare the maximum inner radius difference of the first cross-section and the maximum inner radius difference of the second cross-section;
[0061] When B2 = B1, the calculation module is used to calculate T2 最小 = T2 平均 - A1;
[0062] When B2 > B1, the calculation module is used to calculate T2 最小 = T2 平均 - A1 - (B2 - B1);
[0063] When B2 < B1, the calculation module is used to calculate T2 最小 = T2 平均 - A1 + (B1 - B2);
[0064] Wherein, T2 最小 is the minimum wall thickness of the second cross-section.
[0065] A device includes:
[0066] A memory for storing a computer program;
[0067] A processor for implementing the above-mentioned wall thickness calculation method of an oil casing when executing the program stored in the memory.
[0068] A computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the above-mentioned wall thickness calculation method of an oil casing is implemented.
[0069] Advantages of the present invention:
[0070] This invention proposes a method for calculating the wall thickness of casing and tubing after it has been run into the well. This method considers the difficulty of data processing after running into the well. Before running into the well, it obtains the wall thickness and inner radius data of any cross-section of the casing and tubing, thus obtaining the maximum wall thickness difference and maximum inner radius difference before running into the well. After running into the well, it obtains the average wall thickness and inner radius of the casing and tubing through electromagnetic flaw detection, thus obtaining the maximum inner radius difference after running into the well. Finally, by combining the data before and after running into the well, the minimum wall thickness of the casing and tubing at any cross-section after running into the well is calculated, i.e., the true wall thickness. This true wall thickness can more accurately reflect the wall thickness changes of the casing and tubing during long-term downhole service, providing more accurate data support for strength calculation and safety verification. Furthermore, by comparing the data before and after running into the well, changes in the casing and tubing wall thickness can be detected in a timely manner, allowing for appropriate measures to be taken to ensure the safe use of the casing and tubing.
[0071] Other features and advantages of the invention will be set forth in the following description, and will be apparent in part from the description, or may be learned by practicing the invention. The objects and other advantages of the invention may be realized and obtained by means of the structures pointed out in the description and the drawings. Attached Figure Description
[0072] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0073] Figure 1 A flowchart of a method for calculating the wall thickness of an oil casing pipe according to the present invention is shown;
[0074] Figure 2 A framework diagram of a pipe wall calculation system for an oil casing pipe according to the present invention is shown. Detailed Implementation
[0075] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0076] A method for calculating the wall thickness of oil casing and tubing, which calculates the wall thickness of the tubing after it has been run into the well, such as... Figure 1 As shown, it includes the following steps:
[0077] S1: Take any section as the first section and obtain the wall thickness and inner radius of the first section before the oil casing is run into the well.
[0078] S2: Calculate the average wall thickness, the difference between the average wall thickness and the minimum wall thickness, and the maximum difference between the inner radii of the first section based on the wall thickness and inner radius of the first section.
[0079] S3: Take any section as the second section and obtain the average wall thickness and inner radius of the second section after the oil casing is run into the well.
[0080] S4: Calculate the maximum difference in the inner radius of the second section based on the inner radius of the second section.
[0081] S5: Calculate the minimum wall thickness of the second section after the well is run down based on the difference between the average wall thickness and the minimum wall thickness and the maximum inner radius of the first section before the well is run down, and the difference between the average wall thickness and the maximum inner radius of the second section after the well is run down.
[0082] It should be noted that repeating S1-S5 will yield the minimum wall thickness of the casing and tubing at all locations downhole.
[0083] It should be further explained that S1 obtains the initial wall thickness and inner radius data of the casing and tubing before they are run into the well. This data is crucial for subsequent calculations and analyses, providing baseline data for later steps. S2 calculates the average wall thickness, the difference between the average wall thickness and the minimum wall thickness, and the maximum difference in inner radius at the first cross-section, allowing for a preliminary assessment of the casing and tubing's quality and dimensional accuracy, providing fundamental data support for its safe use. S3 obtains the actual wall thickness and inner radius data after the casing and tubing are run into the well. This data reflects the wall thickness changes during long-term downhole service, providing key data for subsequent strength calculations and safety verification. S4 calculates the maximum difference in inner radius at the second cross-section, further assessing the dimensional stability of the casing and tubing after run into the well, thus determining whether the casing and tubing are affected by environmental corrosion and fluid erosion. S5 combines the data before and after run-in to calculate the minimum wall thickness at the second cross-section after run-in. This data more accurately reflects the wall thickness changes during long-term downhole service, providing more accurate data support for strength calculations and safety verification. Meanwhile, by comparing data before and after running the well, changes in the wall thickness of the casing and tubing can be detected in a timely manner, allowing for appropriate measures to be taken to ensure the safe use of the casing and tubing.
[0084] Based on the above, it can be seen that the effect of steps S1-S5 is to more accurately obtain and evaluate the wall thickness and inner radius data of the casing and tubing, providing basic data support for strength calculation and safety verification. Compared with the current method of obtaining the average wall thickness of the cross-section mainly through electromagnetic flaw detection logging, steps S1-S5 can more comprehensively reflect the true wall thickness of the casing and tubing at different positions along the circumference of the cross-section, thus avoiding the problem of inaccurate calculation results caused by directly using the average wall thickness value of the well logging to calculate the strength of the casing and tubing, and reducing the safety risks during the service of the casing and tubing.
[0085] The process of S1-S5 is further explained below.
[0086] For example, S1 includes the following steps:
[0087] S101: Before running the casing into the well, take several points on the first cross-section and record the wall thickness and inner radius corresponding to each point. S102: Obtain the minimum wall thickness of the first cross-section before running the casing into the well, denoted as T1. 最小 S103: Obtain the minimum inner radius of the first cross-section before the casing is run into the well, denoted as R1. 最小 S104: Obtain the maximum inner radius of the first cross-section before the casing is run into the well, denoted as R1. 最大 .
[0088] For example, S2 includes the following steps:
[0089] S201: Calculate the average wall thickness at several points on the first cross-section of the oil casing to obtain the average wall thickness of the first cross-section, denoted as T1. 平均 S202: Calculate T1 平均 With T1 最小 The difference between the average and minimum wall thicknesses of the first section is denoted as A1. S203: Calculate R1 最大 With R1 最小 The difference is taken as the maximum inner radius difference of the first section, and is denoted as B1.
[0090] For example, S3 includes the following steps:
[0091] S301: After running into the well, the average wall thickness T2 of the second section of the casing and tubing is obtained through electromagnetic flaw detection. 平均 S302: Using a multi-arm caliper, take several points at the second section of the casing and tubing, and record the inner radius corresponding to each point. S303: Obtain the minimum inner radius of the second section after the casing and tubing has been run into the well, denoted as R2. 最小 S304: Obtain the maximum inner radius of the second cross-section after the casing and tubing are run into the well, denoted as R2. 最大 .
[0092] It should be noted that due to the limitations of electromagnetic flaw detection logging technology, the wall thickness of the pipe wall at any position in any direction of any cross-section of the oil casing cannot be obtained. Therefore, only the average wall thickness can be obtained in this step.
[0093] Exemplarily, S4 includes the following steps:
[0094] S401: Subtract R2 最大 from R2 最小 to obtain the maximum inner radius difference of the second cross-section, denoted as B2.
[0095] Exemplarily, S5 includes the following steps:
[0096] S501: Compare the maximum inner radius difference of the first cross-section and the maximum inner radius difference of the second cross-section;
[0097] S502: If B2 = B1, then T2 最小 = T2 平均 - A1; if B2 > B1, then T2 最小 = T2 平均 - A1 - (B2 - B1); if B2 < B1, then T2 最小 = T2 平均 - A1 + (B1 - B2); where T2 最小 is the minimum wall thickness of the second cross-section.
[0098] It should be noted that in the above processes of data monitoring and calculation of S1 - S5, the data processing difficulties on the wellhead and downhole are effectively considered. Different calculation methods are selected by comparing the maximum inner radius differences on the wellhead and downhole, and the maximum wall thickness difference and the maximum inner radius difference are combined during the calculation, so that a more accurate minimum wall thickness of the pipe wall can be obtained, improving the data accuracy of the pipe wall thickness. In addition, the present invention considers the unevenness of the original wall thickness of the oil casing and the variation difference of the inner radius. According to the average wall thickness measured by electromagnetic flaw detection and the series of inner radii measured by a multi-arm caliper, the minimum wall thickness of the cross-section at different well depth positions of the downhole oil casing is accurately calculated, accurately reflecting the current situation of the downhole oil casing, thereby improving the accuracy and reliability of the strength calculation and safety evaluation of the downhole oil casing.
[0099] Specific embodiments are given below in combination with S1 - S5.
[0100] Select the data of a certain cross-section of the downhole oil casing obtained by electromagnetic flaw detection logging and 40-arm caliper logging, and illustrate the above-mentioned wall thickness calculation method of the oil casing through the cross-section data.
[0101] In S1, before the oil casing is lowered into the well, the wall thickness and outer radius or inner radius are generally detected to check whether the detected values meet the standard requirements. The detected data of the wall thickness and inner radius are shown in Table 1 and Table 2 respectively. Where T1 最小= 8.89mm, R1 最大 =55.93mm, R1 最小 =54.15mm.
[0102] Table 1: Wall thickness measurement data (mm)
[0103]
[0104] Table 2: Inner radius (R) measurement data (mm)
[0105]
[0106] In S2, calculate the average value T1 of the 10 wall thicknesses in Table 1. 平均 =9.201mm, calculate the difference between the average wall thickness and the minimum wall thickness before the casing is run into the well, A1 = T1 平均 -T1 最小 =0.311mm, calculate the maximum difference in inner radius B1 = R1 before the casing is run into the well. 最大 -R1 最小 =1.78mm.
[0107] In S3, the electromagnetic flaw detector uses the principle of electromagnetic induction to measure the wall thickness of the oil casing. It is a non-contact device, and the wall thickness measured by the electromagnetic flaw detector is the average wall thickness of the oil casing. The measured wall thickness T2 is... 平均 = 8.27mm.
[0108] In S4, the 40-arm caliper is a contact-type detection device. Each arm tip contacts the inner surface of the casing and tubing, allowing for the measurement of 40 inner radius values across each cross-section of the casing and tubing. The results are shown in Table 3. The maximum inner radius measured is R2. 最大 =63.56mm, minimum inner radius detection value R2 最小 =61.09mm. Calculate the maximum difference in the inner radius of this section, B2 = R2. 最大 -R2 最小 =2.47mm.
[0109] Table 3: Inner radius data (mm) of 40-arm caliper logging
[0110]
[0111]
[0112] In S5, the minimum wall thickness is calculated as follows:
[0113] B2 = 2.47 mm, B1 = 1.78 mm, therefore B2 > B1, so the minimum wall thickness of the logging section is T2. 最小 =T2 平均-A1-(B2-B1)=8.27-0.311-(2.47-1.78)=7.269mm.
[0114] like Figure 2 As shown, a casing wall calculation system is used to calculate the casing wall thickness after the casing is run into the well. The system includes a first recording unit, a first calculation unit, a second recording unit, a second calculation unit, and a third calculation unit.
[0115] The first recording unit is used to select any section as the first section and obtain the wall thickness and inner radius of the first section before the casing and tubing are run into the well. The first calculation unit is used to calculate the average wall thickness, the difference between the average wall thickness and the minimum wall thickness, and the maximum difference in inner radius of the first section based on the wall thickness and inner radius of the first section. The second recording unit is used to select any section as the second section and obtain the average wall thickness and inner radius of the second section after the casing and tubing are run into the well. The second calculation unit is used to calculate the maximum difference in inner radius of the second section based on the inner radius of the second section. The third calculation unit is used to calculate the minimum wall thickness of the second section after it is run into the well based on the difference between the average wall thickness and the minimum wall thickness and the maximum difference in inner radius of the first section before it is run into the well, and the difference between the average wall thickness and the maximum inner radius of the second section after it is run into the well.
[0116] An exemplary first recording unit includes a first recording module and a first acquisition module. The first recording module is used to sample several points of the casing at a first cross-section before running it into the well, and record the wall thickness and inner radius corresponding to each point.
[0117] The first acquisition module is used for:
[0118] The minimum wall thickness of the first section before the casing is run into the well is obtained and denoted as T1. 最小 ;
[0119] The minimum inner radius of the first section before the casing and tubing are run into the well is obtained and denoted as R1. 最小 ;
[0120] The maximum inner radius of the first section before the casing is run into the well is obtained and denoted as R1. 最大 .
[0121] For example, the first computing unit includes a first computing module, which is used for:
[0122] Calculate the average wall thickness at several points along the first cross-section of the oil casing to obtain the average wall thickness of the first cross-section, denoted as T1. 平均 ; and, calculate T1 平均 With T1 最小 The difference between the average and minimum wall thicknesses of the first section is denoted as A1; and R1 is calculated. 最大 With R1 最小The difference is used as the maximum inner radius difference of the first cross-section, denoted as B1.
[0123] Exemplarily, the second recording unit includes a second recording module and a second obtaining module. The second recording module is used for:
[0124] After being lowered into the well, obtain the average wall thickness T2 of the second cross-section of the oil casing through electromagnetic flaw detection 平均 ;
[0125] Take several points on the second cross-section of the oil casing through a multi-arm caliper, and record the inner radius corresponding to each point;
[0126] The second obtaining module is used for:
[0127] Obtain the minimum inner radius of the second cross-section of the oil casing after being lowered into the well, denoted as R2 最小 ;
[0128] Obtain the maximum inner radius of the second cross-section of the oil casing after being lowered into the well, denoted as R2 最大 .
[0129] Exemplarily, the second calculation unit includes a second calculation module. This second calculation module is used to subtract R2 最大 from R2 最小 to obtain the maximum inner radius difference of the second cross-section, denoted as B2.
[0130] Exemplarily, the third calculation unit includes a comparison module and a calculation module. The comparison module is used to compare the maximum inner radius difference of the first cross-section and the maximum inner radius difference of the second cross-section;
[0131] When B2 = B1, the calculation module is used to calculate T2 最小 = T2 平均 - A1;
[0132] When B2 > B1, the calculation module is used to calculate T2 最小 = T2 平均 - A1 - (B2 - B1);
[0133] When B2 < B1, the calculation module is used to calculate T2 最小 = T2 平均 - A1 + (B1 - B2);
[0134] where, T2 最小 is the minimum wall thickness of the second cross-section.
[0135] A device includes:
[0136] A memory for storing a computer program;
[0137] A processor for implementing when executing the program stored on the memory Figure 1 A method for calculating the wall thickness of oil casing.
[0138] A computer-readable storage medium having a computer program stored thereon, which is implemented when executed by a processor. Figure 1 A method for calculating the wall thickness of oil casing.
[0139] Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A method for calculating the wall thickness of an oil casing pipe, characterized in that, Calculating the wall thickness of the casing and tubing after it has been run into the well includes the following steps: Take any section as the first section and obtain the wall thickness and inner radius of the first section before the oil casing is run into the well; Calculate the average wall thickness, the difference between the average wall thickness and the minimum wall thickness, and the maximum difference between the inner radii of the first section based on the wall thickness and inner radius of the first section; Take any section as the second section, and obtain the average wall thickness and inner radius of the second section after the oil casing is run into the well; Calculate the maximum difference in inner radius of the second section based on its inner radius; The minimum wall thickness of the second section after the well is calculated based on the difference between the average wall thickness and the minimum wall thickness and the maximum inner radius of the first section before the well is lowered, as well as the difference between the average wall thickness and the maximum inner radius of the second section after the well is lowered.
2. The method for calculating the wall thickness of an oil casing pipe according to claim 1, characterized in that, Taking any section as the first section, the wall thickness and inner radius of the first section before the casing is run into the well are obtained, including the following steps: Before going down into the well, take samples of the casing at several points on the first section and record the wall thickness and inner radius of each point. The minimum wall thickness of the first section before the casing is run into the well is obtained and denoted as T1. 最小 ; The minimum inner radius of the first section before the casing and tubing are run into the well is obtained and denoted as R1. 最小 ; The maximum inner radius of the first section before the casing and tubing are run into the well is denoted as R1. 最大 .
3. The method for calculating the wall thickness of an oil casing pipe according to claim 2, characterized in that, The calculation of the average wall thickness, the difference between the average wall thickness and the minimum wall thickness, and the maximum difference in the inner radius of the first section based on the wall thickness and inner radius of the first section includes the following steps: Calculate the average wall thickness at several points along the first cross-section of the oil casing to obtain the average wall thickness of the first cross-section, denoted as T1. 平均 ; Calculate T1 平均 With T1 最小 The difference between the average wall thickness and the minimum wall thickness of the first section is denoted as A1. Calculate R1 最大 With R1 最小 The difference is taken as the maximum inner radius difference of the first section, and is denoted as B1.
4. The method for calculating the wall thickness of an oil casing pipe according to claim 3, characterized in that, Taking any section as the second section, the average wall thickness and inner radius of the second section after the casing and tubing are run into the well are obtained, including the following steps: After the casing was run into the well, the average wall thickness T2 of the second section of the casing was obtained by electromagnetic flaw detection. 平均 ; Several points were taken at the second section of the casing using a multi-arm caliper, and the inner radius corresponding to each point was recorded. The minimum inner radius of the second section after the casing and tubing are run into the well is obtained and denoted as R2. 最小 ; The maximum inner radius of the second section after the casing and tubing are run into the well is obtained and denoted as R2. 最大 .
5. The method for calculating the wall thickness of an oil casing pipe according to claim 4, characterized in that, The maximum difference in the inner radius of the second section is calculated based on the inner radius of the second section, including the following steps: R2 最大 Subtract R2 最小 The maximum difference in the inner radius of the second section is obtained and denoted as B2.
6. The method for calculating the wall thickness of an oil casing pipe according to claim 5, characterized in that, The minimum wall thickness of the second section after running into the well is calculated based on the difference between the average wall thickness and the minimum wall thickness, and the difference between the maximum inner radius of the first section before running into the well, and the difference between the average wall thickness and the maximum inner radius of the second section after running into the well. The calculation includes the following steps: Compare the maximum inner radius difference of the first cross section and the maximum inner radius difference of the second cross section; If B2 = B1, then T2 最小 =T2 平均 -A1; If B2 > B1, then T2 最小 =T2 平均 -A1-(B2-B1); If B2 < B1, then T2 最小 = T2 平均 -A1 + (B1 - B2); Among them, T2 最小 This is the minimum wall thickness of the second section.
7. A system for calculating the wall thickness of an oil casing pipe, characterized in that, Used to calculate the wall thickness of the casing and tubing after it has been run into the well, including: The first recording unit is used to take any section as the first section and obtain the wall thickness and inner radius of the first section before the oil casing is run into the well; The first calculation unit is used to calculate the average wall thickness, the difference between the average wall thickness and the minimum wall thickness, and the maximum difference between the inner radii of the first cross section based on the wall thickness and inner radius of the first cross section. The second recording unit is used to take any section as the second section and obtain the average wall thickness and inner radius of the second section after the oil casing is run into the well. The second calculation unit is used to calculate the maximum difference in the inner radius of the second section based on the inner radius of the second section; The third calculation unit is used to calculate the minimum wall thickness of the second section after it has been lowered into the well, based on the difference between the average wall thickness and the minimum wall thickness and the maximum inner radius of the first section before it has been lowered into the well, and the difference between the average wall thickness and the maximum inner radius of the second section after it has been lowered into the well.
8. The pipe wall thickness calculation system for an oil casing pipe according to claim 7, characterized in that, The first recording unit includes: The first recording module is used to record the wall thickness and inner radius of each point when taking samples of the casing at the first section before running it into the well. The first acquisition module is used for: The minimum wall thickness of the first section before the casing is run into the well is obtained and denoted as T1. 最小 ; The minimum inner radius of the first section before the casing and tubing are run into the well is obtained and denoted as R1. 最小 ; The maximum inner radius of the first section before the casing and tubing are run into the well is denoted as R1. 最大 .
9. The pipe wall thickness calculation system for an oil casing pipe according to claim 8, characterized in that, The first computing unit includes: The first calculation module is used for: Calculate the average wall thickness at several points along the first cross-section of the oil casing to obtain the average wall thickness of the first cross-section, denoted as T1. 平均 ; Calculate T1 平均 With T1 最小 The difference between the average wall thickness and the minimum wall thickness of the first section is denoted as A1. Calculate R1 最大 With R1 最小 The difference is taken as the maximum inner radius difference of the first section, and is denoted as B1.
10. The pipe wall thickness calculation system for an oil casing pipe according to claim 9, characterized in that, The second recording unit includes: The second recording module is used for: After the casing was run into the well, the average wall thickness T2 of the second section of the casing was obtained by electromagnetic flaw detection. 平均 ; Several points were taken at the second section of the casing using a multi-arm caliper, and the inner radius corresponding to each point was recorded. The second acquisition module is used for: The minimum inner radius of the second section after the casing and tubing are run into the well is obtained and denoted as R2. 最小 ; The maximum inner radius of the second section after the casing and tubing are run into the well is obtained and denoted as R2. 最大 .
11. The pipe wall thickness calculation system for an oil casing pipe according to claim 10, characterized in that, The second computing unit includes: The second calculation module is used to calculate R2. 最大 Subtract R2 最小 The maximum difference in the inner radius of the second section is obtained and denoted as B2.
12. The pipe wall thickness calculation system for an oil casing pipe according to claim 11, characterized in that, The third calculation unit includes a comparison module and a calculation module; The comparison module is used to compare the maximum inner radius difference of the first cross section and the maximum inner radius difference of the second cross section; When B2 = B1, the calculation module is used to calculate T2. 最小 =T2 平均 -A1; When B2 > B1, the calculation module is used to calculate T2. 最小 =T2 平均 -A1-(B2-B1); When B2 < B1, the calculation module is used to calculate T2 最小 = T2 平均 -A1 + (B1 - B2); Among them, T2 最小 This is the minimum wall thickness of the second section.
13. A device, characterized in that, include: Memory, used to store computer programs; A processor, when executing a program stored in a memory, implements the method for calculating the wall thickness of an oil casing as described in any one of claims 1-6.
14. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the method for calculating the wall thickness of an oil casing as described in any one of claims 1-6.