Professional Documents
Culture Documents
This paper (SPE 164113) was accepted for presentation at the SPE International 1D Reactive Transport Model
Symposium on Oilfield Chemistry, The Woodlands, Texas, USA, 8–10 April 2013, and
revised for publication. Original manuscript received for review 19 February 2013. Revised A description of the 1D reactive transport model that connects an
manuscript received for review 29 July 2013. Paper peer approved 30 July 2013. injector and a producer can be found in Fig. 1. The flow between
200
Q1 K1, H1
Ba Mixing
150
Ba, ppm
–14
Ba k = 1 × 10
Q2 K2, H2 –14
Ba k = 5 × 10
100 –13
Ba k = 1 × 10
Q3 K3, H3 50 Ba Equilibrium
0
Q4 K4, H4 0 20 40 60 80 100
Seawater Percentage
Fig. 1—1D reactive transport model connecting an injector and Fig. 2—Ba-concentration return profile vs. seawater fraction.
a producer through a number of noncommunicating layers.
tory matching considers primary fluid rates and bottomhole pres-
the wells is through a number of noncommunicating layers char- sure, which, depending on the scenario, can make it a challenge to
acterized by permeability, porosity, and height (completion inter- find a well-matched model. Including geochemical reactions in an
val) (Vazquez et al. 2009). The layer flow rate (QL) is calculated already complex exercise in which one of the most-limiting fac-
by use of Eq. 1 (Vazquez et al. 2012), where N is the number of tors is computational time creates an almost unfeasible computa-
layers, K is the layer permeability, and H is the layer height. This tional problem. However, rather than immediately attempting to
expression calculates the partitioning of flow in a layered system find a match using a 3D reservoir model, running this type of cal-
with no communication, where each layer is at the same differen- culation in one dimension as an intermediate step might provide
tial pressure. valuable information in identifying which reactions occur, and
how they might be described.
K L HL One of the advantages of using a 3D reservoir model is the
QL ¼ QT PN : . . . . . . . . . . . . . . . . . . . . . . ð1Þ
i¼1 Ki Hi
possibility to predict where scaling might occur; this aspect has
been studied in another publication (Vazquez et al. 2013a). Sea-
The model considers the injection of seawater, the consequent water breakthrough was included in a conventional reservoir his-
mixing with reservoir-formation brine, and the subsequent disso- tory matching as an extra constraint, which was determined by the
lution/precipitation of sulfate and carbonate minerals and multi- produced-water chemistry. This technique predicts spatially and
component competitive ion exchange. Although other reactions temporally the mixing front of the seawater and formation water.
might occur, such as dissolution of feldspar or clay mineral pre- This approach did not include any geochemical reactions; the aim
cipitation, their effect on the produced-water composition is likely for the future will be to combine this type of study with the 1D
to be minimal (McCartney et al. 2012). The model uses the results to study two aspects: the predominant geochemical reac-
PHREEQC thermodynamic database to simulate a number of tions and water (injected and formation) flow paths.
reactions and processes (Parkhurst and Appelo 1999). The model
considers each layer individually, and then the total produced-
Sulfate-Mineral-Precipitation Envelopes
water composition is calculated on the basis of the layer pro-
duced-water composition and flow rate by use of Eq. 2. The fol- The model described in the preceding sections was used to iden-
lowing mineral salts are allowed to precipitate/dissolve: barite, tify the precipitation envelope of sulfate minerals. The precipita-
anhydrite, celestite, calcite, and dolomite. The following ions may tion envelope is the area between two curves (see Fig. 2): the top
be involved in ion-exchange processes: sodium (Na), potassium curve describing the final composition after simple mixing of
(K), Ba, Sr, Ca, and Mg. formation and injected seawater, and the bottom curve, represent-
ing the composition of produced water in equilibrium with the
P
Ql CIon sulfate mineral of interest. The model was also used to investigate
CIon
T ¼ lP l
: . . . . . . . . . . . . . . . . . . . . . . . . . ð2Þ the effect of precipitation kinetics on the produced-water
l QL
composition.
Fig. 2 shows an example of the results of barium sulfate
(BaSO4) precipitated in a single layer. The injected-seawater and
1D vs. 3D Reservoir Model formation-water compositions are described in Table 1. It can be
When attempting to find a match using a 1D model, describing seen that when BaSO4 precipitation is instant, the produced-water
the communication between an injector and a producer proves, as Ba concentration drops sharply and follows the “equilibrium line”
shown later, not to be a trivial problem. A 1D model is useful to as seawater breakthrough occurs and the seawater percentage
study specifically the interaction of a single producer with corre- increases. However, when the rate of precipitation is reduced, the
sponding communicating injectors, which may give a good esti- Ba-concentration profile approaches the mixing line, more so at
mate of the dominant reactions occurring in the reservoir. The the slowest precipitation rates (Mackay 2003). This demonstrates
main advantage of this approach is that it is much faster to run that trends in produced-water Ba concentrations might be used to
than a 3D reservoir model. understand the kinetics of scale deposition in a reservoir or well
Interpolating the same kind of calculations to reservoir scale is (i.e., instantaneous vs. slow). This cannot be used to infer accu-
a greater challenge computationally. Conventional reservoir his- rately the kinetics of reaction in a reservoir, because that depends
on many factors, such as residence time, reservoir temperature,
and pressure. It also demonstrates the way in which the model
TABLE 1—FIELD CASE 1 COMPOSITION OF SEAWATER AND
may be used to help explain the causes of trends in produced-
FORMATION WATER
water Ba concentrations.
Seawater Formation Water Flow Paths Between the Injector and the
Producer
SO4 2,960 0
Generally, reservoirs are not a single uniform formation with ho-
Ba 0 220
mogeneous physical properties, but, instead, they consist of the
200
Mixing Line
Ba, ppm
IW FW 150 10:90
20:80
100 40:60
IW FW
30:70
50 50:50
Seawater Percentage
interbedding of several layers with different physical properties,
such as porosity and permeability. Therefore, communication Fig. 4—Ba-concentration return profile vs. seawater fraction
between injectors and producers is likely to take place along a with different flow-rate distributions (two layers).
number of flow paths (i.e., geological layers), and seawater break-
through may occur at different times because injected seawater
may flow faster in some layers than in others. Consequently, the C1 ðtÞ Q1 þ C2 ðtÞ Q2
CBa ðtÞ ¼ : . . . . . . . . . . . . . . . . ð3Þ
produced-water composition is determined by the mixing of dif- Q1 þ Q2
ferent waters being produced from each layer.
A description of the study case is illustrated in Fig. 3, which Fig. 5 shows the Ba-concentration profiles vs. time. For exam-
consists of two layers, each with the same porosity and height. ple, in the 20/80% case, the first Ba drop occurs at approximately
The total production rate was set to 1,000 B/D, and the injected- 0.12 years, at which time seawater breaks through in Layer 1 (the
seawater and formation-water composition are described in Table most permeable layer). The second Ba drop takes four times as
1. For the sake of simplicity, only barite is allowed to precipitate, long, occurring after 0.5 years. This can be explained by the fact
with instantaneous kinetics. that the flow rate in Layer 2 is four times slower than it is in Layer
A number of models with different layer flow-rate partitioning 1, and, because the pore space in both layers is the same, seawater
were considered, in particular 10:90 (10% of total flow rate to top will travel four times slower. This demonstrates that trends in pro-
layer and remaining 90% to bottom layer), 20:80, 30:70, 40:60, duced-water Ba concentrations can be diagnostic of the physical
and 50:50, and were determined by the layer permeability ratio. conditions in the flow paths connecting the injection and produc-
The results showed that the produced-water Ba-concentration pro- tion wells. Again, it also demonstrates how the model may be
file depends significantly on the flow partitioning (see Fig. 4) used to help explain the causes of trends in produced-water Ba
(apart from the 50:50 case, which is essentially a single homoge- concentrations.
neous layer, resulting in a profile similar to that shown in Fig. 2).
It is clear that just after seawater breakthrough occurs in Layer 1,
Optimization Algorithm
the Ba concentration drops. Then, for some time, the Ba profile
remains at the same level, as the concentration of Ba is supported Produced-water-chemistry history matching is an inverse prob-
by formation water produced from Layer 2 (the layer being pro- lem, aiming to find a model (i.e., a combination of parameters
duced at a lower rate), in which seawater breakthrough has not yet describing a number of geochemical reactions, such as the differ-
occurred. During this period, the seawater percentage gradually ence between the simulated and observed results being mini-
increases in Layer 1, giving the plateau in Fig. 4. The greater the mized; Tavassoli et al. 2004). This may be attempted by varying
difference between layer flow rates, the longer, in terms of the parameters by hand until a match is obtained; however, this
increase in seawater percentage, the characteristic “plateau” lasts. might be extremely time consuming and onerous. This exercise
Then, at some point, each profile experiences another sharp drop can be automated using an optimization algorithm, which will try
as a result of the seawater breakthrough occurring in Layer 2. to find the combination of parameters that results in a good
From this point onward, the Ba concentration approaches zero match—the match is described mathematically by the misfit func-
because in both layers, seawater has fully mixed with the forma- tion. Then, the problem becomes a minimization of the misfit
tion water and all available Ba has precipitated as BaSO4. The function.
Ba-concentration profiles can be explained with Eq. 3, where the Among all the different types of optimization algorithms, sto-
total concentration of Ba results from the mixing of the effluent chastic algorithms are more well-suited to this type of real-life
from each layer at a fixed time, C1(t) and C2(t), respectively, and complex problem, in which the functional relationship between
Q1 and Q2 are the layer flow rates. the input variables and the misfit function is not clear, than deter-
ministic search approaches (Vazquez et al. 2013b). There is a
great variety of stochastic methods divided between local-search
and population-based methods. The hill-climber algorithm has
250
been used previously for the automatic isotherm matching with
very good results (Vazquez et al. 2013b). However, population-
200 search algorithms have been widely used in reservoir history
10:90
matching because of their flexibility in accommodating difficult
150 real-life problems. For the problem stated in this paper, a popula-
Ba, ppm
20:80
40:60
tion-based search is more appropriate because of the complexity
100 of the problem and the high number of parameters defining the
30:70
problem, rather than a local search. Other population-based search
50 50:50
algorithms would have been appropriate, such as the genetic algo-
rithm (Goldberg 1989) or differential evolution, (Storn and Price
0 1995), which would have shown similar results, but PSO has al-
0 0.2 0.4 0.6 0.8 1 1.2 1.4 ready shown its applicability to the problem. It is not the purpose
Years of this paper to compare the difference in performance of different
algorithms.
Fig. 5—Ba-concentration return profile vs. time (years) with dif- The PSO algorithm was first proposed by Kennedy and Eber-
ferent flow-rate distributions (two layers). hart (1995). It is a stochastic algorithm inspired by the flight of
SO4, ppm
150 1,200 Seawater Formation Water
Ba, ppm
Ba Simulated
1,000
SO4 Observed
100 800 pH 8 6
600 SO4 Simulated
Na 10,890 55,000
50 400
K 388 530
200
0 0
Ca 428 22,000
0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 Mg 1,368 1,700
Seawater Percentage Ba 0 1,200
Sr 8 1,600
Fig. 6—Field Case 1 observed vs. simulated Ba- and SO4-con- SO4 2,650 0
centration return profile vs. seawater fraction. Cl 19,700 125,000
Alkalinity 135 228
flocks of birds, which is very applicable to complex real-case
problems (Mohamed et al. 2010a; Onwubolu and Babu 2004).
This algorithm has been used effectively to find well-history- compare simulated and observed profiles vs. seawater fraction,
matched reservoir models (Mohamed et al. 2010a; 2010b). PSO is because there is no need to track time and, therefore, no need to
a set of agents (particles) described by a simple law of motion, in make any assumptions about water-production rates. The seawater
which each particle’s motion is updated iteratively to maintain the fraction was calculated on the basis of Cl– concentration, because
balance between exploration and exploitation in search of local it is expected to display a linear behavior with respect to seawater
minima. The velocity of each particle is updated on the basis of percentage and is considered to be a conservative ion (Braden and
pbest (the best solution the particle has seen) and gbest (the best so- McLelland 1993). Information about the field cases was very lim-
lution across the entire population). The main computational steps ited. Because there were no well logs available, a single layer was
are described in the following steps, as previously described by assumed for both cases, and, because there was no evidence of a
Mohamed et al. (2010a): thief zone (i.e., a highly permeable layer producing only seawater
Step 1. Initialize the algorithm with a population of particles and the others formation water), for the sake of simplicity, a sin-
of N models, randomly generated from the parameter space, in gle layer may be the most reasonable assumption.
which each particle is assigned a random velocity.
Step 2. Evaluate the fitness for every particle. Field Case 1. Data for this case were limited; only the concentra-
Step 3. Find pbest and gbest. tions of Cl, Ba, and SO4 ions in the produced water were available.
Step 4. Update the velocity of each particle i using Eq. 4. The formation-water composition can be found in Table 1. Sea-
water percentage was calculated using Cl, as shown previously.
vkþ1
i ¼ w vki þ c1i r1 ðpbesti xki Þ The interwell distance between injector and producer was 2000 m.
; . . . . . . . . . . . . ð4Þ
þ c2i r2 ðgbestk xki Þ Only barite precipitation/dissolution and formation dispersivity
were considered. Dispersivity is a characteristic of the porous me-
where vki is the velocity of particle i at iteration k; xki is the posi-
dium and can be thought of as the degree of mixing. One layer was
tion of particle i at iteration k; w is the inertia parameter; r1 and r2
assumed, because the produced concentration profile did not seem
are the random numbers in range [0,1]; and c1i and c2i are the
to show any resemblance to the generic profiles shown in Fig. 4.
acceleration terms determined in each iteration as follows:
Results of the automatic produced-water history matching can be
found in Fig. 6. The algorithm suggested a dispersivity value of
xkþ1
i ¼ xki þ vkþ1
i : . . . . . . . . . . . . . . . . . . . . . . . . . . . ð5Þ
14.5 m, which could be interpreted as a low degree of mixing. This
is in reasonable agreement with reported dispersivity values from
Step 5. Repeat Steps 2 through 5 until the maximum number
field measurements (just under the reported range of between 20
of iterations is reached or another stopping criterion is met. The
and 100 m) (Arya et al. 1988; Mahadevan et al. 2003). The excel-
fitness of each particle is calculated using the conventional L1
lent fit displayed in Fig. 6 could, in part, be a result of the limited
norm Base 10; see Eq. 6.
number of constituents used in the history-matching process,
Ns X
X Ntj
which simplifies the problem.
M¼ logðOij Sij Þ; . . . . . . . . . . . . . . . . . . . ð6Þ
j¼1 i¼1 Field Case 2. For the second field case, a full produced-water
composition was available (see Table 2), making history matching
where Ns is the number of observed ions in the produced water, much more challenging. The well was known to be part of a car-
Ntj is the number of samples, O is the observed ion concentration, bonate reservoir formation, which suggests high reactivity, where a
and S is the equivalent simulated value, commonly known as the considerable amount of Ca and bicarbonate occur as a result of pH
misfit function, in which maximum fitness corresponds to the low- changes. As in Field Case 1, there is no indication of thief zones
est misfit value. Various parameters may be varied to yield a from the produced-water concentration profiles; therefore, only
match, including saturation index (SI), dispersivity, layer perme- one layer was assumed for the history-match exercise. Because of
ability, and porosity. the suspected high reactivity and formation composition and on the
basis of an evaluation of the produced-water analyses, the follow-
ing dissolution/precipitation reactions were considered likely to be
Field Cases occurring in the reservoir: BaSO4, CaSO4 (as anhydrite), SrSO4,
The PSO algorithm described in the preceding section was applied CaCO3, and MgCa(CO3)2.
to two different field cases. In both cases, produced-water compo- At the reservoir temperature (approximately 110 C) and con-
sitions were provided. Generally, produced-water composition is ditions, the solubility of gypsum is higher than that of anhydrite
recorded vs. production time. Although time could be tracked in as a function of seawater percentage, in which gypsum would
the model, there is not a clear method to synchronize both actual hardly precipitate (see Fig. 7). Also, ion exchange was assumed
and simulated times. Because the simulation time depends on the where Na, K, Ba, Ca, Sr, and Mg may be involved, assuming
production flow rate and the model is a simplification of the reser- the presence of clay minerals, which will act as the exchanger sur-
voir model, the authors consider that it is more appropriate to face (Appelo 1994). The calculations were performed at 110 C,
0.0
SI = log(IAP/K)
2,500 25
Ba_SO4_Mg_Sr, ppm
–0.5 2,000 20
Ca, 10 ppm
1,500 15
3
–1.0
1,000 10
–1.5
500 5
–2.0
0.0 0.2 0.4 0.6 0.8 1.0 0 0
0.0 0.2 0.4 0.6 0.8 1.0
% Seawater
% Seawater
Fig. 7—Field Case 2 anhydrite and gypsum SI vs. seawater frac-
tion. (IAP 5 ionic-activity product.) Fig. 8—Field Case 2 observed vs. simulated Mg- and Sr-concen-
tration return profile vs. seawater fraction; SI for barite, anhy-
drite, and celestite is zero.
and the dispersivity was set to 50 m; the latter was a reasonable
value for the reservoir (medium degree of mixing), and trial cal- ces for barite, anhydrite, and celestite of 0.7, 0.2, and 0.4, respec-
culations showed that varying this parameter did not result in an tively. The changes in solubility of these three minerals are
improved fit between the observed and simulated produced-water necessary to account for the extra SO4 available. This is equiva-
compositions. lent to increasing the slight solubility of these minerals. The need
Initial calculations using the PSO algorithm provided a reason- to increase the solubility of these minerals might reflect the dis-
able match to the variations in produced-water composition vs. crepancy in pressures between the model and the actual reservoir.
seawater percentage (see Fig. 8), suggesting that the following The model was run at 1 atmosphere, but the reservoir pressure
sulfate-precipitation reactions might be involved: BaSO4, CaSO4, would be several hundred bar and the solubility of sulfate-bearing
and SrSO4. Mg is also clearly involved in some geochemical minerals increases with increasing pressure. Although the thermo-
processes. The results suggested that dolomite precipitation would dynamic database includes only the temperature effect, not the
not explain the Mg-concentration profile, and that Mg was more pressure, the results are in agreement with the solubility changes
likely to be controlled by ion-exchange processes (see Fig. 9), as a function of pressure (Blount and Dickson 1973; Fan et al.
because the simulated Mg is much higher than the observed. 2012; Yuan and Todd 1991), where the solubility increases with
These initial calculations did not provide a good match for pressure.
SO4 concentrations at high seawater percentages, and it is sus-
pected that this was because the sulfate-bearing minerals had
higher solubility than that used in the initial calculations. Thus, Conclusions
the calculations were repeated using the same reactions but A 1D, multilayer, reactive transport model connecting one injec-
adjusting the SI [SI¼log(IAP/K)] at which these minerals precipi- tor and one producer has been developed to explore the factors
tated in the reservoir. This resulted in an improved match between controlling produced-water compositions and to demonstrate the
the simulated and observed produced-water compositions (Fig. type of subsurface information that can be obtained from this data
10). This match required precipitation to occur at saturation indi- set.
3,000 30 3,000 30
2,500 25 2,500 25
Ba_SO4_Mg_Sr, ppm
Ba_SO4_Mg_Sr, ppm
2,000 20 2,000 20
Ca, 10 ppm
Ca, 10 ppm
1,500 15 1,500 15
3
3
1,000 10 1,000 10
500 5 500 5
0 0 0 0
0.0 0.2 0.4 0.6 0.8 1.0 0.0 0.2 0.4 0.6 0.8 1.0
% Seawater % Seawater
Fig. 9—Field Case 2 observed vs. simulated Mg- and Sr-concen- Fig. 10—Field Case 2 observed vs. simulated Ca-concentration
tration return profile vs. seawater fraction; no cation exchange, return profile vs. seawater fraction; SI for barite, anhydrate, and
SI for barite, anhydrite, celestite, and dolomite is zero. celestite is 0.7, 0.2, and 0.4, respectively.