Académique Documents
Professionnel Documents
Culture Documents
By
SAMUEL. P. AKOSA
51448593
(August, 2015)
ABSTRACT
Designing the reservoir simulator usually requires formulating mathematical and numerical
models. The mathematical models, describe the behavior of the reservoir fluids and rocks
with mathematical equations. While the numerical models solve the mathematical equations
in discrete cells and then extend their formulations to the whole extent of the reservoir.
Nevertheless, in coupling each cell formulation, changes occur in fluid component phases
with movement between neighboring cells. These changes tend to impact on computational
time during simulation.
Currently, the practice of modelling thermodynamic state variables i.e. the relating pressure,
volume and temperature (PVT) has become increasingly important in catering for the cell to
cell fluid phase changes and complex volumetric behavior of reservoir fluids. These
thermodynamic mathematical models usually follow either a black oil or a compositional
approach. The black oil handles the hydrocarbon components as two components phases: a
pseudo oil phase and a pseudo gas phase. Whereas compositional models honor the pure
components of the fluid and make use of an equation of state to describe the phase
equilibrium between these pure components. Compositional models tend to account for this
phase changes more than the black oil models. However in considering computational time,
most engineers prefer the black oil approach
This report aims to develop a fluid phase PVT model which will enable the engineer to
perform analysis on a reservoir sample in a short time. The proposed tool also aimed at
describing the reservoir fluid with a pseudo split approach as opposed to a black oil modelling
approach.
The outputs from the formulation of the phase model showed that computational time could
be reduced by using a reverse black oil modelling approach. The results also showed that the
pseudo split approach could considerably function similar to the black oil models and in turn
act like a compositional model in accommodating phase changes.
i
DEDICATION
This thesis is dedicated to the Almighty God who has made it possible for me to
successfully complete this phase of life.
ii
ACKNOWLEDGEMENTS
I will like to express my gratitude to my supervisor Dr. Jefferson Gomes, for his patience,
guidance, advice, and scrutiny during the thesis period. Moreover, special thanks goes to
Petroleum Technology Development Fund (PTDF) for the help they rendered to me in
achieving my life goals.
iii
CONTENTS
ABSTRACT ............................................................................................................................ i
DEDICATION ....................................................................................................................... ii
ACKNOWLEDGEMENTS .................................................................................................. iii
LIST OF TABLES ............................................................... Error! Bookmark not defined.
NOMENCLETURE ............................................................................................................. vii
CHAPTER 1 ........................................................................................................................... 1
1.1 INTRODUCTION ............................................................................................................ 1
1.2 FLUID PVT MODELLING ............................................................................................. 2
1.3 OBJECTIVE: .................................................................................................................... 4
1.4 CHAPTER BY CHAPTER SUMMARY ..................................................................... 5
OBTAINING THE FLUID PVT PROPERTIES AND ANALYSIS METHODS................. 6
2.1 RESERVOIR FLUID PROPERTIES ...................................................................... 6
2.2 PHASE BEHAVIOR OF RESERVOIR FLUIDS .................................................. 6
2.3 PHASE EQUILIBRIA AND FLASH CALCULATIONS ................................... 10
2.4 PVT LABORATORY EXPERIMENTS .............................................................. 12
2.5 FLUID DATA PROPERTIES ............................................................................... 14
2.6 CHAPTER SUMMARY........................................................................................ 16
CHAPTER THREE .............................................................................................................. 17
OVERVIEW OF RESERVOIR FLUID PVT MODELING APPROACHES ..................... 17
3.1 RESERVOIR FLUID PVT MODELS ....................................................................... 17
3.2 BLACK OIL PVT MODELS ..................................................................................... 17
3.2.1 CLASSICAL BLACK OIL PVT MODEL (CBO): ............................................. 18
3.2.2 MODIFIED BLACK OIL MODELS ............................................................. 20
3.3 METHODS IN BLACK OIL PVT MODELING ....................................................... 22
3.4 COMPOSITIONAL PVT MODELS .......................................................................... 23
3.5 BRIEF OVERVIEW OF SOME THERMODYNAMIC MODELS THAT ARE
SUITED FOR SPECIFIC PURPOSES IN COMPOSITIONAL RESERVOIR
SIMULATION.................................................................................................................. 24
3.5.1 ACTIVITY COEFFICIENT MODELS ............................................................... 25
3.5.2 EQUATION OF STATE ............................................................................... 27
iv
3.6 OTHER MODELS: THERMAL MODELS ............................................................... 36
3.7 REGRESSION-TUNING AND CHARACTERIZATION ........................................ 36
3.8 CHOOSING A FLUID PVT MODEL ....................................................................... 37
3.9 CHAPTER SUMMARY............................................................................................. 38
4.1 FLUID PVT MODEL ................................................................................................. 39
4.2 MODEL DESCRIPTION ........................................................................................... 39
4.3 MODEL ARRANGEMENT....................................................................................... 39
4.3.1 RECOMBINATION MODULE (RC) ................................................................. 39
4.3.2 FOR FLASH MODULE ...................................................................................... 40
4.3.3 FOR BLACK OIL PVT MODULE: ............................................................. 40
4.4 FLUID MODEL VALIDATION.......................................................................... 41
4.5 MODEL RESULTS ............................................................................................. 41
4.5.2 FLASH MODULE (F-M): ................................................................................... 43
4.5.3 BLACK OIL PVT CALCULATOR MODULE (BC): ........................................ 44
4.6: ANALYSIS AND DISCUSSION ............................................................................. 46
4.7 SOURCES OF POSSIBLE ERRORS ............................................................................ 49
4.8 CHAPTER SUMMARY............................................................................................. 49
5.1 CONCLUSION ........................................................................................................... 50
APPENDIX A ...................................................................................................................... 62
A ALGORITHM FOR THE THREE MODULES ............................................................. 62
(A.1) RECOMBINATION MODULE ............................................................................. 62
(A.2) PSEUDOIZATION MODULE ............................................................................... 64
(A.2) FLASH MODULE .................................................................................................. 65
(A.3) BUBBLE AND DEW POINT PRESSURE CALCULATIONS ............................ 68
APPENDIX B ................................................................................................................... 72
B: PLOTS AND DIAGRAMS ......................................................................................... 72
v
LIST OF FIGURES
Figure 1. The Sequence of fluid modelling in reservoir simulation………………….…….…2
Fig 1.2 Assessment of reservoir fluid PVT models………………………………………………5
Fig 2.1 Phase diagram of a binary mixture to illustrate the reservoir fluid phase
behavior..9
Figure 2..2 : Principle of pressure temperature flash process for a hydrocarbon reservoir
fluid mixture. Diagram extracted from [8] ........................................................................... 10
Fig 3..1 Schematic diagram of a Classical Black oil PVT model. Taken from [22] ............ 18
Figure 4.1 phase envelop of fluid mixture frrom F-M module……………………………..….44
Fig 4.2: Black oil model for reservoir wellstream:…………………..………………..….……45
vi
LIST OF TABLES
Table 3.1: Cubic equation of state with their formula. Table adapted from [55]…………..35
Table 4.2 Range between values From RC Module and Multiflash ..................................... 42
Table 4.3 Comparison from RC module recombination with Multiflash results.................. 42
Table 4.4: Absolute average error from measured lab recombination ................................ 43
Table 4.5: Black oil PVT parameters from PVTP and BC module………………………..45
Table B.3 : Comparative showing the flash of the combined reservoir stream by Multiflash
and the F-M module……………………………………………………………………………………………………………..73
vii
NOMENCLETURE
LIST OF SYMBOLS Meaning and Unit
Bo, Oil formation volume factor, rbbl/stb
Bg, Gas formation volume factor rbbl/scf
Bw, Water formation volume factor rbbl/stb
Rs, Solution Gas oil ratio, scf/stb
Rp, Producing gas oil ratio, scf/stb
rs Condensate or Vaporized oil gas ratio stb/scf
γ Gas specific gravity
ρ Density, lbm/ft3
v molar volume, ft3/mole
V Volume, ft3
P Pressure, psia
T Temperature, oF
G Gibbs free energy,
f Fugacity ,psia
R Universal gas constant, =10.73 lbmft/oR
μ Viscosity, cp
μ Chemical potential
U Internal energy
M Molecular weight, lb/lbmole
x Liquid mole fraction, (%)
y Vapor mole fraction (%)
z Feed mole fraction (%)
Z Compressibility factor
𝛿𝛿𝑖𝑖𝑖𝑖 Binary interaction parameter
𝜔𝜔 Acentric factor
co Isothermal compressibility factor, 1/psi
a Hermolthz energy
OB Objective function
CC Calculated observation
viii
OBj Objective function
Rj Residual observation
nPR Number of regression parameters.
nOBS Number of experimental observations
Ω𝑎𝑎 , Ω𝑏𝑏 EOS critical parameters
a, and b Attractive and repulsive terms
SUBSCRIPTS
o Oil phase
g Gas phase
w Water
v Vapor phase
l Liquid phase
API American petroleum Institute
c critical
air air
ABBREVIATION
SCN Single Carbon Number
wj weight Factor
EOS Equation of state
PVT Pressure, volume and temperature
SCN Single Carbon Number
CVD Constant volume depletion
CCE Constant composition Expansion
DLE Differential liberation experiments
BC Black oil calculator module
RC Recombination Module
FM Flash Module
ix
CHAPTER 1
1.1 INTRODUCTION
Nowadays, the reservoir simulator has been used to tackle lots of problems in reservoir
engineering. Due to its sophisticated nature, it has been is relied upon to describe the behavior
of the reservoir to any given length of time and also to optimize hydrocarbon production
using different operating conditions [1].
Moreover, in designing the simulator, formulating mathematical and numerical models are
usually required. The mathematical models describe the behavior of the reservoir fluids and
rocks with mathematical equations. While the numerical models divide the whole reservoir
into small cells (also called grids) in order to accommodate any minute reservoir description
such as wells positioning. Also, these numerical models solve the mathematical equations in
these cells and then extend their formulations to the whole extent of the reservoir.
Nevertheless, in coupling each cell formulation, changes in fluid component phases and
movement do occur between neighboring cells. [2]. Since these cell to cell relationship do
experience changes resulting from the fluid composition and state, it is important to
adequately account for the fluid properties that lead to such changes. [3]. Thus a sound
understanding these fluid properties is fundamental to the reservoir simulator design [4].
Presently, the practice of modelling thermodynamic state variables i.e. the relating pressure,
volume and temperature (henceforth called PVT) has become successful in catering for the
cell to cell fluid phase changes and complex volumetric behavior of reservoir fluids. This
modelling approach has gained wide acceptance because it is capable of yielding lots of fluid
properties of interest (e.g. Pressure, volume and temperature can be used to derive the
isobaric heat capacity: a property that determines how hot a substance gets) the that are
useful in determining the nature of the fluid at the reservoir as well as the surface when it is
produced [5].
Conversely, to accommodate computing time and to reduce the enormous mathematical
relations (used to account for the complex behavior of reservoir fluid) in the cells, huge
challenges of improper predictions have been encountered. Thus, retarding the accuracy of
1
the simulators overall results and its robustness over time. Therefore, there is the need for a
PVT model that will accommodate computing time and also predict fluid behavior to a large
extent and for different cases.
FLUID
PVT
RESERVOIR
SIMULATOR
FLUID
FLOW
2
The black oil PVT model presumes that properties of phases depend only on pressure at a
constant temperature. The black oil model divides the hydrocarbon components into two
components: a pseudo oil phase and a pseudo gas phase (the pseudo gas phase is analogous
to the separator gas and whereas the pseudo oil is to the stock tank oil). Thus the Separator
gas is considered a pseudo-component consisting of hydrocarbons in the reservoir that remain
in the gas phase at standard conditions. On the other hand, the stock tank oil is the other
pseudo-component consisting of hydrocarbons in the reservoir that remains in the oil phase
at standard conditions [6].
However, the PVT properties suited for this modelling approach involves those properties
that describe the volumetric relationship between the amount of oil and gas phases at
reservoir and at surface. These properties include the gas oil ratio 𝑅𝑅𝑠𝑠, the vaporized oil gas
ratio 𝑟𝑟𝑠𝑠 , the oil formation volume factor,𝐵𝐵𝑜𝑜 as well as the gas formation volume factor,
𝐵𝐵𝑔𝑔 [7]. Equations 1.1 to 1.4 shows the relationship of these properties to volume.
𝑉𝑉𝑜𝑜
𝐵𝐵𝑜𝑜 =
𝑉𝑉𝑜𝑜�𝑜𝑜 (1.1)
𝑉𝑉𝑔𝑔
𝐵𝐵𝑔𝑔 =
𝑉𝑉𝑔𝑔�𝑔𝑔 (1.2)
𝑉𝑉𝑔𝑔�𝑜𝑜
𝑅𝑅𝑠𝑠 =
𝑉𝑉𝑜𝑜�𝑜𝑜 (1.3)
𝑉𝑉𝑜𝑜�𝑔𝑔
𝑟𝑟𝑠𝑠 =
𝑉𝑉𝑔𝑔�𝑔𝑔 (1.4)
Where, 𝑉𝑉𝑜𝑜 is the volume of reservoir oil, 𝑉𝑉𝑜𝑜�𝑜𝑜 is the volume of stock tank oil from the reservoir
oil, 𝑉𝑉𝑔𝑔 is the volume of reservoir gas, 𝑉𝑉𝑔𝑔�𝑔𝑔 is the volume of surface gas from reservoir oil, 𝑉𝑉𝑜𝑜�𝑜𝑜
3
is the volume of surface oil from reservoir oil, 𝑉𝑉𝑔𝑔�𝑜𝑜 is the volume of surface gas in reservoir
oil (it is usually the same as 𝑉𝑉𝑔𝑔�𝑔𝑔 ) .
However, if the oil and gas composition starts varying strongly such as in the case of volatile
oil reservoir, retrograde gas condensate reservoir, gas injection, solution-gas, and gas-cap
reservoirs drive studies. The large number of components will need an equation of state
which can provide consistent densities, compositions, and molar volumes, hence the need for
a full compositional model. The Compositional model therefore refers to models that make
use of an equation of state to describe the phase equilibrium behavior based on its pure
components. Equilibrium phase splits and phase properties are determined by blending the
properties of the stream constituents. The equation of state (henceforth called EOS) is used
to predict the vapor liquid equilibrium (VLE), and associated thermodynamic properties such
as gas and liquid enthalpies, gas and liquid densities, gas and liquid viscosities, surface
tension and thermal properties.
Furthermore, it is impractical to model every component of a reservoir fluid due to the large
numbers of components that are present [8]. Generally, for acceptable phase behavior
prediction, it is sufficient to specify the mole fractions of the main light end hydrocarbons
(typically from methane to decane for black oils). Heavier components are lumped together
and handled as pseudo or hypothetical components [9].
Nevertheless, computational considerations and cost can favor companies to choose the black
oil model for their simulation studies. On the other hand, it is highly advisable to derive the
properties of black oil using the equation of state for interpretation of the results of the
analysis to ensure proper understanding and identification of the quality of PVT data
obtained. [10] Most modern reservoir flow simulators are usually written with a general
compositional formulation whereas the black oil PVT properties are converted internally to
a two component compositional model.
1.3 OBJECTIVE:
The aim of this report is to describe the reservoir fluid PVT properties and how they are
formulated in the simulator design. This description will include the methods used in
analyzing fluid properties and their modeling approaches. Furthermore, at the end of the
4
project, a fluid phase model will be designed to predict the phase behavior of a gas condensate
fluid by combining the black oil and compositional modeling approach.
5
CHAPTER TWO
𝜕𝜕𝜕𝜕
𝜇𝜇𝑖𝑖 = (2.1)
𝜕𝜕𝑛𝑛𝑖𝑖
Where μi is the chemical potential of component-i, G is the Gibbs free energy and ni is the
number of moles of component-i. Thus for a system with two phases the condition for
equilibrium is
𝜇𝜇𝑖𝑖(𝑥𝑥) = 𝜇𝜇𝑖𝑖(𝑦𝑦) (2.2)
6
𝑃𝑃𝑖𝑖(𝑥𝑥) = 𝑃𝑃𝑖𝑖(𝑦𝑦) (2.3)
Where, P is the pressure, T is the temperature, x and y represents the phases. Chemical
potentials are usually expressed in terms of fugacity, fi,
It is readily shown that equation (2.2) is readily satisfied by the equal-fugacity constraint,
𝑓𝑓𝑖𝑖𝑣𝑣 = 𝑓𝑓𝑖𝑖𝐿𝐿
(2.6)
Where, 𝑓𝑓𝑖𝑖𝐿𝐿 is the fugacity of component-i in the liquid phase and 𝑓𝑓𝑖𝑖𝑣𝑣 is the fugacity of
component-i in the vapor phase.
Fugacity is a property of a real substance that is a measure of the tendency of the substance
to prefer one phase at a particular temperature and pressure. It has same dimensions as
pressure but is related to the partial pressure of a component in a mixture. The ratio of the
fugacity to the pressure is referred to as the fugacity coefficient, φ and is given by
𝑓𝑓𝑖𝑖
= 𝜑𝜑𝑖𝑖
𝑥𝑥𝑖𝑖 𝑝𝑝 (2.7)
7
∞
fi 1 ∂P RT
ln φi = ln = �� - � dV- ln Z (2.8)
xi p RT ∂ni V
V
Where R,T,V ,ni, and Z are the universal gas constant, temperature, volume , number of
moles of each component and the compressibility factor of component- i
Nevertheless, the phase with the lowest fugacity coefficient will thermodynamically be the
most favorable i.e. the phase with minimum Gibbs energy. Gibbs free energy can be related
to fugacity as shown in equations (2.9) and (2.10)
𝑛𝑛
𝑛𝑛
Where, 𝐺𝐺𝑦𝑦∗ 𝑎𝑎𝑎𝑎𝑎𝑎 𝐺𝐺𝑥𝑥∗ are the normalized Gibbs free energies in the vapor and liquid phases
respectively. Most compositional PVT models rely of the concept of equal fugacities of the
phase components and minimum Gibbs energy to determine phase equilibrium state of
multicomponent mixtures.
In order to describe the percentage of a component in a phase at a particular pressure and
temperature a Pressure-Temperature phase diagram could be used [14] .
Fig 2.1 shows a typical pressure temperature phase diagram with characteristic features used
in describing fluids. The phase diagram is bounded by the bubble point and dew point curves
with the two curves meeting at the critical point (C). The critical point is where all differences
between the two phases seize and the phases become indistinguishable.
Furthermore, since critical properties are just properties of individual components in a
mixture, for fluid modeling the pseudo critical values (e.g. pseudo critical pressure and
temperature) for the mixture are used. The pseudo critical value of a mixture is derived from
mixing the critical values of individual components by using a mixing rule. A widely used
8
mixing rule is the Kay’s [15] mixing rule which is based on molar averaging of the
components.
Mathematically the Kay’s rule is
𝑛𝑛
Where zi is the mole fraction, .pθc is any pseudo critical property such as temperature, pressure
or volume and θci is the critical component of component i and n is the number of
components.
B
Pressure
C
Critica
l point
D
TWO PHASE
Temperature
Fig 2.1 Phase diagram of a binary mixture to illustrate the reservoir fluid phase behavior
Diagram taken from [14]. The maximum pressure (B) on the phase diagram is called the
Cricondenbar and refers to the pressure beyond which no gas can be formed regardless of the
temperature. While the maximum temperature (D) beyond which no liquid can be formed
regardless of the pressure is the Cricondentherm [14].
9
2.3 PHASE EQUILIBRIA AND FLASH CALCULATIONS
To determine the phase equilibrium, calculations that estimate the percentage or molar
amount of compositions of the mixtures that are vaporized or condensed is paramount. These
percentages can also help in determining the phase diagram by calculating the bubble point
and the dew point curves. Thus also yielding the temperatures and pressures at which the
mixture begins to vaporize of condense [16]. Mixtures molar amounts can be obtained by
flashing the mixture at a particular temperature and pressure in a flash separator. Figure 2.2
gives an illustration of a pressure-temperature flash process for a hydrocarbon mixture.
If the pressure , temperature and mole fractions in the feed (zi = z1,z2,z3…zn) are known, a
flash calculation can provide the number of phases; molar amounts of each phase e.g. FV ,FL
and also the individual component molar compositions for each phase i.e. for the vapor
phases (y1,y2,y3…..yn) and the liquid phase(x1,x2,x3….xn). Moreover , referring to equation
(2.6) and (2.7) at equilibrium
(y1,y2,….yn)
FV
Gas
Feed, 1mole
T, P
(z1, z2….zn)
(1-Fv)
10
𝜑𝜑𝑖𝑖𝐿𝐿 𝑦𝑦𝑖𝑖
=
𝜑𝜑𝑖𝑖𝑉𝑉 𝑥𝑥𝑖𝑖 (2.12)
𝜑𝜑𝑖𝑖𝐿𝐿 𝑦𝑦𝑖𝑖
𝐾𝐾𝑖𝑖 = =
𝜑𝜑𝑖𝑖𝑉𝑉 𝑥𝑥𝑖𝑖 (2.13)
𝐹𝐹𝑣𝑣 + 𝐹𝐹𝐿𝐿 = 1
(2.14)
𝑧𝑧𝑖𝑖 𝐾𝐾𝑖𝑖
𝑦𝑦𝑖𝑖 =
1 + 𝐹𝐹𝑣𝑣 (𝐾𝐾𝑖𝑖 − 1) (2.16)
𝑧𝑧𝑖𝑖
𝑥𝑥𝑖𝑖 =
1 + 𝐹𝐹𝑣𝑣 (𝐾𝐾𝑖𝑖 − 1) (2.17)
11
𝑛𝑛 𝑛𝑛 𝑛𝑛
𝑛𝑛 𝑛𝑛
� 𝑦𝑦𝑖𝑖 − � 𝑥𝑥𝑖𝑖 = 0
𝑖𝑖=1 𝑖𝑖=1
(2.19)
Thus substituting equations 2.16 and 2.17 for yi and xi into the above equation yields the
Rachford-Rice equation [13]
𝑛𝑛
𝑧𝑧𝑖𝑖 (𝐾𝐾𝑖𝑖 − 1)
ℎ(𝐹𝐹𝑣𝑣 ) = � =0 (2.20)
1 + 𝐹𝐹𝑉𝑉 (𝐾𝐾𝑖𝑖 − 1)
𝑖𝑖=1
This could be solved to obtain the vapor mole fraction Fv using an iteration scheme. However
a stability analysis is usually performed before commencing a flash calculation because it
determines the number of phases present. Michelsen (1982) [17] proposed a consistent phase
stability check that is based on the minimization of the Gibbs free energy by splitting off a
vapor phase [8]. Currently most compositional PVT models usually depend on stability
checks and Rachford equation to perform vapor liquid equilibrium calculations.
Nevertheless, thorough details of the stability analysis are beyond the scope of this report but
an overview of stability criteria is shown in Appendix A.2
12
techniques often provide critical input to reservoir simulation models and help to optimize
processing facility designs while boosting the profitability of an oil or gas field [20].
Laboratory experiments performed determine the phase behavior and physical properties of
the fluid. The lab experiments are broadly classified into the following groups [13] namely
(i) Constant Composition Expansion (CCE)
(ii) Constant Volume Depletion test (CVD)
(iii) Fluid composition
(iv) Separator test (multistage)
(v) Differential liberation test (DLE)
(vi) Viscosity measurements
(vii) Swelling test
The constant Volume depletion (CVD) experiment is generally used for retrograde
condensate fluid samples to measure the composition and specific gravity of the fluid. It
could provide useful data for the mathematical models depicting the changes in a condensate
reservoir. Also Fluid composition test involves measuring the vapor and liquid phase
compositions (mole percent and specific gravity [13]) of the components of the sample using
a gas chromatograph [21]. The compositions can also be used for phase calculations in the
mathematical thermodynamic models.[11]
Constant composition expansion or flash expansion test involves placing a known volume of
an equilibrated single phase fluid in a windowed PVT cell and monitoring the fluid change
with reduction in pressure isothermally which eventually leads to the production of two
phases under agitation. It usually consists of stages of equilibration, whereby the cell volume
is increased until the next predetermined pressure level is obtained with no gas or liquid
removed at any point. This test is used to determine the bubble point pressure [13, 21]
Another important laboratory test is the differential liberation or vaporization test. It usually
involves equilibration of the reservoir fluid sample in a PVT cell at the bubble point pressure
and at its reservoir temperature. The pressure inside the cell is usually reduced by increasing
the volume, thus enabling a gas phase to form. Agitation is also employed to equilibrate this
gas with the liquid. The gas is then displaced isobarically by reducing the volume of the cell
slowly. Parameters that could be measured from this test include the specific gravity, volume
of the expelled gas and volume of the liquid remaining in the cell.
13
Other properties like Gas and oil compressibility factors, density of the remaining oil,
solution gas-oil ratio, gas and oil formation volume factors could be obtained from this test
as calculated parameters. [13]
In the separator or flash vaporization test, a known volume of the fluid sample at bubble point
and reservoir temperature is charged into the PVT cell. It is displaced at bubble point pressure
via two or more stages of separation. Similar equilibration process to the differential
liberation test is used however the pressures and temperatures of the laboratory separators
are selected to be closed to expected field conditions. The gas oil ratio and formation volume
factor at separator could be measured by this test.[10, 13].
Other laboratory tests include swelling or extraction test and viscosity tests are also important
in proper characterizing of the fluids. The swell test is carried out to investigate the reaction
of the reservoir fluid to gas injection.[8] It is paramount in measuring phase behavior and it
is used to determine the reservoir fluid volume -compositions changes with regards to the
injected fluid (e.g. CO2) dissolution at reservoir temperature. While the Oil viscosity test are
performed by using a capillary viscometer or an electromagnetic viscometer. Measurements
are usually done at same pressure levels just as in differential liberation experiments with
samples deficient of gas at each pressure level. [13]
Alternatively, PVT analysis could be performed on Well-site rather than taking samples to
the laboratory as this could save time and ensure early warnings of problematic chemicals
like hydrogen sulphide and mercury. This test could also be used to: check levels of oil-based
mud contamination in liquids and to analyze of amounts of rare gases present in hydrocarbon
gas. A current example of this technique is the Schlumberger’s PVT Express which uses less
than 50cm3 volume of a sample to conduct full PVT study.[18]
14
Table 2.1 Equations of PVT properties. Adapted from [13]
PVT TYPE SYMBOL BASE EQUATION FOR
PROPERTY FORMULATION
Gas γg 𝜌𝜌𝑔𝑔�
𝛾𝛾𝑔𝑔 =
𝜌𝜌𝑎𝑎𝑎𝑎𝑎𝑎
�����
Gas Bg 𝑉𝑉𝑔𝑔
𝐵𝐵𝑔𝑔 =
𝑉𝑉𝑔𝑔�
Gas ρg 𝑀𝑀𝑔𝑔
𝜌𝜌𝑔𝑔 =
𝑉𝑉𝑔𝑔
Where subscripts o, g and w represent reservoir conditions while 𝑜𝑜̅ , 𝑔𝑔̅ , 𝑎𝑎𝑎𝑎𝑎𝑎
���� and 𝑤𝑤
� represent
surface conditions. Also subscript T is the isotherm temperature and 𝛾𝛾𝐴𝐴𝐴𝐴𝐴𝐴 is the API gravity
and is closely related to the specific gravity of oil.
15
2.6 CHAPTER SUMMARY
The following are the points what noting from this chapter
(i) Minimizing the Gibbs free energy determines the equilibrium of the phases. At this
equilibrium the fugacity's of the individual phases are equal
(ii) The phase of a mixture is determined by its composition, pressure and temperature
(iii) PVT laboratory analysis are important deducing the input parameters (fluid
properties) needed for the fluid mathematical modeling stage. Integration of on-site
analysis and laboratory analysis could yields good result.
16
CHAPTER THREE
17
at standard conditions. While the stock tank oil is the other pseudo-component consisting of
hydrocarbons in the reservoir that remains in the oil phase at standard conditions [6].
Presently, two approaches have been used in black oil PVT modeling and they include the
following [7]
(a) Classical or standard black oil model(CBO)
(b) Modified black oil models (MBO)
2 G
3- Hydrocarbon
a
surface gas
s
2 Vapor
Liquid
1 2
2- Hydrocarbon surface
2 Gas
gas
1
Oil
1-Nonvolatile surface oil
Fig 3.1 Schematic diagram of a Classical Black oil PVT model. Taken from [22]
Initially at reservoir conditions there is equilibrium between the liquid and the vapor phases.
As they are produced to the surface (e.g. at the separator) there is a split into separate phases
whereby the gas coming out at surface components contains no oil, thus rs=0. However, the
18
lowermost box in the diagram is analogous to the stock tank where some hydrocarbon gas
still comes of the oil at surface contains some gas leaving at the bottom a non-volatile oil.
Thus only a non-volatile oil and a hydrocarbon gas is present at the surface in a classical
black oil model.
Moreover, to compare the changes in volumetric amounts of the phases at surface and at
reservoir conditions, three properties of the fluids are used to capture the changes. This
properties are the Solution gas oil ratio, Rs; the gas formation volume factor Bg and the oil
formation volume factor Bo and are described by equation (3.2) to (3.4)
𝑉𝑉𝑜𝑜
𝐵𝐵𝑜𝑜 =
𝑉𝑉𝑜𝑜�𝑜𝑜 (3.2)
𝑉𝑉𝑔𝑔
𝐵𝐵𝑔𝑔 =
𝑉𝑉𝑔𝑔�𝑔𝑔 (3.3)
𝑉𝑉𝑔𝑔�𝑜𝑜
𝑅𝑅𝑠𝑠 =
𝑉𝑉𝑜𝑜�𝑜𝑜 (3.4)
Where, 𝑉𝑉𝑜𝑜 is the volume of reservoir oil, 𝑉𝑉𝑜𝑜�𝑜𝑜 is the volume of stock tank oil from the reservoir
oil, 𝑉𝑉𝑔𝑔 is the volume of reservoir gas, 𝑉𝑉𝑔𝑔�𝑔𝑔 is the volume of surface gas from reservoir oil, 𝑉𝑉𝑜𝑜�𝑜𝑜
is the volume of surface oil from reservoir oil, 𝑉𝑉𝑔𝑔�𝑜𝑜 is the volume of surface gas in reservoir
oil (it is usually the same as𝑉𝑉𝑔𝑔�𝑔𝑔 , cause it contains similar elements as shown in the diagram).
Equation (3.2) and (3, 3) refers to the shrinkage of the oil and gas volume (from the reservoir)
at the surface respectively, while Equation (3.3) gives the volumetric ratio of the oil and gas
at the surface.
According to Whitson [7], the assumptions used in formulating the standard black oil model
include the following
(i) Reservoir oil consists of two surface “components,” stock-tank oil and surface (total
separator) gas.
(ii) Reservoir gas does not yield liquids when brought to the surface.
(iii) Surface gas released from the reservoir oil has the same properties as the reservoir gas.
(iv) Properties of stock-tank oil and surface gas do not change during depletion of a reservoir.
19
Furthermore, as stated earlier, these three parameters (Bo, Bg and Rs) are functions of pressure
and can be obtained from correlations mentioned in chapter two, whenever PVT laboratory
data is not sufficient.
Classical black oil formulations are suited for modelling:
(a) Reservoir oil with Rsi < 750 SCF/STB. , where Rsi is initial solution gas oil ratio
(b) Reservoir oil with productions higher than its bubble point pressure (e.g., strong water-
drive, gas-cap-drive, or water-flooded reservoirs). [7]
Fig 3.2 Diagram of Modified black oil PVT models. Taken from [23].
The “-“sign on the subscripts indicates surface conditions, while the subscripts g and o
represent gas and oil phases. For the subscripts with two alphabets, the first letter in the
20
subscript is the current state of the substance while the second letter shows the origin of the
substance.
From the diagram above, the volume of the reservoir gas (Vg) is split into a separator gas in
gaseous phase (Vgg) with a condensate or a vaporized oil dropping out of the gas phase (Vog).
Whereas the reservoir oil volume (Vo) is also separated into a separator gas (Vgo) and an oil
phase (Voo).
Moreover comparing Fig 3.2 to Fig 3.1, the new term added is the Vog term, while the terms
Vgo and Vgg are considered the same i.e. the hydrocarbon gas as in Fig 3.1.
Thus,
Moreover, introducing the volumetric properties of interest that indicate the ratio of the
reservoir to stock tank volumes, PVT parameters used here usually the Rs, Bo, rs, Bgd ,
where[24]
𝑉𝑉𝑔𝑔
𝐵𝐵𝑔𝑔𝑔𝑔 =
𝑉𝑉𝑔𝑔�𝑔𝑔 (226)
𝑉𝑉𝑜𝑜�𝑔𝑔
𝑟𝑟𝑠𝑠 =
𝑉𝑉𝑔𝑔�𝑔𝑔 (3.7)
𝑉𝑉𝑜𝑜�𝑔𝑔, is the stock tank oil produced from reservoir gas and 𝑉𝑉𝑔𝑔�𝑔𝑔 is the volume of surface
gas from reservoir gas. Moreover 𝐵𝐵𝑔𝑔𝑔𝑔 is related to 𝐵𝐵𝑔𝑔 (wet gas formation volume factor) by
the relation
𝐵𝐵𝑔𝑔𝑔𝑔 = 𝐵𝐵𝑔𝑔 × [1 + 𝐶𝐶𝑜𝑜�𝑜𝑜 𝑟𝑟𝑠𝑠 ]
(3.8)
Where, 𝑉𝑉𝑜𝑜�𝑜𝑜 is the stock tank oil from reservoir oil, 𝑀𝑀𝑜𝑜�𝑔𝑔 molecular weight and 𝛾𝛾𝑜𝑜�𝑔𝑔 is the
stock tank oil specific gravity. rs is the term that accounts for the condensate that drops out of
21
the separator gas. The Rs and the Bo terms still maintain same forms as in Equations (3.2)
and (3.4)
If the value of rs =0, then the value of Bgd = Bg which then becomes the classical black oil
formulation.
The modified approach is suitable for modeling all types of reservoirs especially volatile oils
and retrograde condensate reservoirs cause the solution oil gas ratio term helps to account for
liquid drop out [25]and retrograde liquid in the gas stream.[7]
22
components respectively. Thus for a black oil model, the component 1-2 are referred as the
oil pseudo phase while component 2-3 is the pseudo gas phase.
Moreover, comparing these mole fractions with respect to black oil PVT properties, the
following relationships are relevant:
𝑉𝑉𝑔𝑔�𝑜𝑜 𝑥𝑥3
𝑅𝑅𝑠𝑠 = = 2130 (23.10)
𝑉𝑉𝑜𝑜�𝑜𝑜 𝑥𝑥2 𝑣𝑣2 + 𝑥𝑥1 𝑣𝑣𝑖𝑖
𝑉𝑉𝑜𝑜�𝑔𝑔 𝑦𝑦2 𝑣𝑣2
𝑟𝑟𝑠𝑠 = = (3.1124)
𝑉𝑉𝑔𝑔�𝑔𝑔 2130(𝑦𝑦3 + 𝑦𝑦4 )
Where v is the molar volume, P T and 𝑍𝑍𝑣𝑣 are the pressure, the temperature and the gas
compressibility factor respectively. Therefore if the molar volume of a phase is known as
well as the gas compressibility, at a given temperature and pressure, the black oil PVT
properties could be estimated. Also, flash calculations might be needed to obtain individual
components (i.e. methane, ethane etc.) of vapor and liquid phase compositions. Then mixing
rules are applied to combine them into black oil pseudo forms. (All elements in the above
equation are in field units. Thus the constants 2130 and 0.0287 are conversion factors from
standard unis to field units). Appendix A contains details of a black oil model approach.
23
the phases and also the thermodynamic properties of the compositions of the phases. The
approach to formulating the fluids properties by totally relying on an equation of state to
model the components and thus mix them up to yield a single result for the total mixture is
what is referred to as compositional modeling [29]. Here properties of phases are a function
of not only pressure as in black oil models but also of their composition
This approach usually considers the critical properties of individual pure components present
in a fluid mixture and their overall effect on the system. These properties are entered for each
component, allowing the liquid and vapor phases to be broken down into their constituent
components.
𝑦𝑦𝑖𝑖
𝐾𝐾𝑖𝑖 =
𝑥𝑥𝑖𝑖
� 𝜌𝜌 � = 𝑓𝑓(𝑃𝑃, 𝑥𝑥𝑖𝑖 , 𝑦𝑦𝑖𝑖 )
(3.14)
𝜇𝜇
For instance, the percentage of butane present in the gas phase and liquid phase could be
determined. Equilibrium phase splits and phase properties are determined by blending the
properties of the stream constituents.
Moreover, it is impractical to model every component of a reservoir fluid due to the large
numbers of components that are present. Generally, for acceptable phase behavior prediction,
it is sufficient to specify the mole fractions of the main light end paraffin’s, (typically
methane to decane for black oils) [8]. Heavier components are handled as pseudo or
hypothetical components (a process referred to as pseudoization) [9].
Nevertheless, such a fluid model is more computationally expensive to solve but allows the
hydrocarbons of different compositions to mix during the simulation [2]
24
physical properties of the reservoir fluids. These models have been formulated created by
many authors and they can be classified broadly into the following
(a) Activity coefficient models
(b) Equations of state
3.5.1 ACTIVITY COEFFICIENT MODELS
An activity coefficient is a dimensionless factor used in thermodynamics to account for
deviations of ideal behavior in a mixture of chemical substances [30]. The activity coefficient
can be related to the chemical potential for a substance B in a liquid or solid mixture
containing mole fractions xB and xc of substances B, C by the relation below
Where μB is the chemical potential of substance B, x denotes the set of mole fractions xB, xC
, … and T and P represents the temperature and pressure of the system at that point.[30]
As models, they are the simplest possible models for the composition dependence of the
phase i-component fugacity fi, representing a standard to which actual behavior may be
compared. Liquid activity methods are based on the following equation for the fugacity of
the ith- component in the mixture.
Mathematically,
𝑓𝑓𝑖𝑖𝑙𝑙
𝛾𝛾𝑖𝑖 =
𝑥𝑥𝑖𝑖 𝑓𝑓𝑖𝑖𝑜𝑜 (3.16)
Where, 𝛾𝛾𝑖𝑖 is the activity coefficient of component i. xi is the liquid phase mole fraction and
𝑓𝑓𝑖𝑖𝑜𝑜 is the fugacity of the pure component which is usually approximated to the vapor pressure
of the pure component, 𝑃𝑃𝑖𝑖𝑠𝑠𝑠𝑠𝑠𝑠
Thus an activity coefficient of a component can be related to the equilibrium constant by the
relation
𝑃𝑃 𝑦𝑦𝑖𝑖 𝑃𝑃 𝑦𝑦𝑖𝑖 𝑃𝑃
𝛾𝛾𝑖𝑖 = 𝐾𝐾𝑖𝑖 𝑠𝑠𝑠𝑠𝑠𝑠 = 𝑠𝑠𝑠𝑠𝑠𝑠 =
𝑃𝑃𝑖𝑖 𝑥𝑥𝑖𝑖 𝑃𝑃𝑖𝑖 𝑥𝑥𝑖𝑖 𝑓𝑓𝑖𝑖𝑜𝑜 (3.17)
25
For i=1, 2….n, where n is the total number of components.
Ideal solutions i.e. solutions where liquid fugacity of each component is directly proportional
to the mole fraction of each component with activity coefficient equals to unity, assumes that
all molecules interact with the same intermolecular potential but this assumption is only
reasonable for molecules of similar size and type. Most real mixtures tend to deviate from
ideality, thus their activity coefficient is different from unity.
Such models are can handle vapor –liquid systems and also perform well in simulating
asphaltenes, waxes and other solid systems cause they can be used to handle the solubility.
These models also allow the use of binary interaction parameters to alter the predictions until
values are obtained similar to experimental data. A few examples of these models include
Andersen and Speight [31], Chung[32], Yarranton and Masliyah[33], Zhou et al [34]models,
predictive UNIQUAC [35][36], predictive Wilson [37], predictive UNIFAC [38] and regular
solution theory [39].
In general, the approaches taken in determining the parameters of the activity coefficient
model include:
(i) determining the parameters by fitting to experimental vapor liquid equilibrium data on
binary mixtures at a single temperature. E.g. the Predictive Wilsons model
(ii) Determining the parameters by treating the excess Gibbs free energy e.g. the predictive
UNIFAC model.
The former is unable to handle liquid-liquid equilibria or vapor liquid- liquid equilibria while
the latter is capable of performing such equilibria scenarios.
Nevertheless, Al Ghafri [40], showed that the limitations associated with these models are
evident around the critical regions. He proposed that the limitation comes from the fact that
the activity coefficients are defined based on the mixing of liquid components at conditions
of temperature equal to that of the mixture, and so the pure components must be liquid at
those conditions. Also, since these coefficients are not written as explicit functions of
temperature, pressure and composition they do not have the flexibility of equations of state
to calculate densities and other derivative properties.
26
3.5.2 EQUATION OF STATE
An equation of state refers to an analytical thermodynamic expression that describes the state
of matter by relating state variables i.e. pressure, volume and temperature. An example of an
equation of state is the ideal gas equation, which shows how volume and pressure are related
to temperature.
𝑃𝑃𝑃𝑃 = 𝑛𝑛𝑛𝑛𝑛𝑛
(3.18)
27
The first person to propose such a relation was Van der Waals (Vdw) [43]. He proposed the
fact that the total pressure of a substance is equal to the difference between the repulsive
pressure element and the attractive pressure element as shown below
𝑃𝑃𝑡𝑡𝑡𝑡𝑡𝑡𝑡𝑡𝑡𝑡 = 𝑃𝑃𝑟𝑟𝑟𝑟𝑟𝑟 − 𝑃𝑃𝑎𝑎𝑎𝑎𝑎𝑎𝑎𝑎
(3.19)
𝑅𝑅𝑅𝑅 𝑎𝑎
𝑃𝑃 = − 2
(𝑉𝑉 − 𝑏𝑏) 𝑉𝑉 (3.20)
Where b is the effective molar volume to correct for volume occupied by the molecules, ‘a’
is the attraction parameter to correct for pressures for attraction of molecules. Although his
relation proved superior to the ideal gas law and does predict the formation of a liquid phase,
the agreement with experimental data is limited for conditions where the liquid forms. Other
modern equations have been developed and have thus replaced the VdW EOS successfully.
Table 3.1 shows the basic formulas for some of these cubic equations of state.
In general, for a compositional simulation, two important equations are paramount which
include the compressibility and the fugacity equation.
Martin [44] proposed that all cubic equation could be written in the following generalized
way
28
𝑓𝑓𝑖𝑖
ln 𝜑𝜑𝑖𝑖 = ln � �
𝑃𝑃𝑃𝑃𝑖𝑖
= − ln(𝑍𝑍 − 𝐵𝐵)
𝐴𝐴 2 ∑𝑛𝑛𝑗𝑗=1 𝐴𝐴𝑖𝑖𝑖𝑖 𝑥𝑥𝑗𝑗 𝐵𝐵𝑖𝑖 𝑍𝑍 + 𝑚𝑚2 𝐵𝐵
+ � − � ln (3.24)
(𝑚𝑚1 − 𝑚𝑚2 )𝐵𝐵 𝐴𝐴 𝐵𝐵 𝑧𝑧 + 𝑚𝑚1 𝐵𝐵
𝐵𝐵𝑖𝑖
+
𝐵𝐵(𝑍𝑍 − 1)
Where,
𝑛𝑛 𝑛𝑛
𝑛𝑛
𝐵𝐵 = � 𝑥𝑥𝑗𝑗 𝐵𝐵𝑗𝑗
𝑗𝑗=1 (3.26)
0.5
𝐴𝐴𝑗𝑗𝑗𝑗 = �1 − 𝛿𝛿𝑗𝑗𝑗𝑗 ��𝐴𝐴𝑗𝑗 𝐴𝐴𝑘𝑘 �
(3.27)
𝑃𝑃𝑟𝑟𝑟𝑟
𝐵𝐵𝑗𝑗 = Ω𝑏𝑏𝑏𝑏
𝑇𝑇𝑟𝑟𝑟𝑟 (3.28)
𝑃𝑃𝑟𝑟𝑟𝑟
𝐴𝐴𝑗𝑗 = Ω𝑎𝑎𝑎𝑎 2
𝑇𝑇𝑟𝑟𝑟𝑟 (3.279)
In Equation (3.21), 𝛿𝛿𝑗𝑗𝑗𝑗 are the binary interaction coefficients (BICS), symmetric in j and k
with 𝛿𝛿𝑗𝑗𝑗𝑗 = 0. For two identical components e.g. N2-N2, the 𝛿𝛿𝑗𝑗𝑗𝑗 is zero. For two different
nonpolar compounds (e.g. CO2-N2) 𝛿𝛿𝑗𝑗𝑗𝑗 is equal to or close to zero. But for a binary pair of at
least one polar component e.g. (N2-CH4), non- zero 𝛿𝛿𝑗𝑗𝑗𝑗 is appropriate [8]. The subscripts j, k
indicate components in the mixture while r represent reduced values. For Redlich-Kwong
(RK) [45], and. Soave-Redlich- Kwong (SRK) [46]. For the PR EOS, 𝑚𝑚1 = 1 + √2 and
29
𝑚𝑚2 = 1 − √2. In describing all the parameters used in the above equation, the Peng
Robinson (PREOS) will be considered. The parameters Ω𝑎𝑎𝑎𝑎 𝑎𝑎𝑎𝑎𝑎𝑎 Ω𝑏𝑏𝑏𝑏 represent the
dimensionless constants (particular to an equation of state) and are universal constants
independent of component identity and temperature. However, in practice they are treated as
functions of temperature and component identity. For PR EOS they are defined by the
following relations,
2
Ω𝑎𝑎𝑎𝑎 = Ω0𝑎𝑎 �1 + (0.37464 + 1.5422𝜔𝜔𝑖𝑖 − 0.26992𝜔𝜔𝑖𝑖2 ) �1 − 𝑇𝑇𝑟𝑟𝑟𝑟0.5 �� (3.3129)
(30.32)
Ω0𝑎𝑎 = 0.457235529 and Ω0𝑏𝑏 = 0.077796074
30
Table 3.1: Cubic equation of state with their formula. Table adapted from [55]
. All the equations of state are arranged like the Van der Waals equation or similar to equation
(3.20). The term 𝜔𝜔 is the acentric factor. The acentric factor is a measure of the sphericity of
a molecule and has it values usually between zero and one (spherical molecules have acentric
factor of one) [56]. It is important to note that these equations of state where created for single
31
components but can be extended to multicomponent mixtures by using mixing rules as stated
in chapter two.
The SRK and PR equations have gained wide acceptance over the years in fluid modeling
but PR is more accurate than the former in regions around the critical point. Nevertheless
they both do not accurately account for the liquid density. To handle this problem (liquid
density prediction), Martins introduced the concept of volume translation to improve the
volumetric prediction. Peneloux et al [57] used the volume translation or shift to improve
the SRK EOS volumetric predictions while Jhaveri and Youngren [58] extended Peneloux
work to the PR EOS.
Presently in the reservoir simulation, PR and the SRK and their modifications have been
widely accepted for used in fluid PVT modeling because they yield good results over a wide
range of conditions. However, Ahmed [55] performed suitable comparisons on eight cubic
equations and he outlined their performance capabilities in his work. He concluded that
SWEOS exhibits suitable predictive capability for gas condensate systems, PT and SW
equations are found to predict reliable gas compressibility factors while the PR, PT and SW
equations yield good Vapor liquid equilibrium predictions.
32
Associating fluid theories are be broadly classified into two types which include: integral
equations models and perturbation models. The integral models considers molecular
associations as strong symmetrically spherical attractive forces. On the other hand, the
perturbation theories consider a reference fluid with known thermodynamic properties and
relates it to an unknown fluid by mean of a correction or perturbation term.(Moreover, this
report will be restricted to just the perturbation models and as such integral models will not
be discussed further) .
Statistical perturbation models are based on the principle that the potential energy of a
relative complex molecular fluid can be described as the sum of the potential energy of a
simple known reference fluid (e.g. a hard sphere term) and a correction term [59]. Once this
correction term exists as a function of pressure temperature or density and composition then
other thermodynamic relations could be derived for the physical and derivative properties
[59].
Previously, the hard sphere system usually was adopted as the reference term but it was later
considered not reliable because it was did not regard chain length (a key feature that affects
the fluid structure). Thus, it is inappropriate for modelling mixtures with highly non-spherical
associating terms. A more appropriate reference term that considers both chain length and
molecular attraction was then sorted after. Wertheim [60] and Chapman [61] proposed a
method whereby molecules are treated as different species with respect to the number of
associating sites that are bonded together. The latter also extended the principle to modelling
molecules as chains of spherical segments (divided monomers) that interact through evenly
dispersive and repulsive forces. This proved to be the basis of the statistic associating fluid
theories (SAFT).
SAFT models are commonly written as summations of the residual Helmholtz free energy
terms that occur due to differences in molecular interactions of pure components in the
system [59]. They usually employ the Helmholtz energy term because a differentiation of it
could yield properties of interest such as pressure, isothermal compressibility coefficient,
isobaric heat capacity and so on [62]. For a system consisting of associated chains, the SAFT
equations can be expressed as
33
𝐴𝐴𝑟𝑟𝑟𝑟𝑟𝑟 𝑎𝑎𝑟𝑟𝑟𝑟𝑟𝑟 (𝑇𝑇, 𝜌𝜌) 𝐴𝐴𝑖𝑖𝑖𝑖𝑖𝑖𝑖𝑖𝑖𝑖 𝐴𝐴𝑚𝑚𝑚𝑚𝑚𝑚𝑚𝑚 𝐴𝐴𝑐𝑐ℎ𝑎𝑎𝑎𝑎𝑎𝑎 𝐴𝐴𝑎𝑎𝑎𝑎𝑎𝑎𝑎𝑎𝑎𝑎
= = + + + (3.33)
𝑁𝑁𝑘𝑘𝐵𝐵 𝑇𝑇 𝑘𝑘𝐵𝐵 𝑇𝑇 𝑁𝑁𝑘𝑘𝐵𝐵 𝑇𝑇 𝑁𝑁𝑘𝑘𝐵𝐵 𝑇𝑇 𝑁𝑁𝑁𝑁𝐵𝐵 𝑇𝑇 𝑁𝑁𝑘𝑘𝐵𝐵 𝑇𝑇
Where,
N is the number of molecules and 𝑘𝑘𝐵𝐵 is the Boltzmann’s constant. “a” is the Helmholtz free
energy per mole and the superscripts res, ideal, mono, chain and assoc refer to residual, ideal,
monomer reference fluid (e.g. hard sphere), chain dispersion and association respectively,
𝐴𝐴𝑖𝑖𝑖𝑖𝑖𝑖𝑖𝑖𝑖𝑖 is the ideal free energy of the fluid to which three residual contribution are added: the
monomeric contribution (𝐴𝐴𝑚𝑚𝑚𝑚𝑚𝑚𝑚𝑚 ) due to the repulsion-dispersion segment-segment
interactions; the contribution due to the chain formation (𝐴𝐴𝑐𝑐ℎ𝑎𝑎𝑎𝑎𝑎𝑎 ) and the contribution that
takes into account the short range intermolecular association (𝐴𝐴𝑎𝑎𝑎𝑎𝑎𝑎𝑎𝑎𝑎𝑎 ).
Different possible choices for the reference fluid has given rise to lot of SAFT versions.
Examples of these versions include: the Statistical Associating Fluid theory (SAFT) model
developed by Wertheim [60, 63, 64] , Huang-Radosz (HR- SAFT also called CK-SAFT)
[65], SAFT-VR (Variable Range) [66] , simplified SAFT [67], SAFT-LJ (Lennard-Jones)
[61] and the Perturbed Chain statistical Associating fluid theory (PC-SAFT) model
developed by Gross and Sadowski [68, 69]. In the next lines details of PC-SAFT model
would be discussed since it is a modification of the SAFT model. PC-SAFT usually employs
a hard sphere reference system as opposed to a monomer reference fluid. The PC-SAFT
model can be expressed in terms of compressibility factor, Z as
Where superscripts hc is the contribution hard chain part, assoc and disp give the respective
contribution from the association and dispersion terms. The contribution from the ideal term
is 1, thus 𝑍𝑍 𝑖𝑖𝑖𝑖𝑖𝑖𝑖𝑖𝑖𝑖 = 1. Moreover for two pure components parameters with association sites
𝐴𝐴𝑖𝑖 and𝐵𝐵𝑗𝑗 , the characteristic energy ∈ , determining their association interactions is given by
1 𝐴𝐴 𝐵𝐵
∈𝐴𝐴𝑖𝑖 𝐵𝐵𝑗𝑗 = (∈ 𝑖𝑖 𝑖𝑖 +∈𝐴𝐴𝑗𝑗𝐵𝐵𝑗𝑗 ) (3.35)
2
34
While the association volume k is
9
�𝜎𝜎𝑖𝑖𝑖𝑖 𝜎𝜎𝑗𝑗𝑗𝑗
𝑘𝑘 𝐴𝐴𝑖𝑖 𝐵𝐵𝑗𝑗 = �𝑘𝑘 𝐴𝐴𝑖𝑖 𝐵𝐵𝑖𝑖 𝑘𝑘 𝐴𝐴𝑗𝑗𝐵𝐵𝑗𝑗 � � (3.36)
1� �𝜎𝜎 + 𝜎𝜎 �
2 𝑗𝑗𝑗𝑗 𝑖𝑖𝑖𝑖
𝐴𝐴𝑖𝑖 𝐵𝐵𝑖𝑖�
Where 𝜖𝜖 𝑘𝑘 and 𝑘𝑘 𝐴𝐴𝑖𝑖 𝐵𝐵𝑖𝑖 are the effective association energy and effective association
volume. 𝜎𝜎 is the monomeric segment. Equation (3.35) and (3.36) shows the relationship
between the characteristic energy, the monomeric segment, and the association volume.
According to Senol [62] , perturbation in PC-SAFT applies to connected chains for the hard
sphere segment rather between disconnected segments. This approach is similar to
considering attractive (dispersion) interactions between connected segments which could
really represent the behavior of hydrocarbons and polymers in solution. The PC-SAFT
equation of state model is capable of predicting thermo- physical properties and also vapor-
liquid equilibriums for virtually different types of mixtures ranging from associated to non-
associating components as well as others mentioned above. However, for a system to be
modeled with it, the segment number, diameter and energy of the pure component must be
estimated and validated for a certain range of pressure and temperature. [62]
Al Ghafri [40] outlined generalized requirements for SAFT models and they are
(1) SAFT models requires a minimum of two parameters, the characteristic energy, ∈ and the
monomeric segment 𝜎𝜎
(2) A third parameter for the number of segments per molecule, m is required to describe the
non-sphericity of the fluids.
(3) For associating fluids, two additional parameters must be assigned to characterize both
the association energy and the volume available for bonding.
(4) For each additional specie the associating sites and their bonding correspondence (site
which to bond with) must be defined.
(5) Parameters for new systems can be estimated from those of previously modelled systems.
(6) Mixing rules are needed in the dispersion term while combining rules are needed for the
35
segment energy and volume parameters where a correcting interacting parameter 𝑘𝑘𝑖𝑖𝑖𝑖 is often
used similar to binary interaction parameter in CEOS.
It is important to note that all equations of state, activity coefficient models, black oil models
and even thermal models are not overly accurate formulas and thus work needs to be done in
aligning them to suit laboratory observed data.[70] To achieve this, regression is applied to
match the models parameters to closely represent the experimental data in such a way that
deviations between the measured and simulated data are eliminated [8] . Typically in a
reservoir simulation, a non- linear regression model with a Chi-squared distribution test
might be employed to ensure a good fit.
Parameters of compositional models that render themselves suitable for regression include
the critical parameters (i.e. Critical pressure, critical Temperature, Critical Volume), Acentric
Factors, omega A and B (in cubic equations of state) Binary interaction coefficient and
Volume shift factors. While for black oil models, their correlations are the ones suited for
regression [70]. . Conversely from experimental data parameters such as saturation points,
gas phase compressibility factors, liquid drop outcurves or liquid phase densities at reservoir
temperature as well as gas oil ratios are usually the data aimed at matching. Christensen [8]
proposed a procedure for regression capable of obtaining match to PVT data properties.
It is also necessary to note that the number of regression parameters must not exceed the
36
number of data points or observations. Thus, for a given number of n experimental
observations,
𝑛𝑛𝑛𝑛𝑛𝑛𝑛𝑛 2
𝑟𝑟𝑗𝑗
𝑂𝑂𝑂𝑂 = � � � (3.37)
𝑤𝑤𝑗𝑗
𝑗𝑗=1
𝑂𝑂𝑂𝑂𝑂𝑂𝑗𝑗 − 𝐶𝐶𝐶𝐶𝑗𝑗
𝑟𝑟𝑗𝑗 =
𝑂𝑂𝑂𝑂𝑂𝑂𝑗𝑗 (31)
37
will be given in reference. Moreover, Fevang et al [75] proposed some guidelines in for
choosing black oils models or compositional models in volatile oils and retrograde
condensate systems. (Further details of these guidelines could be viewed from reference 66)
38
CHAPTER FOUR
39
(b) Output parameters: Specific gravity of oil, average molecular weight gas molecular
weight, total molecular weight of reservoir stream, total reservoir specific gas gravity, vapor
and liquid phases of reservoir well stream. Elmabrouk’s [76] bubble pressure, Standings [77]
bubble pressure, and vapor mole fraction of reservoir fluid and well stream or recombined
composition of the reservoir fluid (i.e. zi as used in chapter two). Also the recombination
module is responsible for splitting the heavy fractions of the fluid mixture to three to five
pseudo fractions. It uses Whitson method stated in chapter three to perform this operation.
Outputs from here include the critical properties (acentric factor, critical temperature,
pressure and volume) of the pseudo fractions, the molecular weights and the mole fractions
of each fraction.
40
4.4 FLUID MODEL VALIDATION
To validate the model, a gas condensate sample from Gulf of Mexico, USA M-4/M-4A
reservoir taken from reference 9 [9] was used. Results gotten from the recombination module
(RM) and flash modules (FM) where compared with Multiflash Infochem results. Multiflash
infochem (2013) is a recent commercial PVT modelling software created by Infochem
Computer services ltd. Multiflash is a fully integrated toolkit with multiple equations of state
(ranging from cubic, higher order to statistical equations of state). This feature enabled it to
be adopted by lots of oil companies adopted it for PVT modeling. However, it does not pay
much attention to black oil modelling therefore another thermodynamic package was chosen
for comparing the output from the black oil model. PVTP (2013) fluid thermodynamics
package (created by Petroleum Experts) was chosen for this purpose, since it honors black
oil as well as compositional modelling approaches. It is imperative to note that PVTP has
only two equations of state (SRK and PR equation of state without their variations) and does
not show vapor liquid equilibrium splits, thus is not considered suitable for comparing the
flash module.
41
The table above shows a list of the critical values for the pseudo fractions pseudo fractions
PS-1, PS-2, and PS-3 pseudo fractions for a heptane characterization with Gaussian
quadrature (Whitsons [7] method). Where Pc- critical pressure in psi, Tc is the critical
temperature in (K), MW is the molecular weight, ω is the acentric factor while Tb is the true
boiling temperature (K).
Table 4.1 Range between values From RC Module and Multiflash
(b)
Table 4.2 Comparison from RC module recombination with Multiflash results
42
Table 3.4: Absolute average error from measured lab recombination
Calculating the Absolute Average Error (AARE) for both Multiflash and RC module.
The numbers in each row represent the individual average error for each row while the
absolute average error is calculated based on equation
𝑛𝑛
1 |𝐶𝐶𝐶𝐶 − 𝑀𝑀𝑀𝑀|
𝐴𝐴𝐴𝐴𝐴𝐴𝐴𝐴 = � × 100
𝑛𝑛 𝑀𝑀𝑀𝑀 (4.1)
𝑖𝑖=1
Where ,
n is the number of items, CC is the calculated property and MP is the measured property. The
AARE helps to check the magnitude of errors in a set of results
4.5.2 FLASH MODULE (F-M): The recombined sample from the laboratory was flashed
at standard conditions and the Vapor–liquid equilibrium phase envelop (Pressure
Temperature diagram) plotted on Multiflash (see diagram in Appendix B.3). Whereas the RC
modules recombined sample was flashed with the F-M module and also the phase envelop
plotted on Matlab. The result of the phase envelop is shown below. (for results of the flashing
splits see Appendix B.2)
43
PHASE DIGRAM OF RC MODULE SAMPLE FROM F-M MODULE FOR
CP GAS
2500
2000
Pressure, psia
1500
1000
X: 246.5
Y: 588.8
500
CT
Temperature, F
4.5.3 BLACK OIL PVT CALCULATOR MODULE (BC): Results from this module are
tables with black oil properties. However further work was done to devise their critical values
and combine these surface terms to relate to reservoir terms to be used in the flash module.
Table showing black oil PVT properties developed with regard to correlations (see
appendices for list of correlations)
44
Table 4.5: Black oil PVT parameters from PVTP and BC module
BC MODULE RESULTS
267 1155 0.02396 0.0049 0.001983 1.2639 0.6039 171.50
267 2000 0.009871 0.0052 0.004814 1.3401 0.5602 198.08
267 6000 0.003886 0.0058 0.012229 1.8936 0.4505 217.21
267 8000 0.003326 0.0059 0.014288 2.3433 0.4193 198.19
267 9912 0.002996 0.0061 0.015862 2.945 0.3959 172.98
267 12688 0.002726 0.0062 0.017433 4.3136 0.3693 131.71
The table shows a comparison between the black oil PVT results from PVTP with those from
BC module.
black oil model for the reservoir wellstream fluid
700
600
500
400
pressure, psia
300
200
100
0
0 100 200 300 400 500 600 700
temp, F
Fig 4.2: Black oil model for reservoir wellstream: Cricondentherm: 602.31F,
Cricondentherm: 683.633psia: here recombined wellstream was modelled with a modified
45
black oil approach (see appendix A.4 for full algorithm) fluid was modelled with a
conventional black oil
Hypothetical pseudo black oil model envelop with gaussian distribution for two pseudo components
1000
900
800
700
600
pressure, psia
500
400
300
200
100
0
0 100 200 300 400 500 600 700
temperature, F
Cricondentherm: 607.71F, Cricondenbar 996.848 psia: A hypothetical black oil model was
develop by means of a Gaussian quadrature. Here the reservoir recombined stream is split
into two with the same technique Whitson proposed for in splitting heavy fractions (Note no
regression was performed).
46
correlations that would be plugged into the next module the F-M module. The presumption
here is that the initial Fv value is supposed to be closed to the Fv value that would be returned
from the Rachford- Rice solution in the F-M module (The Rachford rice solution usually
requires an initial guess for the start of the iterative process as mentioned in chapter two with
initial guesses sometimes far from the actual value). Thus this method aims at reducing the
amount of iterations to be performed at this stage, (considering a cell in the reservoir
simulator). From the R-C module, recombination yielded an initial Fv value of 0.977 which
was plugged into the Flash module and the final Fv value returned was 0.98 after performing
just two iteration (using Newton Raphson’s process). Therefore this method is able to achieve
convergence for Fv in short time.
Moreover, considering other aspects of the recombination module which include solving for
saturation pressures by updating saturation pressures gotten from correlations(for bubble
point pressure: Elmabrouk or Standing pressure is used, whereas for dew point pressure
Nemeth and Kennedy dew point pressure is used). The recombination module yields the
saturation pressure (by using correlations) which is then passed on to the Flash module (FM)
for updating. The Flash module uses this inserted pressure value as the guess pressure for the
bubble point or dew point pressure calculation. Such calculation of saturation pressure where
employed in phase envelop plotting. The phase envelop plots took a calculation time of was
less than a second to complete plot. Thus method is consider to be employed in
thermodynamics modelling of reservoir fluids in reservoir simulators.
An important feature to also consider is the nature of the result from the first two modules.
In comparing the results to Multiflash prediction, for pseudo splitting of heavy fractions the
linear deviations (as shown in table 4.2) of the RC model values was not considerably far
since the only the critical pressures where the only parameter with wide deviation. This
deviation is possibly due to the method used in split. (The RC-module uses a Guassian
quadrature or Whitsons method for splitting as shown in appendix A.2).
Moreover, the values of the calculated wellstream (from RC module) where compared to
Multiflash result and the original recombination from the PVT laboratory. The RC-modules
had an absolute average error value of about 6% from the original laboratory data while the
Multiflash module had an AARE value of 20.2% (see Table 4.4 above). Thus, the RC-module
predicts the reservoir wellstream composition with more accuracy than Multiflash.
47
Multiflash has this deviation from the laboratory sample because it uses few data points (i.e.
CO2, H2S N2, and C1 to C4) in developing its recombined fluid, (a feature properly accounted
for in the R-M module).
For the flash module, the value of the Cricondentherm and Cricondenbar are 246.5oF and
2830 psia respectively on the phase envelop (Pressure –Temperature diagram) for the
mixture. The value is comparative to the original reservoir mixture from the laboratory which
had 195.931oF and 2388.1 psia respectively. The little deviations comes from the
recombination average absolute error. Thus signifying that the models where suitable for
representing the fluid behavior.
Furthermore, output results from the black oil module are based on internal correlations and
the values it predicted for the PVT properties were close in some cases to the values from
PVTP. Wherever the values where similar to those from PVTP, it is assumed that the
correlation used is similar or the same. Also, it found that some correlations underestimate
values and thus they require regression. For instance the Nemeth correlation for dew point
yielded a value of approximately 6000psia which was far less than the dew point of the
system (9912 psia).
Moreover, the BC module was used to test a hypothetical formulated fluid to a modified
black oil model fluid. The hypothetical fluid was formed based on Whitson [7] heavy fraction
split which utilizes a Gaussian distribution (pseudo split) to break a component into
subsequent fractions. Here the hydrocarbon from the wellstream is considered as a single
mixture and is then broken down into two pseudo fractions (a hypothetical oil and gas
stream). Then critical properties are calculated for each stream so that they can be modelled
with an equation of state.(see Appendix A.2 for full algorithm)
To test the resemblance of this hypothesis with a modified black oil model. The phase
envelop was considered so as to see the volumetric behavior of the two fluids. The results of
the test showed for the hypothetical fluid a Cricondentherm and Cricondenbar of about
607.71oF, Cricondenbar 996.848 psia (see fig 4.3) whereas the modified black oil fluid had
a value of 602.31oF, 683.633psia (see Fig 4.2) respectively. Thus, indicating that the
deviation between the two models (hypothetical and modified approach) are not quite far.
Further adjustments to the pressure might be needed in the hypothetical model
48
4.7 SOURCES OF POSSIBLE ERRORS
The possible errors considered were errors that regression analysis would solve such as
differences in the binary interaction coefficients (BICs) and other critical parameters.
Moreover, to avoid large deviations, the BICs values where not set at zero instead their values
were taken from a text while for hydrocarbon to hydrocarbon interactions they were
calculated using the Prausnitz [78] equation. Moreover since these models did not honor
regression on the overall, the values from the flash module cannot be used directly in
simulator cell.
49
CHAPTER FIVE
5.1 CONCLUSION
A phase behavior model able to perform analyses and also to reduce computational time in a
simulation was developed. The model proved capable of predicting phase equilibrium on a
gas condensate sample.
The proposed model formulated with three routines modules on Matlab software had each
module created for a define purpose. The first routine yielded a recombination sample from
separation analysis that was close to the actual reservoir samples composition. Moreover it
furnished the initial value of the vapour mole fraction Fv that would be used for flashing the
reservoir mixture at any time. This proves to be vital in reducing the number of iterations
would performed by the simulator in obtaining the vapour mole fraction. Thus helping in
reducing computation time for compositional modelling.
The second module was created for flashing reservoir fluids mixtures to obtain their vapour
and liquid fractions. However this module coupled with results from the first module
provided a means of updating saturation pressures (both bubble and dew points) predicted
from correlations.
Moreover, the third module predicted the PVT properties of the gas condensate sample. This
module also showed that using Gaussian quadrature means as predicted by Whitson could be
a possible replacement for the black oil modelling approach. Since its output was similar to
the output from of the black oil model.
5.2 RECOMMENDATION
The following are the recommendations proposed for future works with this model
(i) A recombination module formulated by the means above will be helpful in reducing
iteration time in cells during simulation. Also, obtaining proper predictions of saturation
pressures by updating a correlated bubble point or dew point (using such techniques as in the
flash module) when using a black oil modelling approach...
(ii) The proposed method of splitting hydrocarbon phases by means of a pseudo split (i.e
same method Whitson proposed for characterizing heptane’s C7+) should be further tested
for its accuracy. If found consistent (i.e. to resemble the modified back oil method closely)
could replace the Modified black oil model approach and could provide other dimensions for
applications of black oil models.
50
REFERENCES
[1] Elkiki, M.S., (2012). Assessment of Reservoir Simulators: Workflow and Quality
[3] Nagarajan, N.R., Honarpour, M.M. and Sampath K., (August 2007). Reservoir-Fluid
[4] Adeeyo, Y.A. and Marhoun, M.A., (2013). Evaluation of mathematical models of PVT
properties for Nigerian crude oils, SPE Nigeria Annual International Conference and
Exhibition,
[5] Bon, J., Sarma, H.K., Rodrigues, J.T. and Bon, J.G., (2007). Reservoir Fluid Sampling
[6] Vardcharragosad, P. and Duplaa, A., (2014). Identification of pitfalls in PVT gas
[8] Pedersen, K.S., Christensen, P.L. and Shaikh, J.A., (2014). Phase Behavior of
51
[9] Ezekwe, N., (2011). Pvt properties predictions from equations of state, In Petroleum
Reservoir Engineering Practice Boston, MA: Pearson Education Inc, pp. 187-179.
[10] Nnabuo, N.N., Okafor, I.S. and Ubani, C.E., (2014). Interpretation of laboratory PVT
analysis result (A case study of a Niger delta field), SPE Nigeria Annual International
[11] Danesh, A., (1998). 2 - PVT Tests and Correlations, Developments in Petroleum
[12] Gibbs, J.W., (1957). The Collected Works of J. Willard Gibbs. Yale University Press.
[13] Ezekwe, N., (2011). Reservoir fluid sampling and pvt laboratory measurements, In
Petroleum Reservoir Engineering Practices Boston, MA: Pearson Education, Inc, pp.
111-140.
[15] Kay, W., (1936). Density of hydrocarbon gases and vapors at high temperature and
[16] Manning, F.S. and Thompson, R.E., (1995). Oilfield Processing of Petroleum: Crude
[17] Michelsen, M.L., (1982). The isothermal flash problem. Part II. Phase-split
52
[18] Carnegie, A.(., (2005). New Solutions In Fluid Sampling, Middle East and Asia
Reservoir Review,
[19] Morris, C.W(schlumberger wireline & Testing), Felling, M.M (Schlumberger Wireline
& Testing), Butsch, R.J (Schlumberger Wireline & Testing) and Sass, W
(schlumberger Wireline & Testing), (1998). Using optical fluid analysis to evaluate
20-22 October,
www.halliburton.com/public/ts/contents/books.../04%20Sampling.pdf (Accessed
30/06/2015).
[21] Betancourt, S., Davies, T., Kennedy, R., Dong, C., Elshahawi, H., Mullins, O.C. and
O'Keefe, M., (2007). Advances Fluid Property Measurements, Schlumberger Oil Field
Review, pp.56-70.
[22] Whitson, C., da Silva, F. and Soreide, I., (1988). Simplified compositional formulation
for modified black-oil simulators, SPE Annual Technical Conference and Exhibition,
[23] Fekete, A., (2013). Modified Black Oil Properties: Practical Treatment to Condensate
[24] Wang, Y., (June 2007). Implementation of a two pseudo- component approach for
53
[25] Shank, G. and Vestal, C., (1989). Practical techniques in two-pseudo component
[26] Walsh, M.P. and Towler, B.F., (1995). Method computes PVT properties for gas
[27] Coats, K.H., (1985). Simulation of gas condensate reservoir performance, Journal of
[28] Whitson, C.H. and Torp, S.B., (1981). Evaluating constant volume depletion data, SPE
http://www.nexttraining.net/Courses/Details/OG-SW2-SIS11360/ECLIPSE-
[30] McNaught, A.D., (2005). IUPAC Compendium of Chemical Terminology: The Gold
[31] Andersen, S.I. and Speight, J.G., (1999). Thermodynamic models for asphaltenes
pp.53-66.
[32] Chung, T., (1992). Thermodynamic modeling for organic solid precipitation, SPE
54
[33] Yarranton, H.W. and Masliyah, J.H., (1996). Molar mass distribution and solubility
[34] Zhou, X., Thomas, F. and Moore, R., (1996). Modelling of solid precipitation from
[35] Coutinho, J.A., Andersen, S.I. and Stenby, E.H., (1995). Evaluation of activity
[36] Coutinho, J.A.P., (1999). Predictive local composition models: NRTL and UNIQUAC
[37] Coutinho, J.A. and Stenby, E.H., (1996). Predictive local composition models for
[38] Hansen, H.K., Rasmussen, P., Fredenslund, A., Schiller, M. and Gmehling, J., (1991).
[39] Won, K., (1986). Thermodynamics for solid solution-liquid-vapor equilibria: wax
phase formation from heavy hydrocarbon mixtures, Fluid Phase Equilibria, 30 pp.265-
279.
55
[40] Al Ghafri, S., (2013). Phase behaviour and physical properties of reservoir fluids under
[41] Wei, Y.S. and Sadus, R.J., (2000). Equations of state for the calculation of fluid‐phase
[42] Ortiz, A., (2001). Prediction of Critical Properties for Mixtures of Carbon Dioxide
[43] Waals, J.D. and Rowlinson, J.S., (1988). JD Van Der Waals: On the Continuity of the
[44] Martin, J.J., (1979). Cubic equations of state-which? Industrial & Engineering
244.
[46] Soave, G., (1972). Equilibrium constants from a modified Redlich-Kwong equation of
[47] Peng, D. and Robinson, D.B., (1976). A new two-constant equation of state, Industrial
[48] Usdin, E. and McAuliffe, J.C., (1976). A one parameter family of equations of state,
56
[49] Stein, R.B., (1982). Modified Redlich-Kwong equation of state for phase equilibrium
21 (4), pp.564-569.
[50] Heyen, G., (1980). A cubic equation of state with extended range of application,
[51] Kubic, W.L., (1982). A modification of the Martin equation of state for calculating
[52] Adachi, Y. and Lu, B., (1984). Simplest equation of state for vapor‐liquid equilibrium
calculation: A modification of the van der waals equation, AIChE Journal, 30 (6),
pp.991-993.
[53] Patel, N.C. and Teja, A.S., (1982). A new cubic equation of state for fluids and fluid
[54] Schmidt, G. and Wenzel, H., (1980). A modified van der Waals type equation of state,
[55] Ahmed, T.H., (1988). Comparative study of eight equations of state for predicting
348.
57
[57] Peneloux, A., Rauzy, E. and Fréze, R., (1982). A consistent correction for Redlich-
[58] Jhaveri, B.S. and Youngren, G.K., (1988). Three-parameter modification of the Peng-
[59] Diamantonis, N.I. and Economou, I.G., (2011). Evaluation of statistical associating
fluid theory (SAFT) and perturbed chain-SAFT equations of state for the calculation of
[60] Wertheim, M., (1986). Fluids with highly directional attractive forces. III. Multiple
Lennard‐Jones fluids: Theory and simulation, The Journal of Chemical Physics, 93 (6),
pp.4299-4304.
[62] Senol, I., (2011). Perturbed-Chain Statistical Association Fluid Theory (PC-SAFT)
Parameters for Propane, Ethylene, and Hydrogen under Supercritical Conditions, Disp,
2 pp.1.
[63] Wertheim, M., (1984). Fluids with highly directional attractive forces. I. Statistical
58
[64] Wertheim, M., (1986). Fluids with highly directional attractive forces. IV. Equilibrium
[65] Huang, S.H. and Radosz, M., (1990). Equation of state for small, large, polydisperse,
pp.2284-2294.
[66] Alejandro, Amparo Galindo Lowri A Davies and Jackson, G.G., (1998). The
[67] Fu, Y. and Sandler, S.I., (1995). A simplified SAFT equation of state for associating
pp.1897-1909.
[68] Gross, J. and Sadowski, G., (2001). Perturbed-chain SAFT: An equation of state based
[69] Gross, J. and Sadowski, G., (2002). Modeling polymer systems using the perturbed-
chain statistical associating fluid theory equation of state, Industrial & Engineering
[70] Schlumberger, P., (2005). PVTi and eclipse 300:An introduction to PVT analysis and
59
[71] Coats, K., (1976). Simulation of steam flooding with distillation and solution gas,
[74] Behrens, R. and Sandler, S., (1988). The use of semi continuous description to model
pp.1,041-1,047.
[75] Fevang, Ø, Singh, K. and Whitson, C.H., (2000). Guidelines for choosing
compositional and black-oil models for volatile oil and gas-condensate reservoirs, SPE
[77] Standing, M.B., (1951). Volumetric and Phase Behavior of Oil Field Hydrocarbon
[78] Prausnitz, J.M. and Chueh, P.L., (1968). Computer Calculations for High-Pressure
60
[79] Petrosky Jr, G. and Farshad, F., (1998). Pressure-volume-temperature correlations for
Gulf of Mexico crude oils, SPE Reservoir Evaluation & Engineering, 1 (05), pp.416-
420.
[80] Beggs, H.D. and Robinson, J., (1975). Estimating the viscosity of crude oil systems,
61
APPENDIX A
𝑆𝑆𝑆𝑆𝑜𝑜𝑜𝑜𝑜𝑜
, 𝐶𝐶𝑜𝑜𝑜𝑜 = 133316 × ,
𝑀𝑀𝑜𝑜𝑜𝑜
(𝐺𝐺𝑝𝑝𝑝𝑝 +𝐺𝐺𝑝𝑝𝑝𝑝 )
(vi)Average specific gas gravity of surface stream, 𝑆𝑆𝑆𝑆𝑠𝑠𝑠𝑠 =
(𝑅𝑅𝑠𝑠𝑠𝑠 +𝑅𝑅𝑠𝑠𝑠𝑠 )
62
(vii)Elmabrouk’s bubble pressure, (Epb)
𝐸𝐸𝑝𝑝𝑝𝑝 = �𝑅𝑅𝑠𝑠𝑠𝑠 0.683 � × �𝑃𝑃𝑠𝑠𝑠𝑠 0.18 � × �𝑆𝑆𝑆𝑆𝑜𝑜𝑜𝑜𝑜𝑜 4.98 � × �𝑇𝑇𝑟𝑟 0.658 �
�𝑆𝑆𝑆𝑆𝑡𝑡𝑡𝑡 −𝑆𝑆𝑆𝑆𝑠𝑠𝑠𝑠 �
(viii) Calculate vaporized gas ratio from 𝑟𝑟𝑠𝑠 =
4600×𝑆𝑆𝑆𝑆𝑜𝑜𝑜𝑜𝑜𝑜 −𝐶𝐶𝑜𝑜 𝑆𝑆𝑆𝑆𝑠𝑠𝑠𝑠
STEP 4: Assume undersaturated conditions, let Rp= Rsp, where Rp is the producing gas oil
ratio. Solve for mole fraction of wellstream that comes from reservoir gas and oil (i.e Fg and
Fo respectively) using the relations below
Rp = Rsp; Km = 1 − Rsp.× rs;
Rsp
jm = ;
Rp
qm = rs × Rp;
1 − 𝑗𝑗𝑚𝑚 1 − qm
Fgg = , Foo = ;
𝐾𝐾𝑚𝑚 Km
gm = 1 − Foo;
gk = Co + Rsp;
gt = Cog + rs.−1 ;
jk = gm × gt;
jg = Foo.× gk;
1
Fk = �1 + �jg. ��
jk
Fg = Fk −1 ;
Fo = 1 − Fg
STEP 5:Calculate the approximate wellstream vapor (yr) and liquid (xr) compositions by the
following relations : 𝑙𝑙𝑙𝑙 == Cog × rs ;
𝑙𝑙𝑙𝑙 = 𝑙𝑙𝑙𝑙𝑥𝑥𝑥𝑥𝑥𝑥 ,
𝑔𝑔𝑔𝑔 = 𝑦𝑦𝑦𝑦𝑦𝑦 + 𝑙𝑙𝑙𝑙 ,
𝑗𝑗𝑗𝑗 = 1 + 𝑙𝑙𝑙𝑙 ,
Co
lb = Rsp ,
lc = lb × xsp ,
gb = ysp + lc ,
63
𝑗𝑗𝑗𝑗 = 1 + 𝑙𝑙𝑙𝑙
xr = gb/jb
STEP 6: Calculate the approximate reservoir well stream composition (zi) by the relations
zg = Fg × yr
zo = Fo.×xr
zi = zg + zo
Calculate zi with the relations:
Co
FyG = 1/(1 + � �)
Rsp
Where, FyG is the mole fraction of wellstream that becomes separator gas. Then
zi = FyG × ysp + (1 − FyG)xsp
STEP 7: Calculate Nemeth-Kennedy’s dew point pressure using the relations in reference
[13]
STEP 7: disp all calculated values
STEP 8: END
64
𝛼𝛼𝛼𝛼
� −1�
𝛿𝛿 = 𝑒𝑒 𝑀𝑀_𝑐𝑐𝑐𝑐 −𝜂𝜂
and
(𝑀𝑀𝑀𝑀 − 𝜂𝜂)
𝛽𝛽 =
𝑋𝑋𝑋𝑋
Step 7: Calculate the Cn+ mole fraction (zik) and molecular weight (Mi) for each fraction
(𝑋𝑋)𝛼𝛼−1 (1+ln 𝛿𝛿)𝛼𝛼
by the formula 𝑧𝑧𝑧𝑧𝑧𝑧 = 𝑧𝑧_𝑐𝑐𝑐𝑐 × [𝑊𝑊𝑊𝑊𝑊𝑊(𝑋𝑋𝑋𝑋)] , 𝑀𝑀𝑖𝑖 = 𝜂𝜂 + 𝛽𝛽𝛽𝛽𝛽𝛽 and 𝑓𝑓(𝑋𝑋) =
Γ(𝛼𝛼) ×𝛿𝛿 𝑥𝑥
Step8: Check the condition ∑𝑛𝑛𝑖𝑖=1 𝑧𝑧𝑧𝑧𝑘𝑘 𝑀𝑀𝑖𝑖 = 𝑀𝑀𝑐𝑐𝑐𝑐 is satisfied. Else modify the value of 𝛿𝛿 and
repeat steps % and 6 until a reasonable match is achieved.
Step 9: calculate Watson characterization factor 𝐾𝐾𝑤𝑤 and the specific gravities of each split
SGi by the relations
0.15178 −0.84573
𝐾𝐾𝑤𝑤 = 4.5579 × 𝑀𝑀_𝑐𝑐𝑐𝑐 × 𝑆𝑆𝑆𝑆_𝑐𝑐𝑐𝑐
𝑆𝑆𝑆𝑆𝑆𝑆 = 6.0108 × 𝑀𝑀𝑖𝑖0.17947 × 𝐾𝐾𝑤𝑤−1.18241
Step 10: calculate the boiling points (Tb) and the critical pressure (Pc), temperature (Tc) and
volume (Vc) from Riazi Daubert correlations. Also estimate the acentric factors (𝜔𝜔) from
Edminster’s correlation
𝑇𝑇𝑏𝑏𝑏𝑏 = (𝐾𝐾𝑤𝑤 𝑆𝑆𝑆𝑆𝑖𝑖 )3
−2.3125
𝑃𝑃𝑐𝑐𝑐𝑐 = (3.12281 × 109 ) × 𝑇𝑇𝑏𝑏𝑏𝑏 × 𝑆𝑆𝑆𝑆𝑖𝑖2.3201
0.58848
𝑇𝑇𝑐𝑐𝑐𝑐 = 24.27871 × 𝑇𝑇𝑏𝑏𝑏𝑏 × 𝑆𝑆𝑆𝑆𝑖𝑖0.3596
𝑃𝑃𝑐𝑐
3 log � �14.7�
𝜔𝜔 = � × − 1�
7 𝑇𝑇𝑐𝑐
�� �𝑇𝑇 � − 1�
𝑏𝑏
2.3829
𝑉𝑉𝑐𝑐 = (7.0434 × 10−7 )𝑇𝑇𝑏𝑏𝑏𝑏 × 𝑆𝑆𝑆𝑆𝑖𝑖−1.683
Volume is in ft3/lb mole, pressure in psia and temperatures (boiling and critical) are in
degrees Rankine.
Step 11: END
65
Step 4: Input values of critical pressure, temperature, acentric factors, critical volumes and
molecular weight for the mixture in the order N2, CO2, C1, C2….Ps-1, Ps-2, Ps-3…
Step 5: Input value for the binary interaction coefficient 𝑘𝑘𝑖𝑖𝑖𝑖 from Whitsons Monograph and
for hydrocarbon element interactions (C1 to C7+ pairs) use Chueh-Prausnitz correlation
given below
1� 1� 𝐵𝐵
6 6
2𝑉𝑉𝑐𝑐𝑐𝑐 𝑉𝑉𝑐𝑐𝑐𝑐
𝑘𝑘𝑖𝑖𝑖𝑖 = 𝐴𝐴 �1 − � 1 1� � �
�3
𝑉𝑉𝑐𝑐𝑐𝑐 + 𝑉𝑉𝑐𝑐𝑐𝑐 3
Step 7: calculate the minimum and maximum values ok K i.e Kmin and Kmax respectively and
set Fv to be limited by 𝐹𝐹𝑣𝑣𝑣𝑣𝑣𝑣𝑣𝑣 < 0 𝑎𝑎𝑎𝑎𝑎𝑎 𝐹𝐹𝑣𝑣𝑣𝑣𝑣𝑣 > 1. Thus 𝐹𝐹𝑣𝑣𝑣𝑣𝑣𝑣𝑣𝑣 < 𝐹𝐹𝑣𝑣 < 𝐹𝐹𝑣𝑣𝑣𝑣𝑣𝑣𝑣𝑣 and the values
are obtained by
1
𝐹𝐹𝑉𝑉𝑉𝑉𝑉𝑉𝑉𝑉 =
1 − 𝐾𝐾𝑚𝑚𝑚𝑚𝑚𝑚
1
and 𝐹𝐹𝑉𝑉𝑉𝑉𝑉𝑉𝑉𝑉 = 1−𝐾𝐾
𝑚𝑚𝑚𝑚𝑚𝑚
Step 8: Solve the Rachford-Rice phase split equation (2.20) at start value of Fv being the Fv
from recombination using Newton-Raphson’s method.
Step 9: Calculate the phase compositions x and y as given by equations (2.19 and 2.18)
Step 10: Calculate phase Z factors ZL , Zv and components fugacities fLi and fvi using Peng-
Robinson’s equation of state
Step 11: Calculate the phase Gibbs energy functions 𝐺𝐺𝑦𝑦∗ 𝑎𝑎𝑎𝑎𝑎𝑎 𝐺𝐺𝑥𝑥∗ as in equation (2.9).
Determine the correct Z-factor roots of each phase (if multiple roots exist) and calculate the
mixture Gibbs energy given by the relation
66
∗
𝐺𝐺𝑚𝑚𝑚𝑚𝑚𝑚 = 𝐺𝐺𝑥𝑥∗ (1 − 𝐹𝐹𝑣𝑣 ) + 𝐺𝐺𝑦𝑦∗ 𝐹𝐹𝑣𝑣
Step 12: Check the equal fugacities constraints from equation ()
Step 13: (a) if a convergence is reached, stop (b) if convergence is not reached update the K
values with the fugacity ratio using Newton Raphson methods for K update
Step 14: Check for convergence at a trivial solution (𝐾𝐾𝑖𝑖 → 1) with the condition
𝑛𝑛
Step 15: if a trivial solution is not detected return to step 6. Otherwise perform a stability
check.
Step 16: For stability check : calculate mixture fugacities fzi (use normalized zi), with the
multiple Z-factor roots, choose root with the lowest g
Step 17: use Wilson equation to estimate the K values
Step18: calculate the second phase mole fractions (yi), with the assumption that zi is equal
to the other phase. Then it follows that
(𝑦𝑦𝑖𝑖 )𝑣𝑣 = 𝑧𝑧𝑖𝑖 (𝐾𝐾)𝑣𝑣
Step 18: add up the mole numbers to get 𝑆𝑆𝑣𝑣
𝑛𝑛
Step 19: calculate the fugacities of the second phase (fyi)v from Peng-Robinson equation of
state with multiple Z-factor roots (for the given phase) , choose root with the minimum Gibbs
energy 𝐺𝐺 ∗
Step 20: Calculate the fugacity-ratio corrections (𝑅𝑅𝑅𝑅)𝑣𝑣 for subsequent substitution to update
the K values ,
𝑓𝑓𝑧𝑧 𝑖𝑖 1
(𝑅𝑅𝑖𝑖 )𝑣𝑣 =
�𝑓𝑓𝑦𝑦𝑦𝑦 �𝑣𝑣 𝑆𝑆𝑣𝑣
Step 21: Test for convergence with the criteria 𝑒𝑒 < 1 × 10−12 , thus
67
𝑛𝑛
(ℎ(𝐹𝐹𝑣𝑣 ))𝑖𝑖
Step 9: Calculate the (j+1)th estimate of bubble point pressure from 𝑃𝑃𝑗𝑗+1 = 𝑃𝑃𝑗𝑗 −
𝑑𝑑(ℎ(𝐹𝐹𝐹𝐹))𝑖𝑖
𝑑𝑑𝑑𝑑
68
Else
Step 11: END
Note: Phase envelope algorithm followed for this report was same as in Pedersen book
(reference )
69
𝑀𝑀𝑜𝑜 = 𝑀𝑀𝑜𝑜 𝑥𝑥𝑜𝑜� + 𝑀𝑀𝑔𝑔 𝑥𝑥𝑔𝑔�
𝑀𝑀𝑜𝑜
𝑉𝑉𝑜𝑜 =
𝜌𝜌𝑜𝑜
62.48𝛾𝛾𝑜𝑜 + 0.0136𝛾𝛾𝑔𝑔 𝑅𝑅𝑠𝑠
𝜌𝜌𝑜𝑜 =
𝐵𝐵𝑜𝑜
70
𝑃𝑃𝑐𝑐 = 706 + 51.7𝛾𝛾𝑔𝑔 − 11.1𝛾𝛾𝑔𝑔2
𝑤𝑤 = 01637𝛾𝛾𝑔𝑔 − 0.0792
Note: The algorithm for the hypothetical model using Gaussian distribution is the same as
the Pseudoization model in RM module. But the molecular weight used is the weight of the
total well stream, while the normalized mole fraction and specific gravity are 1 and the total
specific gravity of the well stream.
71
APPENDIX B
B2
72
Fig B2: Phase diagram of reservoir mixture from laboratory (Diagram from Multiflash)
B3
Table B.3 : Comparative showing the flash of the combined reservoir stream by
Multiflash and the F-M module
Component feed Multiflash results F_M module
Vapour liquid vapor liquid
NITROGEN 0.0019 0.0019 0.0000 0.0019 0.0000
CO2 0.0095 0.0095 0.0002 0.0092 0.0003
METHANE 0.8996 0.9014 0.0042 0.8720 0.0054
ETHANE 0.0542 0.0543 0.0015 0.0525 0.0021
PROPANE 0.0186 0.0186 0.0018 0.0181 0.0028
ISOBUTANE 0.0043 0.0043 0.0010 0.0042 0.0017
N-BUTANE 0.0051 0.0051 0.0018 0.0050 0.0030
ISOPENTANE 0.0024 0.0024 0.0025 0.0023 0.0038
N-PENTANE 0.0019 0.0019 0.0028 0.0019 0.0042
C6 0.0004 0.0004 0.0112 0.0026 0.0197
C7+ 0.0021 0.0001 0.9730 0.0303 0.9569
73