The present disclosure generally relates to a tool for determining a refractive index and concentration of carbon dioxide of a formation fluid using attenuated total reflection.
This section is intended to introduce the reader to various aspects of art that may be related to various aspects of the present techniques, which are described and/or claimed below. This discussion is believed to be helpful in providing the reader with background information to facilitate a better understanding of the various aspects of the present disclosure. Accordingly, it should be understood that these statements are to be read in this light, and not as an admission of any kind.
Measurement of composition based on attenuated total reflection requires refractive index of the fluid. Since the index itself is a function of the composition, independent refractive index data is necessary to infer composition, particularly that of dissolved carbon dioxide. Conversely, the index can be correlated to a range of physical properties of interest (e.g., density, composition and polarizability), and a self-consistency check between composition and refractive index may be carried out. Consistency improves measurement confidence.
Previous methods for inferring refractive index include measuring attenuated total reflection using either two different crystal materials cut with the same truncated-cone geometry, or the same material with differing cone angle of the frustrum, or both. Such methods assume a fixed crystal material refractive index over the wavelengths of measurement, and that the refractive index of the fluid is non-dispersive or invariant to the wavelength of the probing electromagnetic beam. Therefore, any wavelength dependent variation in refractive index in the crystal or the fluid introduces an error in the estimated composition of the fluid. It is desirable to remove this error by, for example, inferring the variation of the refractive index of the fluid with respect to the wavelength, and accounting for such variation in estimating fluid composition.
A summary of certain embodiments described herein is set forth below. It should be understood that these aspects are presented merely to provide the reader with a brief summary of these certain embodiments and that these aspects are not intended to limit the scope of this disclosure.
Certain embodiments of the present disclosure include a tool for determining a refractive index of a formation fluid. The tool includes a body having a fluid admitting assembly and a flow line that receives the formation fluid. The tool also includes two different crystals having faces in contact with fluid in the flow line. The crystals have at least one of different refractive indices and different angles of incidence. The tool further includes at least one light source coupled to the crystals and configured to direct light into the crystals. The light has at least one wavelength. In addition, the wavelength, the refractive indices, and the angles of incidence are configured such that the light undergoes total internal reflection at interfaces between the crystals and the formation fluid. The tool also includes at least one light detector coupled to the crystals and configured to measure reflected light exiting the crystals. The tool further includes at least one processor coupled to the at least one light detector. The at least one processor is configured to continuously and iteratively, in substantially real-time, determine attenuations of the light entering the crystals, and determine the refractive index of the formation fluid and a carbon dioxide concentration in the formation fluid utilizing the attenuations to account for variations in the refractive index of the formation fluid.
Certain embodiments of the present disclosure also include a method for determining a refractive index of a formation fluid. The method includes placing into a borehole a tool having a fluid admitting assembly, a flow line, two different crystals in contact with the formation fluid in the flow line, at least one light source, at least one light detector and associated signal processing circuitry, and at least one processor. The crystals have at least one of different refractive indices and different angles of incidence. The method also includes moving the fluid admitting assembly of the tool into contact with a formation at a location of interest in the formation. The method further includes causing formation fluid to flow into the flow line of the tool and into contact with the crystals. In addition, the method includes directing light from the at least one light source into the crystals. The method also includes detecting with the at least one light detector the light exiting the crystals. The crystals and the at least one light source are configured such that the light will undergo total internal reflection at interfaces between the crystals and the formation fluid. The method further includes using the associated signal processing circuitry to compare the exiting light to a reference light value for the at least one light source associated with the at least one detector in order to obtain attenuation values. In addition, the method includes using the at least one processor to continuously and iteratively, in substantially real-time, determine attenuations of the light entering the crystals, determine the refractive index of the formation fluid, and determine a carbon dioxide concentration in the formation fluid utilizing the attenuations to account for variations in the refractive index of the formation fluid at measurement wavelengths and reference wavelengths.
Certain embodiments of the present disclosure also include tool for determining a refractive index of a formation fluid. The tool includes two different crystals having faces in contact with fluid in a flow line. The crystals have at least one of different refractive indices and different angles of incidence. The tool also includes at least one light source coupled to the crystals and configured to direct light into the crystals. The tool further includes at least one light detector coupled to the crystals and configured to measure reflected light exiting the crystals. In addition, the tool includes at least one processor coupled to the at least one light detector, wherein the at least one processor is configured to continuously and iteratively, in substantially real-time, determine attenuations of the light entering the crystals, and determine the refractive index of the formation fluid and a carbon dioxide concentration in the formation fluid utilizing the attenuations to account for variations in the refractive index of the formation fluid.
Various refinements of the features noted above may be undertaken in relation to various aspects of the present disclosure. Further features may also be incorporated in these various aspects as well. These refinements and additional features may exist individually or in any combination. For instance, various features discussed below in relation to one or more of the illustrated embodiments may be incorporated into any of the above-described aspects of the present disclosure alone or in any combination. The brief summary presented above is intended to familiarize the reader with certain aspects and contexts of embodiments of the present disclosure without limitation to the claimed subject matter.
Various aspects of this disclosure may be better understood upon reading the following detailed description and upon reference to the drawings, in which:
One or more specific embodiments of the present disclosure will be described below. These described embodiments are only examples of the presently disclosed techniques. Additionally, in an effort to provide a concise description of these embodiments, all features of an actual implementation may not be described in the specification. It should be appreciated that in the development of any such actual implementation, as in any engineering or design project, numerous implementation-specific decisions must be made to achieve the developers' specific goals, such as compliance with system-related and business-related constraints, which may vary from one implementation to another. Moreover, it should be appreciated that such a development effort might be complex and time consuming, but would nevertheless be a routine undertaking of design, fabrication, and manufacture for those of ordinary skill having the benefit of this disclosure.
When introducing elements of various embodiments of the present disclosure, the articles “a,” “an,” and “the” are intended to mean that there are one or more of the elements. The terms “comprising,” “including,” and “having” are intended to be inclusive and mean that there may be additional elements other than the listed elements. Additionally, it should be understood that references to “one embodiment” or “an embodiment” of the present disclosure are not intended to be interpreted as excluding the existence of additional embodiments that also incorporate the recited features.
As used herein, the terms “connect,” “connection,” “connected,” “in connection with,” and “connecting” are used to mean “in direct connection with” or “in connection with via one or more elements”; and the term “set” is used to mean “one element” or “more than one element.” Further, the terms “couple,” “coupling,” “coupled,” “coupled together,” and “coupled with” are used to mean “directly coupled together” or “coupled together via one or more elements.”
In addition, as used herein, the terms “real time”, “real-time”, or “substantially real time” may be used interchangeably and are intended to describe operations (e.g., computing operations) that are performed without any human-perceivable interruption between operations. For example, as used herein, data relating to the systems described herein may be collected, transmitted, and/or used in control computations in “substantially real time” such that data readings, data transfers, and/or data processing steps occur once every second, once every 0.1 second, once every 0.01 second, or even more frequently, during operations of the systems (e.g., while the systems are operating). In addition, as used herein, the terms “continuous”, “continuously”, or “continually” are intended to describe operations that are performed without any significant interruption. For example, as used herein, control commands may be transmitted to certain equipment every five minutes, every minute, every 30 seconds, every 15 seconds, every 10 seconds, every 5 seconds, or even more often, such that operating parameters of the equipment may be adjusted without any significant interruption to the closed-loop control of the equipment. In addition, as used herein, the terms “automatic”, “automated”, “autonomous”, and so forth, are intended to describe operations that are performed are caused to be performed, for example, by a computing system (i.e., solely by the computing system, without human intervention).
As described above, previous methods for inferring refractive index assumed a fixed crystal material refractive index over the wavelengths of measurement, and that the refractive index of the fluid was non-dispersive or invariant to the wavelength of the probing electromagnetic beam. As such, any wavelength dependent variation in refractive index in the crystal or the fluid introduces an error in the estimated composition of the fluid.
The embodiments described herein include variation of refractive index of the crystal with respect to wavelength. Within the band of measurement, the embodiments described herein allow the refractive index of the fluid be different at each of the probing wavelengths. Total internal reflection is assumed to occur. Therefore, the embodiments described herein have the potential to improve accuracy of not only the refractive index measurement, but also of the inference of dissolved gas (usually carbon dioxide (CO2)) fraction. Hydrocarbon solvents for illustrative purposes are broken into light and heavy, although a greater number of components may be chosen, depending on the availability of more reference wavelengths. The refractive index dispersion characteristics may be inferred, depending on the number of frequencies or wavelengths deployed.
To provide context, during both injection and production of oil and gas operations, reservoir fluids are monitored. In enhanced oil recovery (EOR) processes, compositional measurements of fluid phases are useful for quantitative evaluation of displacement induced migration. Specifically, data relating to fluid characterization in different producing zones may be used to infer reservoir structure, optimize zonal production strategies, quantify hydrocarbon quality, and facilitate recycling of injected gases, such as CO2.
To measure concentrations, one approach is to withdraw fluid samples from the reservoir using a formation testing probe or packed-off intervals. In certain embodiments, sensors may be used within the flow line to measure transmission at infra-red (IR) wavelengths. The spectral characteristics of the transmitted beam are indicative of various components within the fluid, each chemical component having its own absorption coefficient. In addition, density and viscosity may also be used to ensure consistent component fractions.
As described in greater detail herein, attenuated total reflection (ATR) measurement at mid-IR frequencies may be used to measure dissolved components (e.g., CO2 within a liquid). These methods rely on the attenuation of a reflected wave due to a small penetration (e.g., usually a fraction of a wavelength) of the incident beam's evanescent wave, the penetration depth being dependent on the refractive indices of the fluid and the crystalline material, such as sapphire or diamond or zirconia, in contact with it. The incident angle of the beam at the crystal-fluid interface, and therefore the geometry, also affects the effective penetration depth. The crystal is transparent to incident and reflected infra-red electromagnetic wave and has a refractive index sufficiently larger than the fluid to enable total reflection.
In the absence of any information, a nominal refractive index for the fluid may be assumed. Such assumption is acceptable when the solute concentrations are relatively low and the refractive index is determined by the solvent. However, for relatively high solute concentrations, such assumption may lead to inaccuracies if the fluid's index varies with the concentration of the dissolved components. In certain embodiments, such limitations may be overcome by collecting two attenuation measurements with differing crystal geometries, or differing materials, or both, and inferring ηf, the fluid refractive index. In such embodiments, it may be assumed that ηf as well as ηκ, the crystal's refractive index, are constant over the span of the measurement wavelength.
However, real fluids and materials used for ATR measurements may show a level of dispersion that should not be entirely ignored if accurate determinations of ηf are necessary to estimate effective penetration length and fluid composition. Besides geometry, the penetration distance of the evanescent wave is dependent on ηf and ηκ, and, therefore, their variability with respect to wavelength.
The embodiments described herein continuously measure the refractive index of the fluid in order to correct for the change in the penetration depth in substantially real-time, while accounting for variations of ηκ and ηf with respect to wavelength λ. Since a direct measurement for refractive index is utilized in conjunction with the ATR, temperature adjustment for penetration distance is avoided. In addition, the embodiments described herein also avoid infrared background correction. The embodiments described herein may be implemented as a plug-in to current formation testers.
In certain embodiments, at least two sample chambers 36 may be placed in communication with the flow line 30 as described with respect to
indices of both the fluid sample 44 and the crystal 42 and is given by
where ηκ is the refractive index of the crystal 42 and ηf is the refractive index of the fluid sample 44. The internal reflection of the beam 48 can occur multiple times along the interface of the crystal 42 and the fluid sample 44. The crystal 42 may be a high refractive index material, such as sapphire or diamond, in order to minimize the critical angle θc.
In the regions of the IR spectrum where the fluid sample 44 absorbs energy, the evanescent wave at those wavelengths will be attenuated. The crystal 42 directs the reflected beam 50 (e.g., including the attenuated energy from each evanescent wave) for supply to an IR detector 52. As described in greater detail herein, in certain embodiments, signal processing circuitry 54 (e.g., amplifier and filter circuitry, A/D conversion circuitry, and so forth) processes the output of the IR detector 52 to measure and process the output of the IR detector 52, thereby measuring the intensity of the detected light within the predetermined IR measurement bands as a function of time, and generating digital data corresponding to such measurements. In certain embodiments, one or more predetermined IR measurement bands include a predetermined absorption band centered around 4.27 micrometers (μm) (e.g., 4.27 μtm±75 nanometers (nm)), a predetermined reference band centered around 2.5 μm (e.g., 2.5 μm±75 nm), and a reference band centered around 3.5 μm (e.g., 3.5 μm±75 nm). The reference wavelengths are chosen to distinguish solvent components such that no absorption of the desired dissolved component occurs at the reference wavelength.
In certain embodiments, the reflected beam 50 (e.g., including the attenuated evanescent waves) may be guided by a lens 56 through an optical filter 58 to the IR detector 52. The optical filter 58 may provide bandpass optical filtering for the predetermined infrared measurement (and reference) bands. In certain embodiments, the IR detector 52 may include an array of IR detector elements corresponding to the predetermined infrared measurement bands. Alternatively, in other embodiments, a single IR detector element may be used.
In certain embodiments, additional supporting electronics may be used in conjunction with the IR light sources 46 and IR detectors 52. In certain embodiments, the supporting electronics may be provided for each IR light source 46 and each IR detector 52 or may be shared by the IR light sources 46 and by the IR detectors 52. As illustrated in
In certain embodiments, the data processor 68 may process the digital data as described in greater detail herein in order to determine the refractive index of the fluid sample 44. In certain embodiments, the IR source driver circuitry 62 may generate electrical signals for the IR light source 46 in order to operate the IR light source 46 as desired. In addition, in certain embodiments, the data processor 68 may send control signals (e.g., via the communications interface 60) to the control systems 18, 22 illustrated in
In certain embodiments, the control circuitry 64 may control operation of the electrical, optoelectrical and/or optical elements of the downhole tool 10 illustrated in
Turning now to
In other embodiments, the different crystals (e.g., either the crystals 42a, 42b illustrated in
Conventional refractometers have been used to estimate the refractive index of crude oil in a surface laboratory at a specified wavelength. Unfortunately, sampled reservoir fluids may be contaminated by drilling-mud filtrate. The accuracy of the estimated refractive indices is dependent on both sample withdrawal techniques and the extent to which reservoir conditions are replicated in surface laboratories. It is known that contaminants introduced or removed during the fluid transfer process from downhole to laboratory may introduce a significant bias in the estimates of refractive index. It is logistically difficult and expensive to routinely bring reconstituted representative samples to the laboratory for analysis.
Another challenge arises due to the variability of refractive index with temperature, fluid composition, and pressure. For example, significant variation in the refractive index of glycerin and paraffin oil has been observed at relatively high pressures. In addition, refractive index of other fluids varies with dissolved species, and this dependence is roughly given by the Lorentz-Lorenz relationship. Also, variation of refractive index with dissolved CO2 in hydrocarbon systems is inevitable, and has indeed been the basis of mapping CO2 concentrations within a liquid.
For completeness, a brief review of commonly used refractometers for crude oil in surface labs is provided here:
The refractive index, η, is the reciprocal of the ratio of the phase velocity (v) in the medium to the speed of light in vacuum (c):
Light travels slower in other media relative to vacuum because of electromagnetic field interactions with the charged particles of the medium. Refractive index and the speed of light in a medium are dependent both on temperature and pressure. Various relationships have been proposed to capture the dependence between refractive index and mass density. For example, in miscible systems, the Gladstone-Dale equation is:
where ρ is the mass density of the medium and ηMi is the molar refractivity of the ith component. Mass fraction of the component i is wi. Another well-known relationship is the Lorentz-Lorenz equation:
where α denotes the molecular polarizability of the medium, NA is the Avogadro's number, and M is the molecular weight of the medium. The polarizability is the coefficient of proportionality between the dipole moment and the electric field.
Measurements of refractive index may be combined with one or more of the aforementioned formulae and others to obtain consistent physical properties of interest, including mass density, composition of crude oil, viscosity etc. within a restricted series of materials. These estimates are useful for reservoir modeling.
In many other ways, the measurement of refractive index is quite important. For example, in certain embodiments, dissolved CO2 concentration may be measured using the attenuation of a reflected signal at mid-IR wavelengths. This method, however, requires refractive index of the liquid within which the CO2 concentration needs to be obtained. Unlike aqueous solutions, in many instances (e.g., hydrocarbon solvent), the dissolved amount of CO2 is sufficiently large that it changes the refractive index of the phase under examination. Then, the dissolved fraction may not be obtained directly. It is for this reason that the two-crystal configuration described with respect to
The embodiments described herein present a new measurement principle that uses a combination of two or more attenuated total reflectance (ATR) sensors to measure the refractive index of fluid (ηf) downhole at the measurement wavelengths including that of the reference. We also take into account the variation of ηκ (e.g., refractive index of crystal, κ, is a generic indicator for crystal and may refer to sapphire, diamond, zirconia, and so forth) with respect to wavelength, since multiple wavelengths are used in such a measurement. A reference wavelength, λr at which there is no attenuation by the dissolved component (e.g., here CO2) whose fraction is desired is necessary, and is different from the dissolved component absorption wavelength λm. Depending on the nature of the solvent, we may need more than one reference wavelength. In CO2 enhanced oil recovery, at a minimum, crude oil is divided into light and heavy components. The embodiments described herein illustrate the principle by having two reference wavelengths λr and λR, although the number of reference wavelengths may be more and is at least equal to the number of components assumed to constitute the solvent. The values of ηκ and ηf at wavelengths λr, λR, and λm are not the same, and variation with respect to λ is consequential for determining penetration lengths over which absorption and scattering cause attenuation. Since the penetration length depends on the refractive index ratios at each of the wavelengths, attenuation is a function of not only the (natural log) molar attenuation coefficient ∈i of species i and its molar concentration Ci, but also the refractive index ratios (which in turn may vary with Ci). Thus, in order to infer the concentration of species causing intensity reduction from the optical measurement, refractive index of the fluid at the said measurement wavelength may first be determined, with the molar attenuation coefficient known. Determination of these quantities for subsequent use for inferring dissolved component concentration is one of the purposes of the embodiments described herein. Certain embodiments of the present disclosure focus on the mid-infrared (m-IR) range; however, the techniques described herein are also extensible to a different range of wavelengths as long as the fundamental equations describing attenuation is rooted in Beer-Lambert' s law described below.
At this point, it may be useful to state notations for clarity. Molar concentration is C, and its subscript may be l, h, or c, referring to light and heavy components of solvent, and CO2. Similarly, as stated before, are the (natural log) attenuation coefficients given by ∈i, i=l, h, or c. In our problem, concentrations are spatially uniform through the liquid over the path length, . In a transmission experiment, is readily identified. In attenuated total reflection, path length is obtained by solving the relevant electromagnetic equations of Maxwell, and an effective path length equivalent to a transmission experiment is identified. It is sufficient to know that the effective path length varies with the refractive indices of the fluid and the crystal, and that these may vary with wavelength, temperature, and pressure. The path length also changes with incident angle.
Beer-Lambert law with absorbance Ae written in terms of natural logs of ratio of intensity measured I to source intensity I0 is:
For completeness, the traditional chemistry definition of absorbance in terms of logs will be discussed. Here, absorbance A is given as:
or εi=(1/ln 10)∈i. The embodiments described herein may utilize either of these. Unless otherwise stated, ∈i will be used herein to refer to molar attenuation coefficients.
As used herein, non-hatted notation implies a value, and accented parameters imply functions. Since a main concern described herein is wavelength and concentration dependence of refractive indices, temperature and pressure (T and P) are generally assumed to be fixed. The variation with respect to T and P is addressed in the calibration section below. Also, ∈i are only species dependent, and are independent of Ci. At a reference wavelength λr, it may be noted that:
Note that C={Cl, Ch, Cc}. As per the assumption discussed above, Cc has no or minimal influence on attenuation at wavelength λr and λR. Similar to λr, at λR:
Adsorption due to species CO2 occurs at measurement wavelength λm. At this wavelength:
For molar attenuation coefficient, along the lines of notations of refractive indices, with subscripts denoting the component and the wavelength:
As in the case of refractive indices, it is to be understood that the above quantities will vary with temperature and pressure, although in liquid state, pressure dependence is expected to be relatively weak.
At the wavelengths λr, λR, and λm, the source (e.g., incident) intensities are I0r, I0R, and I0m. The totally reflected beam is attenuated as per the dictates of Beer-Lambert law, and these measured intensities at the corresponding wavelengths, at Ir, IR, and Im. If we let β represent the wavelength subscripts r, R, and m, an expression applicable for all wavelengths of interest and within the applicability of Beer-Lambert law is:
where we note that
through ηf ηκ, and the path length variation with respect to wavelength and incident angle are captured in the subscripts and β and θ. The subscript κ for referring to crystal takes on a value that varies with the material, for example, d for diamond, s for sapphire, or ξ for zirconia. To distinguish the crystals, notations κ1 for crystal 1, κ2 for crystal 2, and so on if there are more than two crystals, may be used.
The intensity I0β is fixed by the source temperature T0. Even if the fluid chamber is evacuated, so that there is no absorption, the measured optical intensity would not show the expected variation with respect to T0 and would not be identical from one sensor to the next. This variation from the expected Planck's black body spectral radiance of (h and k are the Planck's and Boltzmann constants):
may be due to a number of factors including filter and detector variability, and may be remedied by setting suitable gains in the measurement system. Since the sensor should have an adequate span over the expected range of data, calibration in vacuum would lead to saturating the measurement. Therefore, a suitable liquid whose ∈i is known at various temperatures of the liquid and whose refractive index is in the middle of the expected range is ideal.
For source intensity gain and intensity tuning called normalization, consider the sensor crystal 42 exposed to the known fluid sample 44. As per the dictates of Eq. 22, the expected source intensity at λR and λm for a source temperature fixed at T0 may be written as:
Obviously, f(T0; λr; λr)=1. The molar attenuation coefficient of the normalization fluid may be denoted with a subscript z. Then, for the normalization fluid, the ATR response for a sensor with NR total internal reflections is:
Now, since the refractive index of the crystal 42 and the normalization fluid are known, the effective path length is known (see further below). Thus, the right hand side of the above equations may be computed. Since Izr is measured, Eq. 25 leads to:
From the measured I0r, Izr, and Izm, and Eqs. 23-27, the gains may be set so that:
If the above responses are satisfied through appropriate gain adjustment, then the ratios of Eq. 23 and 24 are met for all sensors, and it may be assumed that these relationships hold post-normalization.
The ATR technology is based on measuring the change in the intensity of a totally internally reflected infrared beam when it passes through the interface of the sensor (i.e., crystal 42) and the fluid sample 44. This is given in terms of the attenuation of the reflected beam intensity when compared to the incident beam. The implementation of ATR technology should satisfy two necessary conditions for total internal reflection. These are that:
The amplitude of the internally reflected wave at the crystal-sample interface is affected because the evanescent wave formed while undergoing total internal reflection penetrates the fluid sample 44 adjacent to the interface, and exponentially decays with the distance from the crystal-sample interface. The penetration depth is that distance over which the evanescent wave's intensity decays according to what would have occurred in transmission, and is approximately:
In a strongly absorbing medium, the interaction between the probing light beam and the medium should be sufficiently small to ensure that measurements are not entirely attenuated. The correct depth or what is preferably termed as the effective path length is better quantified by considering perpendicular and parallel polarization and taking their mean value.
Since the path length of the evanescent wave is a fraction of a μm, ATR is a powerful technique for obtaining dissolved CO2 in brine and crude oil downhole. The prerequisite is that the predominant species should be the molecular CO2 and not a derivative species. If configured to have multiple reflections, the cumulative depth of penetration may be used to compute , the optical path length of the sensor, approximately equal to NRde, where NR is the number of reflections and de is the effective path length, and is set equal Kdp as explained below.
It is assumed that the effective path length of the mid-IR is equal to Kdp, as described above. Parallel and perpendicular polarized waves undergo differing evanescent path lengths, and K computed as a result of both attenuations is the variable that corrects dp to de. Thus, the effective path length is:
where K varies with ηf, ηκ, and θ. Variation of ηf or ηκ with respect to A implies that K changes with λ. For that matter, it varies with concentration vector C of the dissolved species also. This leads to:
Again, the functional dependence is for a fixed temperature and pressure. NR is the number of reflections that is determined by the design of the crystal-fluid interface. Note that for ηκ,, the subscript κ is used to denote the material. For example, K may be d for diamond, s for sapphire, ξ for zirconia. For the fluid refractive index, a subscript s may be added to f in order to emphasize that the measurement is on a solution whose component is desired.
For intensities that are measured, the first subscript is denoted as s to indicate the solution whose dissolved component is desired to be estimated, whereas the second subscript refers to the wavelength. The third subscript refers to the crystal number. Each crystal number may have a different material of construction and/or a different θ.
With crystal one, the measured absorbance (in In scale) at λr is thus denoted Aer1, and with crystal two, it is Aer2. Then:
The ratio of absorbance of the two crystals 42 is:
D is defined as:
For practical purposes, then, D=K. Then:
The results may be normalized with respect to a reference. In certain embodiments, the functions {circumflex over (D)} at a ηf=ηmin=1.3 are used as the reference, although 1.325 may be used as well. Accordingly:
Further normalization of Dr10 nd Dr20 may be carried out assuming a fixed refractive index for the fluid sample 44 and the crystal 42. The additional normalization construction of a function that varies only with the refractive index of the fluid sample 44, assumed independent of λ. However, the embodiments described herein are far more elaborate because of variability in refractive indices with respect to A in the material of the crystal 42 and the fluid sample 44. To this end, Eq. 37 may be rewritten as:
In addition:
Note that the denominator's numerical value for the crystal index is matched to that of the numerator. Also, note that by definition, the ratio Dr10=Dr20 is independent of ηf. A second normalization enables removal of the dependency on ηκ and θ. For this:
where F={circumflex over (F)}(ηκ/ηs) is a function of the ratio of the refractive indices of the crystal 42 to that of sapphire a λ, and ηmax is the maximum value of ηf for the normalization, set equal to 1.475 in this illustration. The range of 1.3 of 1.475 for ηf covers most of fluids of interest. The function {tilde over (G)}(ηf,λ) implies that for each λ, {circumflex over (D)}NN may be sufficiently well represented by a function of ηf. Essentially, the dependence on λ arises due to ηs variation with respect to λ and the second crystal's η variation has been removed through the normalization process. It is, therefore, more appropriate to represent this dependence through Ĝ(ηf; ηs). This representation has an advantage that it reflects the more natural dependence, and the temperature variation is captured through ηs.
Numerical evidence of the above conjecture is presented below in a separate section on universality. Henceforth, DNN=Ĝ(ηf, ηz) will be used (i.e., the approximation is replaced with an equality). The equation above was tested at 350 K for λ in the range 2.5-4.5 μm with diamond and sapphire crystal properties. However, since the effective path length depends only on refractive indices, and not the material itself, it is believed that the conjecture is valid for other crystal materials whose refractive index is between that of diamond and sapphire (e.g., zirconia). At λr, ηκ is replaced with ηκr and ηs is with ηsr, the refractive index of sapphire at the first reference wavelength.
The conjecture of Eq. 43 is important to processing of the measurements. It allows us to rewrite Eq. 40 in the form:
With the conjecture that {circumflex over (D)}NN(ηf, ηκ, θ)=Ĝ(ηf; ηs), the above equation simplifies to:
Referring back to Eq. 30, Eq. 45 may be rewritten explicitly in terms of ηf
The left hand side of the above equation is the ratio of two absorbances and constitutes a measurement. On the right hand side, the first term is independent of ηf
The same procedure may be carried out for reference wavelength λR. For this wavelength, Eq. 46 is modified to read:
Eq. 47 may be solved to obtain ηf
Again, since the crystal refractive indices are known at λm, solving Eq. 48 from the measured ratio of absorbance, ηf
Determination of ηf
Rather than using two different crystal materials, in other embodiments, sapphire may be used for both crystals. The above results may be simplified for such a configuration. Eq. 46 becomes:
An explicit solution for the fluid refractive index at λr is:
Analogous solutions at other wavelengths are:
In certain embodiments, the two crystals 42 may be made of the same material (e.g., diamond or zirconia). When the crystal materials are the same, ηκ
Numerical evidence is now provided of the universality conjecture of Eq. 43 for DNN to be expressible in terms of functions Ĝ or {tilde over (G)} (see
For each wavelength, the function {circumflex over (F)} takes on a different value, and this is best expressed as a function of ηκ/ηs since (i) sapphire is the reference and (ii) the ratio of /dp has explicit dependence on A removed. The function {circumflex over (F)} is irrelevant when the crystal 42 is also made of sapphire since the multiplicative factor ηκ/ηs−1 will make the product zero. In
Since F is known as a function of ηκ/ηs, for a given λ and T, the argument of {circumflex over (F)} is known. The curve of
For the purpose of this section, it is assumed that calibration has been carried out, and that the value of ∈lr, ∈hr, ∈cr, ∈lR, ∈hR, ∈cR, ∈hm, and ∈cm within the temperature and pressure ranges of interest is known. Thus, the functions in Eqs. 12-20 assume that temperature T and pressure P are parameters, not explicitly included. In other words, as an example, strictly, ∈lr={circumflex over (∈)}lr(λr;T,P) where T and P have been dropped in Eq. 12.
In the section on calibration, it is illustrated how E∈l, ∈h, and ∈c may be determined and, thus, infer their parametric dependence on T and P, and functional dependence on λ. By design (dropping the parametric dependence), {circumflex over (ϵ)}c(λr) and {circumflex over (∈)}c(λR) are nearly zero compared to solvent.
Now, at λr and λR, four measurements from two crystals 42 (or 2Nκ, for Nκ crystals 42) are known. However, one measurement at each wavelength is independent, since the other was needed for ηfat each wavelength. Since the crystal 42 with the smaller θ will have a larger de, attenuation measurement from the small θ crystal 42 may be used. Letting θ1<θ2, from Eq. 21 while recognizing that the design calls for ∈cr, ∈CR=0:
Note that is computable since all the three arguments are known. Provided the equations are linearly independent, Cl and Ch may be determined. It is possible that ∈lr=∈hr and ∈lR=∈hR. If so, only the sum Cl+Ch may be inferred, and the two equations have to be linearly dependent. In this unlikely case, during the calibration phase, it should be ensured that ∈lm=∈hm as well. Otherwise, l and h fractions at a molecular weight threshold should be distinguished so that ∈lr≠∈hr
It is not possible for concentrations to be negative. Thus, if either one is found to be less than 0, its value may be set to be zero, and an error flag may be set. Each equation above will produce two different values for the non-negative concentration. A suitable mean (e.g., arithmetic) value of the two will be used. For example, suppose that Cl<0 from Eqs. 53 and 54. Cl=0may be set. Each of the above equations then produces a value for Ch, and these may be averaged in certain embodiments.
Once Cl and Ch are obtained from Eqs. 53 and 54, the measurement at mmay be used to get the concentration of the dissolved component from:
Note that Cc≥0. If not, Cc=0 may be set, and an error flag may be set.
For reducing noise in the output, a single measurement at wavelength λr and λR may not be the best option. For example, detector and signal processing noise in the measurements, or fluctuations or variations in temperature between two crystals 42 may cause unwanted errors in Cl, Ch, and Cc. It is desirable to increase the number of reference wavelengths and/or take several closely spaced measurements that are sufficiently well separated to be uncorrelated, but not so far apart to be influenced by changes in the stream of the fluid sample 44. As used herein, the term “optimal concentration” is intended to mean concentrations of the various components of the fluid sample 44 that minimize noise and other errors that are due to random fluctuations.
One method to process the data, and probably the easiest and fastest, is to infer ηf
Consider having J such measurements of Aer1, AeR1, Aem1, along with matched J results of ηf
The least squares solution when the same ηf
The averages of the J measurements are defined through:
An alternative easily applied option for real-time answers would be to take average temperature of the 2J sets (from the two crystals), and compute ηf
In both of these cases, a moving set of J measurements, each consisting of 3 elements, may be used. The oldest set of points are rolled out of the dataset head to be replaced by a set of three new measurements at the tail end. J and Δt (time for J measurements to be completed is JΔt) may be chosen such that within JΔt, noticeable change in concentrations are unlikely, and Δt is large enough for the noise to be uncorrelated.
Eqs. 59 are based on J sets of measurements, for which a single value of ηf
where Q=ETE and y=−ETA. The two methods should produce the same results.
Unlike infrared (IR) wavelengths, mid-IR wavelengths are such that, at the temperatures of interest, a non-negligible spectral radiance occurs at the wavelengths of interest, particularly 3 μm and above, even for temperatures as low as 323 K.
One method for subtracting background radiation is to use the measured temperature, compute the spectral radiance and intensity based on Planck black-body radiation, and subtract the emission intensity from the measurement. Since the characteristics of the sensor and the filters come into play to make this correction properly, a look-up value of intensities for a temperature range of interest may be used. These look-up values may be tabulated based on actual measurement with a fluid, but without a source. However, the emissivity of fluids may vary, and such a correction may be prone to vary from one fluid to the next, or even with composition for a given hydrocarbon solvent. With brines, this is less of an issue, because the solubility of CO2 in brine is sufficiently small that brine emissivity does not change appreciably.
For a more easily applied correction for a fluid of unknown emissivity, an on-off method may be implemented, the steps of which may include:
For calibration and inversion of the measured intensities in terms of concentration, the refractive index of crystals 42 should not only be known at the temperature at the face exposed to the fluid sample 44, but also at each of the measurement wavelengths, including the reference. Given that the crystals 42 are relatively incompressible in comparison to the fluid samples 44, pressure dependency is likely to be of negligible consequence. As an example, sapphire shows a strong dependency over the wavelengths of interest (e.g., 2-5 μm) as exhibited in
An alternative to sapphire is diamond, which has a higher refractive index and, therefore, allows for a smaller incidence angle for total internal reflection.
The correlations, the results of which are illustrated in
In certain embodiments, calibration may be performed with two components l and h, thus dealing with the commonly encountered case of dissolution of CO2 in crude oil. In other embodiments, more components than 1 and h may be added, but each addition would require an extra wavelength that provides nearly independent information, and this is not always possible given that hydrocarbons may be dominated by C—H bonds. It is also known that, at a minimum, composition evolution in developed miscibility requires two components. Furthermore, when the crude oil is represented by light and heavy components, the sampled hydrocarbon fluid in a CO2 enhanced oil recovery process may change in composition with respect to the proportion of components l, h, and c, and it is desirable to estimate these.
Based on the foregoing, the calibration process may focus on tabulating ∈lr, ∈hr, ∈lR, ∈hR, ∈lm, ∈hm, ∈cm with respect to T and P. For aqueous media applications such as in aquifer storage of CO2 or in beverage industry, the solvent does not need to be split up into l and h components; for such applications, the solvent may be represented by a single component and l may be understood to reflect the aqueous solvent within which CO2 dissolves. Here, then, Ch=0.
The breakdown of a solvent into l and h fractions generally requires a cutoff. This may be based on the number of carbon atoms or molecular weight. The two are closely related since carbon is often the dominant contributor to molecular weight. Similar separation may be based on boiling point at a specified pressure. It may be preferable to use molecular weight as the criterion, since the concentrations of light and heavy components are known by simply measuring the mass density of the separated fractions at a given T and P.
In certain embodiments, the first step may be to take one of the fractions. Since only a very weak dependence of ∈ on pressure is expected, a mean pressure value may be considered. If accuracy is of paramount importance, then a grid of temperatures and pressures may be constructed, and at each (T, P) pair, ∈lr, ∈lR, and ∈lm may be obtained. For this, an ATR measurement may be conducted with the source turned on, and source turned off so as to obtain Ir, IR, and Im after subtracting background radiation at each of the wavelengths. The background radiation may be checked against the measured temperature to see whether the relative magnitudes at λr, λR, and λm correspond to the independent temperature measurement. If not, the calibration for I0 may be rechecked. Assuming that this step is satisfactory, from the Ir, IR, and Im values, applying Eq. 21, with Ch and Cc equal to zero, ∈lr, ∈lR, and ∈lmare known. By repeating the process over the entire grid of (T, P), as densely as needed, functional variation of the attenuation coefficients may be obtained for the component. For liquids, because these coefficients show negligible dependence on P, and are expected to have only small dependence on T, a least squares algorithm is likely to help alleviate concerns of experimental errors.
Repetition of the above procedure for component h enables generation of ∈hr, ∈hR, ∈hm expressions with respect to T and P.
Next, the values or ∈lr, ∈lR, ∈lm, and ∈hr, ∈hR, ∈hm may be verfified as adequate in inferring mixture composition of l and h. For this, masses Wl and Wh of the l and h components may be considered. With the molecular weights of the two components being Ml and Mh, the number of moles of l and h in the mixture are:
Starting with volumes Vl and Vh of the two components, since the final volume Vlh≠Vl+Vh, an independent mixed volume measurement may be needed. The concentrations are
Thus, an attenuation experiment with a constituted mixture should provide correct values for Cl and Ch when the calibrated values of ∈l and ∈h are used at the three wavelengths for the T and P of interest. Conversely, the measured intensities should correspond to:
where Cl and Ch are obtained from Eqs. 65.
For component c, the matter is not quite as straightforward, since CO2 may be in gas or liquid states or supercritical at the conditions of T and P. Even at 100%, at low pressures, attenuation may be negligible. In addition, pure CO2 may have a very large attenuation at high pressures. Therefore, the system may combine measurements with equilibrated CO2 in a solvent knowing the dissolved amount from thermodynamic data, and attenuation in gas-phase pure CO2. It may also be necessary to vary the solvent, in certain situations. Whenever a solvent is used, pure solvent attenuation coefficient and the component concentrations in the mixture will be needed; the latter of which is known from thermodynamic solution data of CO2 in the solvent. In this scenario, it may be useful to know η at least for a subset of the solutions or pure gas, for validation. The procedure with pure CO2 and an aqueous solvent is illustrated herein. The method is equally applicable with other solvents. The solvent may be denoted with a subscript b. Thus, the concentration of the solvent for calibration is Cb and its attenuation coefficient is ∈b.
Based on attenuation experiments, a relatively rough scale for ∈c is about 100 m2 mol−1. This number may be used only for obtaining an estimate of the expected magnitude of attenuations for experimental design, and may not be used otherwise. For example, setting a 10% attenuation with a 11 μm path length (each reflection with sapphire, at 70°, gives an effective path length of about 0.44 μm at 350 K, with an ηf of unity; at 75°, this drops to 0.32 μm), a minimum of approximately 2.29 MPa pressure at 298 K may be required. More appropriately, a concentration of 1053.6 mol m−3 may be needed to get ∈c. By conducting attenuation experiments at various pressures and temperatures with pure CO2, ∈c at wavelengths λr, λR, and λm at each T and P may be obtained from:
The minimum pressure as per the above assumptions is shown in
At relatively high pressures, attenuation in CO2 may be too large and the sensor may be nearly saturated. The estimated ∈c. with a saturated sensor will have an unacceptable error. Since ∈c. is expected to have only very small variability with respect to P, we may choose to use the low pressure values as an approximation. An alternative is to consider high pressure CO2 at vapor, gas and supercritical conditions. The calculations in
If, for a certain range of temperature, it is found that ∈c dependence on P is relevant enough to be taken into account, an alternative would be to use attenuation measurements with dissolved CO2 and thermodynamic data for calibration. The simplest of solvents to consider would be brine or water, the latter being preferable since solubility of CO2 decreases with salt concentration. Using 1000 kg m−3 as the approximate density of water over the range of T and P of interest, and a 3 μm effective path length (for ηf=1.325 and T=350 K, at an angle of 75°, per reflection effective length is about 0.89 μm; at 70°, this increases to 1.29 μm), an attenuation range of 0.1-0.9 may be set for estimating ∈c. These lower and upper values gives ∈cCc=0.10536 and 2.3026. For purposes of determining approximate bounds for minimum and maximum pressure, attenuation may be neglected due to solvent. Then, with =3 μm and ∈c=100 m2 mol−1, a molality of CO2 between 0.3512 and 7.6533 in mol kg−1 is calculated.
Based on thermodynamics based correlations for standard chemical potentials for CO2 in water, fugacity coefficients, and the vapor pressure of water, molality of CO2 in an aqueous solvent may be computed reasonably well for P and T ranges of interest. Calculated solubilities from these correlations are shown for different temperatures within a range of interest in
As described above, in certain embodiments, once the at least one processor 68 determines the refractive index of the formation fluid 44 and the carbon dioxide concentration in the formation fluid 44, the at least one processor 68 may send control signals (e.g., via the communications interface 60) to the control systems 18, 22 illustrated in
The embodiments of the present disclosure include, but are not limited to:
The specific embodiments described above have been illustrated by way of example, and it should be understood that these embodiments may be susceptible to various modifications and alternative forms. It should be further understood that the claims are not intended to be limited to the particular forms disclosed, but rather to cover all modifications, equivalents, and alternatives falling within the spirit and scope of this disclosure.
The present application claims priority benefit of U.S. Provisional Application No. 63/269,882 filed Mar. 24, 2022, the entirety of which is incorporated by reference herein and should be considered part of this specification.
Number | Date | Country | |
---|---|---|---|
63269882 | Mar 2022 | US |