1 Introduction

For multilayer commingled reservoirs, the difference in oil recovery among different layers will become increasingly larger along the development process due to the interlayer heterogeneity (Ehlig-Economides and Joseph 1987; Jackson and Banerjee 2000). Layer regrouping is to divide all the layers into several sets of production series according to the physical properties and recovery percent of layers, which is an important technique to eliminate the differences in oil recovery of multilayered reservoirs at a high water-cut stage (Shi et al. 2006; Cui and Zhao 2010; Hu et al. 2010). The current research about layer regrouping is mostly focused on technical limits using the ordinary static parameters (Fu et al. 2002; Zhang et al. 2005; Chen et al. 2007; Liu et al. 2007). Chen et al. (2007) proposed that the principles of layer regrouping are that the permeability contrast (defined as a ratio of maximum to minimum permeability in the same development unit) should be less than 10, the layer number should be no more than 10 in the same development unit, and the thickness of the commingled production layers should be less than 20 m. In the Lasaxing oilfield, the layer permeability contrast (max/min permeability ratio) is suggested to be around 2.5 (Fu et al. 2002). However, the reservoir permeability, oil viscosity, and oil saturation change along with the reservoir development (Sun et al. 1996; Zhang et al. 1997; Li et al. 2009), and there are many factors influencing the production performance of layer regrouping. Conventional indexes and technical limits of layer regrouping cannot meet the current demand at the high water-cut stage, and therefore, it is necessary to propose a new comprehensive index and limit for layer regrouping.

The existing methods of layer regrouping are usually based on the weighting of parameters to achieve a comprehensive index by a fuzzy evaluation, and then layer regrouping is conducted via clustering (Wang and Zhang 2001; Geng et al. 2006; Bao et al. 2010). However, the weightings of parameters are usually assigned on the basis of development experience and discussion among experts, so they are not objective enough.

Numerical reservoir simulation is usually used to study the technical limits of layer regrouping and to predict the development indexes of multilayered reservoirs (Lang 1991; Cheng et al. 2004; Mallison et al. 2004; Bokhari and Islam 2005; Jiang et al. 2006; Mustafiz and Islam 2008; Kasiri and Bashiri 2010). However, this method showed a significant deficiency in simulating multilayer commingled reservoirs at the high water-cut stage. There are marked differences between simulation results and actual measured data of the absorption rate in each layer (Ji et al. 2009). In the development of water-flooded reservoirs, interference exists objectively among different oil layers. The interlayer interference increases the water absorption capacity of high permeable layers and decreases that of low permeable ones. The water absorption capacity of the high permeable layers becomes stronger and stronger, and that of the low permeable layer becomes weaker and weaker. Simulation results obtained from the conventional numerical simulators cannot actually reflect the situation mentioned above at the high water-cut stage. The time-varying characteristics of permeability and oil viscosity are not considered in the current reservoir simulators (Wolcott et al. 1996; Choi et al. 1997; Vaziri et al. 2002; Maschio and Jose Schiozer 2003; Bhambri and Mohanty 2008; Lolon et al. 2008). Therefore, it is necessary to establish a numerical simulator for a multilayer commingled reservoir which can reflect the actual interlayer differences at the high water-cut stage.

In this paper, a new comprehensive characteristic index of layer regrouping and a method for automatic layer regrouping is presented. A new numerical simulator was also established. The data from the second member of the Shahejie Formation in the second district of the Shengtuo Oilfield were used in the calculation of the model and in the layer regrouping to validate the effectiveness of this technique.

2 Simulation of multilayer commingled reservoirs at the high water-cut stage

We assume that one production unit consists of n single layers varying in permeability, thickness, porosity, crude oil viscosity, etc. Two-phase flow of oil and water exists in each layer, and the fluid flow follows Darcy’s law. Both rock and fluids are slightly compressible, and we assume that no vertical flow occurs between layers. The influence of capillary force and gravity is ignored. Thus, considering the time-varying characteristics of the reservoir permeability and crude oil viscosity, a mathematic model for injection–production allocation in a multilayer commingled reservoir is established.

For convenience, the fluid flow in the multilayer model is regarded as a combination of one-dimensional one-way flow in n layers. All layers are linked through an oil well and a water well. The method for allocating the production rate for each layer is improved, and the water adsorption rate or liquid production rate of a single layer is calculated. The pressure, oil saturation distribution, and production indices of each layer are calculated. The production indices of each layer in the same production unit at the same moment are added up. Thus, the production indices of one production unit can be obtained.

2.1 Mathematical model

  1. (1)

    Differential equations

    The differential equations describing one-dimensional flow of the oil and water phases are as follows:

    Oil phase:

    $$- \frac{\partial }{\partial x}(\rho_{\text{o} } \nu_{{\text{o}} x} ) + q_{\text{o}} = \frac{\partial }{\partial t}(\rho_{\text{o}} \phi S_{\text{o}}).$$
    (1)

    Water phase:

    $$- \frac{\partial }{\partial x}(\rho_{{\text{w}} } \nu_{{{\text{w}}{ x}}} ) + q_{{\text{w}} } = \frac{\partial }{\partial t}(\rho_{{\text{w}} } \phi S_{{\text{w}}}).$$
    (2)
  2. (2)

    Motion equation

    The motion equations of oil and water phases are as follows:

    Oil phase:

    $$\nu_{{{\text{o}} {x}}} = - \frac{{kk_{\text{ro}} \partial p}}{{\mu_{\text{o}} \partial x}}.$$
    (3)

    Water phase:

    $$\nu_{{\text{w}} {x}}= - \frac{{kk_{\text{rw}} \partial p}}{{\mu_{\text{w} } \partial x}}.$$
    (4)
  3. (3)

    Auxiliary equation

    The auxiliary equation is the saturation equation:

    $$S_{\text{o} } + S_{\text{w} } = 1.$$
    (5)

In the above formulas, ρ, v, S, q, μ, and k r represent density, flow velocity, saturation, production rate, viscosity, and relative permeability, respectively; k is the absolute permeability; p is the formation pressure; \(\phi\) is porosity; and x is the flow direction. Subscripts o and w represent the oil and water phases, respectively.

2.2 The solution to the model

2.2.1 Solution method for the mathematical model

The finite difference method, IMPES, is used to solve the equations. In the computation of each time step, what are needed are the following: the water saturation of each grid at the last time step is used to achieve the water cut by using the fractional flow equation; the changed permeability and crude oil viscosity of each grid are obtained according to the rules that the permeability and viscosity change along with the water cut; and the water adsorption rate and the liquid production rate at each layer are calculated. A program is made to realize the solution process.

2.2.2 Introduction of time-varying parameters

The changes of permeability and crude oil viscosity along with the water cut are introduced into the model. Cui and Zhao (Cui and Zhao 2004) reported the changes of permeability and crude oil viscosity along with the water cut in the second member of the Shahejie Formation in the second district of the Shengtuo Oilfield. The expression describing the permeability multiplier changing with the water cut is given by

$$k_{\text{c} } = 1.0733 + 0.0034f_{\text{w} },$$
(6)

and the crude oil viscosity changing with water cut may be described by

$$\mu_{\text{o} } = \mu_{\text{oi}} \text{e}^{{0.0122f_{\text{w} } }},$$
(7)

where f w is the water cut, %; k c is the permeability multiplier; \(\mathop \mu \nolimits_{\text{oi}}\) is the initial viscosity of the formation crude oil, and \(\mathop \mu \nolimits_{\text{oi}}\) is equal to 18 mPa s in the second district of the Shengtuo Oilfield.

The relationships of the changes in permeability and oil viscosity with the water cut may be different in different reservoirs. The different relationships can lead to different calculation results. In this paper, Eqs. (6) and (7) are used in the calculation.

2.2.3 Allocation method for the water injection rate at each layer

In conventional numerical simulation, when the liquid production rate or the water injection rate is fixed, injection–production allocation at each layer is based on the parameters of the grids which the oil and water wells are located in, without considering the influence of the flow resistance from the water well to the oil well. In this paper, the flow resistance in each layer between the water and oil wells is taken into consideration in the rate allocation at each layer.

If there are n layers in one set of production series, and it is one-dimensional flow from the injector to the producer, each layer is discretized into m grids. The flow resistance of the kth layer is expressed as

$$R_{k} = \sum\limits_{{i = 1}}^{m} {\left[ {\frac{{dx}}{A} \times \frac{1}{{k(k_{\text{ro}} /\mu _{\text{o}} + k_{\text{rw}} /\mu _{\text{w}} )}}} \right]_{i}}$$
(8)

If Q N is the total water injection rate of the water well in one production unit, the water injection rate of the kth layer is

$$Q_{{\text{N}{\it k}}} = \left( {\frac{1}{{R_{k} }}/\sum\limits_{{j = 1}}^{n} {\frac{1}{{R_{j} }}} } \right)Q_{\text{N}}$$
(9)

Similarly, the liquid production rate of each layer can be obtained. The oil production rate and the water production rate of one well at the kth layer are allocated according to the water and oil mobility of the grid where the well is located, and the expressions are

$$\left\{ {\begin{array}{*{20}l} {Q_{{\text{o}\it k}} = \left( {\frac{{\lambda _{\text{mo}} }}{{\lambda _{\text{mo}} + \lambda _{\text{mw}} }}} \right)_{k} \,Q_{{{\text{l}}{k}}}} \\ {Q_{{\text{w}\it k}} = Q_{{\text{l}{\it k}}} - Q_{{\text{o}\it k}} } \\ \end{array} } \right.$$
(10)

where \(\mathop \lambda \nolimits_{\text{mo}}\) and \(\mathop \lambda \nolimits_{\text{mw}}\) represent the oil mobility and water mobility, respectively; Q ok , Q wk , and Q lk represent the oil production rate, water production rate, and the liquid production rate at the kth layer, respectively.

2.2.4 Analysis of calculation results

In a case study, the oil-producing zone is composed of two layers with different permeability. When the permeability contrast is 3, 5, and 12, respectively, the water injection rate for each layer, obtained from the conventional reservoir simulation, is shown in Fig. 1. According to Fig. 1, the difference in the allocation proportion of the water injection rate between two layers increases at the early stage, but at the later stage, the difference tends to decrease. This is not in accordance with the field situation. The reason is that, in the conventional numerical simulation, the allocation results are calculated using the parameters of the grids where the well is located without consideration of the oil saturation distribution from the injector to the producer.

Fig. 1
figure 1

Calculation results from the conventional reservoir simulator

Figure 2 shows allocation results calculated from the reservoir simulation model built in this paper. In Fig. 2, from the early to mid-stage, the difference in the allocation proportion between two layers keeps increasing. In the later stage, the difference in the allocation proportion tends to be stable. This is in accordance with the actual case and proves the validity of the model.

Fig. 2
figure 2

Calculation results from the reservoir simulation model built in this paper

3 The comprehensive index and technical limit of layer regrouping

3.1 The comprehensive index of layer regrouping

For high water-cut reservoirs, representation indexes of layer regrouping, such as permeability contrast and crude oil viscosity contrast, cannot meet the needs of layer regrouping. In this paper, the pseudo flow resistance contrast is taken as a comprehensive index of layer regrouping at the high water-cut stage.

When oil and water phases flow simultaneously, the liquid production rate is derived from Darcy’s law:

$${Q_{\text{t} } } = {\left(\frac{{k_{\text{o} } }}{{\mu_{\text{o} } (f_{\text{w} } )}} + \frac{{k_{\text{w} } }}{{\mu_{\text{w}} }}\right)A\frac{\Delta p}{L}} = {\frac{\Delta p}{{\frac{{\mu_{\text{o}} (f_{\text{w}} )\mu_{\text{w}} }}{{k_{\text{o}} \mu_{\text{w}} + k_{\text{w}} \mu_{\text{o}} (f_{\text{w} } )}}\frac{L}{A}}}} = {\frac{\Delta p}{R}}.$$
(11)

The pseudo flow resistance is defined as

$$R^{\prime} = \frac{{\mu_{\text{o} } (f_{\text{w} } )\mu_{\text{w} } }}{{k_{\text{o} } \mu_{\text{w} } + k_{\text{w} } \mu_{\text{o} } (f_{\text{w} } )}}.$$
(12)

Equation (12) shows that the pseudo flow resistance is related to the crude oil viscosity and effective permeability of oil and water phases. The effective permeability reflects the effect of absolute permeability and remaining oil saturation, and the expressions are given by

$$k_{\text{o}} = k(f_{\text{w}} )k_{\text{ro}} (S_{\text{w}} ),\;k_{\text{w}} = k(f_{\text{w}} )k_{\text{rw}} (S_{\text{w}} ).$$
(13)

The pseudo flow resistance contrast is a ratio of maximum to minimum pseudo flow resistance among layers in the same one set of production series.

3.2 The technical limit of layer regrouping

An 18-layer commingled reservoir model is established to study the technical limit of layer regrouping at the high water-cut stage. The initial permeability values of 18 layers are listed in Table 1. The producer–injector spacing is 300 m, the crude oil viscosity is 18 mPa s, and the porosity is 0.28. The reservoir simulation model built above is used for calculations. When the water cut is 95 %, the conditions of each layer are shown in Table 1.

Table 1 Parameters of each layer at water cut 95 %

This research on layer regrouping is conducted when the comprehensive water cut is 95 %. Two layers with different pseudo flow resistance are recombined separately, and the production continues until the water cut is 98 %. The curve between the oil recovery factor (the proportion of the oil in a reservoir which is recovered) and the pseudo flow resistance contrast is shown in Fig. 3. Figure 4 shows the curves between cumulative water–oil ratio and pseudo flow resistance contrast when the commingled production time is 5, 10, 15, 20, and 25 years respectively.

Fig. 3
figure 3

Curve between oil recovery and pseudo flow resistance contrast

Fig. 4
figure 4

Curves between cumulative water–oil ratio and pseudo flow resistance contrast

Figures 3 and 4 indicate that the production performance becomes worse when the pseudo flow resistance contrast increases. When the pseudo flow resistance contrast is greater than 4, the oil recovery dramatically decreases and the cumulative water–oil ratio increases rapidly. Therefore, it is appropriate to limit pseudo flow resistance contrast within 4 in layer regrouping at the high water-cut stage.

4 Optimizing method of layer regrouping

If there are many layers in one reservoir, there may be many different recombination scenarios of layers even we set the pseudo flow resistance contrast less than 4. So it is required to find an optimal one to obtain the highest oil recovery.

Based on the pseudo flow resistance of one single layer, using the K-means clustering method (Wang and Niu 2004; Kong et al. 2004), layer regrouping is carried out to obtain the optimal production performance. This is the basic principle of the K-means clustering method. Assume that there are n samples \((x_{1} ,\;x_{2} ,\; \ldots ,\;x_{n} )\), and they are classified into p types:\((C_{1} ,\;C_{2} ,\; \ldots ,\;C_{p} )\). Assume that the number of the ith type is N i , and the mean of the types is \((m_{1} ,\;m_{2} ,\; \ldots ,\;m_{p} )\), and then \(m_{i} { = }\frac{ 1}{{N_{i} }}\sum\nolimits_{{i{ = }1}}^{{N_{i} }} {x{}_{i}} (i{ = }1 ,\; 2 ,\; \ldots ,\;p )\). K-means clustering is on the basis of the least square method, and its object function is

$$\hbox{min}\;J{ = }\sum\limits_{{i{ = }1}}^{p} {\sum\limits_{{j{ = }1}}^{{N_{i} }} { | |x_{j} - m_{i} | |^{ 2} } }$$
(14)

In the layer regrouping, supposing that the commingled reservoir of n layers comes to high water-cut stage, p sets of production series are divided according to the pseudo flow resistance of each layer. p single layers are randomly selected to be the initial center of the p sets of production series, and the rest of layers are assigned into the production series where the nearest production series center locates. This is the initial division of the p sets of production series. Calculation of new centers is done to the newly allocated production series, and then the allocation of other layers is continued. After several cycles of iteration, the centers of the p sets of production series do not change any more, which means that all single layers have been allocated to their own production series. Correct clustering leads to a convergence function; otherwise, the iteration continues. A program is made to realize the optimal process.

5 Case analysis

The IV–VII sand groups of the second member of the Shahejie Formation in the second district of the Shengtuo Oilfield are located at the southwest of the structural high position of the Shengtuo Oilfield and are delta plain sedimentary subfaces. The IV–VI sand groups consist of 18 oil-bearing layers. Among them, there are 5 layers in the 4th sand group, 6 layers in the 5th sand group, and 7 layers in the 6th sand group. These sand groups have been put into production as one production series since 1975, and a high water cut was observed, and the oil recovery percent (a ratio of the produced oil to OIPP) was 35.5 %. Table 2 shows the parameters and the calculation results of pseudo flow resistance of each layer.

Table 2 Parameters of the IV–VI sand groups in the Shengtuo Oilfield

Table 3 shows the recombination results from the K-means clustering method. When these layers are recombined to two sets of production series, the pseudo flow resistance contrast of one set is greater than 4. When these layers are recombined to three or four production series, the pseudo flow resistance contrasts are smaller than 4, which meet the technical limit of layer regrouping. According to the requirement of individual-well control reserves at the high water-cut stage (Wang and Niu 2004), the remaining reserves in S262 layer in the four sets of production series are only 6.552 × 104 tons, and it is not economical to set it as one set of production series. Therefore, the 4th–6th sand groups are recombined to three sets of production series.

Table 3 Layer regrouping programs of the IV–VI sand groups in the Shengtuo Oilfield

After layer regrouping, the development indexes were predicted with the reservoir simulation model built above (Fig. 5). Compared with the scenario without layer regrouping (one set of production series), the oil recovery of two sets of production series increases by 2.14 %, and the oil recovery of three sets of production series increases by 6.08 %. Hence, recombination of three sets of production series can achieve better performance and are recommended.

Fig. 5
figure 5

Curves between water cut and oil recovery

6 Conclusions

  1. (1)

    A numerical simulator was established for a multilayer commingled reservoir, which considers the changes of permeability and oil viscosity during oil production. A method for allocating the water injection rate and the liquid production rate of wells at each layer was modified. The results of the simulator can actually reflect the characteristics of fluid flow in different producing layers in the multilayer commingled reservoir at the high water-cut stage.

  2. (2)

    The pseudo flow resistance contrast was proposed to be a characteristic index of layer regrouping at the high water-cut stage, which considers each single layer’s permeability, crude oil viscosity, and the remaining oil saturation. By analyzing the simulation results from the numerical simulator built in this paper, the pseudo flow resistance contrast in one set of production series should be controlled within 4 in layer regrouping at the high water-cut stage. A K-means clustering method was used to implement the automatic optimization of layer regrouping.

  3. (3)

    The limit of the pseudo flow resistance contrast in this paper was obtained through the data from the second district of the Shengtuo Oilfield. The limit may be different in different reservoirs. In the layer regrouping at the high water-cut stage, in addition to the pseudo flow resistance contrast, the remaining reserves, well pattern, well spacing, etc., are needed to be considered.