You are on page 1of 11

SPE 8991

SPE
Society of PetroIe\m EngIneers of "'ME

PREDICTION OF CaC03 SCALE UNDER DOWNHOLE CONDITIONS

by O.J. Vetter and.V. Kandarpa.


Vetter Research

©Copyright 1980, American institute of Mining, Metallurgical, and Petroleum Engineers, Inc. .
This paper was presented at the SPE Fifth International Symposium on Oilfield and Geothermal Chemistry, held in Stanford, California, May 28-30, 1980. The material is subject to
correction by the author. Permission to copy is restricted to an abstract of not more than 300 words. Write: 6200 N. Central Expwy., Dallas, Texas 75206.

ABSTRACT INTRODUCTION

CaC0 3 is one of the most common scales in oilfield Calcium carbonate scale (CaC03) is one of the most
and geothermal operations. Various thermodynamic common and most annoying scales in oilfield and geo-
models have been reported in the literature to predict thermal operations. As opposed to most other types
the precipitation of CaC03. Each of these existing of common scales (e.g., BaS04, SrS04. CaS04), CaC03
models has its limitation when applied to the real scale formation requires not only the consideration of
situations of the field operations. Some models (e.g., pressures, temperatures and water compositions, but
Stiff-Davis method) ignore many conditions leading to also the consideration of the ehemica1 reactions within
CaC03 precipitation. the brine.

In the present paper, we describe a model to pre- As shown in a number of publications,1-3 pressure
dict the CaC03 scale formation at any location within and temperature have an effect on the solubility of
the fie"ld as a function of water composition, tempera- sparingly soluble salts leading to the formation of
ture and pressure. This model is based on equilibrium scale. In the case of sulfate scales, a simple change
thermodynamics, but uses only the experimentally of pressure and/or temperature in a given brine may
measured parameters. The input data for the ,model are lead to the precipitation of sulfates which, in turn,
(1) one water analysis, (2) one pH measurement at any can lead to the formation of scale at any given 10ca-
location in the field, (3) the temperature at which tion within field operations. Thus, the normal pres-
the only field pH measurement is made, (4) the C02 con- sure drop encountered across the sandface in a flowing
centration of the gases (if a gas phase exists up- well (see Figure 1) can lead to the formation of scale
stream or at the point where the liquid sample is and, w.ith that, to a critical decrease of the well
taken and the pH is measured), and (5) the amount of productivity.
flash (if a gas phase exists upstream or at the point
of sample collection). The model then takes these Within 1imitations,2-5 we can calculate the
measured data and calculates the equilibrium brine amount of sulfate scale formed by pressure and temper-
composition (including pH) in the reservoir. ature changes based on fairly simple thermodynamic
correlations. A similar situation is encountered in
The calculated brine composition data can then the case of CaC03 as long as no carbon dioxide (C02)
be used either to predict the CaC03 preCipitation escapes from the liquid phase. However, if a two or
for any set of prescribed conditions or to predict more phase flow is encountered and if the C02 distri-
the CaC03 precipitation at various locations within bution between the phases changes with the flow condi-
an oilfield or geothermal operation. For a set of tions (mainly pressure and temperature), a new and more
temperature and pressure, the model goes through a complex situation is created. The C02 may travel from
decision to determine whether a single phase or two the brine phase into the gas or oil phase, thus start-
phase condition exists for the brine. ing a depletion of the C02 in the brine. This C02
depletion leads to critical chemical changes within
For the case of the existence of the single phase the brine which, in turn, can lead to accelerated
brine, the model calculates the amount of CaC03 pre- CaC03 precipitations. It is not unusual that these
cipitate taking into account the pertinent chemical CaC03 precipitations critically impair the brine flow
reactions involving the various carbonate species. inside a well or a surface facility within hours or
days. For example, geothermal wells in the Westmorland
For the case of the existence of two phase brine, area can cease to flow within a matter of three or
the model first computes the C02 emission and its four days. The sl.tuation shown in Figure 2 was en-
effect on the pertinent reactions involving the various countered in the brine flow lines in an East Mesa
carbonate species and, hence, calculates the amount of 10cation. 7 ,S The CaC03 scale shown in Figure 2 was
CaC03 precipitate. formed in a 10 inch flow line after a production of
approximately 200,000 barrels of brine within approxi-
References and illustrations at end of paper. jmately 100 hours.,
155
...
PREDICTION OF CaC03 SCALE UNDER DOWNHOLE CONDITIONS
.---.--.---------------------------- --------------.--------
As indicated in Figure 2, the accelerated forma-
SPE 8991
------------------------------------------------------~

the correct calculation of the C02 partial pressure,


tion of CaC03 caused by an escape of C02 from the the related C03- concentration and the pH at the
aqueous phase (brine) can endanger an entire geother- correct pressure and temperature. The next and
mal project or can severely affect the economics of equally important step is the proper calculation of
any oil or gas field operation. Therefore, the pro- the CaC03 solubility product based upon the entire
per recognition of the CaC03 problem may turn out to composition of the aqueous liquid as a function of
be critical for any operation where aqueous fluids total pressure and temperature. If the calculated
are produced from subterranean reservoir, transported ionic product exceeds the calculated or measured
through transmission systems or flown into process solubility product of CaC03 in solution, a precipita-
equipment. Of particular interest is an understand- tion of CaC03 can be expected.
ing of the thermodynamic conditions and chemical
reactions leading to the formation of CaC03 scale. The major difficulty in this mathematical treat-
ment is the dual effect of pressure on the solubility
When the aqueous system containing the various of CaC03' Any change of pressure at any given
C02 species (dissolved C02, C032- and HC03-) is temperature can lead to a drastically changed
subjected to changes in temperature and/or pressures, value of the CaC03 solubility product because of:
the system may become supersaturated with dissolved
C02' Under these conditions, C02 is released from 1) A change of the CO 2 partial pressure and with
solution. The C02 emission is normally accompanied that, a change of the C03-- concentration and
by an increase in pH. The increase in pH causes a pH value. The resulting change of the CaC03
change in the distribution of various C02 species. solubility product can be very large.
This pH increase causes an increase in the C032-
concentration and, as a consequence, increases the 2) A change of the Gibbs Free Energy as a
ionic product of the CaC03 to such an extent that function of total pressure at constant temper-
CaC03 may precipitate. Thus, any prediction of CaC03 ature and brine composition ("fixed" distri-
precipitation should take into consideration the bution of C02 species). The resulting change
various reactions accompanying the pressure and temper- of the CaC03 solubility product is similar to
ature changes. Any modeling of the CaC03 precipita- that encountered in sulfate scale forma-
tion should aim at answering the following questions: tions l - 3 ,6 and is normally much smaller
than the solubility change described above.
1) What is the distribution of various C02
species downhole or at any other location Therefore, proper thermodynamic treatment of the
before pressure and temperature changes CaC03 precipitation under actual flow conditions found
occur? in the field must include:

2) What is the pH of the brine under such con- 1) Pressures (total and C02 partial)
ditions?
2) Temperature
3) What will happen to the pH or the distribu-
tion of the C02 derived species if only 3) Precise water composition (measured and/or
temperature and pressure changes occur with- calculated) including the concentrations of
out any C02 emission? all C02 species and pH value.

4) How is the pH changed as C02 is evolved? PREVIOUS CaC03 PRECIPITATION PREDICTION METHODS

5) When does CaC03 precipitate under the various One of the first CaC03 precipitation prediction
and constantly changing conditions? methods was based on the Langelier Saturation
Index 9 which was developed to characterize or deter-
In the present paper, we have dealt with answer- mine the CaC03 content of surface soils. This index
ing some of these questions in obtaining information calculation may yield useful data on the CaC03 con-
about CaC03 scale prediction. tent of soil under atmospheric pressure and tempera-
ture conditions but is totally inadequate for the
THERMODYNAMIC FACTORS LEADING TO CaC03 PRECIPITATIONS prediction of CaC03 precipitations under elevated
pressures and temperatures in fluids produced from
The temperature, total pressure, C02 partial pres subterranean reservoirs.
sure and water composition (including pH) determine
the type and concentration of C02 species (C02, HC03- Quite a few attempts were made to overcome the
and C03--) in the aqueous solution under any given set obvious shortcomings of the Langelier Saturation
of conditions. A change of any of these conditions Index and to adapt it for use in aqueous systems. 10- 13
may lead to a change of distribution of the C02 specie~ The Stiff-Davis Saturation Index13 was most frequently
in this aqueous solution. If either the C03-- concen- used in oilfield operations mainly because of (a) a
tration or the pH (these two parameters are interre1at lack of a better method and (b) its ease and conveni-
ed) increases due to removal of C02 from the solution ence of use. However, none of these indices (includ-
or due to an artificially caused increase of the pH at ing the Stiff-Davis Index) yields information of
a constant Ca++ concentration, the solubility product appreciable value for oil field and geothermal opera-
of CaC03 can be reached and the precipitation of CaC03 tions because of their total ignorance of the more
can start. Thus, a simple removal of C02 from the critical thermodynamic parameters leading to the CaC03
aqueous solution can start the precipitation of CaC03. precipitation such as total pressure and C02 partial
Therefore, the first step of any prediction of CaC03 pressure.
must include the proper mathematical treatment of
the distribution and concentrations of C02 species E11isl4 used experimentally determined C02 and
as a function of the thermodynamic conditions within CaC03 solubility data and applied these data to calcu-
the aqueous solution. This treatment must include late the CaC03 precipitation in the bore of a geo-

156
SPE 8991 O. J. VETTER AND V. KANDARPA

thermal well. The method used by Ellis14 could be qui red information. Any chemical model to predict
made the basis for a computerized CaC03 scale predic- CaC03 precipitation from subterranean reservoir re-
tion method. Unfortunately, Ellis' approach has a quires the following input data: (1) The complete
number of shortcomings: chemical composition of the water including pH; (2)
the temperature and pressure of the subterranean
1) The upper limit of the NaCI concentrations reservoir; (3) the total dissolved carbon dioxide; and
in Ellis' data base is only 1 molar, where- (4) the temperature and pressure profile to which the
as many field brines have much higher NaCI brine is subjected.
concentrations.
AVAILABILITY OF INPUT DATA
2) The critical effects of ionic species other
than Na+ and Cl- are not considered. The required input information about the subter-
ranean reservoir is not possible to obtain. The water
3) Effects of total pressure on the C02 species samples of the reservoir are taken at the surface and
and CaC03 solubilities have been ignored. are kept under atmospheric pressure and ambient
temperature. That means the water composition of the
NEWER METHODS OF CaC03 SCALE PREDICTION samples is possibly altered from their downhole compo-
sition. The sampling problem is even more critical
There are a number of newer scale prediction in the case of geothermal operations, particularly
methods which are not specifically geared to CaC03 with respect to the prediction of calcium carbonate
scale prediction but somehow contain carbonate scale precipitation. If the C02 flashing has occurred some-
prediction as an integral part. These methods are where in the wellbore, chances are that CaC03 has
based on equilibrium thermodynamic modeling through precipitated near the flashing zone. As a result of
computer programming. It is not the intention of this this, the water analyses of the water samples collect-
paper to review the various existing scale prediction ed at the surface sampling pOint do not represent the
models. However, it may be mentioned here that the brine under downhole conditions.
various scale prediction models are based either on
the computation of equilibrium constants or on the use By carefully manipulating the field situation,
of the principle of minimization of Gibbs Free Energy one can obtain the following input data:
of an aqueous system.
1) The water analYSis of the brine sample
The initial efforts on the application of chemi- brought to the surface under known operating
cal equilibrium thermodynamics to scale prediction conditions.
resulted in a series of publications. 15- 18 The use
of these methods showed that severe discrepancies 2) The pH measurement of the brine at a location
exist between the calculated equilibria data and the at which the pressure and temperature are
observed equilibria data. 19 ,20 Some new efforts known.
were made by many researchers to correct for the
reported discrepancies. Also, attempts were made in 3) The C02 concentration of the gases, if a
reducing the computational time required in utilizing gas phase exists upstream or at the point
these methods. These various efforts resulted in a where the liquid sample is taken and the pH
monument of literature on computer chemical model- is measured.
ing. 20 - 23 Only a few of these are cited in the
references. In spite of the intense efforts of 4) The amount of flash if a gas phase exists
various investigators, the complex problem of predict- upstream or at the point of sample collec-
ing scale formation in general and CaC03 scale forma- tion.
tion in particular from concentrated brines is still
an open problem. 5) A reasonable estimate of the temperature and
pressure to which the brine is subjected
Most of the chemical models cited above and most under reservoir conditions.
of the ones which are not mentioned are based on
sound thermodynamic principles. A host of elegant 6) A reasonable estimate of the temperature
mathematical techniques are available in obtaining and pressure profiles to which the brines
solutions to the equilibrium problem. However, there are subjected.
is a complete lack of reliable data on the thermodyna-
mic parameters that are needed in executing these A CaC03 scale prediction model should utilize
models. only this available information to describe the CaC03
scale formation.
'There are two principal hurdles in utilizing
chemical computer models in predicting the scale forma- NATURE OF COMPUTER 'MODELS
tion when a subterranean reservoir brine is brought
to the surface. One of the hurdles arises from the The nature of the chemical computer models to
lack of required input data about the chemistry of predict scale formation has several limitations and
the subterranean brine; the second arises from the they may be listed as follows: 4- 5
nature of the model itself.
1) The models consider only the precipitation.
INPUT DATA REQUIREMENTS FOR MODELS In general, the scale formation arises due
to a combination of precipitation (thermo-
The successful utilization of models in calcula- dynamics and,kinetics), the flow mechanics of
ting the amount of any scale formed in a field situa- the fluid (hydrodynamics) and the nature of
tion requires a minimum amount of data about the brine the solid (adherence) on which scale may form.
in question. If the scale in question is CaC03'
there are more stringent requirements about the re-

157
PREDICTION OF CaCO~ SCALE UNDER DOWNHOLE CONDITIONS SPE 8991

2) Some of the chemical models are too complex. INPUT INFORMATION TO THE MODEL
Their usefulness is questionable from an
economic point of view. Some of these models The input data for the model are the field
are unavailable to field operators. measurements and they consist of the follOWing
information:
3) There are three kinds of models. In one
extreme, some models are completely theoreti- 1) The analysis of the brine.
cal and their usefulness is only of academic
interest. On the other extreme, some models 2) The pH measurement at any location and the
are purely empirical. The usefulness of the temperature at which the pH is measured.
completely ~pirical model is restricted to
the situation for which the model is develop- 3) The C02 concentration of the gases if a gas
ed. A model which uses a semiemperical phase exists upstream or at the point where
approach is valuable. Such models can be the liquid sample is taken and the pH is
made available to a field operator at a measured.
reasonable cost.
4) The amount of flash (if a gas phase exists
4) The solubility data of scale forming com- upstream or at the point of sample collection)
pounds in aqueous media containing various
ionic species are very limited. This situa- DATA BASE
tion is even more restricted for the case of
CaC03 solubility. The data base used in the model consists of the
following information:
NEED FOR TEST CASES
1) The solubility of CaC03 as a function of
There are some claims that some of the prediction temperature, partial pressure of C02 and the
models described above have been tested with actual molarity of sodium chloride. 14 ,24-27
precipitation cases. We do not believe these claims
for a number of reasons. In order to test a model, 2) The solubility of C02 in aqueous medium as
sophisticated laboratory and field experiments have a function of temperature and NaCl molar-
to be conducted. Only if the field and laboratory ity.28-3l
experiments are conducted under rigorously defined
conditions and only if the laboratory results have 3) The thermodynamic equilibrium constants of
been compared with the data obtained from complex the reactions involving the various ionic
field experiments, a definite proof of the reliability species of carbon dioxide. 32 - 35
of any prediction model can be obtained. A thorough
literature search and countless discussions with 4) The thermodynamic parameters needed to
numerous researchers involved in this type of work calculate the pressure effects on the
indicated (a) that these field and lab experiments equilibrium of the various reactions. 26 ,3l,36
have not been performed and (b) that a comparison be-
tween predicted and measured data has not been made. 1) SOLUBILITY OF CaC03

A WORKABLE APPROACH FOR CaC03 SCALE PREDICTION The solubility of CaC03 in an aqueous medium is a
function not only of temperature, pressure and ionic
The value of a workable method for the predic- activity of various dissolved species, but, more im-
tion of CaC03 precipitation is undisputable. This portantly, of the distribution of the different C02
does not mean that the prediction method has to yield species. The complex nature of the CaC03 solubility is
perfect data. A reasonable approximation of the cal- illustrated in Figure 3. The figure shows the sur-
culated values could be sufficient if the reliability face of CaC03 solubility as a function of temperature
and limitations of the prediction method are known and PC02 in pure water. A similar plot is needed for
after some test cases. A first attempt to accomplish various ionic species of different concentrations.
this goal was made by the authors. Quite a few publications 14 ,24-27 report the CaC03
solubility. However, they cover only a very narrow
DESCRIPTION OF THE PRESENT MODEL range of thermodynamic conditions. This published
information is combined and plotted as is shown in
The present model predicts the CaC03 scale forma- Figures 4-8. Based on this information, the following
tion at any location within the field as a function of conclusions may be made regarding CaC03 solubility:
temperature and pressure. There are essentially two
steps in the operation of the model. a) The solubility of CaC03 decreases rapidly
with increase in temperature.
STEP 1: In this step, the input information to
the model is used in the calculation of the brine b) At a constant temperature and NaCl molarity,
composition at the reservoir temperature and pressure. the solubility of CaC03 increases with in-
crease in C02 pressure. A definite relation
STEP 2: In this step, the information generated between the CaC03 solubility and C02 partial
in Step 1 is used to calculate the CaC03 precipitation pressure is given by equation (1):
as the brine is brought from the reservoir condition
to the ambient condition through predetermined (1)
temperature and pressure profiles.

As an aid in the operation of the model, a data where SCaC03 is the solubility of CaC03,
base consisting of the thermodynamic information on Y is a constant,
the NaCl-H20-C02-CaC03 system is used. PC 0 2 is the partial pressure of C02.

158
SPE 8991 0. J. VETTER AND V. KANDARPA

Equation (1) is used to estimate the CaC0 3 Two steps are involved in the computation of the
solubility at various C02 partial pressures. downhole brine composition, namely (1) the calculation
of the single-phase brine (upstream fluids represented
c) The solubility of CaC03 increases with in- by F in Figure 9) and (2) the calculation of the brine
crease in NaCl molarity of the aqueous composition under reservoir conditions using the data
medium. calculated in the step mentioned above.
2) SOLUBILITY OF C02 IN AQUEOUS MEDIUM Both these computations use the H20-C02 flash
model as described by Vetter and Kandarpa. 8
The solubility of C02 is determined using Henry's
Law. The dependency of the constant (H) in Henry's Calculation of the Single-Phase Brine
Law on temperature, pressure and equivalent sodium
chloride molarity has been taken into account through The calculation of the composition of the single-
the use of thermodynamics and the solubility data of phase brine (F) requires the composition of the sing1e-
C02 reported in the literature. 32 - 35 Also. the non- phase reservoir brine (L), the concentration of C02 in
ideal behavior of the gaseous phase has been accounted the vapor phase (V), and either the flash fraction
for through the use of the modified Benedict, Webb and or the flow rates of the liquid vapor phases after
Rubin equation of state. their separation (see Figure 9). The model combines
the liquid and vapor phases to form a Single-phase
3) THERMODYNAMIC EQUILIBRIUM CONSTANTS brine at the flash temperature through the application
of an appropriate external pressure. The composition
The equilibrium behavior of the CaC03-C02-H20 of the single-phase brine is computed by simple balance
syst~m is primarily determined by the various reactions considerations. That is, the mass of each ionic
taking place in the system. The principle reactions species in the single-phase brine is equal to the
to be considered are: sum of the masses of the same species in the liquid
phase and in the vapor phase. The appropriate pres-
CO2 (g) .. C02 (aq) (A) sure needed to make the single-phase brine is calcu-
lated through the use of the C02 flash model. 8
C02 (aq) + H20 a H+ + HC03- (B)
Calculation of the Brine Composition Under Reservoir
HC03- .. g+ + CO~- (C) Conditions

H20 .. H+ + OH- (D) The single-phase brine formed in the above step
is brought to the temperature and pressure correspond-
Here (g) refers to C02 in the gas phase and (aq) ing to the downhole conditions. Then the reSUlting
refers to CO2 dissolved in the aqueous phase. brine is equilibrated with calcium carbonate under
downhole condition. The equilibria of importance may
The constants H, Kl. K2 and Kw
define the equili- be summarized by the following reactions:
brium of the reactions A, B. C and D, respectively.
The data base uses the well known temperature depend- CaC03 (aq) = Ca 2+ + CO~­ (E)
ency of these constants. 32- 35
H2C0 3 = HC03- + g+ (B)
4) CONSTANTS TO ACCOUNT FOR PRESSURE EFFECTS
(C)
The total pressure on the CaC03-H20-C02 system
effects the equilibrium constants of all the reactions (D)
mentioned above. The change in equilibrium constants
with increasing pressure can be estimated provided the The constants Kc. K1, K2, and Kw define the
volume changes associated with the reactions are known. equilibrium of the reactions (E), (B), (C) and (D)
Reasonable values of the various volume terms are respectively. The model conSiders only the above
available from the literature. 26 ,31,36 reactions at the downhole conditions. There may be
other reactions in the complex system of the formation
CALCULATION OF THE BRINE COMPOSITION AT RESERVOIR rock-brine combination at the downhole conditions
TEMPERATURE AND PRESSURE which may drastically alter the pH of the system.
At the present time, there is not enough information
In this step the brine composition, including the about such complex reactions effecting the true pH
concentrations of the various ionic species, is calcu- value.
lated for reservoir conditions. The input data for this
calculation are provided through chemical analyses of The equilibrium constants of the reactions (B),
samples collected in the field. Figure 9 schematically (C), and (E) may be combined to obtain equation (2):
indicates how the measured and calculated data are
interrelated. Samples can be collected from the steam KlKc (H2 C0 3)
(2)
and single-phase flashed brine lines at any given set K2 (HC03 )2
of thermodynamic conditions (represented by L and V
in Figure 9). Knowing L, V and chemical compositions where (Ca 2+) = activity of calcium ions
of the single-phase effluents (steam and brine) allows (H 2 C0 3) = activity of dissolved C02
(a) to perform a material balance and (b) the calcu- (HC03-) = activity of HC03- ions
lation of the chemical composition of the upstream Kl ,K2,Kc = equilibrium constants of the
fluids assuming these upstream fluids are single phase. reactions (B), (C). and (E).
The fact that these fluids may not be single phase is
taken into account below.

159
PREDICTION OF CaC03 SCALE UNDER DOWNHOLE CONDITIONS SPE 8991

Using the data base described in the previous Tables 1, 2 and 3.


sections, the equilibrium constants at the reservoir
condition are computed and, hence, the concentration INPUT DATA
of Ca 2+ ions are calculated. Once the concentration of
Ca 2+ ions are known, the concentrations of CO~-, HC03-, Actual field data from the geothermal well in
H2C03 and, hence, the pH of the brine are calculated Westmorland are used as input data for the model. The
for reservoir conditions. The details are given in a procedure used in obtaining the field data is describ-
previously published report. 8 ed below. The total fluid produced from the well is
flashed into a separator. The separator conditions are
H20-C02 FLASH CALCULATION such that a water flash of 23.8% was obtained (temp.
218°F, press. 18 psi). Several samples from the
The H20-C02 flash calculation model uses the effluent brine and the steamline were collected. The
schematic representation shown in Figure 9. The model samples from the brine and steamlines were analyzed
essentially applies a heat balance, a mass balance and for their chemical constituents; especially for the
the thermodynamic equilibrium relations between the total C02. Table 1 shows the input data used for this
liquid phase and gas phase in the system. The result- particular well.
ing equations are solved to describe the C02 flash
behavior for any set of thermodynamic conditions. OUTPUT DATA

The model treats the gaseous phase as non-ideal The model uses the above input information and
With the modified Benedict, Webb and Rubin equation calculates the chemical composition of the reservoir
of state and computes the fugacity of C02 for any fluid under reservoir conditions. The calculated
temperature and pressure. The solubility of C02 is compositions of this reservoir fluid are shown in the
determined by use of Henry's Law constant. The Henry's heading of Table 1. The pH of the reservoir brine
Law constant dependency on temperature, pressure and is calculated to be 5.31 assuming the brine is at
equivalent sodium chloride molarity has been taken equilibrium with calcium carbonate, which is reason-
into account through the use of thermodynamics and able because of the CaC03 in the drill cuttings.
experimental data. Also, the effect of temperature
and pressure on the equilibrium constants of the vari- Another assumption is that the temperature stays
ous ionic species of carbon dioxide have been consid- constant until the water flash starts at 427 psi.
ered. The mathematical details of the model have been Down to this pressure (from the original reservoir
adequately described in a previously published pressure) the temperature may slightly decrease due to
literature. S heat losses through the wellbore. The small tempera-
ture decrease could be considered in the model, but is
CALCULATION OF CaC03 PRECIPITATION neglected in the described case.

The CaC03 precipitation due to pressure and The calculated CaC03 precipitation data illustrate
temperature changes is computed in this step. A small the dual effect of pressure as outlined before. Even
pressure decrement is numerically applied in the model though there is no C02 flashing above a total pressure
to the actual value of the downhole pressure. Then, of 1130 psi at 450°F (see Table 2), there is still a
the H20-C02 flash model determines whether a C02 flash CaC03 precipitation encountered as shown in Table 1.
occurs. If C02 flash occurs, the dissolved C02 con- This effect is due to the effect of pressure of Gibbs
centration in the brine is adjusted for the C02 re- Free Energy.
moved in this flash process. The concentrations of the
various ionic species and the pH of the brine are now As soon as the total pressure in the wellbore
calculated. From the concentrations of coj- and Ca 2+ drops below 1130 psi, C02 will start to flash. As
ions and from the solubility data, the amount of CaC03 shown in Table 3, the majority of the flashable C02
precipitation is computed. In this step all the equil- is removed from the brine down to approximately 550
ibrium reactions, namely, (A) to (C) are used. The psi and a pH of 6.0 (see Table 1). The CaC03 precipi-
solUbility constants for the CaC03 are also adjusted tation is still fairly small. The majority of the
for temperature and pressure as outlined in the section CaC03 precipitation will be observed as the total
on the data base. pressure approaches the water saturation pressure.
This confirms our field observations of CaC03 scale
If no C02 flash occurs, there can still be a deposition in a wellbore as illustrated in Figure 10.
redistribution of the C02 species in solution. In
addition, a change of the CaC03 solubility product as The bubble point calculations shown in Table 2
a function of this pressure change can still occur. using the same model also indicate some interesting
This means CaC03 can precipitate even though no C02 brine and gas behavior. If a single-phase brine of
flash is experienced. However, the amount of this a given chemical composition is produced from different
precipitation is quite small compared to that encount- locations having different temperatures, the gas flash
ered during C02 flash. behavior and the bubble point pressures will be
drastically different. For example, if the brine
The process of applying small pressure decrements comes from a reservoir having 500°F, the water will
is repeated until the water flash starts. As soon as flash before the C02. On the other hand, if this same
this water flash occurs, any further calculations brine is produced from a reservoir having a tempera-
take into account the concentrating effect of this ture of 450°F, the C02 will flash ahead of the water,
"Water "removal". i.e., the flash behavior is reversed. This proves
that the common assumption that the C02 must flash
ILLUSTRATION OF MODEL APPLICATION before a steam phase is formed must be considered a
misconception. The gas and steam flash behavior is
The usefulness of the model can be illustrated by dictated by the chemical composition of the single-
its application to a geothermal field in Westmorland. phase fluids, the reservoir and downhole pressures
The type of report generated by the model is shown in and temperatures.

160
SPE 8991 O. J. VETTER AND V. KANDARPA

CONCLUSIONS Deposition of Calcium Sulfate Scale Under Down-


Hole Conditions", Journal of Petroleum Technology,
1) It is possible to calculate the amount of pp. 1299-1308, October 1970.
CaC03 precipitation in aqueous fluids pro-
duced from subterranean reservoirs. 3) Vetter, O.J., "How Barium Sulfate Is Formed: An
Interpretation", Journal of Petroleum Technology,
2) Simple CaC03 saturation indices such as the pp. 1515-1524, December 1975.
Stiff-Davis Index are not suited for adequate
calculations of the CaC03 precipitation or 4) Vetter, O.J., "Oilfield Scale - Can We Handle
even for an approximate scale tendency. It?", Journal of Petroleum Technology, pp. 1402-
1408, December 1976.
3) Precise calculations of the CaC03 must in-
clude all thermodynamic factors leading to a 5) Vetter, O.J., "Scale Prediction In Geothermal
CaC03 precipitation. The minimum variables Operations - State-Of-The-Art", SPE Paper No.
required are: (a) total pressure, (b) C02 6593, prepared for the SPE-AlME International
partial pressure, (c) temperature, and (d) Symposium on Oilfield and Geothermal Chemistry,
brine composition including pH value and con- La Jolla, California, June 27-28, 1977.
centrations of the major C02 species.
6) Vetter, O.J., "The Prediction of Scale Problems
4) A workable model capable of calculating the Due to Injection of Incompatible Waters", SPE
C02 behavior and the CaC03 precipitation Paper No. 7794, prepared for the SPE Middle East
has been developed. This semi-empirical Oil Technical Conference, Manama, Bahrein,
model is based on analytical data measured March 25-29, 1979.
in field-collected samples and also on a
published data base of CaC03 solubilities. 7) Vetter, O.J., and Campbell, D.A., "Scale
Inhibition In Geothermal Operations - Experi-
5) This model allows us to calculate the effects ments With Dequest 2060 Phosphonate In
of pressure, temperature and water composi- Republic's East Mesa Field", Geothermal Reser-
tion on the distribution of the C02 species voir Engineering Management Program, Earth
and their effects on the CaC03 precipitation. Sciences DiVision, Lawrence Berkeley Laboratory,
In addition, the direct effects of these University of California, Berkeley, June 1979.
variables on the Gibbs Free Energy, and with
that, their effects on the CaC03 solubility 8) Vetter, O.J., Kandarpa, V., Campbell, D.A., and
as a pressure function at constant tempera- Walker, M.J., "Geothermal Fluid Investigations
ture, is also included in the model. At RGI'S East Hesa Test Site", prepared for
Battelle Pacific Northwest Laboratory, Richland,
6) In order to calculate the CaC03 precipitation Washington under the United States Department of
one must first compute the distribution of the Energy Contract EY-76-C-06-1830, Richland,
C02 species under the thermodynamic conditions Washington, April 1979.
of interest.
9) Langelier, W.F., "The Analytical Control of
7) If C02 flashing occurs, a large amount of Anti-Corrosion Water Treatment", Journal A.W.W.A.,
CaC03 precipitation per volume unit of brine ~8, pp. 1500, 1936.
can be encountered.
10) Larson, T.E., and Buswell, A.M., "Calcium
8) Even if no C02 flashing occurs, a farily small Carbonate Saturation Index and Alkalinity Inter-
CaC03 precipitation can be calculated because pretation", Journal A.W.W.A., 3±, p. 1667, 1942.
of the pressure related changes of the Gibbs
Free Energy in the system. 11) Dye, J.F., "The Calculation of alkalinities
And Free Carbon Dioxide in Water By Use of
9) Field and laboratory test cases for this Nomographs", Journal A.W.W.A., 36, 1944.
present and any other models are desperately
needed. 12) Ryznar, J. W., "A New Index for Determining
Amount of Calcium Carbonate Scale Formed by a
ACKNOWLEDGEMENT Water", Journal A.W.W.A., 1£, 1944.

Some of the work leading to this paper was 13) Stiff, H.A., and Davis, L. E., "A Method of Pre-
sponsored by the U.S. Department of Energy/Division dicting the Tendency of Oil Field Waters to
of Geothermal Energy. We would like to express our Deposit Calcium Carbonate", Pet. Trans., AIME,
thanks to the technical personnel of the Division of 195, p. 213, 1952.
Geothermal Energy for their constant support. We
would also like to thank Mr. D.A. Campbell (Republic 14) Ellis, A.J., "The Solubility of Calcite In
Geothermal, Inc.) and Mr. D. Slagle (Mapco Geothermal, Sodium Chloride Solutions at High Temperatures",
Inc.) for their constant help and constructive dis- American Journal of Science, Vol. 261, pp. 259-
cussions. 267, March 1963.

LITERATURE REFERENCES 15) Helgeson, H.C., and Kirkham, D.H., "Theoretical


Prediction of the Thermodynamic Behavior of
1) Cowan, J.C., and Weintritt, D.J., "Water-Formed Aqueous Electrolytes at High Pressures and
Scale Deposits", Gulf Publishing Company, Houston, Temperatures: I. Summary of the Thermodynamic/
Texas 1976. Electrostatic Properties of the Solvent", American
Journal of SCience, 274, pp. 1089-1198, 1974.
2) Vetter, O.J., and Phillips, R.C., "Prediction of

161
PREDICTION OF CaC03 SCALE UNDER DOWNHOLE CONDITIONS SPE 8991

25) Ellis, A.J., "The Solubility of Calcite in Carbon


16) Helgeson, H.C., and Kirkham, D.H., "Theoretical Dioxide Solutions", Amer. J. Sci., 257, pp. 354-
Prediction of the Thermodynamio Behavior of 365, 1959.
Aqueous Electrolytes at High Pressures and
Temperatures: II. Debye-Huckel Parameters 26) Segnit, E.R., Holland, H.D., and Biscardi, C.J.,
for Activity Coefficients and Relative Partial "The Solubility of Calcite in Aqueous Solutions -
Molar Properties of the Solute", American I: The Solubility of Calcite in Water Between
Journal of Science, 274, pp. 1199-1261, 1974. 75° and 200 0 at C02 pressures up to 60 atm",
Geochimica et cosmochimica Acta, 26, pp. 1301-
17) Kharaka, Y. K., and Barnes, I., "SOLMNEQ: 1331, 1962. --
Solution-Mineral Equilibrium Computations",
NTIS Rep. PB-215-899, 1973. 27) Halinin, S.D., "An Experimental Investigation of
the Solubility of Calcite and Witherite Under
18) Truesdell, A.H., and Jones, B.F., "WATEQ, A Hydrothermal Conditions", Geochemistry, 1,
Computer Program for Calculating Chemical pp. 650-667, 1963.
Equilibria of Natural Waters", J. Res. U.S.
Geol. Survey, pp. 233-248, 1974. 28) Malinin, S.D., "The System H20-C02 at High
Temperature and Pressures", Geochemistry, 3,
19) Margrave, J., "Thermodynamic Deficiencies, pp. 292-306, 1959. -
Discrepancies and Loop-Holes Related to Electro-
chemical Phenomena", Paper presented at the ERDA 29) Ellis, A.J., and Golding, R.M., "The Solubility
Sponsored Workshop on Thermodynamics and of Carbon Dioxide Above lOO°C in Water and in
Electrochemistry, Argonne National Laboratory, Sodium Chloride Solutions", Am. J. ScL, 261,
Argonne, Illinois, May 18-20, 1977. pp. 47-60. -

20) Hiller, D.G., Piwinskii, A.J., an9, Yamauchi, R., 30) Takenouchi, S., and Kennedy, G.C., "The Solu-
"The Use of Geochemical-Equilibrium Computer bility of Carbon Dioxide in NaCl Solutions at
Calculations to Estimate Precipitation from High Temperatures and Pressures", Am. J. Sci.
Geothermal Brines", Lawrence Livermore Lab. 263, pp. 445-454, 1965.
Rep. UCRL-52197, 1977.
31) Naumov, V.B., Khakimov, A.Kh., and Khodakovskiy,
21) Plummer, L.N., Jones, B.F., and Truesdell, A.H., 1.L., "Solubility of Carbon Dioxide in Concen-
"WATEQF - A FORTRAN IV Version of WATEQ, A trated Chloride Solution at High Temperatures
Computer Program for Calculating Chemical Equili- and Pressures", Geokhimiya, 1, pp. 45-55, 1974.
bria of Natural Waters", U.S. Geol. Survey, Water
Res. Invest. Rep. 76-13, 1975. 32) Ryzhenko, B.N., "Physicochemical Data on the
System Me2C03-MeHC03-C02-H20 and Their Applica-
22) Ball, J.W., Jenne, E.A., and Nordstrom, D.K., tion to the Hydrothermal Process", Geokhimiya, i,
"WAT Q2: A Computerized Chemical Model for pp. 443-459, 1963.
Trace and Hajor Element Specification and Mineral
Equilibria for Natural Waters", Nat. Meeting, 33) Horned, H.S., and Owen, B.B., The Physical
Environ. Sec. III. Am. Chern. Soc. 111, 1978. Chemistry of Electrolytic Solutions, Reinhold,
1958.
23) Shannon, D.W., I~odelling Geothermal Power
Systems", Proc. of Workshop on Scale Control in 34) Lewis, G.N., and Randall, M., Thermodynamics,
Geothermal Extraction Systems, Held at Los Alamos McGraw-Hill, 1961.
Scientific Laboratory, Oct. 6-7, 1977.
35) Truesdell, A.H., and Singers, W., "The Calcula-
24) Miller, J.P., "A Portion of the System Calcium tions of Aquifier Chemistry in Hot-Water Geo-
Carbonate -' Carbon Dioxide - Water, With Geologi- thermal Systems", J. Research U.S. Geological
cal Applications", Am. J. ScL 250, pp. 161-203, Survey, l, p. 271, 1974.
1952. -
36) Ellis, A.J., "The Effect of Pressure on the First
Dissociation Constant of Carbonic ACid", J.
Chem. Soc. (London), pp. 3689-3699. 1959.

162
TABLE 2
TABLE 1
CALCULATED C02 BUBBLE POINTS
CALCULATED pH VALUES AND CaC03 IN A WESTMORLAND GEOTHERMAL WELL
PRECIPITATION IN A WESTMORLAND GEOTHERMAL WELL
NACL MOLARITY BEFORE FLASHING, 0.40
C02 IN STEAMLINE AFTER THE SEPARATOR AT 218 F ,0.8299E+05PPM
FLASHABLE C02 IN SINGLE PHASE FORMATION BRINE,O. 1975E+05PPM
INPUT DATA:
TEMP(oF) PC02(PSI) PH20(PSI) PTOTAL(PSI)
WATER ANALYSIS (IN PPM):
200.00 649.49 11.78 661.27
210.00 678.76 14.42 693.19
NA= 7050.00
CL: 14180.00 220.00 705.83 17.54 723.37
CAo 280.00 230.00 730.55 21. 18 751.73
240.00 752.79 25.43 778.23
HC03, 550.00
C03, 0.00 250.00 772.50 30.36 802.86
260.00 789.62 36.03 825.65
OOWNHOLE TEMPERATURE (OEG F),450.0 270.00 604.13 42.54 646.67
280.00 816.04 49.97 866.01
OOWNHOLE PRESSURE (PSI) '3400.0
FLASH TEMPERATURE (OEG F) ,217.8 290.00 625.38 58.41 883.80
300.00 832.21 67.97 900.18
FLASH FRACTION ,0.238
C02 IN STEAMLINE (PPM) ,83000.0 310.00 836.51 78.73 915.32
320.00 838.5f 90.82 929.40
330.00 838.3, 104.34 942.67
340.00 835.91 119.41 955.32
OUTPUT DATA:
350.00 831. 46 136.15 967.62
360.00 825.10 154.69 979.80
CALCULATED RESERVOIR .CONDITIONS:
370.00 816.96 175.16 992.12
360.00 807.17 197.69 1004.86
390.00 795.67 222.43 1018.29
RESERVOIR TEMPERTURE (OEG F),450.03 400.00
RESERVOIR PRESSURE (PSI), 3400.0 783.19 249.51 1032.69
410.00 769.27 279.08 1048.36
H2C03(MOL ),0. 45E.GOHC03( MOL ),0. 24E-02 420.00
C03(MOL),0.42E-C9,CA(MOL),0.53E-02,PH , 5.31 754.25 311. 31 1065.56
430.00 738.26 346.34 1084.60
SAT. WAT PRESSURE (PSI),426. 95
440.00 721. 42 384.3" 1 lOS. 77
450.00 703.87 425.47 1129·34
460.00 685.71 469.91 1155.62
DECREASE OF PRESSURE AT CONSTANT TEMPERATURE 470.00
CAUSES THE FOLLOWING CONDITIONS: 667. 06 517.82 1184.88
480.00 648.05 569.39 1217.43
P (PSI) 490.00 628.74 624.79 1253.53
PH CAC03 PRECIPITATION 500.00 609.25 684.23 1293.48
(MG/KG OF BRINE)
3326.5 5.31 0.373E-07
3253.0 5.31 0.741E-07
3179.6 5.31 0.110E-06
3106.1 5.31 0.1"6E-06
3032.6 5.31 0.181E-06
2959.1 5.31 0.216E-06
2885.6 5.31 0.251 E-06
2812.2 5.31 0.285E-06
2738.7 5.31 0·318E-06
2665.2 5.31 0.351 E-06
2591. 7 5.31 0.383E-06
2518.2 5.31 0.415E-06
2444.8 5.31 0.447E-06
2371. 3 5·31 0.478E-06 TABLE 3
2297.8 5.31 0 .• 509E-D6
2224.3 5.31 0.539E-06
2150. B 5·31 O.569E-06
2077.4 5.31 o.598E-06 CALCULATED C02 EMISSION IN A WESTMORLAND GEOTHERMAL WELL
2003.9 5.31 D.627E-06
1930.4 5.31 0.656E-06
1 B56. 9 5.31 0.684E-06 FLASiiABLE C02 IN SINGLE PHASE FORMATION BRINE: 2. 00E+04 MGIKG OF BRINE
17B3.4 5.31 0.711E-06
1710. D 5.31 0.739E-06
1636.5 5.31 0.766E-06
1563.0 5.31 0.7920-06
1489.5 5.31 0.B1BE-06 P (PSI) PC02(PSI) AMOUNT Of C02 FLASHEO
1416.0 5.31 O. B44E-06 (MG/KG Of BRINE)
, 3't2.6 5.31 0.869E-06
1269.1 5.31 0.B94E-06
1195.6 5.31 0.919E-06 3326.5 NO GASEOUS EM!';SION POSSIBLE
, 122. 1 5.31 0.943E-06 3253.0 NO GASEOUS EMISSION POSSIBLE
1048.6 5.36 0.916E-05 3179.6 NO GASEOUS EMISSION POSSIBLE
975.2 5.42 0.192E-04 3106.1 NO GASEOUS EMISSION POSSIBLE
901. 7 5.49 0.323E-04 3032.6 NO GASEOUS EMISSION POSSIBLE
828.2 5.56 0.500E-04 2959.1 NO GASEOuS EMISSION POSSIBLE
754.7 5.65 0.755E-04 2885.6 NO GASEOUS EMISSION POSSIBLE
681. 2 5.77 0.115E-03 281?2 NO GASEOUS EMISSION POSSIBLE
607.8 5.92 0.187E-03 2738.7 NO GASEOUS EMISSION POSSIBLE
534.3 6.15 0.358E-03 2665.2 NO GASEOUS EMISSION POSSIBLE
460.8 6.65 0.126E-D2 2591.7 NO GASEOUS EMISSION POSSIBLE
455.6 6.73 0.151E-02 2518.2 NO GASEOUS EMISSION POSSIBLE
l152.6 6.77 0.169E-02 2444.8 NO GASEOUS EMISSION POSSIBLE
449.7 6.83 0.191E-02 2371.3 NO GASEOUS EMISSION POSSIBLE
446.8 6.89 O.220E-02 2297.8 NO GASEOUS EMISSION POSSIBLE
443.8 6.96 0.260E-02 2224.3 NO GASEOUS EMISSION POSSIBLE
440.9 7.04 0.316E-02 2150.8 NO GASEOUS EMISSION POSSIBLE
437.9 7. ,,, 0.402E-02 2077.4 NO GASEOUS EMISSION POSSIBLE
435.0 7.28 0.551 E-02 2003.9 NO GASEOUS EMISSION POSSIBLE
432.1 7.48 O. B70E-02 1930.4 NO GASEOUS EMISSION POSSIBLE
429.1 7.85 0.205E-Ol 1856.9 NO GASEOUS EMISSION POSSIBLE
427.1 9.11 0.381E+00 1783.4 NO GASEOUS EMISSION POSSIBLE
1710.0 NO GASEOUS EMISSION POSSIBLE
1636.5 NO GASEOUS EMISSION POSSIBLE
1563.0 NO GASEOUS EMISSION POSSIBLE
14B9.5 NO GASEOUS EMISSION POSSIBLE
1415.0 NO GASEOUS EMISSION POSSIBLE
1J1t2.6 NO GASEOUS EMISSION POSSIBLE
1269.1 NO GASEOUS EMISSION POSSIBLE
1195.6 NO GASEOUS EMISSION POSSIBLE
1122.1 NO GASEOUS EMISSION POSSIBLE
1048.6 621.7 O.2237E+O!.J
975.2 548.2 O.2167E+04
901. 7 474.7 O.2147E+04
828.2 401. 3 O.2127E+04
154.7 327.8 O.2108E+04
681. 2 254.3 0.2088£+04
607.8 180.8 0.2069E+04
534.3 107.3 O.20S0E+04
460.8 33.9 0.2031E+04
455.6 2B.6 0.1436E+03
452.6 25.7 O.8077E+02
449.7 22.7 0.8074E+02
446.8 19.8 0.8071£+02
443.8 16.9 0.8068E+02
440.9 13.9 O.8065E.02
437. 9 11.0 O.8062E+02
435.0 8.1 0.8059E.02
432.1 5.1 O.80S6E+02
429.1 2.2 0.8053E+02
427.1 0.1 0.5635£+02
\ STATIC
\ PRESSURE
PRESSURE IN fORMATION
SKIN OR
ZONE Of
DAMAGE

ACROSS SKIN

~-L- _ fLOWING PRESSURE

Fig. 1 - Pressure distribution in a reservoir with a skin.

Fig. 2 - CaC03 scale in the Brine Flow Lines in an East Mesa


CaC03 SOLUBILITY Geotherma 1 lie 11 .

3500

3000

,..
2500

2000
'01

:>.
t:
ca
==
3
~ ~IOO°C
... ~125°C
8 ,r'" 250°C
u'" ~200 ° C

10 20 30 40 50 60 70 80 90 100
~~~~i;;t:~
Pe02 (ATM).
CaC03 SOLUBILITY
(I!lke. SOLUTION)
Fig. 4 - Calcite solubil ity in system H20 - C~.
Fig. 3 - Calcite solubility in system: C~ - H20.
3500 3500

3000 3000

.
....
'-
2500
!
2500

....

2000 ~2000

>-
5
CII
§
0
...
11.1
~150·C ,..-200·C
u
~

20 30 40 50 60 10 80 90 100 10 30 40 50 60 10 80 90 100
PC02 [ATMJ" PC02 [ATM)"

Fig. 5 - Calcite solubility in system H20 CD2 0.5 mNaCl. Fig. 6 Calcite solubility in system H20 - C~ 1 mNaC!.

3500 3500

3000 300

2500

10 20 30 40 50 60 10 80 9 100 10 20 30 40 60 10 ao 100

PC02 [ATM)" P [ATMJ"


C02

Fig. 8 - Calcite solubility in system H20 - C~ - 3 mNaC!.


Fig. 7 - Calcite solubility in system H20 C~ 2 mNaCI.

.
Froduction

Pi • Partial Pressure Of jth Component Overburden


Xi Mole Fraction Of ith Component In liquid
Vi Mole Fraction Of ith Component In Vapor
~ Frac'don Of Flash
~

t=
F
1-~
Rate Of Feed
.
l
V
Rate Of liquid After The Flash
Rate Of Vapor After The Flash ProducinS! Zone .
Fig. 9 - Thermodynamic model for flash in ~O - C~ system.
Fig. 10 - CaC~ scale in wellbore.

You might also like