Вы находитесь на странице: 1из 5

SPE 146394

Why Y?
John M. Williams, The Petroleum Institute Abu Dhabi

Copyright 2011, Society of Petroleum Engineers

This paper was prepared for presentation at the SPE Annual Technical Conference and Exhibition held in Denver, Colorado, USA, 30 October2 November 2011.

This paper was selected for presentation by an SPE program committee following review of information contained in an abstract submitted by the author(s). Contents of the paper have not been
reviewed by the Society of Petroleum Engineers and are subject to correction by the author(s). The material does not necessarily reflect any position of the Society of Petroleum Engineers, its
officers, or members. Electronic reproduction, distribution, or storage of any part of this paper without the written consent of the Society of Petroleum Engineers is prohibited. Permission to
reproduce in print is restricted to an abstract of not more than 300 words; illustrations may not be copied. The abstract must contain conspicuous acknowledgment of SPE copyright.

Abstract The Y-function has been mentioned in talks by an SPE


This paper provides an analysis of a widely-used Distinguished Lecturer7, but there does not seem to be a
pressure-volume-temperature (PVT) parameter, reliable reference to the technique giving a balanced
demonstrating common errors made in its use and the lack analysis. Although numerous papers and books refer to the
of detailed descriptions in common reservoir engineering use of the Y-function, there is rarely any discussion of the
texts. Use of the Y-function is a valuable tool for experimental method used to collect the data, nor of the
increasing the accuracy of bubble point measurements, effect of measurement accuracy on bubble point pressure
and it has other important uses, but its detailed application and Y-function values. Both these issues are discussed in
is poorly understood, leading to unnecessary errors in one some detail here.
of the most fundamental PVT properties.
Best practices have been developed and are presented, Experimental Procedure
to encourage proper application of the Y-function, The Y-function is obtained from pressure and volume
together with detailed recommendations for setting up measurements during the flash liberation experiment in a
Excel spreadsheets to help identify the most precise Pressure-Volume-Temperature (PVT) study of an oil
bubble point, and optimize Y-function values. reservoir fluid. This study, usually performed at the
More extensive use of the Y-function to obtain bubble reservoir temperature, involves stepwise increases in
points for down hole or surface oil samples is volume with equilibrium pressure being achieved at each
recommended as it could improve quality control and stage, typically by agitation the fluid being agitated Since
selection of more representative samples. there is no change in the overall composition of the
sample, this experiment is also known as the constant
Introduction mass study (CMS) or constant composition expansion
The Y-function determination is a traditional part of oil (CCE). The pressure response is normally in two distinct
PVT studies, providing an equation to match the two- parts: while the fluid is a one-phase liquid, the pressure
phase region of the flash study, but its uses are often not falls rapidly with decreasing volume, corresponding to the
fully understood, both by PVT specialists and reservoir compressibility of the oil; once below the bubble point
engineers. The subject has been raised in talks by an SPE pressure decline is much slower since the increasing
Distinguished Lecturer, but there is a need for a reliable proportion of gas greatly increases the compressibility of
reference to the technique giving a balanced analysis. the system. In most cases, the volume-pressure plot gives a
Proper use of the Y-function can lead to bubble point clear change in slope at the bubble point, and this is the
measurements of the highest precision, essential for basis of the experimental determination of bubble point.
reliable reservoir property correlation work and of great Note that the experimental volume is often reported in
use in the quality control of samples, but the mathematical terms of relative volume, the volume divided by the
procedures must be tempered by a fundamental volume at the bubble point pressure. One-phase data are
understanding of the measurements themselves. used to determine oil compressibility, while the two-phase
This paper presents a detailed approach to Y-function data below bubble point pressure, and the bubble point
optimization using basic and advanced Excel spreadsheet data are used to derive the Y-function.
techniques, which can be used to ensure bubble point Similar pressure-volume experiments are commonly
measurements are the most accurate physical property used to obtain bubble point pressure for a liquid sample,
measured on the reservoir fluid. The approach also which serves as an important quality control parameter.
addresses the problem of calculating fluid Although these measurements may be made at reservoir
compressibilities without excessive smoothing. temperature for down hole samples, or separator
2 SPE 146394

temperature for separator samples, they are commonly the oil, which means the system may not reach full
performed at ambient temperature, and no Y-function data equilibrium during the experiment, and visual observation
are reported. An example of a bubble point determination may be impossible. If a sample is not thoroughly
is shown in Figure 1, where measurements have been homogeneous, for example a down hole sample that has
plotted by hand, and the bubble point pressure obtained by separated into oil and gas phases while the sampler is
finding the intersection of hand-drawn curves for the one- being retrieved, and has not been mixed together, the
phase and two-phase parts of the P-V response. pressure volume curve usually does not show a clear
It should be noted that the bubble point pressure is break, since different portions of the fluid will have
almost always an interpretation based on the measured different bubble points, and the overall response is that of
data, especially when the fluid is studied in a pressure cell a combination of different fluids. If possible, such a
that has no viewing port of window (commonly referred to measurement should be repeated after increasing the
as a blind cell). The same situation occurs when the sample pressure are further agitation and/or equilibrium
measurement is performed in a sampling tool or sample time.
bottle. Even with a windowed-cell, the cell geometry is Experimental technique and the experience of
such that it is not possible to observe the first laboratory personnel can also affect measurement
infinitesimally small bubble of gas which corresponds to accuracy. Sometimes measurements are made while trying
the bubble point, but subsequent observation does provide to achieve equilibrium pressures at round numbers, but
a lower limit on the measurement. this can lead to multiple adjustments to cell volume, each
of which disturbs the equilibrium, and may lead to data
either being recorded before full equilibrium has been
achieved, or to pressures being approximated to the target
value. Data at rounded values is thus likely to be of lower
accuracy, especially in the two-phase region where
equilibrium takes longer. Best practice involves using
target pressure values at regular intervals, but once near
the target, bringing the system to proper equilibrium and
then recording the exact pressure. Once below the bubble
point, it is advisable to use target volumes, starting by
repeating the volume increases just before the bubble point
for at least two steps, and then doubling volume increases
until the maximum cell volume is achieved.
In some cases supersaturation has been observed where
the system pressure drops below the actual pressure,
before rising again. This may be of very short duration,
and is often recognized as an indication that the pressure
has just passed below the bubble point pressure. However,
sometimes the situation lasts longer, especially with
measurement systems with no, or little agitation, and it
may be possible to make measurements in the metastable
state. This is actually a continuation of the one-phase
pressure response. Once a higher pressure is detected as
the system becomes two phase, it is clear the previous
measurement was under supersaturated condition.

Y-function Definition
Firstly it is worth pointing out that the term Y-function
is not exclusive to petroleum engineering, and searches
indicate other fields such as nuclear physics where the
term is used.
Figure 1. Bubble point determination on a down hole In petroleum engineering the term is defined by the
sample. following empirical equation:
Y = (Pb-P)/[(Pabs) x (Vr-1)] (1)
Other factors can also affect the determination of the where Pb represents the bubble point pressure, P
bubble point. In the case of very volatile oils, the oil represents the pressure for an equilibrium measurement in
compressibility is high and changes significantly with the two-phase region, Pabs is the same pressure in
pressure such that it may be difficult or impossible to absolute units, and Vr is the relative volume for the same
identify the bubble point from a discontinuity in the equilibrium measurement, namely the actual volume
volume-pressure response, and a visual observation of free divided by the volume corresponding to the bubble point.
gas becomes essential. Highly viscous crudes may take Since (Pb-P) is a difference, both pressures can be in either
exceptionally long times for gas bubbles to separate from gauge or absolute units, providing they are consistent. The
SPE 146394 3

term (Vr-1) may also be written (V/VPb-1). It is Y-function relations1, often involve transcription
immediately clear that the Y-function formula becomes errors which are readily identified.
very sensitive for equilibrium measurements close to the
bubble point where the numerator and the denominator 2. Smoothing of Volume Data
approach zero. The use of the Y-function for smoothing volume
Figure 2 shows data from reference 2, in which the data has been proposed6, using a rearranged version
reported bubble point has been excluded, on the basis this of the best fit line Y = aP + b. However, a review of
it is an interpretation based on the other data. Three the different accuracies in experimental data, show
different plots of Y-function values have been made using that pressure measurements are typically reported to
three different estimates for the true bubble point. These 1 psi in several thousand (e.g. 0.02%) while volume
clearly demonstrate the sensitivity of the Y-function to the precisions are typically 0.005 cm3 in 100 cm3 (0.005
bubble point pressure, and indicate that the actual bubble %). it is thus probably more realistic to modify
point pressure of 2620 psig was apparently not the most pressures, as changes will probably be within the
precise value. normal precision of the measurements. Note
however, that no smoothing of data should be
attempted until the most reliable bubble point datum
has been obtained as described below.

3. Validate and Increase the Precision of the Bubble


Point
The formula for the Y-function is extremely
sensitive to errors in selection of the bubble point
pressure, as indicated previously in Figure 2. Since
no physical measurement is usually made at the true
bubble point, the Y-function curve is an excellent
tool for optimizing the bubble point selected. Most of
the reference texts consulted2,3,5, do not report this
feature of the Y-function and infer that it may not be
used as regularly as it should. Most references
overlook to point out that changing the bubble point
pressure normally requires correction of the volume
at the bubble point, since both are integral to the Y-
function formula. One reference that does raise the
issues of volume errors7, suggests using a separate
X-function for smoothing volume data.
The data used in the generation of Figure 2 are re-
plotted in Figure 3 after optimization of the bubble
point to 2622 psig, rather than the 2620 psig value
reported in the original text2, clearly showing the
Figure 2. Y-function dependence on selection of Pb
value of the technique. Figure 3 also shows data
plotted assuming errors of +1 or -1 psi in the reported
Analysis of Y-function Uses
values, and this clearly illustrates that this level of
error is adequate to explain the remaining Y-function
1. Quality Control of P-V Data
deviations from the best fit straight line.
One of the most basic applications of the Y-
With some data, it may be possible to use this
function, like any plot of data, is as a quality control
form of interpretation method to obtain values for
tool. Any unusual deviations from a smooth response
bubble point pressure with surprising precision,
should be investigated. They may simply be due to
namely fractions of a pound per square inch. Of
transcription errors in entering measured values in
course, this precision should not be confused with the
the spreadsheet, but can also derive from errors in
accuracy of pressure measurements, typically quoted
recording experimental measurements, or possibly
as a fraction of a percent of the full scale reading of
errors in experimental techniques. In the latter case, it
the pressure gauge, meaning that measurements
is better to eliminate the questionable datum, unless
made in the lower region of a pressure gauge may
the mistake can be corrected with certainty, for
have relatively low accuracy. This can be improved
example if an obvious digit has been missed from the
by proper calibration of the pressure gauge against a
recorded value. As explained earlier, the Y-function
reference pressure system. In fact, close inspection of
is extremely sensitive to measurement precision near
the Y-value data in Figure 3 shows systematic
the bubble point pressure, so is less useful for quality
positive deviations from the best fit line at low
control of data in this location. Laboratory classes in
pressures and negative deviations at higher pressures
which students use pressure-volume data to develop
4 SPE 146394

(apart from the pressures near the bubble point). This laboratory. This means that additional corrections
could well be due to gauge accuracy variations. need to be included if a gas cap is present, if water
production occurs, or there is a significant water
drive. The method is certainly not recommended if
significant differential behavior is occurring in the
reservoir. Since modern reservoir modelling tools are
much better at combining all the likely contributions
to reservoir pressure-volume changes, it appears that
the Y-method is now of limited value. Whereas the
method is covered in a former edition of the
Petroleum Engineering Handbook8, there is no
reference to it in the index of the latest edition.

Excel Spreadsheet Techniques


Excel spreadsheets are very widely used to record and
interpret laboratory measurements, and this is certainly
true of PVT experiments and Y-function data. Careful use
of a number of techniques can facilitate data handling, and
ensure best quality bubble point and Y-function values are
obtained. The following basic techniques are
Figure 3. Y-function after Pb Optimization, and
Effect of Errors recommended, though spreadsheet capabilities are
regularly extended by software developers, and more
powerful techniques such as the use of macros may be
Y-function plots for sample bubble points have
never been seen by the author in laboratory reports, suitable.
- Set up a spreadsheet with a view to using it as a
but may be used by some laboratories. More
model for subsequent use, so not include variable
extensive use of the Y-function to obtain bubble
points for down hole or surface oil samples could values in formulae, and anticipate that the number
of measured data will vary between experiments.
improve quality control and selection of more
- Build a table of pressure and volume (or relative
representative samples. More precise measurements
would enable higher confidence in sample quality, volume data) and add a blank line in the table
with a label add new lines above this line.
especially if the same pressure gauge is used for all
Make sure that data sets plotted in graphs include
the samples, so that errors in accuracy would be
identical. This is in fact common practice in many the blank lines, and then data in additional lines
inserted above will also be plotted. Otherwise any
laboratories.
data added will not be included in the graph
More precise bubble point measurements of
reservoir fluids may also help quantify compositional without
- Allocated separate cells for parameters such as
differences in fluids, especially when one phase
samples are available as these avoid errors in bubble point pressure and volume at the bubble
recombination derived from gas oil ratio point pressure, and link all calculations of Y-
function to these cells. This makes it easy to
measurements.
optimize the bubble point pressure by viewing the
effect of changes in the Y-function graph. If the
4. Modelling of Reservoir Behavior (the Y-Method)
spreadsheet includes a best fit curve for the one-
The fact that the Y-function usually provides a
good fit of two-phase data has traditionally been used phase response, this can be used to calculate
bubble point volume automatically from bubble
as a simple model for volume changes in the
point pressure.
reservoir3,4,8. This approach is often referred to as the
Y-method, and can be used as a tool to evaluate or - It is also possible to include a parameter which
predict pressure and volume changes in a reservoir indicates the number of data which represent the
with production. For reservoir applications, a form of one-phase part of the flash liberation study.
the Y-function similar to the following is used: Entries can be numbered and a suitable IF
Y = (Pb - PR )Boi/[PR(Bt - Boi)] (2) statement used to separate the pressure or volume
where Pb is again the bubble point, PR is the reservoir data (or both) into separate columns facilitating
pressure, Boi is the initial formation volume factor, plotting, and curve fitting. This functionality
and Bt is the formation volume factor at reservoir helps when a new set of data has a different
pressure PR. number of one-phase points than in the previous
There are obviously major constraints with this data set, and is very useful when there is one
method, essentially linked to the volumetric changes datum (or more data) very near the bubble point,
occurring in the reservoir being consistent with the and the plots from different data sets need to be
way the flash liberation study is performed in the compared.
SPE 146394 5

- Obtain a best fit curve for the one phase data This work includes the following:
keeping the order of the polynomial as low as Review of the uses of the Y-function and their
possible. This enables the calculation of bubble limitations
point volume from bubble point pressure, as Analysis of the effect of experimental
mentioned above. uncertainties
- It is very useful to obtain a best fit curve for the Review of experimental measurements with some
same one-phase data when plotted with volume best practices proposed.
on the y-axis. Differentiating the resulting best fit Recommendations for optimization of the Y-
line equation, provides dV/dP values which can function, with demonstration of the benefits.
be used to derive oil compressibility values using: Detailed recommendations for the development
Co = -1/V.dV/dP (3) of Excel-based techniques for improved bubble
- If smoothing data by using a best fit line from point determination and Y-function optimization.
Excel, select the Trendline Label, choose More extensive use of the Y-function to obtain bubble
Format Trendline label in the right click points for down hole or surface oil samples is
menu, and set the format to scientific with at least recommended as it could improve quality control and
four decimal places. This is especially important selection of more representative samples. It may also help
if the best fit equation contains both positive and with identification of compositional variations in
negative terms. reservoirs.
- Since there appears to be no way to access best fit
line formulae from Excel graphs within the Acknowledgments
spreadsheet cells themselves, either the formulae The author would like to thank the Petroleum Institute
need to be transcribed manually, or a more for permission to publish this work. The author would also
advanced function must be used to derive the like to thank Mr. Jan Srensen, formerly of Saga
parameters of the best fit within one or more cells Petroleum, who first asked the author the question that
in the spreadsheet. For example: forms the paper title, and Mr. Mimoune Kissami, also at
o SLOPE Returns the slope of the the PI, for useful discussions on the subject of the Y-
linear regression line through data function.
points in known y's and known x's.
o INTERCEPT Calculates the point at References
which a line will intersect the y-axis 1. Williams, J.M.: Dedicated HSE Education for
by using existing x-values and y- Undergraduate Petroleum Engineers, SPE paper
values. 98691, presented at the SPE International Conference
This option eliminates the problem with loss of on Health, Safety, and Environment in Oil and Gas
precision in best fit line parameters mentioned Exploration and Production held in Abu Dhabi,
above. U.A.E., 24 April 2006.
- Whether the original experimental volume data 2. The Properties of Petroleum Fluids, William D.
were given in the form or relative volumes or cell McCain Jr., 2nd Edition, PennWell Publishing
volumes, it is advisable to recalculate relative Company, 1990. ISBN: 0-87814-335-1
volume data based on the bubble point volume 3. Volumetric and Phase Behavior of Oil Field
optimized by use of the Y-function. T Hydrocarbon Systems, M.B. Standing, SPE, Dallas,
- Once the spreadsheet has been used successfully, 1977
clear the input data and re-save as a model. Any 4. Applied Petroleum Reservoir Engineering, Craft, B.C.
parameters or changes which must be entered by and Hawkins, M.F., Prentice Hall Inc., New Jersey,
hand can be explained by adding a note entry in 1959
the appropriate cell. To avoid the model being 5. Phase Behavior, Whitson C.H. and R. Brul, M.R.,
overwritten, set the file to read only (right click S Monograph volume 20, Sciety of troleum
on the icon and choose properties and select the Engineers, 2000, ISBN: 1555630871, 240 pages
read only box. 6. Reservoir Engineering Handbook, Ahmed, T.,
Elsevier Inc., 2006, ISBN 13: 978-0-7506-7972-5
Conclusions 7. Reservoir Fluid Properties - State of the Art and
Use of the Y-function is a valuable tool for increasing Outlook for Future Development, Marhoun, M., SPE
the accuracy of bubble point measurements, and it has 101449 (Presentation), 4th July 2002
other important uses, but its detailed application is poorly 8. Petroleum Engineering Handbook, Editor Bradley
understood, leading to unnecessary errors in one of the H.B., 1987, SPE, Texas, USA, p. 40-6.
most fundamental PVT properties.

Вам также может понравиться