Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
MSc Thesis
by
Dvid Kiss
MASTER OF SCIENCE
in Petroleum Engineering
09 May 2014
Table of contents
1
Acknowledgment ........................................................................................................... 4
Summary........................................................................................................................ 5
Introduction ................................................................................................................... 6
4.1
4.2
4.3
4.4
4.5
4.6
4.7
5.1.1
5.1.2
5.1.3
5.1.4
5.2
5.2.1
5.2.2
5.2.3
5.2.4
5.2.5
Flares ............................................................................................................. 20
6.2
6.3
6.3.1
6.3.2
6.3.3
Nitrogen ................................................................................................................ 27
7.2
Introduction ........................................................................................................... 28
2
8.2
8.3
8.4
8.4.1
8.4.2
8.4.3
8.5
8.5.1
8.5.2
8.5.3
8.5.4
8.5.5
8.6
Simulation ............................................................................................................. 40
8.6.1
8.6.2
8.6.3
8.6.4
8.7
9
Conclusion ................................................................................................................... 58
10 Appendices .................................................................................................................. 59
11 References ................................................................................................................... 65
1 Acknowledgment
This thesis was written as a final part of my two long years to acquire a Master of Science
degree in Petroleum Engineering at the University of Miskolc. I am deeply grateful to
Tibor Szabo PhD (faculty adviser), Lszl Katona (Mol Plc) and Rbert Hermn (field
adviser), and thanks them for all the help and guidance I received during the whole
semester. Furthermore, I would like to thanks for my professors, namely to: Imre Federer
PhD, Gbor Takcs PhD, Zoltn Turz PhD, Tibor Bdi PhD, Elemr Bobok PhD, Anik
Tth PhD who taught me during the four semesters and I acquired a lot of knowledge from
them. Finally I would like to thanks for Dr Kjell Kre Fjelde who sent me the
underbalanced program and ron Esztergomi who helped me on programming.
2 Summary
Nowadays the Under Balanced Drilling (UBD) is increasing rapidly because of the
increasing nonconventional hydrocarbon field drilling where the reservoir permeability
should be Very Low. With the underbalanced drilling operation, the formation damage
should be avoided by the underbalanced fluid circulation. In the underbalanced drilling
theoretical background I dealt with the reason of the underbalanced drilling. I characterized
the underbalanced drilling advantages and disadvantages where the technology
applicability and limitation appeared such as the technology limitation at deep, high
pressure, high permeable well and the weak formation problem.
In my work I examined one wells underbalanced drilling suitability at Mezsas
Nyugat field. The Mezsas - Nyugat field has Very Low permeability, high pressure
bearing hydrocarbon reservoir where - during the field life - the overbalanced drilling
process caused formation damage at the wells which was the reason of low production rate.
I used underbalanced simulation program for one well simulation of Mezsas - Nyugat
field. The program was sent to me by Dr Kjell Kre Fjelde, who takes the UBD modeling
lesson in the Norwegian University of Stavanger. I made modification in the program for
my well optimization. I built-in the program one friction factor equation for the applied
mud rheology, one productivity index equation for gas influx simulation and I modified the
gas density calculation which is based on the Ppay gas deviation factor. In my work I
examined the effect of increasing openhole depth which causes increasing gas influx, and
decreasing Circulating Bottom Hole Pressure (CBHP).For the simulation of this effect I
built - in the program for cycle. The for cycle can modify some parameter parallel with
the increasing openhole depth such as the gas influx, pore pressure and Well Head Pressure
(WHP). During the simulated data the given well of Mezsas - Nyugat field gave a good
result at Very Low permeability layer, but at Low - High permeability layer the simulation
result gave unacceptable value. During the simulation I recognized that underbalanced
condition is not suitable at Low - High permeable formation where the reservoir is
overpressurized gas bearing reservoir. With this simulation I can simulate the amount of
gas influx, the Circulating Bottom Hole Pressure (CBHP) and the effect of liquid flow rate,
mud density, annulus diameter, well head pressure. With this simulation the expected
events can be examined at underbalanced condition, which can occur in UBD field
operation.
5
3 Introduction
Every technological improvement is started by a technological problem as we can see
at the Underbalanced Drilling (UBD). Nowadays more and more Underbalanced Drilling
Operations (UBO) is used worldwide to reduce wellbore formation damage problems. At
the UBD, the Circulating Bottom Hole Pressure (CBHP) is less than the effective near bore
formation pore pressure opposite the overbalanced drilling process. For these reasons,
during the UBO when the bit penetrates into the reservoir, hydrocarbon enters into the
borehole immediately and the influx hydrocarbon is flowing by the pumped mud. Finally
the mud-influx-cut mixture is separated with the surface separator equipment. Because of
the underbalanced operation the first barrier, namely the hydrostatic pressure of fluid
column is less than the pore pressure, new well control procedures are needed and other
technological equipment which will be dealt with the many advantages of UBD in the
further sections.
One of the main reasons of the UBD is to improve reservoir productivity by eliminating
reservoir damage caused by drilling fluids and filtrate migration into the reservoir.
Reduction of the skin factor is the main justification for UBD.
Some problem can be eliminated by the underbalanced drilling operation for example: to
eliminate fluid loss and to avoid other pressure related drilling problems such as
differential stuck pipe. During the underbalanced condition the penetration rate is higher
than at the overbalanced condition.
The underbalanced drilling can be used for reservoir characterizing whilst drilling. The
reservoir productivity features can be identified during the process. Parallel to the drilling,
well trajectories and well lengths can be modified.
The underbalanced drilling is used to reduce formation damage at the pay zone. At the
underbalanced drilling process the Circulating Hydrostatic Bottom Hole Pressure (CBHP)
is less than the reservoir pressure. At the underbalanced drilling the well is designed to
allow the reservoir fluid to flow to the surface whilst drilling. This method is used at the
target zone.
The performance drilling is used at fractured layers where total fluid loss occurs. This is
the original air drilling technique. This technology ensures to achieve maximum
penetration rates and reduce the well bore pressure to a minimum possible value.
The managed pressure drilling is used to exactly manage and control the annular
bottomhole pressure as close as possible to the reservoir pressure. It is usable where higher
pressure drawdown can cause high inflow into the borehole which cannot be handled.
MPD is also used where there are very narrow margins between formation pore pressure
and formation fracture pressure. (Kenneth, 2007)
The choke pressure: it is applied at the surface with the help of choke manifold, the
applied choke pressure depends on the circulation fluid density, circulation friction
pressure and the drawdown that we want to apply between the effective circulating
bottomhole pressure and the reservoir pressure.
The pressure is controlled all the times and ensures to maintain flow control whilst drilling.
Reduce formation damage: No invasion of solids or mud filtrate into the reservoir
formation. The Very Low permeability and porosity zones at overbalanced drilling
may never be properly cleaned up, which can result unproductive pay zone.
Early production: After the bit penetrates into the reservoir the well start to produce
hydrocarbon. It had to be noticed that the inflow can be a disadvantage if the
produced hydrocarbon cannot be handled.
Enhanced recovery: During the operation there is no invasive fluid and the pay
zone remains without damage, which cause enhances recovery.
10
No fluid losses: Whiles the hydrostatic pressure is less than the formation pressure
at the borehole there is no loss circulation.
Increased drilling costs: Due to the additional equipment and crew, the drilling fee
is higher than the overbalanced drilling.
Utility of conventional Measure While Drilling (MWD) systems: The high gas
voids fraction cause compressibility and the fluid cant transmit the MWD signal.
String weight is increase: Due to the lighter fluid the buoyance is small.
Possible excessive borehole corrosion: The nitrogen generation system leaves some
oxygen with the compressed nitrogen which should cause corrosion.
Wellbore stability: The weak formation can collapse because of the low hydrostatic
pressure, for these reasons it is very important to prevent formation from collapse
while drilling. The following in equation: Pcollapse Phydrostatic Ppore.
Flow control and safety problem: Deep, high pressure and highly permeable wells
can be problematic due to the well control and the separation limitation
Flaring of produced gas: Some government environment protection does not always
contribute to the flaring of the produced gas.
11
12
13
Six 950 scft/min feed air compressors deliver 5700 scft/min of air at 350 psi.
The low pressure boosters raise this pressure from 350 psi to 1800 psi.
The final high pressure booster raises this pressure from 1800 psi to 4000 psi into
the standpipe.
14
15
16
Active
The active rotating diverters use external hydraulic pressure to activate the sealing
element, and these types of active diverters increase the sealing pressure as the annular
pressure increases.
Passive
The passive rotating diverters use a mechanical seal. The sealing action activated
by well bore pressure. During the planning process the RCD equipment have to be chosen
with the following consideration:
17
The selection criterion for rotating diverters is mainly based on expected static and
dynamic pressures. During the Weatherford suggestion currently there are four types of
rotating equipment which are suitable for high pressure applications. These are:
Shaffer PCWD
Williams 7100
RBOP
The presented RBOP 5K rotating control diverter systems are suitable until 3500 psi
with rotating at 200 rpm whiles the maximum static pressure can be 5000 psi and during
tripping it can be 2500 psi. The latest manufactured of rotating control diverters is
compatible with top drive. (Weatherford, 2006)
Contain enough back up lines which could substitute any part of fail manifold.
18
The choke manifold should be designed to handle the maximum expected volumes
from the well (4-inch minimum piping) equipped with dual chokes (one hydraulic and the
other manual). This redundancy allows that one choke is operating while the other is
isolated and maintained. During the planning the proper piping and flow control at surface
must be developed. Without this, the system can become a hazard to the overall surface
control system. (Weatherford, 2006) (Eng.Abd El, 2012)
fluid and solid particles fall into the bottom of the separator while the gas continuously
came out from the liquid phase. Predominantly the cuttings settle at the bottom of the
vessel, where it can be removed. The liquids and gases are also separated by their density
differences. The gas locates at the top of the separator, the oil at the middle position and
the water between the oil and the solid particle. Each material is continuously led from the
separator and the equipment also mounted on the same choke and safety equipment that I
detailed at the horizontal separator.
5.2.5 Flares
While we are drilling underbalanced, hydrocarbons are produced which have to be
handled on the drilling location. The crude oil and condensate are stored; the gas is
normally flared whilst drilling. Those places where the government or environment
protection prohibited the flaring, gas re-compression and export injection can be
considered. There are two ways for the gas flaring: one of them is the flare pit the other is
the flare stack. Both flare pit and flare stack must be equipped with an automatic ignition
system and flame propagation blocks. During the planning one of the most important is the
equipment layout because of the noxious fumes, radiated heat, noise and flammable gas.
20
21
stability, corrosion, drilling BHA, data transmission, surface fluid handling and separation,
formation lithology, health and safety, environment impact and fluid source availability.
22
23
24
25
26
Nitrogen
Natural Gas
7.1 Nitrogen
During the UBD the nitrogen is used more times to lighten the circulating fluid
column in underbalanced drilling operations. Nitrogen is an odorless, colorless, and
tasteless gas which creates 78 % of the Earth atmosphere. Nitrogen is non-toxic, nonflammable and noncorrosive. It has very low solubility in water and hydrocarbons.
Nitrogen does not tend to form hydrate complexes or emulsions.
27
8.1 Introduction
During the literature research I contacted with Dr Kjell Kre Fjelde, who takes the
computational reservoir and well modeling lesson in the Norwegian University of
Stavanger at the Department of Petroleum Engineering. (Fjelde) He sent me underbalanced
modeling lesson note and a Matlab code that I used in my thesis. During my work I made
some modification into the Matlab code for my well optimization. I built-in friction factor
model into the program for the appropriate mud friction factor calculation, which is the
power law model correlation. I also modified in the program the gas density model.
(Turz) The other built-in equation is the productivity index equation. (Bdi, 2007) This is
created for the gas inflow simulation during the underbalanced operation which is mainly
based on the open pay zone length and permeability. The other effective parameter is the
pressure different between the reservoir pressure and the Circulating Bottom Hole Pressure
(CBHP) that should be controlled with the Rotating Control Diverter (RCD), liquid flow
rate and with the mud density. I considered some parameters constant in the productivity
index equations, such as the wellbore radius and drainage radius. During the simulation I
used over pressurized reservoir which is based on real well data that I used from Mezsas Nyugat field. During the data analysis I established that only one liquid circulation is
appropriate for the drilling because the Circulating Bottom Hole Pressure (CBHP) will be
less than the formation pressure. This process is beneficial both economically and
technologically. On the other hand, special compressor station and N2 generation unite are
not necessary.
28
Furthermore, for the solution of the problem, horizontal well was drilled, but it wasnt so
effective either. Because of the formation bad facies, trap weak porosity, permeability and
the listed historical facts, underbalanced drilling can be the best solution considering the
growth of production. The other necessary condition is the formation strength which is
appropriate for the underbalanced operation because the hydrocarbon bearing reservoir is
conglomerate which strength is suitable for this operation.
29
bar/m
0.0470
0.0823
0.0979
0.1176
0.1411
>0.1411
1
2
4
4
4
5
1
2
3
3
3
5
1
2
4
4
4
5
1
1
2
4
5
5
LOW
MODERAT E
RISK
RISK
HIGH
RISK
1 - Gas Drilling
2 - Mist Drilling
3 - Foam Drilling
4 - Gasified Liquid Drilling
5 - Liquid Drilling
30
The Mezsas Nyugat field reservoir is Sweet gas reservoir and the reservoir pressure
gradient is 0.168 bar / m which falls into the high risk zone and during the numbering I
chose mud circulation for the simulation.
31
0 to 80 bar
80 to 155 bar
Managable
>283.100
Pressure
Range 1 = 50% RCD dynamic rating.
Range 2 = 50% to 90% of the RCD dynamic rating.
Surface Flow Rates
Range 1 = 60% of the separator system flow rate capacity or the upper erosion limit.
Range 2 = 60% to 90% of the separation system flow rate capacity or the upper erosion
limit. Erosional velocity is normally taken as 54 m/min
Once a baseline trend of flow rates and pressure have been established, any change
or deviation from trends in fluid returns, annular bottomhole pressure readings or standpipe
pressure should be investigated with other surface data and the necessary course of action
should be decided if well control procedures have to be activated.
32
Depending on the changes observed and other information available, three possible
actions are likely, and using traffic light colors makes the matrix easily understandable. In
the Mezsas Nyugat fields UBD simulation I also used these recommendations:
green
yellow
red
reservoir risk
aplied fluid system
surface pressrue lim.
accepted influx rate
high risk
mud
34
141.500
bar
Nm3/day
33
Figure 13: The simplified well geometry with plotted pressure gradient line
34
% density:
% welldepth
% preservoir
% openhole
% prealsurface
kg/m3,
m
bar
m
bar
for i=(0:13),
density = 1520;
welldepth = 2620 + i*10;
preservoir= 440 + i*0.21;
boxlength = welldepth/nobox;
openhole = 0 + i*10;
prealsurface = (1 + i*2)*10^5;
%prealsurface = 3*10^5;
[pbot,error] = itsolver(nopoints,boxlength,welldepth,gasrate,liquidrate);
end
35
( (
))
Where:
Qg = gas flow rate, m3/s
k
= permeability to gas, m2
= Reservoir pressure, Pa
= Reservoir temperature, K
g = gas viscosity, Pa s
z
= deviation factor, -
re
rw
= wellbore radius, m
36
Where:
Y=
2.4 0.2X
g = gas viscosity, cp
= pressure, psia
= temperature, R
37
= actual temperature, K
= density, kg/m3
(Turz), (Ppay)
38
Reynolds number
Laminar flow:
Turbulent flow
= friction factor,-
Re = Reynolds number,n
39
For the friction factor model I used the following mud data (Jim Friedheim, 2005):
Shear strain
600
106
300
62
200
46
100
29
PV
44
YP
18
Figure 14: Mud rheology
8.6 Simulation
During the Weatherford suggestion I did permeability sensitivity investigation. I
regarded 34 bar pressure range for the expected maximum RCD pressure range. However
the Weatherford Williams 7100 Rotating Head can handle the pressure until 80 bar
pressure rate but at the applied fluid system the suggested maximum surface pressure rate
is 34 bar. The planned well openhole section is 130 m between 2620 m TVD depth and
2750 m TVD depth. I built in the program one simulation method which simulates the
influx parallel with the increase depth at constant permeability. There is more option for
Circulating Bottom Hole Pressure (CBHP) modification which can be also modified in the
simulation:
40
10000
1000
100
10
1
0,1
0,01
2600
2650
2700
2750
2800
TVD (m)
41
In the next data table some data was given by measurement or estimation because
of the lack of information. The drainage radius was given by bisection of well distance
between two wells. The well distance was measured on the field scale map. The collapse
pressure gradient wasnt given in the field data, for this reason, I gave one acceptable value
for the simulation which can be the appropriate pressure gradient for the formation. I
started the simulation from 1500 kg/m3 mud density which can give approximately 30 bar
pressure drainage between the pore pressure and the Circulating Bottom Hole Pressure
(CBHP). The mud flow rate was 600 l/min in the first simulation. If the simulated result
wasnt satisfactory regarding the Weatherford suggestion, I modified the RCD pressure,
liquid rate and the mud density.
Top of form.
TVD
Bottom of form. TVD
Open hole
7" Casing in. diamater
3 1/2" Drillpie out. diamater
6" Drill bit diamater
Drainage radius
Wellbore radius
Collaps presssure grad
Reservoir pressure grad
Gas pressure grad
Fracture pressure grad
Thermal gradient
Temperature sc.
Planed mud density
Planed flow rate
CH4 density sc.
CH4 relative density
2620,0000
m
2750,0000
m
130,0000
m
0,1661
m
0,0889
m
0,1524
m
400,0000
m
0,0762
m
0,1200 bar/m
0,1680 bar/m
0.0210 bar/m
0,1900 bar/m
5,6700 C/100m
15,0000
C
1500,0000 kg/m3
600,0000
l/min
0,7170 kg/m3
0,6000
-
42
m
0
10
20
30
40
50
60
70
80
90
100
110
120
130
bar
314
316
317
318
319
320
322
323
324
325
326
328
329
330
CBHP
pore
fracture
RCD
permeablity
bar
412
412
410
351
410
412
410
408
410
411
406
408
403
405
bar
440,0
440,2
440,4
440,6
440,8
441,1
441,3
441,5
441,7
441,9
442,1
442,3
442,5
442,7
bar
498
500
502
504
505
507
509
511
513
515
517
519
521
523
bar
3
3
3
3
3
3
3
3
3
3
3
3
3
3
mD
0.05
0.05
0.05
0.05
0.05
0.05
0.05
0.05
0.05
0.05
0.05
0.05
0.05
0.05
influx
m3/day
1 641
2 096
7 900
4 638
5 605
6 495
9 914
11 029
12 066
13 028
13 912
14 720
15 450
Figure 17: Very Low, 0.05 mD permeability pay zone without any intervention
43
m
0
10
20
30
40
50
60
70
80
90
100
110
120
130
bar
314
316
317
318
319
320
322
323
324
325
326
328
329
330
CBHP
pore
fracture
RCD
permeablity
bar
412
409
407
402
398
393
388
383
372
368
363
352
347
342
bar
440,0
440,2
440,4
440,6
440,8
441,1
441,3
441,5
441,7
441,9
442,1
442,3
442,5
442,7
bar
498
500
502
504
505
507
509
511
513
515
517
519
521
523
bar
3
3
3
3
3
3
3
3
3
3
3
3
3
3
mD
0.1
0.1
0.1
0.1
0.1
0.1
0.1
0.1
0.1
0.1
0.1
0.1
0.1
0.1
influx
m3/day
2 174
4 946
9 400
12 234
14 917
21 769
29 775
44 114
43 110
53 789
84 956
70 592
83 658
Figure 18: Very Low, 0.1 mD permeability pay zone without any intervention
44
Very Low, 0.1mD permeability pay zone with increasing RCD pressure:
Because of the chance of the bottomhole collapse, I did the simulation one more
time with increasing RCD pressure. During the simulation I increased the RCD pressure
with decreasing openhole section. With this modification the bottomhole pressure
remained large enough for the openhole stability.
m
0
10
20
30
40
50
60
70
80
90
100
110
120
130
bar
314
316
317
318
319
320
322
323
324
325
326
328
329
330
CBHP
pore
fracture
RCD
permeablity
bar
410
408
407
406
404
403
402
400
399
398
397
395
394
393
bar
440,0
440,2
440,4
440,6
440,8
441,1
441,3
441,5
441,7
441,9
442,1
442,3
442,5
442,7
bar
498
500
502
504
505
507
509
511
513
515
517
519
521
523
bar
1
2
3
4
5
6
7
8
9
10
11
12
13
14
mD
0.1
0.1
0.1
0.1
0.1
0.1
0.1
0.1
0.1
0.1
0.1
0.1
0.1
0.1
influx
m3/day
2 014
4 211
6 624
9 159
11 914
14 957
17 973
21 228
24 754
28 355
31 997
35 781
39 855
Figure 19: Very Low, 0.1mD permeability pay zone with increasing RCD pressure
45
Very Low, 0.2 mD permeability pay zone with increasing RCD pressure:
At 0.2 mD permeability simulation I increased the RCD pressure range parallel the
increased openhole section. The RCD pressure reached the pressure limitation at 130 m
openhole section for this reason I did this simulation again with the liquid rate
modification.
m
0
10
20
30
40
50
60
70
80
90
100
110
120
130
bar
314
316
317
318
319
320
322
323
324
325
326
328
329
330
CBHP
pore
fracture
RCD
permeablity
bar
410
406
402
397
393
387
382
377
373
370
368
367
367
367
bar
440,0
440,2
440,4
440,6
440,8
441,1
441,3
441,5
441,7
441,9
442,1
442,3
442,5
442,7
bar
498
500
502
504
505
507
509
511
513
515
517
519
521
523
bar
1
4
6
9
11
14
16
19
21
24
26
29
31
34
mD
0.2
0.2
0.2
0.2
0.2
0.2
0.2
0.2
0.2
0.2
0.2
0.2
0.2
0.2
influx
m3/day
4 348
9 681
16 190
24 103
33 452
43 537
54 698
66 222
77 854
89 345
99 523
108 909
116 978
Figure 20: Very Low, 0.2mD permeability pay zone with increasing RCD pressure
46
Very Low 0.2 mD permeability pay zone with increasing RCD pressure and increased
1000 liter/min. flow rate:
At 0.2 mD permeability pay zone and with 600 liter/min mud flow rate the well is
manageable with the help of RCD, which reached the suggested surface pressure
limitation. For this reason I modified the liquid flow rate up to 1000 liter/min. At this
interaction during the simulated data, the well is remained safe, regarding both RCD
pressure, gas influx and collapse problem.
m
0
10
20
30
40
50
60
70
80
90
100
110
120
130
bar
314
316
317
318
319
320
322
323
324
325
326
328
329
330
CBHP
pore
fracture
RCD
permeablity
bar
419
419
419
419
418
418
417
415
413
410
408
405
402
400
bar
440,0
440,2
440,4
440,6
440,8
441,1
441,3
441,5
441,7
441,9
442,1
442,3
442,5
442,7
bar
498
500
502
504
505
507
509
511
513
515
517
519
521
523
bar
1
3
5
7
9
11
13
15
17
19
21
23
25
27
mD
0.2
0.2
0.2
0.2
0.2
0.2
0.2
0.2
0.2
0.2
0.2
0.2
0.2
0.2
influx
m3/day
2 923
6 487
10 399
14 756
34 474
25 947
33 147
44 153
51 632
63 246
77 978
89 805
102 395
Figure 21: Very Low, 0.2mD permeability pay zone with increasing RCD pressure and increasesd 1000l/min flow
rate
47
Low, 1mD permeability pay zone with increasing RCD pressure and increased 1500
l/min. mud rate:
However, the Mezsas - Nyugat field reservoir permeability is Very Low - which is
based on research data - it may occur that this well will contain Low or Moderate
permeable pay zone. For this reason I examined the wells behavior at Low permeability
value. At 1 md, the well became uncontrolled opposite the increased flow rate and the
increased RCD pressure. The well influx was more than the Weatherford suggested
limitation, and from 110 m openhole the RCD pressure exceeded the prescribed value. Due
to these facts, mud density modification can be the appropriate solution for the next
simulation.
mud density: 1500 kg/m 3
liquid rate:
1500 liter/min
TVD
openhole
collaps
m
2620
2630
2640
2650
2660
2670
2680
2690
2700
2710
2720
2730
2740
2750
m
0
10
20
30
40
50
60
70
80
90
100
110
120
130
bar
314
316
317
318
319
320
322
323
324
325
326
328
329
330
CBHP
pore
fracture
RCD
permeablity
bar
429
425
413
390
379
368
366
365
366
370
372
377
378
380
bar
440,0
440,2
440,4
440,6
440,8
441,1
441,3
441,5
441,7
441,9
442,1
442,3
442,5
442,7
bar
498
500
502
504
505
507
509
511
513
515
517
519
521
523
bar
1
4
7
10
13
16
19
22
25
28
31
34
37
40
mD
1
1
1
1
1
1
1
1
1
1
1
1
1
1
influx
m3/day
17 928
64 162
94 000
178 687
285 804
279 878
345 045
388 777
393 112
438 221
584 208
629 145
672 698
Figure 22: Low, 1 mD permeability pay zone with increasing RCD pressure and increased 1500 l/min flow rate.
48
Low, 1mD permeability pay zone with increasing RCD pressure, increased 1500
l/min. mud rate and increased 1520 kg/m3 mud density:
During the recovered data, the gas flow rate remained uncontrolled opposite the
increased flow rate, increased mud density and the increased RCD pressure. For this reason
in the next steps I plot the recovered data for the problem understanding.
mud density: 1520 kg/m 3
liquid rate:
1500 liter/min
TVD
openhole
collaps
m
2620
2630
2640
2650
2660
2670
2680
2690
2700
2710
2720
2730
2740
2750
m
0
10
20
30
40
50
60
70
80
90
100
110
120
130
bar
0
0
0
0
0
0
0
0
0
0
0
0
0
0
CBHP
pore
fracture
RCD
permeablity
bar
434
433
419
392
378
369
365
365
365
367
368
371
373
376
bar
440
440
440
441
441
441
441
441
442
442
442
442
443
443
bar
498
500
502
504
505
507
509
511
513
515
517
519
521
523
bar
1
3
5
7
9
11
13
15
17
19
21
23
25
27
mD
1
1
1
1
1
1
1
1
1
1
1
1
1
1
influx
m3/day
6 795
57 724
95 167
166 078
216 795
281 129
323 031
364 342
462 111
506 537
476 297
511 004
544 256
Figure 23: Low, 1 mD permeability pay zone with increasing RCD pressure, Increased 1500 l/min mud rate and
increased 1520kg/m3 mud density
49
Openhole vs CBHP
2600
2620
TVD(m)
2640
2660
CBHP at influx
2680
collapse
2700
pore
2720
2740
2760
300
350
400
450
Pressure (bar)
Figure 24: 0.1 mD permeability pay zone simulation, openhole depth vs. CBHP changes
50
Pressure profile
0
500
TVD (m)
1000
annulus
1500
collapse
fracture
pore
2000
2500
3000
0
100
200
300
400
500
600
Pressure (bar)
Figure 24: 0.1 mD permeability pay zone simulation, pressure profile
51
Fluid velocity
0
TVD (m)
500
1000
1500
liquid velocity
2000
gas velocity
mixture velocity
2500
3000
0
0,5
1,5
2,5
velocity (m/s)
Mixture density
0
MD (m)
500
1000
1500
mixture density
2000
2500
3000
0
500
1000
1500
mixture density (kg/m3)
2000
52
Openhole vs FBHP
2600
2620
2640
TVD (m)
2660
CBHP at influx
2680
collapse
pore
2700
CBHP
2720
2740
2760
300
350
400
Pressure (bar)
450
500
Figure 27: 1 mD permeability pay zone simulation, openhole vs. CBHP changes
53
Pressure profile
0
500
TVD (m)
1000
collapse
1500
annulus
pore
fracture
2000
2500
3000
0
100
200
300
400
500
600
Pressure (bar)
54
Fluid velocity
0
500
TVD(m)
1000
mixture velocity
1500
gas velocity
2000
liquid velocity
2500
3000
0
10
15
20
25
30
velocity (m/s)
55
mixture density
0
500
TVD(m)
1000
1500
mixture density
2000
2500
3000
0
200
400
600
800
1000
1200
56
Based on the permeability data at the Mezsas - Nyugat field which are mostly
between Very Low Low permeability value and based on the received field data and
simulated data the Mezsas - Nyugat field can be suitable for the Underbalanced Drilling,
but for the exact decision more reservoir information, more data analysis and investigation
are needed.
57
9 Conclusion
At Low 1 mD permeability I tried to solve the influx and the surface pressure problem
with increased mud density 1520 kg/m3, increased 1500 l/min liquid rate. However the
Circulating Bottom Hole Pressure (CBHP) and gas influx decreased, but it remained in
unmanageable condition. The system reached the gas influx limitation after 30 m openhole
depth.
At Very Low permeability the gas influx is not significant beside constant 3 bar RCD,
low 600 l/min flow rate and at 1500 kg/m3 mud weight. At 0.1 mD permeability pay zone
simulation with increased RCD pressure the CBHP line followed the pore pressure line
with a 30-10 bars drawdown.
Above Very Low permeability value the gas influx becomes unmanageable. At
relatively few pressure differences (approximately 5 bar) cause huge amount of gas influx especially at increasing openhole length - which causes further CBHP decreasing. This
reason causes unmanageable condition.
For these reasons the overpressurized, Low - High permeable gas bearing reservoir is
unsuitable for the underbalanced drilling, based on simulated data and Weatherford
suggestion. Little pressure drawdown can cause huge amount of gas influx into the
borehole which became out of control and it causes hazardous and dangerous situation.
With this simulation the expected influx in the next openhole section can be predicted.
This simulation gives a good overview for the gas influx, flow rate, mud density and WHP
pressure impact. For this reason the simulation can help understand the expected events,
which can occur in field condition.
58
10 Appendices
Matlab Codes:
main.m
%
%
%
%
%
%
% All calculations are done using SI units (Pa for pressure),m3/s for
% rates.
% Here we specify the vertical depth of the well and
% and the number of boxes we want in our calulations.
% Based on this, the boxlength is found and used in the calculations.
global
global
global
global
global
global
global
global
density;
welldepth
permeability
openhole
liquidrate
prealsurface
nobox
preservoir;
% nopoints is an index array keeping track of the end point of the boxes.
%
%
%
%
Other initialisations like fluid properties and viscosties etc are done
deeper down in the code structure. Please note that you have the change
values there if you want to do changes in these routines. This is also
true for the inner/outer diameter of the annulus.
%
%
%
%
%
%
%
%
Now we will call a function that calculates the pressure along the well
for a given liquid flowrate and a gas rate. We call this function
solver because it is the zero point solver (e.g. regula falsi that
iterates until it finds the correct pressure. This solver routine again
calls upon a function "f(Pbottom)" called wellpressure. The rotine
solver actually finds the correct bottomhole pressure that makes the
function wellpressure become zero "f(Pbottom) = 0". Then we have found the correct
pressure profile.
%
%
%
%
%
INPUT variables
Rates are given in m3/s. We assume only liquid flow first.
Liquid rate is 1500 l/min. Convert to m3/s
Gas rate is in m3/min. Convert to m3/s
Permeability is given in mD
liquidrate = 1500/1000/60;
gasrate = 0/60;
nobox = 20;
permeability = 0;
nopoints = nobox+1;
59
%
%
%
%
%
%
%
%
%
density:
kg/m3,
welldepth
m
preservoir
bar
openhole
m
prealsurface bar
reservoir pressure calculation =
2620 m is the top of reservoir. The pore pressure gradient is 0.168 bar/m.
2620*0.168=440 bar
2620 m - 2750 m is gas reservoir. Gas pressure gradient is 0.21 bar/10 m
for i=(0:13),
density = 1520;
welldepth = 2620 + i*10;
preservoir= 440 + i*0.21;
boxlength = welldepth/nobox;
openhole = 0 + i*10;
prealsurface = (1 + i*2)*10^5;
%prealsurface = 3*10^5;
[pbot,error] = itsolver(nopoints,boxlength,welldepth,gasrate,liquidrate);
end
itsolver.m
function [pbot,error] = itsolver(nopoints,boxlength,welldepth,gasrate,liquidrate)
% The numerical solver implementeted here for solving the equation f(x)= 0
% "wellpressure(pbot)= 0" is called the
% Method of Halving the Interval (Bisection Method)
%
%
%
%
You will not find exact match for f(x)= 0. Maybe f(x) = 0.0001. By using
ftol we say that if f(x)<ftol, we are satisfied. Since our function
gives results in Pascal, we say that ftol = 1000 Pa gives us a quite good
answer.
ftol = 1000;
%
%
%
%
%
%
Specify the search interval". xguess is the pressure you guess for the
bottomhole. We here use hydrostic pressure of liquid in the well as our
initial guess. This is of course not nes. correct since we have gas and
friction effects in addtion. But it might be a good starting point for
the iteration. (Remember x is in Pa). 1 Bar = 100 000 Pa.
Set number of iterations to zero
noit = 0;
global density
xguess = density*9.81*welldepth;
xint =80000000;
x1 = xguess-xint/2.0;
x2 = xguess+xint/2.0;
f1 = wellpressure(x1,gasrate,liquidrate,nopoints,boxlength);
f2 = wellpressure(x2,gasrate,liquidrate,nopoints,boxlength);
% First include a check on whether f1xf2<0. If not you must adjust your
% initial search intervall. If error is 1 and zero pbot, then you must
% adjust the intervall here.
if (f1*f2)>=0
error = 1;
pbot = 0;
else
% start iterating, we are now on the track.
x3 = (x1+x2)/2.0;
f3 = wellpressure(x3,gasrate,liquidrate,nopoints,boxlength);
while (f3>ftol | f3 < -ftol)
noit = noit +1 ;
60
if (f3*f1) < 0
x2 = x3;
else
x1 = x3;
end
x3 = (x1+x2)/2.0;
f3 = wellpressure(x3,gasrate,liquidrate,nopoints,boxlength);
f1 = wellpressure(x1,gasrate,liquidrate,nopoints,boxlength);
end
error = 0;
pbot = x3;
a = x3/10^5;
global prealsurface;
global permeability;
global openhole;
global influx;
global nobox
global sumfric;
global sumhyd;
disp( sprintf('pbot: %d, (bar: %d, density: %d, permeability: %d,openhole: %d,influx: %d,welldepth:
%d,nobox: %d,sumfric: %d,sumhyd: %d)', [round(a), round(prealsurface/10^5),
density,permeability,openhole,round(influx),welldepth,nobox,round(sumfric/10^5),round(sumhyd/10^5)]));
end
wellpressure.m
function f = wellpressure(pbotguess,gasrate,liquidrate,nopoints,boxlength)
%
%
%
%
%
NB, At first stage we assume that our outlet pressure is 1 Bar (atm
pressure). This is the physical boundary condtion that we have to ensure
that out model reaches. If a choke is present. The surface pressure will
be different. It measns that if the choke pressure is 300 000 Pa then the variable below should be
set to this. You change it her:
global
global
global
global
global
global
global
global
prealsurface
sumfric;
sumhyd;
welldepth
permeability
openhole
influx
preservoir
%We now start by the deepest box with the pressure we assume: pbotguess and
% for each box, we calculate the pressure and flowrates. In the end, we end up with some surface
% rates and a surface outlet pressure. The calculated outlet surface
% pressure should equal the physical outlet condition (now 100 000 Pa). We
% can therefore define our wellpressure(pbot)=pcalcsurface-prealsurface.
% The function will be zero if the correct bottomhole pressure is found.
% Set outer/inner diameter of annulus. Define effective flowarea. Assume a
% 7" liner (ID 6.3") and a 3 1/2" drillpipe.
do = 0.166;
di = 0.0889;
flowarea = 3.14/4*(do*do-di*di);
% Specify viscosities [Pa s]. In real life they depend on pressure and temp
viscl = 0.001;
viscg = 0.0001;
% Define gas slippage parameters.
k = 1.2;
s = 0.55;
61
% gravity
g = 9.81;
% The mass rate is the same at surface/atmosphere and at bottomhole since we have steady state. This is
later
% used to find the rates at downhole conditions.
liqmassratesurf = liquidrate*roliq(100000.0);
liqmassratebhp = liqmassratesurf;
gasmassratesurfinj = gasrate*rogas(100000.0);
gasmassratebhpinj = gasmassratesurfinj*rogas(100000.0);
viscg2=0.000027;
K=(permeability/1000)*10^-12;
Tsc=17+273.15;
Psc=1*10^5;
termgradiens=5.67/100;
T=(termgradiens*welldepth)+273.15;
yg=0.6;
Tpc=103.9+183.3*yg-39.7*yg^2;
Ppc=48.69-3.566*yg-0.766*yg^2;
Tpr=T/Tpc;
Ppr=preservoir/Ppc;
z=1-((3.52*Ppr)/(10^(0.9813*Tpr)))+((0.274*Ppr^2)/(10^(0.8157*Tpr)));
PI=((3.14*openhole*K*Tsc)/(T*Psc*viscg2*z*(8.56-0.75)));
gasmassratesurfres = PI*((preservoir*10^5)^2-(pbotguess)^2);
influx = gasmassratesurfres*86400;
if (gasmassratesurfres <0)
gasmassratesurfres = 0;
end
gasmassratebhpinj = gasmassratesurfinj*rogas(100000.0);
gasmassratebhpres = gasmassratesurfres*rogas(100000.0);
gasmassratebhp = gasmassratebhpinj+gasmassratebhpres;
%
%
%
%
%
%
%
Now we loop from the bottom to surface and calculate accross all the
segments until we reach the outlet.
Define the variables needed. Initialise them first for comp efficiency.
vl - liquid vel, vg -gas velocity,
vgs,vls are superficial velocities.
eg-el - phase volume frac gas and gas
p - pressure., rhol liquid density, rhog gas density
vl = zeros(nopoints,1);
vg = zeros(nopoints,1);
vls = zeros(nopoints,1);
vgs = zeros(nopoints,1);
eg = zeros(nopoints,1);
el = zeros(nopoints,1);
p = zeros(nopoints,1);
fricgrad = zeros(nopoints-1,1);
hydgrad = zeros(nopoints-1,1);
% Before we loop, we define all variables at the inlet of the first
% segment(at bottom). As starting point we use the fact that we know the mass
% rate of the different phases (same as on top of the well)
% First find the rates in m3/s (downhole)
liquidratebhp = liqmassratebhp /roliq(pbotguess);
gasratebhp = gasmassratebhp/rogas(pbotguess);
% Find the superficial velocities
vls(1) = liquidratebhp/flowarea;
vgs(1) = gasratebhp/flowarea;
% Find Phase velocities
vg(1)
eg(1)
el(1)
vl(1)
=
=
=
=
k*(vls(1)+vgs(1))+s;
vgs(1)/vg(1);
1-eg(1);
vls(1)/el(1);
62
=
=
=
=
k*(vls(i+1)+vgs(i+1))+s;
vgs(i+1)/vg(i+1);
1-eg(i+1);
vls(i+1)/el(i+1);
sumfric = sumfric+fricgrad(i)*boxlength;
sumhyd = sumhyd+hydgrad(i)*boxlength;
end
pout = p(nopoints);
f = pout-prealsurface;
%sumfric
%sumhyd
%gasmassratesurfresinmin
%p
%el
%eg
%vg
%vl
dpfric.m
function friclossgrad = dpfric(vl,vg,el,eg,pressure,do,di)
%
%
%
%
Works for two phase flow. The one phase flow model is used but mixture
values are introduced.
calculate friction loss gradient (Pa/m)
Calculate mix reynolds number
rhol = roliq(pressure);
rhog = rogas(pressure);
romix = rhol*el+rhog*eg;
vmix = vg*eg+vl*el;
n = 0.7732751;
K = 0.4989274;
Re=(((do-di)^n)*(vmix^(2-n)))*romix/((8^(n-1))*(((3*n+1)/(4*n))^n)*K);
if Re<3250-1150*n;
fricfactor=16/Re;
else
fricfactor = 0.001;
for i=1:10,
fricfactor = (1/(((4/n^0.75)*log10(Re*fricfactor^(1-n/2)))-(0.4/n^1.2)))^2;
end
end
63
friclossgrad = 2*fricfactor*romix*vmix*abs(vmix)/(do-di);
%fricfactor
%Re
%romix
%vmix
%friclossgrad
% vl
% do
% di
% re
rogas.m
function rhog = rogas(pressure)
%I use avarage temp. for the calculation in
tk=358;
yg2=0.6;
ro=0.717;
Tpc2=103.9+183.3*yg2-39.7*yg2^2;
Ppc2=48.69-3.566*yg2-0.766*yg2^2;
Tpr2=tk/Tpc2;
Ppr2=(pressure/10^5)/Ppc2;
Z2=1-((3.52*Ppr2)/(10^(0.9813*Tpr2)))+((0.274*Ppr2^2)/(10^(0.8157*Tpr2)));
Bg = 3.52*10^-3*((Z2*tk)/((pressure/10^5)));
rhog = ro/Bg;
%rhog
%pressure
%Z2
roliq.m
function rhol = roliq(pressure)
% A simple liquid dens model wich takes into pressure varations vs. pressure
% is implemented. P0 is the atmosperic pressure. D0 is density at surface
% conditions
po = 100000;
global density
rhol = density + (pressure-po)/(1000*1000);
64
11 References
(2014). Retrieved from PetroWiki: http://petrowiki.org/Fluid_friction
Baker, H. (1999). Underbalanced Drilling Manual.
Bdi, T. P. (2007). Hidrodinamilkai ktvizsglatok alapjai. Miskolc.
Eng.Abd El, F. S. (2012). Underbalanced Drilling Of Horizontal Gas Well.
Fjelde, K. K. (n.d.). Modelling of Well Flow. Norway.
Jim Friedheim, B. H. (2005). Flat rheology drilling fluid.
Jostein, R. (2012). Managing pressure during underbalanced drilling.
Kenneth, P. M. (2007). Managed pressure drilling - What is it anyway? World Oil.
Leading, E. A. (2002). Introduction to Underbalanced Drilling.
Maurer, E. I. (1996). Underbalanced drilling and completion manual. Houston.
Mohamed, M. A. (2012). Investigation of transient scenarios in undrbalanced drilling.
Ppay, J. P. (n.d.). gas deviation factor.
Rig Train, T. D. (2001). Well Control For The Drilling Team.
Szab, T. P. (2006). Allegyenslyozott frsi technolgia folyadkainak vizsglata.
Takcs, G. P. (2012.). 2. Production Engineering Fundamentals. Miskolc.
Turz, Z. P. (n.d.). Fluidumok tulajdonsgai. Miskolc.
Weatherford. (2006). Introduction To Underbalanced Drilling.
65