Introduction

Well testing is divided into two types, constant rate (Dejam et al. 2018; Mashayekhizadeh et al. 2011) and constant pressure test (Dejam et al. 2017a, b). It is more common to design tests as constant rate, which in that case, the pressure transient is recorded. The numerical model is one of the technical advances for simulating pressure transient analysis (PTA). In recent years, numerical models have been utilized in order to analyze the well testing procedure not only for models with analytical and semi-analytical simulation, but also it can be applied for more elaborated cases. Numerical models can address the limitations of analytical approaches in modeling of complicated geometries and nonlinear diffusion terms in which the superposition of time and space does not work (Houze et al. 2008).

Conventional analysis just is usable with pressure versus time data, but sometimes it does not identify the correct flow regime. In well testing, the pressure variation is more significant than the pressure value itself (Bourdet 2002). So, Tiab and Kumar (1980a, b), and Bourdet (2002) addressed the issue of identifying the correct flow regime and choosing the proper interpretation model. Bourdet and his co-authors proposed that it is much easier to recognize the flow regimes with analyzing pressure derivative versus time in log–log plots in comparison with conventional semilog pressure curves (Ahmed and McKinney 2011). The modern analysis defines the derivative term and interprets pressure and derivative data together.

Derivative plots are usually known as diagnostic plots. It is due to the fact that they identify different flow regimes and distinguish the reservoir model much easier. For example, interpretation of well testing results of a naturally fractured reservoir is carried out remarkably easier with the aid of pressure derivative (Cinco-Ley 1996). Interpreting of the transition period of naturally fractured reservoirs is an obstacle which many analyzers tackle with (Aguilera 1987; Feng et al. 2016; Seyedi et al. 2014). Many authors applied this period for different models of naturally fractured reservoirs and their corresponding pressure transient analyses published in the literature (Dejam et al. 2018; Aguilera 1987; Najurieta 1980; Warren and Root 1963; Odeh 1965; Kazemi 1969; Kazemi et al. 1969; de Swaan 1976; Aguilera and Song 1988; Kuchuk and Biryukov 2014; Al-Rbeawi 2017).Wang et al. examined the characteristics of the flow period in a multiple-fracture model by considering the features wellbore pressure and also analyzing the pressure-derivative data (Xiaodong et al. 2014). Cinco and Ley reported that considering a naturally fractured reservoir and utilizing the interference test results, it is impossible to carry out the characterization by regarding the transient pressure data solely (Cinco et al. 1976). Examining the pressure-derivative approach for highly permeable reservoirs demonstrated that this approach is suitable-adapted to this type of reservoirs (Clark and Golf-Racht 1985). Also, many papers investigate the behavior of pressure transient in fractured wells (Kou and Dejam 2018; Zhang et al. 2018). Iraj and Woodbury (1985) studied examples of possible pitfalls in the well testing analysis using pressure versus time data. In 2001, Al-Ghamdi et al. pointed out uncertainties in model selection by modern well testing interpretation. They expressed that in pressure transient analysis, uncertainty associated with the non-uniqueness of model response can generally be summarized by the inability to identify the appropriate model and/or distinguish between similar patterns of pressure behavior (Al-Ghamdi and Issaka 2001). Also, some authors examine both the interpretation of diagnostic plots and their limitation for various reservoir models (Beauheim et al. 2004; Veneruso and Spath 2006; Renard et al. 2009; Engler and Tiab 1996).

Nearly all the published papers emphasize on the interpretation of models which only include one well, and this interpretation is done by using either wellbore pressure or pressure-derivative data. In this paper, we have scrutinized the models which include two wells. In other words, the effect of the other well’s production history on the interpretation of pressure responses was investigated.

In this study, we focused on one of the possible and common mistakes in well testing interpretation. As it is mentioned in the previous paragraph, Ershaghi and Woodbury have studied only some possible pitfalls which can be happened in well testing due to semilog misinterpretation (Iraj and Woodbury 1985). This paper investigates the effect of other well’s production on the tested well. We showed that in the case of neglecting production history of adjacent wells, wrong models might be selected regarding the shapes of derivative plots. For this purpose, several scenarios using commercial software were conducted and also analytical solutions were proposed. To the best knowledge of the authors, there is no systematic study about this issue in the literature. For example, in Fig. 1, it is shown that when we have two wells in the homogenous reservoir, the production effect of one well on the other can cause that one misinterprets the well test response as a dual-porosity model.

Fig. 1
figure 1

An example of possible misinterpretation of well test data

To have a systematic investigation, we will initially present the symptoms of various reservoir characteristics. Then, we examine six infinite homogenous and fractured synthetic models that can be interpreted mistakenly. Finally, we will compare two homogenous reservoirs that are infinite and finite acting. More details will be given in the next section.

Various reservoirs characteristic symptoms

For drawdown tests, at every recorded drawdown pressure point, i.e., flowing time \(\Delta t\) and a corresponding bottom-hole flowing pressure (pwf), the pressure difference is calculated as follows:

$$\Delta p \, = \, p_{i} \, - \, p_{\text{wf}} .$$
(1)

The derivative is defined as:

$$\left( {\frac{{{\text{d}}p}}{{{\text{d}}\ln t}}} \right) = t\left( {\frac{\Delta p}{\Delta t}} \right).$$
(2)

The curve that is obtained from the pressure-derivative versus time data was originally utilized for diagnostic purpose and recognition of reservoir models. Each type of flow exhibits a specific trend on the derivative which represents an excellent diagnostic tool (Bourdet 2002).

As long as the wellbore storage effect is dominant, the pressure-derivative curve has the unit slope which is depicted as a straight line for all types of reservoirs (Bourdet 2002). For middle and late periods, reservoirs might be categorized as follows:

  1. 1.

    Homogenous reservoirs: The signature of these types of reservoirs in derivative curve is depicted as a horizontal straight line in transient flow regimes (Bourdet 2002; Cinco-Ley and Samaniego 1982). After the transient time, during the pseudo-steady-state flow since pressure varies linearly versus time, it is characterized on the pressure derivative by a straight line with the unit slope on log–log plot (Bourdet 2002). If buildup test is run, the derivative will go down. In the case that reservoir boundary is a constant pressure, the pressure derivative indicates a sharp plunge in the log–log representation corresponding to the pressure stabilization (Bourdet 2002). These mentioned signatures are only valid for a test which is run in a reservoir where there is no effect of nearby wells. If some other wells exist close to the test well, the production history of them can effect on the well test results. This occurrence may show itself as a similar signature to cases, which is explained above. In this paper, some of these tests are discussed.

  2. 2.

    Naturally fractured reservoirs: The signature of naturally fractured reservoirs in derivative curve depends on the model, which is defined for fractures and also their role in fluid flow. Considering different literatures, many authors proposed a model for fluid flow simulation in a naturally fractured reservoir with respect to the assumptions measured for fluid flow in the fracture, matrix and interaction between them (Warren and Root 1963; Kazemi 1969; Barenblatt et al. 1960; Abdassah and Ershaghi 1986). The most famous model is the dual-porosity model. After radial flow, which is dominated by fractures, a valley in the derivative curve is observed, which is the indicator of transition between fracture and matrix. Subsequently, a horizontal line will appear. For a triple-porosity model, two continuous valleys are recorded (Al-Ghamdi and Ershaghi 1996). The typical shape of the pressure-derivative behavior in the logarithmic coordinates for different models is illustrated in Fig. 2 (Renard et al. 2009).

    Fig. 2
    figure 2

    Diagnostic plot of reservoirs. a Homogenous reservoir with constant boundary pressure, b homogenous reservoir with no-flow boundary, c dual porosity of the naturally fractured reservoir, d triple porosity of the naturally fractured reservoir

Analytical solution

Analytical solution for the diffusivity equation in the case of production with constant rate in an infinite reservoir is represented as (Matthews and Russell 1967):

$$P(r,t) = P_{\text{i}} + \left( {\frac{{70.6Q_{\text{o}} \mu_{\text{o}} B_{\text{o}} }}{kh}} \right)Ei\left( {\frac{{ - 948\varphi \mu_{\text{o}} c_{\text{t}} r^{2} }}{kt}} \right).$$
(3)

Warren and Root developed an analytical solution for unsteady-state flow in a fractured reservoir model. In this model, matrix is considered as a storage source, while fractures are the main conductive paths (Warren and Root 1963). Their solution for drawdown and buildup is as follows:

Drawdown:

$$\begin{aligned} & t > 100\omega \;{\text{if}}\;\lambda \ll 1\;{\text{or}}\;t \, > 1oo - \frac{1}{\lambda }\;\\& \quad {\text{if}}\; \, \omega \ll 1\;{\text{ or}}\; \, t \, > 100 \, ({\text{for }}\;{\text{all }}\;{\text{cases}}) \\ & p_{\text{w}} (t) \cong p - m\left\{ {\log (t) + .351 + .433Ei}\right.\\&\quad \times \left.{\left[ {\frac{ - \lambda t}{\omega (1 - \omega )}} \right] - .433Ei\left[ {\frac{ - \lambda t}{(1 - \omega )}} \right] - .87S} \right\}. \\ \end{aligned}$$
(4)

Buildup:

$$\begin{aligned} & {\text{for}}\; \, \lambda t > 3 \\ & \Delta t > 100\omega \;{\text{ if}}\; \, \lambda \ll 1 \, \;{\text{or }}\; \,\\& \Delta t > 100 - \frac{1}{\lambda }\;{\text{ if}}\; \, \omega \ll 1 \\_{{}}& p_{\text{w}} (t_{\text{s}} + \Delta t) \cong p - m\left\{ {\log \left( {\frac{{t_{\text{s}} + \Delta t}}{\Delta t}} \right)} \right. - 0.433Ei\\ & \quad \times \left[ {\frac{ - \lambda t}{\omega (1 - \omega )}} \right]\left. {\, + \,0.433Ei\left[ {\frac{ - \lambda t}{(1 - \omega )}} \right]} \right\}. \\ \end{aligned}$$
(5)

After calculation of bottom-hole pressure at any time for all the scenarios, the pressure derivative was calculated numerically. Different methods are developed in the literature to calculate the pressure derivative, which each of them has certain benefits. In the code that we have programmed, pressure derivative was calculated using the following equation (Horne 1995):

$$\begin{aligned} \frac{{{\text{d}}p_{i} }}{{{\text{d}}\ln t_{i} }}& = \frac{{\log \left( {\frac{{t_{i} }}{{t_{i - 1} }}} \right) \times \Delta P_{i + 1} }}{{\log \left( {\frac{{t_{i + 1} }}{{t_{i} }}} \right) \times \log \left( {\frac{{t_{i + 1} }}{{t_{i - 1} }}} \right)}} + \frac{{\log \left( {t_{i + 1} \times \frac{{t_{i - 1} }}{{t^{2}_{i} }}} \right) \times \Delta P_{i} }}{{\log \left( {\frac{{t_{i + 1} }}{{t_{i} }}} \right) \times \log \left( {\frac{{t_{i} }}{{t_{i - 1} }}} \right)}} \\&\quad- \frac{{\log \left( {\frac{{t_{i + 1} }}{{t_{i} }}} \right) \times \Delta P_{i} }}{{\log \left( {\frac{{t_{i} }}{{t_{i - 1} }}} \right) \times \log \left( {\frac{{t_{i + 1} }}{{t_{i - 1} }}} \right)}}. \hfill \\ \, \hfill \\ \end{aligned}$$
(6)

Although the analytical models are used widely in the literature to obtain the pressure response of the reservoir quickly, they have many simplifying assumptions that may cause wrong response. Therefore, due to this fact, these analytical models cannot be used for complex reservoirs without enough modification.

Results and discussion

Effect of adjacent wells

Most of the well test interpretation is done only by focusing on the tested well. However, in most cases, there are several adjacent wells in the vicinity of the tested well that can have a different production history. The existence of adjacent wells in operational field can pose challenges in interpreting and analyzing the data. It is well accepted that production from the neighbor’s wells can be considered as an artificial no-flow boundary (Stewart 2011). However, in this study, it was shown that depending on the production history of the neighbor’s wells, both boundary and reservoir models can be misinterpreted and the situation would be more complicated.

In this study, we have simulated well testing operation using a commercial software and subsequently our programming code using Eqs. 3 to 6. In first six cases, homogenous and fractured reservoir model in the infinite-acting reservoir is discussed. In addition, a special case that is a homogenous reservoir with finite boundary will be examined. For each type of reservoirs, first, we run a drawdown for a base case which contains only one tested well. Then, the pressure-derivative results are shown. In the next step, we considered an adjacent well that produces for a period before the tested well begins to produce. When the tested well started to produce, the adjacent well became shut. Three parameters were considered as variables: type of the reservoir, the distance between the two wells and finally production history of adjacent well. The scenarios that are considered for fractured reservoirs are similar to the scenarios of the homogenous reservoir. In the first six scenarios, the boundary of models is infinite, but a special case which has a finite boundary has been examined in the last model. For each scenario, first, we investigated the result of the software and the analytical solution. Moreover, to see the impact of parameters change in the results, a sensitivity analysis was carried out for both homogeneous and fractured models. Some changes were generated in the same graphs. The property and the step of well test operation which were run are shown in Tables 1 and 2. These steps have been established for both the numerical solution in the software and analytical solution in the first six scenarios. As it can be perceived from Table 1, the scenario of case numbers 1, 2, 3 is analogous to case numbers 4, 5, 6, respectively. The only difference is in type of reservoirs in which in each pair of them has been defined for homogenous reservoirs, while the other case has been verified for fractured ones.

Table 1 Different scenarios for homogenous and naturally fractured reservoirs
Table 2 Properties of fractured reservoir model

Homogenous reservoir’s base case

This case is a homogeneous reservoir that has one tested well. This well begins to produce at the rate of 300 bbl/day for 70 h. Figure 3 shows the pressure and derivative data that were obtained from the well test using both analytical and numerical solutions. It is clear that analytical and numerical models confirm each other. As discussed in detail earlier, the behavior of derivative curve is a flat line, which verifies the general rules of the homogenous reservoir.

Fig. 3
figure 3

Matching pressure and pressure derivative plots in log–log scale of the base case for homogenous reservoir’s model

Scenario No. 1

In this homogenous reservoir, first, the adjacent well produces with the rate of 300 bbl/day for 70 h and then is shut. At that moment, the tested well starts to produce with the rate of 300 bbl/day for 70 h. According to the superposition law, two pressure drops and a pressure buildup were resulted. All of the calculation steps were performed according to the superposition law. Figure 4 illustrates the result of software and analytical solution for this case and as it can be clearly seen, both of them match and overlap each other. Corresponding to this figure, as it is mentioned in Sect. 2, although it is actually a homogeneous reservoir, this case might be interpreted as a fractured reservoir incorrectly. This misinterpretation is caused by ignoring the adjacent well production history.

Fig. 4
figure 4

Matching analytical and numerical pressure derivative plots in log–log scale of the scenario No. 1 in homogenous reservoir

Figure 5 shows the sensitivity of pressure derivative to the well spacing (the distance between wells). It is illustrated that if this value increases, the derivative will be more similar to the homogenous reservoir’s derivative. This occurs due to the decrease in adjacent well’s effect. Indeed, the increase in the distance between wells (i.e., r = 800 ft), results in the decrease in pressure drawdown impact due to the adjacent well effect. Therefore, the response of pressure and pressure derivative become more similar to a homogenous case. (The derivative shape is more flat.)

Fig. 5
figure 5

Sensitivity analysis of scenario No. 1 on the well’s distance in homogenous reservoir

We want to answer this question that how wrong the interpretation would be if the case was interpreted without including all the production data. The derivative matching plot of these two different reservoirs is shown in Fig. 6. Figure 6 illustrates that a reservoir with tested well and an adjacent well has approximately similar sign in terms of derivative plot with a naturally fractured reservoir that has only one well. Also, the permeability of these two reservoirs is almost the same that this information confirms our results. Table 3 shows the features of these two cases which have a matched derivative plot. The naturally fractured reservoir’s conditions are k = 31, ω = 0.0556 and λ = 4.62E−8.

Fig. 6
figure 6

Homogenous reservoir with a tested well and adjacent well and naturally fractured reservoir with only a tested well

Table 3 Parameters obtained from the truth model and possible misinterpretation

Scenario No. 2

According to Table 1, in this scenario, the rate of the adjacent well has increased (from 300 to 1000 stb/day). Increase in the rate of the adjacent well will cause the increase in its drawdown, and consequently the total pressure and hence the derivative form will change. Figure 7 shows the derivative of this scenario with numerical and analytical solutions. After the middle time, this graph illustrates a steady-state condition and can be incorrectly interpreted that there is a constant pressure boundary or strong aquifer near the boundary while, in reality, we are dealing with an infinite-acting reservoir. Figure 8 shows the sensitivity analysis on the rate of the adjacent well. This figure shows that if the production rate of the adjacent well becomes higher, the support from the adjacent well during the buildup period will appear earlier. Thus, the derivative plot shows a sharper slope than others, indicating a more effective constant pressure behavior. This result is matched with the superposition principle completely.

Fig. 7
figure 7

Matching analytical and numerical derivative plots in log–log scale of the scenario No. 2 in homogenous reservoir

Fig. 8
figure 8

Sensitivity analysis of scenario No. 2 on the rate of the adjacent well in homogenous reservoir

Scenario No. 3

This scenario is conducted in the reservoir similar to scenario 1 and 2, but the production rate of the adjacent well is increased and the well produces for all of the operation time (no shut-in period). Like previous scenarios, the analytical and numerical solutions and sensitivity analysis of the model are shown in Figs. 9 and 10, respectively. Taking a glance to the derivative plots, the test can be interpreted as a homogeneous reservoir with no-flow boundary condition or even an impermeable fault. Looking at Fig. 10, it can be seen that if the adjacent well’s production rate increases, the pressure drop will consequently increase after the radial flow. By increasing the adjacent well’s production rate, the slope of the derivative plot increases, which shows more effective signature of the barrier. Derivative plot can be misinterpreted as intersecting faults or barrier, which is not actually true.

Fig. 9
figure 9

Matching analytical and numerical pressure derivative plots in log–log scale of the scenario No. 3 in homogenous reservoir

Fig. 10
figure 10

Sensitivity analysis of scenario No. 3 on the rate and time production of the adjacent well in homogenous reservoir

Till this point, we focused on homogenous cases. Now, we will address these scenarios for naturally fractured reservoirs to find out what changes in the derivative curve will happen considering a situation that an adjacent well exists in this system. All of these scenarios which will have been examined below are similar to scenarios which were examined previously in the homogenous reservoir. Equations 4 and 5 are used to calculate the pressure at the tested well. Equation 6 is also applied for calculating derivative values.

Fractured reservoir’s base case

Analogous to the homogenous reservoir, first, we examine a natural fracture reservoir with a well that operates at constant rate. Figure 11 shows the numerical and analytical solution of the derivative for this operation. This curve (valley shape) is verifying our previous discussion about general features of the derivative curve in the natural fracture reservoir.

Fig. 11
figure 11

Matching pressure and pressure derivative plots in log–log scale of the base case for naturally fractured reservoir’s model

Scenario No. 4

In this scenario, first the adjacent well produces, then this well is shut and tested well begins to produce. The production rates of two wells are equal. Figure 12 indicates the derivative pressure data which have been obtained. This figure expresses two valleys in the diagram which can incorrectly be interpreted as a triple-porosity system. The effect of distance between wells is also shown in Fig. 13. When the distance between wells increases (i.e., 800 ft), the effect of adjacent well in comparison with cases where the distance is smaller (i.e., 400 ft) will be less. This is completely consistent with the superposition law.

Fig. 12
figure 12

Matching analytical and numerical pressure derivative plots in log–log scale of the scenario No. 4 in naturally fractured reservoir

Fig. 13
figure 13

Sensitivity analysis of scenario No. 4 on the well’s distance in naturally fractured reservoir

Scenario No. 5

In this scenario, the adjacent well is producing at a higher production rate than the tested well, which can be misinterpreted as a constant pressure boundary or even a strong aquifer. This feature is illustrated in Fig. 14. Additionally, Fig. 15 demonstrates the effect of the adjacent well’s production rate. If the production rate of the adjacent well is remarkable, the radial flow will disappear sooner and as a result, the boundary effect will be observed earlier. Moreover, it is completely similar to the scenario No. 2 that by increasing the production rate of adjacent well, the effect of buildup pressure of adjacent will appear earlier. Therefore, the supporting pressure of a reservoir that can compensate the pressure drawdown is more bigger, and this will cause an earlier and sharper constant boundary signature in the derivative plot.

Fig. 14
figure 14

Matching analytical and numerical pressure derivative plots in log–log scale of the scenario No. 5 in naturally fractured reservoir

Fig. 15
figure 15

Sensitivity analysis of scenario No. 5 on the rate of the adjacent well in naturally fractured reservoir

Scenario No. 6

The adjacent well is producing for the whole time of the test, and its production rate is higher than the tested well. Looking at Fig. 16, a valley in the derivative and then a line with positive slope have been recorded which might be interpreted incorrectly as a reservoir with the intersecting faults or even as a bounded system (no-flow boundary condition). However, we know that the true reservoir model is not bounded. Sensitivity analysis on the production rate of the adjacent well is shown in Fig. 17. It can be clearly seen that, if the production rate of the adjacent well is high, the pressure drop increases and the derivative value increases consequently.

Fig. 16
figure 16

Matching analytical and numerical pressure derivative plots in log–log scale of the scenario No. 6 in naturally fractured reservoir

Fig. 17
figure 17

Sensitivity analysis of scenario No. 6 on the rate and time production of the adjacent well in naturally fractured reservoir

Scenario No. 7 (special case)

Until now, we have investigated the infinite-acting systems through scenarios 1–6. However, in this section a finite reservoir behavior and possible pitfalls in its interpretation will be discussed. For this purpose, a reservoir with a no-flow boundary was simulated using a commercial software. Similar to other cases, the features of this case are mentioned in Table 1, but in this case the boundary is closed (distance between the well and the fault is 500 ft). Figure 18 shows a comparison between the diagnostic plot of this scenario (existence of adjacent well) and the case where the reservoir only has tested well. Due to the existence of adjacent well, signature of finite reservoir is a flat line that can be misinterpreted as an infinite reservoir. Therefore, this plot possibly is incorrectly interpreted as radial flow, while the pressure disturbance has arrived to the sealed boundary. This difference is because of the build-period pressure of the adjacent well, which compensates the pressure drop caused by the boundary.

Fig. 18
figure 18

Pressure derivative plots in log–log scale of scenario No. 7 on the with adjacent well and without adjacent well in finite reservoir

Looking at the seven scenarios, we observed the importance of including the effect of the production history of adjacent wells in well test interpretation (if they can affect the pressure data in the tested wells). Here, seven cases were examined, but investigation can be extended to the more complex case (i.e., composite systems or multilayered systems).

The summary of our results for all the scenarios is shown in Table 4.

Table 4 Summary of results

As it is shown in Table 4, if reservoir engineers do not consider the effect of adjacent wells, the interpretation firmly can be wrong. Moreover, the scenarios that are discussed in this paper have only one adjacent well, and it has assumed that adjacent well produces at a constant rate. However, it will be interesting to examine other scenarios that have not only the more wells, but also produce at variable rates. Therefore, it is highly recommended that the other situations that may effect on the interpretation are to be considered in the future works. By doing this, the cases will be close to the real reservoir condition and wrong interpretations can be avoided.

Conclusions

In conclusion, we have applied several different scenarios to investigate the effect of neighbor well’s production history on the interpretation of derivative plot using a commercial software and coding analytical models. The following conclusions can be made:

  • Based on the results of this research, it was illustrated that neglecting the effect of the adjacent well production history on the tested well data can have a huge impact on well test interpretation.

  • It was demonstrated that an infinite-acting homogenous reservoirs or finite-acting cases can be misinterpreted as a naturally fractured reservoir or as a reservoir with artificial boundaries. Similar misinterpretation can happen for a naturally fractured reservoir. Such an issue can diminish the accuracy of future prediction of reservoir performance.

  • For having a valid interpretation, all neighbor wells and corresponding production histories should be included in a standard interpretation procedure.

  • We applied analytical models for both homogenous and fractured reservoirs considering the superposition principle. The results of the analytical model had completely matched with the response that had been obtained by commercial software. Consequently, it shows that these analytical models are applicable, if the assumptions behind it are considered.

The more the model is complex, the more the results should interpret precisely. Therefore, for interpretation of complex reservoir tests, the engineers should get help through other means such as petrophysics and geophysics to reduce the uncertainty in their interpretations.