Introduction

Hydrocarbon-water fluid systems consist of different components including hydrocarbons and water distributed in the three phases of water-rich liquid, hydrocarbon-rich liquid and vapor. Accuracy and speed of computation for modeling these systems depend directly on the complexity of the thermodynamic description of the involved fluids. Most studies such as Guanren (1986), Shi et al. (2005), Cazarez-Candia and Vasquez-Cruz (2005) as well as Hasan et al. (2007) performed the calculations for the hydrocarbon-water system based on the simplified black-oil approach. In the black-oil model, two pseudo-components namely oil and gas are utilized to describe the hydrocarbon fluid system. A third pseudo-component is also employed describing the water. These pseudo-components are usually defined as distinct phases at standard conditions. For example, the gas (vapor) and oil (liquid) at surface conditions are labeled as the gas and oil pseudo-components, respectively. Here, only the gas component is allowed to dissolve in the oil phase, while fluid properties can be supplied as functions of pressure and temperature via data tables, or calculated from the built-in correlations.

The wise approach to predict the phase behavior is a compositional description in which all components are allowed to distribute between the phases. Compositional model deals with quite a large number of components using equilibrium flash calculations for all components as well as K values and an equation of state to determine the phase compositions. In principle, a mass balance for each component is made in a compositional model. Development of compositional modeling with equation of state formulations has received an increasing attention in recent years (Varavei and Sepehrnoori 2009).

The price of more accurate compositional treatment is a huge increase in computational time. To limit the computation time, a common practice is to lump, or to pseudoize the fluid description. Thus, the pure compounds of the fluid are categorized into a number of component groups, termed as pseudo-components. It is obvious that the pseudoization will lead to losses in accuracy and flexibility in the equation of state calculations. Therefore, considerable effort has been put into the task of formulating pseudoization methods, in which the fluids can be described as accurately as possible, and as few pseudo-components as possible. All existing pseudoization procedures can be divided into two steps: the selection of pseudo-component groups and calculation of physical properties needed in the relevant EOS. For cubic EOS, these properties are the critical temperature, critical pressure, acentric factor and binary interaction coefficients. A number of different main categories for grouping methods exist. In the most simple method, components are grouped based on fixed rules, independent of the nature of the relevant fluid (Wu and Batycky 1988; Hong 1982). Other authors have chosen to form pseudo-components which are approximately equal in size (Kay 1936; Pedersen et al. 1982). In some more theoretically based models, components with similar properties are grouped together (Lee et al. 1981; Montel and Gouel 1984; Danesh et al. 1990; Schlijper and van Bergen 1991; Lomeland and Harstad 1995). In the last category of grouping methods, component groups are defined on the basis of EOS calculations performed on the original unlumped fluid descriptions (Mehra and Heidmann 1982; Li et al. 1985; Newley and Merill 1991). Moreover, the property calculation methods can be divided into a number of different categories. In the most primitive form, pseudo-component properties are calculated on the basis of pure component properties employing different averaging techniques (Hong 1982; Kay 1936; Pedersen et al. 1982). In some more recent methods, the mixing rules of the EOS are utilized to calculate pseudo-component properties (Danesh et al. 1990; Lomeland and Harstad 1995; Mehra and Heidmann 1982; Li et al. 1985; Newley and Merill 1991; Leibovici 1993). Finally, a number of authors have used EOS calculations to adjust some parameters used in the property calculation methods (Wu and Batycky 1988; Li et al. 1985; Newley and Merill1991).

The objective of this work is to present a three pseudo-component approach that can deliver accuracy similar to a compositional model at a much reduced computational cost. To do this, two existing lumping procedures are used (Hong and Leibovici methods). In this study, an optimal selection of pseudo-component groups, and calculation of physical properties are also presented. The proposed method is evaluated modeling a gas-lift process as a case-study with two different fluids. In all the calculations, Peng-Robinson equation of state is used with the classical mixing rules.

The three pseudo-component approach procedure

A new thermodynamic description named “three pseudo-component approach” (ThPCA) is proposed in this article. The main idea is to take advantage of the speed of black-oil model employing the pseudo-components scheme while keeping the accuracy of compositional model utilizing the flash calculations based on an equation of state.

In ThPCA, the hydrocarbon-water fluid is composed of three pseudo-components including the oil pseudo-component (suffix pso), gas pseudo-component (suffix psg) and water pseudo-component (suffix psw). The three pseudo-components are distributed in the three phases of water liquid, hydrocarbon-rich liquid and vapor. Solubility of hydrocarbon components in the water liquid phase is neglected, implying the phase consists of pure water. This assumption is validated by Lapene et al. (2010) for three synthetic mixtures containing hydrocarbons and water for two reservoir fluid–water systems. The assumption results were in very good agreement with those from the full scale three-phase flash calculation.

Two points should be considered when grouping the constituents in pseudo-components not losing the accuracy of the equation of state prediction: the selection of each pseudo-component involved and the way to calculate their physical properties. Accordingly, the ThPCA procedure has three steps: (1) select the pseudo-component groups (2) calculate the physical properties needed in the relevant EOS including the critical temperatures, critical pressure, acentric factors and binary interaction coefficients and (3) perform the three-phase stability and flash calculations.

Selection of the three pseudo-components

The first step in application of ThPCA is the selection of each pseudo-component. In standard black-oil model, the pseudo-components are usually defined as phases at standard conditions. For example, the gas and oil at surface conditions are labeled as the gas and oil pseudo-components, respectively. The proposed method in this study is selecting the components lumped in each pseudo-component using optimization concept. To optimally select the pseudo-components, various grouped components in the oil pseudo-component are examined. The selected option should lead to minimum difference with the compositional model results. To do this, the following error function was defined that uses the values of phase fractions obtained at equilibrium conditions based on ThPCA and compositional model:

Error = T p [ ( G COM G ThSCA ) 2 + ( O COM O ThSCA ) 2 + ( W COM W ThSCA ) 2 ]
(1)

where G, O and W are the gas, oil and water phase fractions at each temperature and pressure calculated by flash calculations based on PR-EOS. The subscript ThPCA and COM reflects the three pseudo-component and compositional approaches. The above error function compares the results of ThPCA with a compositional model in a range of pressure and temperature values.

Calculation of pseudo-component properties

The next step after selecting the contents of each pseudo-component is choosing the property calculation method. Pseudo-component properties can be calculated using present methods. In this study, Hong correlations (Hong 1982) that use averaging techniques and Leibovici correlations (Leibovici 1993) that utilize the mixing rules of the EOS to calculate pseudo-component properties are selected. Optimization concept was employed to calculate the pseudo-component properties including critical temperature, critical pressure, acentric factor and binary interaction coefficients. This scheme aims at minimizing the difference between the phase fraction values taken from the compositional system with those from the three pseudo-component approach. It ensures that the predicted phase behavior using ThPCA is not altered significantly compared to the compositional approach.

Flash calculations of the three pseudo-components

The three pseudo-components distribution in the phases O, G and W is determined by phase equilibrium calculations. This requires molar-balance constraint to be preserved while chemical potentials of each component are the same for all phases, and the Gibbs free energy at constant temperature and pressure is minimized. In free water flash method (Lapene et al. 2010), these can be described for a mixture of hydrocarbon-water fluid having the three pseudo-components pso, psg and psw as:

f pso O = f pso G
(2)
f psg O = f psg G
(3)
f psw O = f psw G = f psw W
(4)

and using fugacity coefficients as:

P Ø pso O x O = P Ø pso G x G
(5)
P Ø psg O y O = P Ø psg G y G
(6)
P Ø psw O w O = P Ø psw G w G = P Ø psw W w W
(7)

where x, y, w are the mole fractions of oil, gas and water pseudo-components in each phase, respectively.

The equilibrium ratios are defined as:

K pso I = x G x O = Ø pso O Ø pso G
(8)
K psg I = y G y O = Ø psg O Ø psg G
(9)
K psw I = w G w O = Ø psw O Ø psw G
(10)
K psw II = w G w W = Ø psw W Ø psw G
(11)

In a free-water system, water is distributed over the three phases, while the oil and gas pseudo-components are present only in gas and hydrocarbon (non-aqueous) phases. This assumption reads:

w W = 1 .
(12)

Thus, Eq. (11) is simplified for the water component and takes the following form:

w G = K psw II
(13)

and from Eq. (10):

w G = K psw II K psw I
(14)

The component material balances for gas/oil/water system are:

z pso = x O O + x G G
(15)
z psg = y O O + y G G
(16)
z psw = w O O + w G G + w W W
(17)

and the overall material balance equation is:

G + O + W = 1
(18)

Using Eqs. (14)–(18) for the water component, an expression for the water phase fraction is obtained:

W = z psw + G ( w O w G ) w O 1 w O
(19)

For oil and gas pseudo-components, Eqs. (15 and 16) can be written using Eqs. (89 and 18) as follows:

z pso = x O K pso I G + x O ( 1 G W )
(20)
z psg = y O K psg I G + y O ( 1 G W )
(21)

Finally, using Eq. ( 19 ), the expressions for mole fractions of pseudo-components in hydrocarbon-rich liquid and vapor phases as functions of feed composition, equilibrium constants and vapor fraction are obtained from Eqs. ( 20 and 21 ):

x O = z pso 1 + G ( K pso I 1 ) W = z pso 1 + G ( K pso I 1 + w G w O 1 w O ) + w O z psw 1 w O
(22)
y O = z i 1 + V ( K psg I 1 ) W = z psg 1 + V ( K psg I 1 + w G w O 1 w O ) + w O z psw 1 w O
(23)
x G = x O K pso I
(24)
y G = y O K psg I
(25)

Results and discussion

Test examples include two various three-phase equilibrium calculations for two different reservoir fluid–water systems. The Peng–Robinson cubic equation of state is used in the two case-studies. The results obtained from the new three pseudo-component approach are compared with those of compositional model.

Case-study 1

An illustrative example based on a mature Iranian oil field was used to evaluate the three pseudo-component approach. The hydrocarbon-water system is considered as 100 mol of hydrocarbon with fluid characteristics shown in Table 1 and 50 mol of water. The first step is to select the components that can be lumped in oil and gas pseudo-components. Various options were considered for the hydrocarbon components in the oil pseudo-component. Next, the ThPCA flash calculation results were compared to the compositional flash results. The option that showed minimal differences, identify the hydrocarbon components that must be considered in each pseudo-component. Critical properties, acentric factors and the binary interaction coefficients are required for the flash calculations.

Table 1 Composition and component properties of the hydrocarbon fluid (case-study 1)

To calculate the pseudo-component properties, Hong (1982) and Leibovici (1993) correlations were utilized. Moreover, optimization concept was employed to calculate the pseudo-component properties including the critical temperatures, critical pressures, acentric factors and binary interaction coefficients. This scheme aims at minimizing the difference between phase fraction values of the compositional system with those from the three pseudo-component approach. This idea ensures that the predicted phase behavior using ThPCA is not altered significantly compared to the compositional approach. For this purpose, a computer program was developed, in which an error function was calculated after selection of pseudo-components, as Eq. (1).

This error function calculates the results of phase equilibrium calculations in a temperature range (in this study, between 305 and 360 K) and a pressure range (in this study, 1–170 bar). The optimum values of pseudo-component properties that minimized the above error function are shown in Table 2. Results of calculated phase fractions from both methods of ThPCA and compositional model for liquid hydrocarbon-rich, vapor and water are depicted in Fig. 1. In this figure, the results of ThPCA obtained using Hong (1982) and Leibovici (1993) correlations along with optimum property values are compared with those taken from compositional approach. The results show a good agreement between ThPCA and compositional flash outcome. Figure 1 and Table 3 show that the equilibrium results using Hong correlations further deviate from the compositional one compared to the results based on Leibovici correlations. This is because the Leibovici method is based on using the mixing rules of the EOS to determine the pseudo-component properties, while Hong method calculates them only using simple average relations.

Table 2 Optimum values of the three pseudo-component properties
Fig. 1
figure 1

Comparison between the three pseudo-component approach and compositional model

Table 3 Comparison of the three pseudo-component approach and compositional model

Figure 2 shows the values of the liquid and vapor hydrocarbon-rich fractions obtained by ThPCA compared to the values obtained from compositional approach at different oil pseudo-component. As shown in the figure, if C 7 + , C6,iC5, nC5, iC4 and C4 are lumped in one oil pseudo-component and other components, except water are grouped in the gas pseudo-component, the ThPCA gives the nearest behavior to the compositional approach.

Fig. 2
figure 2

Comparison between the three pseudo-component approach and compositional model

To investigate the speed and accuracy of ThPCA for pressure drop calculations of a well, the ThPCA calculations were applied to a gas-lifted well. Since the oil and gas compositions in a gas-lifted well are varied considerably, this may be a good case-study to evaluate the ThPCA. The particular well considered in this study had a tubing diameter of 0.127 m and a depth of 2,100 m equipped with a gas lift valve at 100 m above the sand face. The pressure at the bottom-hole is 172 bar. Pressure drop calculations for determining the wellhead pressure were performed. Figure 3 compares the results of calculated wellhead pressure as well as computational time at different gas injection rates at water-cut value of 20 %. The average relative error between the calculated wellhead pressure using ThPCA and compositional model is 3.6 %, while ThPCA reduces the computation time by 50 %.

Fig. 3
figure 3

Calculated wellhead pressure and computational time based on compositional model and ThPCA at different gas injection rates

According to the results, if the selection of components in each pseudo-component is properly chosen and their critical properties, acentric factors and binary interaction coefficients are correctly calculated, the phase equilibrium results will be in good agreement comparing ThPCA and compositional approaches.

Case-study 2

The new three pseudo-component approach was also used to calculate the three-phase equilibrium in a gaseous hydrocarbon fluid. The composition (in moles) of a real reservoir fluid described by 18 components (Nichita et al. 2008) and component properties are given in Table 4. The results of optimum values of pseudo-component properties are listed in Table 5. The optimization results show that selection of N2, CO2, C1, C2 and C3 in the gas pseudo-components and others (except water) in oil pseudo-component leads to minimum deviation from the compositional results.

Table 4 Composition and component properties of the hydrocarbon fluid (case-study 2)
Table 5 Optimum values of three pseudo-component properties

Speed and accuracy of the ThPCA in calculations of pressure drop for a well were studied. ThPCA calculations of the fluid were applied to the previous case well having 0.127 m of tubing diameter and depth of 2,100 m. Pressure drop calculations for determining the wellhead pressure at different values of water-cut were performed. Results of calculated wellhead pressure and computational time at different water-cut values are compared in Fig. 4. In this case-study, the average relative error between the calculated wellhead pressure using ThPCA and compositional is 2.5 %, while the computation time of ThPCA is about one-third of the compositional model.

Fig. 4
figure 4

Calculated wellhead pressure and computational time based on compositional model and ThPCA at different water-cut values

The results of the above two studies show that the three pseudo-component approach introduced in this study reduces the computation time to less than half of the compositional approach with only 5 % reduced accuracy. Even though, having higher number of components in the hydrocarbon fluid, the accuracy of the three pseudo-component approach results in greater savings in computational time. In using ThPCA to describe the thermodynamic behavior of a hydrocarbon-water fluid, it is important to properly select the components and secondly calculate the pseudo-component properties by minimizing the difference between results of ThPCA and those of compositional model.

Conclusion

Due to the high-speed of computing, the standard black-oil model is still used in industry for modeling and optimization of hydrocarbon processes. However, a simple black-oil model ignores the composition changes leading to significant error. In this study, a new approach called three pseudo-component approach was introduced to describe the three-phase hydrocarbon-water system. All components except water are lumped in two oil and gas pseudo-components in this approach. The constituents of each pseudo-component and their properties were determined using optimization methods such that the difference between the results of thermodynamic calculations using ThPCA and compositional approach is minimal. The performance results of computing accuracy and speed using the new ThPCA showed that using three optimum pseudo-components along with flash calculations based on an equation of state, it reduces the computation time to less than half in the cost of 5 % decreased accuracy. The ThPCA framework is applicable in modeling a wide range of practical fluid systems where the hydrocarbon-water mixture can be represented by three pseudo-components.