Professional Documents
Culture Documents
This manuscript has been reproduced from the microfilm master. UMI films the
text directly from the original or copy submitted. Thus, some thesis and
dissertation copies are in typewriter face, while others may be from any type of
computer printer.
In the unlikely event that the author did not send UMI a complete manuscript and
there are missing pages, these will be noted. Also, if unauthorized copyright
material had to be removed, a note will indicate the deletion.
UMI* 800-521-0600
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
EXPERIMENTAL AND ANALYTICAL STUDIES OF CYCLIC
A Dissertation
by
BAMBANG GUNADI
DOCTOR OF PHILOSOPHY
December 1999
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
UMI Number 9957438
___ ®
UMI
UMI Microform9957438
Copyright 2000 by Bell & Howell Information and Learning Company.
All rights reserved. This microform edition is protected against
unauthorized copying under Title 17, United States Code.
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
EXPERIMENTAL AND ANALYTICAL STUDIES OF CYCLIC
STEAM INJECTION USING HORIZONTAL WELLS
A Dissertation
by
DOCTOR OF PHILOSOPHY
Daulat D. Mamora ng H.
^hine E Wu
(Chair o f Committee) (Member)
A Un f D c
v
(A
Akhil Datta-Gupta Robert R. Berg
(Member) (Member)
Charles H. Bowman
(Head o f Department)
December 1999
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
ABSTRACT
Experimental and Analytical Studies o f Cyclic Steam Injection Using Horizontal Wells.
(December 1999)
A mathematical model has been developed that satisfactorily describes the results
o f laboratory scaled-model experiments o f cyclic steam injection using horizontal wells.
The physical model consists o f an insulated aluminum parallelepiped containing a
mixture o f sand, water, and oil. The 1:396 scaled-model has internal dimensions o f 10 in.
in length and breadth and 5 in. in height, representing half o f an actual 5-acre reservoir
drainage area measuring 330 ft. in length and breath and 165 ft. in thickness and
containing 1.85 MMSTB oil. Steam injection rates and reservoir pressure for the model
are properly scaled to represent field values o f 3,500 cold water equivalent barrels per
day per well and 1,000 psia respectively. An experimental run consists o f up to six
cycles, each cycle representing (in the field) an injection period o f up to 632 days, up to a
shut in period o f 178 days, and up to 2604 days production period. Runs are made with
the horizontal well placed on one side o f the model in two vertical positions, namely, at
mid reservoir height and at reservoir base.
The analytical model consists o f dividing the horizontal wellbore section into
discrete intervals based on time-step specified. Heat and material balances are performed
for each interval, from which advancements o f the steam zone in the reservoir and in the
wellbore are determined. Results o f temperature, pressure, and produced oil and water
volumes based on the analytical model are in good agreement with the experimental data.
Main research findings are that (i) steam reaches the horizontal well toe if the
injection rate and injection time exceed certain minimum values, depending on the
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
reservoir properties and well configuration, and (ii) the steam zone is not cylindrical but
somewhat conical in shape, the steam zone radius being largest at the heel o f the well.
These research findings and the analytical model are expected to be o f significant value
to industry. It is recommended to conduct further research in which tubing, larger than
1/8 in. utilized in this study, is used as the horizontal well to better simulate steam
displacement o f the wellbore contents.
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
DEDICATION
and
and
my sister, Sri Pergiwati and my brother in law, Yaya Sunarya
and Budiman P. fo r their support and help.
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
ACKNOWLEDGEMENTS
I also wish to thank my Ph.D. committee members, Dr. Ching H. Wu, Dr. Akhil Datta-
Gupta, and Dr. Robert R. Berg for their helpful suggestions, useful advice and
discussions during this research. I also wish to thank to Dr. Michael D. Manson for
serving as my Graduate Council Representative.
I would like to thank the professors and staff o f the Harold Vance Department o f
Petroleum Engineering at Texas A&M University, especially Frank Platt, for all their
support.
I would like to thank Taufan Marhaendrajana, Syamsu Alam, for all their support and
help during my stu d y , and also Gunawan Sutadiwiria for the helpful discussions.
Last, I would like to thank Pertamina, the national oil company o f Indonesia, for giving
me the chance and support to pursue my Ph. D. program at Texas A&M University.
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
vii
TABLE OF CONTENTS
Page
ABSTRACT ............................................................................................................ iii
DEDICATION...................................................................................................... v
ACKNOWLEDGEMENTS................................................................................. vi
TABLE OF CON TEN TS........................................................................................ vii
LIST OF T A B L E S ............................................................................................... ix
LIST OF FIG U R E S............................................................................................. x
CHAPTER I INTRODUCTION.......................................................................... 1
1.1 Background.................................................................................. I
1.2 Research O bjectives.................................................................... 3
1.3 Organization o f Dissertation...................................................... 3
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
viii
Page
NOMENCLATURE............................................................................................... 92
REFERENCES........................................................................................................ 95
APPENDIX A BOBERG AND LANTZ M ETHOD..................................... 97
APPENDIX B HONARPOUR CORRELATIONS....................................... 100
APPENDIX C COMPUTER PROGRAM S................................................... 101
V IT A ........................................................................................................................ 175
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
ix
LIST OF TABLES
TABLE Page
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
X
LIST OF FIGURES
FIGURE Page
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
xi
FIGURE Page
4.13 Pressure and temperature data for run with horizontal well at reservoir
b a s e .......................................................................................................................... 32
4.14 Temperature data at right plane for run with horizontal well at reservoir
b a s e .......................................................................................................................... 33
4.15 Temperature data at parallel-mid plane for run with horizontal well at
reservoir b a s e ......................................................................................................... 34
4.16 Temperature data at left plane for run with horizontal well at reservoir
b a s e .......................................................................................................................... 35
4.17 Temperature data at front plane for run with horizontal well at reservoir
b a s e .......................................................................................................................... 36
4.18 Temperature data at perpendicular-mid plane for run with horizontal well
at reservoir b a se ..................................................................................................... 37
4.19 Temperature data at rear plane for run with horizontal well at reservoir
b a s e .......................................................................................................................... 38
4.20 Cumulative oil and water production for run with horizontal well at
reservoir b a se ......................................................................................................... 39
4.21 Vertical well, location o f thermocouples and planes........................................ 41
4.22 Pressure and temperature data for run with vertical w e ll................................. 42
4.23 Temperature data at top plane for run with vertical w e ll................................. 43
4.24 Temperature data at middle plane for run with vertical w e ll.......................... 44
4.25 Temperature data at base plane for run with vertical w e ll............................... 45
4.26 Cumulative oil and water production for run with vertical w e ll..................... 46
4.27 Edge effect in CT scan results............................................................................. 48
5.1 Steam zone at the end o f first time s te p ............................................................. 54
5.2 Steam zone at the end o f second time s te p ........................................................ 58
5.3 Steam zone profile at the end o f injection......................................................... 58
5.4 Steam zone approximated as a cylinder............................................................. 60
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
xii
FIGURE Page
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
xiii
FIGURE Page
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
1
CHAPTER I
INTRODUCTION
Steam injection is the most widely used enhanced oil recovery (EOR) method in
the oil industry. The main benefits o f steam injection are reduction in oil viscosity and
residual oil saturation, and — for light oil reservoirs - steam distillation o f the lighter
hydrocarbon fractions. The two most common modes o f steam injection are
steamflooding, and cyclic-steam injection.
In steamflooding, vertical well patterns of injectors and producers are used.
Typically these are 5-spot, 7-spot, and 9-spot patterns. In cyclic-steam injection, the
injection well is also the producer. Cyclic-steam injection, also known as huff-and-puff,
is a type o f well stimulation involving heating the reservoir around the wellbore by
periodically injected steam. Cyclic-steam injection consists o f three repeated (cyclic)
stages, namely, the injection, soak, and production periods. During the injection period,
wet steam (typically about 70% quality) is injected. This is followed by the soaking
period, when heat from the injected steam is allowed to be conducted through the
reservoir, heating and lowering the viscosity o f the oil. The well is then opened up
during the production period to produce the oil and condensed injected steam. The
cyclic-steam injection process is illustrated in Fig. 1.1.
1.1 Background
The amount o f oil produced during cyclic steam injection depends to a large
extent on how much the oil viscosity can be reduced. Reduction o f oil viscosity depends
on how much heat can be transferred from the hot steam injected to the oil reservoir.
For the same reservoir, a horizontal well has more contact area and higher injection rate
than a vertical well. Therefore the heated volume around a horizontal well is larger than
that around a vertical well.
This dissertation follows the style and format o f the Journal o f Petroleum Technology.
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
2
Steam Injection
,Packer
(A
Hu Oil Sand
Tubing
Fluid Production
During the steam injection period, the shape o f the steam front for horizontal
wells is different than that for vertical wells. For a horizontal well the shape o f the
steam front is expected to be more like a cone with a larger steam zone radius at the
heel because steam would preferentially be injected near the “heel” than the “toe” of
the well. To date no analytical model exists that describes cyclic steam injection for
horizontal wells. Moreover, there are only a few cyclic steam projects utilizing
horizontal wells because the technique is new.2 The motivation o f this study is to
develop an analytical cyclic steam injection model using horizontal wells. Due to lack
o f field data, the analytical model will be tested against the results o f a scaled laboratory
model.
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
3
Literature review o f cyclic steam injection, steam injection using horizontal wells,
and cyclic steam injection using horizontal wells are given in Chapter II. This is
followed in Chapter HI by a description o f scaling, experimental apparatus and
procedure used in this study. The experimental results using vertical and horizontal
wells are given in Chapter IV. A mathematical model to describe the performance of
cyclic steam injection using horizontal wells is presented in Chapter V. Finally
summary, conclusions and recommendations o f the study are given in Chapter VI.
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
4
CHAPTER II
LITERATURE REVIEW
The literature review is divided into three sections. The first section discusses
papers related to cyclic steam injection. The second section includes papers that are
related to steam injection using horizontal wells, and the third section describes papers
containing cyclic steam injection using horizontal wells.
In 1966, Boberg and Lantz3*4 developed probably the earliest analytical model o f
cyclic steam injection for a vertical well system. In this model gravity is ignored, and the
heated area (steam zone) is assumed to develop radially outward from the wellbore
during steam injection. The steam zone is therefore a cylinder with the well at the center
o f the cylinder. During the injection period, heat loss occurs to the over-burden and
under-burden. Radius o f the steam zone is based on the model developed by Marx and
Langenheim.5 In the Marx and Langenheim model, based on heat balance, the
cumulative heat injected is equal to the heat required to raise the temperature o f the
steam zone o f radius, rh , from initial reservoir temperature, TR, to steam temperature,
Ts , plus the heat lost to the over-and under-burden. The resulting equation for the steam
zone radius is given as follows.
where h is the height o f the reservoir, M s is the mass o f steam injected, hfg is enthalpy
o f vaporization, hfs is the enthalpy o f water at Ts , hfr is the enthalpy o f water at TR,K is
the formation thermal conductivity, /, is injection time, and N s is number of sand layers.
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
5
During the soaking and production period, heat loss dissipates from the steam
zone radially and vertically. The average temperature within the steam zone at any time
during the soaking period and production period is given by:
where vr, v. are unit solutions o f heat o f conduction in the radial and vertical direction,
S is the function which accounts for energy removed by produced fluids. The oil and
water production is calculated for each time step o f production by including heat loss in
each time step. The model has been tested against field data and has been found to model
the observed results satisfactorily.
In 1970 Kuo6 developed a gravity drainage model for steam soak process. This
model assumed that steam uniformly enters the vertical well during the injection period.
Therefore the steam zone is a cylinder with the well at the center o f the cylinder. Radius
o f the steam zone is assumed constant over the reservoir life. Performance o f individual
steam-soak analysis is not considered in this model.
In 1970, Closemann et al? developed a steam-soak model for vertical wells in
depletion-type reservoirs. The steam zone is assumed to be cylindrical in shape with the
well at the center of the cylinder. In this model the steam zone only occupies part o f the
wellbore. During injection it assumed that oil is displaced from the steam zone until
some residual value o f oil saturation. During production the oil is allowed to flow back
across the outer radius o f the steam zone. Oil production is the total oil produced from
the steam zone and from the cold zone. The model also calculates time to resaturate the
steam zone with oil. In this model, gravity drainage, reservoir dip, and effects of heat in
produced fluid are neglected. The steam zone model is subdivided into a stratified model
and a crossflow model. In the stratified model the oil-bearing regions adjacent to the
steam zone are divided into a number o f horizontal layers o f uniform thickness. The
cumulative production is calculated by adding cumulative production from each layer
and production from steam zone. In the crossflow model, the cumulative production
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
6
from the cold zone is corrected using crossflow factors. Comparison with field data
shows that the crossflow model gives a good match using 50 ft interval steamed out o f
173 ft reservoir thickness.
In 1980 Stegemeier et al.s conducted experimental scaled-model studies for
steam flood and cyclic steam injection using vertical wells. The physical models
represented actual fields such as the Midway Sunset field in California. The results o f
the experiments were useful in understanding the complicated steam processes and
provided guidance in design and operations o f these fields. The model scaling described
in their paper is a classic and has been utilized in this research as described in Chapter
III.
Gajdica et al? developed semianalytical thermal models for linear steamdrive in
1993. The model was tested against the results o f thermal simulation. Two models were
developed, one for a ID linear system and one for a 2D cross sectional system. The
models were developed for steam injection using two wells, an injection well and a
production well, each located at one end o f the reservoir. The model calculates steam-
zone steam saturation, water front locations, and overburden heat loss. In the 2D model
the gravity override o f steam is also included.
In the ID model the reservoir is assumed to be horizontal. The steam front,
saturation, and temperature isosurfaces are assumed to be vertical. During steam
injection three zones are assumed to develop: the steam zone located nearest to the
injection well, the water zone, and the oil zone which is closest to the production well.
The model then calculates location o f the steam and water fronts and the average phase
saturations in each zone. Using this information the pressure drop and production rates
can be calculated using Darcy’s law and material balance.
In the 2D model the steam rises to the top o f reservoir because o f gravity
segregation.10 The resultant steam zone has the shape o f a cone. The water zone is
divided into two zones: the hot water zone which is located below the steam zone, and
the cold water zone which is located ahead o f steam zone. The model also calculates the
steam zone size and shape, the hot water zone shape, and the water front. Pressure drop
and production are calculated in a similar manner as for the ID model.
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
7
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
8
using linear regression. The growth o f the steam zone along the well as a function o f
time and injection rate was not modeled.
A three dimensional thermal and compositional simulation study18 to evaluate the
performance o f horizontal wells under cyclic steam injection and steam flooding was
done in 1999 by Rodriguez.2 The study was conducted for the Bachaquero-01 reservoir
in Venezuela. The results show that recovery o f the field can be increased by
steamflooding with additional producer wells around the horizontal well injector. The
main advantages o f steamflooding are reservoir re-pressurization and improved thermal
efficiency.
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
9
CHAPTER m
(3.1)
reservoir and model scaled lengths, so that equals 396. Using assumption initial
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
10
pressure PK o f 5 psia in the model to represent an initial pressure PR o f 1000 psia in the
19.20
Temperature scaling is based on the ratio o f saturated steam temperature1 •
'*"" in
the reservoir and in the model. The calculation involves finding the ratio o f temperature
difference in the reservoir to the corresponding difference in the model, X , given by:
Y— PRt) (3.3)
f e - r j '
reservoir, Tu is the steam temperature in the model, and TMi is the initial model
temperature in the model, TMi, is 65 °F, the temperature scaling relationship is:
Tu =0.2114 Tr +47.028......................................................................................................(3.4)
The required steam quality in the model is calculated using Eq. 3.S.
C„AT A L P rC r Pc C C
fs S t ~ +1 -I (3-5)
'M CAT p ,^M . PCRCCR J
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
II
where CWA T is the difference between water enthalpies at steam temperature, and at
initial temperature, <f> is the porosity, p C is the volumetric heat capacity, and p c Cc is
the volumetric heat capacity o f the cap rock. Subscripts M and R represent the model
and the reservoir. Using initial and steam pressure and temperature data above, steam
quality in the reservoir o f 100%, <frR = 0.34, A SR= 0.70, <j>K{ = 0.34, ASU = 0.14,
f P rC
S'r \ f _ 'N
Pci
' l a/ {-\t
- 1, and = 1, it can be shown that the steam quality needed in the
.P.Kf C\f Pc. Q ,* J
\2
A{ _ hR Pc» Ki
•(3.6)
V J PCr Ccr J
where kh is the heat conductivity cap rock. Using km - 0.3888, and £ ^= 1 .2 , time
^ = f - i ^ - Y l ) f — ) (525,960)—
tR 1^0.3897 \3 9 6 J 1 yr
— = 10.3518 — -..............................................................................................................(3.7)
tR year
This means that one minute in the model represents 35 days in the reservoir.
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
12
j
Rm _ rP if O
om
-(3-8)
Rr s.PoR JU J < <f>R ^ R ,M
V.V j
where p„ is the oil density. Using p oM = p oR, and Eqs. 3.7 and 3.8 :
, cc/min
to - . ( ,) f _ I_ Y f f i ! ^ 4 Y _ J _ l ( 5 25,960X. .0.4)
qR v \ 3 9 6 j U 0.34X 0.70)JU 0.3518/ A 1 bbl/D
which means that one cc/min in the model represents 55 bbl/D in the reservoir.
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
13
Legend
1. Water reservoir
2 . HPLCpurp
3 . Steam generator
4 . Steamquality measiring device
5 . IVessue transducer
6 . Datalogger/PC
7. Themrcoi^e
8. Scaled model
9 . Condenser
10. Graduated vacum cylinder
11. Vacuum pimp
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
14
Steam generator Custom made by Texaco, max. Pressure 2,000 psi, max.
temperature 1,200 °F.
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
15
Steam quality measuring Custom made, aluminum cylinder, 26.7 cm(10.5 in) long
device by 7.6 cm(3.0 in) OD, wall thickness 3.2 mm(0.125 in).
Scaled model Custom made, aluminum box, 27.3 cm(10.75 in) long by
27.3 cm(10.75 in) width by 14.6 cm(5.75 in) height.
Graduated cylinder Lab Glass, measuring cylinder vacuum type, 100 ml.
Well 1/8 in. aluminum tubing with slots cut 4 per inch.
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
16
I
Teflon insulation (1/8” thick)
Teflon gasket
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
17
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
18
8. Evacuate the graduated cylinder until flowing pressure, 3 psia is obtained. Open the
production valve.
9. Record the amount o f effluent every two minutes.
10. Scan the model at the end o f the production period.
11. Repeat steps 5 to 10 for the next cycle.
Based on experimental data we can measure the amount o f heat injected, and the
volumes o f oil and water produced for each cycle. The temperature in the wellbore and
in the reservoir are also measured. The temperature data together with CT scan results
will be used to infer the advancement o f the steam zone, thus verifying the analytical
cyclic-steam injection model.
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
19
CHAPTER IV
EXPERIMENTAL RESULTS
Two main types o f experiments were conducted, cyclic steam injection using a
horizontal well and the cyclic steam injection using a vertical well. Cyclic steam
experiments using a horizontal well were conducted for two different locations o f the
horizontal well: at mid-reservoir height and at reservoir base. Vertical well was placed at
the comer o f the physical model.
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
20
Parallel-mid plane
T3
T2.
16
T8
Left plane' T5
Right plane
T9
Horizontal well
T3
Rear plane
T2.
16
T8
Front plane T10
Perpendicular-mid plane T9
Horizontal well
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
21
eisd ‘sinssajj
©
O O
90
o
so o o
oo
cm
cm
Fig. 4.3 - Pressure and temperature data hr horizontal well at mid-reservoir height
o
sO
fP 008
o
^ q o o ooooa»>
o
cm
2 o
£
h
o
90
O
SO
©
ooo ■sr
©
o o oo CM
oVi
C4
j o ‘sjraeJdduidj.
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
22
Fig. 4.4 - Temperature data at right plane for run with horizontal well at mid-reservoir height
00
PO
Q tl
.£
E
2 «
H
00
o
v>
o 8 o
vi o
‘3JtnBJ3dU13X
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
23
Fig. 4.5 - Temperature data at parallel mid plane for run with horizontal well at mid-reservoir height
00
'O
00
C
O
p>
(N
o o
«n
CN
J 0 ‘3JniBJ3dui3X
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
24
oc
data at left plane for run with horizontal well at mid-reservoir height
oo
VO
00
oo
t-
Fig. 4.6 -Temperature
m CM
f-
o
o
*/■> o ©
CN fN
J Q‘ajm Bjadrasi
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
25
Fig. 4.7 - Temperature data at front plane for run with horizontal well at mid-reservoir height
J o s3JtUBJ3dni3X
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
26
Fig. 4.8 - Temperature data at perpendicular mid plane for run with horizontal well at mid-reservoir height
o
30
o
vO
o
■M
-
OM
C
o
oo
04
oso
o
<X> Tf*
o<N
O o O
U) o
ID o
CM
CM
X , ‘s i i u B J d d n i d X
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
27
Fig. 4.9 - Temperature data at rear plane for run with horizontal well at mid-reservoir height
OO
OO
oo
oo
K
o
•n O
CN
^ ‘sjnjBJsdmax
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
250
Water
Oil
200 - -
£ 150 - -
50
Time, min
Fig. 4.10 - Cumulative oil and water production for horizontal well at mid-reservoir height
K)
OO
29
Figure 4.3 shows that in the first three cycles, during injection period, the
temperature in the middle o f the well increases from the initial reservoir temperature, 63
°F, to around 170 °F. In the first cycle, the temperature at the “toe” increases only
slightly, but increases significantly up to 110 °F in the second and third cycles. During
the fourth, fifth, and sixth cycles, the maximum temperature in the middle o f the well
reaches up to 180 °F, while the temperature at the “toe” increases up to 140 °F. For the
six cycles, the steam was injected at 8 psia and 182.9 °F saturation temperature. The data
record shows that for all six cycles, the steam zone never reaches the end o f the
wellbore.
Temperature data outside the wellbore are plotted in Figs. 4.4 to 4.9. During
injection, for all six cycles, Fig. 4.4 shows that T4 is greater than T10; Fig. 4.5 shows
that T9 is greater than T6 and T3; and Fig. 4.6 shows that temperatures in the left plane
are mostly constant. Figures 4.7 to 4.9 show that at distances greater than about five
inches from the wellbore the reservoir remains essentially at the initial temperature.
Temperature data also indicate that the radius o f steam zone is largest at the “heel” and
becomes smaller toward the “toe”.
Cumulative production data (Fig. 4.10) show that the oil production is relatively
small at the first three cycles due largely to fact that the sand mix near the wellbore is
still relatively cold. However, with a longer injection time in the fourth cycle, near-
wellbore stimulation is affected, resulting in significantly higher oil production. Water
production shows a rapid increase in the first three cycles but thereafter increases almost
linearly with time.
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
30
Cumulative Cumulative
Injection Soak time Production oil water
Cycle time time production production
(min) (min) (min) (cc) (cc)
1 1.5 0.5 3 2 15
2 2 1.5 6 4 55
3 2.5 2 8 6 85
4 1.5 1 74 26 162
5 1.5 1 19 41 186
6 2 2 8 46 206
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
31
Parallel-mid plane
T3
T2.
16
T8
Left plane
Right plane
T9
Horizontal well
Fig. 4.11 - Horizontal well at reservoir base, location o f thermocouples and planes
parallel to horizontal well
T3
Rear plane
T2.
16
* TZ
T8
Front plane T10
Perpendicular-mid plane T9
Horizontal well
Fig. 4.12 - Horizontal well at reservoir base, location o f thermocouples and planes
perpendicular to horizontal well
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
300 60
T-Line T-SQMD
250 -- -- 50
--4 0
Pressure, psia
T-Middle
■30
P-SQMD
T-Toe
P-Well head
-20
■■ 10
Time, min
Fig. 4.13 - Pressure and temperature data for run with horizontal well at reservoir base
u>
N)
33
Fig. 4.14 - Temperature data at right plane for run with horizontal well at reservoir base
i—
.s
E
<S
s
o o o o
o
<*■) CN
^ ‘ajtuw adoiai
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
34
Fig. 4.15 - Temperature data at parallel-mid plane for run with horizontal well at reservoir base
.s
E
oT
E
E—
eo
P
o>
©
o o S O s o
^ ‘3injBJ3dlU3X
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
35
oc O
Fig. 4.16 - Temperature data at left plane for run with horizontal well at reservoir base
CM
CO
lO
300 -
o
in ©
CM CM
io ‘aime-radurai
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
300
T-Line
250
200
§
2 150
I
£
100
T5
T Line
Time, min
Fig. 4.17 - Temperature data at front plane for run with horizontal well at reservoir base
U>
C\
37
data at perpendicular-mid plane for run with horizontal well at reservoir base
.s
£
CM s
I—
(D
©
•/I
Fig. 4.18 - Temperature
O VI
O
VI
O
(N n
^ c3injBJ3dui3L
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
38
Fig. 4.19 - Temperature data at rear plane for run with horizontal well at reservoir base
90
CO
QO
o o
«/“> o O
m <N CN
j o ‘sjruBjadoiax
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
Water
Time, min
Fig. 4.20 - Cumulative oil and water production for run with horizontal well at reservoir base
u»
VO
40
Cumulative Cumulative
Injection Soak time Production Oil Water
Cycle time time Production Production
(min) (min) (min) (cc) (cc)
1 4 4 15 3 19
2 4 5 12 7 50
3 8 4 10 11 103
4 7 3 8 16 135
5 10 3 17 26 221
6 18 2 27 91 346
Pressure and temperature recorded (Fig. 4.13) shows that the temperature at the
'‘toe” remains essentially the same as the temperature in the middle o f the well during
injection in the sixth cycle. As with the horizontal well at mid-reservoir height, the
temperature outside the well (Figs. 4.14 to 4.19) show that the temperature near the
“heel” is greater that temperature near the “toe” during injection. Even when the steam
zone reaches the end o f the well, temperature data indicate that the steam zone radius at
the “heel” is greater than that toward the “toe”.
Production data shows that production increase sharply in the sixth cycle when
the steam zone reaches the end o f the wellbore. Unfortunately at the end o f the sixth
cycle the experiment had to be stop because o f the excessive amount o f liquid produced.
Water production increases gradually with time.
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
41
Vertical well
Top plane
Middle plane
T2.
T7
T5 *
T10
T9
Base plane
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
300
T-SQMD
T-Line
250 --5 0
200 ■40
T em perature,
150 - ■30
100 - • - •20
P-Model
T-Well
50 -■ - • 10
Time, min
Fig. 4.22 - Pressure and temperature data for run with vertical well
43
00
CM
Fig. 4.23 - Temperature data at top plane for run with vertical well
CM
00
CO
©
© o©
CM
© ©
o «On o
j o ^jnjBJsduisx
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
44
OO
Fig. 4.24 - Temperature data at middle plane for run with vertical well
IT)
SO
E
E—
00
so
in
o o
Vi o o o
o § o
^ ‘3JnjBJ3dtU3X
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
45
00
Fig. 4.25 - Temperature data at base plane for run with vertical well
.£
Oi £
CD
K oo
o
o
O
«o o
o o »o/%
cn cs C4
'3jnjBJ3<iui3J_
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
250
W ater
Oil
200
i
d
•£ >50
£
*T3
2
Fig. 4.26 - Cumulative oil and water production for run with vertical well
47
Cumulative Cumulative
Injection Soak time Production Oil W ater
Cycle time time Production Production
(min) (min) (min) (cc) (cc)
1 6 6 10 13 9
2 5 2 12 26 28
3 8 6 10 32 77
4 7 3 10 41 134
5 10 6 13 43 164
6 4 4 16 45 191
7 6 5 16 46 216
Temperature data (Fig. 4.22) show that the steam zone reaches only the middle
o f the wellbore for each cycle injected. Temperature data outside the wellbore show that
in the middle and base planes, radius o f the steam zone does not exceed 2.5 inches from
the well. The data also indicate that temperatures at a distance 2.5 inches from the well
are higher in the top plane than in the middle and base planes. This observation indicates
that the steam zone is larger at the top o f the reservoir due to gravity segregation of
steam. This is a complex phenomenon. In the analytical model, a simplifying assumption
is made, in the gravity segregation is ignored, so that the steam zone advances radially
away from the wellbore. Production data show that the oil production increase gradually
in the first four cycles but becomes almost asymptotic thereafter. Water production
increases sharply in the first four cycles and more gradually in the remaining cycles.
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
48
and at the end o f production period. The purpose o f these scans is to measure liquid
saturation in the model. Unfortunately the CT scan result can not be used to determine
the liquid saturation because o f “edge effect”. However, the CT scan gives a good results
in measuring steam quality. The edge effect o f CT scan image is shown in Fig. 4.27.
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
49
CHAPTER V
As described in Chapter IV, during cyclic steam injection in horizontal wells, the
steam does not always reach the toe o f the well. Further, the steamzone is larger at the
heel than towards the toe o f the horizontal well. Previous analytical models can not
model the aforementioned phenomena, primarily because these models assume an
instantaneous sweep o f the wellbore at start of steam injection. Consequently two new
mathematical models have been developed, one for cyclic steam injection using
horizontal wells, and one for cyclic steam injection using vertical wells.
The analytical model for cyclic steam injection using horizontal wells consists of
two sub-models as follows.
(i) Sub-model for injection period, and
(ii) Sub-model for soaking and production periods.
The mathematical model for cyclic steam injection using verticalwellsincorporates
previous and new sub-models as follows.
(i) Marx and Langenheim model for the injection period (as in the Boberg
and Lantz method), and
(ii) Horizontal well sub-model for soaking and production periods, but with
the well in the vertical position.
The new model for cyclic steam injection using horizontal well is divided into
two sub-models. The first sub-model involves calculating the length and radius o f the
steam zone during the injection period. The second sub-model enables calculation of
average temperature21 and fluid production during the soak and production periods. In
the sub-model for injection period, the horizontal well is divided into segments. The
length o f each segment is based on the time step specified, while the total number of
segments depends on total injection time. Using Darcy’s law and heat balance,22,23 the
radius o f the steam zone around each segment at each time step may be calculated. The
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
50
sub-model for soaking and production periods is based on a modified Boberg and Lantz
method. Following is a description o f these sub-models and the results o f verification o f
the new models against experimental data.
Iw n r ? AL,
— = ? ,/ /+ ? » / /+ ' ~ ................................................................................................... (3 -0
Ps A t/
Iw is the mass rate o f steam injected, ps is density o f steam, qsll is the volumetric rate o f
steam entering the formation, qoll is the volumetric rate o f oil displaced to the
formation, r, is the internal radius o f the tubing , ALi is the length of the first segment
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
51
swept by steam , and A// is the first time step. For the term qslJ and qm], / and j are the
indices for the segment number and time step number, respectively.
The term on the left hand side o f Eq. 5.3 is the amount o f heat injected during time A//.
The first term on the right hand side o f Eq. 5.3 is the amount o f heat injected into the
reservoir during time Ati, while the second term is the amount of heat required to
increase the temperature o f the oil in the segment ALj from initial reservoir temperature,
Tr , to steam temperature, Ts plus the amount o f heat contained in the seam occupying
the wellbore segment. Hs is the steam enthalpy, and Ca is the volumetric heat capacity o f
oil.
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
52
where r// is the steam zone radius at segment 1 at the end o f At{, C rf is the volumetric
heat capacity o f the reservoir, HCF\\ is heat conducted across the front o f the steam
zone, and HCBu is the heat conducted across the back o f the steam zone (Fig. 5.1). In
the terms rtJ, HCFtJ and HCBy , / and j are the indices for segment number and time
step number, respectively. These heat losses parallel to the wellbore direction are given
by Eqs. 5.5 and 5.6.
HCF„ = \ 7r(r“' ~ r‘ ( T ~ Tr ) dt
U o yjjrat
_ M r„ !
4tree
~ T*) 4 * 7
V tta
where Ar is the thermal conductivity o f the reservoir and a is the thermal difihisivity o f
the reservoir.
The length o f the steam zone at time step l can be calculated by substituting Eq.
5.2 into Eq. 5.1, which upon rearranging yields:
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
53
Iw k rt2 AL,
Ps A/,
4sii ~ (5-7)
/+
. Pa.
L A/,
1+ P l
AX, =- Po
.(5.8)
1+ P s
qsi i can then be be calculated by substiting AZ,/ from Eq. 5.8 into Eq. 5.7.
Substitute ALi and qsll from Eq. 5.8 and Eq. 5.7 into Eq. 5.3, and using Eqs. 5.5 and
5.6, we obtain:
J-4ac
................................................................................................................. (5-10)
2a
where a = at +a2 + a3
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
54
_ _ 2 ^ l s (T1 - T R) 4 ^
2 ’ 2 ~ /
jn a R
Cl ~ ~ ri n C rF (Ts ~ T r )
2 x X R r * { r , - T R) J * T ,
Cl =
4 K aR
c3= -q sUPsHs&t
At the end o f Atf, growth o f the steam zone can be illustrated as in Fig. 5.1.
ALx
In the second time step Ati, the steamzone radius at segment 1 grows to rn , at segment
number 2 to r??, and the steam zone length increases by AL2 . Similarly r/? and AL 2 are
calculated as follows.
(lo 2 2 ~ <
is22 (5-12)
Po
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
55
> 2.,
~ Q s l2 + 4s2 2 ( 1 + ................................................................................ (5.13)
Ps \ PoJ *2
AL,
= 1T
AL, T T q*"
t +AL2
— ..................................................................................................................................................................................................................................................................................................( 5 - 1 4 )
and
AL 7
Qs22 = — ~TT~qsii ........................................................................................................(5-15)
AL, + AL2
K H s A/, = qsl2 PsHs&2 +<Is22 PsHI&t2 + 7tr2 AL2 {p sH s + C 0 (Ts - TR) ) ....................(5.16)
Substituting Eqs. 5.14 and 5.15 into Eq. 5.16, we can solve for AL 2 as follows.
AL, - (5.17)
' x r ,2( p ,H ,+ C A T ,- T R))
qs / 2 and qS2 2 can be calculated by back substitute AL 2 into Eq. 5.14 and 5.15.
and
qs22p s H s At2 =ir(r22 - r t2 J C ^ (Ts - T r)A L 2 + //C F „ ................................................ (5.19)
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
56
where
rJ C B n - " \ 7 t r n 2 ^ ( T s - TR) d t
12 I y jx a t
M r n K iT .- T ,) ^
■ ffta
and
^ 2 f t (r222 ~ r r2 ) A R (Ts - T R ) j A t ~ ^
yj f t a
Substituting qS22 to Eq. 5.19 and HCF22 from Eq. 5.22 into Eq. 5.19, we obtain a
quadratic equation in r?? which can be calculated as follows.
J —4 a c
ru = * - = ......... (5-23)
2a
where a = a, + a 2
c = c x + c2 +c 3
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
57
c3 = -4 sn P ,H SM 2
HCF 12 is then calculated by substituting rr> from E q 5.23 into Eq. 5.20. HCF 12 obtained
is then substituted into Eq. 5.18 to yield r /j as follows.
J -4 a c
^12 = ^------ • (5.24)
la
where a = al + a2 +ai
c= cl + c2 + c 3 +c4
2 f t r 2 A r (Ts - T R) j A t 2
C3 =
4 KaR
C->~ ~ <
lsl2 P * H s&t2
The calculations are continued for time step 3 and so on, until end of injection
time. Computer programs in Visual Basic 6 have been written to perform these
calculations. A listing o f the programs is given in Appendix C. Steam zones at the end o f
time step 2 and at the end o f the injection period, are shown in Figs. 5.2 and 5.3
respectively.
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
58
c) h c f x1
!=} HCF-a
HCB{1 .11
h c f 22
!=) HCF\2
AL, AL,
AL
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
59
zone at the end o f the soaking period can be calculated using the following equation
where vr and vz are unit solutions of heat loss in the radial direction and along the
wellbore direction, respectively. Eq. 5.25 assumes the steam zone is cylindrical in shape.
The steam zone around the horizontal well however is not cylindrical but conical in
shape (Fig. 5 3 ).
For Eq. 5.25 to be used in the sub-model, the cone-like shape o f steam zone is
approximated as a cylindrical with an average radius, Rm, given by:
(5.26)
where n is the total number o f segments containing steam at the end o f injection, r, is the
steam radius at segment z, AZ,, is the length o f segment z, and Lsz is the total length o f the
steam zone. The simplified cylindrical shape steam zone is illustrated in Fig. 5.4.
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
60
hot zone
^------------
AL-
hot-warm zone
interface
Steps to calculate liquid production during the production period are as follows.
1. At the end of the soaking period, calculate average temperature for the hot zone,
Tmh and average temperature for the warm zone namely . Tmh calculated using
the Boberg and Lantz3 method. is estimated based on the assumption that during
the soaking period, the heat is conducted from the hot zone to the warm zone through
an area of n { R a v f . The temperature at the hot-warm zone interface is assumed to
T ,= ( T ^ - T C) 1 - e r f +TC, .(5.27)
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
61
where Tc is the initial temperature o f the warm zone, and t is the soak period. is
then calculated by averaging the temperature in the warm zone that has been divided
into equal intervals o f A x.
2. Divide production period into incremental time intervals o f At p .
3. Calculate new reservoir pressure resulting from steam injected, namely Pr^ based on
fluid compressibility as follows.
(5.29)
and A V is the volume o f steam injected in equivalent water volume, is the total
pore volum e, and Ct is the total compressibility o f fluid in the pore volume.
4. Calculate water saturation. The initial water saturation inside the hot zone is
calculated by assuming that during the injection period steam would displaced some
oil inside the steam zone creating steam channels and some steam would condense
outside the steam zone. At the end o f the soaking period, the steam would condense
in these channels. Thus, the average water saturation in the hot zone is the amount o f
condensed water in the channels divided by pore volume o f hot zone. The channel
volume is determined to be 3% to 5% o f pore volume, based on history matching o f
water production. The water saturation in the warm zone is not affected by steam
injected, it is same as initial water saturation in the reservoir.
5. Based on water saturation calculated from step no. 4, calculate relative permeability
to oil and water in the hot and warm zones using Honarpour24 correlations, described
in Appendix B.
6. For each Atp calculate liquid production from both zones using Darcy’s equation. Oil
and water production from the hot zone are given b y the following equations.
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
62
^ Aw* Ac (At A/ )
(5.31)
Liquid production and from the warm zone are given by the following equations.
kkm ( L - L j ( p n - P ^ )
( 5.32)
k krw w A c ) (A l A / )
(5.33)
k mh and are the relative permeabilities o f oil in the hot zone and in the warm
zone, respectively n oh and /uwh are the oil and water viscosities in the hot zone
based on Tmh, and //^ a n d are oil and water viscosities in the warm zone
based on .
7. At end o f Atp> calculate new average temperature o f both zones based on heat
conduction to the reservoir and heat removed by liquid produced using the Boberg
and Lantz method, as described in Appendix A.
8. Using cumulative liquid produced, calculate the new reservoir pressure.
9. Calculate the new water saturation in the hot zone based on assumption that the
amount of liquid produced from this zone is replaced by water.
10. Repeat step no.5 to no.9 until end o f production period.
11. At the end o f production period, calculate the amount o f heat remaining to be used in
the steam zone radius calculation for the next cycle.
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
63
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
Cycle 4
Cycle 2 Cycle 3
B
u
a
N
Cycle 5
8
«/5
Cycle 1
A
AA
Cycle 6 A
A
H------------------------
0.0 0.1 0.2 0.3 0.4 0.5
Fig. S.S - Model steam zone profile for horizontal well at mid-reservoir height
65
Fig. 5.6 - Cumulative oil production: model results and data for horizontal well at mid-reservoir height
©
o
00
o o o
n o o
oo ‘uoipnpoid [to um 3
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
250
200 --
100 - -
50 -•
□ Data
— Model
Time, min
Fig. S.7 - Cumulative water production: model results and data for horizontal well at mid-reservoir height
67
Fig. 5.8 - Average temperatures: model results and mid-well data for horizontal well at mid-reservoir height
00
•k ‘ d u ia j.
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
68
Fig. 5.9 - Calculated oil production rate for horizontal well at mid-reservoir height
o
o o
0.025
o e> o
oss/oo ‘3jbj uoipnpoad n o
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
69
Fig. 5.10 - Calculated water production rate for horizontal well at mid-reservoir height
00
VO
O <N o
0.14
00
o
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
70
Fig. 5.11 - Calculated field equivalent oil production rate for horizontal well at mid-reservoir height
o
o
rr
o
N
O
o
c
1
Zi
E
o H
00
o
o
o
CN
o o
CN
o
o o
00
© o
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
71
Fig. 5.12 - Calculated field equivalent water production rate for horizontal well at mid-reservoir height
00
«N
00
o o o o
1000
o o
00
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
72
calculation) and recorded temperatures in the middle o f the well from experimental
results can be compared. There are some differences between experimental and model
results, but both exhibit the same trend in temperature.
Oil and water production rates calculated by the model are shown in Figs. 5.4 to
5.12. In each cycle the oil production rate is high at the beginning then declines with
increasing time, as actually observed in the field. The production rate declines because
oil viscosity increases as the reservoir temperature decreases with time. Maximum oil
production rate is reached during the third cycle at 0.020 cc/sec or 226 STB/D in the
field. The water production rate maximum is 0.13 cc/sec or 1471 bbl/d at field condition.
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
6 4
o
e>
3
2 Cycle 5
0 3
1
Cycle 2
Cycle 6
Cycle I
Cycle 4
Cycle 3
0
0,00 0.10 0.20 0,30 0.40 0.50 0.60 0.70 0.80 0.90 1.00
Horizontal well length, fraction of total length
Fig. 5.13 - Model steam zone profile for horizontal well at reservoir base
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
100
8
§
a
s
1o,
O
E
6
3
u
• Data
— Model
Time, min
Fig. 5.14 - Cumulative oil production: model results and data for horizontal well at reservoir base
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
450
400
350
o 300
S 250
200
R 150
100
— Model
□ Data
Time, min
Fig. 5.15 - Cumulative water production: model results and data for horizontal well at reservoir base
76
Fig. 5.16 - Average temperatures : model results and mid-well data for horizontal well at reservoir base
oo
<N
00
o o
«o o o o
<N
^ ‘siniBJsdmax
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
77
OO
s©
Fig. 5.17 - Calculated oil production rate for horizontal well at reservoir base
<N
00
SO
0.14
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
78
OO
Fig. 5.18 - Calculated water production rate for horizontal well at reservoir base
OO
o o o o
0.40
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
900
800
700
TD
£ 600
trj
§
2 500
ao
•a
| 400
2
a
§ 300
200
100
Time, month
Fig. 5.19 - Calculated field equivalent oil production rate for horizontal well at reservoir base
^4
80
rs
Fig. 5.20 - Calculated field equivalent water production rate for horizontal well at reservoir base
00
00
o oo O oo o
3000
CS <N «r>
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
81
wellbore, while in the mid-reservoir height the steam zone only reaches up to 45% o f the
wellbore length.
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission
6.50
Cycle 5
6.00 +
Cyc le 3 Cycle 4
5.50 + Cycle 7
r>
Cycle 6
a3 5.00
2 :
u
c
n 4.50--
4.00 + Cycle 2
Cycle 1
3.50 +
3.00
0.0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1.0
Vertical well, fraction of total length
QO
Fig. 5.22 - Cumulative oil production: model results and data for vertical well
00
o o oN
< O ©
«o
oo ‘uoijsnpoid \io um 3
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
84
OO
Fig. 5.23 - Cumulative water production : model results and data for vertical well
VO
00
o o o
o
o o
o
CN
oo ‘joibav um o
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
85
OO
Fig. 5.24 ■Average temperatures : model results and mid-well data for vertical well
'O
00
o o © o © o o
OO VO CN o 00
J o ‘3JnjBJ3dUI3X
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
86
o OO
s© o
0.12
o o
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
87
00
00
o
CN
o
o
600
00 sO CN
o o o o o o o o o
D3S/03 pojd
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
88
oe
Fig. 5.27 - Calculated field equivalent oil production rate for vertical well
00
© o © © o © ©
© o
009!
CN
© o00 o o
CN
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
89
oe
Fig. 5.28 - Calculated field equivalent water production rate for vertical well
OO
so
o o o o
1400
00
2
CM
p/iqq ‘ajBJ pojd
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
90
CHAPTER VI
6.2 Conclusions
1. A new analytical model to describe cyclic steam performance using horizontal wells
and vertical wells has been developed. The model consists o f two sub-models, a sub
model for the injection period and a sub-model for the soaking and production periods.
2. Experimental results indicate that during the steam injection period, the temperature
near the heel o f a horizontal well is higher than that towards the toe. This observation
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
91
implies that the steam zone is largest near the heel, becoming smaller towards the toe.
The shape o f the steam zone is like a cone, as borne out by temperature data and the
analytical model.
3. For cyclic steam injection in horizontal wells, there is a minimum steam injection rate
below which the steam will not reach the toe o f the well even at long injection times.
4. Scaled-up results indicate that for a 330 ft long horizontal well at mid-reservoir height
steam will only reach about 40% o f the well length after injecting at about 3536
CWEBPD/well for 88 days. The corresponding peak oil rate is 130 STB/D. For the
same injection rate, with the horizontal well at reservoir base, steam reaches the toe of
the well with a peak oil production o f 796 STB/D.
6.3 Recommendations
The findings from this study appear to have significant application in industry. It is
therefore recommended to conduct further research using a larger physical model than
used in this study to better simulate and model steam displacement o f the wellbore
contents in horizontal wells.
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
92
NOMENCLATURE
h = reservoir thickness, ft
= enthalpy o f vaporization, Btu/lb
hfg
K =
formation conductivity, Btu/hr-ft-°F
Lr = length o f reservoir, ft
Lm = length o f model, ft
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
p pressure, psia
rt = casing radius, cm
AS r = ( Soi - Sor)R
AS m = ( S 0i - S or) \ f
t = time, sec
T = temperature, °F
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
94
P viscosity, cp
Subscripts
K1 =
model
R =
reservoir
s =
steam
o —
oil
H' —
water
V = indices for segment number and time step number
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
95
REFERENCES
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
96
14. Chung, K.H., Butler, R.M.: “Geometric Effect o f Steam Injectionon the Formation o f
Emulsions in the Steam-assisted Gravity Drainage Process ”, J. Can. Petr. Tech. (Jan.
1988) 27, 36-42.
15. Toma, P., Redford, D., Livesey, D.: “The Laboratory Simulation o f Bitumen
Recovery by Steam Stimulation o f Horizontal Wells”, WRI-DOE Tar-Sand
Symposium, Vail, Colorado, June 26-29, 1984.
16. Ahner P.F., Sufi A.H.: “Physical Model Steamflood Studies Using Horizontal
Wells ”, paper SPE/DOE 20247 presented at the SPE/DOE Seventh Symposium on
Enhanced Oil Recovery, Tulsa, April 22-25, 1990.
17. Joshi S.D.: “A Laboratory Study o f Thermal Oil Recovery Using Horizontal Wells,”
paper SPE/DOE 14916 presented at the SPE/DOE Fifth Symposium on Enhanced
Oil Recovery, Tulsa, April 20-23, 1986.
18. Rial, R.M.: “3D Thermal Simulation Using a Horizontal Wellbore for
Steamflooding”, paper SPE 13076 presented at the 1984 Annual Technical
Conference, Houston, 16-19 September.
19. Keenan, H.J. and Keyes, F.G.: Thermodynamic Properties o f Steam, John Wiley &
Sons, New York, 1936.
20. Prats, M.: Thermal Recovery, SPE Monograph Vol. 7, SPE, Dallas, 1986.
21. Thomas, G. W.: “Approximate Methods for Calculating the Temperature
Distribution during H ot Fluid Injection”, J. Can. Petr. Tech. (Oct. -D ec. 1967) 123-
129.
22. Carslaw, H. S., Jaeger, C.: Conduction o f Heat in Solids, Oxford at the Clarendon
Press, London, 1959.
23. Bird, R. B., Stewart, W . E., Lightfoot, E. N.: Transport Phenomena, John Wiley &
Sons, New York, 1960.
24. Honarpour M., Koederizz, L.F., Harvey, H.A.,: “Empirical Equations for Estimating
Two-Phase Relative Permeability in Consolidated Rock”, J. Petr. Tech. (Dec. 1982)
2905-2908.
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
97
APPENDIX A
The average temperature, , o f the heated region is calculated at any time after
the termination o f steam injection. The equation is based on approximate energy balance
around the heated region. The equation is derived as follows.
T„ = rR+(r,- T , ) f c ; ( l - S ) - s } .................................................................................(A. 1 )
v r is the conduction correction for energy loss radially away from the heated region,
and is given by:
“re BrV J * { y )d y
Vr = 2 j ------- ^ £ U L , ................................................................................................... (A.2)
o y
where 9 r =
rh~
Vr = g 2 s S* ......................................................................................................................(A.3)
k=0
where
\
1 {k + 1.5)
.........................................................................................(A.4)
< 9 j(2 + *X3+*)J ‘
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
98
h 1 l4 a (t-e j ( r.2 V
vr = e r f l -ex p -(A.5)
lo /4 a (/-0 j V
•(A.6)
.(A.7)
2 ,? x rt '-(pC)XF( r , - T R)hI '
H f is the rate o f heat loss by producing fluid. Depends o f type o f the liquid produced, it
is calculated as follows.
For the case where negligible gas and water vapor produced:
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
99
For the case where gas and water vapor production are s ig n ificant,
Hr (A.9)
where H , = 5 .6 1 5 (p C )„ + * ,C s ( r „ - r s )
H . =5.61S/». ( * . ( / / . , H„]
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
100
APPENDIX B
HONARPOUR CORRELATIONS
£ =0.035388 -0.0 1 0 8 7 4
(B .l)
0.56556( S .) 16(S. - S „ )
1.8
1 j
k m =0.76067 ►
1~Sw, ~ S 0r y
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
101
APPENDIX C
COMPUTER PROGRAMS
Four programs were written for use in this research. These programs are
Middle.vbp, Bottom.vbp, Vertical.vbp, which were written in Visual Basic 6, and
Exp.bas which was written in Quick Basic 4.5. Programs Middle.vbp and Bottom.vbp
were used to calculate performance o f cyclic steam injection using a horizontal well at
mid-reservoir height and a horizontal well at the reservoir base. Program Vertical.vbp
was used to calculate cyclic steam performance using a vertical well. Program Exp.bas
was used to record pressure and temperature data during experiments.
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
Program MIDDLE.VBP
CYCLE = Val(Form7.Textl(0).Text)
KROM = Val(Form7.Textl(22).Text)
KRWM = Val(Form7.Textl(23).Text)
NN = CYCLE
ReDim TINJT(NN), TSOAKT(NN), TPRODT(NN)
For I = 1 To NN
TINJT(I) = Val(Form7.Textl(I).Text)
TSOAKT(I) = Val(Form 7.Textl(I + 6).Text)
TPRODT(I) = V al(Form 7.Textl(I + 12).Text)
Next I
QI = Val(Form l.Textl(0).Text)
LT = V al(Form l.Textl(l).Text)
TS = Val(Form l.Textl(2).Text)
TR = Val(Form l.Textl(3).Text)
ROS = Val(Form l.Textl(4).Text)
ROW = Val(Forml T extl(5).T ext)
CID = Val(Form l.Textl(6).Text)
COD = Val(Form l.Textl(7).Text)
HS = Val(Form l.Textl(9).Text)
POR = Val(Forml .Textl(lO).Text)
SOR = V al(Form l.TextI(l l).Text)
SWC = Val(Forml.Textl(12).Text)
CPRF = Val(Forml.TextI(13).Text)
CPO = Val(Forml.Textl(14).Text)
MUOC = Val(Form l.Textl(15).Text)
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
103
MUS = Val(Forml.Textl(16).Text)
DT = Val(Form 1.Text 1(17).Text)
• ****************** C O N S T A N T S *******************************
PI = 3.14159
'Heat Conduction Area Constant, CACON'
COND = Val(Forml.Textl(21).Text)
'Heat Taken Constant, CHTKN'
CHTKN = Val(Forml.Textl(24).Text)
'Heat conductivity reservoir,LMDRES,Btu/sec-cm-oF 2.2 btu/hr-ft-oF'
'Heat diffiisivity reservoir, ALPHRES,cmA2/sec'
'Heat conductivity to side, LMDTS,Btu/sec-cm-oF'
'Heat conductivity to back, LMDBACK,Btu/sec-cm-oF'
'Heat conduction constant to back, LMDBACK, BTU/cmA2-sec ***(=(TS-
T A)/((L/lambda))
LMDRES = 0.00002
ALPHRES = 0.01
LMDTS = 0.00000550642
LMDBACK = 0.0000035429
'ALUMINUM'
'Heat Conductivity,LMDAL,Btu/sec-cm-oF'
'Heat diffiisivity, ALPHAL,cmA2/sec'
'Length, LAL,cm'
LMDAL = 0.001086
ALPHAL = 0.9458
LAL = 0.635
End Sub
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
104
Attribute V B N am e = "Module4”
Public L, RT, RTO
Sub CHANGEUNITQ
QI = QI / 60#
L = LT * 2.54
ROS = ROS / (30.48 A 3#)
ROW = ROW / (30.48 A3#)
CID = CID * 2.54
COD = COD * 2.54
RT = CID / 2
RTO = COD / 2
ATUB = PI * (RTO A 2 - RT A 2)
IW = QI * ROW
End Sub
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
Attribute V B N am e = "Module6"
Public TINJ, SIT, TPROD, KK, O, COUNTO
Sub MAINCALC()
Form l.Hide
Form3.Show
Call Form I .HEADER
For KK = 1 To CYCLE
Form3.Textl.Text = KK
TINJ = TINJT(KK)
SIT = TSOAKT(KK)
TPROD = TPRODT(KK)
COUNTO = 1
Call Module8.0ILPROP
Call Module5 .STE AMZONE
Call Module 13.LAVG
Call Module7.SOAK
COUNTO = 0
Call Module8 .OILPROP
Call Module 1l.WATERVISC
Call Modulel4.SWINITIAL
Form4.Show
Call Form 1.GRAPH
Call Module9.PROD
Call Module 10.REMAINING
O=N
807 Next KK
Close #1
Close #2
End Sub
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
106
Attribute V B N a m e = "Module8"
Public MUO, TW
Sub OILPROP0
If COUNTO = 1 Then
TOIL = TS
Else
TOIL = TAVRG
End If
If COUNTO = 3 Then
TOIL = TCZ
TW = TOIL
End If
MUO = 10 A 15 * (TOIL A -5.9844)
End Sub
For I = 1 To N
TSIPS(I) = 0
Next I
TTOT = 0
LTOT = 0
THINJTOT = 0
THCCAP = 0
THINJMOD = 0
THCB ACK = 0
THCSIDE = 0
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
107
THCRES = 0
FACR = (DT A0.5)
For K = 2 To N
For I = 1 To K - 1
RH(K, I) = RT
Next I
Next K
For I = 1 To N
TTOT = TTOT + DT
If K K > 1 Then
If O >= I Then
HREM = HR(I) / ((O - I) + 1)
Else
HREM = 0
End If
End If
If I = 1 Then
ROS2 = ROS
HS2 = HS
If K K > 1 Then
DLL 1 = (IW * HS2 * DT) - (IW * HS2 * DT / (1 + MUS / MUO))
Else
DLL1 = (IW * HS2 * DT) - (IW * HS2 * DT / (1 + MUS / MUO))
TRW = TR
End If
DLL2 = PI * RT A 2 * (ROS2 * HS2 + CPO * (TS - TRW) - (ROS2 * HS2) / (1
+ MUS / MUO))
DL(I) = DLL1 / DLL2
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
108
LTOT = L T O T + DL(I)
QSI = ((IW / ROS2) - (PI * RT A2 * DL(I) / DT)) / (1 + MUS / MUO)
CHIN = ROS2 * HS2 * DT * QSI
GoTo 150
Else
ROS2 = ROS
HS2 = HS
End If
If K K > 1 Then
If O >= I Then
HREM = HR(K) / ((O - K) + 1)
Else
HREM = 0
End If
End If
If K = I Then
RX = RT
RY = RT
Else
RX = R H (K + 1,1)
RY = RH(K, I - 1)
End If
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
109
If K = 1 And I = I Then
C = C 1 + C2 + C3 + C4 + C5
GoTo 100
End If
If K = I Then
A1 = (0.5) * PI * DL(1) * CCONV
A2 = COND * (0.5 * PI) * CCONDB
A3 = FACR * COND * (0.5 * PI) * CCONDR
A —A1 + A2 +■A3
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
110
If CHTKN = 0 Then
C3B = 0
End If
C3 = C3A + C3B
C4 = -(DL(1) / LTOT) * CHIN - HREM
C5 = 0
C6A = -COND * 2 * (RH(K, I - 1)) * DL(1) * CCONDS
C6B = 2 * (RH(K, I - I)) * DL(1) * CCONDS
C6 = C6A + C6B
C = C1 + C 2 + C 3 + C 4 + C5 + C6
If CHTKN = 0 Then
HCRES2 = 0
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
Ill
End If
If K = I Then
Z=0
510 A = A1 + A 2 + A3 + A 4
C = C1 + C 2 + C3A + C3B + C4
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
112
End If
GoTo 100
Else
Z=0
If CHTKN = 0 Then
C3C = 0
End If
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
113
610 A = A1 + A2 + A3 + A4
C = C1 + C 2 + C 3 + C 4 + C6
If Z = 1 Then
GoTo 620
End If
RX = RRI
If CHTKN = 0 Then
HCRES2 = 0
End If
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
HCSIDE = HCSIDE 1 + HCSIDE2
End If
TSIPS(K) = TSIPS(K) + (DL(K) / LTOT) * QSI * DT
If I = N Then
Form3.MSFlexGridl.Col = 0
Form3.MSFlexGridl.ROW = N - K + 1
Form3 .MSFlexGrid 1.Text = I
Form3.MSFlexGridl.Col = 1
Form3 .MSFlexGridl .ROW = N - K + I
Form3.MSFlexGridl.Text = K
Form3.MSFlexGridl.Col = 2
Form3.MSFlexGridl .ROW = N - K + 1
Form3.MSFlexGridl.Text = Round(RH(K, I), 6)
Form3.MSFlexGridl.Col = 4
Form3.MSFlexGridl.ROW = N - K + 1
Form3.MSFlexGridl.Text = Round(THINJSEGT(K), 3)
Form3.MSFlexGridl.Col = 5
Form3.MSFlexGridl.ROW = N - K + 1
Form3.MSFlexGridl.Text = Round(THCVRES(K), 3)
Form3.MSFlexGridl.Col = 6
Form3 .MSFlexGridl .ROW = N - K + 1
Form3.MSFlexGridl.Text = Round(THCOND(K), 3)
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
115
THINJTOT = IW * DT * HS2
End If
Next K
10 Next I
10000
End Sub
TAREAR = 0
TOTVOL = 0
AREAV = 0.5 * PI * (RH(1, N » A 2
For I = 1 To N
AREAR = PI * RH(I, N) * DL(I)
TAREAR = TAREAR + AREAR
VTOT = 0.5 * PI * RH(I, N) A 2 * DL(I)
TOTVOL = TOTVOL + VTOT
Next I
RAVG = TAREAR / (PI * LTOT)
RAVRG = (TOTVOL / (0.5 * PI * LTOT)) A 0.5
VAVRG = PI * RAVRG A2 * LTOT * 0.5
Form 11.Show
End Sub
Call Module2.VRCALC
Call Module3.VZCALC
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
116
TW = TAVRG
If 60 <= TW And TW < 80 Then
MUW = (TW - 60) * (0.88 - 1.15) / 20 + 1.15
GoTo 71
End If
If 80 <= TW And TW < 100 Then
MUW = (TW - 80) * (0.68 - 0.88) / 20 + 0.88
GoTo 71
End If
If 100 <= TW And TW < 120 Then
MUW = (TW - 100) * (0.57 - 0.68) / 20 + 0.68
GoTo 71
End If
If 120 <= TW And TW < 140 Then
MUW = (TW - 120) * (0.45 - 0.57) / 20 + 0.57
GoTo 71
End If
If 140 <= TW And TW < 160 Then
MUW = (TW - 140) * (0.39 - 0.45) / 20 + 0.45
GoTo 71
End If
If 160 <= TW And TW < 180 Then
MUW = (TW - 160) * (0.35 - 0.39) / 20 + 0.39
GoTo 71
End If
If 180 <= TW And TW < 200 Then
MUW = (TW - 180) * (0.3 - 0.35) / 20 + 0.35
End If
71
End Sub
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
117
Form2.Show
VWINT1 = 0
VWINJC1 = 0
VWI = 0
'*** CALCULATE TOTAL WATER INJECTED,VWI @ CYCLE ***
For I = 1 To N
VWI = VWI + VWTPS(I)
Next I
RE = 6.35
SE = 0.05
'Vol Moveable Water in the Channel=VMWIC
VMWIC = SE * (1 - SOR - SWC) * VPOR
'Water Saturation for water Production'
SWQW = SWC + VMWIC / VPOR
If KK = 1 Then
SWIN = SWQW
COUNT =1
Call Module 15.KROKRW
KRWQW = KRW
VMOISZ1 = (1 - SWC - SOR) * VPOR - VMWIC
Else
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
VMOISZ1 = (1 - SWC - SOR) * VPOR - VMWIC - TOTOILPROD
VMWISZ1 = (1 - SWC - SOR) * VPOR - VMOISZ1
SWIN = SWC + VMWISZ1 / VPOR
End If
End Sub
ReDim TQO(N)
ReDim TQW(N)
M U W C = 1.0825
PR = Val(Form7.Textl(20).Text)
PW = VaI(Form7.Textl(21).Text)
CW = 3 * 10 A-6
CG = 1 / PR
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
119
CT = 0.965 * CW + 0.035 * CG
DV = QI * TINJ
V = (500 * (2.54 A3)) * POR
DP = DV / (V * CT)
PR1 = PR + DP
JJ = TPROD / DTP
For J = 1 To JJ
RW = RTO
COUNTO = 0
TOIL = TAVRG
C 1A = Log(RAVRG / RW)
C1B = Log(RE / RW)
Cl =C1A/C1B
C2A = Log(RE / RAVRG)
C2B = Log(RE / RW)
C2 = C2A / C2B
If KRO = 0 Then
JBAR = 0
RWO = 0
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
120
GoTo 4
End If
TQW H = QW * DTP
TOTQW = TOTQW1 + TQWH
Form9.Show
If J = JJT h en
Form9.Print J, TAVRG, TOTQO, TOTQW, KRW, KRO, MUO, MUW, JBAR
End If
Print #2, J, TAVRG, TOTQO, TOTQW, SWX, KRW, KRO, QOH, QW, RWO,
JBAR, JCS, PR1, TCZ, HFCZT, HFCZ, RAVRG, LTOT
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
121
COUNT = 0
Next J
PR = PR1
TCOLD = TCZ
VWIREM = 0 * (VWI - TOTQW)
If VWIREM < 0 Then
VWIREM = 0
End If
ReDim HR(N)
HRTOT = 0
For I = I To N
HR(I) = 0.5 * PI * (RAVRG A 2) * DL(I) * CPRF * (TAVRG - TR)
HRTOT = HRTOT + HR(I)
Print #1,1, TAVRG, HR(I), HRTOT
Next I
End Sub
MUWC = 1.0825
COUNTO = 3
Call Module8 .OILPROP
MUOW = MUO
KS = Val(Form7.Textl(19).Text)
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
122
End Sub
'HONARPOUR CALCULATION
KRW1 = 0.035388 * ((SWX - SWC) / (1 - SWC - SOR))
KRW2 = 0.010874 * ((SWX - SOR) / (1 - SWC - SOR)) A 2.9
KRW3 = 0.56556 * (SWX A 3.6) * (SWX - SWC)
KRW = KRW1 - KRW2 + KRW3
NORMALIZED KRO
SWXX = SWC
KROl = 0.76067 * (((I - SWXX) / (1 - SWC) - SOR) / (1 - SO R ))A 1.8
K R 02 = ((1 - SWXX - SOR) / (1 - SWC - SO R))A 2
K R03 = 2.6318 * POR * (1 - SOR) * (1 - SWXX - SOR)
CNORM = KROl * KR02 + KR03
End Sub
Attribute VB Name = "Module 17"
Public SWW
Sub SWCAL0
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
123
VOP = TQOH
VMOISZ = VMOISZ1 - TOTQOH
VMWISZ = (1 - SOR - SWC) * VPOR - VMOISZ
SWW = SWC + VMWISZ / VPOR
End Sub
DELTA 1 = THF
DELTA2 = HBAR * PI * RAVRG A 2 * CPRF * (TS - TR)
DELTA = DELTA 1 / DELTA2
End Sub
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
c
124
SK2 = SK2 + SK
SKI = ((-1 / TETAR) * (K + 1.5) / ((2 + K) * (3 + K))) * SK
SK = SKI
Next K
VR = (1 / TETAR) * SK2
10
End Sub
Z1 = 2 * IW * HS * TINJT(KK)
Z2 = PI * RAVRG A 2 * CPRF * (TS - TR)
ZZ = Z1 / Z2 - LTOT
XI = 4 * ALPHRES * (SIT)
X2 = (XI / (PI * HBAR A 2)) A 0.5
X3 = Exp(-HBAR A 2 / X I)
A1 = 0.0705230784
A2 = 0.0422820123
A3 = 0.0092705272
A4 = 0.0001520143
A5 = 0.0002765672
A6 = 0.0000430638
X = H B A R /(X I A0.5)
Y 1 = ( 1 + A 1 * X + A 2 * X A2 + A 3 * X A3 + A 4 * X A4 + A 5 * X A 5 + A 6 * X A6)
A 16
Y = 1 -(1 / Yl ) + 0.0000003
VZ = Y - X2 * (1 - X3)
TETAZ = ALPHRES * SIT / (HBAR / 2)
End Sub
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
Attribute VB Name = "Modulel8"
Public PR1
Public Sub PRCALCO
CW = 3 * 10 A-6
CG = 0.2
CT = 0.965 * CW + 0.035 * CG
DV = QI * TINJ
V = (500 * (2.54 A 3)) * POR
DP = DV1 /(V * CT)
PR1 = PR + DP
End Sub
A1 = 0.0705230784
A2 = 0.0422820123
A3 = 0.0092705272
A4 = 0.0001520143
A5 = 0.0002765672
A6 = 0.0000430638
X = NU
Y1 = (1 + A1 * X + A2 * X A2 + A3 * X A 3 + A4 * X A 4 -f- A5 * X A 5 + A6 *
6) A 16
Y = 1 -(1 / Y l) + 0.0000003
If KK = 1 Then
TC = TR
Else
TC = TCZ
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
126
End If
T = (TAVSZ - TC) * (1 - Y) + TC
TDX = TDX + T * DLCZ
Next I
121 TCZ = TDX / ( L - LTOT)
TCZ1 =T C Z
End Sub
SITCZ = J * DTP
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
127
DELTA 1 = HFCZT
DELTA2 = H1CZ1
DELTA = DELTA 1 / DELTA2
End Sub
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
128
Program Bottom.vbp
CYCLE = Val(Form7.Textl(0).Text)
KROM = Val(Form7.Textl(40).Text)
KRWM = Val(Fonn7.Textl(41).Text)
KS = Val(Form7.Textl(37).Text)
NN = CYCLE
ReDim TINJT(NN), TSOAKT(NN), TPRODT(NN)
ReDim TST(NN), HST(NN)
ReDim ROST(NN)
For I = 1 To NN
TINJT(I) = VaI(Form7.Textl(I).Text)
TSOAKT(I) = Val(Form7.Textl(I + 6).Text)
TPRODT(I) = Val(Form7.Textl(I + 12).Text)
TST(I) = VaI(Form7.Textl(I + 18).Text)
HST(I) = Val(Form7.Textl(I + 24).Text)
ROST(I) = Val(Form7.Textl(I + 30).Text)
Next I
QI = Val(Forml.Textl(0).Text)
LT = ValCForml.Textl(l).Text)
TR = Val(Forml.Textl(3).Text)
ROW = Val(Fonnl.Textl(5).Text)
CID = Val(Form 1.Textl (6).Text)
COD = Val(Forml.Textl(7).Text)
POR = Val(Forml.Textl(10).Text)
SOR = V al(Form l.T extl(l l).Text)
SWC = Val(Forml.Textl(12).Text)
CPRF = Val(Form 1.Textl (13).Text)
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
129
CPO = Val(Forml.Textl(14).Text)
MUOC = Val(Forml.Text 1(15).Text)
MUS = Val(Forml.Textl(16).Text)
DT = Val(Form l.Textl(17).Text)
• ****************** C O N S T A N T S *******************************
PI = 3 .14159
LMDRES = 0.00002
ALPHRES =0.01
LMDTS = 0.00000550642
LMDBACK = 0.0000035429
'ALUMINUM'
'Heat Conductivity,LMDAL,Btu/sec-cm-oF’
’Heat diffusivity, ALPHAL,cmA2/sec’
’Length, LAL,cm’
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
130
LMDAL = 0.001086
ALPHAL = 0.9458
LAL = 0.635
End Sub
ReDim HR(N)
ReDim HRR(N)
HRTOT = 0
For I = 1 To N
HRR(I) = PI * (RAVRG A2) * DL(I) * CPRF * (TAVRG - TR)
HRTOT = HRTOT + HRR(I)
HR(I) = 0.25 * HRR(I)
' Print #1,1, TAVRG, HR(I), HRTOT
Next I
End Sub
TW = TAVRG
If 60 <= TW And TW < 80 Then
MUW = ( T W - 60) *(0 .8 8 - 1.15)/20 +1.15
GoTo 71
End If
If 80 <= TW And TW < 100 Then
MUW = (TW - 80) * (0.68 - 0.88) / 20 + 0.88
GoTo 71
End If
If 100 <= TW And TW < 120 Then
MUW = (TW - 100) * (0.57 - 0.68) / 20 + 0.68
GoTo 71
End If
If 120 <= TW And TW < 140 Then
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
131
End Sub
MUWC = 1.0825
JCS = 2 * PI * KS * KRO * LTOT I (MUOC * Log(RE / RW))
End Sub
For I = 1 To N
AREAR = 2 * PI * RH(I, N) * DL(I) * 0.25
TAREAR = TAREAR + AREAR
VTOT = 0.25 * PI * RH(I, N) A2 ♦ DL(I)
TOTVOL = TOTVOL + VTOT
Next I
RAVG = TAREAR / (2 * PI * LTOT * 0.25)
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
132
Forml l.Show
End Sub
Form2.Show
VWINT1 = 0
VWINJC1 = 0
VWI = 0
'*** CALCULATE TOTAL WATER INJECTED,VWI @ CYCLE ***
VWI = QI * TINJT(KK)
' *** TOTAL W TR INJCTD = WTR INJCTD @ CYCLE + WTR INJCTD
REMAINING ***
If K K > 1 Then
VWI = VWI + VWIREM
End If
RE = 12.7
VBULK = 0.25 * PI * RE A 2 * LTOT
VPOR = VBULK * POR
'SWEEP EFFICIENCY, SE
SE = 0.035
If KK = 1 Then
SWIN = SWQW
COUNT =1
Call Module 15.KROKRW
KRWQW = KRW
VMOISZ 1 = (1 - SWC - SOR) * VPOR - VMWIC
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
133
Else
VMOISZ 1 = (1 - SWC - SOR) * VPOR - VMWIC - TOTOILPROD
VMWISZ 1 = (1 - SWC - SOR) * VPOR - VMOISZ1
SWIN = SWC + VMWISZ 1 / VPOR
End If
Form l 1.Print VAVRG, VPOR, VS, VC, VOC, SWIN, SOIN, SW INl, VWI
End Sub
Attribute VB Name = "Module 15"
Public KRO, KRW, SWX
Sub KROKRWO
I f COUNT = I Then
SWX = SWIN
Else
SWX = SWW
End If
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
134
DELTA 1 = THF
DELTA2 = 2 * HBAR * PI * RAVRG A 2 * CPRF * (TS - TR)
DELTA = DELTA 1 / DELTA2
End Sub
CW = 3 * 10 A-6
CG = 1 / PR
CT = 0.965 * CW + 0.035 * CG
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
135
For I = 1 To 100
NU = (I * DLCZ) / ((4 * ALPHRES * SIT) A 0.5)
'ERROR FUNCTION CALCULATIONS - from Abramowitz & Stegun'
'Y = ERF(HBAR/(X1A0.5)'
A1 = 0.0705230784
A2 = 0.0422820123
A3 = 0.0092705272
A4 = 0.0001520143
A5 = 0.0002765672
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
136
A6 = 0.0000430638
X = NU
Y 1 = ( 1 + A 1 * X - f A2 * X a 2 + A 3 * X a 3- f A4 * X a 4 + A 5 * X a 5 + A 6 * X a
6) A 16
Y = 1 - (1 / Yl ) + 0.0000003
If KK = 1 Then
TC = T R
Else
TC = TCZ
End If
T = (TAVSZ - TC) * (1 - Y) + TC
TDX = TDX + T * DLCZ
Next I
If L = LTOT Then
TCZ = TAVRG
GoTo 505
End If
505
End Sub
If J = 1 Then
H1CZ1 = H1CZ
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
137
End If
SITCZ = J * DTP
TETAR = ALPHRES * SITCZ / (RAVRG A 2)
If TETAR >= 0.02 And TETAR <= 0.025 Then
VR = 0.92 + (((TETAR - 0.025) / 0.005) * (-0.03))
GoTo 10
End If
If TETAR < 0.02 Then
VR = 0.95 + (((TETAR - 0.02) / 0.02) * (-0.05))
GoTo 10
End If
SK = 0.25
SK2 = 0#
For K = 1 To 300
SK2 = SK2 + SK
SKI = ((-1 / TETAR) * (K + 1.5) / ((2 + K) * (3 + K))) * SK
SK = SKI
Next K
VR = (1 / TETAR) * SK2
10
VZ= 1
DELTA 1 = HFCZT
DELTA2 = H1CZ1
DELTA = DELTA1 / DELTA2
Attribute V B N am e = "ModuIe22"
Sub ENDWELL0
For J = II To N
For K = J To 1 Step -1
If K > II Then
RH(K, J) = 0
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
138
GoTo 11
End If
If K = II Then
A = A l + A2 + A3 + A4
C = C1 + C 2 + C 3 + C 4 + C5
RH(K, J) = (-B + ( B A2 - 4 * A * C ) A0.5) / (2 * A)
GoTo 11
End If
If K. = 1 Then
A1 = 0.25 * PI * DL(1) * CCONV
A2 = COND * (0.25 * PI) * CCONDB
A3 = FACR * COND * (0.25 * PI) * CCONDR
A = A1 + A2 + A3
C = C1 + C 2 + C 3 + C 4 + C5
GoTo 11
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
139
End If
C = C1 + C 2 + C3 + C 4 + C5
Next J
End Sub
Z1 = 4 * IW * HS * TINJT(KK) + HRTOT
Z2 = PI * RAVRG A 2 ♦ CPRF * (TS - TR)
ZZ = Z1 / Z2 - LTOT
HBAR = ZZ + LTOT
XI = 4 * ALPHRES * (SIT)
X2 = (XI / (PI * HBAR A 2 ))A 0.5
X3 = Exp(-HBAR A 2 / X I)
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
140
A1 = 0.0705230784
A2 = 0.0422820123
A3 = 0.0092705272
A4 = 0.0001520143
A5 = 0.0002765672
A6 = 0.0000430638
X = H B A R /(X I A 0.5)
Y1 = (1 + A1 * X + A2 * X A 2 + A3 * X A 3 + A4 * X A4 + A 5 * X A5 + A6 * X A 6)
A 16
Y = 1 -(1 / Yl ) + 0.0000003
VZ = Y - X 2 * (1 -X 3)
TETAZ = ALPHRES * SIT / ((HBAR / 2) A 2)
End Sub
QI = QI / 60#
L = LT * 2.54
ROW = ROW / (30.48 A 3#)
CID = CID * 2.54
COD = COD * 2.54
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
141
RT = CID / 2
RTO = COD / 2
ATUB = PI * (RTO A2 - RT A 2)
IW = QI * ROW
End Sub
For I = 1 To N
TSIPS(I) = 0
Next I
TTOT = 0
LTOT = 0
THINJTOT = 0
THCCAP = 0
THINJMOD = 0
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
THCBACK = 0
THCSIDE = 0
TH C R ES= 0
FACR = (D T A 0.5)
For K = 2 To N
For I = 1 To K - 1
RH(K, I) = RT
Next I
Next K
For I = 1 To N
TTOT = TTOT + DT
If K K > 1 Then
If O >= I Then
HREM = HR(I) / ((O - 1) + 1)
Else
HREM = 0
End If
End If
If I = 1 Then
ROS2 = ROS
HS2 = HS
If K K > 1 Then
DLL1 = (IW * HS2 * DT) - (TW * HS2 * DT / (I + MUS / MUO))
TRW = TR
Else
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
143
GoTo 150
Else
ROS2 = ROS
HS2 = HS
End If
Call Module22.ENDWELL
GoTo 10000
End If
LTOT1 = LTOT
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
144
If K K > 1 Then
If O >= I Then
HREM = HR(K) / ((O - K) + 1)
Else
HREM = 0
End If
End If
If K = I Then
RX = RT
RY = RT
Else
RX = R H (K + 1 ,1)
RY = RH(K, I - 1)
End If
If K = 1 And 1 = 1 Then
C = C1 + C 2 + C3 + C 4 + C5
RRI = ( - B + ( B A2 - 4 * A * C ) A 0.5) / (2 * A)
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
145
1Heat Balance
' THINJSEG = HCVRES +- HCBACK + HCRES + HCSIDE
GoTo 100
End If
If K = 1 Then
A1 = 0.25 * PI * DL(1) * CCONV
A2 = COND * (0.25 * PI) * CCONDB
A3 = FACR * COND * (0.25 * PI) * CCONDR
A = A1 + A 2 + A 3
If CHTKN = 0 Then
C3B = 0
End If
C3 = C3A + C3B
C4 = -(DL(1) / LTOT) * CHIN - HREM
C5 = 0
C6A = -COND * 2 * (RH(K, I - 1)) * DL(1) * CCONDS
C6B = 2 * (RH(K, I - 1)) * DL(1) * CCONDS
C6 = C6A + C6B
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
146
C = C1 + C 2 + C 3 + C 4 + C5 + C6
If CHTKN = 0 Then
HCRES2 = 0
End If
If K = I Then
Z=0
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
147
510 A = A 1 + A 2 + A3 + A4
C = C1 + C 2 + C3A + C3B + C4
RRI = (-B + (B A 2 - 4 * A * C) A 0 . 5 ) / ( 2 * A)
RX = RRI
If Z = I Then GoTo 520
If RRI > RH(K - 1 , 1 - 1 ) Then
Z= I
RX = R H (K - 1 , 1 - 1 )
A4 = 0
C3B = -FACR * CHTKN * COND * (0.5 * PI) * (RX A 2 - RT A 2) *
CCONDR
GoTo 510
End If
GoTo 100
Else
Z=0
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
148
If CHTKN = 0 Then
C3C = 0
End If
610 A = A 1 + A 2 + A 3 + A4
C = C1 + C 2 + C 3 + C 4 + C6
IfZ = 1 Then
GoTo 620
End If
RX = RRI
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
149
If CHTKN = 0 Then
HCRES2 = 0
End If
End If
TSIPS(K) = TSIPS(K) + (DL(K) / LTOT) * QSI * DT
If I = N Then
Form3.MSFlexGridl.Col = 0
Form3 .MSFlexGrid 1.ROW = N - K + 1
Form3.MSFlexGridl .Text = I
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
150
Form3.MSFlexGridl .Text = K
Form3.MSFlexGrid 1.Col = 2
Form3 .MSFlexGrid 1.ROW = N - K + 1
Form3.MSFlexGridl .Text = Round(RH(K, I), 6)
Fonn3.MSFlexGridl.Col = 3
Form3.MSFIexGridl .ROW = N - K + 1
Fonn3.MSFlexGrid 1.Text = Round(LTOT, 4)
Forai3.MSFlexGrid 1.Col = 4
Form3 .MSFlexGrid 1.ROW = N - KL+ 1
Form3.MSFIexGridl.Text = Round(THINJSEGT(K), 3)
Form3.MSFlexGrid 1.Col = 5
Form3.MSFlexGridl.ROW = N - KL+ I
Form3.MSFlexGrid 1.Text = Round(THCVRES(K), 3)
Form3.MSFlexGrid 1.Col = 6
Form3.MSFlexGridl.ROW = N - K + 1
Form3.MSFlexGridl.Text = Round(THCOND(K), 3)
Form3.MSFlexGrid 1.Col = 7
Form3.MSFlexGridl.ROW = N - K + 1
Form3.MSFlexGrid 1.Text = Round(VWTPS(K), 3)
THINJTOT = IW * DT * HS2
Print # 1 ,1, K, DL(K), RH(K, I)
End If
Next K
10
Next I
10000
End Sub
Sub MAINCALC()
'*****OPEN OUTPUT FILES*****'
F0UT1S = Forml.Textl(22).Text
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
151
Form 1.Hide
Form3.Show
CaU Form 1.HEADER
HRTOT = 0
For KK = 1 To CYCLE
Form3.Textl .Text = KK
TINJ = TINJT(KK)
SIT = TSOAKT(KK)
TPROD = TPRODT(KK)
TS = TST(KK)
HS = HST(KK)
ROS = ROST(KK)
'CHANGE UNIT ROS lb/cuft to lb/cc
ROS = ROS / (30.48 A 3#)
COUNTO =1
Call ModuIe8.0ILPROP
Call Module5 .STEAMZONE
Call Module 13.LAVG
Call Module7.SOAK
COUNTO = 0
Call Module8 .OILPROP
Call Module 14. S WINITIAL
Form4.Show
Call Module9.PROD
Call Module 10.REMAINING
0 =N
807 Next KK
Close #1
Close #2
End Sub
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
152
Attribute V B N a m e = "Module7"
Public TAVRG, ZZ, TRH
Sub SOAKO
STTOT = 0
Call Module2.VRCALC
Call Module3.VZCALC
If KK = 1 Then
TRH = TR
Else
TRH = TAVRG
End If
808
End Sub
If COUNTO = 1 Then
TOIL = TS
Else
TOIL = TAVRG
End If
If COUNTO = 3 Then
TOIL = TCZ
End If
End Sub
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
153
ReDim TQO(N)
ReDim TQW(N)
PR = Val(Form7.Textl(38).Text)
PW = Val(Form7.Textl(39).Text)
CW = 3 * 10 A -6
CG = 1 / PR
CT = 0.965 * C W + 0.035 * CG
DV = QI * TINJ
V = (500 * (2.54 A 3)) * POR
DP = DV / (V * CT)
PR1 = PR + DP
SWW = SWIN
JJ = TPROD / DTP
For J = 1 To JJ
RW = RTO
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
154
COUNTO = 0
TOIL = TAVRG
C 1A = Log(RAVRG / RW )
C1B = Log(RE / RW)
Cl =C1A/C1B
C2A = Log(RE / RAVRG)
C2B = Log(RE / RW)
C2 = C2A / C2B
If KRO = 0 Then
RWO = 0
GoTo 4
End If
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
QW = (QW1 / QW2) * 0.25
TQWH = QW * DTP
TOTQW = TOTQW 1 + TQWH
TOTQW1 = TOTQW
Form9.Show
If J = TPROD Then
Form9.Print J, TAVRG, TOTQO, TOTQW, KRW, KRO, JBAR, RAVRG, 0.25
HRTOT
End If
Print #2, J, TAVRG, TOTQO, TOTQW, SWX, KRW, KRO, QOH, QW, RWO,
JBAR, JCS, PR1, TCZ, LTOT, L, LTOT, RAVRG, 0.25 * HRTOT
COUNT = 0
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
156
Next J
PR = PR1
TCOLD = TCZ
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
157
Program VERTICAL.VBP
For I = 1 To NN
Print TINJT(I), TSOAKT(I), TPRODT(I)
Next I
Call Module4.CHANGEUNIT
Call Module6.MAINCALC
End Sub
QI = QI / 6 0 #
L = LT * 2.54
ROS = ROS / (30.48 A 3#)
ROW = ROW / (30.48 A 3#)
CID = CID * 2.54
COD = COD * 2.54
CPRF = CPRF / (30.48 A 3)
CPO = C P O /(30.48 A3)
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
158
End Sub
Form 1.Hide
Form3.Show
Call Form 1.HEADER
For KK = 1 To CYCLE
Form3.Textl .Text = KK
TINJ = TINJT(KK)
SIT = TSOAKT(KK)
TPROD = TPRODT(KK)
COUNTO = 1
Call ModuIe5.STEAMZONE
Call Module 13.RAVG
Call Module7.SOAK
Call Module 14.SWINITIAL
Form4.Show
Call Module9.PROD
Call Module 10.REMAINING
0 =N
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
159
807 Next KK
Close #1
Close #2
End Sub
'CALCULATE TAU'
TAU = (4 * ALPHRES * TINJ) / (L A 2)
’TET A=(RO*C)ob/(RO*C)rf
TETA = 1
SI = T A U / T E T A
rPSI=(EXP(S 1)*erfc(S 1)+(2/(PIA.5))*(S 1A.5)-1)*TETA
End Sub
X = (S1 A0.5)
A1 = 0.0705230784
A2 = 0.0422820123
A3 = 0.0092705272
A4 = 0.0001520143
A5 = 0.0002765672
A6 = 0.0000430638
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
160
End Sub
RAVRG = RH
Form 11.Show
Form l 1.Print RAVRG, AREAV
End Sub
STTOT = 0
Call Module2.VRCALC
Call Module3.VZCALC
End Sub
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
161
End If
If TETAR < 0.02 Then
VR = 0.95 + (((TETAR - 0.02) / 0.02) * (-0.05))
GoTo 10
End If
SK = 0.25
SK2 = 0#
For K = 1 To 300
SK2 = SK2 + SK
SKI = ((-1 / TETAR) * (K + 1.5) / ((2 + K) * (3 + K))) * SK
SK = SKI
Next K
VR = (1 / TETAR) * SK2
10
End Sub
Z1 = IW * HS * TINJT(KK)
Z2 = PI * RAVRG A 2 * CPRF * (TS - TR)
ZZ = Z1 / Z2 - L
HBAR = ZZ + L
XI = 4 * ALPHRES * (SIT)
X2 = (X I / (PI * HBAR A 2)) A 0.5
X3 = Exp(-HBAR A 2 / X I)
AI =0.0705230784
A2 = 0.0422820123
A3 = 0.0092705272
A4 = 0.0001520143
A5 = 0.0002765672
A6 = 0.0000430638
X = H B A R / ( X I A0.5)
Y 1 = ( 1 + A 1 * X + A 2 * X A2 + A 3 * X A3 + A 4 * X A4 + A 5 * X A5 + A 6 * X A6)
A 16
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
162
Y = 1 -(1 / Y l ) + 0.0000003
VZ = Y - X 2 * (1 -X3)
TETAZ = ALPHRES * SIT / (HBAR / 2)
End Sub
Form2.Show
COUNTO = 1
COUNT = 1
Call Module8,OILPROP
Call Module 1 l.WATERVISC
VWINT1 = 0
VWINJC1 = 0
VWI = QI * TINJ
If K K > 1 Then
VWI = VWI + VWIREM
End If
VBULK = PI * RAVRG A 2 * L
VPOR = VBULK * POR
VS = VBULK * POR * (1 - 0.15 - 0.15)
MS = VS * ROS
VC = MS / ROW
VOC = VS - VC
VOIN = (MUW / (MUO + MUW)) * VOC
VWIN = (MUO / (MUO + MUW)) * VOC
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
163
End Sub
RE = 1 . 02 * RAVRG
DTP = 1
F o r J = l ToTPRO D
RW = RTO
COUNTO = 0
TOIL = TAVRG
Call Module8.0ILPROP
MUOH = MUO
Call Module 1 l.WATERVISC
Call Module 15.KROKRW
C 1A = Log(RAVRG / RW)
C1B = Log(RE / RW)
Cl = C 1 A / C 1 B
C2A = Log(RE / RAVRG)
C2B = Log(RE / RW)
C2 = C2A / C2B
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
164
End If
RWO = (K R W /K R O ) * (M U O H /M U W )
QW = QOH * RWO
If KRO = 0 Then
QW1 = 2 * PI * KS * KRWM * L * (PR - PW) / 14.7
QW2 = MUW * C IA + MUWC * C2A
QW = (QW1 / QW2) * 0.25
End If
TQWH = QW * DTP
TOTQW = TOTQW + TQWH
Form9.Show
If J = TPROD Then
Form9.Print J, TAVRG, TOTQO, TOTQW, KRW, KRO, MUO, MUW, JBAR
End If
Print #2, J, TAVRG, TOTQO, TOTQW, SWX, KRW, KRO, QOH, QW, RWO,
JBAR, JCS
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
165
End Sub
TOIL = TAVRG 1
Call Module8-OILPROP
Call Module 1 l.WATERVISC
If COUNTO = 1 Then
TOIL = TS
Else
TOIL = TAVRG
End If
MUO = 10 A 15 * (TOIL A -5.9844)
End Sub
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
166
TW = TAVRG
If 60 <= TW And TW < 80 Then
MUW = (TW - 60) * (0.88 - 1.15) / 20 + 1.15
GoTo 71
End If
If 80 <= TW And TW < 100 Then
MUW = (TW - 80) * (0.68 - 0.88) / 20 + 0.88
GoTo 71
End If
If 100 <= TW And TW < 120 Then
MUW = (TW - 100) * (0.57 - 0.68) / 20 + 0.68
GoTo 71
End If
If 120 <= TW And TW < 140 Then
MUW = (TW - 120) * (0.45 - 0.57) / 20 + 0.57
GoTo 71
End If
If 140 <= TW And TW < 160 Then
MUW = (TW - 140) * (0.39 - 0.45) / 20 + 0.45
GoTo 71
End If
If 160 <= TW And TW < 180 Then
MUW = (TW - 160) * (0.35 - 0.39) / 20 + 0.39
GoTo 71
End If
If 180 <= TW And TW < 200 Then
MUW = (TW - 180) * (0.3 - 0.35) / 20 + 0.35
End If
71
End Sub
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
167
Program EXP.BAS
i * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
NRL = 1
PCIB.ERR = 0
PCIB.ERRS = STRJNG$(64, 32)
PCIB.NAMES = STRING$(16, 32)
PCIB.GLBERR = 0
CALL DEFERR(PCIB.ERR, PCIB.ERR$, PCIB.NAMES, PCIB.GLBERR)
PCIB.BASERR = 255
ON ERROR GOTO 99
GOTO MNEMONICS
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
■uoissjiujad jnoifflM paijqmojd u o jpnp ojdaj ja q p n j jauMo p6pAdoo a q p o uoissiuuad qjiM paonpcuday
## d n - i3 s m ^ a o o ^ d a N 3 ## ,
im M M m ttn m m H M M m m itffliitm m H iw iH H m M v w m tiitittittm im itt ,
1800001 = ^ a a v H
i/,00001 = WT1N3
1900001 = SSVd3
i£0000I = TH 133
ifrOOOOI = 3WLL3
i £00001 = 30N V H 3
i£0000I = 3 3 S 3
i 100001 = NMONXNT13
0 = tfHSON
3STV3XO N = 3 n U I
0 = 3S3V 3
:S3INOW3NW
dO lS
$!THH‘8I3d -„:'HOUa3., INTHd
,,0 3 1 3 3 1 3 0 ,, •'ffd S d m 9I*dH„ INTHd
■ffdSQlOaiDd = HH33W1 N 3 H 1 0 = HH33JAJ1 31
U H 3'8I3d = >T H 3dm
^ o 'a r a s a n
dO lS
$ 9 H 3 9 I3 d :HOHHH„ INTHd
„03H H n330„ -HH3 # 90>TH3 3ISVH., INIHd
^ o n n a a n 0 1 0 0 n s h i ^ r a a s v a a o d = t t h s 31 66
:'a330NVHa0"H93
891
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
^qonnnonoo
t^t^t^t^SSt^t^trjtrl
C ' ^O O^
O' “"ss J'OwO.' '/■^w—SU
J r N— ' s «-*' W
/-“ *N / " N
i ^ W MVh\
' s -/
/~ S
^
f j
s I
- Q ' O 0 0 x l O \ U i A W M ' - O ,t
170
TIMES = "00:00:00"
CLS
CALL IORESET(ISC)
TIMEOUT = 1!
CALL IOTIMEOUT(ISC, TIMEOUT)
CALL IOCLEAR(ISC)
CALL IOREMOTE(ISC)
CODESS = "SISOIVA1VD5VF1VSO”
LENGTH = LEN(CODES$)
CALL IOOUTPUTS(DEV, CODESS, LENGTH)
SCREEN 9
WIDTH 80, 43
VIEW PRINT 1 TO 43
LOCATE 43, 2
PRINT" 0 30 60 90 120 150 180"
LOCATE 43, 3
PRINT" TIME (MIN)
LOCATE 40, 2
PRINT "0"
LOCATE 3 1, 2
PRINT "55"
LOCATE 22, 1
PRINT "110"
LOCATE 13, I
PRINT "165"
LOCATE 5, 1
PRINT "220"
LOCATE 2, 2
PRINT "oF MIN PSI SQD T1 T2 T3 T5 T8"
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
171
TIMER ON
CODESS = "AC20VR3"
LENGTH = LEN(CODES$)
CALL IOOUTPUTS(DEV, CODESS, LENGTH)
CALL IOENTERA(DEV, SEG S2!(l), MAXI, ACTUAL)
S2!(l) = S2!(l) * TCAL!
CODESS = "AC21VR5"
LENGTH = LEN(CODESS)
CALL IOOUTPUTS(DEV, CODESS, LENGTH)
CALL IOENTERA(DEV, SEG S l!(l), MAXI, ACTUAL)
SI 1(1) = S1!(I) * PCAL!
TSEC! = TIMER
TMIN! = TSEC! / 60!
LOCATE 3 ,2
PRINT U SIN G " ####.## ##.## ###.## ###.## ###.## ###.## ###.##
###.##"; TMIN!; S l!(l); S2!(l); TCTEMP!(1); TCTEMP!(2);
TCTEMP!(3); TCTEMP!(5); TCTEMP(8)
1800 LOCATE 42, 66
PRINT TIMES
NBL = NBL + 1
SOUND 800, 1
END IF
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
172
' tiiM ttM iiitiiiiim m m iiiiiiiifittfttiffm fftiitm M tiM iM iiiittim m uittm jm uttM
' ## MEASURE AND STORE READINGS ##
READPT:
CODESS = "AC20VR3"
LENGTH = LEN(CODES$)
CALL IOOUTPUTS(DEV, CODESS, LENGTH)
CALL IOENTERA(DEV, SEG S2!(l), MAXI, ACTUAL)
S 2!(l) = S2!(l) * TCAL!
CODESS = "AC21VR5"
LENGTH = LEN(CODES$)
CALL IOOUTPUTS(DEV, CODESS, LENGTH)
CALL IOENTERA(DEV, SEG S l!(l), MAXI, ACTUAL)
S l!(l) = S l!(l) * PCAL!
CALL TEMP
LOCATE 3, 2
PRINT USING" ####.## ##.## ###.## ###.## ###.## ###.## ###.##
###.##"; TMIN!; Sl!(l); S2!(l); TCTEMP!(1); TCTEMP!(2);
TCTEMP!(3); TCTEMP!(5); TCTEMP!(8)
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
173
NRL = 1
GOTO 2200
END IF
GOTO 2100
2200 GS = GS + 1
GOTO 1500
DEFSNGA-Z
SUB TEMP
DIM LENGTH AS INTEGER
DIM V 2!(l), RCOLD!(5)
R0# = -.00000075004344#
R l# = .0000505321995#
R2# = 2.348050017D-08
P0# = -.3595568424#
P I# = 19750.87948#
P2# = -175116.5425#
P 3 # = 18212965.58#
P4# = -2831128435#
P5# = 271508383300#
P6# = -13801412100000#
P7# = 379243843260000#
P8# = -5371925517000000#
P9# = 3.0840255439D+16
i
CODESS = "AC39VR5VN1"
LENGTH = LEN(CODES$)
CALL IOOUTPUTS(DEV, CODESS, LENGTH)
CALL IOENTERA(DEV, SEG RCOLD!(l), MAXI, ACTUAL)
TCOLD# = RCOLD!(l) * 10!
V I ! = R0# + TCOLD# * (R l# + TCOLD# * R2#)
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
174
CODESS = "AF22AL31ASVR5VN1"
LENGTH = LEN(CODES$)
FORI = 1 TO 10
CALL IOOUTPUTS(DEV, CODESS, LENGTH)
CALL IOENTERA(DEV, SEG V2!(l), MAXI, ACTUAL)
V! = V I! + V 2!(l)
P79# = P7# + V! * (P8# + V! * P9#)
P56# = P5# + V! * (P6# + V! * P79#)
P34# = P3# + V! * (P4# + V! * P56#)
P12# = PI# + V! * (P2# + V! * P34#)
T l# = P0# + V! * P12#
TCTEMP!(I) = INT(T1# * 100! + .5) / 100!
NEXT I
END SUB
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.
VITA
Parents: R. Achmadi
R. Supami
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.