0% found this document useful (0 votes)
32 views4 pages

Comp Prog Practical Exams-2022

The document contains questions for a computer programming exam. It includes questions about reservoir calculations, plotting graphs from reservoir data, and calculating drilling costs. Students are asked to write Python codes to solve reservoir engineering calculations and visualize data.

Uploaded by

Para Dise
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
32 views4 pages

Comp Prog Practical Exams-2022

The document contains questions for a computer programming exam. It includes questions about reservoir calculations, plotting graphs from reservoir data, and calculating drilling costs. Students are asked to write Python codes to solve reservoir engineering calculations and visualize data.

Uploaded by

Para Dise
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

UNIVERSITY OF MINES AND TECHNOLOGY, TARKWA

FIRST SEMESTER EXAMINATIONS, APRIL 2022


COURSE NO: PE 351
COURSE NAME: COMPUTER PROGRAMMING-PRACTICALS
CLASS: PE3 TIME: 2 HR

Name: __________________________________________ Index Number: _______________

Answer only TWO questions [40 Marks]


QUESTION 1
(a) The original oil in place (OOIP) volume estimation for a water drive reservoir discovered at
PE3 Oilfield, Ghana is given by:
7758  A  h    (1 − S wi )
N=
Boi

(ii) Write python codes with comments to calculate the acreage of the water drive reservoir
discovered at PE3 Oilfield, Ghana. [7 marks]

(ii) Use the following reservoir data obtained from the PE3 Oilfield, Ghana to test the codes written
in (i) to calculate the acreage of the water drive reservoir. [3 marks]
Swi = 30% h = 20 ft  = 25% Boi = 1.24 bbl / STB N = 660 MM STB

(b) Find the friction factors (f) for the following Reynolds numbers in the table below with the
Colebrook equation by writing python programming codes. State two comments with regards to
the friction factors (f) computed and the Reynolds numbers. [10 marks]
1   18.7 
= 1.74 − 2 Log10  2 + 
 d N
f  Re f 

Given that the relative roughness = 0.000166
d
Reynolds number (NRe) Friction factor (f)
300
600
900
3000
6000
9000

Page 1 of 4
QUESTION 2
(a) The following well logging data pertain to a shaly sandstone formation discovered at PE3
Oilfield, Ghana with Fertl and Hammack water saturation equation given by:
1/2
 FR  Vsh Rw
Sw =  w  −
 Rt  0.4e Rsh
(i) Write python codes with comments to calculate the true resistivity (Rt) using Fertl and
Hammack water saturation equation. [5 marks]

(ii) Use the following reservoir data obtained from PE3 Oilfield, Ghana to test the codes written
in (i) to calculate the true resistivity (Rt) using Fertl and Hammack water saturation equation. [3
marks]
Sw = 30% Rw = 0.05  . m e = 18% Vsh = 20% Rsh = 1  . m

(b) The table below consists of water saturation (Sw), water and oil relative permeability (krw, kro)
and capillary pressure data to be used for two-phase flow numerical reservoir simulation study.
Sw krw kro Pc (psi)

0.25 0.010 0.850 39.954

0.30 0.018 0.754 20.210

0.40 0.092 0.557 11.456

0.50 0.198 0.352 8.141

0.60 0.327 0.131 5.586

0.65 0.400 0.010 5.657

.
Use python programming language Matplotlib to perform the following tasks:
(i) Plot water saturation (Sw) versus water and oil relative permeability (krw, kro) [4 marks]
(ii) Plot water saturation (Sw) versus semi-log of (krw, kro). [4 marks]
(iii) Plot water saturation (Sw) versus capillary pressure (Pc). [4 marks]

Page 2 of 4
QUESTION 3
(a) The linear reservoir flow system discovered at PE3 Oilfield, Ghana is under an active water
drive where the wells are located in uniform rows along the strike on 40 ac spacing. The daily
production of each of the three wells located along the dip is 200 STB of oil per day and the total
reservoir throughput, qt , is 900 bbl/day. For the active water drive, the oil formation volume factor

is 1.50 bbl/STB and porosity is 25%. The cross-sectional area is the product of the width, 1320 ft,
and the formation thickness of 20 ft. The ratio of water viscosity to oil viscosity is 0.50. The
distances the various constant water saturation planes will travel are 60, 120, and 240 days.

Sw ko fw f w f w f w f w
46 92 184
kw  w  S w S w S w S w
 = 0.50 
 o  (60 days ) (120 days ) (240 days)

0.20 - 0.000 0.00 0 0 0


0.30 17.0 0.105 1.08 50 100 200
0.40 5.50 0.267 2.25 104 208 416
0.50 1.70 0.541 2.86 131 262 524
0.60 0.55 0.784 1.95 89 179 358
0.70 0.17 0.922 0.83 38 76 153
0.80 0.0055 0.973 0.30 14 28 55
0.90 0.000 1 0.00 0 0 0

Page 3 of 4
Use python programming language Matplotlib to perform the following tasks:
(a) Enter the data in the table above for Buckley-Leverett frontal advance calculations into the
python programming language. [3 marks]
(b) Plot the distances versus water saturation (Sw) for the various constant water saturation planes
travel in 60, 120, and 240 days. [3 marks]
(c) Plot water saturation (Sw) versus water cut (fw). [2 marks]
 f 
(d) Plot water saturation (Sw) versus derivative  w  . [2 marks]
 S w 
 f 
(e) Plot water saturation (Sw) versus water cut (fw) as the primary axis and derivative  w  as
 S w 
the secondary axis on the same graph. [4 marks]

(b) The cost per foot ($/ft) for drilling a gas well at PE3 Oilfield, Ghana is expressed as:

$ CB + CRTT + CRTR
=
ft Y

(i) Write python codes to define a function with comments to compute the cost of drilling the gas
well at PE3 Oilfield, Ghana. [4 marks]
(ii) Using the following drilling parameters provided, call the main function in (i) to compute the
cost of drilling the gas well at PE3 Oilfield, Ghana. [2 marks]
Bit cos t ( CB ) = $4000 Rig cos t ( CR ) = $9000 / day Footage per bit run (Y ) = 2000 ft
Trip time (TT ) = 10 hr Rotating time (TR ) = 70 hr

Lecturer: Dr Eric Thompson Brantson

Page 4 of 4

You might also like