Not Applicable
Not Applicable
Not Applicable
1. Field of the Invention
The invention pertains to the field of oil and gas well productivity modeling, and more particularly, to modeling the relationship between pressure gradient and fluid flux for the well and the surrounding hydrocarbon reservoir. More specifically, the invention relates to well productivity modeling for advanced well designs and to well connections for complex wells in numerical reservoir simulation methods.
2. Description of Related Art
The field of reservoir engineering includes modeling the capacity of wells to inject or withdraw fluids and the sustainability of production rates. The finite size and shape of hydrocarbon reservoirs dictates the long term relationship between withdrawal rate and pressure decline. Well equations try to capture this relationship for the dominant time period of well operation, known as the pseudo-steady state regime, as a function of reservoir characteristics and well properties, such as well radius and well location. Well equations are traditionally constructed for single phase flow and suitably modified through introduction of empirical relative permeability concepts for multiphase flow use. With adequate well models, numerical reservoir simulation is used to place wells optimally (U.S. Pat. No. 7,181,380).
Early use of well equations was based upon mathematical solutions to the governing equations, but these were amenable for only the simplest of reservoir descriptions and well configurations. The industry turned to numerical methods and computers to solve the governing equations with more complex inputs. Examples of such simulation methods are found in U.S. Pat. No. 7,369,973, U.S. Pat. No. 7,324,929, U.S. Pat. No. 6,810,370, and U.S. Pat. No. 7,289,942. However, the physical size of a wellbore, nominally 6 inches, is far below the resolution of most numerical reservoir simulations. As such, the industry relies upon so-called well equations to relate the properties of a reservoir grid cell to observables, i.e. pressure and flow rate, for a well within the cell. Well equations, pioneered by Peaceman (1978, 1983), were constructed from fine scale numerical simulations for use at the practical scale, and as such, entertained only a small subset of possible configurations. In order to capture smaller scale effects, some practitioners use local grid refinement around wells (U.S. Pat. No. 6,907,392, U.S. Pat. No. 7,047,165, U.S. Pat. No. 7,451,066, U.S. Pat. No. 6,078,869, U.S. Pat. No. 6,018,497), dramatically increasing the computational overhead with greater risk of problem numerical stability.
The application of horizontal drilling technology made the prior set of well equation rules obsolete, as hydrocarbon reservoirs are typically laterally extensive but thin. The proximity of reservoir boundaries in horizontal wells required new relationships. The industry returned to mathematical solutions of the governing equations to redefine well equations. While breakthroughs in modeling were found, this next generation of mathematical solutions was not without limitations regarding complexity of reservoir description and allowed well configurations. Prior art (Babu and Odeh, 1989) restricted the solution to the case where the well was aligned with a coordinate axis. As such, solutions were restricted to purely horizontal or vertical wells, and not the general slanted well of arbitrary inclination. Slanted wells were approximated by stair-step assembly of horizontal and vertical segments or by restricting well orientation (Jasti, Penmatcha, and Babu, 1999). These equations also applied to the reservoir as a whole and could be localized for use in simulations only for uniform numerical grids in a homogeneous reservoir (Babu et al., 1991). Furthermore, the computational time can be a burden in numerical schemes for certain sets of input parameters (Aavatsmark and Klausen, 2003). As mathematical solutions to differential equations, the models are specific to boundary conditions imposed at the physical limits to the reservoir. The boundary condition most often imposed is that of a sealed system; however, many reservoirs have leaky sides through which the influx of water is possible, resulting in delayed pressure decline. Older models exist for so-called bottom and edge water drive mechanisms; however, there is a need to account for these options in advanced models. The industry typically defers to numerical simulation methods to incorporate these effects locally rather than globally. The restriction of analytic solutions to homogeneous systems has been somewhat overcome through the use of boundary integral methods to solve for pressure in a piece-wise homogeneous fashion (Hazlett and Babu, 2005). Still, prior art using semi-analytical solutions did not entirely replace the older Peaceman-type methods using empirical well connections. Others, (Aavatsmark & Klausen, 2003; Wolfsteiner et al., 2003), have developed well equations for nonconventional wells based upon analytic solutions for infinite homogeneous systems and incorporated these into numerical schemes, but the proximity of boundaries and reservoir heterogeneity will lead to undesirable error.
There is a need for simple analytic productivity equations which can model the entire reservoir for different combinations of boundary conditions. It would be highly desirable to have a well productivity model which could quickly and accurately model pressure and flow rate for an arbitrary number of wells of arbitrary trajectory or of complex, multiple wellbore configuration for various imposed reservoir boundary conditions.
There is further need to embed a fast-computing, accurate well equation in a numerical reservoir simulation capable of modeling wells of arbitrary trajectory or of complex, multiple wellbore configuration below the resolution of the simulation. It would be highly desirable to have such a well productivity model which could restrict attention locally to the cell containing the well without loss of generality or accuracy.
The invention comprises the reduction of a generalized equation describing the productivity of an arbitrarily oriented well segment within a subterranean fluid reservoir to a readily useable form and subsequent use of this new formula to accomplish new tasks, such as, but not limited to, productivity modeling of wells of arbitrary trajectory, including those with multiple intersecting wellbores. The invention also encompasses the interlacing of the new well equation in numerical reservoir simulators with wells below the resolution of the grid system used to define the reservoir size, shape, and heterogeneous property distribution. The invention is capable of accurately modeling multiple wells simultaneously with sealed boundaries or with permeable boundaries through use of boundary integral equations. The invention is robust and adaptable to well constraints on either flux or pressure. The invention applies also to two-dimensional simulation in thin reservoirs where horizontal and slanted wellbores behave as vertical, fully penetrating fractures with the orientation of their projections onto the XY plane. The invention represents an unprecedented level of accuracy and flexibility in modeling wells with significant time savings over prior art in the combined use of purely analytic and highly accurate approximations to rapidly convergent infinite series summations. At the computational level, the derived formulas are characterized by either polynomial expressions or exponentially-damped infinite series.
a unit cube of isotropic permeability for an XZ slice containing a well represented by a uniform flux line source with well endpoints (x1, y1, z1)=(0.25, 0.50, 0.25) and (x2, y2, z2)=(0.75, 0.50, 0.75): (a) Partially penetrating well configuration, and (b) Pressure distribution for the XZ plane containing the well shown with a banded look-up table in order to easily visualize isopotential contours.
The invention pertains to solutions to the three-dimensional Poisson's equation, given in a Cartesian coordinate system as
Here, (kx, ky, kz) denote the directional permeabilities of the medium through which fluid moves, and the right-hand side (RHS) indicates a source or sink. In particular, this invention pertains to a fast method to compute the solution for a line source term representing a well with arbitrary three-dimensional orientation within a sealed, rectangular, box-shaped cell. The computation is further generalized to represent a cell of spatially invariant properties within a larger heterogeneous reservoir system decomposed into intercommunicating blocks. The source is represented by a straight line of length L, with endpoints (x1, y1, z1) and (x2, y2, z2), located within the box as illustrated in
(x0,y0,z0)≡[(x1+αs),(y1+βs),(z1+γs), 0≦s≦s—L], (2)
where the parameter “s” measures the distance along its length from one end. In terms of the Dirac delta function, δ, the RHS source term is represented as
f(x,y,z;x0,y0,z0)˜δ(x−x0)·δ(y−y0)·δ(z−z0) (3)
The solution of Equation (1) for potential and Neumann (zero flux) boundary conditions is given by integration of the point source solution along the path defined by Equation (2). Potential is interpreted as pressure once gravitational forces are included.
is required to reconcile units. On the RHS of Equation (4), the point source solution consists of one triple infinite series (SXYZ), three double infinite series, (SXY, SYX, SYZ), and three single infinite series (SX, SY, SZ). The triple infinite series, SXYZ, is given as
The double infinite series, SYZ, is given as
Analogous series SXY and SXZ are obtained by change of variables. The single infinite series, SX, is given as
Analogous series SY and SZ are obtained by change of variables.
The invention is not the delineation of Equation (4), but rather the reduction of these very slowly converging triple and double infinite series to readily computable parts for practical application. Any source term in Equation (4) without a dependency upon the integration parameter, s, is recognized as a trivial case, e.g. a well aligned with a principal axis, and is covered by developments in the public domain. The preferred embodiment of this invention would screen out the special cases where alternate computation schemes are advantageous, though these situations are tractable with the general formulas given, provided routine precautions are taken to avoid fatal computational errors, such as division by zero. For completeness, guidance regarding alternate schemes for these special cases is provided in a later section. The complementary solution with Dirichlet (constant pressure) boundary conditions is recovered by replacing all cosine terms with sine counterparts. Constant pressure conditions are especially relevant to cases of strong aquifer (large connected water reservoir) pressure support of hydrocarbon reservoirs. The Neumann case is further generalized herein to include material transport into or out of the cell through use of Green's Theorem and boundary integral equations.
For ease of notation, we divide the integral in Equation (4) into subintegrals.
P(x,y,z;x1,y1,z1;α,β,γ,L)−
The grouping of terms recognizes that certain expressions developed will contain lower dimensional series, eliminating the need for separate computations.
Beginning with the most complicated term of Equation (9), IXYZ, from Equations (2), (4), and (6), we have
Next we reduce the triple series to a double series and then integrate with respect to s. Rearranging and using the identity, 2 cos A cos B=cos(A+B)+cos(A−B),
Applying the identity,
0≦z≦2, and rewriting the hyperbolic functions in their exponential forms, we get
where the symbol “±” is used to denote the sum of two terms: one with the plus sign and the other with the minus sign. Here, the two “±” terms arise from the two cosine terms in the inner sum of Equation (11). We immediately identify the integral of second sum in Equation (12) as IYZ, eliminating the need for a separate expression.
Note: If we restrict our attention to geometries with orientations such that
we note that, for m,n=1, 2, 3,
Thus, we can drop the exponential term in the denominator of Equation (12) with no practical loss of accuracy. This allows analytical reduction of the integral. We rewrite Equation (12) as
If we introduce the shorthand notation,
Using the identity
we evaluate the integrals I1, I2, I3, and I4. Integration of the first two terms, I1 and I2, is straightforward.
Integration of I3 and I4 is also straightforward if x<x1 or x>x2. However, within the well interval x1≦x≦x2, the integral is split to correctly represent absolute values.
Integrating and simplifying, we obtain the general expression
where the Heavyside function, H(x−xi), was introduced to capture the first term only when x is within the interval, [x1,x2]. Following a similar approach and dropping the exponential term,
We have thus derived fast-computing formulas for the integrals, (IXYZ+IYZ), involving the triple infinite series (SXYZ+SYZ) of Equations (10) and (13), using Equations (20), (21), (23), and (24).
Recalling IYZ is exactly cancelled by a term in IXYZ, we focus on the terms (IXY+IY) and (IXZ+IZ). Fast-computing terms for the double infinite series could be accomplished by following a similar procedure; however, they can more easily be obtained as special cases of the prior development. For example, taking n=0, eliminates the series in z. We note that the coefficient automatically takes on ½ values by omitting the repetition of “±” when n=0. Thus, with n=0 (and z absent) in Equation (13), we get
or, in terms of the exponential functions used in Equations (20-24), with
where ξk was simplified by setting n=0, and
We get an analogous expression for (IXZ+IZ). Thus, with m=0 (and y absent), in Equation (13)
where Fjs are as previously defined with m=0.
Note that the first sums of the RHS of Equations (26) and (28) admit polynomial formulas, recognizing
The integration of single series solution, SX, is straightforward.
In summary, the pressure at an arbitrary observation point (x, y, z) in a sealed 3-D box with spatially invariant, but possibly anisotropic, permeability (kx, ky, kz) due to a line source segment of unit strength from (x1, y1, z1) to (x2, y2, z2) is given by Equation (9) and the combination of elements reduced to easily computable expressions represented by Equations (13, 20, 21, 22, 23, 24, 26, 28, 29, and 33). To illustrate, the dimensionless pressure distribution
for the central XZ slice in the plane containing a well with endpoints (x1, y1, z1)=(0.25, 0.5, 0.25) and (x2, y2, z2)=(0.75, 0.5, 0.75) in a cube with isotropic permeability is shown in
The two-dimensional case is also of practical interest and is recognized as a contained embodiment of the above development. When the Neumann function for a point source is integrated along a linear segment in the XY plane (which constitutes a planar source in 3-D), we merely pick up a subset of the developed terms for three dimensions.
P(x,y;x1,y1,α,β,L)−
The 2-D result is particularly useful in modeling of fractured wells or inclined wells in thin reservoirs for dimensionless values of the ratio
exceeding 5.
The cited model equations have been coded into a software package and reduced to practice. Of particular interest is the observation point a distance rw, the well radius, from the mathematical line sink. Of historical interest has been the value at the midpoint of the well (see
is represented by the equation
α(x−xm)+β(y−ym)+γ(z−zm)=0 (36)
Points on this plane a radial distance equal to the well radius, rw, from the midpoint are given by
(x−xm)2+(y−ym)2+(z−zm)2=rw2 (37)
In one embodiment of this invention, we take a limited number of such points, setting successively x=xm, y=ym, and z=zm, yielding the observation points
We recommend taking an average of unique observation points for each segment and averaging those, if desired, to get an overall representative average for a well composed of multiple segments.
A well trajectory can be approximated by any number of linear segments. By the superposition principle, the effects of all such line source segments on the pressure at an observation point (x, y, z) are additive. Thus, for any number of line source segments, Nseg, within the box, we can write the expression for pressure as
The method where multiple line segments approximate an arbitrary wellbore trajectory and act in unison to determine the pressure distribution has been reduced to practice. In
The segmented well can be further modified to describe the case where pressure rather than flux is specified. Using a constitutive relationship between pressure drop and flow rate within a well, one can pose and solve a set of equations to describe the pressure distribution along a well with unknown segment flux but known overall production rate, as illustrated in
Alternatively, uniform pressure cases can be readily evaluated using a direct iterative procedure. A uniform flux initial guess returns the productivity index for each segment. The reciprocal of the computed productivity index is normalized and used as the updated flux. The process is repeated until convergence. Multiple passes are required only to account for well interference effects. The described iterative procedure has been reduced to practice in software to give the flux in each well segment. The solver can likewise be bypassed in finite conductivity well cases by computing a productivity index for each segment with a uniform flux initial guess, computing the flux required to give the specified pressure drop along the well segment using a constitutive equation, such as that for pipe flow using friction factor concepts, and repeating the process until convergence.
The Neumann function solution can be further generalized to include material transport at the faces of the rectangular cell using Green's Theorem. In this method, the equation becomes
where {right arrow over (x)} is the observation point location, qo is a reference production rate, qwi is the production rate for segment i, NL are the Neumann functions for the linear segments ({right arrow over (x)}L,{right arrow over (x)}2i), and the product of the normal flux, g(σ), and point source Neumann function, No, is integrated over open boundary surfaces, S. Equation (40) is especially relevant for the choice of observation point for well pressure characterization, {right arrow over (r)}w. If all six faces were open for material transport, the integration would be broken into six separate integrations, one for each face. Partial integrations are allowed with the flux defined to be zero (and hence noncontributing) on closed portions of the boundary. The integrations in Equation (40) can be estimated numerically by any one of a variety of standard techniques, such as Gaussian quadrature or the trapezoidal rule. In this fashion, pressure support to the cell by water influx is accommodated. Flux can be easily included from any of the faces to model physical cases. In this invention, the fast computing Equation (9) is used for NL.
In the limit of strong aquifer support, the pressure at the boundary remains constant, as water is supplied to fully account for fluid withdrawn from the cell via the well. In the strong aquifer limit, the Green's function is recommended over the Neumann function. The derivation is repeated for the analogous case with Sine functions in place of Cosines in Equations (6), (7), and (8).
An important special case is that where the flux is presumed to be uniformly distributed across a fully open face. In traditional numerical reservoir simulators, only a single value of flux is associated with each planar interface of adjoining cells, as illustrated in
Similar expressions apply for the other five faces with switch of variables and the dummy variable, x, representing the normal distance to the face over which the Neumann function is integrated.
Of particular commercial interest is when the rectangular cell is a well block within a numerical reservoir simulation. The invention can then be used to describe well productivity (the relationship between pressure and production rate) for any complex well trajectory or wellbore cluster below the resolution of the simulation. The invention can be used for explicit computation of well properties or as feedback for an ongoing numerical simulation as a constraint on the pressure or total flux for the well block.
Accordingly, it is to be understood that the embodiments of the invention herein described are merely illustrative of the application of the principles of the invention. Reference herein to details of the illustrated embodiments is not intended to limit the scope of the claims, which themselves recite those features regarded as essential to the invention. For example, time-dependent character has been excluded here since historically well equations have been constructed for the pseudo-steady state regime. Time dependency is easily reintroduced, as shown in Jasti et al. (1999), since singularities occur in space rather than time. Thus, inclusion of temporal extension of the embodiment is considered from a patent standpoint as logical and obvious. Likewise, potential and pressure have been used interchangeably in the development herein. The solutions are actually in terms of potential, with pressure being the commonly measured property. Potentials are routinely converted to pressures, as any skilled in the art would know, with the inclusion of gravitational forces. This is particularly relevant to pressure relationships for flow within a non-horizontal wellbore where gravitational head is an important contribution to the driving force for flow.
When the wells are oriented strictly parallel to one of the coordinate axes (horizontal and vertical wells), two of the direction cosines (α, β, γ) become zero. In such limiting cases, Equations (26, 28, and 33) will present computing and coding challenges. By a proper grouping of the terms, and some algebraic simplifications, the relevant computations can be handled. Slow convergence rates often are the challenge in these limiting cases. Alternately, direct methods based upon components from published literature are available to address such simpler version of the general problem (Gradshteyn and Rhyzik, 1980; Muskat, 1949; Babu and Odeh, 1989). For example, consider the following infinite series Bessel function solution to the Laplace Equation given by Muskat (1949, p. 208).
This equation describes fluid flow due to a point sink/source at (r=0, z=z0) in a slab-like reservoir of thickness h, extending laterally to infinity, and with impermeable top and bottom boundaries (z=0, z=h). The convergence of the series in Eq (42) is extremely fast, and in most cases, only a few terms of the series are needed to achieve highly accurate results.
Integration with respect to z0, from z1 to z2, solves the problem of a partially penetrating vertical well. Problems of partially penetrating wells in rectangular box-shaped (bounded) reservoirs can be addressed by summing up all reflections of K0 across the sides of the rectangle. Change of variables, between (x, y, z), will solve problems of horizontal wells parallel to coordinate axes.
Next, to deal with small magnitudes of the variables (r/h) or (z/h), in Eq (42), the following expansions are available (Gradshteyn and Rhyzik, 1980).
For fast computations involving Equations (26) and (28) in the case of degenerate (limiting) versions of the general problem, the following formulas facilitate switching between the two types of series: Eq (42) in K0, and the trigonometric series of Eqs (26) and (28). To separate variables α and β, use the integral (Gradshteyn and Rhyzik, 1980, p. 732)
In summing series that converge extremely slowly, we use the spectral representation of the Dirac Delta function, in conjunction with Eq (44), and subsequently achieve rapid convergence rates.
While elements leading to fast converging formulas for pressure computation in special case well orientations exist in the public domain, we incorporate the method of using these identities in tandem as a preferred embodiment of handling also the special cases as limiting simplified versions of this invention.