A method for calculating the production splitting coefficient of fixed-production gas wells based on recursion and iteration

Calculating the yield split coefficient of gas wells through recursive and iterative methods, the problem of difficulty in calculating the yield split coefficient in the development of multi-layer integrated gas wells is solved, which improves the accuracy and scientificity of the calculation and reduces costs.

CN114611307BActive Publication Date: 2024-11-22SHAANXI YANCHANG PETROLEUM GRP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210264971.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-03-17
Publication Date
2024-11-22
Estimated Expiration
2042-03-17

AI Technical Summary

Technical Problem

The prior art is difficult to accurately calculate the yield split coefficient of multi-layer integrated gas wells, resulting in unscientific gas well development strategies, high costs or poor accuracy.

Method used

Using a recursive and iterative method, the production capacity equation and material equilibrium equation of the gas reservoir are developed by assuming the initial output split coefficient and control radius with a fixed-capacity closed elastic drive failure method, and the output split coefficient is gradually adjusted and calculated until the error is reached. Require.

Benefits of technology

A reliable method is provided to analyze the production dynamic characteristics and residual gas distribution rules of multi-layer coal mining gas wells, reducing calculation costs and improving accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114611307B_ABST
    Figure CN114611307B_ABST
Patent Text Reader

Abstract

The present invention relates to a method for calculating the production splitting coefficient of a fixed-production gas well based on recursion and iteration. For any production layer of a multi-layer commingled production gas well with fixed production, an initial value of the production splitting coefficient of any production layer is assumed, and the value range is [0,1]; an initial value of the control radius of any production layer is assumed, and the value range is [100,2000]; the average formation pressure, controlled reserves, control radius and calculated value of the production splitting coefficient of any production layer are obtained in sequence; the relationship between the calculated value of the production splitting coefficient and the initial value of the production splitting coefficient is judged, and if the absolute value of the relative error between the calculated value of the production splitting coefficient and the initial value of the production splitting coefficient is ≤1%, the initial value of the production splitting coefficient is used as the production splitting coefficient of the target production layer. The present invention establishes a method for calculating the production splitting coefficient of a fixed-production gas well based on recursion and iteration, which provides a reliable method for analyzing the production dynamic characteristics and residual gas distribution law of a multi-layer commingled production gas well, and is of great significance to gas field development.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of oil and gas field development, and in particular to a method for calculating the production splitting coefficient of a fixed-production gas well based on recursion and iteration. Background Art

[0002] For multi-layer commingled gas wells, the differences in reservoir physical properties, formation pressure and controlled reserves lead to large differences in gas production patterns in different production layers. The production split coefficient refers to the ratio of the gas production of a single layer to the total gas production of the gas well. Through the production split coefficient, the degree of production of each layer can be determined, the distribution of the remaining gas in the gas well can be evaluated, and the corresponding development technology policy can be formulated. It is the cornerstone of the dynamic analysis of gas well production.

[0003] At present, the methods for determining the production splitting coefficient mainly include gas production profile test, physical model experiment, static parameter method and numerical simulation. Among them, the cost of gas production profile test and physical model experiment is relatively high. Due to the low efficiency of single tight gas wells, the application of gas production profile test and physical model experiment is greatly restricted; the static parameter method determines the production splitting coefficient through the physical parameters of the production layer, which is simple to operate but has poor accuracy; the accuracy of the numerical simulation method depends on the accuracy of the three-dimensional geological model. The difficulty and multi-solution of the establishment of a high-precision three-dimensional geological model restrict the promotion and application of the numerical simulation method. How to establish a reasonable calculation method for the production splitting coefficient based on the production dynamic data of the gas well is crucial for the scientific development of multi-layer commingled gas wells. Summary of the invention

[0004] The present invention aims to solve the above problems and proposes a method for calculating the production splitting coefficient of a fixed-production gas well based on recursion and iteration.

[0005] The technical solution of the present invention is:

[0006] A method for calculating the production splitting coefficient of a fixed-production gas well based on recursion and iteration is provided for any production layer of a multi-layer commingled production gas well with fixed production. The method is as follows:

[0007] Assume that the initial value of the production splitting coefficient of any production layer is in the range of [0,1];

[0008] Assume that the initial value of the control radius of any production layer is in the range of [100,2000];

[0009] The average formation pressure, controlled reserves, controlled radius and production splitting coefficient of any production layer are obtained in turn;

[0010] If the absolute value of the relative error between the calculated value of the production splitting coefficient and the initial value of the production splitting coefficient is ≤1%, the initial value of the production splitting coefficient is used as the production splitting coefficient of the target production layer.

[0011] For a multi-layer combined production gas well with fixed production rate, the sum of the production splitting coefficients of all production layers is 1.

[0012] The specific process of assuming the initial value of the production splitting coefficient and the initial value of the control radius of any production layer is as follows: assuming the initial value of the production splitting coefficient of any production layer◇ j 0 , satisfying 0≤◇ j 0 ≤1;

[0013] For a multi-layer commingled production gas well with a fixed production rate, assuming that the number of commingled production layers is n, the production splitting coefficient of any production layer is:

[0014]

[0015] Where: j is the production splitting coefficient of the jth layer, 0≤◇ j ≤1, and satisfy

[0016] j is the number of any production layer, 1≤j≤n;

[0017] q scj is the gas production of the gas well in the jth layer under the standard surface conditions, m 3 / d;

[0018] q sc is the gas production of the gas well under standard ground conditions, m 3 / d;

[0019] Assume that the initial value of the control radius is r ej 0 The value range is [100,2000].

[0020] The specific process of obtaining the average formation pressure of any production layer is as follows:

[0021] Substituting formula (1) into the productivity equation of constant volume closed elastic drive depletion gas reservoir development, the average formation pressure of any production layer is obtained as:

[0022]

[0023] Where: is the average formation pressure of the jth layer at time t, MPa;

[0024] p wfj (t) is the bottom hole pressure of the jth layer at time t, and p wfj (t)≥p cp , MPa;

[0025] p cpis the critical pressure, MPa;

[0026] μ is the gas viscosity, mPa·s;

[0027] Z is the deviation coefficient corresponding to p;

[0028] p is the experimental pressure, MPa;

[0029] In p wfj (t)≥p cp is approximately a constant when;

[0030] p sc is the natural gas pressure under standard ground conditions, which is 0.101MPa;

[0031] π is the ratio of a circle to a circle;

[0032] T sc is the natural gas temperature under standard ground conditions, which is 293.15K;

[0033] Z sc For p sc The corresponding coefficient of deviation;

[0034] T j is the temperature of the production layer of the jth layer, K;

[0035] q sc is the gas production of the gas well under standard ground conditions, m 3 / d;

[0036] K j is the effective permeability of the jth layer, 10 -3 μm 2 ;

[0037] h j is the thickness of the j-th pay zone, m;

[0038] r ej is the control radius of the gas well in the jth layer, m;

[0039] r w is the wellbore radius, m;

[0040] S Δp is the skin coefficient converted from pressure difference, S Δp =-1.

[0041] The specific process of obtaining the controlled reserves of any production layer is as follows:

[0042]

[0043] Where: G jis the controlled reserves of the jth layer of the gas well under the standard ground conditions, m 3 ;

[0044] φ j is the porosity of the j-th production layer;

[0045] S gij is the original gas saturation of the jth layer;

[0046] p ij is the original formation pressure of the jth layer, MPa;

[0047] Z ij For p ij The corresponding coefficient of deviation.

[0048] The specific process of obtaining the control radius of any production layer is as follows:

[0049] According to the material balance equation of constant volume closed elastic drive depletion gas reservoir development, the material balance equation of any production layer is obtained as follows:

[0050]

[0051] Where: is the average formation pressure of the jth layer at time t, MPa;

[0052] Z rj (t) is The corresponding coefficient of deviation;

[0053] G pj (t) is the cumulative natural gas production of the gas well at the jth layer at time t under the standard ground conditions, m 3 ;

[0054] Substituting formula (1) and formula (3) into formula (4), the control radius of any production layer is obtained as:

[0055]

[0056] Where: G p (t) is the cumulative natural gas production under standard ground conditions, m 3 .

[0057] The specific process of obtaining the calculated value of the yield splitting coefficient is as follows:

[0058] By analyzing the experimental data of fluid properties, the relationship between p and Z is obtained as follows:

[0059] p / Z=ap+b (6)

[0060] Where: p is the experimental pressure, MPa;

[0061] Z is the deviation coefficient corresponding to p;

[0062] a is the slope of the p / Z~p curve;

[0063] b is the intercept;

[0064] According to formula (4), the material balance equation of any production layer at adjacent times is derived as follows:

[0065]

[0066] Where: is the average formation pressure of the jth layer at time t+1, MPa;

[0067] Z rj (t+1) is The corresponding coefficient of deviation;

[0068] G pj (t+1) is the cumulative natural gas production of the jth layer at t+1 under the standard ground conditions, m 3 ;

[0069] Substituting formula (1) and formula (6) into formula (7), the calculation formula of the yield splitting coefficient is derived:

[0070]

[0071] A method for calculating the production splitting coefficient of a fixed-production gas well based on recursion and iteration is as follows:

[0072] Step 1: Data Preparation

[0073] Step 2: Initial Value Assumptions

[0074] Step 3: Determine the recursive initial value of the production splitting coefficient◇ j rBegin(m)

[0075] When m=0, the recursive initial value of the production splitting coefficient◇ j rBegin(0) = Initial value of production split coefficient◇ j 0 ;

[0076] When m>0,

[0077] If the recursive initial value of the production splitting coefficient for the m-1th time is ◇ j rBegin(m-1) >The recursive final value of the m-1th production split coefficient◇ j rEnd(m-1) , the initial value of the recursive production splitting coefficient for the mth time◇ j rBegin(m)= The initial value of the recursive production splitting coefficient after the increase of the m-1th time◇ j rBegin(m-1) , the increase range is between (0,1-◇ j rBegin(m-1) );

[0078] If the recursive initial value of the production splitting coefficient for the m-1th time is ◇ j rBegin(m-1) <The recursive final value of the m-1th production split coefficient◇ j rEnd(m-1) , the initial value of the recursive production splitting coefficient for the mth time◇ j rBegin(m) = The initial value of the recursive production splitting coefficient after the reduction of the m-1th time◇ j rBegin(m-1) , the reduction range is between (0,◇ j rBegin(m) );

[0079] Step 4: Determine the initial value r of the control radius iteration ej iBegin(n)

[0080] When n = 0, the initial value of the control radius iteration r ej iBegin(0) = initial value of control radius r ej 0 ;

[0081] When n>0, the initial value r of the nth control radius iteration ej iBegin(n) Equal to the final value r of the n-1th control radius iteration ej iEnd(n-1) ;

[0082] Step 5: Iterative calculation

[0083] (1) Recursively set the output splitting coefficient to its initial value◇ j rBegin(m) , control radius iteration initial value r ej iBegin(n) Substitute into formula (2) and calculate the average formation pressure

[0084] (2) Average formation pressure Substituting into formula (5), the final value of the control radius iteration r is calculated. ej iEnd(n) ;

[0085] (3) Calculate the absolute value of the iterative relative error |r ej iEnd(n) -r ej iBegin(n) | / r ejiEnd(n) :

[0086] If the absolute value of the iterative relative error |r ej iEnd(n) -r ej iBegin(n) | / r ej iEnd(n) ≤0.1%, it is considered that the final value of the control radius iteration r ej iEnd(n) Effective, let the control radius r ej Equal to the final value of the control radius iteration r ej iEnd(n) , proceed to step 6;

[0087] If the absolute value of the iterative relative error |r ej iEnd(n) -r ej iBegin(n) | / r ej iEnd(n) >0.1%, it is considered that the final value of the control radius iteration r ej iEnd(n) Invalid, the final value r of the nth control radius iteration ej iEnd(n) As the initial value r of the n+1th control radius iteration ej iBegin(n+1) , repeat the iteration until the absolute value of the iterative relative error |r ej iEnd(n) -r ej iBegin(n) | / r ej iEnd(n) ≤0.1%, then proceed to step 6;

[0088] Step 6: Recursive calculation

[0089] (1) The control radius r obtained in step 6 ej Substituting into formula (3), we get the controlled reserve G j ;

[0090] (2) Control the reserves G j Substitute into formula (8) to obtain the calculated value of the yield splitting coefficient, which is used as the recursive final value of the yield splitting coefficient◇ j rEnd(m) ;

[0091] (3) Calculate the absolute value of the recursive relative error |◇ j rEnd(m) -◇ j rBegin(m) | / ◇ j rEnd(m) :

[0092] If the absolute value of the recursive relative error |◇ j rEnd(m) -◇ j rBegin(m) | / ◇ j rEnd(m) ≤1%, the recursive initial value of the production splitting coefficient is considered j rBegin(m) Valid, proceed to step 7;

[0093] If the absolute value of the recursive relative error |◇ j rEnd(m) -◇ j rBegin(m) | / ◇ j rEnd(m) >1%, the recursive initial value of the production splitting coefficient is considered ◇ j rBegin(m) Invalid, proceed to the next step;

[0094] (4) Determine the recursive initial value of the production splitting coefficient◇ j rBegin(m) Recursive final value with output split coefficient◇ j rEnd(m) Size:

[0095] If◇ j rBegin(m) >◇ j rEnd(m) , increase the initial value of the recursive splitting coefficient of the mth production◇ j rBegin(m) And use it as the initial value of the recursive production splitting coefficient for the m+1th time◇ j rBegin(m+1) , the increase range is between (0,1-◇ j rBegin(m) );

[0096] If◇ j rBegin(m) <◇ j rEnd(m) , reduce the initial value of the recursive splitting coefficient of the mth output◇ j rBegin(m) And use it as the initial value of the recursive production splitting coefficient for the m+1th time◇ j rBegin(m+1) , the reduction range is between (0,◇ j rBegin(m) );

[0097] Repeat steps 3 to 6 until the output splitting coefficient reaches the initial value of recursion◇ j rBegin(m) Valid, proceed to step 7;

[0098] Step 7: Determine the yield split coefficient

[0099] Production split coefficient◇ j = the initial value of the production splitting coefficient recursion in the last recursion of step 6;

[0100] When m = 0 recursive calculations are performed, ◇ j =Recursive initial value of the production splitting coefficient for the 0th time◇ j rBegin(0) ;

[0101] When m>0 recursive calculations are performed,◇ j = The initial value of the recursive production splitting coefficient for the mth time◇ j rBegin(m) .

[0102] The technical effects of the present invention are:

[0103] The present invention is based on the production capacity equation, the volumetric reserve calculation formula and the material balance equation, and takes into account the changing laws of fluid physical properties. A production splitting coefficient calculation method for fixed-production gas wells based on recursion and iteration is established. This method provides a reliable method for analyzing the production dynamic characteristics and residual gas distribution laws of multi-layer combined production gas wells, which is of great significance for gas field development. BRIEF DESCRIPTION OF THE DRAWINGS

[0104] Figure 1 The present invention is a flowchart of a method for calculating the production splitting coefficient of a fixed-production gas well based on recursion and iteration. DETAILED DESCRIPTION

[0105] A method for calculating the production splitting coefficient of a fixed-production gas well based on recursion and iteration is as follows.

[0106] Step 1: Data preparation Basic data: number of production layers n, production layer temperature T j , effective permeability K j , pay zone thickness h j , wellbore radius r w , production layer porosity φ j , original gas saturation S gij , original formation pressure p ij , coefficient of deviation Z ij ;

[0107] Fluid physical property experimental data: μZ / p~p curve is made based on the experimental data, and the original formation pressure p ij Starting from the corresponding data point, draw a line parallel to the straight line in the direction of decreasing experimental pressure p and pass through as many data points as possible. The last data point passed is the critical pressure p cp , according to the critical pressure p cp To the original formation pressure p ij The average value of μZ / p between Draw a p / Z~p curve, with the original formation pressure p ij The corresponding data point is taken as the starting point, and a linear equation is used for fitting in the direction in which the experimental pressure p decreases. The slope of the linear equation is a.

[0108] Step 2: Initial Value Assumptions

[0109] Assuming the initial value of the production split coefficient◇ j 0 , satisfying 0≤◇ j 0 ≤1;

[0110] Assume that the initial value of the control radius is r ej 0 , r ej 0 The value range is [100,2000].

[0111] Step 3: Determine the recursive initial value of the production splitting coefficient◇ j rBegin(m)

[0112] When m=0, the recursive initial value of the production splitting coefficient◇ j rBegin(0) = Initial value of production split coefficient◇ j 0 ;

[0113] When m>0,

[0114] If the recursive initial value of the production splitting coefficient for the m-1th time is ◇ j rBegin(m-1) >The recursive final value of the m-1th production split coefficient◇ j rEnd(m-1) , the initial value of the recursive production splitting coefficient for the mth time◇ j rBegin(m) = The initial value of the recursive production splitting coefficient after the increase of the m-1th time◇ j rBegin(m-1) , the increase range is between (0,1-◇ j rBegin(m-1) );

[0115] If the recursive initial value of the production splitting coefficient for the m-1th time is ◇ j rBegin(m-1) <The recursive final value of the m-1th production split coefficient◇ j rEnd(m-1) , the initial value of the recursive production splitting coefficient for the mth time◇ j rBegin(m) = The initial value of the recursive production splitting coefficient after the reduction of the m-1th time◇ j rBegin(m-1) , the reduction range is between (0,◇ jrBegin(m) ).

[0116] Step 4: Determine the initial value r of the control radius iteration ej iBegin(n)

[0117] When n = 0, the initial value of the control radius iteration r ej iBegin(0) = initial value of control radius r ej 0 ;

[0118] When n>0, the initial value r of the nth control radius iteration ej iBegin(n) Equal to the final value r of the n-1th control radius iteration ej iEnd(n-1) .

[0119] Step 5: Iterative calculation

[0120] (1) Recursively set the output splitting coefficient to its initial value◇ j rBegin(m) , control radius iteration initial value r ej iBegin(n) Substitute into formula (2) and calculate the average formation pressure

[0121] (2) Average formation pressure Substituting into formula (5), the final value of the control radius iteration r is calculated. ej iEnd(n) ;

[0122] (3) Calculate the absolute value of the iterative relative error |r ej iEnd(n) -r ej iBegin(n) | / r ej iEnd(n) :

[0123] If the absolute value of the iterative relative error |r ej iEnd(n) -r ej iBegin(n) | / r ej iEnd(n) ≤0.1%, it is considered that the final value of the control radius iteration r ej iEnd(n) Effective, let the control radius r ej Equal to the final value of the control radius iteration r ej iEnd(n) , proceed to step 6;

[0124] If the absolute value of the iterative relative error |r ej iEnd(n) -r ejiBegin(n) | / r ej iEnd(n) >0.1%, it is considered that the final value of the control radius iteration r ej iEnd(n) Invalid, the final value r of the nth control radius iteration ej iEnd(n) As the initial value r of the n+1th control radius iteration ej iBegin(n+1) , repeat the iteration until the absolute value of the iterative relative error |r ej iEnd(n) -r ej iBegin(n) | / r ej iEnd(n) ≤0.1%, then proceed to step 6.

[0125] Step 6: Recursive calculation

[0126] (1) The control radius r obtained in step 6 ej Substituting into formula (3), we get the controlled reserve G j ;

[0127] (2) Control the reserves G j Substitute into formula (8) to obtain the calculated value of the yield splitting coefficient, which is used as the recursive final value of the yield splitting coefficient◇ j rEnd(m) ;

[0128] (3) Calculate the absolute value of the recursive relative error |◇ j rEnd(m) -◇ j rBegin(m) | / ◇ j rEnd(m) :

[0129] If the absolute value of the recursive relative error |◇ j rEnd(m) -◇ j rBegin(m) | / ◇ j rEnd(m) ≤1%, the recursive initial value of the production splitting coefficient is considered j rBegin(m) Valid, proceed to step 7;

[0130] If the absolute value of the recursive relative error |◇ j rEnd(m) -◇ j rBegin(m) | / ◇ j rEnd(m) >1%, the recursive initial value of the production splitting coefficient is considered ◇ j rBegin(m) Invalid, proceed to the next step;

[0131] (4) Determine the recursive initial value of the production splitting coefficient◇ j rBegin(m) Recursive final value with output split coefficient◇ j rEnd(m) Size:

[0132] If◇ j rBegin(m) >◇ j rEnd(m) , increase the initial value of the recursive splitting coefficient of the mth production◇ j rBegin(m) And use it as the initial value of the recursive production splitting coefficient for the m+1th time◇ j rBegin(m+1) , the increase range is between (0, 1-◇ j rBegin(m) );

[0133] Repeat steps 3 to 6 until the output splitting coefficient reaches the initial value of recursion◇ j rBegin(m) Valid, proceed to step 7;

[0134] If◇ j rBegin(m) <◇ j rEnd(m) , reduce the initial value of the recursive splitting coefficient of the mth output◇ j rBegin(m) And use it as the initial value of the recursive production splitting coefficient for the m+1th time◇ j rBegin(m+1) , the reduction range is between (0,◇ j rBegin(m) );

[0135] Repeat steps 3 to 6 until the output splitting coefficient reaches the initial value of recursion◇ j rBegin(m) Valid, proceed to step 7.

[0136] Step 7: Determine the yield split coefficient

[0137] Production split coefficient◇ j = the initial value of the production splitting coefficient recursion in the last recursion of step 6;

[0138] When m = 0 recursive calculations are performed, ◇ j =Recursive initial value of the production splitting coefficient for the 0th time◇ j rBegin(0) ;

[0139] When m>0 recursive calculations are performed,◇ j = The initial value of the recursive production splitting coefficient for the mth time◇ j rBegin(m) .

[0140] Specific experimental examples

[0141] Well S is a fixed-production tight gas well with two layers of combined production. The data is complete and the calculation results of the present invention can be verified. The present invention is used to calculate the production splitting coefficient of each layer. Static data show that the reservoir properties of the second layer are better than those of the first layer, so the second layer can be selected for calculation.

[0142] Step 1: Data Preparation

[0143] The relevant calculation data of the production layer 2 of Well S are obtained as follows:

[0144]

[0145] Step 2: Initial Value Assumptions

[0146] Assuming the initial value of the production split coefficient◇ j 0 50%;

[0147] Assume that the initial value of the control radius is r ej 0 is 500.

[0148] Step 3: Determine the recursive initial value of the production splitting coefficient◇ j rBegin(m)

[0149] When m=0, the recursive initial value of the production splitting coefficient◇ j rBegin(0) = Initial value of production split coefficient◇ j 0 =50%.

[0150] Step 4: Determine the initial value r of the control radius iteration ej iBegin(n)

[0151] When n = 0, the initial value of the control radius iteration r ej iBegin(0) = initial value of control radius r ej 0 =500.

[0152] Step 5: Iterative calculation

[0153] (1) Recursively set the output splitting coefficient to its initial value◇ j rBegin(m) , control radius iteration initial value r ej iBegin(n) Substitute into formula (2) and calculate the average formation pressure When n=0,

[0154] (2) Average formation pressure Substituting into formula (5), the final value of the control radius iteration r is calculated. ej iEnd(n) :When n=0, r ej iEnd(0) =333.86;

[0155] (3) Calculate the absolute value of the iterative relative error |r ej iEnd(n) -r ej iBegin(n) | / r ej iEnd(n) :

[0156] ①When n=0:|r ej iEnd(0) -r ej iBegin(0) | / r ej iEnd(0) =48.43%>0.1%, it is considered that the final value of the control radius iteration r ej iEnd(0) =333.86 is invalid, r ej iEnd(0) =333.86 as the initial value of the control radius iteration when n=1 ej iBegin (1) , repeat the iteration;

[0157] ②When n=1: control radius iteration initial value r ej iBegin(1) =333.86, final value of control radius iteration r ej iEnd(1) =326.15, absolute value of iterative relative error |r ej iEnd(1) -r ej iBegin(1) | / r ej iEnd(1) =2.36%>0.1%, it is considered that the final value of the control radius iteration r ej iEnd(1) =326.15 is invalid, r ej iEnd(1) =326.15 as the initial value of the control radius iteration when n=2 ej iBegin(2) , repeat the iteration;

[0158] ③When n=2: control radius iteration initial value r ej iBegin(2) =326.15, final value of control radius iteration r ej iEnd(2) =325.56, absolute value of iterative relative error |rej iEnd(2) -r ej iBegin(2) | / r ej iEnd(2) =0.18%>0.1%, it is considered that the final value of the control radius iteration r ej iEnd(2) =325.56 is invalid, change r ej iEnd(2) =325.56 as the initial value of the control radius iteration when n=3 ej iBegin(3) , repeat the iteration;

[0159] ④When n=3: control radius iteration initial value r ej iBegin(3) =325.56, final value of control radius iteration r ej iEnd(3) =325.52, absolute value of iterative relative error |r ej iEnd(3) -r ej iBegin(3) | / r ej iEnd(3) =0.01%<0.1%, it is considered that the final value of the control radius iteration r ej iEnd(3) =325.52 is valid, and the iteration ends;

[0160] (4) When m = 0 and n = 3, the control radius r is obtained ej = Control radius iteration final value r ej iEnd(3) =325.52, and proceed to step 6 based on this.

[0161] Step 6: Recursive calculation - at m = 0, recursive initial value of production splitting coefficient◇ j rBegin(0) =50%, control radius r ej =325.52

[0162] (1) According to formula (3), the controlled reserve G is calculated j =0.2581×10 8 m 3 ;

[0163] (2) Calculate the recursive final value of the production splitting coefficient according to formula (8): j rEnd(0) =38.65%;

[0164] (3) Calculate the absolute value of the recursive relative error |◇ j rEnd(0) -◇ jrBegin(0) | / ◇ j rEnd(0) =11.35%>1%, does not meet the requirements;

[0165] (4) Determine the recursive initial value of the production splitting coefficient◇ j rBegin(m) Recursive final value with output split coefficient◇ j rEnd(m) Size:

[0166] At this time, the recursive initial value of the production split coefficient ◇ j rBegin(0) =50%>recursive final value of production split coefficient◇ j rEnd(0) =38.65%, then the production split coefficient is recursively reset to the initial value◇ j rBegin(0) Increase from 50% to 55%, and take 55% as the recursive initial value of the production splitting coefficient when m=1◇ j rBegin(1) ;

[0167] (5) Repeat steps 3 to 6 with m=1.

[0168] When m=1

[0169] Step 3: Get the recursive initial value of the production splitting coefficient◇ j rBegin(1) =55%;

[0170] Step 4: When n = 0, control the initial value r of the radius iteration ej iBegin(0) = initial value of control radius r ej 0 =500;

[0171] Step 5: Perform iterative calculations in the same way as above. The final values ​​of the control radius iteration obtained when n = 0, n = 1, and n = 2 are invalid. When n = 3, the initial value of the control radius iteration r ej iBegin(3) =363.29, the final value of the control radius iteration r is obtained ej iEnd (3) =363.19, absolute value of iterative relative error |r ej iEnd(3) -r ej iBegin(3) | / r ej iEnd(3) =0.03%<0.1%, control radius iteration final value r ej iEnd(3) =363.19 valid;

[0172] When m=1 and n=3, the control radius r is obtained. ej = Control radius iteration final value r ej iEnd(3) =363.19, proceed to step 6;

[0173] Step 6: Recursive calculation - when m = 1, the initial value of the output splitting coefficient is recursive. j rBegin(1) =55%, control radius r ej =363.19

[0174] (1) According to formula (3), the controlled reserve G is calculated j =0.3212×10 8 m 3 ;

[0175] (2) Calculate the recursive final value of the production splitting coefficient according to formula (8): j rEnd(1) =48.12%;

[0176] (3) Calculate the absolute value of the recursive relative error |◇ j rEnd(1) -◇ j rBegin(1) | / ◇ j rEnd(1) =6.88%>1%, does not meet the requirements;

[0177] (4) Determine the recursive initial value of the production splitting coefficient◇ j rBegin(m) Recursive final value with output split coefficient◇ j rEnd(m) Size:

[0178] At this time, the recursive initial value of the production split coefficient ◇ j rBegin(1) =55%>Recursive final value of production split coefficient◇ j rEnd(1) =48.12%, then ◇ j rBegin(1) Continue to increase to 70.0%, and take 70.0% as the recursive initial value of the production splitting coefficient when m=2◇ j rBegin(2) ;

[0179] (5) Repeat steps 3 to 6 with m=2.

[0180] When m=2

[0181] Step 3: Get the recursive initial value of the production splitting coefficient◇ j rBegin(2) =70.0%;

[0182] Step 4: When n = 0, control the initial value r of the radius iteration ej iBegin(0) = initial value of control radius r ej 0 =500;

[0183] Step 5: Perform iterative calculations in the same way as above. The final values ​​of the control radius iteration obtained when n = 0, n = 1, and n = 2 are invalid. When n = 3, the initial value of the control radius iteration r ej iBegin(3) =545.73, the final value of the control radius iteration r is obtained ej iEnd (3) =546.11, absolute value of iterative relative error |r ej iEnd(3) -r ej iBegin(3) | / r ej iEnd(3) =0.07%<0.1%, control radius iteration final value r ej iEnd(3) =546.11 valid;

[0184] When m=2 and n=3, the control radius r is obtained. ej = Control radius iteration final value r ej iEnd(3) =546.11, proceed to step 6;

[0185] Step 6: Recursive calculation - when m = 2, the initial value of the output splitting coefficient is recursive. j rBegin(2) =70.0%, control radius r ej =546.11

[0186] (1) According to formula (3), the controlled reserve G is calculated j =0.7263×10 8 m 3 ;

[0187] (2) Calculate the recursive final value of the production splitting coefficient according to formula (8): j rEnd(2) =108.79%;

[0188] (3) Calculate the absolute value of the recursive relative error |◇ j rEnd(2) -◇ j rBegin(2) | / ◇ j rEnd(2) =38.79%>1%, does not meet the requirements;

[0189] (4) Determine the recursive initial value of the production splitting coefficient◇ j rBegin(m) Recursive final value with output split coefficient◇ j rEnd(m) Size:

[0190] At this time, the recursive initial value of the production split coefficient ◇ j rBegin(2) =70.0%<recursive final value of production split coefficient◇ j rEnd(2) =108.79%, then ◇ j rBegin(2) Reduced to 60.0%, 60.0% is used as the recursive initial value of the production splitting coefficient when m=3◇ j rBegin(3) ;

[0191] (5) Repeat steps 3 to 6 with m=3.

[0192] When m=3

[0193] Step 3: Get the recursive initial value of the production splitting coefficient◇ j rBegin(3) =60.0%;

[0194] Step 4: When n = 0, control the initial value r of the radius iteration ej iBegin(0) = initial value of control radius r ej 0 =500;

[0195] Step 5: Perform iterative calculations in the same way as above. The final values ​​of the control radius iterations obtained when n = 0, n = 1, n = 2, and n = 3 are invalid. When n = 4, the initial value of the control radius iteration r ej iBegin(4) =408.43, the final value of the control radius iteration r is obtained ej iEnd(4) =408.36, absolute value of iterative relative error |r ej iEnd(4) -r ej iBegin(4) | / r ej iEnd(4) =0.02%<0.1%, control radius iteration final value r ej iEnd(4) =408.36 valid;

[0196] When m=3 and n=4, the control radius r is obtained. ej = Control radius iteration final value r ej iEnd(4) =408.36, proceed to step 6;

[0197] Step 6: Recursive calculation - when m = 3, the initial value of the output splitting coefficient is recursive. j rBegin(3) =60.0%, control radius r ej =408.36

[0198] (1) According to formula (3), the controlled reserve G is calculated j =0.4061×10 8 m 3 ;

[0199] (2) Calculate the recursive final value of the production splitting coefficient according to formula (8): j rEnd(3) =60.83%;

[0200] (3) Calculate the absolute value of the recursive relative error |◇ j rEnd(2) -◇ j rBegin(2) | / ◇ j rEnd(2) =0.83%<1%, meets the requirement, proceed to step 7.

[0201] Step 7: Determine the production split coefficient. Since m = 3 in the last recursion, the production split coefficient is j = Initial value of the production splitting coefficient recursion at the last recursion◇ j rBegin(3) =60.0%, i.e. the production splitting coefficient of the second layer of Well S◇ j =60.0%; according to The yield splitting coefficient of the first layer is ◇1=40.0%.

[0202] Comparison with the measured results: A gas production profile test was conducted on Well S, and the production splitting coefficients of each layer were measured, wherein the production splitting coefficient of production layer 1 was 59.85%, and the production splitting coefficient of production layer 2 was 40.15%; by comparing the measured value of the gas production profile with the calculation result of the present invention, the absolute value of the relative error of production layer 2 was 0.25%, and the absolute value of the relative error of production layer 1 was 0.37%. The comparison results show that the calculation results of the present invention are reliable.

Claims

1. A method for calculating the production splitting coefficient of a fixed-production gas well based on recursion and iteration, Features: For any production layer of a multi-layer commingled gas well with fixed production rate, the method is as follows: Step 1: Data Preparation: Basic data: number of producing layers n, producing layer temperature T j , effective permeability K j , pay zone thickness h j , wellbore radius r w , production layer porosity φ j , original gas saturation S gij , original formation pressure p ij , coefficient of deviation Z ij ; Fluid physical property experimental data: μZ / p~p curve is made based on the experimental data, and the original formation pressure p ij Starting from the corresponding data point, draw a parallel straight line in the direction of decreasing experimental pressure p and pass through as many data points as possible. The data point passed last is the critical pressure p cp , according to the critical pressure p cp To the original formation pressure p ij The average value of μZ / p between Draw a p / Z~p curve, with the original formation pressure p ij The corresponding data point is taken as the starting point, and the linear equation is used for fitting in the direction of decreasing experimental pressure p. The slope of the linear equation is a; Step 2: Initial value assumptions: Assuming the initial value of the production split coefficient◇ j 0 , satisfying 0≤◇ j 0 ≤1; Assume that the initial value of the control radius is r ej 0 , r ej 0 The value range is [100,2000]; Step 3: Determine the recursive initial value of the production splitting coefficient◇ j rBegin(m) When m=0, the recursive initial value of the production splitting coefficient◇ j rBegin(0) = Initial value of production split coefficient◇ j 0 ; When m>0, If the recursive initial value of the production splitting coefficient for the m-1th time is ◇ j rBegin(m-1) >The recursive final value of the m-1th production split coefficient◇ j rEnd(m-1) , the initial value of the recursive production splitting coefficient for the mth time◇ j rBegin(m) = The initial value of the recursive production splitting coefficient after the increase of the m-1th time◇ j rBegin(m-1) , the increase range is between (0,1-◇ j rBegin(m-1) ); If the recursive initial value of the production splitting coefficient for the m-1th time is ◇ j rBegin(m-1) <The recursive final value of the m-1th production split coefficient◇ j rEnd(m-1) , the initial value of the recursive production splitting coefficient for the mth time◇ j rBegin(m) = The initial value of the recursive production splitting coefficient after the reduction of the m-1th time◇ j rBegin(m-1) , the reduction range is between (0,◇ j rBegin(m) ); Step 4: Determine the initial value r of the control radius iteration ej iBegin(n) When n = 0, the initial value of the control radius iteration r ej iBegin(0) = initial value of control radius r ej 0 ; When n>0, the initial value r of the nth control radius iteration ej iBegin(n) Equal to the final value r of the n-1th control radius iteration ej iEnd(n-1) ; Step 5: Iterative calculation (1) Recursive initial value through production splitting coefficient◇ j rBegin(m) and the initial value r of the control radius iteration ej iBegin(n) Calculate the average formation pressure (2) Average formation pressure Substituting into formula (5), the final value of the control radius iteration r is calculated ej iEnd(n) ; Where: r ej is the control radius of the gas well in the jth layer, m; p sc is the natural gas pressure under standard ground conditions, which is 0.101MPa; π is the ratio of a circle to a circle; T sc is the natural gas temperature under standard ground conditions, which is 293.15K; T j is the temperature of the production layer of the jth layer, K; h j is the thickness of the j-th pay zone, m; φ j is the porosity of the j-th production layer; S gij is the original gas saturation of the jth layer; ◇ j is the production splitting coefficient of the jth layer, 0≤◇ j ≤1, and satisfy j is the number of any production layer, 1≤j≤n; G p (t) is the cumulative natural gas production under standard ground conditions, m 3 ; p ij is the original formation pressure of the jth layer, MPa; Z ij For p ij The corresponding coefficient of deviation; is the average formation pressure of the jth layer at time t, MPa; Z rj (t) is The corresponding coefficient of deviation; (3) Calculate the absolute value of the iterative relative error |r ej iEnd(n) -r ej iBegin(n) | / r ej iEnd(n) : If the absolute value of the iterative relative error |r ej iEnd(n) -r ej iBegin(n) | / r ej iEnd(n) ≤0.1%, it is considered that the final value of the control radius iteration r ej iEnd(n) Effective, let the control radius r ej Equal to the final value of the control radius iteration r ej iEnd(n) , proceed to step 6; If the absolute value of the iterative relative error |r ej iEnd(n) -r ej iBegin(n) | / r ej iEnd(n) >0.1%, it is considered that the final value of the control radius iteration r ej iEnd(n) Invalid, the final value r of the nth control radius iteration ej iEnd(n) As the initial value r of the n+1th control radius iteration ej iBegin(n+1) , repeat the iteration until the absolute value of the iterative relative error |r ej iEnd(n) -r ej iBegin(n) | / r ej iEnd(n) ≤0.1%, then proceed to step 6; Step 6: Recursive calculation (1) The control radius r obtained in step 5 ej Get controlled reserves G j ; (2) Control the reserves G j Substitute into formula (8) to obtain the calculated value of the yield splitting coefficient, which is used as the recursive final value of the yield splitting coefficient◇ j rEnd(m) ; Where: a is the slope of the p / Z~p curve; G j is the controlled reserves of the jth layer of the gas well under the standard ground conditions, m 3 ; is the average formation pressure of the jth layer at time t+1, MPa; G p (t+1) is the cumulative natural gas production at t+1 under the ground standard condition, m 3 ; (3) Calculate the absolute value of the recursive relative error |◇ j rEnd(m) -◇ j rBegin(m) | / ◇ j rEnd(m) : If the absolute value of the recursive relative error |◇ j rEnd(m) -◇ j rBegin(m) | / ◇ j rEnd(m) ≤1%, the recursive initial value of the production splitting coefficient is considered j rBegin(m) Valid, proceed to step 7; If the absolute value of the recursive relative error |◇ j rEnd(m) -◇ j rBegin(m) | / ◇ j rEnd(m) >1%, the recursive initial value of the production splitting coefficient is considered ◇ j rBegin(m) Invalid, proceed to the next step; (4) Determine the recursive initial value of the production splitting coefficient◇ j rBegin(m) Recursive final value with output split coefficient◇ j rEnd(m) Size: If◇ j rBegin(m) >◇ j rEnd(m) , increase the initial value of the recursive splitting coefficient of the mth production◇ j rBegin(m) And use it as the initial value of the recursive production splitting coefficient for the m+1th time◇ j rBegin(m+1) , the increase range is between (0,1-◇ j rBegin(m) ); If◇ j rBegin(m) <◇ j rEnd(m) , reduce the initial value of the recursive splitting coefficient of the mth output◇ j rBegin(m) And use it as the initial value of the recursive production splitting coefficient for the m+1th time◇ j rBegin(m+1) , the reduction range is between (0,◇ j rBegin(m) ); Repeat steps 3 to 6 until the output splitting coefficient reaches the initial value of recursion◇ j rBegin(m) Valid, proceed to step 7; Step 7: Determine the yield split coefficient Production split coefficient◇ j = the initial value of the production splitting coefficient recursion in the last recursion of step 6; When m = 0 recursive calculations are performed, ◇ j =Recursive initial value of the production splitting coefficient for the 0th time◇ j rBegin(0) ; When m>0 recursive calculations are performed,◇ j = The initial value of the recursive production splitting coefficient for the mth time◇ j rBegin(m) .

2. According to the method for calculating the production splitting coefficient of a fixed-production gas well based on recursion and iteration as claimed in claim 1, Features: Assuming that the initial value of the production splitting coefficient and the initial value of the control radius of any production layer are as follows: Assuming the initial value of the production splitting coefficient of any production layer◇ j 0 , satisfying 0≤◇ j 0 ≤1; For a multi-layer commingled production gas well with a fixed production rate, assuming that the number of commingled production layers is n, the production splitting coefficient of any production layer is: Where: q scj is the gas production of the gas well in the jth layer under the standard surface conditions, m 3 / d; q sc is the gas production of the gas well under standard ground conditions, m 3 / d; Assume that the initial value of the control radius is r ej 0 The value range is [100,2000].

3. According to the method for calculating the production splitting coefficient of a fixed-production gas well based on recursion and iteration as claimed in claim 2, Features: The average formation pressure The specific calculation process is: Substituting formula (1) into the productivity equation of constant volume closed elastic drive depletion gas reservoir development, the average formation pressure of any production layer is obtained as follows: Where: is the average formation pressure of the jth layer at time t, MPa; p wfj (t) is the bottom hole pressure of the jth layer at time t, and p wfj (t)≥p cp , MPa; p cp is the critical pressure, MPa; μ is the gas viscosity, mPa·s; Z is the deviation coefficient corresponding to p; p is the experimental pressure, MPa; In p wfj (t)≥p cp is approximately a constant when; Z sc For p sc The corresponding coefficient of deviation; q sc is the gas production of the gas well under standard ground conditions, m 3 / d; K j is the effective permeability of the jth layer, 10 -3 μm 2 ; r w is the wellbore radius, m; S Δp is the skin coefficient converted from pressure difference, S Δp =-1.

4. According to the method for calculating the production splitting coefficient of a fixed-production gas well based on recursion and iteration as claimed in claim 3, Features: The controlled reserve G j The specific calculation process is:

5. According to the method for calculating the production splitting coefficient of a fixed-production gas well based on recursion and iteration as claimed in claim 4, Features: The derivation process of formula (5) is: According to the material balance equation of constant volume closed elastic drive depletion gas reservoir development, the material balance equation of any production layer is obtained as follows: Where: G pj (t) is the cumulative natural gas production of the gas well at the jth layer at t under the standard ground conditions, m 3 ; Substituting formula (1) and formula (3) into formula (4), the control radius of any production layer is obtained as:

6. According to the method for calculating the production splitting coefficient of a fixed-production gas well based on recursion and iteration as claimed in claim 5, Features: The derivation process of formula (8) is: By analyzing the experimental data of fluid properties, the relationship between p and Z is obtained as follows: p / Z=ap+b (6) Where: p is the experimental pressure, MPa; Z is the deviation coefficient corresponding to p; b is the intercept of the p / Z~p curve; According to formula (4), the material balance equation of any production layer at adjacent times is derived as follows: Where: Z rj (t+1) is The corresponding coefficient of deviation; G pj (t+1) is the cumulative natural gas production of the jth layer at t+1 under the standard ground conditions, m 3 ; Substituting formula (1) and formula (6) into formula (7), the calculation formula of the yield splitting coefficient is derived: