A method for calculating the depth of a tubing leak using annulus pressure relief pressure boost
By performing depressurization and pressurization operations at the annulus wellhead, and using pressure, temperature, and time data to calculate the tubing leakage depth, the problem of complex and costly detection in existing technologies is solved, achieving high-precision leakage point assessment and rate analysis.
Patent Information
- Application Number
- CN202211192102.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-09-28
- Publication Date
- 2026-11-20
- Estimated Expiration
- 2042-09-28
AI Technical Summary
Existing technologies require tools to be lowered into the well when detecting oil pipe leaks, resulting in high detection costs, complex operations, long time and low efficiency. Furthermore, they cannot accurately analyze the leakage rate, and the results calculated directly using the pressure balance principle have large deviations.
By performing depressurization and pressurization operations at the wellhead in the annulus, and using pressure, temperature, and time data, combined with the standard equation of state for gas, the volume of the gas column and leakage rate in the annulus can be calculated, and the depth of the leakage point can be estimated, thus preventing tools from being lowered into the well.
It enables leak detection without entering the well, provides high-accuracy calculation results, assesses leakage rates, narrows the scope of detailed detection, and reduces detection costs.
Smart Images

Figure CN117823141B_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of oil and gas development technology, specifically relating to a method for calculating the depth of oil pipe leakage by utilizing annular pressure depressurization and pressurization. Background Technology
[0002] For high-pressure, high-yield gas wells and gas storage wells, after a period of service, harsh operating conditions, corrosion perforation, or poor tubing joint manufacturing can lead to gas leakage along defects in the tubing, increasing the pressure in the annulus and posing a safety hazard to the wellbore integrity. Conventional downhole leak detection tools, such as temperature gradient detection, leak noise or ultrasonic detection, and neutron radiation detection, can all pinpoint leak locations. However, these methods require lowering the detection tools into the well, resulting in high costs, complex operations, long processing times, low efficiency, and the inability to analyze the leakage rate. Directly calculating the leak depth based on the measured maximum pressure and the principle that leakage ceases after pressure equilibrium between the inside and outside of the tubing generally yields results that are significantly smaller than the actual value, with deviations exceeding 15%. Summary of the Invention
[0003] To address the problems of the prior art, this invention provides a method for calculating the depth of tubing leakage by utilizing annular pressure depressurization and repressurization. This method does not require lowering tools into the well, and can obtain the well depth and leakage rate of the leakage point. Moreover, the calculation results are more accurate than those calculated directly using the pressure balance principle.
[0004] This invention is achieved through the following technical solution: A method for calculating the depth of tubing leakage using annular pressure depressurization and repressurization includes: S1, pressure, temperature and time data for depressurization and pressure, temperature and time data for pressurization are detected at the wellhead of the oil casing annulus. S2, based on the pressure, temperature, and time data obtained from the pressure relief and the standard equation of state for gas, calculates the volume of the gas column inside the annulus of the oil jacket. V q ,according to V q The height of the gas column inside the annulus of the oil jacket is obtained. h q ,according to V q Cross-sectional area of the oil casing annulus 、 The volume of protective fluid inside the annulus of the oil casing is obtained from the packer well depth calculation. V b ; S3 calculates the gas leakage rate using pressure, temperature, and time data obtained from pressurization and the standard equation of state for gas; based on the maximum pressure measured at the wellhead in the annulus during the pressurization process. pmax Calculate the maximum leak depth h max Estimate the depth of gas from the maximum leak point. h max Time to reach the level of the protective fluid in the annulus t i ; S4, based on the moment of the maximum pressure measured at the wellhead in the annulus during the pressurization process, is pushed forward. t i Measured pressure at the wellhead of the oil casing annulus at a given time, and calculated actual leakage point depth. h i ; Calculation based on gas leakage rate t i Volume of gas leaked within a time period V i ; S5, Calculate the depth of the annular protective fluid in the oil jacket. h i Internal volume is V i Calculated pressure at the wellhead of the annulus where the gas reaches the air column of the annulus. p i '; S6, calculate the relative deviation of pressure. r i =( p i '- p max ) / p max ;like r i If it is not within the set allowable range, adjust the time. t i Repeat steps S4-S6; if r i Within the set allowable range, S4 calculates... h i That is, the depth of the target leakage point.
[0005] Preferably, in S1, the time interval for data detection is no more than 30 seconds.
[0006] Preferably, in S2, the volume of the gas column inside the annulus of the oil jacket is... V q The specific calculation formula is as follows:
[0007] This refers to the wellhead temperature of the oil casing annulus during depressurization. The wellhead pressure in the annulus before depressurization. For oil jacket After a certain period of time, the wellhead pressure in the annulus of the oil casing, This refers to the duration of the pressure relief.
[0008] Preferably, in S2, the volume of protective fluid inside the annulus of the oil jacket is... V b The calculation process is as follows: V q Divide by the cross-sectional area of the annulus to obtain the height of the gas column inside the annulus. h q Packer well depth reduction h q The length of the protective fluid in the annulus is obtained. Multiplying this length by the cross-sectional area of the annulus gives the volume of the protective fluid in the annulus. V b .
[0009] Preferably, in S3, the maximum leakage point depth h max The specific calculation formula is as follows:
[0010] The density of the protective fluid inside the annulus of the oil jacket. The density of natural gas under standard conditions. It is the acceleration due to gravity. The cross-sectional area of the oil sleeve annulus is... The temperature at the wellhead of the oil casing annulus corresponds to the maximum measured pressure at the wellhead.
[0011] Preferably, in S3, time t i The specific calculation method is as follows: First set an initial... t i The time of the maximum pressure measured at the wellhead in the annulus during the pressurization process is traced back to the initial... t i Time, calculation and comparison and If the difference between the former and the latter is less than 0.5%, then this is considered acceptable. t i For the goal t i Otherwise, if the former is greater than the latter, then increase. t i The value is repeatedly compared with the former and the latter; if the former is less than the latter, the value is decreased. t i The value is used to repeatedly compare the former and the latter; in, The temperature at the wellhead of the oil-casing-annulus corresponds to the maximum measured pressure at the wellhead. , Push forward respectively t i The corresponding measured pressure and temperature at the wellhead of the oil-casing-annulus at that time. For gas molar mass, =8.31 J / (mol) K); The depth between the level of the protective fluid in the annulus and the maximum leakage point. Divide into n segments, = h max - h q , , These correspond to the pressure and temperature at the bottom of each section. j =1,2,3,…,n.
[0012] Preferably, in S4, the actual leak point depth h i The specific calculation formula is as follows: Will h =0 is the starting point for substitution. gradually increase h until m 3 Time corresponding h That is, the actual leakage depth. h i ; , These are the times when the maximum pressure was measured at the wellhead in the annulus of the oil casing, respectively, and the times when the pressure was pushed forward. t i The corresponding measured pressure and temperature at the wellhead of the oil-casing-annulus at that time. In order to be in The first measured pressure data at the wellhead of the oil casing annulus.
[0013] Preferably, in S5, the calculated value of the wellhead pressure in the annulus of the oil casing is... p i The specific calculation formula for ' is:
[0014] In order to be in The first measured pressure data at the wellhead of the oil casing annulus. To advance from the moment of maximum pressure measured at the wellhead in the annulus of the oil casing t i The measured pressure at the wellhead in the annulus corresponding to the time was... To and The corresponding wellhead temperature of the oil casing annulus. V i for t i The volume of gas leaked within a given time period.
[0015] Preferably, in S6, the set allowable range is ±1%.
[0016] Preferably, in S6, if r i If it is not within the set allowable range, adjust the time. t i Specifically: If p i '> p max ,Will t i Increase, if p i '< p max ,Will t i Shrink.
[0017] Compared with the prior art, the present invention has the following beneficial effects: This invention proposes a method for calculating leak points using pressure relief and repressurization data from the annulus wellhead. This method utilizes process data from pressure relief and repressurization operations at the annulus wellhead, eliminating the need to lower tools into the well, and can obtain the well depth and leakage rate of the leak point. Because this method considers the remaining gas in the annulus protective fluid after tubing leakage stops, and how this gas expands as it migrates from the bottom of the well to the wellhead, further increasing the annulus pressure, the calculation results obtained by this method are more accurate than those calculated directly using the pressure balance principle. Furthermore, it can assess the gas leakage rate under different pressure differences inside and outside the tubing. This method can be used for preliminary assessment of the tubing leak location, determining whether further detailed inspection is needed and the scope of the inspection. If further inspection is required, the scope of detailed inspection is narrowed compared to current methods, reducing the overall cost of tubing leak detection.
[0018] Furthermore, to ensure the accuracy of subsequent calculations, the data detection time interval t should be as small as possible. The preferred time interval of this invention can guarantee the accuracy of subsequent calculations. Attached Figure Description
[0019] Figure 1 This is a flowchart of the method for calculating the depth of oil pipe leakage using annular pressure depressurization and pressure boosting according to the present invention. Detailed Implementation
[0020] To further understand the present invention, the present invention will be described below with reference to embodiments. These descriptions are only for further explaining the features and advantages of the present invention and are not intended to limit the claims of the present invention.
[0021] This invention discloses a method for calculating the depth of tubing leakage using annular pressure depressurization and repressurization, the process of which is as follows: Figure 1 As shown. The specific steps are as follows: 1) For gas storage wells with abnormally high annular pressure, use specialized equipment to monitor pressure, temperature, and time data for depressurization and repressurization at the wellhead. This monitoring should be conducted under stable tubing pressure and temperature conditions, while simultaneously monitoring wellhead pressure, temperature, and time data. To ensure accuracy in subsequent calculations, the data monitoring time interval t should be as small as possible, preferably no more than 30 seconds.
[0022] 2) Based on the pressure, temperature, and time data obtained from the depressurization and the standard equation of state for gases. pV =n RT The calculated volume of the gas column inside the annulus of the oil jacket is: V q , V q Divide by the cross-sectional area of the annulus to obtain the height of the gas column inside the annulus. h q Packer well depth reduction h q The length of the protective fluid in the annulus is obtained, and then the volume of the protective fluid in the annulus is obtained by multiplying the length of the protective fluid in the annulus by the cross-sectional area of the annulus. V b .
[0023] Oil jacket annulus internal gas column volume V q The specific calculation formula is as follows:
[0024] This refers to the wellhead temperature of the oil casing annulus during depressurization. The wellhead pressure in the annulus before depressurization. For oil jacket After a certain period of time, the wellhead pressure in the annulus of the oil casing, This refers to the duration of the pressure relief.
[0025] 3) Using the pressure, temperature and time data obtained from the pressurization, which in this invention are pressure and temperature data obtained every t time, the gas leakage volume within t time (i.e. the increase in gas volume in the annulus of the oil pipe) is calculated using the standard equation of state for gas, thereby obtaining the gas leakage rate from the oil pipe to the annulus.
[0026] 4) Based on the measured maximum pressure at the wellhead in the annulus during the pressurization process, the maximum leakage point depth is calculated using the pressure balance principle. Then, the time it takes for the air bubble to travel from the maximum leakage point depth to the surface of the protective fluid in the annulus is estimated. t i ; Maximum leak depth h max The specific calculation formula is as follows:
[0027] The density of the protective fluid inside the annulus of the oil jacket. The density of natural gas under standard conditions. It is the acceleration due to gravity. The cross-sectional area of the oil sleeve annulus is... The temperature at the wellhead of the oil casing annulus corresponds to the maximum measured pressure at the wellhead.
[0028] time t i The specific calculation method is as follows: First set an initial... t i The time of the maximum pressure measured at the wellhead in the annulus during the pressurization process is traced back to the initial... t i Time, calculation and comparison and If the difference between the former and the latter is less than 0.5%, then this is considered acceptable. t i For the goal t i Otherwise, if the former is greater than the latter, then increase. t i The value is repeatedly compared with the value of the two; if the former is less than the latter, the value is decreased. t i The value is then used to repeatedly compare the two. in, The temperature at the wellhead of the oil-casing-annulus corresponds to the maximum measured pressure at the wellhead. , Push forward respectively t i The corresponding measured pressure and temperature at the wellhead of the oil-casing-annulus at that time. For gas molar mass, =8.31 J / (mol) K); The depth between the level of the protective fluid in the annulus and the maximum leakage point. Divide into n segments, = h max -h q , , These correspond to the pressure and temperature at the bottom of each section. j =1,2,3,…,n.
[0029] 5) Starting from the moment of maximum pressure measured at the wellhead in the annulus, advance backwards... t i Time, assuming this is the actual time when leakage stops, but the gas in the protective fluid continues to rise, causing the measured pressure at the wellhead in the annulus to continue to increase; based on the gas leakage rate obtained in 3), calculate t i Volume of gas leaked within a time period V i The volume of the gas V i This also represents the gas volume within the annular protective fluid when the leak actually stops, assuming a depth of [missing information]. h i-1 Within the area, the gas is distributed in a triangular pattern, meaning the gas level at the leak point is 0, and the gas volume at the protective fluid level is the maximum pressure measured at the wellhead in the annulus of the oil casing pushed forward. t i Time-leaked gas volume V i .
[0030] 6) Based on the measured maximum pressure moment at the wellhead of the oil casing annulus, advance the timeline. t i Based on the measured pressure at the wellhead of the annulus at any given time, and using the principle that leakage will cease once the pressure inside and outside the tubing is balanced, the actual depth of the leakage point is calculated. h i .
[0031] Actual leak depth h i The specific calculation formula is as follows: from h =0 is the starting point for substitution. gradually increase h until m 3 Corresponding h That is, the actual leakage depth. h i ; , These are the times when the maximum pressure was measured at the wellhead in the annulus of the oil casing, respectively, and the times when the pressure was pushed forward. t i The corresponding measured pressure and temperature at the wellhead of the oil-casing-annulus at that time. In order to be in The first measured pressure data at the wellhead of the oil casing annulus.
[0032] 7) Consider the depth of the annular protective fluid in the oil jacket. h i After the internal pressure and temperature gradient, the depth of the annular protective fluid will be adjusted. h i gas volume inside V i Converting to the temperature and pressure conditions within the air column of the annulus, calculate the depth of the protective fluid in the annulus. h i These volumes are V i The final wellhead pressure in the annulus after the gas enters the wellhead gas column. p i '.
[0033] Calculated pressure at the wellhead of the oil casing annulus p i The specific calculation formula for ' is:
[0034] In order to be in The first measured pressure data at the wellhead of the oil casing annulus. To advance from the moment of maximum pressure measured at the wellhead in the annulus of the oil casing t i The measured pressure at the wellhead in the annulus corresponding to the time was... To and The corresponding wellhead temperature of the oil casing annulus. V i for t i The volume of gas leaked within a given time period.
[0035] 8) Calculate the relative deviation of the pressure. r i =( p i '- p max ) / p max , p max This represents the maximum pressure measured at the wellhead in the annulus of the oil casing.
[0036] 9) If the above relative deviation is not within the set allowable range, then adjust the time. t i ,like p i '> p max ,Will ti Increase, if p i '< p max ,Will t i Reduce the time, repeat steps 5) to 8); if it is within the set allowable range, then the time... t i Select the appropriate one, and calculate in step 6). h i It refers to the depth of the target leakage point.
[0037] In this embodiment of the invention, the data detection time interval is 30 seconds. The allowable range for relative deviation is set at ±1%, and this value can be appropriately reduced to improve calculation accuracy.
Claims
1. A method for calculating the depth of tubing leakage using annular pressure depressurization and repressurization, characterized in that, include: S1, pressure, temperature and time data for depressurization and pressure, temperature and time data for pressurization are detected at the wellhead of the oil casing annulus. S2, based on the pressure, temperature, and time data obtained from the pressure relief and the standard equation of state for gas, calculates the volume of the gas column inside the annulus of the oil jacket. V q ,according to V q The height of the gas column inside the annulus of the oil jacket is obtained. h q ,according to V q Cross-sectional area of the oil casing annulus 、 The volume of protective fluid inside the annulus of the oil casing is obtained from the packer well depth calculation. V b ; S3 calculates the gas leakage rate using pressure, temperature, and time data obtained from pressurization and the standard equation of state for gas; based on the maximum pressure measured at the wellhead in the annulus during the pressurization process. p max Calculate the maximum leak depth h max Estimate the depth of gas from the maximum leak point. h max Time to reach the level of the protective fluid in the annulus t i ; S4, based on the moment of the maximum pressure measured at the wellhead in the annulus during the pressurization process, is pushed forward. t i Measured pressure at the wellhead of the oil casing annulus at a given time, and calculated actual leakage point depth. h i ; Calculation based on gas leakage rate t i The volume of gas leaked within a time period V i ; S5, Calculate the depth of the annular protective fluid in the oil jacket. h i Internal volume is V i Calculated pressure at the wellhead of the annulus where the gas reaches the air column of the annulus. p i '; S6, calculate the relative deviation of pressure. r i =( p i '- p max ) / p max ;like r i If it is not within the set allowable range, adjust the time. t i Repeat steps S4-S6; if r i Within the set allowable range, S4 calculates... h i That is, the depth of the target leakage point; In S2, the volume of the gas column inside the annulus of the oil jacket V q The specific calculation formula is as follows: This refers to the wellhead temperature of the oil casing annulus during depressurization. The wellhead pressure in the annulus before depressurization. For oil jacket After a certain period of time, the wellhead pressure in the annulus of the oil casing, This refers to the duration of the pressure relief. In S2, the volume of protective fluid inside the annulus of the oil jacket is... V b The calculation process is as follows: V q Divide by the cross-sectional area of the annulus to obtain the height of the gas column inside the annulus. h q Packer well depth reduction h q The length of the protective fluid in the annulus is obtained. Multiplying this length by the cross-sectional area of the annulus yields the volume of the protective fluid in the annulus. V b ; In S3, the maximum leak point depth h max The specific calculation formula is as follows: The density of the protective fluid inside the annulus of the oil jacket. The density of natural gas under standard conditions. It is the acceleration due to gravity. The cross-sectional area of the oil sleeve annulus is... The temperature at the wellhead of the oil-casing annulus corresponding to the maximum measured pressure at the wellhead. In S3, time t i The specific calculation method is as follows: First set an initial... t i The time of the maximum pressure measured at the wellhead in the annulus during the pressurization process is traced back to the initial... t i Time, calculation and comparison and If the difference between the former and the latter is less than 0.5%, then this is considered acceptable. t i For the goal t i Otherwise, if the former is greater than the latter, then increase. t i The value is repeatedly compared with the former and the latter; if the former is less than the latter, the value is decreased. t i The value is used to repeatedly compare the former and the latter; in, The temperature at the wellhead of the oil-casing-annulus corresponds to the maximum measured pressure at the wellhead. , Push forward respectively t i The corresponding measured pressure and temperature at the wellhead in the annulus at that time. For gas molar mass, =8.31 J / (mol) K); The depth between the level of the protective fluid in the annulus and the maximum leakage point. Divide into n segments, = h max - h q , , These correspond to the pressure and temperature at the bottom of each section. j =1,2,3,…,n; In S4, the actual depth of the leak point h i The specific calculation formula is as follows: Will h =0 is the starting point for substitution. gradually increase h until m 3 Time corresponding h That is, the actual leakage depth. h i ; , These are the times when the maximum pressure was measured at the wellhead in the annulus of the oil casing, respectively, and the times when the pressure was pushed forward. t i The corresponding measured pressure and temperature at the wellhead of the oil-casing-annulus at that time. In order to be in The first measured pressure data at the wellhead of the oil-casing annulus was subsequently obtained; In S5, the calculated pressure at the wellhead of the oil casing annulus is... p i The specific calculation formula for ' is: In order to be in The first measured pressure data at the wellhead of the oil casing annulus. To advance from the moment of maximum pressure measured at the wellhead in the annulus of the oil casing t i The measured pressure at the wellhead in the annulus corresponding to the time was... To and The corresponding wellhead temperature of the oil casing annulus. V i for t i The volume of gas leaked within a given time period.
2. The method for calculating the depth of tubing leakage using annular pressure depressurization and repressurization according to claim 1, characterized in that, In S1, the time interval for data detection is no more than 30 seconds.
3. The method for calculating the depth of tubing leakage using annular pressure depressurization and repressurization according to claim 1, characterized in that, In S6, the set allowable range is ±1%.
4. The method for calculating the depth of tubing leakage using annular pressure depressurization and repressurization according to claim 1, characterized in that, In S6, if r i If it is not within the set allowable range, adjust the time. t i Specifically: If p i '> p max ,Will t i Increase, if p i '< p max ,Will t i Shrink.
Citation Information
Patent Citations
Method and device for determining leakage rate of oil casing annulus of gas well
CN103745103A
Method and device for obtaining volume leakage speed under standard condition of gas well
CN104131811A
