Research on the influence of production fluctuation of high-production gas well on service security of tubing string

The production of high temperature and high pressure gas wells fluctuates with time, which makes the pressure in the string fluctuate obviously and affects the service security of tubing string. In this paper, a pressure fluctuation model of the complete production process (including well opening, production and shut-in) is established, which is suitable for the multiphase flow of gas well. The pressure fluctuation in the tubing string is simulated. Influence of different well depth and average production on the fluctuating pressure of gas well are analyzed. According to the research results, if the well opening time top is 50 s, a transient pressure fluctuation is generated at wellhead and drops gradually. After the production starts, a pressure fluctuation will occur at wellhead 10~15 s after top, which is small and attenuates quickly. Pressure increases quickly in the shut-in moment and reaches the peak at tsh. Although pressure increases gradually with the well depth, fluctuation flattens out. The hysteresis phenomenon in appearance of pressure wave becomes more and more obvious with the well depth. The greater the production of gas well, the greater the pressure fluctuation in tubing string during well opening and production, but the value may not be very high. During well shut-in, the greater the production, the greater the pressure fluctuation and the value. Amplitude, angular frequency and value of phase are in direct proportion to pressure fluctuation degree and valve radix is in inverse proportion to pressure, which means that the greater the valve radix, the smaller the pressure.


Symbol annotations
Density of multi-phase fluid, kg/m 3 q g Density of gas, kg/m 3 q l Density of liquid, kg/m 3 h Angle between the tubing axis and horizontal, (°) c Volume-weight, N/m 3 r Stress of tubing, MPa b Weighted coefficients of diffused difference schemes, dimensionless s(t) Valve function, dimensionless x Wave angular frequency, rad/s u Phase angle, rad.

Introduction
There are abundant natural gas resources of onshore deep layer in China. According to the 4th evaluation results of oil and gas resources of China National Petroleum Corporation (CNPC), the quantity of resources in ultra-deep formation of onshore is 42% of the total quantity of conventional natural gas resources. Therefore most of the wells are ultra-deep (the deepest onshore oil well in Asia, Luntan Well 1 is 8882 m, the deepest onshore horizontal well, Shuangyu Well X133 is 8102 m), ultra-temperature (Tatan Well 1 is 200°C) and ultra-high pressure (Longgang Well 70 is 160 MPa) (Wu et al., 2020). With the development of these high-temperature, high-pressure and high-production oil and gas wells, the difficulty of oil and gas exploration is increasing, which puts forward higher requirements for wellbore integrity (Zhang et al., 2017a. During exploitation of high-temperature, high-pressure and high-production gas wells, fluid flow rate in tubing string is high. In addition to well opening and shut-in conditions (Han et al., 2012;Jin et al., 2011), the different geological conditions of different regions will affect the production of gas well (Zhang et al., 2020a). If the fluid flow rate in tubing string changes significantly for certain factors and results in momentum conversion in these conditions, violent pressure fluctuations will be caused in tubing string . Obvious fluctuation amplitude and large pressure value will threaten the service security of tubing string and cause serious wellbore integrity problems (Zhang et al., , 2017b, which may have big impact on field operation safety. Therefore, it is very important to study the transient flow process and pressure fluctuation in tubing string during the complete production process of gas well to ensure the wellbore integrity and safe production of gas well (Zhang et al., 2020b).
2 Research status of pressure fluctuation in tubing of gas well As gas well is filled with high-pressure natural gas mixed fluid, the action of wellhead valve or production fluctuation may force a change in the flow pattern of natural gas near the wellhead, creating a fluctuating pressure that is transmitted in tubing string. The pressure fluctuation in the tubing string caused by the change of valve state shows the compressibility of fluid, which is a typical transient flow problem (Bojan et al., 2018). It reflects that all the physical quantities of motion (velocity, acceleration, pressure, density, etc.) in the basin have both time-varying and locationvarying properties during the fluid movement process. Menabrea, Joukowsky (1904), Allievi (1925), and other scholars have successively carried out relevant studies on the hydraulic transient problem. From deriving the pressure wave velocity formula to the calculation of direct water hammer and indirect water hammer, the hydraulic transient problem has gradually become a major research topic in the field of fluid mechanics. American scientist, Professor Streeter, composed the Transient Flow (Wylie and Streeter, 1983) according to the research results of hydraulic transient, which was one of the most iconic work introducing hydraulic transient problems. Method Of Characteristics (short for MOC), which is widely used to solve hydraulic transient problem, was first proposed in Transient Flow. The process of pressure fluctuation in tubing string of gas well has been studied in different degrees by several scholars. Ogunyemi and Oghenewoakpo (2019) studied the impact of pressure fluctuation caused by "water hammer" on stratum during well shut-in process. According to the results, soft shut-in procedure allows additional well penetration, and increases the stratum pressure. But hard shut-in procedure reduces additional well penetration and decreases the possibility of formation fracture. Assaad et al. (2019) proposed a model to simulate the surge pressure and pressure wave propagation during oil and gas well construction. Adiputro et al. (2020) applied numerical Pressure Transient Analysis (PTA) to well MOL-GT-03, Belgium, using one dimensional radial model with fractional dimension grid gave a good match with field data clearly indicating low reservoir permeability and the fractured nature of the reservoir. In addition, the water hammer effect was investigated by solving the wave equation to help identifying the extent of the well reach providing an estimate to the reservoir boundary. Lin et al. (2018) put forward the drawing method of the water hammer wave velocity standard chart by analyzing the influences of the main parameters on the water hammer wave velocity, and the water hammer wave velocity standard chart was drawn. This chart can be used to query the water hammer wave velocity of the wellbore gas-liquid two-phase flow under different temperature, pressure and water content. Fang et al. (2019) aim at the problem of wellbore gas encountering high-pressure formation gas could bring substantial risks in gas drilling process. A theoretical model for pressure wave velocity and attenuation coefficient in gaseous phase flow is established and analytically solved by classic fluid-mechanics model and small perturbation theory. To analyze the fracture characteristics of tubing, Mou et al. (2019) carried out experimental study on the fracture surface of tubing and established finite elements model of water hammer effect to calculate pressure variation in tubing. Zhang et al. (2020c) established mathematical model of multiphase fluid gas well transient flow based on mechanism of water hammer effect and theory of multiphase flow, divided the deflecting section of tubing string into several parts and realized the analog computation of transient flow in tubing string after gas well shut-in.
Many scholars have made elaborations on the pressure variation in tubing string of gas well in different degrees, but the report on the pressure fluctuation in tubing string of gas well during complete production process is still insufficient. In this paper, a pressure fluctuation model of the complete production process (including well opening, production and shut-in) is established, which is suitable for the multiphase flow of gas well. The pressure fluctuation in the tubing string is simulated. Influence of different well depth and average production on the fluctuating pressure of gas well are analyzed.
3 Research on the influence of production fluctuation on fluctuating pressure and service security of tubing Due to the different geological conditions of different regions and other factors during the production of oil and gas well, the production will fluctuate with time. The fluctuation of production will lead to the change of fluid pressure and flow rate in the tubing, and great changes will affect the tubing string in varying degrees. For example, the oil pressure fluctuation may result in a pressure difference in tubing string and the change of fluid velocity may generate a huge impact load on tubing string, which will cause pressure disturbance in the tubing. Figure 1 shows the fluctuating of wellhead oil pressure of a gas well in Western China during production. In addition, oil and gas well also faces the working conditions of well opening and shut-in. If the fluid flow rate in tubing string changes significantly all of a sudden in these conditions, violent pressure fluctuations will be caused in tubing string. At present, related research data on this problem are insufficient. It is of great importance to establish corresponding model, make analysis on it and put it into field applications for guaranteeing service security of tubing string and wellbore integrity.

Force analysis for fluid micro-element in tubing
The theory of pressure fluctuation in the gas well can be derived from the theory of transient flow in the pipeline and factors those have not been considered in the flow of single-phase fluid in horizontal pipeline, such as gravity term of vertical tubing and multi-phase flow, etc. shall be taken into consideration. The hydraulic transient process in the pipeline is described based on basic differential equation of water hammer, composed of motion equation and continuity equation. It is a mathematical expression to comprehensively express the law of unsteady flow in pressure pipeline flow and a form of one-dimensional wave equation.
Flowing process of fluid in gas well is similar with the water flow in pipeline. By deriving the hydraulic transient process in pipeline, considering the influence of gravity acceleration and multi-phase fluid on tubing flow, the pressure variation in the tubing in a complete production process of the gas well is simulated. As the subsurface environment is complicated and changeable, it is necessary to idealize the model: 1) The flow in the pipe is one-dimensional, and the multiphase fluid along the same section of the pipe is distributed uniformly and the flow rate is the same; 2) regardless of the bending deflection of pipeline, assuming that pipeline is composed of elastic materials; 3) the formula in constant flow is still used to analyze the friction resistance in transient flow.

Motion equation
The stress analysis of fluid micro elements in the pipe is shown in Figure 2 and Table 1. According to the Newton's second law of motion, the external force on the control volume is equal to the mass of the control volume multiplied by the motion acceleration. Direction of acceleration is the direction of total external force. Therefore, the total external force along the pipeline axis is In the above equation, the positive direction of the force is the direction of the fluid flowing to the valve section of the pipeline. By expanding the above formula and omitting the high-order term, the resultant force along the axial direction of the pipe is obtained as follow As the mass of micro-fluid is cSdl g , acceleration is dV dt , it can be obtained according to the Newton's second law of motion If R is the radius of pipeline, J is the hydraulic slope (namely frictional resistance loss), there is pDr = p Â 2Rc Â (R/2) Â J = ScJ, take it into equation (3) to eliminate, it can be obtained that Flow rate V is the function of coordinate in tubing flow l and time t, namely V = V(l, t). For the convenience of integrating, dV dt can be expanded by total differential definition dV Therefore, equation (4) can be written as 2g , after taking it into equation (6), the equation of motion for hydraulic transient process can be obtained as follow Convert water head into pressure, then equation (7) can be written as In the derivation of the equation, the gravity term of pipe flow is taken into account, and the elasticity of pipe wall is not involved. Therefore, the equation is applicable to vertical pipes and varying diameter pipes, as well as inclined pipes and pipes of different materials.

Continuity equation
Whether laminar state or hydraulic transient state, continuity condition is the basic condition of the model of pressurized pipe flow. According to law of conservation of mass, the mass difference of fluid DM 1 flowing in and out of dl tubing section shall equal to the increased mass of fluid DM 2 caused by the expansion of casing wall and fluid compression in the time interval of dt.
Assuming that the cross-sectional area at B is S, flow rate is V and average density of fluid is q, there is By expanding the above formula and omitting the highorder term Besides As Namely After a simple conversion, it can be obtained that As pressure wave speed a is identified as Equation (15) can be written as By expanding the above formula and obtain that As As Then take the partial derivative of H to l, there is Take equations (20) and (21) into equation (18), there is In the above equation, (22), the continuity equation of hydraulic transient process can be obtained as follow Convert water head into pressure, then equation (23) can be written as Both motion equation and continuity equation reflect the change rule of flow rate and pressure in the process of hydraulic transient in the form of partial differential equation, which provide basic theoretical formulas for solving the problems of transient flow calculation.

Pressure wave velocity of multi-phase flow
In the process of calculation, the pressure wave velocity a is a very important intermediate variable and its algebraic analytic expression shall be obtained by deforming its equation of definition. Here, the elasticity of the pipe wall needs to be considered. For the pipe with the diameter of D and cross-sectional area of S, pipe wall expands when the increase of fluid pressure in pipe is dP, the increase of pipe diameter is dD, and the corresponding increase of cross-sectional area is dS ¼ d According to Hooke's law, the relationship between the increase of pipe diameter dD and the increase of pipe wall stress dr is dD wherein, r is the stress of pipe wall, and E p is the elastic modulus of the pipe wall. For pipeline with the wall thickness of d, its stress is Thus, Take equations (26) and (28) into equation (25), it can be obtained that Then according to the compressibility of fluid, there is 1 q So the pressure wave velocity can be written as From equation (31), it can be known that as the value of is smaller than 1, the pressure wave velocity value after taking elasticity of pipe wall into consideration shall be smaller than the value not taking elasticity of pipe wall into consideration, and the increase of water hammer pressure is smaller under the same factors. The greater the pipe diameter D, the smaller the pressure wave velocity and the smaller the increase of water hammer pressure. The thicker the pipe wall, the greater the pressure wave velocity and the greater the increase of water hammer pressure. Therefore, flexible pipe with large diameter and thin wall is beneficial to reduce water hammer pressure. According to the analytical form (31) of pressure wave velocity of single-phase flow, a m can be identified as follow when multi-phase flow factor is taken into consideration According to (32), the pressure wave velocity of multi-phase fluid has connections with gas percentage C g , elastic modulus of gas E g , elastic modulus of liquid E L , density of multiphase mixture q m , elastic modulus of tubing wall E p and wellbore size D and d.

Calculation of fluid state in tubing
According to the assumption of the previous model, the elastic modulus of the fluid is constant. Therefore, the pressure wave velocity of multiphase flow is only related to the density of multiphase q m . Density of multiphase q m can be defined as formula (33) For high production gas wells, a small amount of water will be produced, but the water content is tiny. So it is assumed that the flow is homogeneous, and the percentage of gas C g can be obtained by the ratio of natural gas production to total flow. Because of the high pressure and strong compressibility of the natural gas in the tubing, the calculation of the density of the natural gas cannot be realized simply by the state equation of the ideal gas. At present, there are mainly van der Waals equation and R-K equation to calculate the actual state of natural gas, in which the accuracy of R-K equation is higher.
The R-K equation of state is based on van der Waals equation, and its accuracy is much higher than the former, especially for the calculation of gas-liquid equilibrium and mixture. The specific form of the equation is where a R-K and b R-K are the constants of R-K equation of state, usually obtained from the experimental data of p, v and T. They can also be calculated by the critical point parameters.
By transforming the R-K equation, the cubic equation with the gas specific volume v as the main unknown can be obtained wherein, Since the specific volume and density of the gas are reciprocal to each other, the following formula can be obtained In conclusion, the density of gas is a function of T and p.
The temperature and pressure of fluid in tubing change along the direction of well depth, so the mixture density also changes. There is no instantaneous high-energy process such as explosion in the tubing, so the liquid density is regarded as constant.
In addition, the velocity of multi-phase flow V m is calculated according to the formula of gas-liquid mixture velocity. That is, the ratio of total volume flow to crosssectional area wherein, Q g is the gas flow and Q l is the liquid flow (water production rate). The value of gas production cannot be directly substituted into formula (40), and it needs to be converted by gas state equation.

Numerical solutions and boundary conditions of model 4.1 Explicit difference solution
If an actual problem is abstracted as a mathematical problem and the actual process is regarded as a continuous solution area, then the explicit difference method is to mesh the continuous solution area, and one or more objective functions of the problem can be approximated as variable functions that are discretized on the grid node (Sun et al., 2019). The technological difficulty of explicit difference is how to divide the solution region according to the characteristics of concrete issues and how to discretize the original differential equation into system of difference equation and solve the algebraic equations.
In order to solve the model, it is necessary to discretize the basic equation and convert the differential equation into difference algebraic equation. Here, the diffusion difference scheme is used to solve the equation. The objective function pressure P or velocity V is represented by X, set the time node i, position node k, the partial differential of X to time and position can be expressed as Following differential equations can be obtained by taking equations (41) and (42) into hydraulic transient basic equation It can be simplified as According to equations (45) and (46), if the pressure p iÀ1 and flow rate V iÀ1 on every grid node at the time of i À 1 are known, then the pressure p i and flow rate V i on every grid node at the time of i can be obtained successively by taking the known values into equation.

Boundary conditions of valve
The complete production process includes three kinds of working conditions: well opening, production and shut-in. It is easy to obtain the wellhead valve function of well opening and shut-in. If only well opening or shut-in operations are needed, and the well opening time is t op , well shut-in time is t sh , valve opening indicator is m and valve closing indicator is n, there is During natural gas exploitation, the production of natural gas is actually in fluctuation situation. The stimulation of production fluctuation will induce the pressure fluctuation in the tubing string. There are many factors affecting the rule of production fluctuation, including some uncontrollable ones. Therefore, similar elementary functions can be used to describe the fluctuation form of production, so as to obtain the pressure fluctuation trend in the tubing during actual production. If the valve function of production is assumed to be s(t) during the complete production process of gas well, the wellhead valve operation can be described by the following piecewise function wherein, 0~t op is for valve opening stage, t op~tpr for normal production stage, t pr~tsh for valve closing stage and t sh~ten for post-valve closing stage. The graph of valve functions is shown in Figure 3.

Model validation
The reduction of production time and the simplification of production fluctuation, so the shut-in stage is selected to verify the model, and the calculation results were compared with the results in the reference to prove the accuracy of this model (Lin, 2017). The relative calculation parameters can be seen in Table 2. Transient shut-in will cause transient flow in the gas well, and the pressure fluctuation will appear near the wellhead and gas reservoir, which shows periodic change. The pressure fluctuation amplitude of wellhead is higher than that of bottom in the gas well. The maximum pressure difference of wellhead pressure wave is 0.6 MPa, and the fluctuation period is 21 s.
The comparison results are shown in Table 3 and Figure 4. The results show that the absolute error between the maximum value of wellhead fluctuation pressure calculated by developed model and the measured value is only 0.09%, and the error of pressure fluctuation period is 4.44%. Compared with the calculation results in the literature, the peak value of the fluctuation pressure of the developed model is closer to the measured value, and the wellhead pressure fluctuation trend is more consistent. It can reflect the abnormal rise and fall of the pressure after shut-in and the transmission and attenuation of the pressure wave.

Computational analysis
Taking Well XX for an example, the pressure fluctuation situation in the tubing string of the well during the complete production process is simulated. It is assumed that the fluctuation of production follows a sine function according to the field production data curve of Well XX, and the specific form can be written as Set the opening and shut-in of Well XX as linear operations, namely m = 1, n = 1, the time function of wellhead valve s(t) can be presented by equation (51).
Manual calculation is not recommended due to huge amount of calculation of discrete equation of pressure fluctuation in tubing string of gas well during production. Instead, computer program will be used for simulating the progress. The model calculation flow chart is shown in Figure 5. If the valve function is defined as one-dimensional array Tao ( ), the valve operation can be controlled by the following code M=round(T/dt); % T is the total calculation time; Tao(i)=zeros(M+1,1) Tao(1)=0; % The valve is fully closed at the initial moment; for i=2:M+1 % Cycle time: i=i+1; . . .. . . % Several procedures are omitted; t_x=(i-1)*dt; % Running time; Tao(i)=((t_x/t_op).^m).*(t_x<t_op)+(0.9+a*sin (2*pi*t_x/T)).*(t_x>=t_op&t_x<t_pr)+((1-(t_x-t_pr)/(t_sh-t_pr)).^n).*(t_x>=t_pr&t_x<t_sh)+0* (t_x>=t_sh); % Valve piecewise function; . . .. . . % Several procedures are omitted. end In this paper, a pressure fluctuation model of the complete production process (including well opening, production and shut-in) is established, which is suitable for the multiphase flow of gas well. The pressure fluctuation in the tubing string is simulated. Influence of different well depth and average production on the fluctuating pressure of gas well are analyzed. The basic data of XX well is shown in Table 4.

Discussion results
Make the valve completely opened with the opening time of 50 s and valve opening coefficient of 1.0 (linear opening). After well opening completely, set the normal production time as 500 s, then shut down the well with the valve closing time of 50 s and valve closing coefficient of 1.0 (linear shut-in). The pressure variation in tubing string of gas well during the production process can be obtained. Wherein, the fluctuation of wellhead pressure is shown in Figure 6, partially amplify the process of well opening and shut-in, as shown in Figures 7 and 8. Before opening the valve, the fluid in tubing string is static. After opening, the wellhead fluid velocity starts to increase from 0, wellhead pressure is released. The transient pressure fluctuation occurs and the pressure decreases gradually from shut-in static pressure.
After valve is completely opened, the valve function is changed into s(t) in production stage. Due to the instantaneous change of the two valve functions, the wellhead pressure will fluctuate within 10~15 s after 50 s of well opening, but the fluctuation value is smaller and the attenuation is faster. During the production process of t op~tpr , the wellhead pressure fluctuating rule is similar with the fluctuating rule of corresponding valve function. When time reaches t pr , the well will be shut in and the valve function changes into s (t) in well shut-in stage. At the moment of valve closing, the wellhead speed changes to 0 all of a sudden, pressure increases quickly in the shut-in moment and reaches the peak (about 64 MPa) at t sh . Then fluctuating pressure propagates in the form of triangular wave, which will attenuate gradually under the effect of frictional resistance.
The calculation is set to stop (in order to greatly reduce the computing time, only a small part of production time is calculated) at the time of t en = 700 s. If the calculation continues, the peak pressure will gradually decrease and the valley pressure will gradually increase. After a period of time, the peak value will coincide with the valley value and a balance will be reached.
The pressure fluctuation at different depths sof well is different. The pressure fluctuation at different depths of Well XX during the production is simulated in this paper, as shown in Figure 9. According to the calculation results, the pressure change trends at different depths of well are basically the same in different valve operation modes. From wellhead, pressure increases gradually with the well depth, but fluctuation flattens out. At the wellhead, the fluctuation amplitude of pressure during production is about 1 MPa, while at the well depth of 4200 m, the fluctuation amplitude of pressure during production is only about 0.225 MPa. During well shut-in, the pressure at wellhead increases by about 2.75 MPa quickly and the pressure at the depth of 4200 m only increases by about 0.65 MPa. Figure 10 is the partially amplifying curve of well opening stage and pre-production stage. According to the curve, the pressure at wellhead changes all the time during well opening stage. With the increase of well depth, there is no obvious change of pressure in a short time (it is relatively remarkable at the depth of 4200 m). When wellhead valve is opened, the fluid flow in tubing string is transient flow, short acting time of valve will result in water hammer effect and cause great fluctuating pressure. But why the pressure has little change? It is interesting. The reason is that pressure wave propagation requires time, valve acts at any time within the 50 s of well opening and the flowing of fluid at the nearest wellhead from valve changes at any time. But the pressure wave caused by fluid change needs to be propagated to the bottom of well through wellhead, and  At the end of well opening and the beginning of production, the valve function changes instantaneously, and the pressure in the tubing string fluctuates again. Similarly, wellhead pressure wave occurs when valve action is changed as wellhead is close to the valve. With the increase of well depth, the appearance time of pressure wave will lag obviously, as shown in the blue box of Figure 9. The deeper the gas well, the longer the hysteresis time of the pressure wave is and the smaller the corresponding fluctuating pressure is.     If pressure wave fails to be propagated to the specified depth for relatively great resistance caused by well depth, there will be no similar pressure fluctuation.
Production of gas well changes all the time. Different average productions may also lead to different pressure fluctuations of gas well. In this paper, the pressure fluctuation situations in tubing string throughout production under 5 average production conditions are simulated, as shown in Figure 11. In addition, the partially amplified figures of pressure fluctuation in well opening stage and well shut-in stage are provided, as shown in Figures 12 and 13.
According to the calculation results, the greater the average production of gas well, the greater the pressure fluctuation in tubing string during well opening and production, but pressure may not be very high. During well shut-in, the greater the production, the greater the pressure fluctuation and pressure value. According to Figure 13, if average production is 250 Â 10 4 m 3 /D, wellhead pressure rises to 64.25 MPa after well shut-in, pressure value and fluctuation amplitude exceed the working conditions under other average production.
The reasons for this phenomenon are as follows: shut in is to seal the flow section during the process of high-speed fluid flow in the tubing string, so that the high-speed fluid becomes static in a short time. Therefore, the higher the average production, the faster the flow rate, and the higher the pressure when the flow rate becomes 0.
During production of gas well, the pressure fluctuation situation in tubing string changes accordingly with the varying valve functions and production. After making appropriate deformation on the valve functions during production, it is not difficult to see that the valve operation meets the standard fluctuation function, as shown in equation (52).
wherein, A is fluctuation amplitude, x is fluctuation angular frequency, u is phase angle and B is valve radix. In the valve functions assumed based on an actually measured production data of Well XX, it is observed that A = 0.1, x = p/45, u = 0 and B = 0.9. The value of fluctuation amplitude and angular frequency may affect the overall operation of valve, and then affect the pressure fluctuation in tubing string. In this paper, the influence of four standard fluctuation parameters on pressure in tubing string is studied by control variate method, the calculation results are shown in Figures 14-17. Amplitude, angular frequency and phase angle are parameters of triangular wave function in valve functions, which directly affect the vibration mode of triangular wave function image, while the fluctuating rule of triangular wave function reflects the pressure fluctuating rule to a great extent. When Amplitude A of valve function changes, the greater the amplitude, the greater change in fluid flow rate in tubing string and the more obvious the pressure fluctuation. In actual production, reducing amplitude of valve function is the most effective way to prevent wellhead water hammer phenomenon.
Angular frequency x indicates the number of wavelengths of triangular wave propagated in unit time. The greater the angular frequency, the shorter the cycle of triangular wave and the more the wavelengths propagated. In this way, the frequency of fluid velocity change in the tubing string will be accelerated, and the pressure fluctuation will be more obvious. When the angular frequency is low, the frequency of fluid velocity changes in the tubing string decreases, and the pressure fluctuation is smoother than the former.    The greater the phase angle u, the greater the pressure extreme value generated when valve function changes and the more advanced the fluctuation time is. The smaller the phase angle, the smaller the pressure extreme value and the later the fluctuation time is. However, during production, the phase angle value would not affect the form of pressure wave, which means that the fluctuation peak value, valley value and cycle would not change along with the phase angle value. Therefore, phase angle has little influence on the pressure fluctuation in tubing string in principle.
Valve radix B is the only one among the four standard parameters of valve function not belonging to triangular wave function, which is in algebraic relation with triangular wave. The greater the valve radix, the greater the valve function value. Valve function indicates the opening of valve. The greater the opening, the greater the overflow section of fluid and the smaller the pressure. When valve function changes, the pressure wave extreme value is relatively small. The smaller the valve radix, the smaller the valve opening, the smaller the overflow section of fluid and the pressure is relatively large. As shown in Figure 16, taking B = 0.3 as an example. When the valve function changes, a large extreme value of pressure wave will be generated near the top. However, when the extreme value of pressure wave decays, the amplitude of pressure wave will gradually flatten, which is smaller than the working condition when the valve radix is large.

Conclusion
In this paper, aiming at the problem of transient pressure fluctuation in tubing string caused by production fluctuation and a pressure fluctuation model of the complete production process (including well opening, production and shut-in) is established, which is suitable for the multiphase flow of gas well. The pressure fluctuation in the tubing string is simulated. Influence of different well depth and average production on the fluctuating pressure of gas well are analyzed. The main conclusions are as follows: 1. After well opening, the transient pressure fluctuation occurs and the pressure decreases gradually from shut-in static pressure. The wellhead pressure will fluctuate within 10~15 s after 50 s of well opening, but the fluctuation value is smaller and the attenuation is faster. At the moment of valve closing, the wellhead pressure increases quickly in the shut-in moment and reaches the peak at t sh . 2. After well opening, pressure increases gradually with the well depth, but fluctuation flattens out. At the beginning of production, the pressure in the tubing string fluctuates again. With the increase of well depth, the appearance time of pressure wave will lag obviously. 3. The greater the average production of gas well, the greater the pressure fluctuation in tubing string during well opening and production, but pressure may not be very high. During well shut-in, the greater the production, the greater the pressure fluctuation and the greater the pressure.