The present invention refers to the technical field of oil production. Specifically, the present invention refers to a hybrid prediction-diagnosis model and method for monitoring stress propagation, installation wear rate and submergence in mechanically pumped oil-producing wells, as well as devices utilizing such method having an autonomous, compact and economical design.
In an oil production process, well controllers are used to automatically monitor and control the operation of individual pumping devices in order to optimize the operation of the downhole pump.
The basic principles of measurement and operation of well controllers, described for example in U.S. Pat. No. 3,343,409, include the calculation of the downhole dynamometric card. This calculation involves solving equations to model the propagation of elastic stresses along structures inside the well from the bottom to the surface (see S. G. Gibbs. Predicting the Behavior of Sucker-Rod Pumping Systems, Journal of Petroleum Technology 15 issue 07 (1963), SPE-588-PA).
Dynamometry in vertical oil wells has been addressed since Sam Gibbs' first publications, where a mathematical model based on local quantity-of-motion balance equations was established for the elaboration of dynamometric cards (see S. G. Gibbs. op. cit.). The differential equations of the model have been solved numerically using different algorithms (S. G. Gibbs Rod Pumping: Modern Methods of Design, Diagnosis, and Surveillance; T. A. Everitt and J. W. Jennings, An Improved Finite-Difference Calculation of Downhole Dynamometer Cards for Sucker-Rod Pumps, SPE Production Engineering 7 issue 1 (1992) SPE-18189-PA.) and are currently employed in the control methods of most commercially available well controllers (see for example GE-Lufkin SAM, Weatherford Well Pilot, among others). Gibbs' mathematical model comprises a differential equation in partial derivatives with terms of acceleration and viscous dissipation, the latter being linearly dependent on speed.
In the case of non-vertical, deviated or directional wells, where the trajectory of same cannot be approximated by a vertical line, the normal stresses of the tubing on the string and, consequently, the Coulomb friction, should be incorporated into the mathematical models in order to consider the friction phenomena that originate forces in opposite directions to those of the movement of the string. Since their dependence on speed is not linear, they cannot be included within the dissipation terms of Gibbs' equation. For this reason, the solution to the dynamometric problem using a mathematical model based on Gibbs' equation for vertical wells cannot be applied, or represents only an approximation.
Patent application US 2010/111716 A1 describes the inclusion of Coulomb friction based on an approximate calculation and an iterative method, which requires an initial estimation of the lateral stresses. As a consequence of such approximate calculation, it is not possible to determine the normal stresses dynamically, nor to include certain important aspects of the phenomenology, for example the possibility that the string is temporarily stopped due to the existence of compatible static solutions during certain time intervals near the dead points (or points of return). Thus, this “stucking effect” is not considered in the prior art.
Patent application US 2013/0104645 A1 describes a method for calculating downhole cards for deviated wells based on a mathematical model proposed by Lukasiewicz (S. A. Lukasiewicz, Dynamic Behavior of the Sucker Rod String in the Inclined Well, Production Operations Symposium, Apr. 7-9, 1991) which, in addition to incorporating the axial movement of the string, takes into account its transverse displacement and the propagation of transverse vibrations in the tubing. Such vibrations in turn may be partially inhibited due to contact with the tubing, which may occur only in some portions of the trajectory and only in some directions (e.g. on a single side of the tubing). The general solution to the coupled system of model equations is extremely complex and, in many cases, unnecessary, since the magnitudes of interest associated with axial displacement do not require a solution involving transverse vibrations in a general way. This fact is especially clear in the case of a vertical well where initially transverse waves could also propagate, where Gibbs' purely axial solution gives an excellent approximation in the cases of practical interest. The method proposed in US 2013/0104645 A1 also implies an iterative resolution.
None of these prior art documents describes or suggests the use of calculation methods for the diagnosis of deviated wells nor do they discuss the stability or numerical difficulties of the proposed algorithms.
Patent application WO 2010/051270 A1 describes stress calculations in pumping systems using a finite difference method in an Everitt-Jennings type algorithm. In this context, solving the model equations in “diagnostic mode” results in the propagation of numerical errors that are amplified as the stresses are calculated at positions closer to the downhole pump. In the specific case of deviated wells, the amplification of these errors is even more notorious due to the discontinuity of the Coulomb friction and requires a method of regularization that is not described in the prior art. These numerical difficulties are manifested, in particular, as peaks of limited magnitude in the calculated bottom force, generating “false information” that must be filtered.
On the other hand, as the string is in contact with the tubing, wear of both components will occur. Although the theory of wear is applicable to general systems, there is little information regarding the specific case of mechanical pumping components. References show that, in addition to the dependence on the normal contact force, wear increases significantly with the pumping speed in these cases (see P. L. Ko, K. Humphreys and C. Matthews. Reciprocating-sliding wear of sucker rods and production tubing in deviated oil wells, Wear, 134 (1989) 13-28). For this reason, even though there is no extensive laboratory information that enables predicting wear in a given operating condition, the dynamic regime of such components must be adequately characterized to correlate it with the performance detected in the field, being eventually possible to use this characterization to distinguish the source of problems in wells with failures due to wear.
One of the uncharacterized dynamic effects in the state of the art is the existence of local static solutions as the string approaches dead ends, i.e. the extreme positions of the string where the sign of the speed is reversed. These events will be called, hereinafter, string stucking events. Specifically, at the times when the average speed is very close to zero, and at a point in the string that approaches the zero speed condition, it may occur that the configuration of the string elements is locally compatible with static balance, that is, that a static balance condition of the physical-mathematical model is verified. Then, when one of these elements stops (i.e. has a zero speed), it will be stopped until the static balance condition generated by friction is no longer verified. In this situation, that portion of the string, after having reached the condition of zero speed, will remain motionless or stuck, until the imbalance of axial forces is sufficiently great to “break” such balance condition. For this reason, some points, segments, or even the entire string may remain stuck once or several times during a pumping cycle. At the intervals at which this occurs, these points will not have a relative displacement to the tubing and will remain in static mechanical contact until the local balance condition is broken. These events may improve the surface adherence mechanism and consequently increase the wear of the components of the pumping system. Therefore, their characterization and understanding are fundamental to the design of a mechanical pumping system in a directional or deviated well.
The aforementioned dynamic states, which involve both static and dynamic solutions, are not considered in the methods of the prior art for this specific problem of the oil industry, even though they provide an advantageous position for the study of possible wear effects.
Therefore, there is a need to provide a method that enables considering the behavior of axial displacement of the rod string of a mechanical pumping system in the mathematical models and algorithms involved, taking into account the actual well trajectory and the interaction between the string and the tubing, so as to estimate the string dynamics, predict forces and displacements at downhole without additional hypotheses or approximations and the method being numerically robust. At the same time, the model and method must consider the existence of stucking points at certain time intervals, as well as their effects on the pumping system.
The present invention makes it possible to solve the disadvantages of the prior art by incorporating phenomena not contemplated in the previously known methods, as well as advantageous resolution schemes that provide results of interest for the monitoring of non-vertical oil wells.
In a first aspect, it is an object of the present invention a method to determine the stress profile in a pumping system of an oil well comprising a sucker rod string driven by a polished rod, depending on the axial position of the sucker rod string, where the method comprises the following steps:
In a preferred embodiment, the system of equations representative of the pumping system in a natural generalized coordinates system is the system of equations {(15), (16)}:
In a preferred embodiment, there is at least one element i for which the relationship (18) and the equation (17) are verified simultaneously:
In another preferred embodiment, there is at least one element i and a value of force {right arrow over (f)}i*c for which equations (23), (20) and (21) and the in equation (22) are verified simultaneously:
In a preferred embodiment, the method also comprises the steps of:
In a preferred embodiment, the method also comprises the calculation of the cycle work of the pumping system.
In another preferred embodiment, the method also comprises the calculation of the number of stucking events for each point in the sucker rod string per pumping system cycle.
In a second aspect, it is an object of the present invention a method for diagnosing the operation of an oil well pumping system comprising a sucker rod string driven by a polished rod, where the method comprises the following steps:
In a preferred embodiment, step c) of calculating the value of the downhole force comprises finding the zero of the R function defined by the equation (32):
In a more preferred embodiment, equation (37) is verified:
In a yet more preferred embodiment, step d) of obtaining an operation diagnosis of the pumping system from the value of the force on the downhole pump comprises determining the pressure at the pump inlet pl from equation (36):
Regarding the first aspect, it is an object of the present invention a device for monitoring the operation of an oil well pumping system comprising a sucker rod string driven by a polished rod, where said device comprises, in a single housing or enclosure:
Regarding the second aspect, it is an object of the present invention a device for monitoring the operation of an oil well pumping system comprising a sucker rod string driven by a polished rod, where said device comprises, in a single housing or enclosure:
The present invention will be described in more detail below, with reference to the accompanying figures.
As used herein, the term “monitoring” refers to the collection of values of system variables and the establishment of relationships between them on some medium, for example in the form of a report, table, card or computer file, so as to enable the automated control using well controller devices that implement the methods of the present application.
In the present application, the expression “independent pumping equipment or pumpjack refers to mechanical pumping equipment used in the production of oil wells, comprising an engine, a gearbox and a force transmission unit which, through periodic oscillatory movements, enables a string of sucker rods to be pulled to drive a downhole pump.
The term “card”, or alternatively the expression “dynamometric card” refers to a graphic representation of the force at a point in the sucker rod string regarding the position of same with time as a parameter. The dynamometric card can be “surface” or “bottom” depending on whether it corresponds to the stresses on the polished rod (surface card) or on the downhole pump (downhole card). The dynamometric card can also be calculated at intermediate points of the string, at an arbitrary depth, in which case it is not given a particular name, but its depth is referred to specifically in that case.
As used in the present, the expression “to evolve variables” refers to the calculation of values of variables that represent physical magnitudes at a given moment in time from the values of such variables at a previous moment in time. Such calculation can be carried out by implementing a numerical method through an algorithm.
The term “submergence” is used to refer to the difference in hydrostatic charge between the pump depth and the level of dynamic fluid above the pump. Submergence is generally expressed in units of height, and corresponds to the length of the liquid column in the annulus above the pump.
The expression “pump hitting” refers to the possible pump hit against the upper or lower seat when the pump is close to the upper or lower dead points. A pump hitting occurs intentionally on some occasions, and in other occasions because of an improper spacing between the polished rod and the crossarm that mechanically connects it to the pumpjack. The expression “fluid shock” refers to the impact that the pump piston makes against the fluid when the barrel has been incompletely filled and the travelling valve has not been opened at the start of the downwards stroke. The expression “filled pump” refers to operation when the barrel is completely filled and the pump is operating normally.
The methods of the present invention use mathematical models that enable the description of the pumping string discreetly and the characterization of its axial movement in a system of natural generalized coordinates given by the arc length measured from the surface for a specific position of a moving element. In this way, it is automatically verified that each element in the string moves over the set of points that define the trajectory of the well. This approach can be called Lagrangian, since it does not start from a differential equation in partial derivatives, but specifically follows the evolution of the elements.
In general, such mathematical models are based on local balances of quantity of movement and consist of systems of ordinary non-linear differential equations.
The models employed in the present invention can be used either in “predictive mode” or in “diagnostic mode”, depending on the boundary conditions under which the differential equations of the involved mathematical models are solved.
When the system is solved by specifying a mixed boundary condition, such as the surface position, and a ratio for specifying the downhole force, such as, in the case of a filled pump, a constant and negative load value on the downward stroke and constant and positive on the upward stroke, the method operates in “predictive mode”: from the solution of the equations, the force on the well surface can be estimated by specifying a condition on the downhole pump.
In “diagnostic mode”, the stationary state of the system, periodically pumped at the surface, is considered. In this case, the boundary conditions correspond to values at the surface, usually measured by a dynamometer (load cell) and a position transducer, and downhole values are obtained by solving the equations of the mathematical model.
The model utilized in the present invention can be used in both “diagnostic mode” and “predictive mode”, implementing specific numerical methods for each of these modes associated with different boundary conditions in the model, as will be expressed in detail later in the present.
For the resolution of equations in the diagnostic mode, the methods of the prior art use algorithms based on the Everitt-Jennings algorithm. Said algorithm presents numerical problems in systems that include dynamic Coulomb friction phenomena, due to the discontinuous nature of the corresponding terms in the model equations.
Although an alternative is to regularize these discontinuities, for example by approximating the dynamic Coulomb friction with a continuous function, this regularization cannot be applied to the stucking problem described above.
In the present invention, a hybrid prediction-diagnosis method is described for the use of the method of the present invention in “diagnostic mode”. Said hybrid method is based on the numerical stability inherent to the “predictive mode” method and consists of an iterative calculation of the coefficients of the Fourier series development of the downhole dynamometric card, so as to minimize the difference between the value of a surface operating characteristic obtained by the method in “predictive mode” and the measured value of said surface operating characteristic at the surface.
Additionally, by using the method of the present invention, it is possible to incorporate effects not contemplated in the methods of the prior art into the mathematical models and solve the equations of the model in a numerically stable manner.
In addition to the card downhole card, the methods of the present invention enable the evaluation of wear models depending on depth, incorporating effects ignored in the prior art. Furthermore, by using this same model, variables critical in the definition of the operating state, such as the fluid pressure at the pump inlet or, similarly, the submergence, can be calculated. Such magnitudes will enable a diagnosis on whether the well is well or poorly exploited, for example if the well has a submergence lower than 200 m it will typically be considered well exploited. If the submergence is close to zero, a condition of fluid level depletion, it will generate an incomplete filling of the pump, resulting in fluid shock.
Advantageously, the monitoring methods of the present invention have a simpler implementation from the numerical point of view. Secondary hypotheses are not formulated, such as those relating to the transverse motion in order to calculate lateral stresses, which enables simpler and possibly faster implementations on the same computing platform, such as a microcontroller. Additionally, the methods of the present invention can be applied to oil wells to which the methods of the prior art could not be applied, where the stucking effects are not considered in the formalism.
The aspects related to the numerical stability of the algorithms used in the methods of the present invention, as well as their advantages with respect to the methods of the prior art, will be described in detail in the exemplary embodiments below, with references to the accompanying figures.
Unlike the methods in the prior art, where the problem of the propagation of numerical errors is not discussed, in the present invention it is detailed how to control the same, and methods that enable the correction of the effects generated in the typical schemes are introduced. These methods additionally enable incorporating phenomenology not taken into account in the prior art, such as the stucking of the string near the upper and lower dead points.
The typical geometry of a deviated oil well is shown in
X(s)=(x(s),y(s),z(s)) (1)
being s a generalized coordinate representing the arc length measured from the wellhead (ground level) and x, y, z the cartesian coordinates of the one-dimension trajectory.
Such trajectory, defined a priori, is the tubing path, equivalent to the well path. The string is represented by a set of N elements or “particles” which length in relaxation is l0. By definition, the only degree of freedom of the elements is the position of their mass center (or geometrical center), represented by the generalized coordinate si(t), which is the arc length from the wellhead to the center of the i-th element. Thus, the position of such element in cartesian coordinates is:
{right arrow over (x)}
i(t)=(xi(t),yi(t),zi(t)) (i=1,2, . . . ,N) (2)
and therefore, it can be calculated according to:
{right arrow over (x)}
i(t)=X(si(t) (i=1,2, . . . ,N) (3)
That is, the position of the i-th element at a given time is calculated by evaluating the trajectory in the generalized coordinate that unequivocally describes the movement of the element at that same time. The mathematical model used in the present invention is obtained by posing the equations of motion for this particles system, including all relevant interactions (forces).
In this case, these interactions are the elastic force between the elements, their weight, the normal reaction of the tubing necessary to keep the particle moving in the fixed trajectory, the viscous drag force representing the interaction of the elements with the surrounding fluid, the Coulomb force between the string and the tubing and the net force on each element due to the pressure field of the fluid within the tubing. Any other force is neglected for being smaller in comparison to the other terms. The only non-trivial contributions that an expert in production engineering could additionally include would be: the tendency of the string to hold straight (i.e. bending force) and the tendency of the pressure to further compress the curvature arc (i.e. circumferential force).
Analyzing the typical parameters in the problems of interest, where the curvature radius is of the order of 1000 m, it is possible to confirm that it is not necessary to consider terms representing such elastic bending effects or such lateral pressure effects due for being smaller in relation to the other terms. In the cases analyzed below, the bending terms generate corrections lower than 1/100,000 and the pressure terms due to curvature generate corrections lower than 2/100. Moreover, using the teachings of the present invention, these effects could be incorporated into the mathematical model without representing an excessive burden for an expert in the technical area.
Therefore, the model of the present invention representing the string is equivalent, from the practical point of view, to an elastic cord subject to moving along a predefined trajectory, with the exception of some section changes which generate additional force terms on the elements at the position of the discontinuity of the cross section. The elements and forces acting on each of them are represented in
m
i
=ρA
i
l
0 (i=1,2, . . . ,N) (4)
where Ai is the cross-sectional area at that point, p is the density of the string and l0 is the relaxed length (with no external forces applied) of the element. The elastic force between adjacent elements is mediated by the elastic constant, defined according to:
where E is Young's module of the sucker rod. To define the direction of the forces, a set of versors that accompany the particles. is built at each moment in time
Hereinafter, the discussion will be limited to the case where the trajectory is contained in one plane. The extension to the three-dimensional case will result evident to an expert in the technical area.
In this case, the versors {circumflex over (τ)}i y {circumflex over (n)}i are, respectively, the tangential and normal versors to the trajectory at the si(t) point. On the other hand, the elastic force on each element is approximated by its secant. The secant versor {circumflex over (τ)}i,i+1 has the direction of the segment that links X(si(t)) with X(si+1(t)), with (i=1, 2, . . . , N) and is a valid approximation when the number of elements N in the partition is large enough to approximate the curved trajectory by a polygonal chain. In most situations of practical interest, the partition usually comprises about 100 elements, or more. It can be confirmed that the number of elements is adequate by redefining the partition with a larger number of elements and checking the convergence of the model. In this approximation, the elastic force that the i+1-th element performs on the i-th element in this approach is:
{right arrow over (f)}
r,i
+
=−k
i(li,i+1−l0){circumflex over (τ)}i,i+1 (i=1,2, . . . ,N) (6)
as also shown in
l
i,i+1
=∥X(si+1(t))−X(si(t))∥ (i=1,2, . . . ,N) (7)
In addition, versors are also defined by these same generalized coordinates:
Analogous expressions can be obtained for the i−1-th neighbor.
In this way, it is possible to pose the quantity-of-motion balance equations for each element in terms of these generalized coordinates and the systems of versors previously defined:
Here {right arrow over (f)}r,i+ y {right arrow over (f)}r,i− are the elastic force terms of the i+1 and i−1 neighbor elements, is the weight of the i-th element, being {right arrow over (g)} the acceleration vector of gravity, {right arrow over (N)}i is the normal force, {right arrow over (f)}ic is the Coulomb force, {right arrow over (f)}iv is the viscous force, and {right arrow over (f)}ip is the net force due to section changes made by the pressure of the surrounding fluid in the tubing.
The viscous force {right arrow over (f)}iv can be represented by:
{right arrow over (f)}
i
v
=−β{dot over (s)}
i{right arrow over (τ)}i (i=1,2, . . . ,N) (10)
where β is a constant that quantifies the effects of viscous dissipation.
The strength of the pressure term {right arrow over (f)}ip on the i-th element can be written as:
{right arrow over (f)}
i
p
=p(si)(Ai+1−Ai)Θ(Ai+1−Ai){right arrow over (τ)}i+p(si)(Ai−Ai-1){right arrow over (τ)}i (i=1,2, . . . ,N) (11)
where Θ is the Heaviside step function and p(si) is the hydrostatic pressure of the surrounding fluid in the tubing.
Equation (9) can be used to find the equation of motion of the generalized coordinates si(t). For such purpose, it should be noted that:
This expression links cartesian acceleration to generalized speed and acceleration. Given its smallness (under typical conditions, this term is of the magnitude order of g/1000, g being the acceleration of gravity) the centrifugal term
can be depreciated, which is quadratic in speed, and therefore, remembering that:
the equation is obtained:
When projecting these equations according to the versors {right arrow over (τ)}i y {right arrow over (n)}i, the following closed system of equations is obtained to calculate the temporal evolution of the generalized coordinates:
Equation (16) defines the value of the normal force in terms of a given configuration of the string elements, i.e. the set of generalized coordinates si(t). Such equation, introduced in equation (15), defines the equation of evolution of the elements. Strictly, for the system to be well defined, it is necessary to know how to evaluate the Coulomb friction term {right arrow over (f)}ic.
In the prior art, only the situation in which the elements have non-zero speed is discussed. In this situation, it is possible to model the term Coulomb using its simplest expression:
where sign(x) is the sign function, and μd is the dynamic coefficient of friction. That is, the friction force is proportional to the modulus of the normal |Ni| and acts in the opposite direction (sense) to the movement, with an independent value of the speed module.
Sometimes this expression is sufficient to describe the system. However, its implementation does not enable contemplating the possibility of static solutions that are compatible with the configuration at a given moment in time. This means that it is possible that the string gets stuck, in which case the previous formula is no longer valid and the correct description would consist of an in equation, which must be verified together with the condition of static balance:
The correct description of the temporal evolution of the system, including the phenomenology of static and dynamic friction, is the following: if at one moment in time the speed of the i-th particle is not zero, the set of equations {(15), (16), (17)} must be used to make the variables evolve using some numerical method, as will be shown below. But if the speed is null, it must be verified if there is a value {right arrow over (f)}i*c that solves the system of equations:
0={right arrow over (f)}r,i+·
0={right arrow over (f)}r,i+·{circumflex over (n)}i+{right arrow over (f)}r,i−·{circumflex over (n)}i+mi{right arrow over (g)}·{circumflex over (n)}i+Ni (i=1,2, . . . ,N) (21)
under the restriction
|{right arrow over (f)}i*c|≤μe|Ni| (i=1,2, . . . ,N) (22)
where μe is the coefficient of static friction. If such value exists {right arrow over (f)}i*c, there is a static friction force compatible with balance, and therefore the evolution equations for the i-th element will be:
However, if there is no solution {circumflex over (f)}i*c, the i-th particle must be evolved again with the set {(15), (16), (17)}. In this case, as the particle will move immediately after being stopped, the way to regularize the sign function at the origin will not impact the dynamics of the system. In general, to consider both the predictive and the diagnostic problem, the regularization of the sign function given by the following will be taken:
where α is a dimensionless parameter hereinafter called “sign factor”. The results obtained to interpret the well measurements, or system design experiments will be in the limit α→0, i.e. convergence must be properly verified. As indicated above, any limited extension of the sign function will be useful for the predictive case. The model described herein, which is perfectly defined from the mathematical point of view, can be solved initially in a direct or reverse way (that is, both in predictive and diagnostic mode) by means of different methods, such as those that will be described later herein.
Predictive Mode
To solve the model in predictive mode (typically known as “direct model”), a boundary condition must be specified at each end of the string. Generally, at the surface the position of the polished rod is known based on the time S(t), for this can be deduced from the kinematics of the device. Downhole, however, a condition is imposed on the forces acting on the pump Fpump, for this condition can be inferred from the expected pressure values for the well and its operating characteristic (e.g. “filled pump”, “fluid shock”, etc.).
The solution of the system of equations describing the movement of the string enables the evaluation of the resulting force at the surface and the loads on the rods, and is therefore an essential tool for the design of the pumping installation.
To make the system evolve according to the algorithm in
s
−1(t)=S(t)−l0 (26)
s
N(t)/{right arrow over (f)}r,N-1+=kN-1(lN-1,N−l0){right arrow over (τ)}N-1,N (27)
so that S(t) y Fpump={right arrow over (f)}r,N-1+·{right arrow over (τ)}N-1,N have predetermined values. The ghost particle s−1 copies the polished rod position S(t) and there is displaced upwards in one element.
The predictive problem is a problem at initial values or Cauchy problem, that is, the position and speed of each element must be specified at the initial moment:
s
i(0)=Si∀i∈[0,N−1] (28)
{dot over (s)}
i
=V
i
∀i∈[0,N−1] (29)
These conditions and the dynamic equations determine all further evolution of the system. The evolution algorithm, as shown in
The force in the pump Fpump is generally chosen in such a way as to represent the situation of interest for the design of the pumping device. Generally, the case of “filled pump” and “fluid shock” will be tested as indicated below, with force values determined by the pressure at the pump inlet and discharge.
The method in predictive mode enables estimating physical magnitudes relevant to the system and to study their evolution.
In order to analyze the wear of the installations, it is interesting to consider some magnitudes of interest, such as the maximum normal force per cycle that the string experiences at each point, the work done by the Coulomb friction force in a pumping cycle and the number of stucking events that each string element experiences during a pumping cycle.
The maximum normal force per cycle experienced by each string element is defined as
Where P is the period of the pumping cycle and t0 is any time after reaching the condition of periodic movement.
The total work done by the friction force during a pumping cycle is given by
The number of stucking events per cycle for each of the elements is calculated by adding the amount of time intervals in which such element has zero speed and meets the static balance conditions of equations (20), (21) and (22). These time intervals can have a variable duration.
The following examples will illustrate the type of analysis of interest for the design of an artificial oil well lifting system.
The analysis for other particular cases will be very similar for the expert in production engineering.
The model in predictive mode can be used to calculate the surface force and correctly size the pumping device by calculating different scenarios that take into account all the phenomenology downhole. In addition, the pumping string may be subject to greater wear in the areas where the contact against the tubing is greater due to the well deviation. For this purpose, it is relevant to calculate dynamic quantities such as those indicated below, in order to evaluate the degree of mechanical risk.
During a pumping cycle there can be numerous stucking events.
The two merit figures previously described (work per cycle and stucking events per cycle) can be combined to analyze and diagnose wells that have been intervened due to mechanical problems and correlate the areas of greater wear.
The model for deviated well in predictive mode can be used to accurately calculate the error of the model for the vertical well that is usually embedded in commercially available automatic well control systems. For the examples previously analyzed, S-shaped and J-shaped, with a filled pump and fluid shock, in
These examples show that both the shape and the load range of the downhole card are totally distorted and could not be used for a proper diagnosis, making evident the need to use a deviated well model in the downhole diagnosis, such as the one used in the method of the present invention.
Diagnostic Mode
The method in diagnostic mode enables solving, in another order, the same system of equations of the mathematical model. The objective is to use the information measured at the surface to determine in a self-consistent way the dynamics of the string downhole. Given that the problem mechanically couples first neighbor elements, initially, knowledge of the temporal evolution of the (i−1)-th and i-th elements, enables the implicit calculation of the position of the (i+1)-th element in such a way that the balance of the amount of movement for the i-th particle is satisfied. Next, it will be shown under which conditions this inversion process is feasible and the type of difficulties originated by the Coulomb friction force.
Firstly, in the prior art it is assumed that the periodic actuation of the polished rod position over time always comes with a periodic force at the surface. When both static and dynamic friction forces are present, this is no longer an obvious hypothesis, since the force at the surface may lose its periodicity, even when the position remains periodic, as demonstrated by the presence of chaos in systems with a single periodically forced element constantly under Coulomb friction [B. Feeny and F. C. Moon. Chaos in a forced dry-friction oscillator: Experiments and numerical modelling. Journal of Sound and Vibration 170(3):303_323; G. Licsko and G. Csernak. On the chaotic behavior of a simple dry-friction oscillator. Mathematics and Computers in Simulation 95 pp. 55-62 (2014)].
Even assuming that both the surface force and the position of the first element are periodic, it is possible to find difficulties in the inversion process. To demonstrate this, a scheme similar to Everitt-Jennings' is considered, where the derivatives are replaced by their discrete second-order approximations, applied to the case in which static friction is possible, as shown in
When only dynamic friction is taken into account, the problem consists in implicitly solving the zero of the R(si+1(t)) function, given by:
where are the Fourier coefficients of the discrete representation of si, and j is the imaginary unit, so that j2=−1.
The resolution of the previous problem enables obtaining si+1(t) and therefore moving forward to arbitrary depths, in particular to the downhole pump. When the effect of static friction force does not have a significant impact at the surface card, it is possible to use this model to calculate the bottom variables and inferred magnitudes.
where pD is the pressure in the discharge and AB is the area of the pump piston. The pressure at the pump inlet defines whether the well is well exploited or not. For example, when the pump submergence associated with such inlet pressure is lower than 200 m, the well will typically be considered well exploited. Since the discharge pressure can be approximated by knowing the properties of the fluid column in the tubing, estimating f0 is equivalent to estimating the pressure at the inlet through the downhole dynamometer. When using the vertical well card, such as that obtained using the methods of the prior art, it is impossible to make the direct measurement of submergence, obtained for example by echometric, compatible with the inferred value. The left panel of
For this comparison, the f0 load range estimate obtained by means of the model of the present invention is validated with a direct measurement. In the analyzed cases of practical interest, the results of the model are coincident to the measurements exemplified above, as shown in
The regularization (25) of the sign function enables avoiding the generation of numerical error when the string changes its motion direction and the friction forces on the elements suddenly fluctuate in their direction. Even in synthetic cases such as those developed below, it is possible that noise persists and spreads by sequentially resolving the position of the particles.
Although almost every time the inversion process can be carried out without difficulty, it is desirable to have a technique that enables the complete elimination of the noise of the inversion process while keeping the error under control in the solution of the complete problem. A simple temporary filter applied at a given depth would not enable estimating if the dynamic effects actually existing are being eliminated.
Therefore, it is desirable to have a method that enables simultaneously controlling the noise and to invert the system of equations to calculate the downhole card. Such a method for use in diagnostic mode will be named “hybrid method” and will be described in the following section.
Diagnostic Mode: Hybrid Method
This method uses the inherent stability of the predictive problem, where boundary conditions allow a well-conditioned problem to evolve, to solve the diagnostic problem. The method involves using two phantom nodes s−1(t) y sN(t), which are specified for an auxiliary predictive problem. The s−1(t) node is determined by the position of the polished rod based on time, which is a data in the diagnostic problem. In contrast, the sN(t) node is expressed by a Fourier development in series, which coefficients are adjusted to predict the value of the force measured at the surface. For functionality, this series is truncated into a maximum number of harmonics of the fundamental period. Typically, with 50 harmonics a suitable description is achieved in cases of practical interest. In general, the function sN(t) will be parameterized, and the parameters defining it will be adjusted so as to reproduce the two surface measurements, polished-rod position and force.
The problem is a diagnostic one, since the solution found corresponds to the downhole series that generates the surface data being measured, but at each step of the search a predictive-type problem is explicitly solved. For this reason, the method is called “hybrid”: it is a method in diagnostic mode that uses the predictive mode as a core. Specifically, in a preferred embodiment of the present invention, the sN(t) series is represented by a truncated Fourier series development:
where M is the number of modes included in the sum. The boundary condition is parametrized by the coefficients which are used as variables to minimize the target function
Where F1 is the force data measured at the polished rod, and Flpred [] is the force on the polished rod calculated from the predictive model when downhole the phantom node coefficients are Downhole strength fl(d) at the time tl is used to control the noise, taking a penalty against its next value in tl+1 and weighing the full penalty term with a factor α that enables weighing the minimization of downhole noise vs. the regularization to the card at the surface. The sum over the discrete times tl is performed over a period of motion. Since the basic problem corresponds to the predictive mode, several cycles of piston movement must be calculated in order to eliminate the dependence on the initial conditions and eventually reach the stationary state. In this way, it is possible to solve the diagnostic problem using the predictive problem as the core. To search for the minimum of the function O, any algorithm that can find an overall minimum can be used. For example, a combination of methods based on descending in the direction opposite to the gradient can be used. The search starts from a point very close to the solution, since the method in diagnostic mode described in the previous section yields the correct solution at all points where the Coulomb force has already made the transition to a constant value.
When the hybrid method is applied to cases that present noise for the diagnostic mode of the previous section, it enables solving the aforementioned difficulties. In
Number | Date | Country | Kind |
---|---|---|---|
20190101435 | May 2019 | AR | national |