Professional Documents
Culture Documents
Abstract
In this paper methodologies for reservoir characterization during underbalanced drilling is presented. In these methodologies we are using a transient wellflow model coupled to a transient reservoir model, and use estimation techniques to estimate reservoir properties. Our focus is to estimate the permeability and reservoir pressure along the well, using measured
data usually available while drilling. The measured data are
outlet rates, pump pressure and downhole pressure. The liquid
injection and gas injection rates are used as input to the model.
The methodologies are applied to synthetic cases.
Introduction
Underbalanced drilling is becoming increasingly popular.
During an underbalanced drilling operation the well pressure
should be kept below the formation pressure at all times. Since
the well is producing while drilling, the well may be tested
real time. Estimation of near wellbore characteristics of the
formation gives important information when using smart completions since highly productive zones can be located.
Several recent papers1-4 have addressed well-testing during
underbalanced drilling. Methodologies have been presented in
these papers where the permeability profile in the near wellbore region is estimated based on the assumption that the total
flow rate from the reservoir is known and that the reservoir
pressure is assumed to be constant and known. An alternative
technique1 has been presented where the assumption of known
and constant reservoir pressure is not needed, but known total
flow rate from the reservoir is still needed. The total flow rate
from the reservoir is however not usually measured during an
underbalanced drilling operation. As it is pointed out in Ref. 1
it is not straightforward to determine the total flow rate from
the reservoir on the basis of the surface flow measurements.
Compressibility of the fluids in the system may lead to loading
and unloading in the wellbore, and mass flow rate at the sur-
( G G ) + ( G G v G ) = m ,............ (1)
t
z
( L L ) + ( L L v L ) = m , ....... (2)
t
z
( L L v L + G G v G ) + L L v 2L + G G v G2 + p
t
z
dp
= ( L L + G G ) g sin . ........... (3)
dz F
(d 2 d 1 )
q i, j (t i, j ) =
IADC/SPE 81634
4 K i s(p res, i p w )
. ...(7)
4K i t i, j
(2S + log(
))
e cr w2
yi ,obs f i (c)
..(8)
i
i =1
urement,
tion F (c ) = f i (c )
]im=1
IADC/SPE 81634
m, n
f
...................................(9)
J= i
c j i =1, j =1
is the sensitivity matrix of the simulated values with respect to
a change in the reservoir properties, and is the covariance
matrix of the measurement errors. We are assuming uncorrelated measurement errors, therefore is a diagonal matrix
i2 . The covariance
taken into account. The jth state vector prior to the inclusion
of the next measurements is
s jf = f(s ja ) + j ,(12)
where f( s ja ) denotes the updating of the state vector done by
Here
is used as initial value to the simulator for a forward simulation that is run to the time when the next measurements are
running forward the simulator to the time were new measurements becomes available, and j is a stochastic contribution
representing the model error. The model error we use is normally distributed with zero mean and covariance matrix .
More details on the specification of will be given below.
To take into account the measurements we use the covariance matrix of the ensemble around the ensemble mean. The
mean value of the ensemble is given by
n
1
s = j =1 s jf ,.(13)
n
1
n
n
( s jf s ) ( sif s ) T ,..(14)
i =1 j =1
n -1
where n is the number of members in the ensemble.
To combine the information from the measurements with
the model in a proper way, we need both to know the uncertainty in the current estimate of the state and the uncertainty in
the measurements. We assume that the errors in the measurements are statistically independent, and with known variances.
This gives a covariance matrix for the measurement errors.
For proper use of the filter an ensemble of observations is
needed23. This is defined by
d j = d + j ,..(15)
R=
where d is the actual observation and j is drawn from a normal distribution with zero mean and covariance matrix .
The observation vector d is related to the state vector s
through the equation d = Hs , for an appropriate matrix H. The
state vectors in the ensemble are updated using the gain matrix
G = RHT (HRHT + ) 1 , ...(16)
through the equation
s ja = s jf + G(d j Hs jf ) (17)
A major issue with the ensemble Kalman filter is the size
of the ensemble. The optimal size of the ensemble for our application is a subject for further research. Experience in the
oceanographic science24 has indicated that the filter may function using a size of the ensemble in the range 100 500. We
have chosen to use 100 members in the ensemble. This means
that 100 forward simulations are needed. The size of this
model is small compared to the models used in the oceanographic science, therefore it should be investigated if a reasonable performance of the filter can be achieved with smaller
ensemble size than 100.
It is our experience that proper specification of the covariance matrix for the modeling error is crucial to get good performance of the filter, and we have investigated different
forms of model noise. The covariance matrix for the model
noise, , is diagonal, i.e. the noise added to one state is independent of the noise added to any other state.
The model noise added for the time dependent variables is
very small ( 10 16 ) in all the cases. Concerning the model
Compressibility of liquid
Viscosity of liquid
Wellbore radius
Penetration rate in the
formation
Uncertainty in pump pressure
Uncertainty in bottom hole
pressure
Uncertainty in flow rate
2.1810-9 Pa-1
0.05 Pa.s
0.067 m
0.005 m/s
0.15 % (standard deviation)
0.5 % (standard deviation)
1 % (standard deviation)
In the last two examples, water and gas is injected into the
drillstring and oil is produced from a reservoir which consists
of 3 different zones, each of length 100 m.
For all the examples, the synthetic measurements representing pump pressure, downhole pressure, liquid return rate
and gas return rates are generated by adding normal distributed noise to the simulation results.
In all the figures presenting liquid mass flow rate, gas mass
flow rate, pump pressure or bottom-hole pressure the dots
IADC/SPE 81634
Compressibility of injection
liquid
Compressibility of
production liquid
Viscosity of injection liquid
Viscosity of production
liquid
Wellbore radius
Penetration rate in the
formation
Uncertainty in pressures
Uncertainty in flow rates
1.010-9 Pa-1
1.1710-9 Pa-1
0.001 Pa.s
0.04 Pa.s
0.01 m
0.0083 m/s
0.15 % (standard deviation)
1 % (standard deviation)
represents synthetic measurements and the solid line represents the results from simulations with the estimated parameters.
In Ex. 1, Ex. 2 and Ex. 4 the downhole pressure is fluctuated, in an effort to oscillate the inflow from the reservoir into
the well. With reference to the equation describing the transient inflow from the reservoir (7), it should be possible to
identify the reservoir permeability if the pressure difference is
varied. This corresponds with the estimation theory within the
field of adaptive control26, where the input signal to a plant is
referred to as sufficiently rich of order n, if it consists of at
least n/2 distinct frequencies. This means that if the system is
oscillated with one frequency sinus oscillations with certain
amplitude, then two parameters can be identified simultaneously. The frequency applied to the downhole pressure is 0.5
mHz and the amplitude is 8 bar peak-to-peak.
Example 1: Permeability and pressure estimation, large
reservoir pressure variations.
In this simple example, liquid is circulated in the well, and the
same liquid is produced from the reservoir. There is no gas
injection into the drillstring. A true state is generated synthetically by using true reservoir pressure pres,i = [230, 260, 220,
220, 240, 280, 230, 230, 250, 220] bar . The true permeability values are Ki =[300, 600, 400, 100, 50, 800, 200, 300,
100, 400] mD. The choke opening is varied, giving sinus
variations to the choke pressure. These variations to the choke
pressure gives similar fluctuations in the bottom hole pressure.
From Fig. 2 we can observe the fluctuations in bottom hole
pressure. The fluctuations peak-to-peak is about 8 bar, with a
mean of 204 bar. Since the flow into the well depends on the
bottom hole pressure, the influx from the reservoir also shows
these fluctuations, as presented in Fig. 3.
The actual and estimated permeabilities are presented in
Fig. 4, and actual and estimated pressures are presented in Fig.
5. From Figs. 2 and 3 we observe that we are able to match the
bottom hole pressure and liquid flow rate at outlet. However,
we observe that the permeability and reservoir pressure not are
well estimated for the different zones. Since we are able to
reproduce the measured data with some discrepancy between
estimated parameters and true parameters, additional information is needed to obtain reliable estimates. We observe that if
the permeability of a zone is over estimated, the reservoir
pressure is under estimated and vice versa.
IADC/SPE 81634
Conclusions
Novel methodology for reservoir characterization during underbalanced drilling has been presented. The methodologies
are based on a transient well flow model coupled to a transient
reservoir model and estimation techniques are applied to estimate permeability and reservoir pressure. An important aspect
of the methodology presented here is that only the data usually
measured during an underbalanced drilling is used as available
data. The examples presented in this paper illustrate that active
tests may improve the reservoir characterization during underbalanced drilling. The results from Example 1 and 2 did not
show any significant differences between the results obtained
with least squares estimation and with ensemble Kalman filter.
The advantage of the ensemble Kalman filter is however that
the results can be obtained during drilling.
d = Measurement vector.
d1 = Outer diameter of the annulus.
d2 = Inner diameter of the annulus.
f = Fanning friction factor.
f i (c) = Simulated value at the ith sensor, as a function of
the inflow profile.
a
=
Forecasted
value by simulator after next time step
f(s j )
Nomenclature
C1= Gas factor.
C2= Gas holdup.
c = Compressibility.
c = Parameter vector.
parameters.
G = Kalman gain matrix.
g = Gravity acceleration.
H = Measurement matrix.
J = Sensitivity matrix of simulated values with respect
to changes in the parameters.
K = Permeability.
M = Mechanistic model.
m = Mass transfer between phases.
n = Number of members in ensemble.
p = Pressure.
P = Covariance matrix of error in estimated
parameters.
q i,j = Flow from segment j in zone i
R = Ensemble error covariance matrix.
S = Skin factor
s = Member of ensemble.
t = Time.
ti,j= Time since opening segment j in zone i
v = Velocity.
yi , obs = Measured value at the ith sensor.
z = Spatial coordinate.
= Volumetric fraction.
= 0.5772.
= Measurement noise vector.
= Angle of inclination.
= Viscosity.
= Density.
= Interfacial tension.
= Porosity.
= Model noise vector.
= Model error covariance matrix.
= Covariance matrix of the measurement error.
= Model parameters.
6.
7.
8.
9.
10
11.
12.
13.
14.
15.
Acknowledgements
This work has been supported financially by the Norwegian
Research Council.
16.
References
17.
1.
2.
3.
4.
5.
Kneissl, W. : Reservoir Characterization Whilst Underbalanced Drilling, paper SPE/IADC 67690 in the proceedings for
the SPE/IADC Drilling Conference held in Amsterdam, The
Netherlands, 27 February-1 March 2001.
Hunt, J. L. and Rester, S., Reservoir Characterization During
Underbalanced Drilling: A New Model, paper SPE 59743 presented at the 2000 SPE/CERI Gas Technology Symposium held
in Calgary, Alberta Canada, 3-5 April 2000
Kruijsdijk, C. P. J. W. and Cox, R. J. W. : Testing While Underbalanced Drilling: Horizontal Well Permeability Profiles,
paper SPE 54717 presented at the 1999 SPE European Formation Damage Conference held in The Hague, The Netherlands,
31 May 1 June 1999.
Kardolus, C. B. and Kruijsdijk, C. P. J. W. : Formation Testing
While Underbalanced Drilling, paper SPE 38754 presented at
the 1997 SPE Annual Technical Conference and Exhibition held
in San Antonio, Texas, 5 8 October 1997.
Lorentzen, R.J., Fjelde, K.K., Fryen, F., Lage, A.C.V.M.,
Nvdal, G. and Vefring, E.H.: Underbalanced Drilling: Real
18.
19.
20.
21.
22.
IADC/SPE 81634
23.
24.
25.
26.
500
400
l/min
IADC/SPE 81634
300
200
100
0
0
200
400
600
Minutes
800
1000
1200
800
K1
K2
...
Ki
700
600
mD
500
400
200
220
Measured
Estimated
100
215
0
10
Zone
bar
210
205
Pressure
350
True
LM Estimate
EnKF Estimate
200
300
195
250
200
400
600
Minutes
800
1000
200
1200
bar
190
0
150
100
50
10
Zone
Permeability
IADC/SPE 81634
900
230
True
LM Estimate
EnKF Estimate
800
True
Estimate
225
700
220
600
mD
bar
500
215
400
210
300
200
205
100
200
0
10
100
200
300
400
500
600
700
Minutes
Zone
Pressure
350
True
LM Estimate
EnKF Estimate
550
300
True
Estimate
500
450
250
400
350
mD
bar
200
150
300
250
200
100
150
100
50
50
0
0
0
10
Zone
100
200
300
400
500
600
700
Minutes
550
230
True
Estimate
500
True
Estimate
450
225
400
220
300
bar
mD
350
250
215
200
210
150
100
205
50
0
0
100
200
300
400
500
600
700
Minutes
200
0
100
200
300
400
500
600
700
Minutes
IADC/SPE 81634
Pressure
Permeability
900
230
True
Ex. 3, no osc.
Ex. 4, with osc.
800
True
Ex. 3, no osc.
Ex. 4, with osc.
225
700
600
220
bar
mD
500
215
400
300
210
200
205
100
2
Zone
Figure 12: True and estimated reservoir permeabilities, Comparisons between Ex. 3, no choke oscillations and Ex. 4, with choke
oscillations.
200
2
Zone