The invention relates generally to monitoring the conditions in a borehole of a subterranean well. Specifically, the invention is related to techniques for estimating material density within the annular space of a subterranean well.
Subterranean areas of interest beneath the surface are accessed through a borehole. The boreholes are surrounded by subterranean material, such as sand, that may migrate out of the boreholes with the oil, gas, water, and/or other fluids produced by the wells. A casing is inserted in a borehole and is held into place by cementing space between the outer surface of the casing and the surrounding earth. The borehole may also include other piping such as production tubing, and inner casing, and conductor casing inside the outermost casing. The fluid produced from the well flows to the surface through the production tubing. During the life of a subterranean well, the production tubing may have to be removed for repair and maintenance activities. There may also be a need to remove a portion or all of one or more of the other piping of the subterranean well.
The presence of sand and other particulate material may affect the functioning of various producing equipment, such as tubing, pumps, and valves. The particulate material may partially or fully clog the well thus reducing the fluid production capabilities of the wells. Maintenance of wells in such scenarios is expensive. The presence of the particulates in the hydrocarbon fluids from the wells necessitates additional processing at the surface thus increasing the cost of extraction of fluids.
Boreholes are suitably designed and constructed to prevent mixing of particulates with the fluids and are to be monitored for effectiveness of the design through the life of the well. Borehole design includes providing a perforated base pipe positioned proximate to the formation site of interest. A screen is disposed around the perforated base pipe and a coarse particulate material, such as sand, or proppants, which are typically sized and graded and collectively referred to as “gravel,” is disposed in the subterranean well between the screen and the borehole. The formation fluid flows through the screen and the gravel in the pack prevents formation fines and sand from flowing into the borehole and mixing with the produced fluids.
Over time, both distribution and density of the gravel in the borehole annulus can change for various reasons. For example, finer sand or other such particulate materials may enter and block the screen openings. The material of the gravel pack may be non-uniformly distributed due to borehole conditions such as non-uniform flow rates. During the formation of the gravel pack or during the operation of the well over an extended period of time, void areas may be created in the material around the borehole. Non uniform material distribution around the borehole would increase the possibility of introduction of particulate materials in the extracted fluid.
During the production of the fluid, drilling fluids fill the annular space between the concentric pipes. Particulates within the drilling fluids may precipitate within the annular space between two successive concentric pipes. Over a longer period of time, such particulates along with fluid and oil, may form a cement like substance that couples together the concentric pipes. Such coupling prevents removal of the inner pipes from the wellbore. In some situations, cutting tools are used to sever the pipes to enable removal of the production tubular, inner casing or other pipes. The pipes are to be cut at a depth above where the coupling is preventing the removal of the pipes.
The material of the borehole annulus is to be monitored continuously for effective prevention of mixing of the particulate materials with the fluid. Accurate estimation of material density in the annulus would help to foresee problems in the borehole and take effective steps at an optimal cost. There is a need to devise techniques for estimating the density of the material in the annulus in real time.
In accordance with one aspect of the present technique, a system for estimating the density of a material in an annular space is disclosed. The system includes a tool configured to be accommodated within and move within a channel of an inner conduit disposed within an outer conduit, the inner conduit and the outer conduit together defining an annular space containing a material characterized by one or more densities. The tool comprising a radiation source and a plurality of radiation detectors, the radiation detectors being configured to detect scattered photons resulting from interaction of the material in the annular space with radiation from the radiation source. The system includes a data transmission device coupled to the plurality of radiation detectors and configured to transmit detector data. The system also includes one or more computer processors linked to the data transmission device and configured to receive the detector data and generate a set of Monte Carlo simulations. The set of Monte Carlo simulations are based on the geometry of the inner and outer conduits, the composition of the inner and outer conduits, the relative location of the tool with respect to the inner and outer conduits, the geometry of the tool and a set of hypothetical materials of different densities filling the annular space and the space inside the inner conduit. The one or more computer processors are further configured to use the set of Monte Carlo simulations to fit one or more polynomial models to the detector data. The polynomial models are defined as a function of the density of the material in particular sections of the annular space, the tool's angular location within the inner conduit and the minimum gap separating the inner and outer conduits. The one or more computer processors are also configured to estimate the density of the material in the annular space at one or more locations within the annular space based upon the polynomial models and the detector data.
In accordance with another aspect of the present technique, a method implemented by one or more computer processors for estimating the density of a material in an annular space is disclosed. The method includes receiving detector data representative of scattered photons resulting from interaction of a material in an annular space with radiation from a radiation source and detected by a plurality of radiation detectors. The radiation source and the plurality of radiation detectors are part of a tool configured to be accommodated within and move within an inner conduit disposed within an outer conduit, the inner conduit and the outer conduit together defining the annual space. The method further includes performing a set of Monte Carlo simulations and generating polynomial models of the detector data based on the set of Monte Carlo simulations. The set of Monte Carlo simulations are based on the geometry of the inner and outer conduits, the composition of the inner and outer conduits, the relative location of the tool with respect to the inner and outer conduits, the geometry of the tool and a set of hypothetical materials of different densities filling the annular space and the space inside the inner conduit. The polynomial model is a function of the density of the material in particular sections of the annular space, the tool's angular location within the inner conduit and the minimum gap separating the inner and outer conduits. The method further includes estimating the density of the material in the annular space at one or more locations within the annular space based upon the polynomial models and the detector data. The method also includes receiving one or more estimated densities of the material in the annular space.
In another aspect of the present technique, a non-transitory computer readable medium having instructions is disclosed. The instructions enable one or more computer processors to receive detector data representative of scattered photons resulting from interaction of a material in an annular space with radiation from a radiation source and detected by a plurality of radiation detectors. The radiation source and the plurality of radiation detectors are part of a tool configured to be accommodated within and move within an inner conduit disposed within an outer conduit, the inner conduit and the outer conduit together defining the annual space. The instructions enable the one or more computer processors to perform a set of Monte Carlo simulations based on the geometry of the inner and outer conduits, the composition of the inner and outer conduits, the relative location of the tool with respect to the inner and outer conduits, the geometry of the tool and a set of hypothetical materials of different densities filling the annular space and the space inside the inner conduit. The instructions also enable the one or more computer processors to generate polynomial models of the detector data based on the set of Monte Carlo simulations, wherein the polynomial model is a function of the density of the material in particular sections of the annular space, the tool's angular location within the inner conduit and the minimum gap separating the inner and outer conduits. The instructions also enable the one or more computer processors to estimate the density of the material in the annular space at one or more locations within the annular space based upon the polynomial model and the detector data.
These and other features and aspects of embodiments of the present invention will become better understood when the following detailed description is read with reference to the accompanying drawings in which like characters represent like parts throughout the drawings, wherein:
Embodiments discussed herein disclose a system and a method for estimating density of a material in an annular space using a logging tool. The annular space formed by an inner conduit and an outer conduit of the wellbore. Disclosed embodiments include receiving detector data representative of scattering events resulting from interactions of a material in the annular space with radiation from a radiation source and detected by a plurality of radiation detectors. The embodiments also include transmitting the detector data to one or more computer processors for determining the density of the annular material in specific locations. The embodiments also disclose techniques for determining one or more geometric variables associated with the annular space such as the angular location and the minimum gap of the logging tool. The one or more processors are configured for performing a set of Monte Carlo simulations based on the dimensions of the conduits, the composition of the conduits, the relative location of the tool with respect to the conduits, the geometry of the tool and a set of hypothetical materials of different densities filling the annular space and the space inside the inner conduit. The one or more processors are also configured for generating polynomial models of the detector data based on the set of Monte Carlo simulations and estimating the density of the material in the annular space at one or more locations within the annular space based upon the polynomial models and the detector data.
The term ‘tool’ used herein refers to a logging tool in a borehole of a subterranean well such as an oil well. The tool is designed and configured to acquire data related to the material in the annular space of the well. The term ‘material’ refers to drilling fluid and other particulates that precipitate out of the drilling fluid and other such substances encountered in the borehole environment. The term ‘scattering events’ refers to the inelastic scattering such as Compton scattering. The terms ‘detector data’ and ‘count rate’ refer to photon measurements acquired by the detectors of the scattering events in units of counts per unit time. The term ‘well parameters’ refers to dimensions of the borehole geometry and the radius of the tool. Specifically, the term ‘well parameters’ also include the dimensions of the conduits, the composition of the conduits, the relative location of the tool with respect to the conduits, the geometry of the tool and a set of hypothetical materials of different densities filling the annular space and the space inside the inner conduit. The term ‘angular location’ refers to the location of the tool relative to the inner conduit and is specified by angle 308 in
A data transmission device 106 is coupled to the plurality of radiation detectors by electric cable 116 and configured to transmit detector data to the system 108. In an exemplary embodiment, the system 108 includes a preprocessor module 118, an estimator module 124, a Monte Carlo Simulator 120, a model generator 122, one or more computer processors 126, and a memory module 128. Embodiments of the disclosed technique store at least one of the modules 118, 120, 122, 124 in the memory module 128 and executed by the one or more computer processors 126. In some embodiments, at least one of the modules 118, 120, 122, 124 is a standalone hardware module co-operatively interacting with the other modules. The modules may be co-located in a same physical location or may be disposed in different locations interconnected by a communication link. In the illustrated embodiment, the communication bus 138 is a communications link establishing bi-lateral data transmission among modules, one or more processors 126, and the memory module 128. In other embodiments, the communication bus 138 may be a wired communication link or a wireless link.
The preprocessor module 118 is communicatively coupled to the transmission device 106 and configured to receive detector data 132 representative of density of the material in the annular space. The preprocessor module 118 is further configured to perform tool face correction. In one embodiment, the detector data is processed based on the tool face offset. In some embodiments, the preprocessor module 118 is configured to perform a low pass filtering of the detector data to reduce transient noise effects. The preprocessor module 118 may also perform various other signal conditioning operations on the detector data such as normalization, and rejection of outlier values.
The Monte Carlo Simulator 120 is communicatively coupled to the memory module 128 and is configured to retrieve the dimensions of the conduits, the composition of the conduits, the relative location of the tool with respect to the conduits, the geometry of the tool and a plurality of density values corresponding to a set of hypothetical materials of different densities filling the annular space and the space inside the inner conduit from the memory locations. The Monte Carlo Simulator 120 is further configured to generate a set of Monte Carlo simulations based on the information retrieved from memory. In exemplary embodiment the simulations are performed by using Monte Carlo N-Particle (MCNP) transport code to simulate the response of the tool. The MCNP code uses a plurality of parameters and a set of hypothetical material of different densities to generate a coarse response surface representative of the count response of the tool. The data generated by the Monte Carlo simulations is referred herein as Monte Carlo simulations data.
The model generator 122 is communicatively coupled to the Monte Carlo Simulator 120 and configured to generate a model for estimation of the density of the material in the annular space, the angular location, and the minimum gap. In one embodiment, the model generator is configured to approximate the coarse response surface by fitting a multivariate polynomial function. Specifically, the model generator 122 is configured to select a polynomial model and then solve for a plurality of coefficients of the polynomial model. The polynomial model is selected as a function of the density parameter, the angular location, and the minimum gap. In another embodiment, the model generator is configured to determine a projection operator based on the simulation data. The projection operator projects the detector data into a subspace having a model as a function of the density parameter of the material in the annular space. In one embodiment, the projection operator is determined based on the singular value decomposition of a matrix generated using the detector data. In alternative embodiments, other methods such as QR decomposition and linear regression techniques are used to determine the projection operator.
The estimator module 124 is communicatively coupled to the preprocessor module 118 and the model generator 122 and configured to generate an estimate of density value 130 for the material 136 in the annular space 134. In one embodiment, the estimator module 124 performs an optimization technique to generate an estimate of the density value 130. An objective function based on the polynomial model for the detector data is used in the optimization technique. In another embodiment, the estimator module 124 determines the density value based on a polynomial inversion operation. In one embodiment, the polynomial inversion operation is performed using a look up table stored in the memory module 128. The projected detector data is used to retrieve a density value using the look up table. The look up table stores pairs of values corresponding to the projected detector data and the density values.
The one or more processors 126 includes at least one arithmetic logic unit, a microprocessor, a general purpose controller or a processor array to perform the desired computations or run the computer program. In one embodiment, the functionality of the one or more processors 126 may be limited to acquire the detector data. In another embodiment, the functionality of the one or more processors 126 may be limited to perform Monte Carlo simulations. In another embodiment, the functionality of the one or more processors 126 is limited to model generation. In one embodiment, the functionality of the one or more processors 126 is limited to estimating the density value of the material. In some exemplary embodiments, functionality of the one or more processors 126 include one or more of the functions of the preprocessor module 118, the Monte Carlo Simulator module 120, model generator 122 and the estimator module 124. While the one or more processors 126 is shown as a separate unit, there can be a processor co-located or integrated in one or more of the modules 118, 120, 122, 124. Alternatively, the one or more processors 126 can be local or remote, such as a central server or cloud based, with the communications bus 138 can be wired, wireless or a combination thereof.
The memory module 128 may be a non-transitory storage medium. For example, the memory module 128 may be a dynamic random access memory (DRAM) device, a static random access memory (SRAM) device, flash memory or other memory devices. In one embodiment, the memory module 128 may include a non-volatile memory or similar permanent storage device, media such as a hard disk drive, a floppy disk drive, a compact disc read only memory (CD-ROM) device, a digital versatile disc read only memory (DVD-ROM) device, a digital versatile disc random access memory (DVD-RAM) device, a digital versatile disc rewritable (DVD-RW) device, a flash memory device, or other non-volatile storage devices. In one specific embodiment, a non-transitory computer readable medium may be encoded with a program to instruct the one or more processors 126 to generate a density value.
The method further includes modeling the detector data by a mathematical function. A polynomial function is selected as the mathematical object for modeling the detector data 612. In particular, the detected data is modeled by:
where, the detector data fi,d corresponds to detector d operating in an energy window i and n=k-l-m. The order of the polynomial is given by p, {almn} are the coefficients of the polynomial and the independent variables are ρd, δd and νd. The symbols δd and νd are radial distances and ρd is the density of the material in the annular space in the field of view of detector d. The distance νd is a function of two variables representing the minimum gap between the inner and outer conduits g and an angle φ representative of location of the tool inside the inner conduit. Thus the model can either be described as fi,d(ρd, δd, νd), or as fi,d(ρd, φ, g).
Given a set of Monte Carlo simulation data for various values of ρd, φ, and g, the model forms a linear system of equations. The matrix equation is given by:
with ri,d is a real number denoting a Monte Carlo simulated response of detector d in energy window i. The symbol T denotes transposition operator and N is the dimension of the vector r,i,d. It should be noted herein that the vector r,i,d is acquired for a fixed set of N triplets {(ρd, φ, g)n, for n=1 to N}. The dimension of ai,d is 1×K and the dimension of Hd is N×K.
The polynomial coefficients are determined by solving the linear system of equations given by Equation (2). In one embodiment, a singular value decomposition of the matrix Hd representing the well parameters is used to determine the least squares solution for the polynomial coefficients ai,d. Alternate embodiments employ other techniques for determining the polynomial coefficients.
The method of determining the density values and φ, and g includes selecting an objective function based on the detector data and the polynomial model 606. In one embodiment, the objective function is the squared error between the detector data and the polynomial function:
J(ρd,φ,g)=(xi,d−fi,d(ρd,φ,g))2 (6)
where, xi,d is an observed detector response and fi,d is the modeled response. An optimization technique is used to minimize the objective function to provide estimates of ρd, φ, and g 608. It should be noted herein that other objective functions may also be used in the optimization technique. In one embodiment, the minimization of the objective function is performed by a gradient descent method. The optimization problem is given by:
where, circumflex accent ({circumflex over (0)}) represents estimate of an associated parameter obtained by the optimization technique. Other minimization methods such as recursive least squares and least mean square algorithm may be used in other exemplary embodiments.
In another exemplary embodiment, detector data from a plurality of detectors is used to determine the density of the material. In this embodiment, the matrix equation (2) is given by:
ri=Hai (8)
where, ri=[ri,1 ri,2 . . . ri,6]T, ai=[ai,1 ai,2 . . . ai,6]T and H=[H1 H2 . . . H6]T with ri,k representing response of kth detector for the ith energy window, ai,k representing the coefficients of the polynomial model fi,k. In one embodiment, the objective function for optimization is selected as:
where, xi,d is the detector data from detector d in energy window i and fi,d is the modeled detector data. The optimization minimizes the objective function of Equation (9) and determines six density values corresponding to the detector response from six detectors of the tool.
A subspace of the detector data is determined based on the Monte Carlo simulation data as described herein. A data matrix M having a dimension of N×3 is constructed using Monte Carlo simulation data corresponding to one of the plurality of detectors. The columns of the matrix M are simulated response values from the three energy windows and the rows represent responses for different combinations of parameter values (ρd, φ, g). The subspace is determined by using principal component analysis of the data matrix M. In one embodiment, the principal component analysis is performed using a singular value decomposition of the matrix M as:
M=Q1ΣQ2 (10)
where, columns of Q2 form a basis for the row space of M and the columns of Q1 for a basis for the column space of M. The matrix Σ representing a diagonal matrix having singular values as diagonal elements. The dimension of the matrices Q1, Q2, and Σ are N×N, 3×3 and N×3 respectively. The matrix Q2 has three column vectors corresponding to the three singular values. In other embodiments, the principal component analysis is performed using other techniques such as covariance method and spectral analysis methods. A subset of the plurality of singular vectors of the matrix Q2 determines the subspace.
In one exemplary embodiment, the subspace corresponds to a span of the singular vector corresponding to the largest singular value. In another embodiment, the subspace corresponds to a span of two singular vectors corresponding to the two largest singular values. A matrix P having selected singular vectors as columns is a projection operator corresponding to the subspace. As an example, when a singular vector q corresponding to the largest singular value is considered, the projection operator P is equal to column vector q. The Monte Carlo simulation data is projected on to the subspace P in the step 712. The projected simulation data is given by
Y(ρd)=Mq (11)
where, Y is the projected simulation data with each row representing a point. It should be noted herein that techniques such as principal component analysis (PCA), independent component analysis (ICA), wavelet analysis, and frequency spectrum analysis may be used to determine an appropriate subspace. The projected simulation data is considered as a function of the density. A polynomial of suitable order is selected and a plurality of coefficients of the polynomial is determined based on the projected data 714. As an example the polynomial is represented by:
y(ρd)=c1ρd3+c2ρd2+c3ρd1+c4 (12)
where, the constants c1, c2, c3, and c4 are determined based on the Monte Carlo simulation data and y representing projected data for known values of density parameter ρd. The determination of the plurality of coefficients is based on fitting of the polynomial to the projected data.
The detector data is projected on to the subspace 706 determined in the previous step 712. If the detector data is represented by a row vector fd, the projected detector data is denoted by the matrix fdq to generate a projected data value y. An inverse operation is performed using the Equation (12) based on the projected data value y to determine an inverse image of the polynomial function. The inverse operation using the polynomial of Equation (12) determines an estimate of the density value 708.
In another embodiment, a plurality of detectors are used to estimate the density parameter of the material. The data matrix M is augmented by concatenating additional columns of detector data acquired by additional detectors. As an example, when two detectors are used, the dimension of the matrix M is N×6. The first three columns contain data from first detector for the three energy windows. The last three columns contain data from the second detector for three energy windows. In an exemplary embodiment, when six detectors are used, the dimension of the matrix M is N×18. In general, when D detectors are used, the dimension of the matrix is N×3D. The augmented data matrix M is used to generate a suitable linear subspace based on the principal component analysis as explained in previous paragraphs. One or more density estimates are determined within the linear subspace by in inverse operation.
While only certain features of embodiments have been illustrated and described herein, many modifications and changes will occur to those skilled in the art. It is, therefore, to be understood that the appended embodiments are intended to cover all such modifications and changes as falling within the spirit of the invention.