Introduction

Fault-block reservoirs in China generally enter the late stage of development, and the production cost increases due to the high water cut of production wells (Cui et al. 2017; Kang et al. 2019; Jianmin Wang et al. 2011). Therefore, many production wells stop to product because of the high water cut and low production value (Han 2010). Yang et al. (2015) point out that residual oil in the formation will enrich under the action of gravity, buoyancy and capillary force. The enrichment process of remaining oil after shut-in is referred to the tertiary migration of remaining oil. Tertiary migration of oil and water means that the water cut of a production well has reached nearly 100% and the remaining oil is transported under the action of gravity and capillary force under the shut-in method, and the remaining oil accumulation area is formed in fault-block reservoir due to long-time shut-in enrichment. After opening the well, the water cut decrease and the output rise (Benke 2010). Jacot (2015) discusses a method to estimate the internal rock characteristics of the reservoir blocks, when studying the migration efficiency of the residual oil in the abandoned reservoir. Minescu et al. (2010) analyzes the mechanism and influencing factors involved in tertiary migration and introduces two production projects in Romania to prove the effectiveness of tertiary migration. Jacota (2014) discusses tertiary migration from the perspective of gravity differentiation and studies the parameters that mainly affect tertiary migration and combines with actual production cases. He points out the importance of gravity differentiation to the enrichment of residual oil. Popa and Jacotă (2016) points out that reservoir physical parameters are changed after a long-time of production and proposed a parameter correction method using linear difference, which does not need a lot of calculation time and can be utilized to the correction of complex models. The role of residual oil in reservoir dispersal are widely studied (Kumar and Mandal 2017; Liu et al. 2019; Nasri and Mozafari 2018; Xu et al. 2019a, b). But there is still no way to predict the effect of the tertiary migration of remaining oil.

Because there are few examples in the field, this article uses the method of numerical simulation combined with response surface analysis (RSM) and establishes a universal numerical simulation model. Selecting structural high production wells and evaluating the effect of the tertiary migration of remaining oil (TMRO) by observing the changes in water cuts before and after the well is closed. Ten factors affecting the migration of remaining oil in the reservoir are analyzed. The grey correlation analysis method is used to analyze the correlation between the TMRO and ten factors and ranking them. In the end, the five most important factors are selected for orthogonal experiment design and numerical simulation experiments are combined with the RSM method. Finally, the effective prediction formulas of the TMRO under different combinations of influence factors are obtained.

Building a numerical simulation model

In order to examine the effects of various factors on the enrichment of remaining oil with the numerical simulation methods, a typical numerical simulation model is established. Using Eclipse software to build a typical numerical simulation model. For the convenience of research, there is one injection well and one production well in the production mode of the model reservoir and the model with a certain inclination. The water injection is in the lower part and oil production in the upper part until the water cut of the production well reaches 95%. The remaining oil will move upward after the well is closed. After several years, the well is opened for production again. The change of the water cut is used to evaluate the effect of the tertiary migrations of the remaining oil. The numerical simulation model is given in Fig. 1. The model parameters are shown in Table 1, and the model's relative permeability and capillary force curves are shown in Fig. 2.

Fig. 1
figure 1

Oil saturation profile of the model

Table 1 Numerical simulation model parameters
Fig. 2
figure 2

Model permeability curve

After analysis, we believe that the factors affecting the TMRO including formation dip, formation permeability, borehole time, water body energy, oil viscosity, reservoir thickness, oil–water well spacing, capillary force, oil density, the distance between the well and the high part of the reservoir. Each factor is analyzed separately. In order to clarify the effect of each factor on the TMRO process, an analysis and evaluation of method as showed in Table 2 is developed.

Table 2 Influence factor parameter

The numerical simulation method is used to simulate the schemes in Table 2 one by one, and the effects of tertiary migration of residual oil before and after shut-in at different factors at different levels are obtained.

Grey relational analysis

In order to further simplify the variables, this article uses the grey correlation analysis method to analyze and obtain the correlation between each factor and the effect of the TMRO and ranks them. Finally, the influencing factors are optimized according to the ranking.

Grey correlation analysis method is a multi-factor comparative analysis method, which is in essence the analysis of curve development and change trend (Wang et al. 2020). It describes the strength, size and order of the relationship among factors based on the sample data of each factor by the grey correlation degree. If the sample data column reflects the change tendency (direction, size and speed, etc.) of the two factors are basically the same, then they have a greater correlation. On the contrary, the correlation degree is small. Compared with traditional multi-factor analysis methods (correlation, regression, etc.), grey correlation analysis requires less data and less calculation. So it is easy to be widely used. Using the grey correlation analysis needs to go through the following steps:

  1. (1)

    Data pre-processing

On the basis of qualitative analysis of the problem studied, one dependent variable and several independent variables are determined. Assuming that there are m evaluation objects and n included evaluation indexes, the data set of n evaluation indexes of m evaluation objects can form the following evaluation matrix:

$$(X_{0}^{\prime } ,X_{1}^{\prime } , \ldots ,X_{m}^{\prime } ) \, = \, \left[ {\begin{array}{*{20}c} {x_{0}^{\prime } (1)} & {x_{1}^{\prime } (1)} & \cdots & {x_{m}^{\prime } (1)} \\ {x_{0}^{\prime } (2)} & {x_{1}^{\prime } (2)} & \cdots & {x_{m}^{\prime } (2)} \\ \vdots & \vdots & {} & \vdots \\ {x_{0}^{\prime } (n)} & {x_{1}^{\prime } (n)} & \cdots & {x_{m}^{\prime } (n)} \\ \end{array} } \right]_{n \times (m + 1)} \,$$
(1)

\(X_{i} ^{\prime} = (x_{i} ^{\prime}(1),x_{i} ^{\prime}(2), \ldots ,x_{i} ^{\prime}(n))^{T}\), \(i = 0,1,2 \ldots ,m\); The n is the length of the sequence of variables.

In general, the original variable sequence has different dimensions or orders of magnitude. In order to ensure the reliability of the analysis results, the variable sequence needs to be dimensionless. After dimensionless, each factor sequence forms the Eq. (2):

$$(X_{0} ,X_{1} , \ldots ,X_{m} ) \, = \, \left[ {\begin{array}{*{20}c} {x_{0} (1)} & {x_{1} (1)} & \cdots & {x_{m} (1)} \\ {x_{0} (2)} & {x_{1} (2)} & \cdots & {x_{m} (2)} \\ \vdots & \vdots & {} & \vdots \\ {x_{0} (n)} & {x_{1} (n)} & \cdots & {x_{m} (n)} \\ \end{array} } \right]_{n \times (m + 1)} \,$$
(2)
  1. (2)

    Calculating the incidence matrix

Calculating the absolute difference between the first column and the rest of the sequence in Eq. (2) and from the absolute difference matrix, as showed in Eq. (3).

$$\left[ {\begin{array}{*{20}c} {\Delta_{01} (1)} & {\Delta_{02} (1)} & \cdots & {\Delta_{0m} (1)} \\ {\Delta_{01} (2)} & {\Delta_{02} (2)} & \cdots & {\Delta_{0m} (2)} \\ \vdots & \vdots & {} & \vdots \\ {\Delta_{01} (n)} & {\Delta_{02} (n)} & \cdots & {\Delta_{0m} (n)} \\ \end{array} } \right]_{{_{n \times m} }} \,$$
(3)

The data in the absolute difference matrix are transformed as Eq. (4):

$$\xi_{0i} {\text{(k)}} = \frac{\Delta (\min ) + \rho \Delta (\max )}{{\Delta_{0i} (k) + \rho \Delta (\max )}} \,$$
(4)

The matrix for correlation coefficient is:

$$\left[ {\begin{array}{*{20}c} {\xi_{01} (1)} & {\xi_{02} (1)} & \cdots & {\xi_{0m} (1)} \\ {\xi_{01} (2)} & {\xi_{02} (2)} & \cdots & {\xi_{0m} (2)} \\ \vdots & \vdots & {} & \vdots \\ {\xi_{01} (n)} & {\xi_{02} (n)} & \cdots & {\xi_{0m} (n)} \\ \end{array} } \right]_{n \times m}$$
(5)

In the formula, the value of the resolution coefficient p is in (0,1); the smaller p is, the higher the difference of the correlation coefficient. The correlation coefficient \(\xi_{0i} (k)\) is a positive number no more than 1. The smaller \(\Delta_{0i} (k)\) is, the larger \(\xi_{0i} (k)\) is. It reflects the degree of correlation between the comparison sequence \(X_{0}\) and the reference sequence.

  1. (3)

    Calculation of correlation

The degree of correlation between the comparison sequence \(X_{i}\) and the reference sequence \(X_{0}\) is reflected by N correlation coefficients (i.e., column i in Eq. (2)), and the correlation degree of \(X_{i}\) and \(X_{0}\) can be obtained by averaging, as showed in Eq. (6):

$$r_{0i} \, = \, \frac{{1}}{{\text{n}}}\sum\limits_{k = 1}^{n} {\xi_{0i} } (k) \,$$
(6)

The higher the correlation degree is, the more consistent the change trend is between the comparison sequence and the reference sequence.

The change of water cut of production well before and after shut-in enrichment is used to evaluate the effect of TMRO. By using typical model and numerical simulation method, according to the parameters selected in Table 2 and by controlling other conditions to remain unchanged, the degree of TMRO corresponding to the changes of various factors is investigated respectively. Finally, the correlation between the variation of each factor and the effect of TMRO is discussed by using the grey correlation analysis method. Correlation degree and correlation rank between production decline and various influencing factors are shown in Table 3.

Table 3 The correlation degree between enrichment effect and the input feature

Multi-factor response surface analysis

We select the factors with a correlation of more than 0.8 with the effect of TMRO as the main control factors. The five most significant factors are selected and invoked as the main factors for analysis. In order to quantify the enrichment effect. The method of RSM is used to simulate the main effects and interactions of the five main controlling factors of borehole time, permeability, oil density, oil viscosity, and formation dip angle of the TMRO under different conditions. Box-Behnken response surface optimization experiment design was adopted, and the center composite design is performed at three levels of low, medium and high. The relationship between the 5 factor 3 level coding and the experimental values is shown in Table 4, and the experimental scheme and results are shown in Table 5.

Table 4 Orthogonal experimental design
Table 5 Orthogonal experiment results

The experimental results of the table are analyzed by the software DESIGN EXPERTS10 and the details of calculation method and process are shown in the appendix. The results are shown in Table 6 in the next section.

Table 6 Response surface analysis

Model evaluation

Figure 3a shows the normalized residual diagram of the model. We can see that these points follow a line. Therefore, residuals follow a normal distribution. Figure 3b indicates the relationship between model residuals and predicted values. These points are within the constant range of the whole graph, indicating that the model is very suitable for experimental data.

Fig. 3
figure 3

a Normal plot of residuals, b Relationship between model residuals and predicted values

Figure 4 shows the relationship between the experimental data of the model and the predicted values. These points can be observed on a line, which makes the model suitable for experimental data.

Fig. 4
figure 4

Experimental data and predicted values of the model

Figure 5 displays a 2D profile and 3D surface view of the impact of shut-in time and reservoir permeability on the predicted response. Other parameters are constant at the mean value (oil density: 0.825 g/cm3, formation inclination: 15°, oil viscosity: 25.5 mPa·s). The longitudinal level in Fig. 5b represents the change of water cut before and after enrichment, which also represents the effect of TMRO. With the rise of Permeability and Time, the plane in Fig. 5b gradually rise in the longitudinal direction, which means that TMRO will get better and better with the rise of reservoir Permeability and Time. According to the results of Fig. 5b, the best residual oil enrichment occurred at the maximum well downtime (15 year) and maximum reservoir permeability (2000 × 10−3μm2).

Fig. 5
figure 5

The effects of well downtime and reservoir permeability on the TMRO. a Contour map. b The response surface figure

Figure 6 shows the 2D contour and 3D surface diagram of the influence of the density of the crude oil and dip Angle of the formation on the prediction of the TMRO. Other parameters are constant at the mean value (shut-in time:7.75 year, reservoir permeability: 1025 × 10−3μm2, oil viscosity: 25.5 mPa·s). It can be observed that the increase of dip Angle and the decrease of oil density lead to the significant increase in the effect of TMRO. The profile curvature reflects the significant impact of these two parameters. According to the results of Fig. 6b, the best effect of migration occurred at the maximum formation dip angle (25°) and the minimum oil density (0.7 g/cm3).

Fig. 6
figure 6

The influence of crude oil density and dip angle on the TMRO a Contour map. b The response surface figure

Figure 7 shows a 2D profile and a 3D surface diagram of the effects of shut-in time and oil viscosity on the predicted response. Other parameters are constant at the mean value (reservoir permeability: 1025 × 10−3 μm2, oil density: 0.825 g/cm3, formation inclination: 15°). It can be seen that the increase of shut-in time and the decrease of oil viscosity will significantly increase the effect of migration of remaining oil. The profile curvature reflects the significant influence of these two parameters. According to the results of Fig. 7b, the best effect of oil migration occurred at the maximum well downtime (15 year) and minimum oil viscosity (1 mPa·s).

Fig. 7
figure 7

The effects of well downtime and crude oil viscosity on the TMRO. a Contour map. b The response surface figure

The analysis results of the response surface method are consistent with the theoretical knowledge and it also reflects the reliability of the calculated data in the model. The calculation also shows the statistical parameters between the variables quantitatively in Table 6. In response surface analysis, the statistical significance of statistical results is measured using the F-value, and the significance of each regression coefficient is detected using the p value. The smaller the p value, the more significant the result. The Model F value of 583.72 implies the model is significant. There is only a 0.01% chance that an F-value this large can occur due to noise. The p value is less than 0.0001, indicating that the model is significant adaptability, and the nonlinear equation relationship between the factors represented by the regression equation and the response value is significant. The model determination coefficient R2 = 0.9979 means only 0.021% on the surface cannot be attributed to the regression model. The coefficient of variation CV = 3.98% which is smaller than 10%. And the signal-to-noise ratio is 92.561 and it is bigger than 4, which means the model is highly reliable, and the model can be utilized to the expected optimization prediction experiment.

In Table 6, it is found that the p-value of some quadratic terms is greater than 0.05, which is a non-significant factor. In order to make the expression of the regression equation more concise, the change of the water cut before and after the well closure is taken as the response value, and the borehole time, formation permeability, crude oil density, crude oil viscosity, and formation dip angle are independent variables, and terms with p value greater than 0.05 are ignored. Establish a response surface quadratic polynomial, as showing in Eq. (7):

$$\begin{aligned} \Delta fw & = 215.98788 + 0.67486t + 2.7963 \times 10^{ - 3} K\\&\quad - 446.978\rho_{o} - 0.29846\alpha - 1.08053\mu \\ &\quad + 2.269 \times 10^{ - 4} tK + 4.63576 \times 10^{ - 6} K^{2}\\&\quad + 245.8\rho_{o}^{2} + 0.033354\alpha^{2} + 0.01207\mu^{2} \\ \end{aligned}$$
(7)

where \(\Delta fw\) means change in water cut before and after shut-in, t means well boring time (year), K means permeability (10−3 μm2), α means dip angle (°), ρo means the density of oil (g/cm3), μ means the viscosity of oil (mPa·s).

Field application of predictive model

So far, few specific experiments have been conducted to verify the effects of TMRO. This has only been done in Shengli oilfield in China In this situation, production practice data of Shengli oilfield in eastern China are selected to test the prediction model of residual oil enrichment. Three wells including Well-xie-2-23, Well-xin-47 and Well-xin-18-1 are selected. All three wells are closed due to high water cut. Some years later, the water cut decreases and the production increases. Specific data and fitting are given in Table 7.

Table 7 Comparison of model prediction results with actual data

After inputting the physical property data and shut-in time data of the three observation wells into Eq. (7), TMRO effect prediction of three wells are made. After calculation, it is found that the predicted TMRO effect is very close to the actual value, and the error value of all three wells are within 7%. Through case analysis in Table 7, it is proved that the effect prediction formula of residual oil obtained through the above analysis process is certain practicability. For wells with extremely high water cut and shut down, the TMRO effect after a period of time can be predicted according to the prediction method and the formation physical properties. This makes it possible to predict the TMRO effects of different wells and to select wells with enrichment potential to re-open them so that they can create greater value for the field.

Conclusion

The prediction method of formation TMRO effect is discussed for the first time in this paper. First, a typical numerical simulation model is established, and the influence of different factors on TMRO effect at different values is simulated by numerical simulation method. According to the results of numerical simulation, the main control factors affecting TMRO are analyzed by using grey correlation analysis method. The orthogonal experiment of 5 factors and 3 levels is designed by using RSM method. A series of numerical simulation experiments are carried out by using numerical simulation and RSM methods, and the effects of different combinations of shut-in time, permeability, crude oil density, crude oil viscosity and formation dip angle on TMRO effect are discussed. Finally, the prediction method of TMRO is obtained through RSM method, which can input the physical parameters around the well and the shut-in time to predict the effect of TMRO. And through a series of examples for comparative verification. It is proved that the prediction accuracy of this method is high, and it is valuable to be applied.