Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
SPE
SocIety ofPetroletm~of "IME
©Copyright 1980, American Institute of Mining, Metallurgical, and Petroleum Engineers, Inc.
This paper was presented althe 55th Annual Fall Technical Conference and Exhibition of the Society of Petroleum Engineers of AIME, held in Dallas, Texas, September 21-24,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.
lignite combinations. The calculations on chemical examined, and if either measures 15 or greater, it prints
equilibria are based on ionization constants and solubi- out the comment that one or the other (or both) is rather
lities derived from empirical data. After ionic composi- high. If the 10-min. gel strength is less than 4 with a mud
tion has been determined, comparisons of actual versus weight over 11 ppg it advises that one should check for
optimum concentrations for the particular fluid type are possible barite settling.
made. Material additions required to produce optimum
fluid chemistry for the particular fluid type are then The pH must be checked with a pH meter for any degree
recommended from these comparisons. of accuracy to be obtained in the chemical analyses. The
machine will not accept values less than 7 or more than
OPERATIONS 14. At a pH of less than 9, it notes that with certain mud
types this is too low for most thinners to be effective.
Program operation is initiated by dialing the given WATS
line and connecting the telephone receiver to the acoustiC:
Volumes for API and high-temp fluid losses are screened
coupler. Once communication is established with the
so that the program will not accept more than the
computer, a request for user identification is printed.
capacity of the cups used. If the high-temp is greater
When user validity is established, program selection may
than 4.5 times the API fluid loss, the computer warns that
be made.
the stability of the fluid is low.
INPUT
When reading percent solids and percent oil in the fluid,
The data input segment begins by asking for mud pro- the program converts whole number entries to decimals
perties, starting with mud weight. If a number greater for internal use. Later on it will ask whether these solids
than 7.0 and less than 23.0 is given, the computer accepts were measured or calculated. If there is any oil present
the number and goes on. If not, it asks if pounds-per- and more than 240 mg/l calcium, it warns that oil-
cubic-foot was used instead of pounds-per-gallon. If a wetting of barites is possible when using certain types of
mistake was made it repeats the original-question. lubricants in the fluid. The Cation Exchange Capacity
(CEC) in equivalent pounds-per-barrel of bentonite is an
Plastic viscosity input is compared to the results from optional imput which is not checked until the solids
curve fits on data representing "normal" field muds analysis routine.
(Figure 1). I If the plastic viscosity is outside this
"normal" range it advises the operator of this fact and If a letter is accidently entered at any point where a
notes it internally for later investigation. Yield point number is expected, or vice versa, the program will
values are not limited. In this manner the operator is free merely re-ask the question. Every effort has been made
to design the fluid's rheological properties as needed for to make the program "worm-proof" and the system itself
hole cleaning, stability or rate of penetration. "crash-proof."
At the start of the solids analysis subroutine the machine where LGVOL is low-gravity volume percent.
must first determine if it is to solve for low- and high-
gravity solids, or only lows. It makes a rough assumption If this turns out negative the program once again notes
that if mud weight corrected for chlorides is over 10 ppg, something is wrong.
then there is weight material in the mud. If the mud
weight corrected for chlorides is below 10 ppg, it will ask In all these instances where the computer has determined
if there is weight material in the mud. that some incorrect value had to have been input, the
program transfers to another subroutine after displaying
It then proceeds to determine the volume attributable to the appropriate message. This next subroutine uses
chlorides by first calculating the specific gravity of the material balance calculations to determine acceptable
water phase. This is found by using constants derived ranges for all variables in order to advise the operator
from a computer generated curve fit of chemical hand- which one(s) may be incorrect. For instance, in deter-
book tables 2,3, and the general equation: mining minimum and maximum weights it first assumes
sg = Kl + K2Chi + K Chl 2 + K4Chl 3 • • • • • (1) all the solids reported were low gravity, and then that all
3
were high gravity, while holding all the other variables
where ChI is the chloride concentration. The volume is
constant. The computer then allows a choice of terminat-
found using:
ing the run, inputting correct data, or proceeding on the
Vol = 1 - sg + 1.65138 X 10-6 X ChI • . • • • (2) chemical analysis knowing that it will be somewhat incor-
and then correcting for percent water. rect due to an incorrect number for water fraction.
Next the volume percent of low-gravity solids is found However, assuming all solids concentrations are in
using a material balance calculation. Specific gravity of acceptable ranges, display of all calculated solids con-
low-gravity solids is assumed to be 2.6 and that of weight centrations in pounds-per-barrel is carried out listing only
material 4.2. In a fluid with no weight material the low- those applicable. Provision is made for the listing of all
gravity volume percent plus the salt volume percent is logical combinations of low-gravity solids, bentonite,
compared to the percent solids which was input (they drilled solids, dissolved salt, and weight material concen-
should be equal), allowing a tolerance of .5 percent. trations.
Anything outside this range generates a message to the
effect that the solids reported are too high or too low for The next step is to determine the acceptability of the
the density input. drilled solids concentrations. This is done by comparison
to a curve fit (Figure 2)1. If they are not acceptable the
In the case of a fluid which does contain weight material, reduction to an acceptable level is calculated using both
the percent of low-gravity solids plus salt volume percent dilution and displacement. These are then compared to
is subtracted from the reported solids percent to arrive at show what percent of the present fluid must be either
the volume percent of weight material. If this is not added, or thrown away and replaced, respectively.
positive the program gives a message indicating the Naturally if no check has been made on CEC this routine
problem. cannot be followed since drilled solids could not be
isolated. However, if the total low-gravity solids are less
If the low- and high-gravity solids are within correct than the dr illed solids limit they are obviously acceptable.
ranges, the program next calculates a breakdown of low If not, it is possible that drilled solids might be excessive
gravity solids into drilled solids and bentonite. Of course, and the program recommends that a CEC should be run.
if no CEC was entered then it cannot make the calcu-
lation; therefore it goes on to display the solids concen- Then a check is made on plastic viscosity and CEC. If the
trations which it has been able to calculate. When a CEC plastic is above normal and CEC is over 20, the program
has been entered the bentonite concentration is calcu- advises that it is probable the fluid contains a high
lated using: colloidal content such as bentonite, or other active fine
4 COMPUTER ANALYSIS OF DRILLING FLUIDS SPE 9375
solids. H the CEC is under 20, a high plastic with solids changes in pH, fluid stability can be improved by some
and CEC in an acceptable range may indicate the pre- buffering. This prevents drastic pH changes and any
sence of excess polymers or fine inert solids. H no CEC corresponding changes in fluid properties. The program
has been run, the program will advise that this be done recommends treatment to retain a total of 25 mm/l of
since one of these conditions is present but it cannot carbonate and bicarbonate ions for buffering purposes.
identify which one. This also decreases the possibility of overtreatment.
At this point control returns to the main program for In the case of calcium, Rogers has shown that very little
chemical analysis if required. cation exchange occurs below 200 mg/l and that most
4
clays are converted to calcium base above 600 mg/I •
CHEMISTRY Therefore, calcium levels should be kept below 200 mg! I
in all types except gyp fluids, where it should be main-
tained at over 600 mg/I.
The program requires that a proper balance be maintained
between carbonate/bicarbonate concentrations and cal-
ANALYSIS AND TREATMENT
cium and hydroxyl ions. The limits for these concentra-
tions vary with fluid types and are based on an empirically The analysis of bentonite/water, lignosulfonate/modified
derived ionization constant for bicarbonates. This con- lignite, and lignosulfonate/lignite fluid types begins with a
stant was obtained by reviewing water and drilling fluid check on excess lime. If this is more than I ppb the
samples analyzed over several years and comparing indivi- program advises that this is excessive if temperature is
dual ion concentrations to each other: significant and recommends treatment to eliminate it.
Then carbonates and bicarbonates are calculated using
• • • • • • • • (4)
Equations 6, 7, and 8. If the carbonate/bicarbonate total
is less than 25 mm/l, the individual values are printed out
and no treatment is recommended.
or
pk = Log (2 X 10-10) = 9.7 • • • • • • •. (5)
At more than 25 mm/l the program begins looking for
which differs from that of deionized water. The pk 2 problems. If more than 200 mg! 1 of calcium is present, it
value for carbonic acid in deionized water is generally
2 advises that this combination would normally be impos-
accepted to be approximately 10.33 • However, the sible. However, Green has shown that various lignites will
addition of salts and soluble treating agents lowers this to
tie up calcium in such a way that it will still show up on a
an average value of 9.7.
calcium check but is not actually available as free cal-
dum which would react with the carbonates 5• For this
The sequence of calculations involved begins with the
reason the program asks if significant amounts of lignites
approximation of hydroxyl alkalinity:
are present, and if so, it proceeds on the assumption that
P
OH
= 50 (1O PH- 14) • • • • • • • • . (6) the calcium reading is erroneous. If this is not the case,
With this known, Equation 7 is used to calculate carbonate then the program requests a recheck of pH, Pf, and
concentrations. calcium.
notes that a reduction in pH is required to allow the Too high a pH level triggers the message that a reduction
excess lime to react them out. is needed in order to allow more free calcium on solution.
When all other variables are in appropriate ranges and the In the lime muds, pounds-per-barrel of excess lime is
carbonate/bicarbonate concentration is excessive, a calculated using the equation:
warning is printed, and required lime and/or gyp additions
Lime::: .26 (Pm - (Pf (1 - solids - oil»). (15)
calculated using Equations 9 and 10 for holding near
constant pH. The lower limit on a "low lime" fluid is set at 1.5 ppb,
while the upper is set at 2.5 ppb. In a "high lime" fluid
Lime(ppb) ::: .01298 (HC0"j}(1 - solids - oil) •• (9)
the lower and upper limits are set at 2.5 ppb and 6 ppb,
Gyp(ppb) ::: .0602«HCO; + C0"j}-25)(1-solids-oU) (10)
-,2- respectively. Too low an excess lime concentration in
Note that correction must be made for actual water either type causes the printout of the lime requirements
fraction of the fluid. (in ppb) needed to bring the concentration into range. Too
high a level receives a warning to allow lime concen-
When pH values are not critical or are above the solubility tration to decrease naturally until within limits. A pH
of lime, lime alone may be used as the calcium source. In limit is set at 13; anything higher than 13 provokes a
this circumstance Equation 11 is used to calculate treat- warning that the pH is too high. A calcium level of over
ment with lime only, correcting once again for water 200 mg/l sets off a warning that total hardness is too high
fraction. and that caustic should be added to suppress the calcium
level.
Lime(ppb) ::: .0259 (HCO; + CO;-25)(1-solids-oil). .(11)
The chemical analyses on gyp, low-lime, and high-lime Modern computer technology can be successfully applied
fluids are relatively simple. In a gyp fluid the calcium to drilling fluid engineering at the rig. A carefully
level is maintained above 600 mg/l and pH less than 11.5. written computer program constructed to retain the
When insufficient calcium is present, the amount of gyp in necessary complexity internally while providing simplicity
pounds-per-barrel required to raise it to an acceptable of input, output, and operation can increase the efficiency
level is calculated using the following equation: of the engineer and thus contribute to increased drilling
efficiency and lower cost per foot.
Gyp =(800 - calcium)f666 • • • • • • • •• (14)
6 COMPUTER ANALYSIS OF DRILLING FLUIDS SPE 9375
NOMENCLATURE
REFERENCES
1. "Magcobar Drilling Fluids Engineering Manual," Mag-
cobar Division, Dresser Industries, Inc.
50
~ '"-
v
0
I
LL 40 ./
V
!!!
I-
...,; V
<I:
>- 30
I-
./ V /
.... J......--' V V
ei)
0
~
:;; ~ V
......... !,.....- .... V
0
~
...J
a.
20
10
100"'" - ~
~
~
1..,..- j....- ~
o
9 10 11 12 13 14 15 16 17 18
MUD DENSITY - Ib/gal
v
50
~V
..-;.--
40
~V
I-
Z
w
~~
.--
0
cr: ~
.~~ iIl-- IIt-" jIlt--
w
a.
w
:E 30
II./
11.",'" ._-' -"""""
~ _,It-"" 1---V
:::l
...J
0
> o,~.. _, - 1~\~~,\I!'l'ij. V
I
V":P~ ..it..... \) -~p.~'f- ,0.
k-'V
iii' .-"
I-
Z
w
I- 20
Z
0
,,, /
~""
- --
lllil--
v.:i?:~~ \Na¢(-
E.~~~-
E. ~.~.,.....
--...--
u
(f) / ..., , , - - il,e(\\.- ~
c cof'
::i
0
(f) £, ..
~
~~V .....-soW~· o.
10
V ...". V
~
V
o
9 10 11 12 13 14 15 16 17
MUD WEIGHT - Ib/gsl
FLUID TYPE? 3
MUD DENSITY? 14
PLASTIC VISCOSITY? 39
++ PLASTIC VIS OUT OF NORMAL RANGE FOR DENSITY ++
YIELD POINT? 18
INITIAL GEL? 3
10 MIN GEL? 18
++ TEN MIN GEL STRENGTH HIGHER THAN NORMAL++
PH? 10
API FLUID LOSS? 4
HT-HP FLUID LOSS? 26
+++STABILITY OF FLUID IS LOW +++
PF? .6
PM? 2
CHLORIDES (IN MG/L) ? 1000
CALCIUM (1M MG/L) ? 400
PERCENT SOLIDS? 29
PERCENT OIL? 0
C.E.C. IN PPB (ENTER ZERO IF NO CHECK) ? 20
******************************************************************************
** BENTONITE CONCENTRATION 5. PPB **
** DRILLED SOLIDS CONCENTRATION 136. PPB **
** BARITE CONCENTRATION 198. PPB **
•••• YOU SHOULD DUMP OR MOVE 50.5 PERCENT OF YOUR TOTAL SYSTEM
AND REPLACE IT WITH NEW 14.0 PPG FLUID .
•••• IF YOU WERE TO MERELY DILUTE IT, YOU WOULD HAVE TO
ADD 102.1 PERCENT NEW FLUID •••••
FLUID TYPE? 4
MUD DENSITY? 12
PLASTIC VISCOSITY? 28
++ PLASTIC VIS OUT OF NORMAL RANGE FOR DENSITY ++
YIELD POINT? 17
INITIAL GEL? 3
10 MIN GEL? 10
PH? 12.6
API FLUID LOSS? 7
HT-HP FLUID LOSS? 20
PF? 2.8
PM? 4
CHLORIDES (IN MG/L) ? 1000
CALCIUM (1M MG/L) ? 400
PERCENT SOLIDS? 22
PERCENT OIL? 0
C.E.C. IN PPB (ENTER ZERO IF NO CHECK) ? 30
******************************************************************************
** BENTONITE CONCENTRATION 15. PPB **
** DRILLED SOLIDS CONCENTRATION 135. PPB **
** BARITE CONCENTRATION 80. PPB **
•••• YOU SHOULD DUMP OR MOVE 42.1 PERCENT OF YOUR TOTAL SYSTEM
AND REPLACE IT WITH NEW 12.0 PPG FLUID •
•••• IF YOU WERE TO MERELY DILUTE IT, YOU WOULD HAVE TO
ADD 72.6 PERCENT NEW FLUID •••••
FLUID TYPE? 2
MUD DENSITY? 16
PLASTIC VISCOSITY? 60
++ PLAS1'IC VIS OUT OF NORMAL RANGE FOR DENSITY ++
YIELD POINT? 20
INITIAL GEL? 5
10 MIN GEL? 30
++ TEN MIN GEL STRENGTH HIGHER THAN NORMAL++
PH? 10
API FLUID LOSS? 6
HT-HP FLUID LOSS? 22
PF? 2.6
PM? 3
CHLORIDES (IN MG/L) ? 1000
CALCIUM (1M MG/L) ? 0
PERCENT SOLIDS? 32
PERCENT OIL? 1
C.E.C. IN PPB (ENTER ZERO IF NO CHECK) ? 35
******************************************************************************
** BENTONITE CONCENTRATION 32. PPB **
** DRILLED SOLIDS CONCENTRATION 26. PPB **
** BARITE CONCENTRATION 376. PPB **
HIGH PLASTIC VIS WITH SOLIDS IN PROPER RANGE BUT WITH A HIGH C.E.C. INDICATES
A HIGH COLLOIDAL CONTENT SUCH AS BENTONITE, ACTIVE FINES, ETC. +++
********************************************************************************
CARBONATE CONCENTRATION 51.90MM/L
BICARBONATE CONCENTRATION 26.01MM!L
******************************************************************************
+++ !! CARBONATE!BICAFBONA1E CONCENTRATIONS ~RE EXCESSIVE I! +++
.... IF CONS'l'AN'I PH IS W'T 11 PROPLEfv', lIDO l.UO PPP C'F' LT.'IF ••••
. .. [lOv,EVER, IF pq IS CRI'lICAL OR ,l\,LREADY EXCEc;~~TV8, 'l'HFN YOC
SHOULD ADD .23 PPS OF LIME AND I.HI PPB OF GYP