Introduction

The bubble point pressure of hydrocarbon systems is the pressure at which the first bubble of gas evolves from the liquid phase at a specific temperature. The property is obtained experimentally from the CCE test. The bubble point pressure is essential for planning and managing oil field development and production strategies.

The conventional procedure of the determination of bubble point pressure is a trial-and-error. It consists of two steps: the estimation of bubble point pressure by visual graphical analysis. Then smoothing PV data below bubble point pressure utilizing y-function, described by Standing (1952) and Williams (2011), to refine the first estimate.

The y-function smoothing method has several disadvantages. Firstly, the visual graphical estimation of bubble point pressure or pressure–volume traverse into the two-phase region is subjective. Secondly, only the experimental data at pressures below the bubble point are utilized to obtain the bubble point pressure, while the PV data above the bubble point is ignored. Thirdly, the smoothing procedure is a time-consuming trial-and-error process and might not yield the optimal result. Y-function with an error in the bubble point volume may yield a straight line but with the wrong bubble point pressure. Also, the Y-function straight line can be obtained with several combinations of bubble point volume and bubble point pressure. Fourthly, the bubble point pressure is adjusted while bubble point volume is not, leading to dislocation of the intersection point. Therefore, the smoothing method with y-function leads to the non-uniqueness of bubble point pressure and volume values. The lack of repeatability and accuracy of the conventional bubble point pressure determination is evident.

There are other methods to estimate bubble point parameters. Al-Yousef and Al-Marhoun (1995) presented a nonlinear parameter estimation approach to estimate bubble point parameters. It smooths the PV data points above and below the bubble point pressure and simultaneously determines the volume and pressure of the bubble point. The authors introduced x-function to model the PV data above the bubble point and the conventional y-function to describe the PV data below it. Hoang et al. (2017) presented a scheme to estimate the bubble point of oils from PV data. The proposed technique relies on an iterative process utilizing the Tait equation, described by Dymond and Malhotra (1988), to model the liquid data. Y-function describes the two-phase data. Table 1 presents a summary of the literature review for the determination of bubble point pressure.

Table 1 Literature review for the determination of bubble point pressure

Several US patents presented procedures for the determination of bubble point pressure of hydrocarbon systems. Shwe, et al. (2001), DiFoggio, et al. (2006) and Angelescu, et al. (2015), in their inventions, were concerned with finding a method to determine unique bubble point pressure. Their methods are not simple, and their solution is not unique.

The proposed new approach is a derivative-based procedure. The new procedure utilizes the PV data to determine bubble point pressure and volume of hydrocarbon systems directly. A new model based on the exponential-power function proves to be a reliable fluid model that accurately describes the PV data. This method leads to a unique solution of bubble point pressure and volume. Accuracy and repeatability in the new procedure are guaranteed regardless of who performs the calculation.

Data acquisition

Experimental PV data of two oil samples, black and volatile, were collected from laboratory CCE tests. The two oil samples are studied because the black oil PV data behave differently from the volatile sample at bubble point pressure. In the CCE experiment, reservoir liquid is maintained at reservoir temperature and a pressure higher than the bubble point pressure. Then the pressure is gradually reduced in steps, and the fluid volume is recorded at each step. Columns 2 and 3 of Table 2 present the experimental PV data of the black oil sample, while columns 2 and 3 of Table 3 present the experimental PV data of the volatile oil sample. Figure 1 shows the plots of the experimental PV data of black and volatile oil samples from the CCE test.

Table 2 Experimental PV data and analysis of the black oil sample
Table 3 Experimental PV data and analysis of the volatile oil sample
Fig. 1
figure 1

Experimental PV data from laboratory CCE test

The conventional procedure of the determination of bubble point pressure

The conventional industry method of determining bubble point pressure is two step procedure utilizing PV data obtained from the CCE test:

The estimation of bubble point pressure by visual graphical analysis

The PV data is plotted on a rectangular coordinate system and shown in Fig. 2. The plotted curve shows an inflection for black oils where the behavior traverses into two-phase oil and gas regions. For some volatile oils, the pressure–volume curve is smooth, and the inflection is not very clear, and it becomes difficult to determine the bubble point. In general, at the high-pressure end, the pressure-volume follows almost a straight line reflecting single-phase behavior. Below bubble point pressure, the PV data is curved and far from behaving like a straight line reflecting two-phase behavior. However, with a few points after the inflection point, a straight line is drawn. The intersection of the two straight lines is the first estimate of bubble point pressure and volume.

Fig. 2
figure 2

Visual graphical analysis to obtain the first estimate of bubble point pressure

Smoothing of PV data below bubble point pressure

The two-phase PV data are the points below the estimated bubble point pressure. Y-function is used to smooth the PV data below the bubble point to refine the value of bubble point pressure. The first estimated bubble point volume is not refined but taken as the final value. The dimensionless y-function is defined as:

$$y = \frac{{\left( {P_{{\text{b}}} {\text{/P}} - 1} \right)}}{{\left( {V_{{\text{t}}} {\text{/V}}_{{\text{b}}} - 1} \right)}}$$
(1)

The smoothing method is a trial-and-error. It starts by taking the first estimate of the bubble point pressure from the visual graphical analysis. Y-function is calculated as a function of pressure. Change the value of bubble point pressure until a straight line of y-function versus pressure is obtained; otherwise, a new value of bubble point pressure is assumed, and the process is repeated. If a straight line is obtained, the assumed value of bubble point pressure is correct. The straight line is fitted as:

$$y_{{\text{i}}} = a_{1} + a_{2} p_{{\text{i}}}$$
(2)

Combining Eq. 1 and Eq. 2 yield

$$\frac{{V_{{\text{t}}} }}{{V_{{\text{b}}} }} = 1 + \frac{{P_{{\text{b}}} /P - 1}}{y}$$
(3)

Applications of Eq. 3 calculate smoothed relative two-phase volumes vt /vb. A plot of y-function versus pressure is constructed, as shown in Fig. 3.

Fig. 3
figure 3

Y-function versus pressure for several bubble point assumptions

Methodology

The proposed new approach is a derivative-based technique that utilizes the PV data obtained from the CCE test. The new technique determines bubble point pressure and volume of hydrocarbon systems directly. The proposed new approach is summarized in the following three consecutive steps:

Step 1. Locate the inflection point of PV data

The classical approach to bracket the bubble point pressure is a trial-and-error approach or graphical and visual judgment. In this study, a new approach is developed to directly determine the inflection point of experimental PV data where the bubble point is.

For a given temperature, the fluid volume is a function of pressure.

$${\text{v}} = f\left( p \right)$$
(4)

The CCE test provides a set of PV data points (p, v) in descending order of pressure corresponding to ascending order of fluid volume, as shown in Tables 2 and 3. For discrete PV data, the volume of fluid at pressure i is

$$v_{i} = f\left( {p_{i} } \right), i = 1,2, \ldots \ldots n$$
(5)

Finite differences approximate the function derivative for discrete data points. The numerical derivative of a function f at a point pi is defined by the limit as follows:

$$f^{\prime}\left( {p_{i} } \right) = \mathop {\lim }\limits_{{p_{i} \to p_{i + 1} }} \left( {\frac{{v_{{\text{i}}} - v_{i + 1} }}{{p_{{\text{i}}} - p_{i + 1} }}} \right), i = 1,2, \ldots \ldots .n - 1$$
(6)

The numerical estimates of the first derivative of all PV data are taken sequentially. Introducing the concept of derivative ratio as follows:and

$$f_{{r{\text{atio}}}}^{{\prime}} \left( {p_{{\text{i}}} } \right) = \frac{{f^{\prime}\left( {p_{{\text{i}}} } \right)}}{{f^{\prime}\left( {p_{i - 1} } \right)}} , i = 2,3, \ldots \ldots .n - 1$$
$$f_{{{\text{ratio}}}}^{{\prime}} \left( {p_{1} } \right) = f_{{{\text{ratio}}}}^{{\prime}} \left( {p_{2} } \right)$$
(7)

The consecutive derivative ratios form several peaks and troughs. The highest peak always exists at the inflection of PV data to traverse into the two-phase region. The inflection point separates the PV data into two groups. The PV data above the pressure of the highest peak are the PV data above bubble point pressure. The PV data at and below the highest peak pressure are the PV data below bubble point pressure.

Step 2. Develop mathematical models to describe PV data

The PV data does not follow a power function, nor does it follow an exponential one. The PV data follows a combination of the two. Let us call this new mathematical model an exponential-power function. The exponential-power function model accurately describes the PV data above and below the bubble point.

Above the bubble point pressure, the new exponential-power function model is introduced to describe the volume of a liquid, vo, in terms of pressure along an isotherm as

$$v_{o} = e^{{{\text{a}}_{{1}} {\text{ + a}}_{{2}} {\text{p}}_{{\text{o}}} }} p_{{\text{o}}}^{{{\text{a}}_{{3}} }}$$
(8)

where a’s are the least square fitted numerical parameters.

Similarly, below the bubble point pressure, a new exponential-power function model is introduced to describe the volume of a two-phase fluid, vt, in terms of pressure along an isotherm as

$$v_{{\text{t}}} = e^{{{\text{b}}_{{1}} {\text{ + b}}_{{2}} {\text{p}}_{{\text{t}}} }} p_{{\text{t}}}^{{{\text{b}}_{{3}} }}$$
(9)

where b’s are the least square fitted numerical parameters.

Step 3. Determine bubble point pressure and volume

Mathematical manipulations of the new mathematical model, the exponential-power function, leads to direct determination of both bubble point pressure and volume simultaneously.

Taking the logarithm of both sides of Eq. 8 and Eq. 9

$$\ln v_{{\text{o}}} = a_{1} + a_{2} p_{{\text{o}}} + a_{3} \ln {\text{p}}_{{\text{o}}}$$
(10)
$$\ln v_{{\text{t}}} = b_{1} + ab_{2} p_{{\text{t}}} + b_{3} \ln p_{{\text{t}}}$$
(11)

The intersection of the two curves is the bubble point volume, vb, therefore

$$\ln v_{{\text{b}}} = a_{1} + a_{2} p_{{\text{b}}} + a_{3} \ln p_{{\text{b}}}$$
(12)
$$\ln v_{{\text{b}}} = b_{1} + b_{2} p_{{\text{b}}} + b_{3} \ln p_{{\text{b}}}$$
(13)

Combining the two equations yield

$$g\left( {p_{{\text{b}}} } \right) = \left( {b_{1} + b_{2} p_{{\text{b}}} + b_{3} \ln p_{{{\text{b}} }} ) - (a_{1} + a_{2} p_{{\text{b}}} + a_{3} \ln p_{{\text{b}}} } \right) = 0$$
(14)

or

$$g\left( {p_{{\text{b}}} } \right) = \left( {b_{3} - a_{3} } \right)\ln p_{{\text{b}}} + \left( {b_{2} - a_{2} } \right)p_{{\text{b}}} + \left( {b_{1} - a_{1} } \right) = 0$$
(15)

The general form of the intersection function and its derivative at x is

$$g\left( x \right) = \left( {b_{3} - a_{3} } \right)\ln x + \left( {b_{2} - a_{2} } \right){\text{x}} + \left( {b_{1} - a_{1} } \right)$$
(16)
$$g^{\prime}\left( x \right) = \frac{{\left( {b_{3} - a_{3} } \right)}}{x} + \left( {b_{2} - a_{2} } \right)$$
(17)
$$x_{{{\text{max}}}} = - \frac{{b_{3} - a_{3} }}{{b_{2} - a_{2} }},{\text{when}} g^{\prime}\left( x \right) = 0$$
(18)

xmax corresponds to the maximum point of Eq. 15. Therefore, the conditions of finding a solution to Eq. 15 are as follows:

If \({g}^{{\prime}}\left({x}_{max}\right)>0\), then the two PV curves intersect, and there exist two solutions. The bubble point is the smallest value.

If \({g}^{{\prime}}\left({x}_{max}\right)=0\), the two PV curves intersect at a single point, and the pb = xmax.

If \({g}^{{\prime}}\left({x}_{max}\right)<0\), the two PV curves do not intersect, and Eq. 15 has no solution.

Eq. 15 is a nonlinear equation with one unknown. There are several methods of solving such an equation, like Newton's method or the bisection method.

After the bubble point pressure is determined, the bubble point volume is evaluated by Eq. 12 or Eq. 13. Both equations must yield the same value.

$$v_{{\text{b}}} = {\text{exp}}(a_{1} + a_{2} p_{{\text{b}}} + a_{3} \ln p_{{\text{b}}} )$$
(19)

or

$$v_{{\text{b}}} = {\text{exp}}(b_{1} + b_{2} p_{{\text{b}}} + b_{3} \ln p_{{\text{b}}} )$$
(20)

Applications of the proposed scheme

Experimental PV data of two oil samples, black and volatile, were collected from laboratory CCE tests. The PV data are presented in columns 1 and 2 of Tables 2 and 3. The application of the proposed new scheme, including detailed data analysis, is done in three consecutive steps:

Step 1. Locate the inflection point of PV data.

The CCE test provides a set of PV data points (pivi) in descending order of pressure corresponding to an ascending order of fluid volume, where i varies from 1 to n.

The first derivative of discrete data points is approximated by finite differences described by Eq. 6. The numerical estimate of the first derivative of all PV data is taken sequentially and presented in column 4 of Tables 2 and 3 and shown in Fig. 4.

Fig. 4
figure 4

Finite difference derivatives across the upper half and derivative ratios span the lower half

The concept of the derivative ratio is defined by Eq. 7. The calculated derivative ratio of all PV data is taken sequentially and presented in column 5 of Tables 2 and 3.

The consecutive derivative ratios form several peaks and troughs. The peaks are presented in column 6 of Tables 2 and 3. The highest peak exists at the inflection of PV data, as shown in Fig. 4.

Step 2. Develop mathematical models to describe PV data.

The inflection point separates the PV data into two groups, one above and one below the bubble point. Then, the mathematical models are developed for the PV data above and below bubble point pressure. Linearized least square regression analysis is used to find the best fit.

The PV data above the pressure of the highest peak are the PV data above bubble point pressure. Eq. 10 describes the PV data above bubble point pressure. A least-square fitting of the linearized exponential-power function yields predicted oil volume:

$$\ln v^{ \wedge }_{o} = a_{1} + a_{2} p_{o} + a_{3} \ln p_{o}$$
(21)

The relative errors or differences between measured and predicted values are

$$\varepsilon_{{{\text{oi}}}} = (v_{{{\text{oi}}}} - \hat{v}_{{{\text{oi}}}} )/v_{{\text{oi }}} , 1,2, \ldots ,{\text{n}}_{{\text{o}}}$$
(22)

The average absolute relative error of all PV data points above bubble point pressure is defined as

$$E_{{\text{a}}} = \frac{1}{{n_{{\text{o}}} }}\mathop \sum \limits_{{\text{i}}} \left| {\varepsilon_{{{\text{oi}}}} } \right|$$
(23)

The fitting parameters for the PV data above bubble point pressure and the average absolute relative error are presented in Table 4.

Table 4 Fitting parameters and errors of PV data above the bubble point

The PV data at and below the highest peak pressure are the PV data below bubble point pressure. Eq. 11 fits the PV data below bubble point pressure. A least-square fitting of the linearized exponential-power function yields the predicted two-phase volume:

$$\ln v^{ \wedge }_{{\text{t}}} = b_{1} + ab_{2} p_{{\text{t}}} + b_{3} \ln p_{{\text{t}}}$$
(24)

The relative errors or differences between measured and predicted values are

$$\varepsilon_{{{\text{ti}}}} = (v_{{{\text{ti}}}} - v^{ \wedge }_{{{\text{ti}}}} )/v_{{{\text{ti}} }} , 1,2, \ldots ,n_{t}$$
(25)

The average absolute relative error of all PV data points below bubble point pressure is defined as

$$E_{{\text{b}}} = \frac{1}{{n_{{\text{t}}} }}\mathop \sum \limits_{{\text{i}}} \left| {\varepsilon_{{{\text{ti}}}} } \right|$$
(26)

The fitting parameters for the PV data below bubble point pressure and the average absolute relative error are presented in Table 5.

Table 5 Fitting parameters and errors of PV data below the bubble point

Figure 5 shows the comparison of experimental PV data and smoothed exponential-power function fit.

Fig. 5
figure 5

Comparison of experimental PV data and smoothed exponential-power function fit

Step 3. Determine bubble point pressure and volume.

The exponential-power function curves describing PV data above and below the bubble point intersect at the bubble point pressure and volume. The intersection defined in Eq. 15 is solved for bubble point pressure with Newton's method or bisection method. The bubble point pressure is determined directly from Eq. 15, while the bubble point volume is evaluated by Eq. 19 or Eq. 20. The bubble point pressure and volume are presented in Table 6. Figure 6 shows the graphical solution and behavior of the bubble point intersection function, Eq. 15.

Table 6 Bubble point pressure and volume
Fig. 6
figure 6

Solution of bubble point intersection function, Eq. 15

Smoothed PV relationship is usually tabulated in fluid analysis laboratory reports for reservoir properties calculations. Smoothed volume above the bubble point pressure is calculated by Eq. 21, while smoothed volume below the bubble point pressure is calculated by Eq. 24. The relative volume of fluid is evaluated as follows:

$$v_{{\text{r}}} = \frac{{\hat{v}_{{{\text{oi}}}} }}{{v_{{\text{b}}} }},\;\;{\text{ for}}\;\; {\text{PV }}\;\;{\text{data }}\;\;{\text{above }}\;\;p_{{\text{b}}}$$
$$v_{{\text{r}}} = \frac{{\hat{v}_{{{\text{ti}}}} }}{{v_{{\text{b}}} }},\;\;{\text{ for}}\;\; {\text{PV }}\;\;{\text{data }}\;\;{\text{below }}\;\;p_{{\text{b}}}$$
(27)

Smoothed volume, relative error, and relative volume are presented in columns 4–7 of Tables 7 and 8.

Table 7 Smoothed PV data of the black oil sample
Table 8 Smoothed PV data of the volatile oil sample

Conclusions

Based on the results of this study, the following conclusions are drawn:

  1. 1.

    A new method for the determination of bubble point pressure and volume of hydrocarbon systems is presented.

  2. 2.

    The concept of derivative ratio clearly shows that the single-phase fluid traverses into a two-phase region. The highest peak of the derivative ratio separates the PV data into two groups, one above bubble point pressure and the other below bubble point pressure.

  3. 3.

    Bubble point pressure and volume are determined directly and simultaneously, while the current method goes through visual graphical judgment and a trial-and-error procedure.

  4. 4.

    The exponential-power function model accurately describes the PV data above and below the bubble point.

  5. 5.

    The new non-iterative technique utilizes all data points above and below the bubble point to obtain unique values for the bubble point pressure and volume. While conventional y-function method utilizes the PV data below bubble point only.

  6. 6.

    The new method yields a unique bubble point pressure and volume. Therefore, the procedure is repeatable regardless of who performs the calculation, while the conventional procedure for determining bubble point pressure is not reproducible.