Professional Documents
Culture Documents
Wang 2009
Wang 2009
Reservoir Management
Chunhong Wang, SPE, PetroTel; and Gaoming Li, SPE, and Albert C. Reynolds, SPE, University of Tulsa
As ui approaches its lower bound uilow , the transformed vari- u k +1 = u k + k +1∇ k J , . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . (8)
u
able si approaches −, and, as ui approaches its upper bound
uiup , si approaches +. If the upper and lower bounds are the only where k+1 is the step size for the (k+1)st iteration. In Eq. 8, ∇ k J
u
constraints on the control variables, the constrained optimization is the gradient of the net present value J with respect to the actual
k
problem can be transformed to an unconstrained optimization control vector u evaluated at u , i.e.
C
uk J
≈ ∑ ⎡(u kj − u k )(u kj − u k )T ⎤⎦ ∇J . . . . . . . . . . . . . . (25)
N e − 1 j =1 ⎣
N
1 e k
k
u = ∑u j , . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . (18)
N e j =1 Substitution of Eq. 20 into Eq. 25 yields
Ne
where C k is approximated using Eq. 20 and C k is approximated
1 u u J
Ck ≈
u
∑ ⎡(u kj − u k )(u kj − u k )T ⎤⎦ . . . . . . . . . . . . . . . . . . (20)
N e − 1 j =1 ⎣
using Eq. 24. Because C k is rank deficient, its pseudoinverse (C †k )
u
is calculated using singular value decomposition (Li and Reynolds
u
1
Ne corner. The high-permeability channel connecting the injector to
≈ ∑ ⎡(u kj − u k )( J (u kj ) − J k )T ⎤⎦. . . . . . . . . . . . . . (24)
N e − 1 j =1 ⎣
the two producers P1 and P4 will cause early water breakthrough
in these two wells. A low-permeability barrier is at the lower right
−3.0 0
10 10
0.13 0.08
8 3.3 8 0.16
6.4 0.24
6 6
9.5 0.32
4 4
2 2
2 4 6 8 10 2 4 6 8 10
(a) lnk (b) Porosity
1.5×107 1.50×107
NPV, USD
1.4×107 1.40×107 Average SPSA gradient
NPV, USD
1.3×107 1.30×107
Steepest ascent method
Average SPSA gradient 1.20×107
1.2×107
EnKF
Single SPSA gradient
1.10×107
1.1×107 0 200 400 600 800 1,000
0 20 40 60 80 Numbers of Simulation Runs
Iteration Number
Fig. 3—NPV as a function of the number of simulation runs,
Fig. 2—NPV as a function of iteration number, Example 1. Example 1.
corner between the injector and the producer P2, which retards NPV of USD 1.58 × 107 in 80 iterations with approximately 1,000
the flow of water toward P2. In the time period considered, there simulation runs, an NPV value only slightly lower than the value
is no water breakthrough at P2. The water breakthrough time in obtained from the steepest ascent method and the average SPSA
P3 is after that of P1 and P4. Similar features are shown in the gradient method. The performance from the EnKF is shown by the
porosity distribution because we use a correlation of 0.8 between curve with triangles. Because there are Ne realizations of BHP, the
porosity and log-permeability to generate these two fields. During NPV plotted is the highest among the Ne realizations. Note that,
the waterflooding project, we keep the water injection rate constant in this method, the average gradient calculation (Eq. 27) requires
at 1,000 STB/D. The anticipated waterflooding project life is 960 Ne simulation runs (one for each realization). Therefore, the num-
days, and we set the control step for the producers to 120 days so ber of simulation runs for each iteration is equal to Ne plus the
there are eight control steps and the maximum number of controls number of trials for the line search. With an initial highest NPV
for production optimization is 32. All the producers are at BHP of USD 1.14 × 107, the EnKF method increases the NPV to USD
control with an upper bound of 6,000 psi and a lower bound of 1.54 × 107, the lowest value attained for any method. Moreover,
400 psi. Only two phases are in the reservoir: water and oil. In the EnKF procedure requires 70 iterations for convergence, which
the example, the following parameters are used: ro = 50 USD/STB, is equivalent to more than 2,500 reservoir simulation runs. We can
rw = 15 USD/STB, and b = 20%. see that the steepest ascent algorithm will be sufficiently efficient
if the adjoint gradient is available. In the following production
Production Optimization With True Geology. We first compare optimization with data assimilation, we will focus on using the
three different optimization algorithms (steepest ascent, SPSA, steepest ascent method. We have tested the production optimiza-
and EnKF), assuming the true geology is known. For the steepest tion procedure with different initial guesses for the steepest ascent
ascent and SPSA, we set the initial BHP of four producers all equal method and all of them ended up with the same final controls and
to 1,000 psi. For the EnKF method, similar to Nwaozo (2006), the same NPV. Fig. 4 shows the NPV vs. iteration number of dif-
we generate Ne = 40 realizations of the initial BHP for producers ferent initial guesses for the steepest ascent method. All the cases
using the following steps: (i) The mean BHP for each realization converge to the same final NPV within five iterations.
of each well is independently sampled from a uniform distribution Fig. 5 shows the final controls obtained from the steepest
between 1,000 psi and 5,500 psi. (ii) With each realization of the ascent method. The results show a pure bang-bang solution to
mean of each well from Step 1, the BHP distribution as a function this problem, which is consistent with the results from Zandvliet
of time is generated by sampling a Gaussian distribution with the et al. (2007) because the only constraints on the BHP control are
prescribed mean and the following covariance function:
⎡ −3 | i − j | ⎤
Ci , j = 2 exp ⎢ ⎥⎦ , . . . . . . . . . . . . . . . . . . . . . . . . . . (29)
⎣ a 1.6×107
6,000 6,000
5,000 5,000
4,000 4,000
3,000 3,000
2,000 2,000
1,000 1,000
0 0
0 240 480 720 960 0 240 480 720 960
Time, days Time, days
Fig. 5—Final BHP controls from steepest ascent and SPSA with average gradient, Example 1.
the upper and lower bound constraints. Producers P1 and P4 stay observation seems to coincide with switching time optimization
at the lower bound of the BHP specified at early times and then (Zandvliet et al. 2007) (i.e., optimizing on the time to switch from
are equal to the upper bound of the BHP specified at very late the lower bound (“on” status in valve setting) to the upper bound
times. This is because these two producers are connected to the (“off” status in valve setting) or vice versa. For this example, we
injector by a high-permeability channel. The increase in BHP at have one switching time per producer and the switching time starts
late times corresponds to the increase in watercut. As the BHPs from the end of the reservoir life and then moves backward in time
increase to the upper bound, the wells are effectively shut in to stop during optimization.
water production. Producer P2 remains at the lower bound of the The final BHP controls obtained from the algorithm using an
BHP specified for the whole reservoir life because this producer average of 10 SPSA gradients are the same as the ones from the
is separated from the injector by a low-permeability region, which steepest ascent method shown in Fig. 5. This suggests that SPSA
acts as a barrier for the water movement. Although there is water with an average gradient might be promising for production opti-
breakthrough in Well P3, the BHP remains at its lower BHP bound mization in the case that the true gradient cannot be readily cal-
for the whole reservoir life of 960 days, which may seem unusual. culated. Fig. 6 shows the final BHP obtained from a single SPSA
However, a close check on the gradient shows that the elements gradient. Although the NPV increased to a value close to that from
in the gradient corresponding to the controls at the lower bound the steepest ascent method as shown in Fig. 2, the final BHP does
are negative and the elements in the gradient corresponding to not seem realistic with the nonsmooth behavior for Well P2. This
the controls at the upper bound are positive. As any change in the is mainly because, with a single SPSA gradient, SPSA is similar
control will either violate the constraints or reduce the NPV, any to a random search algorithm. Other wells show earlier well shut-
points in the feasible neighborhood of the final control will yield in (BHP controls at the upper bound) than that from the steepest
a lower NPV. Therefore, the final control is a local maximum fol- ascent method. Fig. 7 shows the BHP with the highest NPV from
lowing the reasoning in Nocedal and Wright (1999) for constrained the N realizations of the EnKF method.
optimization. Note that the well is shut-in automatically whenever
the BHP is higher than the gridblock pressure in which it resides. Production Optimization and Data Assimilation. In this case,
When the BHP reaches its upper bound, we shut in the well even we assume that we do not know the true geology. With sequential
if this upper bound is still lower than the gridblock pressure. Note gaussian cosimulation, we generated 90 ensemble members of the
that, in Fig. 5 and the following similar figures, we plot the BHP at porosity and log-permeability fields from the prior geological infor-
its upper bound as long as the well is shut-in. The actual BHP from mation. As an ensemble of geological models are history matched
the production optimization might be lower than the upper bound. with the EnKF, it seems natural to use the robust optimization
At the first iteration of the steepest ascent method, all the compo- method proposed by van Essen et al. (2006). However, the robust
nents of the gradient are negative except the ones corresponding optimization requires NPV and gradient evaluation for each ensem-
to the last control step (between Day 840 and Day 960) of P1 and ble member at every iteration, which is very computationally costly
P4, which have water breakthrough times much earlier than 840 and impractical for us as we use finite-difference method to approxi-
days, are positive. Early iterations will drive these controls of the mate the gradient. Instead, the production optimization in the paper
last control step to the upper bound and all the others to the lower is done on the central model, which is the updated model obtained
bound. Once the controls of the last control step get to the upper by assimilating measurements without perturbation using the prior
bound, the ones next to them will be driven to the upper bound. mean as its initial realization. For the linear case, the central model
This continues until a local maximum is found. This explains is equivalent to the maximum a posteriori (MAP) estimate (Zafari
why the steepest ascent method with different initial guesses and Reynolds 2007). The basic procedure follows:
gave the same NPV at convergence: All the cases with different 1. Optimize on the control with the prior mean model (central
initial guesses have the same controls after the first iteration. The model) for the whole reservoir life.
6,000
6,000
5,000
5,000
BHP of P3, psi
2. Generate true data using the final optimum control to the time 4. Optimize on the controls based on the updated central model
there are measurements. Note that we have measurements every from tn to the end of the reservoir life.
30 days and the measurements include oil and water production 5. Repeat Steps 2, 3, and 4 until the end of the reservoir life.
rates from producer and the BHP from the injector. The synthetic Fig. 8 shows the evolution of the average log-permeability
data are generated by adding noise to the true data. The standard after data assimilation at 60, 120, 240, and 480 days. After data
deviation for the measurement error in oil and water rates is 5 assimilation up to Day 60, the long high-permeability channel
STB/D and in BHP of the injector is 10 psi. connecting Wells P1 and P4 is recognizable. After Day 120,
3. Assimilate data with EnKF up to a point tn that production the short high-permeability channel between the injector and
optimization is requested, which occurs every 120 days. the producer P3 becomes evident. After Day 240, it seems that
6,000 6,000
5,000 5,000
BHP of P1, psi
4,000 4,000
3,000 3,000
2,000 2,000
1,000 1,000
0 0
0 240 480 720 960 0 240 480 720 960
Time, days Time, days
6,000
6,000
5,000
5,000
BHP of P3, psi
4,000
4,000
3,000
3,000
2,000
2,000
1,000
1,000
0
0
0 240 480 720 960 0 240 480 720 960
Time, days Time, days
6.4 6.4
6 6
9.5 9.5
4 4
2 2
2 4 6 8 10 2 4 6 8 10
(a) 60 days (b) 120 days
−3.0
−3.0
10 10
0.13
0.13
8 3.3
8 3.3
6.4
6.4 6
6
9.5
9.5
4
4
2
2
2 4 6 8 10 2 4 6 8 10
Fig. 8—Evolution of the average log-horizontal permeability field during data assimilation, Example 1.
both high-permeability channels become wider than in the true which is similar to the true case. However, the low-permeability
geology (Fig 1a). barrier between the injector and the producer P2 is shifted toward
Fig. 9 shows the average log-permeability and average poros- the injector. The average porosity distribution in Fig. 9b after
ity distribution after data assimilation at 960 days. Comparing data assimilation at 960 days roughly captures the true geological
Fig. 9a to the true permeability distribution in Fig. 1a, we see that features, but the estimate is poorer than that of the permeability
the average log-permeability distribution after data assimilation distribution.
with the EnKF captures the main geological features, especially Fig. 10 shows the ensemble predictions of the oil production
the long high-permeability channel connecting the injector with rate during data assimilation compared to the truth. In all the
the two producers (P1 and P4), although the channel in the EnKF similar figures, red curves represent the true case, blue curves
result is a little wider than the truth. The short high-permeability are the central model, and gray curves are the ensemble predic-
channel close to producer P3 in the EnKF result is much wider tions from each step of data assimilation. It can be seen that the
than the truth. The high permeability area around producer P2 is ensemble predictions give large uncertainty during early-time data
more or less shown in the average log permeability distribution, assimilation and the uncertainty band becomes very small as more
−3.0 0
10 10
0.13 0.08
8 3.3 8 0.16
6.4 0.24
6 6
9.5 0.32
4 4
2 2
2 4 6 8 10 2 4 6 8 10
(a) lnk (b) Porosity
Fig. 9—Average property fields after data assimilation to 960 days, Example 1.
0
0
0 240 480 720 960 0 240 480 720 960
Time, days Time, days
1,500 1,500
Ensemble Ensemble
WOPR of P3, STB/D
500 500
0 0
0 240 480 720 960 0 240 480 720 960
Time, days Time, days
Fig. 10—Ensemble oil production rate compared to the truth during data assimilation, Example 1.
data are assimilated. During the course of data assimilation, the Fig. 12a show the ensemble prediction of the BHP compared to the
true case is always within the uncertainty band, so the results do truth. As in the water and oil production rate predictions, there is
not appear to be biased. Fig. 11 shows the ensemble predictions a large uncertainty at early times and some of the ensemble mem-
of the water production rate during data assimilation compared to bers even reach the maximum BHP specified (10,000 psi). After
the truth. Similar behavior to the oil production rate is observed. approximately 240 days, the uncertainty band of the ensemble
400 50
Ensemble Ensemble
40 Central model
WOPR of P1, STB/D
Central model
WOPR of P2, STB/D
300 True
True
30
200
20
100
10
0 0
0 240 480 720 960 0 240 480 720 960
Time, days Time, days
500
600
Central model
400 True
300
300
200 Ensemble
200 Central model
100 True
100
0 0
0 240 480 720 960 0 240 480 720 960
Time, days Time, days
Fig. 11—Ensemble water production rate compared to the truth during data assimilation, Example 1.
2,000 1×103
0 0
0 240 480 720 960 0 240 480 720 960
Time, days Time, days
(a) WBHP inj (b) FPR
Ensemble
Central model
True
4×105 4×105
2×105 2×105
Ensemble
Central model
True
0 0
0 240 480 720 960 0 240 480 720 960
Time, days Time, days
(c) FOPT (d) FWPT
Fig. 12—Ensemble prediction compared to the truth during data assimilation, Example 1.
predictions is so narrow that we see the truth essentially coincides slightly different final controls. Fig. 13 shows the final controls when
with the ensemble predictions. The average reservoir pressure in the initial BHP is 1,000 psi with geological uncertainty. Compared to
Fig. 12b shows the typical “saw tooth” behavior of sequential data the final control obtained with an initial guess of 500 psi, which is the
assimilation: The uncertainty band increases during prediction and same as that with true geology shown in Fig. 5, the only difference is
then gets reduced after data assimilation. Figs. 12c and 12d present that Well P1 was shut in one control step earlier when the initial guess
the cumulative oil production and cumulative water production for for BHP is 1,000 psi. All the other wells have the same final control in
the ensemble obtained during data assimilation compared to the these two cases. As mentioned earlier, the control shown in Fig. 5 is
truth. Again the average prediction is close to the truth and the pre- at least a local maximum because all the controls at the lower bound
dictions are unbiased. The relatively large uncertainty band for the have a negative component in the gradient and all the controls at the
cumulative oil production arises from the fact that the uncertainty upper bound have either zero (well shut-in) or a positive component in
in the oil rates (Fig. 10) is larger than the uncertainty in the water the gradient. When we use the final controls from the case with initial
rates (Fig. 11) at times before 240 days. BHP of 1,000 psi and run the simulator with the true geology, we find
As stated in the procedure for data assimilation and production that the NPV is even higher than the maximum obtained with controls
optimization, these two steps alternate. The final controls from shown in Fig. 5. This confirms that the maximum obtained from the
production optimization based on the central model are exactly steepest ascent method with true geology is only a local maximum.
the same as the ones obtained based on the true geology of Fig 5. Because there is only one control that is different between these two
Although not shown here, the updated permeability and porosity cases (compare Figs. 5 and 13), we plot the NPV as a function of
distribution for the central model after 960 days is very much like that control from P1 between the lower bound and upper bound with
the average permeability and porosity distribution shown in Fig. 9. true geology. The result is shown in Fig. 14. Note that the NPV is a
In fact, all the models are fairly close to each other after data nonlinear function of the control variable. When the control is at its
assimilation. It should be noted that every time we do production lower bound, it has a negative derivative, so it tends to increase NPV
optimization, we use an initial guess of 500 psi instead of the final by lowering its BHP. As the BHP increases, this derivative decreases
control from the last step of production optimization. The reason and reaches zero at approximately 1,350 psi and then become positive
for doing this is because, once the control goes higher than the as BHP further increases. The well is shut-in when the BHP reaches
grid block pressure at the first step of production optimization, approximately 3,000 psi, so the NPV becomes flat. A check on the
the producer will be shut-in because the BHP is higher than the gradients of the control indicates that both solutions are local maxima,
gridblock pressure. In this case, NPV is never sensitive to the well but setting this control to the highest value (shut-in) gives higher NPV
control and cannot be adjusted during the optimization. as indicated by the results of Fig. 14.
As mentioned earlier, there is one switching time per producer
Nonlinearity. For the closed-loop reservoir management procedure, and during optimization, the switching time (defined as the time
we also tried to use different initial guesses for the BHP during pro- the BHP control switches from lower bound to upper bound) moves
duction optimization to test its stability. Other than 500 psi, we have backward as a function of iteration for the problem considered in
tried to use initial BHP of 400 psi, which is the lower bound, 1,000 psi, the paper. Here, we explore the behavior of the NPV vs. the switch-
2,000 psi, and 3,000 psi. With initial guesses of 400 psi and 500 psi, ing time. Fig. 15 shows the NPV vs. switching time for all the
we obtained the same results as knowing the true geology. However, producers in the vicinity of the final controls obtained with known
with initial guesses of 1,000 psi, 2,000 psi, and 3,000 psi, we obtained true geology (i.e., change the switching time of one producer while
5,000 5,000
3,000 3,000
2,000 2,000
1,000 1,000
0 0
0 240 480 720 960 0 240 480 720 960
Time, days Time, days
6,000 6,000
5,000 5,000
BHP of P3, psi
Fig. 13—Final controls with initial BHP = 1,000 psi for closed-loop reservoir management, Example 1.
keeping all the controls of other wells as in Fig. 5). The figures Figs. 15 and 16 show that the NPV vs. the switching time has
show that the highest NPV is obtained at the switching time shown a concave up shape, while the NPV vs. a BHP control shown in
in Fig. 5 for P2 (Day 960), P3 (Day 960), and P4 (Day 720), but Fig. 14 has a concave down shape with maximum at the upper and
not for P1. Note that the switching time at Day 960 refers to keep- lower bounds. This may be an indication that optimization based
ing the BHP at its lower bound for the whole reservoir life. The on the switching time might be easier than that using the BHP
highest for P1 is obtained at Day 720 instead of Day 840 (Fig. 5). controls but only if the assumption that there is one switching
The final controls in Fig. 5 are at a local maximum according to time per well is true. Although the consideration of switching time
the earlier discussion as we optimize based on the BHP controls. provides an enhanced understanding of the problem, we have not
However, Fig. 15 shows that, if we optimize on the bais of the implemented a switching time optimization procedure because its
switching time, the solution in Fig. 5 will not even be a local reliable application requires that we have a priori certain knowl-
maximum. Fig. 16 shows the NPV vs. the switching time for all edge that the optimal control solution is accurately described by
the producers in the vicinity of the final controls obtained from the bang-bang behavior.
closed-loop reservoir management procedure (Fig. 13). The high-
est NPV is obtained at the switching times shown in Fig. 13 for P1 Example 2
(Day 720), P2 (Day 960), and P4 (Day 720), but not for P3. The Reservoir Model Description. This example pertains to a reservoir
highest for P3 is obtained at Day 840 instead of Day 960. Fig. 16 with 25 × 25 gridblocks and x = y = 118 ft. The thickness of the
also shows that the final controls in Fig. 13 can only be a local reservoir is 50 ft. The true porosity is set to be homogenous with a
maximum when we optimize on the basis of BHP and they will not value of 0.25, and the true horizontal log-permeability field is shown
be a local maximum if we optimize on the switching time. in Fig. 17. The reservoir is under five-spot waterflooding, with wells
shown in the permeability distribution map of Fig. 17. Several high-
permeability channels are in the reservoir at 45°. The injector is
15,892,000 drilled through a high-permeability channel. During the waterflood-
ing project, we keep the water injection rate constant at 5,000 STB/D.
15,890,000 The anticipated waterflooding project life is 6 years (2,190 days), and
we set the control step for the producers to half year, so there are 12
15,888,000 control steps and 48 maximum number of controls for production
optimization. During production optimization, we adjust the BHP
NPV, USD
15,886,000 controls subject to the same upper and lower bound constraints as in
Example 1. Other parameters are also the same as in Example 1.
15,884,000
Production Optimization With True Geology. In Example 1, we
15,882,000 compared three different algorithms, EnKF, SPSA, and steepest
ascent, and found that EnKF and a single SPSA gradient generate
15,880,000 unrealistic final controls. However, an average of 10 SPSA gradi-
ents gives the same final controls as the steepest ascent method.
15,878,000 In this example, we will focus on comparing the efficiency of
0 2,000 4,000 6,000 the algorithm using the average SPSA gradient to that of steepest
BHP, psi ascent method.
Fig. 18 shows the increase of NPV as a function of iteration
Fig. 14—NVP as a function of one BHP control for P1, Example 1. number. The steepest ascent method converges in six iterations
1.5×107
NPV, USD
NPV, USD
1.4×107 1.5×107
1.3×107
1.2×107 1.4×107
0 240 480 720 960 0 240 480 720 960
Switching Time of P1, days Switching Time of P2, days
1.6×107 1.6×107
1.5×107 1.5×107
1.4×107 1.4×107
NPV, USD
NPV, USD
1.3×107 1.3×107
1.2×107 1.2×107
1.1×107 1.1×107
1.0×107 1.0×107
0 240 480 720 960 0 240 480 720 960
Switching Time of P3, days Switching Time of P4, days
Fig. 15—NPV vs. switching time in the vicinity of final controls with true geology, Example 1.
and gives a final NPV of USD 1.7985 × 108. The final controls 1,461 days, and 1,278 days, respectively. Using an average of 10
for the four producers using the steepest ascent method are shown SPSA gradients, the SPSA algorithm increases the NPV from USD
in Fig. 19. As in Example 1, final controls for this problem show 1.68 × 108 to USD 1.78 × 108 in 30 iterations. The final controls
bang-bang behavior. Producer P1 stays at the lower bound of 400 obtained from this algorithm are shown in Fig. 20. Compared to
psi for the study period as this producer is not really connected results from the steepest ascent method, producers P1 and P2 have
to the high-permeability channel around the well and, as shown the same controls while producers P3 and P4 were shut in one
later, this well has the lowest water production rate. The other three control step later. However, P4 was turned back on between 1,825
producers (P2, P3, and P4) were produced at lowest allowable BHP and 2,008 days with the control equal to its lower bound. This may
(400 psi) during early times and then were shut in at 1,278 days, not be realistic. This is mainly because SPSA gives only a stochas-
1.6×107 1.6×107
1.5×107
NPV, USD
NPV, USD
1.4×107 1.5×107
1.3×107
1.4×107
1.2×107
0 240 480 720 960 0 240 480 720 960
Switching Time of P1, days Switching Time of P2, days
1.6×107 1.6×107
1.5×107 1.5×107
1.4×107 1.4×107
NPV, USD
NPV, USD
1.3×107 1.3×107
1.2×107 1.2×107
1.1×107 1.1×107
1.0×107 1.0×107
0 240 480 720 960 0 240 480 720 960
Switching Time of P3, days
Switching Time of P4, days
Fig. 16—NPV vs. switching time in the vicinity of final controls of closed-loop reservoir management, Example 1.
1.80×108
1.5
20 1.78×108
3.0 1.76×108
NPV, USD
15 1.74×108
4.5
1.72×108
6.0 1.70×108 Steepest ascent
10
Average 10 SPSA gradient
1.68×108 Average 20 SPSA gradient
1.66×108
5 0 10 20 30 40
Iteration Number
6,000 6,000
5,000 5,000
BHP of P1, psi
4,000 4,000
3,000 3,000
2,000 2,000
1,000 1,000
0 0
0 365 730 1,095 1,460 1,825 2,190 0 365 730 1,095 1,460 1,825 2,190
Time, days Time, days
6,000 6,000
5,000 5,000
BHP of P4, psi
BHP of P3, psi
4,000 4,000
3,000 3,000
2,000 2,000
1,000 1,000
0 0
0 365 730 1,095 1,460 1,825 2,190 0 365 730 1,095 1,460 1,825 2,190
Time, days Time, days
5,000 5,000
3,000 3,000
2,000 2,000
1,000 1,000
0 0
0 365 730 1,095 1,460 1,825 2,190 0 365 730 1,095 1,460 1,825 2,190
Time, days Time, days
6,000 6,000
5,000 5,000
4,000 4,000
3,000 3,000
2,000 2,000
1,000 1,000
0 0
0 365 730 1,095 1,460 1,825 2,190
0 365 730 1,095 1,460 1,825 2,190
Time, days
Time, days
approximately six data assimilation steps and is readily apparent field does not show the two short disconnected high permeability
in the estimate of the average ln(k) field obtained at 730 days. streaks that appear toward the upper left in the true model. This,
The estimate of the average field at 2,190 days bears geological however, is not very surprising as we expect that flow from the
resemblance to the truth and results in good matches of produc- injector to producer P3 will be largely controlled by the large low-
tion data as shown later but is far from the true ln(k) field (Fig. permeability region that connects the injection well to P3. As can
17) in many aspects. For example, the estimated field results in be seen in Figs. 23 and 24, all ensemble members result in good
an overlap of the two high-permeability streaks running from the but similar data matches because all ensemble members give a
lower left to the upper right in the true model. Also, the estimated ln(k) field fairly similar to the average field.
6,000 6,000
5,000 5,000
BHP of P1, psi
4,000 4,000
3,000 3,000
2,000 2,000
1,000 1,000
0 0
0 365 730 1,095 1,460 1,825 2,190 0 365 730 1,095 1,460 1,825 2,190
Time, days Time, days
6,000 6,000
5,000 5,000
BHP of P4, psi
BHP of P3, psi
4,000 4,000
3,000 3,000
2,000 2,000
1,000 1,000
0 0
0 365 730 1,095 1,460 1,825 2,190
0 365 730 1,095 1,460 1,825 2,190
Time, days
Time, days
1.5 1.5
20 20
3.0 3.0
15 4.5 15 4.5
6.0 6.0
10 10
5 5
5 10 15 20 25 5 10 15 20 25
(a) 0 days (b) 730 days
25 25 0
0
1.5 1.5
20 20
3.0 3.0
15 4.5 15 4.5
6.0 6.0
10 10
5 5
5 10 15 20 25 5 10 15 20 25
5,000 5,000
Ensemble
4,000 Central model 4,000
WOPR1, STB/D
WOPR2, STB/D
True Ensemble
3,000 3,000 Central model
True
2,000 2,000
1,000 1,000
0 0
0 365 760 1,095 1,460 1,825 2,190 0 365 760 1,095 1,460 1,825 2,190
Time, days Time, days
5,000 5,000
WOPR4, STB/D
2,000 2,000
1,000 1,000
0 0
0 365 760 1,095 1,460 1,825 2,190 0 365 760 1,095 1,460 1,825 2,190
Time, days Time, days
Fig. 23—Ensemble oil production rate compared to the truth during data assimilation, Example 2.
WWPR1, STB/D
WWPR2, STB/D
600 True 600
400 400
WWPR4, STB/D
600
600
400
400
200 Ensemble
200 Ensemble
Central model
Central model
True
0 True
0 365 760 1,095 1,460 1,825 2,190 0
0 365 760 1,095 1,460 1,825 2,190
Time, days Time, days
Fig. 24—Ensemble water production rate compared to the truth during data assimilation, Example 2.
Figs. 23 and 24 show the ensemble predictions of the oil and truth. Figs. 25c and 25d present the field total oil production rate
water production rate during data assimilation compared to the and field total water production rate for the ensemble obtained
truth. Figs. 25a and 25b show the ensemble prediction of the BHP during data assimilation compared to the truth. All the ensemble
of the injector and the average reservoir pressure compared to the predictions during data assimilation show the typical saw-tooth
10,000 10,000
WBHP of INJ, psi
8,000 8,000
FPR, psi
6,000 6,000
10,000 10,000
FWPR, STB/D
True
6,000 6,000
4,000 4,000
Ensemble
Central model
2,000 2,000
True
0 0
0 365 760 1,095 1,460 1,825 2,190 0 365 760 1,095 1,460 1,825 2,190
Time, days Time, days
(c) FOPR (d) FWPR
Fig. 25—Ensemble prediction compared to the truth during data assimilation, Example 2.
5,000 5,000
3,000 3,000
2,000 2,000
1,000 1,000
0 0
0 365 730 1,095 1,460 1,825 2,190 0 365 730 1,095 1,460 1,825 2,190
Time, days Time, days
6,000 6,000
5,000 5,000
BHP of P3, psi
behavior of sequential data assimilation with decreasing uncer- p = dynamic state variables
tainty as more data are assimilated. The true prediction always qo = oil production rate
falls within the uncertainty band of the ensemble, even though the qw = water production rate
band is quite small. The final controls from production optimiza- qinj = water injection rate
tion based on the central model are shown in Fig. 26. Note that ro = oil revenue
the final controls for producers P1 and P3 are the same as obtained
rw,inj = water injection cost
using the true geology but are different for producers P2 and P4.
In the closed-loop scenario with uncertain geology, wells P2 and rw = water production cost
P4 are both shut in one control step earlier than in the case where s = transformed control vector
optimization of the controls is based on the true known geology. u = control vector
y = state vector
Conclusions = step size
• Comparison of different optimization algorithms for closed-loop
reservoir management shows that the steepest ascent algorithm Subscripts
is the most efficient one, and it gives reasonable results. The n = timestep index
EnKF, when it is treated as an optimization algorithm, requires obs = observed
significantly more time and yields poor estimates of the optimal uc = unconditional realization
controls. SPSA, with an average stochastic gradient, gives rea-
sonable final controls with slower convergence. The final control Superscripts
from SPSA using a single stochastic gradient is not realistic. k = iteration idex
• Closed-loop reservoir management with the EnKF for data low = lower bound
assimilation and the steepest ascent for production optimization n = timestep index
based on the central model gives reasonable results for the test
p = prediction
examples in the paper. The updated permeability and porosity
fields capture the geological features of the true fields. The final T = matrix transpose
control is similar to that obtained assuming known geology. up = upper bound
• Production optimization is a nonlinear problem that presents † = pseudoinverse
multiple maxima, at least for the cases considered here. Local
maxima are obtained when the controls take their upper and Acknowledgments
lower bounds. The support of the member companies of the University of Tulsa
Petroleum Reservoir Exploitation Projects (TUPREP) is very
Nomenclature gratefully acknowledged.
b = annual interest rate
ck = SPSA perturbation References
C = covariance Alhuthali, A., Oyerinde, D., and Datta-Gupta, A. 2006. Optimal Waterflood
d = data Management Using Rate Control. SPEREE 10 (5): 539–551. SPE-
102478-PA. doi: 10.2118/102478-PA.
g = gradient
Asheim, H. 1998. Maximization of water sweep efficiency by controlling
J = net present value production and injection rates. Paper SPE 18365 presented at the European
Kn = Kalman gain matrix Petroleum Conference, London, 16–19 October. doi: 10.2118/18365-MS.