Professional Documents
Culture Documents
Manual Winprop PDF
Manual Winprop PDF
WinProp
Phase Property Program
Version 2010
This publication and the application described in it are furnished under license
exclusively to the licensee, for internal use only, and are subject to a confidentiality
agreement. They may be used only in accordance with the terms and conditions of
that agreement.
All rights reserved. No part of this publication may be reproduced or transmitted in any
form or by any means, electronic, mechanical, or otherwise, including photocopying,
recording, or by any information storage/retrieval system, to any party other than the
licensee, without the written permission of Computer Modelling Group.
The information in this publication is believed to be accurate in all respects.
However, Computer Modelling Group makes no warranty as to accuracy or
suitability, and does not assume responsibility for any consequences resulting from
the use thereof. The information contained herein is subject to change without notice.
E-mail: cmgl@cmgl.ca
Preface
WinProp is CMG's equation of state (EOS) multiphase equilibrium and properties
determination program. WinProp features techniques for characterizing the heavy
end of a petroleum fluid, lumping of components, matching laboratory PVT data
through regression, simulation of first and multiple contact miscibility, phase
diagrams generation, asphaltene and wax precipitation modelling, compositional
grading calculations as well as process flow simulation.
This User's Guide presents a comprehensive description of the steps involved in
obtaining a PVT data suitable for inclusion in data files for CMG's GEM, STARS or
IMEX simulators. This User's Guide is aimed at reservoir engineers who want to use
WinProp to predict phase behavior of reservoir fluids as well as characterize these
fluids for reservoir simulation. It requires some knowledge of phase behavior as it
pertains to the different fluid types found in reservoirs.
Every attempt has been made in the preparation of this User's Guide to provide the
user with all the necessary details. If questions arise, please contact:
Computer Modelling Group Ltd.
#150, 3553 31 Street N.W.
Calgary, Canada
T2L 2K7
Telephone: (403) 531-1300 Fax: (403) 289-8502 E-mail: cmgl@cmgl.ca
Limited Liability: CMG does not warrant the accuracy or usefulness of the
technology and software - Refer to your license.
Contents
New Features
Introduction
17
What is WinProp?.......................................................................................................17
Use of this Manual......................................................................................................18
Installation ..................................................................................................................18
Confidentiality ............................................................................................................18
Template Data Files ....................................................................................................19
Tutorial Section
21
Overview.....................................................................................................................21
Getting On-Line Help .................................................................................................21
Creating, Opening and Saving Data Files...................................................................21
Running, Viewing Output and Creating Plots ............................................................22
Copying Between Different Data Files.......................................................................23
Setting Up a Regression Run ......................................................................................23
Contents i
31
Overview .................................................................................................................... 31
Editing Data Set.......................................................................................................... 32
Titles/EOS/Units Selection
33
Overview .................................................................................................................... 33
Data Input ................................................................................................................... 33
Comments...................................................................................................... 33
Title 1, Title 2, Title 3 ................................................................................... 33
Equation of State ........................................................................................... 34
Units .............................................................................................................. 34
Feed ............................................................................................................... 34
Components
35
ii Contents
53
Overview.....................................................................................................................53
Composition Specification..........................................................................................53
Initial K-Values...........................................................................................................55
Output Level ...............................................................................................................55
Stability Test Level.....................................................................................................55
57
Overview.....................................................................................................................57
Saturation Pressure .....................................................................................................57
Saturation Temperature...............................................................................................58
Phase Boundary and Quality Line Calculations .........................................................58
Envelope Specification ..................................................................................59
Envelope Construction Controls ....................................................................61
Cricondenbar/Cricondentherm Calculation ................................................................62
Critical Point Calculation............................................................................................62
Flash Calculations
63
Overview.....................................................................................................................63
Common Input for Two-Phase Flash, Multiphase Flash and Asphaltene/Wax
Modelling Calculations...............................................................................................63
Two-Phase Flash Calculations....................................................................................64
Multiphase Flash Calculations....................................................................................64
Asphaltene/Wax Modelling ........................................................................................65
Theoretical Background.................................................................................65
Input Data - Asphaltene/Wax Modelling.......................................................67
Single-Phase Calculation ............................................................................................70
Isenthalpic Flash Calculations ....................................................................................70
Theoretical Background.................................................................................70
Input Data - Isenthalpic Flash ........................................................................72
73
Background.................................................................................................................73
Input Data ...................................................................................................................73
Envelope Specification Tab ...........................................................................73
Envelope Construction Controls Tab.............................................................75
Initial K-Values Tab ......................................................................................76
Contents iii
77
Overview .................................................................................................................... 77
Characterization of Multiple Related Samples........................................................... 78
Splitting the "Plus" Fraction....................................................................................... 78
Importing Extended Analysis Data with the Table Import Wizard............................ 82
Numerical Cleaning of Mud-Contaminated Samples................................................. 83
Lumping of Components............................................................................................ 84
Transferring Results to Other Data Sets ..................................................................... 85
Laboratory Calculations
87
Overview .................................................................................................................... 87
Recombination of Separator Oil and Gas................................................................... 87
Compressibility Calculation ....................................................................................... 90
Constant Composition Expansion .............................................................................. 90
Differential Liberation................................................................................................ 92
Constant Volume Depletion ....................................................................................... 94
Separator Test............................................................................................................. 97
Swelling Test............................................................................................................ 101
Importing Laboratory Experiment Data with the Table Import Wizard................... 103
105
Regression
111
Compositional Grading
119
iv Contents
123
Overview...................................................................................................................123
Use of the STARS PVT Generation Option .............................................................123
Input Data (STARS) .................................................................................................124
Basic STARS PVT Data ..............................................................................124
Gas-Liquid K-Value Tables.........................................................................126
Gas-Liquid and Liquid-Liquid K-Value Tables ..........................................127
Gas-Liquid and Solid-Liquid K-Value Tables.............................................128
Feed and K-Value Plotting Controls............................................................129
Process Flow
131
Overview...................................................................................................................131
Data Input - Process Flow.........................................................................................132
135
Overview...................................................................................................................135
Laboratory Procedure ...............................................................................................144
Input Data .................................................................................................................144
References
149
List ............................................................................................................................149
Appendix A
153
Case Studies..............................................................................................................153
Case Study Number 1: Gas Condensate Modelling....................................153
Case Study Number 2: Solubility of CO2 in Brine .....................................163
Case Study Number 3: Asphaltene Precipitation Modelling ......................174
Appendix B
183
Equations ..................................................................................................................183
Cubic Equation of State ...............................................................................183
Phase Stability Test......................................................................................188
Two-Phase Flash Calculation ......................................................................190
Saturation Calculation..................................................................................191
Cricondenbar/Cricondentherm Equations....................................................193
Phase Diagram Construction .......................................................................193
Three Phase Flash Calculation with Equation of State ................................197
Three Phase with Isenthalpic Flash Calculation ..........................................198
Flash Calculation Involving Water ..............................................................200
Contents v
vi Contents
New Features
New Features 1
2 New Features
New Features 3
4 New Features
New Features 5
6 New Features
New Features 7
Interface Enhancements
The differential liberation and constant volume depletion experiment data entry forms have
been redesigned to allow entry of pressure step data in row format, for improved compatibility
with experimental PVT reports. Data for material balance and consistency check calculations is
now entered on a separate table which is linked to the main table with the pressure information.
Pasting of data to any grid which allows a variable number of rows has been modified to
automatically increase the number of rows in the table if required to hold all of the data being
input.
Interface Enhancements
A feature has been added to allow calculation options to be temporarily excluded from the
data set, rather than deleting them entirely. Options are excluded/included from the main
control form by right-clicking on the desired row and making a selection from the pop-up
menu. One application of this feature is to temporarily reduce the number of calculation
options within a regression block to try and obtain a match to some key data. After an initial
regression run, the component properties can be updated and calculation options that were
excluded can be included again for further regression runs.
Data entry and navigation on the grids has been improved by enabling use of the left and right
arrow keys, in addition to the up, down and enter keys.
New Features 9
10 New Features
New Features 11
12 New Features
New Features 13
Interface Enhancements
The list of the five most recently files accessed by WinProp is now available on the File
menu. This is a faster way of selecting a case than through the file open dialog box.
Interface enhancements include the ability to redirect the screen diary to an output file. To
redirect select Redirect to file DBPROP.XXX under File | Screen menu. The user can now
select an editor other than Notepad by invoking the Editor | User editor select option
under the File menu. This will open a file dialog box. Using the file dialog select the
executable file corresponding to the desired editor.
WinProp allows up to open up to 8 different cases (data files) to be open simultaneously,
primarily to allow various calculation option forms to be copied between different data files.
This saves the user from having to type in data values multiple times. The MDI capability
also facilitates comparing the data entered for a given form across data files. A number of
checks have been implemented to avoid violating the internal design limitations of this
option. For example forms can be opened only when a single case is loaded and a case cannot
be closed until all the open forms are closed.
In previous versions of WinProp the data in a table (grid) could be changed via a text box
positioned outside the table. With WinProp 98.00 a floating text box positioned exactly on the
desired cell is used for table (grid) edits. To erase the current value or text in a cell and enter a new
value or text, position the cursor on that cell and start typing. To edit the contents of a cell,
position the cursor on that cell and double click with the left mouse button. The cell contents are
updated when the carriage return (Enter) key is pressed or if the cursor is moved to another cell.
Please note that changing the focus to a new control will not update the grid (table) contents.
14 New Features
Regression Enhancements
It is now possible to specify more than one component for a given property such as the
critical pressure as a single variable in regression. The members of the group will in general
have individual initial values and bounds. In regression the same increment is applied to all
members of the group. This feature can be useful if it is desired to maintain a certain trend or
symmetry for a given property or in avoiding regressing on a property belonging to a
component with a small mole fraction. For information on how to define group variables
refer to the Regression chapter of this manual.
Summary plots showing before regression, after regression and experimental data are now
generated automatically when Excel plots are created from a regression run. Individual plots
showing calculated results are still available, with new titles indicating before or after
regression calculations.
Conversion from CMGPROP to WinProp Format
A conversion utility is provided within WinProp to translate files created for CMGPROP on
UNIX or PC platforms. This utility can be invoked by selecting Options|Convert from
Cmgprop to WinProp. The user is advised to open each form and verify the results of the
conversion carefully. Please use the Save As option under the File menu to save the
WinProp compatible data file to avoid overwriting the original CMGPROP data file. The
original file will be an important aid in case difficulties are encountered in conversion and in
verifying the conversion. There are a number of situations that can pose difficulties for the
converter including the use of wildcards in specifying array values and presence of comment
marker on a line where array values are stipulated. Please edit the CMGPROP data file
eliminating these situations prior to using the conversion utility.
MDI Capability
The Multiple Document Interface (MDI) Feature is now implemented in WinProp. This
allows the user to open up to eight files at once. This has significant advantages for example
when the user desires to compare output files for two or more cases or in the ease with which data
corresponding to various calculation options may be copied between different data files. Refer to
the section copying between different data files under the Tutorial chapter of this manual.
Update Component Properties Feature
Upon completing a splitting, lumping or regression calculation where the number of
components are changed or the component properties modified, WinProp writes out the
revised component information in an output file with the suffix .rls. With the previous version
of WinProp the user would run a file, for example test1.dat with a splitting calculation, use
File|Open to open test1.rls, use File|Save As to rename to test2.dat for example and then
continue working with this file by appending calculation options to it. This procedure is now
automated with the introduction of the update component properties selection under the
Options menu. The user still runs the splitting calculation with test1.dat. Once the calculation
is carried out, update component properties is invoked. This updates the information on the
Composition and Component forms. The user then removes the splitting calculation from the
data file and appends the desired calculation options. Optionally the user may wish to save this
file with a different file name say test2.dat to retain a complete work record of the session.
New Features 15
16 New Features
Introduction
What is WinProp?
Welcome to WinProp, the Windows version of CMGPROP.
WinProp is CMG's equation of state multiphase equilibrium property package featuring fluid
characterization, lumping of components, matching of laboratory data through regression,
simulation of multiple contact processes, phase diagram construction, solids precipitation,
and more. Laboratory experiments considered in WinProp include recombination of
separator oil and gas, compressibility measurements, constant composition expansion,
differential liberation, separator test, constant volume depletion and swelling test.
You can use WinProp to analyze the phase behavior of reservoir gas and oil systems, and to
generate component properties for CMG's compositional simulator GEM, black oil simulator
IMEX and steam and additives thermal simulator STARS.
WinProp contains a graphical interface that allows you to prepare data, run the phase property
calculation engine, view the output with an editor, and create plots with Excel.
WinProp creates keyword data files to drive the phase behavior calculation engine. Besides
the regular keywords that were required by the CMGPROP program, these data files contain
special control character strings for the graphical interface. A conversion utility is provided
within WinProp for users who have been using CMGPROP on a UNIX platform or on the PC
to facilitate the migration to WinProp.
Introduction 17
Installation
All CMG software must be installed from the CD-ROM by running the Setup program.
Please refer to the detailed installation instructions that are packaged with the software for
additional information.
Confidentiality
All components of CMG's technology including software and related documentation are
protected by copyright, trademark and secrecy. CMG technology can be used only as
permitted by your license from CMG. By the license, you have agreed to keep all CMG
technology confidential and not disclose it to any third party. All rights reserved. No part of
this publication may be reproduced or transmitted in any form or by any means, electronic,
mechanical, or otherwise, including photocopying, recording, or by any information
storage/retrieval system, to any party other than the licensee, without the written permission
of Computer Modelling Group Ltd.
18 Introduction
Introduction 19
mcm-condensing.dat
mcm-vaporizing-co2.dat
mcm-combined-H95-8lean.dat
mcm-combined-U2002rich.dat
mcm-Z12-5-MME.dat
process-cvd.dat
process-mcm.dat
process-plant.dat
recombine.dat
regress-blackoil1.dat
regress-blackoil2.dat
regress-compress.dat
regress-condensate1.dat
regress-condensate2.dat
regress-critical.dat
regress-flash_2ph.dat
regress-flash_3ph.dat
regress-flash_ogw.dat
regress-lightoil.dat
regress-multicontact.dat
regress-sat_pres.dat
regress-separator.dat
regress-singlephase.dat
regress-viscosity.dat
sat-pressure.dat
sat-temperature.dat
separator.dat
singlephase.dat
solid-asph_plots.dat
solid-asph1.dat
solid-asph2.dat
solid-phenanthrene.dat
solid-wax.dat
split-mw_analysis.dat
split-mwsg_analysis.dat
split-mwsg_plus.dat
split-mwsgtb_analysis.dat
stars-comp_props.dat
stars-vl_kvalues.dat
stars-vlaq_kvalues.dat
stars-vls_kvalues.dat
swelling.dat
20 Introduction
Tutorial Section
Overview
This chapter includes information on the mechanics of creating, editing, saving and running
data sets in WinProp, as well as viewing the output files and creating plots.
Example case studies with step-by-step instructions for performing some PVT modelling
tasks are described in Appendix A.
Detailed instructions for using all of the calculation options available in WinProp are given in
the remaining chapters.
The help on current form can be also invoked by pressing the function key F1
Tutorial Section 21
File suffix
Description
.out
.gem
.gmz
.str
.imx
.rls
.srf
.xls
Excel file containing data and plots that are created from an .srf file.
The results are written to files with the (.out) suffix. When you invoke the regression or
lumping or splitting procedures, WinProp also creates a file with the suffix (.rls.) This file can
be opened to create a new data set (see Chapters on Component splitting and lumping
and Regression). If you select the component printing option for CMGs compositional
simulator GEM on the form CMG GEM EOS Model, the component properties are printed
to a file with the suffix (.gem) in a format suitable for GEM. If the CMG STARS PVT Data
option is selected then an output file with the suffix (.str) is created. If the Write GEM
*ZDEPTH checkbox on the Compositional Gradient form is checked off then the
composition versus depth information is written out to a file with the suffix (.gmz.). If the
calculation option to generate PVT data for simulation studies with IMEX is included in the
data set then a file with the suffix (.imx) is created. This file contains PVT data in a format
compatible with IMEX and can be referenced as an include file in an IMEX data file.
Select File|Exit to exit WinProp.
22 Tutorial Section
Certain calculation options will create data for plotting. The plot information is in the (.srf) file. To
create these plots with Excel, select File|Create Excel plots (or type F4). WinProp has its own
Excel templates and macros to invoke Excel and generate the corresponding plots. These
Excel plots are saved in an (.xls) file. If no plot data are available, a message will be issued.
To view an Excel plot that you have already created with WinProp, select File|View Excel
plots.
Tutorial Section 23
1. Set up the splitting calculation. Add the form for performing the splitting calculation
to the WinProp data file. Open the Component Selection/Properties form. The
compositional analysis up to C5 involves components with known properties. Add
these components by selecting Add Component|LibraryComponent. Open the
Composition form and enter the mole fractions as they appear on the laboratory
report. Ignore the warning message about the sum not being equal to one. Open the
Plus Fraction Splitting form and enter data for the plus fraction.
2. Run WinProp with the data file from step 1. Once the splitting calculation is
performed WinProp writes out the full set of component properties including data
for the pseudo-components in a special output file with the suffix (.rls). Open the
File menu and select Update component properties option. WinProp will then
read the (.rls) file and update the Composition and Component
Selection/Properties forms based on the data in this file.
3. Remove the splitting form from the data set by highlighting the splitting
calculation row on the data set structure form and selecting Edit|Cut from the
menu. Proceed to set up the regression run as described in the section Setting up
a regression run.
24 Tutorial Section
This will undo the previous edit function. This menu item is not available
if there is nothing to undo.
This option will cut the options and the data associated with them into the
Clipboard. You cannot cut the Titles/EOS/Units or the Component
Selection/Properties forms.
This option will copy the options and the data associated with them into the
Clipboard.
This option will paste the data from the Clipboard into the current data set.
Undo
Cut
Copy
Paste
You can use the Copy and Paste option to transfer information and calculation options within
one WinProp data set or from one data set to another.
Editing Tables
On many forms, you enter data into tables (or grids). For most tables, you can use the menu
item Table to insert a new row or delete rows.
You can highlight the data in different cells with the left mouse button. You can delete, cut
and paste data corresponding to the highlighted cells with the standard Windows keystrokes:
DELETE for delete, CTRL+C for copy, CTRL+X for cut, and CTRL+V for paste. Note
that DELETE clears the data in cells, but does not delete the corresponding rows. Please use
Table|Delete rows if you want to delete rows.
Tutorial Section 25
6. Unit conversions can be performed on the table before importing it into WinProp.
Unit systems can be selected for the entire table. Units can also be selected for
individual columns.
26 Tutorial Section
Tutorial Section 27
28 Tutorial Section
It is important to note that selection of units in this step should correspond to the units used in the
original file from which the table is being imported. No unit conversion is done at this stage.
At this point, the table import may be completed by clicking on the Finish button. Any
conversions to the current WinProp unit system will be performed and the data will be
entered into the WinProp table.
To view the table with quantities converted to different units or to save the table to a file,
check on the box labeled Apply unit conversion and click Next to continue.
Step 7: Choose units for table columns to convert data to
In this step, the user has a choice of viewing the table with different units applied. Note that
changing the units in this step does not affect what units will be used to display the data in
WinProp. The table can also be saved to a separate file by clicking on the button labeled
Save converted table to NEW file. In this example, the table from the previous step is
shown after conversion to field units.
Tutorial Section 29
Click Finish to exit Table Import Wizard and complete the import of data into WinProp.
30 Tutorial Section
Overview
This form contains the structure of the data set. This is the first form presented to the user when
WinProp is invoked. The column of the table labeled Forms contains the title for each
calculation form included in the data set. By default the required forms Titles/EOS/Units, and
Component Selection/Properties are pre-selected and cannot be removed. The Composition
form is also required following these forms, thus it is included by default as well.
The data entry form corresponding to a given row can be activated by double clicking on that
row. Data can be entered and edited on each form.
To insert a calculation option: (1) select the row where the new calculation will be inserted by
clicking on that row; (2) select a calculation option from the menu or by clicking one of the
buttons on the calculation option toolbar.
The Inc (Included) column indicates whether or not a calculation option will be executed
when the data set is run. A checkmark in this column indicates that the option will be
included, while an X-mark indicates that the calculation will be excluded. Calculations can be
included/excluded by right-clicking on the desired row and selecting Include Calculation or
Exclude Calculation from the pop-up menu.
A U in the Stat (Status) column indicates that the data for the corresponding option are
undefined. Once data for a particular form are entered as described above, the U will be
cleared from the status column.
The text in the Comments column comes from the Comments text box on each form. These
comments are also printed in the output file for each calculation option.
Copy
Paste
This will undo the previous edit function. This menu item is not
available if there is nothing to undo.
This option will cut the options and the data associated with them into the
Clipboard. You cannot cut the Titles/EOS/Units or the Component
Selection/Properties forms.
This option will copy the options and the data associated with them into
the Clipboard.
This option will paste the data from the Clipboard into the current data
set.
You can use the Copy and Paste option to transfer information and calculation options within
one WinProp data set or from one data set to another.
Titles/EOS/Units Selection
Overview
This form is pre-selected by WinProp and appears as the first form in all WinProp data files.
It is used for documenting the run, selecting the unit system and for choosing the equation of
state (EOS) to be used for all calculations included in the data file.
Data Input
Comments
Enter your comments regarding this data set. These comments will be shown in the Data set
structure form.
Titles/EOS/Units Selection 33
Equation of State
Selection of the equation of state for the oil and gas phases. The default is PR (1978).
PR(1978)
PR(1976)
SRK(G&D)
SRK
Units
psia & deg F
kPa & deg C
Mole
Feed
Mass
When the Mass option is selected, WinProp converts all mass fractions to mole fractions
using the component molecular weights. All outputs will contain the corresponding mole
fractions and not the input mass fractions.
34 Titles/EOS/Units Selection
Components
Library Components
To choose library components, select Options|Insert library components from the menu.
The following form will be activated:
Components 35
Select components from the list by clicking on them with the left mouse button. Use the
<Shift> and <Control> keys for multiple selections. Pure hydrocarbon components, light
gases and water may be selected from the library, as well as generalized single carbon
number (SCN) petroleum fractions FC6 through FC45. The specific gravities, molecular
weights and boiling points of the SCN fractions are taken from Whitson (1983). The critical
properties of these fractions are calculated with the Lee-Kesler correlations (Kesler and Lee,
(1976)). The component molecular weights are shown in brackets for each component
primarily to allow the user to select generalized SCN fractions to approximate a heavy end of
known molecular weight. The order in which components are selected depends on the
sequence of mouse clicks. Click on View selection order to view this order. The component
order is important for lumping into pseudo-components, as only components that are adjacent
to one another can be lumped together.
The critical pressure, critical temperature, acentric factor and molecular weight are required
input. Values will be estimated for any of the OPTIONAL DATA parameter fields that are
left blank. Critical compressibility is used only to calculate critical volume. Critical volume
is used in the calculation of binary interaction parameters (see the section on Interaction
Coefficients below). Specific gravity and boiling point temperature are used to estimate
ideal gas enthalpy coefficients. Specific gravity is also used along with the critical properties
to estimate Racketts compressibility factor, which is employed in calculating temperature
dependent volume shifts.
36 Components
A minimum of two of the three properties must be entered. If one of the properties is not
entered, it will be estimated using the selected Physical Properties Correlation. Note that
critical properties are calculated from specific gravity and normal boiling point; molecular
weight is used for determination of mass densities only. Thus if you enter SG and Tb, the
critical properties will be unaffected by the choice of Physical Properties Correlation. The
stated ranges of accuracy for the correlations are as follows. Twu: Tb up to 715 C and SG
up to 1.436 (Twu, 1984). Goossens: MW from 76 to 1685 (C120), Density from 0.63 to
1.08 g/cc and Tb from 33 to 740 C (Goossens, 1996). Riazi-Daubert: Tb up to 455 C and
MW from 70 to 300 (Riazi and Daubert, 1980).
For petroleum fractions up to about C20, all three correlations give similar results. For
heavier fractions, the Riazi-Daubert correlation shows larger errors than the other two. The
Goossens correlation gives very good predictions of MW from the other properties for
alkanes up to C120. It should be noted that the form of this correlation limits boiling points
to a maximum of 805 C, regardless of the molecular weight and specific gravity.
Once the physical properties are known, the critical constants for the component are
determined using the selected Critical Properties Correlation. The ranges of applicability
of the Twu and Riazi-Daubert correlations are as given above. The Lee-Kesler correlation
was developed for Tb up to 650 C, but is internally consistent for extrapolation above this
temperature (Kesler and Lee, 1976).
For acentric factors, the Lee-Kesler correlation is recommended for petroleum fractions.
User's Guide WinProp
Components 37
Component Properties
After components have been selected or defined, their parameters and properties are shown
on the form Component Selection/Properties. A typical example is illustrated below.
This form contains several tabs. The properties shown on Tab Component are listed in the table
below. Additional explanation regarding some of the parameters is given in the notes following
the table. Use of the temperature dependent volume shift feature is described under Racketts
compressibility factor in the notes.
Heading
Parameter or property
Component
HC
Pc(atm)
Tc (K)
Acentric fact.
Mol. weight
Vol. shift
Z (Rackett)
Vc (l/mol)
Vc (viscosity)
Omega A
Omega B
SG
38 Components
Tb (deg F | deg C)
Parachor
Ref. Henry (atm)
V inf. (l/mol)
P ref. (atm)
Enth. Coeff. A
Enth. Coeff. B
Enth. Coeff. C
Enth. Coeff. D
Enth. Coeff. E
Enth. Coeff. F
Heating Value
Volume Shift: The volume translation technique of Peneloux et al. (1982) is available for
improving the prediction of phase density with the equation of state. Volume shift parameters
are set to zero by default. The correlation of Jhaveri and Youngren (1988) can be applied to
calculate volume shift parameters for all components by selecting VolumeShift|Reset to
correlation values from the menu. To remove volume translation for all components select
VolumeShift|Reset to zeros. Temperature dependent volume shifts can also be used by
selecting the check box above the component table. The calculation of temperature dependent
volume shifts is described next under Racketts compressibility factor. When printing
component properties to the output file or for export to the GEM simulator, the most recently
used volume shift values will be output.
2/7
Racketts compressibility factors are available for all library components. For pseudocomponents, Racketts compressibility factors are back calculated from the critical properties
and specific gravity using the assumption that the specific gravity is approximately equal to
the saturated liquid density at 60 F.
Critical Volume: Critical volumes are used only in the calculation of hydrocarbonhydrocarbon binary interaction parameters as described below under Interaction coefficients.
Components 39
Critical Volume for Viscosity: Critical volumes are used in the Jossi, Stiel and Thodos
viscosity correlation (Reid et al., 1977) as described in this chapter under Viscosity
parameters. These critical volume values are used only for the calculation of viscosity, and
thus may be modified via regression to match experimental viscosity data without affecting
the calculation of any other properties.
Omega A and Omega B: The default values for a and b for the Peng-Robinson
equation of state are 0.45723553 and 0.077796074 respectively. For the Soave-Redlich-Kwong
equation of state, these values are 0.4274802 and 0.08664035 respectively.
Specific Gravity and Normal Boiling Point: Specific gravity is defined as the
liquid density of the component at 60 F and 1 atm divided by the density of water at 60 F
and 1 atm. For components with normal boiling points below 60 F, the liquid density is
taken as the saturated liquid density at 60 F.
If SG and Tb have been used to calculate critical properties and acentric factors, changing SG
and Tb in the table will not affect the other properties. If you wish to recalculate the
properties of a particular component with revised values for SG and Tb, please delete that
component from the table using Options|Delete component, and insert a new component
with revised values for SG and Tb, using Options|Insert own component|SG, TB and MW.
Parachor: The parachor value is used for calculating interfacial tension. Parachors are
available for all of the library components. For pseudo-components and user components,
parachors are estimated based on molecular weight using a correlation proposed by
Firoozabadi et al. (1988).
ln H i = ln H io + i (p p io ) / RT
where the superscript o refers to the reference condition. If experimental solubility data is
to be matched using regression, this method for defining the solubility parameters must be
used. Correlation values can be entered in the table by selecting Aqueous Solubility|
Calculate component solubility parameters from the menu.
Methods 2) or 3) will be used if the solubility parameters are all set to zero. This can be done
by selecting Aqueous Solubility|Reset solubility parameters to zero from the menu.
If the reference solubility parameters are set to zero in the component table, Henrys
constants will be estimated internally for all components for each Oil-Gas-Water flash.
Method 2) may be overridden by specifying component Henrys constants for individual OilGas-Water flash calculations.
40 Components
H ideal = H A + H B * T + H C * T 2 + H D * T 3 + H E * T 4 + H F * T 5
where the temperature T is in R. The ideal enthalpy coefficients HA through HF should be
specified in units to give Hideal in Btu/lb.
Components 41
Component Name
H2S
N2
CO2
CH4 (or C1)
C2H6 (or C2)
C3H8 (or C3)
IC4
NC4
IC5
NC5
FC6
FC7
FC8
FC9
FC10
FC11
FC12
FC13
FC14
FC15
FC16
FC17
FC18
FC19
FC20
FC21
FC22
FC23
FC24
FC25
FC26
FC27
FC28
FC29
FC30
FC31
FC32
FC33
42 Components
FC34
FC35
FC36
FC37
FC38
FC39
FC40
FC41
FC42
FC43
FC44
FC45
NC6
NC7
NC8
NC9
NC10
NC16
TOLUENE
BENZENE
CYCLO-C6
H2O
21458.08
22082.44
22706.80
23331.17
23955.53
24579.89
25204.26
25828.62
26452.98
27077.35
27701.71
28326.07
3975.91
4600.28
5224.64
5849.00
6473.36
10219.54
3705.97
3097.15
3715.32
0.0
Example: Consider an 8-components fluid, with the last three components being pseudo
components. In Field units, the heating values as written out by WinProp would result in the
following lines appearing in the .gem output file:
*NC
8 3
*COMPNAME 'CH4' 'C2H6' 'C3H8' 'NC4' 'NC5'
'FRAC1' 'FRAC2' 'FRAC3'
*HEATING_VALUES
844.29 1478.46 2105.16 2711.54
3353.66 0.0 0.0 0.0
Interaction Coefficients
Interaction coefficients (ij) are introduced to account for the molecular interaction between
dissimilar molecules. Their values are generally obtained by fitting the predicted saturation
pressures to experimental data. Interaction coefficients for component pairs are shown on
Tab Int. Coef..
An example is shown below.
Components 43
ci
ci
where vci is the critical volume of component i, and is the hydrocarbon hydrocarbon
interaction coefficient exponent. It has been shown that a value of 1.2 provides a good match
of the paraffin paraffin interaction coefficients of Oellrich et al (1981). However, it is
recommended that this value be obtained by matching experimental data (e.g. saturation
pressure data).
To avoid cluttering the table of interaction coefficients, the HC interaction coefficients are
not shown when the form is loaded. To view them, click on Show HC Int. Coef. button. To
hide them, click on Hide HC Int. Coef. button.
With this version of WinProp, it is possible to define multiple HC:HC interaction coefficient
groups, each with its own value of the exponent. HC:HC groups can also be selected as
independent parameters in regression, please see the chapter on Regression. The list of groups
currently defined is shown in the list box with the caption HC Int. Coef. Exp.. The entries
include a name and in brackets the value of the exponent. To see the group ID for all HC-HC
pairs on the interaction coefficient table, click on the Show HC-HC Group(s) on grid button.
44 Components
The value of the exponent for a given group(s) can be changed by invoking a custom form
designed to handle the tasks associated with managing these groups. This form is invoked by
clicking the button on the Int. Coef. tab with the caption HC:HC Groups / Apply value to
multiple non HC-HC pairs. This form is shown below.
The currently selected group is shown under the Name label. The list of pairs that belong to
this group is shown in the list box labeled Selected pairs. The user can scroll through all
defined groups in the drop down list box under the Name label. The full list of pairs that do
not currently belong to any group can be seen on the list box under the Select pairs frame.
These pairs can be assigned to any defined group(s). If any orphans remain when this form
is saved then these are assigned to the default group, i.e. group # 1.
Initially only a single group is created with the exponent value of 1.2. The value of the
exponent can be changed via the text box with the label Exponent value. All HC:HC pairs
initially belong to this group. To create a new group first select the HC:HC option button
under Type and then click on the Create New button. This new group will be assigned the
name HcIntCoefExp-2 with a value of 1.2 for the exponent. For pairs to be assigned to this
new group # 2, group #1 must first relinquish these. This is done by first selecting group # 1
from the group list, identifying the pairs that will be removed (by pressing the left mouse
button while holding the CTRL key down) from the Selected pairs list box and then clicking
on the Delete selection(s) button. These pairs will be removed from group # 1 as reflected in
the revised list in the Selected pairs box. To pick these pairs up for group # 2, change the
name to group # 2, select pairs by highlighting and then pressing the Apply selection(s)
button. At least one pair must be assigned to each group and a given pair can be assigned to a
single group only. To delete a group click on the Delete Group button.
User's Guide WinProp
Components 45
Viscosity Parameters
There are two types of viscosity correlation available in WinProp: the Jossi, Stiel and Thodos
(JST) correlation as described in Reid et al. (1977), and the Pedersen corresponding states
correlation as presented in Pedersen et al. (1984) and Pedersen and Fredenslund (1987). The
viscosities of liquid and vapor phases are calculated with the same correlation. The choice of
correlation is made on the Viscosity tab of the Component Selection/Properties form by
selecting one of the option buttons under Viscosity Model Type.
Jossi-Stiel-Thodos Correlation
An example of the data entry form for the JST correlation is shown below.
46 Components
The JST correlation determines the mixture viscosity from the low-pressure mixture viscosity
according to the following function:
[ ( ) + 10 ]
4 0.25
Where
M
r
=
=
=
=
= a 0 + a 1 r + a 2 2r + a 3 3r + a 4 4r
Two options are available for calculating the low-pressure mixture viscosity. The YoonThodos + Herning-Zipperer method computes low pressure component viscosities according to
a formula developed by Yoon and Thodos and then computes the mixture viscosity according
to the mixing rule of Herning and Zipperer. Both of these formulas are reported in Reid et al.
(1977). The Lee-Eakin method calculates the low-pressure mixture viscosity directly using a
correlation based on the molecular weight of the mixture presented by Lee and Eakin (1964).
The value of is calculated by first obtaining mole fraction weighted average values for the
mixture critical temperature, pressure and molecular weight.
The mixture critical volume vc is calculated from:
1/
nc
v c = x i v ci
i =1
Where is the mixing exponent parameter, xi is the composition and vci is the critical volume
for viscosity calculation (vc(viscosity) on Tab Component).
, a0, a1, a2, a3, and a4 are entered on Tab Viscosity. Default values are shown when the form
is first activated.
As well as the correlation coefficients (, ai) and critical volumes for viscosity (and to a
lesser extent, the critical temperatures and pressures), the JST method depends very strongly
on the density of the mixture predicted by the equation of state. Thus, use of the JST
correlation may result in large errors if the phase densities are incorrect. It is recommended
that the EOS be tuned to match volumetric data before attempting to predict or match
viscosities with the JST correlation.
Pedersen Correlation
The Pedersen viscosity correlation uses the principle of corresponding states to calculate the
viscosity of a component or mixture, knowing the viscosity of a reference substance at the same
conditions of reduced pressure and temperature. The deviation from simple corresponding
states is accounted for by a rotational coupling coefficient, . The viscosity of the mixture is
calculated according to the following formula:
mix ( P, T ) Tc,mix
=
o (Po , To ) Tc,o
User's Guide WinProp
1 / 6
Pc,mix
P
c ,o
2/3
MWmix
MWo
1/ 2
mix
Components 47
Where
Tc
Pc
MW
=
=
=
=
=
Viscosity
Critical temperature
Critical pressure
Molecular weight
Rotational coupling coefficient
The subscript mix refers to the mixture property, and the subscript o refers to the
reference substance property. The reference substance for the Pedersen model is methane.
The mixture critical temperature and pressure are calculated using mixing rules that are a
function of the component critical temperatures and pressures and mole fractions. The
molecular weight of the mixture is determined from:
Aqueous Phase
The Aqueous phase tab is used for setting properties of the water phase for use in multiphase
Oil-Gas-Water calculations. The form is shown below.
48 Components
Components 49
supported for the second set. The user can edit the values of these properties from the default
assignments. The user can also reset back to the original values by selecting Set Selection|Reset
2nd to 1st. The second set parameters can also be used in regression. To use a second set
parameter in regression the user does not have to enable the second set component properties
first. The second set parameters can be selected directly on the Regression Parameters form in
a manner similar to first set properties. The initial value of the property will be set equal to the
corresponding first set parameter.
The second EOS parameter set, when enabled, is used in performing the following
calculations: separator, separator calculation associated with the constant volume depletion
experiment (to determine yields at surface) and in differential liberation experiment when
flashing the residual oil (at atmospheric pressure and reservoir temperature) to standard
conditions (atmospheric pressure and temperature).
50 Components
In the Interaction Coefficient Table frame, the format of the table can be selected as either
upper or lower triangular form.
By default, the aqueous phase solubility parameters are not printed with the other component
properties. To turn on this option, select the check box in the Solubility Parameters frame.
If an Oil-Gas-Water flash is included in the data set before the print options form, the Henrys
constants and molar volumes at infinite dilution used in the flash will be available for
printing. Optionally, the parameters may be recalculated at a specified pressure and
temperature before printing.
Components 51
Overview
This chapter describes the common data required for most calculations. These include
Composition specification, Initial K-values, Output level, and Stability test level. Generally, the
built in default values are used in the calculations. The saturation pressure calculation, which is
common to most laboratory experiment simulation options, is discussed in the next chapter.
Composition Specification
Compositions are entered in moles or in weight units, specified as fraction or percent. Values
are normalized internally. If weight fractions or percents are entered, they are converted
internally to mole fractions. To use weight units, select the appropriate option on form
Titles/EOS/Units. The table on form Composition contains two columns for composition
input. The primary composition corresponds generally to the composition of the oil or gas in
place. Values must be entered for the primary composition. The secondary composition
corresponds normally to the injected fluid. The secondary composition need not be entered and
will default to zero. An example of form Composition is shown below.
Several composition sections can be defined in a data set. All calculations following a
composition section will use the composition of that section until the end of the run or another
composition section is encountered. In the following example, the fluid composition from Well
16 is used for a series of calculations. Similar calculations are then performed with the fluid
composition of Well 20.
The feed composition is specified from the Combo Box Feed, located on the last tab of most
calculation options. The selection of the feed composition for a two-phase saturation
pressure calculation is shown above.
In this example, the composition that enters into the two-phase calculations is a mixture
containing 80 mole % of the primary composition and 20 mole % of the secondary
composition. When Phase is selected, you enter the Phase Number in the adjacent text box.
Some calculations accept only the Mixed and Previous option. The Combo Box Feed
displays only these items in this case.
Initial K-Values
Initial K-values are required to start most calculations. These can be
When Phase is selected, the Phase Number is entered in the adjacent text box.
Output Level
The Output level for a normal run is 1. If more information is required, for example the
results of each iteration of a flash calculation, select an Output level value of 2.
Overview
This chapter describes calculations for mixtures on the phase boundaries:
Critical-point calculation
Multiple-contact calculation
The phase boundary calculations can also generate lines of constant phase mole fraction or
lines of constant volume fraction (quality lines).
Saturation Pressure
This option is invoked by selecting Calculations|Saturation Pressure. An example data set
for this option is sat-pressure.dat.
For data entry corresponding to items on tab 2, that is Feed, K-values, Output level and
Stability test level specifications, see the Chapter Common Data Required for all Options.
A value of the temperature at which the saturation pressure is to be calculated is required. Enter
a value in the text box labelled Temperature. An estimate of the saturation pressure is also
required; enter a value in the text box labelled Saturation Pressure Estimate. If this is a poor
estimate, ask WinProp to generate internally a better initial guess for saturation pressure
calculation by checking the box Improve saturation pressure estimate. Details of the
calculation techniques can be found in Nghiem et al. (1985). Finally at a given temperature
there are two saturation pressures, the upper and lower values respectively. The upper value
can be a dew point or bubble point fluid, the lower is a dew point fluid. By default the upper
value is calculated as this corresponds to the reservoir saturation pressure at the given
temperature. The lower value can be chosen instead by selecting the button Lower dew point
in the frame labelled Calculation option.
Experimental data related to a saturation pressure calculation that can be matched via
regression are shown on the table on the first tab, Calculations. These include saturation
pressure, liquid and vapor mass densities, compressibilities and viscosities. The weight
assigned to each experimental data value can also be specified.
User's Guide WinProp
Saturation Temperature
This option is invoked by selecting Calculations Saturation Temperature. An example data
set for this option is sat-temperature.dat.
For items on tab 2, Feed, K-values, Output level and Stability test level specifications, see
the Chapter Common Data Required for Options.
A value for the pressure at which the saturation temperature is to be calculated is required.
Enter a value in the text box labelled Pressure. An estimate of the saturation temperature is
also required; enter a value in the text box labelled Saturation Temperature Estimate. If
this is a poor estimate, ask WinProp to generate internally a better initial guess for saturation
temperature calculation by checking the box Improve saturation temperature estimate.
Generally there are two possible values for the saturation temperature at a given pressure.
The larger value corresponds to a dew point fluid whereas the lower value corresponds to a
bubble point fluid. By default the larger value is calculated. The lower value is chosen by
clicking on the button Lower sat. temperature in the frame labelled Common options.
Details of the calculation techniques can be found in Nghiem et al. (1985).
Experimental data related to a temperature pressure calculation that can be matched via
regression are shown on the table provided on tab Calculations. These include saturation
temperature, liquid and vapor mass densities, compressibilities and viscosities. The weight
assigned to each experimental data value can also be specified.
In the process of constructing the envelope, WinProp also calculates the location of critical
points through interpolation. This is a very efficient method for estimating critical points if
they exist on the portion of the phase envelope being constructed. A direct method of
calculating critical points is also available (see the section on Critical point calculation).
A typical PT diagram is shown below:
Gas condensate Phase Envelope
Pressure-Temperature Diagram
14,000
2-Phase boundary
99.000 volume %
90.000 volume %
75.000 volume %
60.000 volume %
55.000 volume %
50.000 volume %
45.000 volume %
40.000 volume %
12,000
Pressure (psia)
10,000
8,000
Critical
95.000 volume %
80.000 volume %
70.000 volume %
Critical
55.000 volume %
50.000 volume %
45.000 volume %
35.000 volume %
6,000
4,000
2,000
0
-200
200
400
600
800
Envelope Specification
The type of envelope to be calculated is specified on tab Envelope Specification. First, select
either X-Y Phase Envelope or Pseudo-Ternary Phase Envelope at the top of the tab. This
selection will activate the corresponding data entry area.
X-Y Phase Envelope
For X-Y phase envelopes, you must select which variable to use on the X-axis (independent
variable) and the Y-axis (dependent variable). The choices are Temperature and Composition
for the X-axis and Pressure or Temperature for the Y-axis. For a Pressure-Temperature (P-T)
diagram select Temperature as the independent variable and Pressure as the dependent variable.
For a Pressure-Composition (P-x) or swelling curve select Composition as the independent
variable and Pressure as the dependent variable. Finally for a Temperature-Composition (T-x)
diagram select Composition as the independent variable and Temperature as the dependent
variable. The envelope is generated by taking steps in terms of the independent variable, and
determining the corresponding value of the dependent variable on the phase boundary.
Minimum and maximum values for the X- and Y- variables are specified along with the axis
definitions. The calculation stops when any of these limiting values are exceeded. When
composition is selected as the independent variable, minimum and maximum independent
variable step sizes are also specified, as well as the upper and lower limits for the axis. P-x and
T-x diagrams are generated by adding a fluid defined by the secondary composition on the last
Composition form to the fluid defined as the feed for the envelope calculation.
For P-T diagram the value entered in the Temperature combo box is taken as the initial
starting point for the calculation on the upper saturation pressure curve. Two types of curve(s)
can be generated, line(s) of constant mole fraction of the vapor phase or line(s) of constant
volume fraction vapor phase. The latter are also known as quality lines. These are specified on
Tab 2, Envelope Construction Controls on the table in the frame labelled Quality/Mole
Fraction Lines Specification. If a value of (x) is chosen for a line, then a value of (1-x) is
automatically selected as well. This ensures that a starting point on the upper saturation pressure
curve at the initial temperature is always selected whether there is a dew point or a bubble
point. This also means that for example if x = 0.0 is selected and the upper saturation pressure is
a bubble point then the program will attempt to trace from the bubble point line (x=0.0) as well
as the lower dew point (for 1-x=1.0). However the chances are that the attempt to trace from the
lower dew point will fail as the algorithm has difficulties starting off from very small pressures.
To select only the starting point corresponding to value (x) check off the box labelled Select
value from the above table as well as one minus the value in the table. This implies the
user knows the type of upper saturation pressure, dew point or bubble point. The algorithm will
attempt to generate both the part corresponding to the value (x) as well as (1-x) for all starting
points. For example if x = 0, is chosen then both the bubble and dew point curves will be
generated. All values should be between 0 and 1. A maximum of 25 such lines can appear on a
single plot. By default a single value corresponding to vapor phase mole fraction equal to 0.0 is
pre-selected. If x = 1.0 is selected and both an upper and lower dew point exists, the starting
point on the upper dew point will be selected. If starting points on both upper and lower dew
point curves is desired then check on the box labelled Trace from all potential starting
points on Tab 2. The value entered in the Pressure combo box, either a number or the
selection Unknown may be used as the initial guess for saturation pressure at T = Ts if a 2
phase region cannot be found at T= Ts by scanning the interval from Pmax to Pmin. For the
majority of cases a value is not required for the Pressure.
When composition is selected as the independent variable, both pressure and temperature must
be entered, although the value corresponding to the dependent variable will be determined
internally. In the unlikely scenario that this cannot be done the value entered for the dependent
variable will be used as an initial guess in the saturation calculation. The initial composition is
taken as that defined by the Feed specification for the envelope calculation.
The values entered for Mole fraction vapor (Fv) or Volume fraction vapor (Vv) are used to
define which lines on the phase envelope are generated. If a critical point is encountered, the
line corresponding to (1- Fv) will also be calculated. For example, with Fv=1, the entire phase
boundary (starting on the dew point side) will be calculated. If a value is specified for volume
fraction vapor, the quality line corresponding to Vv will be calculated. Again, if a critical point
is encountered, the line corresponding to (1-Vv) will also be calculated. To calculate phase
boundaries, select Fv = 0.0 and/or 1.0 or Vv = 0.0 or 1.0. When tracing lines of constant
volume fraction, an additional stopping constraint can be placed on the calculation by
specifying minimum and maximum allowed values of vapor mole fraction. By default these
values are set to 10 and +10 respectively, thus the calculation will not halt unless large
nonphysical values of the vapor mole fraction are calculated.
Cricondenbar/Cricondentherm Calculation
The cricondenbar corresponds to maximum pressure on the PT phase envelope whereas the
cricondentherm corresponds to the maximum temperature. These are estimated in a twophase PT envelope construction (see Phase boundary and quality line calculations) or
can be calculated directly by selecting Calculations|Cricondenbar/-therm. An example
data set for this option is cricon.dat.
For Feed, K-values, Output level and Stability test level specifications, see the Chapter
Common Data Required for all Options. As initial guesses for pressure and
temperature, you can specify Unknown or Previous (value from the previous calculation
option), or type in the value of the initial guess.
Flash Calculations
Overview
Flash calculations determine the split of a system at a given pressure, temperature and feed
composition. The number of phases and the properties for each phase are calculated.
WinProp can perform many types of flash calculations:
1. Two-phase vapor-liquid
2. Three-phase vapor-liquid_1-liquid_2
3. Three-phase vapor-liquid-aqueous
4. Four phase flash calculation (fluid phases only)
5. Multiphase flash calculations with a solid phase
6. Isenthalpic flash calculation
In the above calculations, the fluid phases are modeled with an EOS, except for Calculation No.
3 where the component solubility in the aqueous phase is modeled by Henry's law. Calculation
No. 5 can be used for modelling asphaltene and wax precipitation. Flash calculations
performed in the single-phase region will yield a single-phase system. An option for singlephase calculation is also available in WinProp and is described in this chapter.
Common input for two-phase flash, multiphase flash and asphaltene/wax modelling
calculations is described below, followed by descriptions of each of the flash types.
Flash Calculations 63
When a series of flash calculations have been specified by setting temperature, pressure or mole
fraction steps, plots of the phase properties can be generated. Specification of the phase
properties (maximum of three) to plot is done on tab Plot Control. When plotting is activated,
steps can be specified in one or two of the variables: pressure, temperature and mole fraction. If
steps are specified for only one variable, the plots are generated with that variable as the
independent variable, and the phase property as the dependent variable. Up to 100 steps in the
independent variable are allowed. When steps are specified for two variables, one variable is
treated as a parameter variable, and curves of the phase property are displayed for each value of
the parameter variable. Up to 8 steps in the parameter variable are allowed. If mole fraction
steps are specified, mole fraction is always used as the independent variable. If pressure and
temperature steps are both specified, pressure is used as the independent variable.
The Oil-Gas-Water (OGW) calculation involve a three-phase calculation where the vapor and
liquid phases are modeled with an EOS while the aqueous phase is modeled with Henry' law.
An example data set is flash-ogw.dat. As the EOS was developed for gas-like hydrocarbon
systems, it may not model accurately the aqueous phase. Li and Nghiem (1986) recommended
the use of Henry's law constants for component solubility in the aqueous phase. The fugacity
coefficient of Component i in the aqueous phase iw is given by
lniw = ln( H i / p)
where Hi is Henry's law constant of Component i. Hi for each component may be entered on
tab Henry's Law. If Hi is not specified, WinProp will estimate it internally. See the
Components chapter for more information on Henrys constants.
Experimental data for 3-phase and OGW calculations may be entered on tab Experimental.
These include mass densities, mole fractions, volume fractions, and viscosities of the
different phases.
When the flash type is set to OGW, experimental data for the solubility of components in the
aqueous phase may be entered on the tab labeled Exp. Solubility. The units available for
specifying the component solubilities are mole fraction, weight fraction, moles per mole of
water, weight per weight of water, SCF per Std. bbl of water and std m3 per std m3 of water.
Values must be entered in all cells in the solubility table. Enter a value of -1 in the table to
exclude that data point from the regression.
Please note that when regression is being performed on aqueous phase solubility parameters,
all OGW flashes specified within the regression block must be at the same temperature.
WinProp does not accept experimental data for 4-phase calculations.
Asphaltene/Wax Modelling
Theoretical Background
Thermodynamic Model
The precipitation of asphaltene and wax phases is modelled using a multiphase flash
calculation in which the fluid phases are described with an equation of state and the fugacities
of components in the solid phase are predicted using the solid model described below. The
solid phase can consist of one or more components. The approach for modeling asphaltene
and wax precipitation is described in detail in Nghiem et al. (1993, 1996) and Kohse et al.
(2000). The precipitated phase is represented as an ideal mixture of solid components. The
fugacity of a precipitating component in the solid phase is:
ln f s = ln f s*
v
+ s
R
p p tp p * p tp
*
T
H tp 1 1 C p
R T T*
R
T*
Ttp 1 1
ln
T
T T *
Flash Calculations 65
where fs is the fugacity at pressure p and temperature T, fs* is the fugacity at pressure p* and
temperature T*, vs is the solid phase molar volume of the component, Cp is the solid-liquid
heat capacity difference, Htp is the heat of fusion at the triple point, ptp and Ttp are the triple
point pressure and temperature, and R is the universal gas constant.
For isothermal predictions, this equation can be simplified to give:
ln f s = ln f s* + v s (p p * ) / RT
where C1and C2 are the molar concentrations of S1 and S2 respectively. At equilibrium, the
rate is zero and the following equilibrium constant can be derived:
K=
k 21 C1
=
k 12 C 2
The mole fraction of reversible solid relative to the total amount of solid is:
x1 =
C1
K
=
C1 + C 2 K + 1
C2
1
=
C1 + C 2 K + 1
The procedure for simulating forward and reverse contact experiments is as follows:
The first stage of the experiment can be modeled using the solid flash with the first stage oil and
gas mixture. The total amount of solid precipitate will be determined from the thermodynamic
model. At the completion of this calculation, the amounts of reversible and irreversible solid
(x1 and x2) can be calculated from the above equations with a user-specified value of K. K = 0
indicates that all of the solid is irreversible, K = 1 gives equal amounts of reversible and
irreversible solid, and K >> 1 implies that the solid is essentially all reversible.
66 Flash Calculations
For backward contacts, the feed to the next flash calculation is defined by taking the liquid plus
the reversible solid, and combining it with injection gas. The irreversible solid is removed from
the system for this flash.
For forward contacts, the equilibrium vapor phase with no asphaltene is combined with fresh
oil. Therefore, for forward contacts, the degree of irreversibility will not affect the calculations.
Flash Calculations 67
LCORRELATE
PREVIOUS
USER INPUT
If the reference fugacity specification is set to CALCULATE, solid onset pressures for the
same mixture but at different temperatures may be specified in the Additional Onset Points
table. Cp and Htp (optionally vs) can be calculated so the solid model will match these onset
points.
Additional Onset Points
Solid onset pressures at different temperatures may be used to calculate parameters in the
solid model for performing temperature-dependent precipitation predictions.
The requirements for doing this calculation are:
Two, three or four solid precipitation onset pressures at different temperatures must be
known for one fluid composition.
The solid phase must be modelled with a single component, as is normally done for
asphaltene precipitation modelling.
The pressure and temperature for one of the onset points must be entered on the Calculations
tab as the pressure and temperature for the flash. This will be used as the reference condition,
and will define the reference fugacity. Calculation of the other parameters will depend on the
number of additional onset points entered, as described below. Normally vs is adjusted to
match a known amount of solid at a given condition (bulk precipitation experiment)
otherwise it will default as described under Solid-Phase Molar Volume.
68 Flash Calculations
1 additional onset point Cp is set to the user-input value or defaults to zero. Htp is
calculated to match the specified onset point.
2 additional onset points Cp and Htp are calculated to match the specified onset
points.
3 additional onset points Cp, Htp and vs are calculated to match the specified onset
points. This is not normally done, as it is preferable to use vs to match a bulk
precipitation experiment.
Reference Pressure (psia | kPa | kg/cm2)
This corresponds to the reference pressure for calculating reference fugacity. This pressure is
required only if a reference fugacity is actually entered. If Field units is selected enter value
in psia, for SI units in kPa and for modified SI units in kg/cm2. When the CALCULATE,
PREVIOUS or LCORRELATE options are selected for the reference fugacity, the
reference pressure is set internally by the program and need not be entered on the table.
Reference Temperature (C for SI or F for field units)
This corresponds to the reference temperature for calculating the reference fugacity. This
temperature is required only if a reference fugacity is actually entered. When the
CALCULATE, PREVIOUS or LCORRELATE options are selected for the reference
fugacity, the reference temperature is set to appropriate values internally by the program and
need not be entered on the table.
Solid-Phase Molar Volume (l/mol)
This corresponds to the component solid-phase molar volume for the calculation of the
component solid-phase fugacity. If the molar volume is not specified, the following value is
assigned:
If the reference fugacity option is PREVIOUS, the solid-phase molar volume from
the previous calculation is used.
If a value for the reference fugacity is entered, the solid-phase molar volume is
calculated from the EOS.
Flash Calculations 69
If a value for the reference fugacity is entered, the solid-liquid heat capacity
difference defaults to zero.
Single-Phase Calculation
A flash calculation in the single-phase region yields a single-phase system. However, if the
fluid is known a priori to be single phase, its properties can be calculated directly with the
single-phase calculation option. This option is invoked by selecting Calculations|Singlephase Fluid. Please be advised that WinProp will assume single-phase for all calculations
even if the fluid is multiphase. An example data set for this option is singlephase.dat.
nc
j =1
i =1
g n p H H spec = Fj y ij h ij H spec = 0
70 Flash Calculations
where Hspec is the specified molar enthalpy of the system and hij is the partial molar enthalpy
of Component i in Phase j which is also obtained from an EOS.
Calculation Method Identifier
Two schemes for isenthalpic flash calculations are discussed below. The final scheme is a
hybrid of these two schemes.
Scheme 1
Scheme 1 consists of performing a series of multiphase isothermal flash calculations by
adjusting the temperature to satisfy the energy equation. In other words, the temperature is
varied in an outer loop, and the isothermal flash equations are solved in an inner loop.
Techniques for solving the multiphase isothermal flash equations are taken from Nghiem and
Li (1984) and Nghiem et al (1985).
The isenthalpic flash calculations are initiated by an isothermal flash calculation at the
specified feed composition z, the specified pressure p and an initial guess for temperature,
T(0). A new temperature T(1) is then determined from the energy equation by assuming that
the phase mole fractions, compositions and specific enthalpies are constant. With T(0) and
T(1), a secant method for solving the energy equation is set up in the outer loop.
As discussed later, Scheme 1 does not work for systems with a degree of freedom equal to
unity, e.g. one-component two-phase system, two-component three-phase system.
Scheme 2
Scheme 2 basically follows Michelsen's approach (Michelsen, 1987), but the implementation
is different. This scheme is a stage wise procedure where the system is assumed to be
initially single-phase, and where the number of phases is increased if necessary between
iterations. Furthermore, this scheme attempts to converge the material balance equation, the
energy balance equation and the equilibrium equation in a sequential manner. This method
also works for systems with a degree of freedom equal to unity.
Special Considerations
Isenthalpic flash calculations are more complex than isothermal flash calculations because of
the lack of the a priori knowledge of temperature (and phases) and because of the presence of
narrow boiling mixtures. The implications of these two factors are discussed in the following.
Phase Information
Since temperature is not known a priori in isenthalpic flash calculations, the traditional
stability analysis of the Gibb's free-energy surface (Nghiem and Li, 1984) cannot be used to
determine the number of phases that actually exist at convergence. A stability analysis can
only give the number of phases at the initial temperature estimate, which may not be the same
as the number of phases at convergence. This leads to the appearance and disappearance of
phases during the iterative process. This does not create any difficulties for Scheme 1 but
could cause convergence problems for Scheme 2.
Narrow-Boiling Systems
Narrow-boiling systems are those where the enthalpy changes drastically for a small change
in temperature during phase transition. Although many multicomponent fluids exhibit this
behavior, a single-component fluid in the two-phase region and two-component fluid in the
three-phase region are extreme examples of narrow-boiling mixtures.
User's Guide WinProp
Flash Calculations 71
From the phase rule, the degree of freedom F of a system with nc components and np phases is
F = nc+ 2 - np
Thus for a single-component system in the two-phase region, F = 1. This implies that, if the
pressure is fixed, the two-phase temperature is also fixed. In other words, pressure and
temperature are dependent on each other in the two-phase region. The enthalpy for this
system is determined by the phase split in the two-phase region. The same analysis applies to
a two-component system in the three-phase region.
Effect of Narrow-Boiling Systems on the Calculations
Scheme 1 is not applicable to systems with a degree of freedom equal to unity (e.g. onecomponent two-phase systems, two-component three-phase systems) because it attempts to
satisfy the energy equation by adjusting the temperature. For these systems, the energy
equation can only be satisfied by adjusting the phase split. Otherwise, Scheme 1 works for
any multicomponent systems with nc 3 even if they exhibit narrow-boiling behavior.
Calculation Procedures
A hybrid scheme, where five scheme-2 iterations are performed for every scheme-1 iteration, is
very stable and robust. Of course, only Scheme-2 is used for one and two component systems.
72 Flash Calculations
Background
For systems that exhibit three-phase behavior, there exist conditions where one of the phase
mole fractions goes to zero. Under these conditions, there are two phases in equilibrium with
an infinitesimal amount of a third phase. The locus of all these conditions corresponds to a
three-phase boundary. Nghiem and Li [21] describe calculation techniques for constructing
the three-phase boundary; these are extensions of the two-phase boundary calculations
described in a separate chapter. You can calculate the following envelopes:
Input Data
The three-phase boundary calculation is invoked by selecting Calculations|Three-phase
Envelope. Examples of three-phase PT envelope and PX envelope are in envel_3ph-pt.dat
and envel_3ph-px.dat respectively. This calculation requires good initial guesses for
convergence. Therefore the pressure, temperature, and K-values must be obtained from a
previous three-phase flash calculation near the boundary as in envel_3ph-pt.dat, or entered by
the user as in envel_3ph-px.dat.
Similarly for the TX diagram, enter an initial guess for the temperature in the combo box
labelled Temperature and a value for the pressure (fixed) in the combo box labelled
Pressure.
For all cases an initial guess for the mole fraction of either the vapor phase or the second
(intermediate) liquid phase is also required. For the boundary corresponding to zero vapor
phase, enter a value for the second liquid or intermediate phase mole fraction. For the
boundary corresponding to zero second liquid phase, enter a value for the vapor phase mole
fraction initial guess. If Use values from previous calculations is selected, WinProp will
calculate the boundary corresponding to the phase with the lowest mole fraction (in the
previous calculation) equal to zero.
Defaults for the maximum and minimum values for the x- and y-variables can be overridden
by entering values in the appropriate text boxes. The calculations stop when the maximum or
minimum values are exceeded or when the maximum number of points has been calculated
(see Envelope Construction Controls Tab). The calculations will also stop if the mole
fraction of any phase falls outside the limits specified by the values in the text boxes
Minimum phase mole frac and Maximum phase mole frac. The default values of 10 and
10 for the minimum and maximum are chosen such that the calculation will not stop unless
large non-physical values of the phase mole fractions are encountered.
The Tab Envelope Specification corresponding to envel_3ph-px.dat is shown below:
The estimates of the K-values for the first point on the boundary can be from a previous
calculation, or entered in the appropriate table as shown in the above figure.
Overview
Our experience shows that two representations of the components are normally required in
the modelling of the phase behavior of reservoir fluids. In the first stage, the fluid system is
represented by a large number of components (e.g. C1, C2, C3, ..., C29, C30+). Simple
calculations such as saturation pressure calculations are performed on this many-component
system to verify the adequacy of the EOS. We found that in most cases the EOS can predict
accurately the saturation pressure with only minor adjustment to the Hydrocarbon Interaction
Coefficient Exponent (HICE). See the chapter entitled Regression for more details. This
many-component representation is not practical for compositional simulation because of the
excessive run time and memory requirements. The second stage involves the lumping of the
many-component system into fewer components (e.g. 10).
Reservoir fluids typically consist of pure, well-defined components such as CO2, N2, C1, C2,
etc., and many hundreds of heptanes and heavier components (C7+). The laboratory analysis of
a reservoir fluid includes generally a gas chromatograph analysis of the C7+ fraction into Single
Carbon Number (SCN) fractions up to C30+ for example. Characterization of the C7+ fraction as
a number of pseudo-components is accomplished using WinProps Plus Fraction Splitting and
Component Lumping calculation options.
If a full extended analysis is available with mole fraction, MW and SG or Tb given for each
SCN fraction, the SCNs may be entered as user components directly on the Component
Selection/Properties form. If a complete analysis is not available, the Plus Fraction Splitting
calculation is used to define a distribution function relating mole fractions to molecular weights
of the C7+ fraction.
Three distribution functions are available in WinProp: exponential, two-stage exponential,
and gamma distribution. The implementation of the distribution functions depends on the
experimental data available.
If a partial extended analysis is given (e.g. only MW and mole fraction of the SCN fractions)
and one of the exponential distribution types is selected, the splitting calculation does not use
the distribution function. SG and Tb values for the SCN fractions are determined from
correlations based on the SG and MW of the plus fraction. Subsequently, critical properties
of the SCNs may be generated. After the splitting, the SCNs representing the C7+ fraction can
be lumped into fewer components based on K-values estimated from Wilson's correlation
using the Lee-Kesler mixing rules, (Lee and Kesler [15]).
If a partial extended analysis is given and the gamma distribution is selected, the parameter
in the distribution is determined by minimization to obtain the best fit of the distribution to
the experimental data. At this point, the analysis may be extended by using the distribution
function to generate mole fraction and molecular weight data for SCNs beyond the last
fraction in the experimental analysis. SG, Tb and critical properties of the SCNs may be
generated and lumping to fewer components may be done as for the exponential distribution
case. Alternatively, the gaussian quadrature technique may be used to determine MW and
mole fractions of the pseudo-components from the distribution function. Correlations are
then used to generate the SG, Tb and critical properties of the pseudo-components directly,
rather than using mixing rules.
If no extended analysis is available, i.e. only mole fraction, SG and MW of the C7+ fraction
are known, the parameters in the chosen distribution function are adjusted to match the
known data. The distribution function is then used to generate SCN mole fraction and MW.
Once this is done, the characterization may proceed as described for the partial extended
analysis cases above. Due to the larger number of adjustable parameters in the gamma
distribution, the parameter must be specified if no extended analysis is available. If it is not
input by the user, the program will estimate a value for this parameter.
The Component Lumping calculation may be specified in a data set if the SCNs were not
lumped within a splitting calculation, or to further reduce the number of components. The
lumping scheme may be input by the user, or the program can generate the pseudocomponents using an internal algorithm. We recommend specifying a lumping scheme based
on the K-values of the many-component system at a prevailing condition in the reservoir, e.g.
the saturation condition.
2-Stage Exponential
Gamma
Determined internally
WinProp will estimate internally the number of pseudocomponents for the plus fraction.
Input value
When using the gamma distribution and gaussian quadrature without extended analysis, the
number of pseudo-components cannot be estimated via correlation and will be set equal to 3.
Lumping Method
Log(K) lumping is available when characterizing a single sample with any of the distribution
functions. Gaussian quadrature lumping may be used with the gamma distribution, and is
required for characterizing multiple samples. Log(K) lumping defines pseudo-components as
having equal ranges of log(K). Gaussian quadrature lumping defines pseudo-components via
analytical integration of the gamma distribution.
Critical Properties Correlation
Three correlations are available to calculate the critical properties of the SCNs.
1. Lee-Kesler (Kesler and Lee [12])
2. Riazi (Riazi and Daubert [34])
3. Twu (Twu [36])
On the Distribution Tab, parameters relating to the chosen distribution are entered. Three of
these properties are common to both exponential and gamma distribution types, as follows.
MW of Heaviest Pseudo-Component
The choices for molecular weight of the heaviest pseudo-component are No Restriction,
Internal Default or entering a value. Specifying No Restriction implies no upper limit in
MW on the gamma distribution, and is not recommended. It leads to prediction of very high
molecular weights for the heaviest pseudo-component. The default setting obtained by
selecting Internal Default sets the heaviest pseudo-component MW equal to 2.5 times the
MW of the plus fraction. If multiple samples are used and No Restriction is selected, it will
automatically be reset to Internal Default.
SG-Tb-MW Correlation
When Gaussian quadrature is used with the gamma distribution, the following correlations are
available for determining pseudo-component boiling point from specific gravity and molecular
weight.
1. Twu (Twu [36])
2. Goossens (Goossens [7])
3. Riazi (Riazi and Daubert [34])
The controls available for determining gamma distribution parameters by minimization are:
Residual Value
The choices for residual value depend on what is selected under SCN MW interval type. The
residual value setting indicates what experimental data for each SCN is used in defining the error
function to be minimized. The choices are Molecular Weight, Mole Fraction and Weight
Fraction. If a constant MW interval is chosen, then molecular weight is not available as a choice
of residual value. Similarly, if a variable MW interval is chosen to match the mole fraction, then
mole fraction is not available as a choice of residual value. The default is to vary the MW interval
to match the weight fraction of the SCN, and adjust the distribution parameter to minimize the
error function defined in terms of the molecular weights.
Residual Type
The choices for residual type are Sum of Squares, Chi Square Goodness-of-Fit Test or
Sum of Scaled Squares. The default is sum of squares. For most applications, the difference
in minimization results between the residual types will be small.
Final SCN Fraction Data
The residual calculation can be specified to include or not include the data from the final
SCN fraction in the analysis.
On each Sample Tab, the properties of the plus fraction are entered. The number of sample
tabs appearing is set according to the Number of Fluid Samples entered on the General tab.
If extended analysis data is available from a true or simulated boiling point (distillation) analysis,
the data can be entered in the table on the Sample tab. In column 2 enter the mole fraction of
each fraction. In column 3 enter the average molecular weight of the fraction. Note that if any
extended analysis data are to be entered, mole fraction and molecular weight are required for
each cut. If data is available then values for the specific gravity can be entered in column 4 and
normal boiling point in C in column 5. Please note that if data for normal boiling point is
entered then data for specific gravity must also be entered. Sample data sets with extended
analysis data are split-mw_analysis, split-mwsg_analysis and split-mwsgtb_analysis.
Number of SCN Fractions
If this entry is left blank, the value will default to the number of fractions in the analysis, or to
25 if there is no extended analysis. If the exponential distributions are used with extended
analysis, and a value for number of SCN fractions is entered, it will be ignored. If the gamma
distribution is used with extended analysis, and a value for number of SCN fractions is
entered that is greater than the number of fractions in the analysis, the analysis will be
extended using the distribution function to the specified SCN number.
MW+
Molecular weight of the plus fraction must be entered in the text box unless extended analysis
data is given.
SG+
Specific gravity of the plus fraction must be entered in the text box unless SG data is given in
the extended analysis table.
Z+
Mole fraction of the plus fraction must be entered in the text box unless extended analysis
data is given.
If one of the exponential distribution function types is selected then the following data entry
box will be available:
Slope
This is the slope of the exponentially decreasing curve of the distribution function. If not
specified then it is determined internally based on data for a typical oil.
If the gamma distribution function is selected then the following data entry box will be available:
Alpha
This parameter is analogous to the slope parameter used for the exponential distribution types. If
>1, the distribution has a peak in mole fraction for an SCN greater than the initial SCN in the
distribution. If =1, the gamma distribution reduces to an exponential distribution, and if <1 the
function decreases more rapidly than an exponential distribution. In general, is larger for
heavier fluids, and smaller for lighter fluids. The normal range is from 0.5 to 2.5. If extended
analysis data is available and is not specified, it is determined by minimization to best fit the
experimental data. If extended analysis data is not available and is not specified, an estimate is
determined internally based on plus fraction SG and MW.
The Table Import Wizard can be used to append or insert extended analysis data at the
currently selected row in the extended analysis table. The wizard is launched by clicking on
the Table Import Wizard button located on any of the Sample tabs. Data for any of the
columns appearing in the table may be imported.
Note that the Table Import Wizard cannot be used to import columns of data for existing SCN
fractions. The standard Windows cut, copy and paste functions can be used for this purpose.
Lumping of Components
This option is invoked by selecting Characterization|Component Lumping. An example
data set for this option is lumping.dat. An example interface for this option is shown below.
Two options are available to the user in specifying the lumping method: explicitly entering the
lumping scheme or relying on the internal algorithm to determine the number of pseudocomponents. This algorithm is documented in Appendix B. The lumping method selection is
made with the radio buttons located under the Lumping Method label. The user-defined scheme
is specified in the table shown on this form. The first column shows the component name from
the many-component system. For information purposes, the primary and secondary compositions
are shown in the second and third column. The lumping scheme is specified by clicking the left
mouse button in the fourth column. Clicking the first time on the i-th row sets the lumping of
Component 1 to Component i of the many-component system into Pseudo-Component 1 of the
fewer-component system. Clicking the second time on the j-th row sets the lumping of
Component i+1 to Component j of the many component system into Pseudo-Component 2 to the
fewer component system, and so on. The Undo button undoes the last mouse click. The Reset
button clears the current lumping scheme. The user has control in selecting the last component Nl
in the original list of the Nc component system that will be involved in the lumping. That is
component 1 in the list through component Nl will be lumped. This selection is made through the
group up to component combo box.
The critical properties of the pseudo-components are estimated using the mixing rules of Lee
and Kesler [15].
Laboratory Calculations
Overview
WinProp performs the following laboratory calculations:
1. Recombination of separator oil and gas
2. Compressibility measurements
3. Constant composition expansion
4. Differential liberation
5. Separator test
6. Constant volume depletion
7. Swelling test
Descriptions of the above laboratory procedures can be found in Pedersen et al. [29] and McCain
[17]. You can also include experimental data in these calculations for regression purposes.
Convention for Experimental Data Input
Many experimental data are entered in tabular form. You are required to enter data for all
pressures or mixtures. For missing data, enter "-1.0" in the corresponding cell. The program
will ignore all negative data in the regression. WinProp will put "-1.0" into empty cells
corresponding to pressures or mixtures that have values in some other cells.
You can also enter a negative sign ("-") in front of any piece of data to exclude it from the
regression.
Laboratory Calculations 87
the EOS calculated oil phase density is generally not as accurate. A number of options in
addition to the EOS are therefore provided for specifying the densities. These are
1) Entering the densities directly and
2) Use of the Alani-Kennedy correlation for calculating the oil phase density and
Dranchuk et al. [4] correlation for calculating the gas phase density.
Further discussion of these correlations follows in the next section.
A key concern is the quality of the compositional data collected in the field for the recombination
calculation. A fast and reliable way of evaluating the consistency of the data is through a
graphical technique, known as the Hoffman plot [9]. This plot is created by plotting the logarithm
of the product K-value times pressure versus a component characteristic factor, F. If the data is
good, that is the oil and gas samples are reasonably in equilibrium at the separator conditions and
the measurement of the oil and gas compositions is generally error free, then the points for
components C1-C6 should fall on a straight line. Compositions corresponding to components N2
and C7+ are generally not measured as accurately. The parameter, F, is defined as follows:
F=
(log Pc log Pa )
1
1
Tb Tc
1
1
Tb T
Where
Pc = critical pressure,
Tc = critical temperature,
Pa = atmospheric pressure,
Tb = normal boiling point and
T = Temperature
Input Data
Invoke the Recombination calculation option by selecting Lab|Recombination from the
menu. An example data set is recombine.dat. The separator pressure, temperature and gasoil ratio are the required inputs to be specified in the text boxes under the frame labelled
Separator conditions. The compositions of the separator oil and gas are also required and
are entered on the form Composition, with the oil entered as the primary composition and the
gas as the secondary composition.
The default method is to calculate the oil and gas densities from their respective compositions
and the separator pressure and temperature using the equation of state (EOS). Generally, the
EOS calculated oil density is not reliable. Therefore, if an experimentally determined value
for the oil density or oil specific gravity is available, enter it directly instead. In the case of
specific gravity, select the button Specific gravity entered and enter a value in the adjacent
text box. If the oil density is available select the Mass density entered button and enter a
value in the adjacent text box in the units stipulated. A third choice is to use some model
other than the EOS to predict the oil density. Since the composition is known the Alani and
Kennedy correlation is a good choice. To use this method select From Alani Kennedy
correlation... button and enter values of the C7+ specific gravity and molecular weight. This
88 Laboratory Calculations
method is considered to be quite accurate even for highly volatile oils. The authors used
experimental density data to develop a cubic equation for the oil molar volume:
v 3 (R (T + 460) / P + b )v 2 + av / P ab / P = 0
where,
v = Molar volume, ft3/lbmol
T = Temperature, F
P = Pressure, psia
R = 10.7335, (psia) (ft3/lbmol)/R
The parameters a and b depend on the temperature and on component specific constants; for
pure compounds a and b are given by:
a = e n / (T + 460 )
b = m(T + 460) + C
The values of , n, m and C are available in the literature for common compounds, see for
example Danesh [3]. For the C7+ fraction, a and b are obtained from an equation with the
specific gravity and molecular weight as well as the temperature being the inputs. Provision
is made to enter the specific gravity and molecular weight of the C7+ fraction on the
Recombination form. The values of a and b for the mixture are determined by molar
averaging. Please refer to reference [3], page 76-77 for more extensive presentation of this
material including an example calculation.
For the gas density the EOS value is reliable. However, a value may be entered directly or
calculated from the entered compressibility factor. A third option is to use the correlations of
Dranchuk, Purvis and Robinson [4]. Two methods are available for calculating the pseudocritical temperature and pressure: Kays rule and the Wichert and Aziz correlation [42].
The Hoffmann plot for the recombination can be generated by selecting the checkbox labelled
Perform Hoffmann, Crump, Hocott (HCH) Test at the bottom of the form.
The gas and oil are not in equilibrium from an EOS calculation viewpoint. Thus, a separator
calculation on the recombined fluid will not give the measured gas-oil ratio or oil and gas
compositions.
Another approach for doing recombination is to use the Separator calculation, and through a
trial-and-error approach find the fraction of gas in the gas/oil mixture that will give the
measured gas-oil ratio. The composition of the gas and oil are entered as the primary and
secondary compositions on Form Composition. The feed is specified on the second tab of
the Separator calculation by selecting the mole fraction of the primary fluid.
Laboratory Calculations 89
Compressibility Calculation
Overview
This option calculates the single-phase compressibility as defined by the following equation:
c = 1 / V(V / P )
You invoke this option by selecting Lab|Single-phase Compressibility. An example data set
for this option is compress.dat. Note that in the output file, compressibilities are reported under
column headings labelled global and liquid. For the case where the mixture is single phase
at the given pressure and temperature these two values will be the same since the global and
liquid composition are identical. For the case where there are 2 phases, the compressibility
under global is the overall mixture (oil and gas) compressibility calculated using the equation
valid for single phase and the value under the liquid column is the oil phase compressibility.
Input Data
Once the primary fluid (usually oil) and secondary fluid (usually gas) compositions have been
entered on the Composition form, compressibilities for any number of fluids defined by
combining the oil and gas streams in different proportions can be determined. On tab 1,
Calculations, enter the temperature and on the table below enter for each mixture the initial
pressure, the pressure increment, the mole fraction of the secondary fluid in the mixture and
the number of pressure steps. The experimental compressibilities can be entered on the table
provided on tab 2, Experimental. Note that this table accommodates all the mixtures defined
on the previous tab. If a given experimental value is not available, enter a value of 1.0.
In the example data set compress.dat, compressibility calculations are carried out for four
fluid mixtures. For each mixture, the compressibility of the fluid is calculated for three
pressures equal to 24000 kPa, 25000 kPa and 26000 kPa respectively.
90 Laboratory Calculations
Input Data
You invoke this option by selecting Lab|Constant Composition Expansion. Alternatively
add the option by clicking on the CCE button on the options toolbar. An example data set is
cce.dat. Enter data on tab 1, Pressure Levels.
For a description of the data entry related to the saturation pressure fields, please refer to the
section entitled Saturation pressure.
The reservoir or experimental temperature is entered in the text box labelled Temperature. The
pressure levels of CCE test are entered on the table provided under column 1 labelled Pressure.
Enter values starting with the highest pressure to the lowest. At least one value is required.
The following experimental data can be entered for regression for this option:
For a bubble point fluid:
1) Relative total volume ( total fluid volume at current pressure / fluid volume at
saturation conditions) above and below saturation conditions, dimensionless
quantity,
2) Liquid saturation as a percentage (volume occupied by the liquid phase / total cell
volume * 100) above and below saturation conditions, dimensionless quantity,
3) Oil viscosity above and below saturation conditions in cP,
4) Gas viscosity below saturation pressure in cP,
5) Gas compressibility factor below saturation conditions (dimensionless),
6) Oil compressibility factor above and below saturation conditions (dimensionless),
7) Gas density below saturation conditions, in units of kg/m3 for SI units and lbm/ft3
in field units,
8) Oil density above and below saturation conditions, in units of kg/m3 for SI units
and lbm/ft3 in field units,
9) Single phase oil compressibility, at and above saturation conditions, in units of
1/kPa for SI units and 1/psia in field units.
For a dew point fluid:
1) Relative total volume ( total fluid volume at current pressure / fluid volume at
saturation conditions) above and below saturation conditions, dimensionless
quantity,
2) Liquid saturation as a percentage ( volume occupied by the liquid phase / total cell
volume * 100) above and below saturation conditions, dimensionless quantity,
3) Oil viscosity below saturation conditions in cP,
4) Gas viscosity above and below saturation pressure in cP,
5) Gas compressibility factor above and below saturation conditions (dimensionless),
6) Oil compressibility factor below saturation conditions (dimensionless),
7) Gas density above and below saturation conditions, in units of kg/m3 for SI units
and lbm/ft3 in field units,
Laboratory Calculations 91
8) Oil density below saturation conditions, in units of kg/m3 for SI units and lbm/ft3 in
field units.
If experimental values are not available at all pressure levels for a given data type, a value of
-1.0 may be entered for the unknown values. Please see also the section on Convention for
experimental data input. For a given piece of data if the corresponding (predicted) value
cannot be calculated, for example single phase compressibility for a dew point fluid, then that
specific piece of data will not be included in regression.
Differential Liberation
Laboratory Procedure
This procedure is generally performed for a black-oil fluid to simulate the conditions
encountered in the reservoir. The sample of reservoir liquid in the laboratory cell is brought
to the bubble point pressure, and the temperature is set to the reservoir temperature.
Pressure is reduced by increasing the cell volume. All the gas is expelled from the cell while
pressure is held constant by reducing the cell volume. The gas is collected, and its quantity and
specific gravity are measured. The process is repeated in steps until atmospheric pressure is
reached. The temperature is then reduced to 15 C or 60 F, and the volume of the remaining
liquid is measured. This corresponds to the residual oil from the differential liberation.
Each of the values of liquid volume in the cell is divided by the volume of the residual oil to
obtain the relative oil volume or formation volume factor, Bo. The compressibility of the gas
(Z-factor), the gas density and the formation volume factor of gas (Bg) are also measured.
The total volume of gas removed during the entire process is the amount of gas in solution at the
bubble point. The solution gas-oil ratio (Rs) is calculated by dividing the total volume of gas by
the volume of residual oil. The solution gas at any lower pressure is obtained by subtracting the
sum of gas removed down to the pressure of interest from the total volume of gas removed.
A schematic of the differential liberation process is shown below:
All gas
displaced
Gas off
Gas
Gas
Oil
Gas
Oil
Oil
Oil
Oil
Hg
Hg
Hg
Hg
Hg
P 1 = P sat
P 2 < P sat
92 Laboratory Calculations
P 2 < P sat
P 2 < P sat
Input Data
This option is invoked by selecting Lab|Differential Liberation or by selecting the DIFF
LIB button on the options menu. An example data set is diflib.dat. Also the data set, matbalbo.dat illustrates consistency checks calculations for the differential liberation experiment. You
enter data on Tabs Pressure Levels, Consistency Checks and Feed/Kvalues/Output
level/Stability test level/Standard Conditions.
On Tab 1, Pressure Levels, for a description of the data requirements for the saturation
pressure related fields, specifically the saturation pressure entered on the first row and first
column of the main differential liberation table and the check box labeled improve
saturation pressure estimate, please refer to the section entitled Saturation Pressure.
The standard conditions are entered on Tab 3. The default values are 14.696 psia and 60 F
or 101.325 kPa and 15.56 C.
The basic data required on the tab Pressure Levels are the temperature and the pressure
levels. Enter the reservoir temperature in the text box labeled Temperature. Enter the pressure
levels in column one of the main table. At least one pressure level must be specified in
addition to the saturation pressure. Note that row one is reserved for the saturation pressure.
The specified pressures on row two and subsequent pressures may be higher than the
saturation pressure. However, for rows 2 and greater specify the pressures from the highest
value to the lowest. Do not leave any empty rows.
Quite often experimental data such as oil specific gravity (SG), oil formation volume factor
(FVF), solution gas-oil ratio (GOR), gas Z-factor, gas formation volume factor, gas specific
gravity, oil and gas viscosities as well as properties of the residual oil are available from the
laboratory. These data may be used in WinProp in two ways:
1) Material balance and consistency check calculations to evaluate the quality of the
data and
2) In regression to tune the EOS model to match the observed data.
Generally, material balance calculations would be done first to evaluate the data prior to the
regression calculation. The required data for performing an overall material balance are the
gas oil ratio at each step, the specific gravity of the gas at each step, the specific gravity of the
oil at saturation conditions, oil formation volume factor at saturation conditions and the
residual oil specific gravity. For component material balances the gas phase composition at
each stage is also required. Please note that in going from reservoir temperature and standard
pressure to standard temperature and pressure, it is assumed that no gas will be evolved. The
component balance calculates the composition of the oil phase in the cell at each stage of the
experiment. These data are entered on Tab 2, Consistency Checks. The data fields required
to be filled for overall material balance calculations are shown in cyan. For component
material balance in addition to the data for performing the overall material balance, the gas
composition for each step of the differential liberation experiment is also required. These
fields are shown in yellow. Since some of the data measured in the laboratory can be used for
both regression and for material balance calculations, a button on Tab 2 labeled, Copy Main
Table Contents is provided to avoid having to specify the same data twice on the main table
on Tab 1 and the consistency checks table on Tab 2. The pressure values however have to be
entered on the main table on Tab 1. Therefore if the experimental data are initially entered on
the main table, then clicking on the command button Copy Main Table Contents will copy
User's Guide WinProp
Laboratory Calculations 93
the common data from the main table to the consistency checks table. If sufficient data is
entered for the material balance then WinProp will automatically perform that calculation.
Similarly if sufficient data is entered for component material balance then that calculation
will be performed by WinProp. However the user has the option to suppress the consistency
or material balance checks by checking off on the check box labeled Perform consistency
checks if sufficient data is entered on Tab 2.
Data for regression can be entered on columns 2 through columns 9 of the main table on Tab 1
as well as the residual oil specific gravity and API gravity text boxes on Tab 1. For a given
property such as GOR if experimental data is not available for a given pressure, then enter a
value of -1.0 for that row. A table below the main table on Tab 1 can be used to assign weights
to the different types of data entered. Please see also the section on Convention for
experimental data input. If data has been entered on Tab 2 that the user would also like to
use for regression purposes then clicking on the button labeled Copy Consistency Checks
Table will copy the data in fields common to both tables. The table import wizard may also be
used to import data from an ASCII or Excel format file into the main table on Tab 1. To invoke
the table import wizard, click on the button labeled Table Import Wizard.
On Tab 1 there is a checkbox labeled Scale ROV and GOR to oil shrinkage and cum. Gas
released relative to bubble point. Selecting this option will enable calculation of oil shrinkage
as the ratio of oil volume to saturated oil volume, and cumulative gas released as the ratio of
standard volumes of gas liberated to saturated oil volume. If the Differential Liberation
calculation is not being used in regression, this option will generate a plot of these quantities vs.
pressure when the Excel plots are generated, in addition to the normal Relative Oil Volume and
Gas-Oil Ratio plot. If regression to experimental data is being performed, the experimental
values are converted to oil shrinkage and cumulative gas released, and the regression is done on
these quantities. The regression summary table will show the match to the scaled quantities, and
the regression summary plots will show the fit to both the scaled and un-scaled quantities. The
advantage of this technique is that the EOS will not be penalized for poor prediction of the
residual oil density, which is a quantity that will never be encountered in the field.
94 Laboratory Calculations
Gas off
Gas
Gas
Gas
Gas
Oil
Gas
Oil
Hg
Oil
Hg
Hg
Hg
P 1 = P sat
P 2 < P sat
Oil
Hg
P 2 < P sat
P 2 < P sat
Input Data
You invoke this option by selecting Lab|Constant Volume Depletion from the menu or by
selecting the CVD button on the options toolbar. An example data set is cvd.dat. For
illustration of consistency checks calculations on CVD experimental data, see the template
case, matbal-gc.dat. You enter data on Tabs Pressure Levels, Consistency Checks,
Separator and Feed/K-values/Output level/Stability test level.
On tab 1, Pressure Levels, enter the reservoir or CVD test temperature in the text box labeled
Temperature. For this test, an initial guess for the saturation pressure is required. This value is
entered on row 1 and column 1 of the main table on Tab 1. The program can use this value
directly in a saturation pressure calculation or refine the guess with a stability test. The latter
choice is selected by checking off the check box labeled improve saturation pressure estimate.
Further details are provided in the section entitled Saturation Pressure. The only other
required data are the values of the pressure steps. These are entered in the column labeled Pres.
on the main table provided on Tab 1. The first row of this table is reserved for the saturation
pressure. Enter values from highest pressure to the lowest pressure starting on row 2. Do not
leave any empty rows. Columns 2 through 4 are to be used for entering experimental data which
can be used for regression. On the column labeled Cum Gas produced (%), enter the percentage
recovery, that is total moles removed as a percentage of the initial moles (at saturation pressure)
charged to the cell. On the column labeled Liq. Sat (% of CVS) enter the percent of the cell
volume occupied by the liquid phase at each pressure step, relative to the volume occupied at
saturation conditions. For fluids with a dew point, at saturation pressure, this value is 0.0. For
volatile oils which exhibit a bubble point enter a value of 100 at the saturation pressure. On the
column labeled Gas Z factor enter the gas phase compressibility factor at each pressure. For a
given property such as Gas Z factor if experimental data is not available for a given pressure, then
enter a value of 1.0 for that row. A table below the main table on Tab 1 can be used to assign
weights to the different types of data entered. Please see also the section on Convention for
experimental data input. If data has been entered on Tab 2, Consistency Checks, that the user
would also like to use for regression purposes then clicking on the button labeled Copy
User's Guide WinProp
Laboratory Calculations 95
Consistency Checks Table will copy the data in fields common to both tables. The table import
wizard may also be used to import data from an ASCII or Excel format file into the main table on
Tab 1. To invoke the table import wizard, click on the button labeled Table Import Wizard.
Material balance calculations can be used to check the quality of the laboratory data collected.
The overall material balance can be used to determine the total mass of the gas and liquid phases
and their densities as a function of pressure. If the compositional analysis of the gas phase from
each stage is also available then the liquid phase composition at each stage can also be
calculated. These data are entered on Tab 2, Consistency Checks. The required data for
performing an overall material balance are the cumulative percent recovery at each pressure step,
the Z factor of the gas at each pressure step, the specific gravity of the gas at each pressure step
and the liquid saturation at each pressure step. The data fields required to be filled for overall
material balance calculations are shown in cyan. For component material balance in addition to
the data for performing the overall material balance, the gas composition for each step of the
constant volume depletion experiment is also required. These fields are shown in yellow. Since
some of the data measured in the laboratory can be used for both regression and for material
balance calculations, a button on Tab 2 labeled, Copy Main Table Contents is provided to
avoid having to specify the same data twice on the main table on Tab 1 and the consistency
checks table on Tab 2. The pressure values however have to be entered on the main table on Tab
1. Therefore if the experimental data are initially entered on the main table, then clicking on the
command button Copy Main Table Contents will copy the common data from the main table
to the consistency checks table. If sufficient data is entered for the material balance then
WinProp will automatically perform that calculation. Similarly if sufficient data is entered for
component material balance then that calculation will be performed by WinProp. However the
user has the option to suppress the consistency or material balance checks by checking off on the
check box labeled Perform consistency checks if sufficient data is entered on Tab 2.
A brief description of the material balance calculations for CVD follows below. For more
detailed information please refer to Whitson and Torp [41].
Assume as a basis 1 mole of initial fluid charged to the CVD cell. The total mass in the cell
at a particular stage k, denoted as ntk is then equal to:
i=k
n tk = 1 n pi
i=2
where npi is the incremental moles of vapor produced from the cell during stage i. In terms
of the table entries, npi is the difference in the values of gas produced % expressed as
fraction between stage i and stage (i-1). Note the initial stage (saturation conditions) is being
denoted as stage 1. The corresponding material balance equation for a component j is:
n tk z jk = z j1
i=k
n pi .y ji
i=2
where zjk is the overall composition of the fluid remaining in the cell at stage k and yji is the
composition of the vapor phase removed from the cell at stage i. For density calculations the
mass and volume of each phase in the cell is required. The cell volume can be calculated
from the knowledge of initial fluid properties:
96 Laboratory Calculations
Z RT
Vcell = 1
P1
For gas condensates the gas compressibility factor Z1 is generally available, for volatile oils,
however, the bubble point density is usually measured. Provision is made to enter Z factors
only in WinProp. The measured bubble point density can be used together with the real gas
law (PV=nZRT) to obtain the required Z factor. At each stage the liquid volume in the cell is
measured and reported as the liquid saturation. The liquid volume in the cell, can then be
calculated as:
VLk = S Lk .Vcell
From a volume balance, the vapor volume is then Vvk = (1-SLk).Vcell. Using the real gas law, the
corresponding moles of vapor in the cell at stage k are calculated as nvk = pk.Vvk/ZkRT. The
composition of the liquid phase remaining in the cell at each stage k can now be computed as:
x jk =
n tk .z jk n vk .y jk
n tk n vk
The compositions calculated in this manner are analyzed by plotting the corresponding
logarithm of K values versus a component characterization factor, F, known as the Hoffman
plot. WinProp will automatically create this plot if component material balance calculations
are performed, which will be done if the required data is entered by the user.
The densities of the liquid and vapor phases can also be calculated from a mass balance [41].
The multistage separator conditions and standard conditions are entered on Tab Separator.
Enter stages from the highest pressure down to the lowest pressure. A maximum of 8 stages
excluding stock tank are allowed. The multistage separator does not include the stock tank
conditions which are entered as Standard conditions. A lower carbon-number component
and an upper carbon-number component are also specified. The molecular weight of
components between those two is computed at each pressure level. This enables the tracking
of the molecular weight of the plus fraction during the depletion process.
You can also enter experimental data on mole % of gas produced, liquid dropout (% liquid
saturation), and gas compressibility factor for regression purposes. Please see also the section
on Convention for experimental data input.
Separator Test
Laboratory Procedure
The reservoir fluid is sent to a multistage separator where the pressure and temperature are
selected to optimize liquid production. The last stage of the separator corresponds to the
stock tank.
A schematic of a conventional three-stage separation process is shown below:
Laboratory Calculations 97
1 st STAGE
P1 , T1
GAS (ST)
GAS (2)
GAS (1)
3 rd STAGE
P 3, T3
2 nd STAGE
P 2, T2
The overall gas-oil ratio, the stock-tank specific gravity or API, and the oil formation volume
factor Bo are measured.
The implementation of the Separator option provides for considerable flexibility in
modelling separation strategies which do not conform to the conventional scheme described
above. This is often encountered with gas condensate fluids. Each separator has the
limitation of a single required input and two outputs corresponding to the vapor and liquid
streams. However the liquid output need not feed the next separator and the gas output is not
limited to join the gas product stream. For a given separator one of these output streams can
potentially become a product stream or feed a separator downstream. Recycling is not
allowed. The user can also specify new product streams aside from oil and gas such as LPG.
The oil and gas product streams however must always be present. Quantities that can be used
for regression calculation such as GOR will always therefore be defined.
Two examples via schematics are shown below of alternative separator calculations. In the
first case the oil product stream is made up of contributions from the liquid phase from the 3
separators. This is essentially a reversal of the conventional case where the gas product
stream is made up of the vapor phase from all the separators. In the second case a third
product stream labeled as LPG is defined.
GAS
FEED
1st STAGE
P1 , T1
2 nd STAGE
P 2, T2
STOCK-TANK
P s , Ts
OIL
LPG
FEED
1 st STAGE
P1 , T1
2 nd STAGE
P 2, T2
GAS
STOCK-TANK
P s , Ts
OIL
98 Laboratory Calculations
Input Data
This option is invoked by selecting Lab|Separator or alternatively by selecting the SEP
button on the options toolbar. An example data set is separator.dat.
Specification of the separator stage conditions and stage data for performing Hoffmann plots
and material balance calculations is done on tab 1, Separators. Initially there are 2 columns
corresponding to the saturation conditions and stock tank conditions in the table on tab 1. The
minimum data requirements are the temperature and pressure for each defined stage. For
the saturation column, the reservoir temperature is required along with the known saturation
pressure or an initial guess for the saturation pressure. The program will calculate the
saturation pressure. The user-supplied value will be used directly as an initial guess in the
saturation pressure calculation or the user-supplied value will be refined further via a stability
test prior to the saturation pressure calculation being invoked. The default is to refine the
initial value as indicated by the check box labelled improve saturation pressure estimate.
For the stock tank, the default values for the temperature and pressure are shown on the table.
The user may edit these values.
The Liquid to and the Vapor to rows indicate the destination of the liquid and the vapor
stream from each stage. When there is only one stage, stock tank, then these destinations
have to be the oil product stream and the gas product stream since these 2 streams have
to be present in all cases. For reporting volumes, conditions other than the stock tank
pressure and temperature can be selected for each product stream. These are to be specified
in the table labelled Product Streams Reporting Table. To add a separator, select a cell in
the column where you want the new stage to be inserted and click on the button labelled
Insert sep. To delete a separator, highlight the appropriate column(s) and click on the button
Delete sep. The highest separator stage should be added first followed by lower pressure
stages to the stock tank. The default destination for the liquid phase is as feed to the next
separator downstream while the default for the vapor phase is the gas product stream.
Once all the separators are added and the conditions specified then the destinations can be
changed, possibly defining a new product stream such as an LPG or intermediate product
stream. This is done through a drop down combo box which pops down by double clicking
or entering data on the appropriate cell of the stream destinations table. Once added, such a
stream will also have an entry added to the Product Streams Reporting Table. An example
of the interface is shown below:
Laboratory Calculations 99
For overall material balance calculation and Hoffmann plots the required data are the specific
gravity of the gas removed from each separator stage, the gas oil ratio (with respect to stock tank
oil) at each stage, the stock tank API, the density at the saturation conditions and the oil formation
volume factor at saturation conditions. For component material balance calculations the
composition of the gas stream from separator stage is required as well. The GOR values
correspond to the amount of gas liberated and not gas in solution. The formulation of the material
balance equations is based on the fact that the mass or moles placed at the start of the experiment
must equal the mass of the residual oil plus the mass of gas removed from the cell [18].
M init
The above equations all yield mass of initial in place fluid, gas removed and residual oil in
units of kg. The gas oil ratio appearing in the expression for the gas removed in stage k is the
liberated GOR and k is the specific gravity of the gas coming out of solution in stage k. stc
is the stock tank density of the oil and s is the saturated fluid density. Bo is the formation
volume factor at saturated conditions.
The experimental data for regression are entered on tab 2, Experimental Data. The three
experimental data values available for regression are the overall solution gas oil ratio, the oil
formation volume factor and the residual oil API gravity.
Swelling Test
LABORATORY PROCEDURE
This experiment provides information on the fluid behavior under gas injection processes.
When a gas is injected into a reservoir, it can go into solution and swell the oil, i.e. the
volume of the oil becomes larger. Measurements of this effect can be performed as follows.
The reservoir oil is loaded in a cell, and the temperature is set at the reservoir temperature.
The bubble point of the oil and the corresponding volume are measured. A small amount of
injection gas is transferred into the cell. A new saturation pressure is determined and a new
saturation volume recorded. This process is repeated until the upper bound of injection-gas
concentration is reached or the saturation pressure of the fluid is equal to the estimated
injection pressure.
A constant composition expansion experiment may be performed for each mixture of
injection-gas and oil in the above process.
Input Data
This option is invoked by selecting Lab|Swelling Test or alternatively by clicking on the
SWL TEST button on the options toolbar. An example data set is swelling.dat. Enter data
on Tabs Mixtures and CCE.
The required data on Tab 1, Mixtures, include the temperature at which the experiment is
performed and an initial guess for the saturation pressure of the oil at the specified
temperature. If the Improve saturation pressure estimate box is checked this value will be
refined further via a stability test. For additional details refer to the section entitled
Saturation Pressure. The original oil is labelled as mixture #0. The initial guess for
saturation pressure entered in the text box Saturation pressure is also shown on the table on
Tab 1 to be used to specify the data for the other mixtures. The oil and gas compositions are
entered on the Composition form as primary and secondary fluids respectively.
The data on Tab 1, Mixtures, corresponding to template case swelling.dat is shown below.
On the table provided for specifying mixture properties, the first column corresponds to the
mole fraction of injection gas, and the second column corresponds to the saturation pressure
estimate of the injection-gas and oil mixture. The row corresponding to the original oil, that
is with mole fraction equal to zero, is added automatically by WinProp. The saturation
pressure estimate value appearing in the table for this row is taken from the Saturation
Pressure Estimate text box. Additional data for at least one mixture is required on this table.
Enter data for these mixtures in consecutive rows starting with the smallest value of the gas
mole fraction to the largest value. A guess for the corresponding saturation pressure is
required for each mixture. As data is added to the table, the total number of mixtures defined
is indicated by the label No of swelling experiments. Insert or remove rows from this table
by accessing the Table menu. The above example shows a case with 5 mixtures.
For regression purposes, the experimental saturation pressure data and/or swelling factor
(volume of swelled fluid at saturation pressure/volume of original fluid at saturation pressure)
may be entered in the third and fourth columns respectively. Either of the two properties may
be assigned a weight greater than the default of 1.0 reflecting the relative importance of the data
to the process for which the EOS model is being developed or the relative accuracy of the
measurements. Please see also the section on Convention for experimental data input.
If required, the pressure levels of a constant composition expansion process are entered on
Tab CCE. The CCE experiment will be performed at the entered pressures for each of the
mixtures stipulated. The CCE Excel plots are generated automatically if pressures are
specified for the CCE experiment.
Overview
The design of gas or solvent injection processes often involves a multiple-contact calculation to
study the vaporization or extraction process. There are two methodologies to analyze the gas
drive mechanism and miscible process in WinProp. Traditionally, with cell-to-cell simulation,
a pseudo-ternary diagram is generated from the calculations to help with the interpretation of
the results. Most gas or solvent injection floods operate in a regime where true miscibility is
not achieved, rather near miscible conditions are realized. High recoveries can be achieved
even though miscibility is not truly realized. As compared to conditions required for
miscibility, operation in this regime translates to lower operating costs as compression costs
increase with pressure and feedstock costs increase with the solvent enrichment level. These
are known as vaporizing/condensing processes (Zick [44]), and the resulting ternary diagram has
an hourglass shape. By analyzing the ternary diagrams from the MCM option in conjunction
with slim tube or core flood experiments, optimal operating conditions or solvent composition
can be determined. Please refer to Nutakki et al. [25] for a detailed discussion of this subject.
Besides the pure vaporizing or pure condensing processes, there is a combined drive
mechanism that has features of both vaporizing and condensing drives. In such a system, the
crossover tie line controls the development of miscibility, instead of initial oil tie line or
injection gas tie line. Geometric construction in the composition space is used to locate
calculation, the program divides the entered pressure range into 400 equally spaced intervals.
The calculation begins with the lowest pressure (Pmin) terminating at the maximum pressure
(Pmax) or at the FCM pressure. Similarly for the MME calculation, the entered mole fraction
range is divided into equally spaced intervals, and the calculation terminates at the maximum
solvent enrichment level, or at the enrichment level which gives first contact miscibility at the
specified pressure. The results are output based on the pressure step, or mole fraction step,
used to specify the range and at the pressure corresponding to the MMP or MME. If Cell-toCell method is used, the ternary diagrams will also be output. If Tie Line method is used,
detailed liquid/vapor composition, as well as the k-value for each key tie line will be output.
Data Input
The multiple-contact calculation option is invoked by selecting Calculations|Multiple
Contacts or by selecting the MCM button on the options toolbar. Example data sets for this
option are mcm-condensing.dat, mcm-vaporizing-co2.dat, mcm-combined-H95-8leanmmp.dat and mcm-Z12-5-mme.dat etc. The required data include the temperature, entered in
the text box on Tab 1, Conditions and a pressure or alternatively a pressure range for the
calculation. For calculation at a single pressure, enter the value in the text box Pressure. To
specify a pressure range enter the minimum pressure, Pmin, in the text box labelled Pressure
and enter a value for pressure step, Pstep, and the number of pressure steps, Nsteps. The
maximum pressure, Pmax = Pmin + Pstep *Nsteps. The user needs to select one of the calculation
methods: Cell-to-Cell simulation or Tie Line method. The other required data are the oil
composition entered on the Composition form, the primary and make up gas compositions
entered on Tab 2, Composition, the make up gas fraction or range of fractions and the
pseudoization scheme for the ternary diagram entered on Tab 2, Composition as well. For
calculation at a single solvent enrichment level, enter a value between 0.0 and 1.0 in the
Make-up gas fraction text box. The default value for the make-up gas fraction is zero,
implying the solvent composition equals the primary gas composition. In this case the makeup gas composition is not required and values of zero can be entered. To specify a range of
make-up gas mole fractions, enter the minimum value in the Make-up gas fraction text box,
enter a value for the Make-up gas fraction step and for the No. of make-up gas fraction
steps. If Cell-to-Cell simulation is selected, the pseudoization scheme need to have a value
of 1, 2 or 3 to group a given component into the first, second or third pseudo-component
respectively. The pseudoization scheme is used in the post-processing step, which is just for
ternary plots; the actual calculations are done with the full set of components.
Note that if a range of pressures is specified (MMP calculation), only one solvent
composition may be entered. That is the Make-up gas fraction step must be 0.0 and the No.
of make-up gas fraction steps must be 1. Similarly for the MME calculation where a range
of make-up gas fractions is specified, only one pressure value may be entered.
The following steps are used in the calculation (the points referred to by letter are shown on
the diagram following step 4).
1. A solvent is first formed by mixing a primary gas (e.g. dry gas) with a specified
mole fraction of make-up gas (e.g. LPG). The compositions of the primary and
make-up gases, and the fraction of make-up gas are entered on Tab Composition.
The oil composition is specified on the form Composition.
106 Multiple Contact Miscibility Calculations
2. Solvent is added to the oil such that the solvent to oil molar ratio increases by a
specified value for each mixture. This solvent increment ratio is entered on Tab
Conditions as Solvent increment ratio. The default value is 0.01. Flash
calculations are performed for a maximum of 100 mixtures of solvent and oil. If
no two-phase region is detected, the process is judged to be first contact miscible
and the calculations stop. In the event that a two-phase region is encountered, the
calculation procedure proceeds to Steps 3 and 4.
3. Using the first point (A) in the two-phase region detected in Step 2, all liquid is
removed. The remaining gas is combined with the original oil in the gas oil ratio
RATIO:(1-RATIO) to form B1. The value of RATIO is entered on Tab Conditions
as Equilibrium gas/original oil mixing ratio (default value: 0.10). A flash
calculation is performed, and the liquid is removed. The procedure is repeated.
This simulates a vaporizing or extraction process, and generates the portion of the
phase envelope marked B. A maximum of 50 flash calculations is performed.
4. Again, using the first point (A) in the two-phase region detected in Step 2, all
vapor is removed. The remaining liquid is combined with the original solvent in
the solvent liquid ratio RATIO:(1-RATIO) to form C1. A flash calculation is
performed, and the vapor is removed. The procedure is repeated until the oil
cannot be enriched further or after a maximum of 50 flash calculations are
performed. This process simulates a condensing gas drive process, and generates
the portion of the phase envelope marked C.
Heavy
B
C
Oil
C1
B2
B1
C2
Critical Point
Light
Dry Gas
Solvent
Intermediate
Pseudo-Ternary Diagram
If Cell-to-Cell simulation is selected, the last column of the table on Tab Composition needs
to have a value of 1, 2 or 3, which determines the grouping of components into three pseudocomponents for the ternary diagram. In the following example:
N2 and C1 belong to Pseudo-Component 1; IC5, NC5, NC6 and FC20 belong to PseudoComponent 3, while the remaining components belong to Pseudo-Component 2. The
resulting ternary diagram from this multiple contact calculation is shown below, where the
bottom left apex corresponds to Pseudo-Component 1, the bottom right apex corresponds to
Pseudo-Component 2 and the top apex represents Pseudo-Component 3.
90
80
70
60
50
40
30
20
10
0
0
10
20
30
40
50
60
70
80
90
100
Liquid
Gas
Oil
Regression
Overview
The regression feature of WinProp can be used to tune the equation of state to match
experimental measurements. The parameters used in the regression are component properties
and interaction coefficients. Most of the calculation options of WinProp allow experimental
data to be entered for regression purposes.
WinProp uses the regression procedure of Agarwal et al. [2]. From the specified list of
parameters, the procedure orders the parameters such that the most sensitive parameters are used
first. The regression is performed on a small number of parameters at a time. The default is to
use a subset of 5 parameters, although this number can be modified. Once a parameter reaches
the maximum or minimum value allowed or does not contribute any longer to improving the
match, it is replaced by the next parameter that has not been used from the ordered list. Thus, a
large set of parameters can be specified, and WinProp will regress on a small number of
parameters at a time, working from the most sensitive parameters to the least sensitive parameters.
Regression 111
Example data sets for regression begin with the word regress. There are 16 template cases
that involve regression from regress-blackoil1.dat through regress-separator.dat. Please
refer to the introduction section for a brief description of each of these data files.
Note the forms named Regression Parameters and End Regression in the Forms column.
The calculation options between these two forms contain experimental data for regression. The
form Regression Parameters is inserted by selecting Regression| Start while the form End
Regression is included by selecting Regression|End. The experimental data are entered on the
appropriate tables or text boxes in each calculation option. A weight is associated with each data
item or group of data. The weights wi are used to assign a degree of importance to each data
point. The default value is 1.0. A larger value gives more importance to the data while a lesser
value gives less importance. The regression is performed by minimizing the objective function
where xi,calc and xi,meas correspond to the calculated value and measured value respectively.
To exclude any measured value from the regression, precede it with a negative sign ("-").
Please see the section on Convention for experimental data input.
All calculations before the form Regression Parameters use the parameter values before
regression. All calculations after the form End Regression form use the parameter values
after regression. For the calculation options that are included in the regression, the output and
plots contain both results before and after regression.
In the above example, the CMG GEM EOS Model option was used to print component
properties before and after the regression (see the section on GEM fluid model generation
and component properties printing).
Parameter Selection
Component properties for regression are selected on tab Component Properties of the
Regression Parameters form.
112 Regression
Select or unselect the component properties by clicking on the grid. Clicking the first time
selects the property. Clicking a second time unselects that property.
If temperature dependent volume shifts have been activated on the component form, then
volume shift will not be available as a regression parameter. Non-zero values of the aqueous
phase solubility parameters, reference Henrys constant and molar volume at infinite dilution,
must be set on the component form to enable these variables as regression parameters.
The mole fraction of the secondary stream used to define the feed for calculation options can
be selected as a regression variable be clicking the checkbox below the grid.
Interaction coefficients are selected as regression parameters on tab Interaction Coefficients.
The interaction coefficients between hydrocarbon components are calculated from the
equation described in section Interaction coefficients in the Chapter Components. The
HC-HC Int. Coef. Exponent is an important parameter for matching reservoir fluid saturation
pressure. The list of HC-HC groups, defined earlier via the Component
Selection/Properties form is shown in the list box under the frame with the caption
Hydrocarbon Groups. To select specific groups as regression parameters, first select the
option button labeled Select from list and then highlight entries from the list by holding
down the CTRL key and clicking with the left mouse button. The interaction coefficients
involving non-hydrocarbon components are selected by clicking on the grid.
Parameters specific to the viscosity correlations are selected on the tab Viscosity Parameters.
As discussed in the Components chapter, there are two types of viscosity correlations
available in WinProp: Jossi-Stiel-Thodos (JST) and Pedersen. When JST is being used, the
correlation coefficients and the component critical volumes for viscosity are available to be
selected as regression parameters. When the Pedersen correlation is active, only the correlation
coefficients appear as possible regression variables on this tab. Both correlations also depend
on the component critical pressures, critical temperatures and molecular weights. By leaving
these values fixed, however, and regressing only on the parameters appearing on the viscosity
parameters tab, the process of matching experimental viscosity data can be completely
decoupled from the process of tuning the EOS to PVT data.
User's Guide WinProp
Regression 113
Second set EOS parameters can be specified as regression variables in the same way as the first
set. The user can toggle between the component properties and interaction coefficient tables
belonging to the first and second set through the set selection menu. To activate second set
when the first set is active select SetSelection|Second Set. The second set regression variables
currently supported are the critical pressure, critical temperature, volume shift, omega A, omega
B, interaction coefficient exponent and the binary interaction coefficients for pairs with a nonhydrocarbon species. The user does not need to enable the second EOS set through the
Component Selection/Properties form to specify second set regression parameters. The
second set is activated automatically when a second set regression variable is selected. The
default variable bounds for a given property are the same regardless of which set the component
belongs to. The selection of bounds is discussed in more detail below. The grouping feature
discussed below can also be used for the second set parameters.
To activate grouping select Grouping|Start group selection and select the components to be
included in the group by clicking on the appropriate grid cells for a particular property such
as acentric factor. Instead of the X to indicate a selection, for a group member a group id
such gr #1 will be assigned. Once all the members are selected click on a different column or
select End group selection from the Grouping menu. To delete a group click on all the
individual cells defining the group or select Grouping|Delete group and then click on a cell
corresponding to any member of the group. To edit a group, erase the existing definition of
the group by deleting the group, and start again.
The Component Properties tab for a regression run specifying the critical pressures and volume
shifts for the last 4 components in the plus fraction as grouped variables is shown below:
Regression 115
To give experienced users the flexibility to restrict the variation of certain component
properties and allow larger changes in others, however, the default variable bounds can be
edited on this table. As mentioned above, changing the bound of a group member may lead
to the bound for the reference component of the group (first group component in the list) to
be adjusted automatically. The user can revert to the WinProp defaults for the bounds by
clicking on the Reset to Default Bounds button.
Maximum number of
iterations
Number of simultaneous
regression parameters
Under Grouping Controls an option is given to specify how the members of a group are
varied during regression. Selecting Vary group variables by equal increments specifies
that a change x will be applied to all group members as xnew = xold + x. Selecting Vary
group variables by equal ratios specifies that all group members will be multiplied by a
common factor as xnew = xold x F. The default method is to vary the group members by
equal increments.
116 Regression
The contents of the (.rls) file can be used to update the component properties in the current data
set by selecting File|Update component properties. Three forms: Titles/EOS/Units,
Component Specification/Properties and Composition forms are updated. The Regression
Parameters and End Regression forms can now be removed from the file, and prediction of
phase behavior using the tuned model can be performed. To keep a record of the work done
use File|Save as... to save this file with a different name, e.g. regress1.dat. Note that a number
of back to back regression runs can also be performed in this way with same data but using
different regression variables. A similar procedure applies to Plus Fraction Splitting and
Component Lumping in terms of updating component properties.
Regression 117
Compositional Grading
Overview
The compositional grading phenomenon refers to a variation in fluid composition with depth
in a reservoir. As depth increases the mole fraction of light components decreases, density
increases and GOR decreases. Near critical oils and volatile fluids exhibit the largest
compositional grading effects, while black oils have the least variation in properties with
depth. Compositional grading is reduced if the system is highly undersaturated.
Assessment of compositional grading is important in estimation of fluid in place,
initialization of reservoir simulators and consideration of production alternatives. For
example, when considering gas injection in a reservoir with compositional grading the
solvent composition required to achieve miscibility will vary with depth. There are two
model formulations available for performing the compositional gradient calculation: the
isothermal model or the thermal model.
The isothermal compositional gradient calculation solves the gravity/chemical equilibrium
problem. Given the composition and pressure at a reference depth, the composition and pressure
at any other specified depth can be determined. The saturation pressure at the specified depth is
also calculated. If there is transition from bubble point to dew point saturation conditions over
the calculation interval, the GOC depth will be estimated. This is done with a simple halving
algorithm to locate the depth at which the transition from bubble point to dew point occurs. This
ultimately requires saturation determination in the vicinity of the critical point, which can cause
failure of the saturation calculation. The GOC calculation continues until an interval of 0.1m is
reached or until the saturation calculation fails. For this reason, the accuracy to which the GOC
depth was determined is reported in the summary table. Formulation of the problem and the
required solution algorithms are given in Whitson and Belery [39].
The thermal model incorporates the effect of the geothermal temperature gradient on the
compositional gradient. Thermal diffusion effects as well as the variation of fluid properties
as a function of temperature can be included in the model. As for the isothermal model, the
location of the GOC will be estimated if it exists. When the temperature is not constant, the
system is not in equilibrium. The model solves for a stationary state, or zero mass flux
condition, as described in Hoier and Whitson (SPE 63085).
Please note that the equation of state must predict a single-phase system for the reference
composition at the reference pressure. If the system is unstable, the calculation cannot be
performed. If experimental data indicate that the initial condition should be stable, some
EOS tuning may be required before the compositional gradient calculation can be carried out.
With the default output level of 1, only the summary table is shown in the output (.out) file.
This gives the reservoir pressure, saturation pressure, density and two key mole fraction
values as a function of depth. With output level 2, for each depth the full phase property
table and the saturation calculation results are printed in addition to the summary table.
When the detailed output is requested it will be printed in the order the calculation is carried
out which is described below.
The calculation is carried out in the following order:
1. The first depth level above the reference depth is calculated, using the reference
conditions as the initial guess for the calculation.
2. Continuing for each depth level from the first calculation to the top of the interval,
each calculation is performed using the previous converged results as the initial
guess.
3. The first depth level below the reference depth is calculated, using the reference
conditions as the initial guess.
4. Continuing for each depth level from the calculation in step 3 to the bottom of the
interval, each calculation is performed using the converged results from the
previous calculation as the initial guess.
Data Input
Example data sets for the compositional grading calculation are given in compgrad-blackoil.dat
and compgrad-voloil.dat. For field units, temperature is entered in F, pressure in psia and
depth in feet. For SI units, temperature is entered in C, pressure in kPa and depth in meters.
For Feed, K-values, Output level and Stability test level specifications, see the Chapter
Common Data Required for all Options.
Specification of the primary calculation options is done on tab General. Enter the reservoir
temperature at the reference depth in the text box Reference Temperature. In the text box
Reference Pressure enter a value for the pressure corresponding to the reference depth entered
in text box Reference Depth.
Enter the depth to the top and bottom of the formation in text boxes Depth to Top and Depth to
Bottom respectively. The total height of the fluid column as defined by these depths is divided
by the number of calculation intervals specified in the text box No. of Calculation Intervals to
determine the evenly spaced points at which the calculation is performed. The default value is
ten. If the user desires the calculation to be performed at certain specific depths, these can be
entered in the table provided. Enter each depth in the column headed Depth Value.
The user can monitor the composition changes with depth for a given component or a range
of components. This information will be printed in the summary table in the output file.
When a range is selected the mole fractions of the specified components are summed and the
total reported. For the first component or range of components to be tracked select the lower
and upper limits through the combo boxes located next to the label Key Component 1. For
the second key component or range select the lower and upper limits through the combo
boxes located next to the label Key Component 2. The upper component must have a
component index greater than or equal to the index for the lower component.
120 Compositional Grading
The thermal model data is specified on tab Thermal. To activate the thermal model check
the box labelled Use Thermal Model. The temperature gradient imposed is constant and is
entered in the textbox labelled Temperature Gradient. Entering a positive value for the
thermal gradient implies increasing temperature with depth. The units are F/ft for field units
or C/m for SI and modified SI. Various models for calculating the thermal diffusion
coefficients can be selected. In addition, constant thermal diffusion coefficients terms for
each component can be entered in the table labelled Thermal Diffusion Coefficient Terms.
Note that values entered in this table are not the thermal diffusion coefficients usually defined
in the literature, but are the terms identified as Ft in Hoier and Whitson (SPE 63085). This
table can also be used to enter multiplying factors for each component which will multiply
the thermal diffusion coefficients calculated from the chosen model.
CMGs GEM compositional simulator allows input of tables of composition vs. depth for
initialization of the reservoir via the keyword *ZDEPTH. The results of the compositional
grading calculation can be written out with this keyword in the format expected by GEM.
The data will be written to a file with the same root name as the data file and the extension
(.gmz). This option is activated by selecting the check box labeled Write GEM *ZDEPTH
keyword with composition vs. depth data .
Overview
You can use this option of WinProp to generate the complete PVT data required by CMGs
steam and additives thermal simulator STARS. The data which may be generated includes:
1. Initial composition data
2. Liquid component densities, compressibility and thermal expansion coefficients,
plus nonlinear mixing function data for density
3. Liquid component viscosity tables or correlation coefficients, plus nonlinear
mixing function data for viscosity
4. Simple analytical correlation for component vapor-liquid K-values
5. Tabular gas-liquid K-values
6. Tabular liquid-liquid K-values
7. Tabular solid-liquid K-values
8. Gas-liquid and liquid-liquid K-values at surface conditions
Reference Conditions
Reference pressure and temperature corresponding to STARS keywords PRSR and TEMR are
entered here. Based on small deviation from reference condition, perturbation method is used to
obtain the compressibility and first/second thermal expansion coefficients required by the
STARS liquid density model. Pressure-temperature cross coefficient for liquid density is
obtained by density optimization method (see Density Optimization Range). The liquid density
in STARS is equivalent to that given by WinProp at the reference state.
maximum pressure limits and the number of pressure steps can be input at the users option.
A maximum of 40 steps for temperature or pressure may be specified.
Surface Conditions
Surface pressure and temperature corresponding to STARS keywords PSURF and TSURF
are entered here. The STARS default for these values is 101 kPa and 16.85 C. The surface
conditions are used for reporting well rates and accumulations in terms of standard densities.
Values can be entered in the Pressure and Temperature text boxes, and a button is provided
to reset the text boxes to the STARS default values.
either oleic or aqueous as the reference phase for each component (Tab: Henry Const. / Ref.
Phase). If these check boxes are not selected, K-values will be determined from the
correlations or tables. If K-value correlations are being used, the K-values at the surface
temperature will be calculated from the correlations. If K-value tables are being used, surface
K-values will be interpolated from the tables provided the surface conditions lie within the
pressure and temperature range of the tables. If the surface conditions lie outside the range of
the tables, the K-values corresponding to the pressure and temperature closest to the surface
conditions will be used, that is the tables will not be extrapolated.
Pressure Data
The pressure data consists of an initial pressure, pressure step, and number of pressure steps.
K-values are written out starting with the initial pressure, and continuing for the specified
number of pressure steps, incrementing the pressure by the specified pressure step for each
calculation. A maximum of 20 and a minimum of 2 pressure steps may be specified. The
maximum number of table entries (number of pressure steps multiplied by the number of
temperature steps) is 300.
126 STARS PVT Data Generation
Temperature Data
The temperature data consists of an initial temperature, temperature step, and number of
temperature steps. K-values are written out starting with the initial temperature, and
continuing for the specified number of temperature steps, incrementing the temperature by
the specified temperature step for each calculation. A maximum of 50 and a minimum of 2
temperature steps may be specified. The maximum number of table entries (number of
pressure steps multiplied by the number of temperature steps) is 300.
aqueous, it is defined as the oleic phase mole fraction of the component divided by the aqueous
phase mole fraction of the component. If the reference phase is oleic, it is defined as the
aqueous phase mole fraction of the component divided by the oleic phase mole fraction of the
component. Water is always defined as an aqueous component, thus the gas-liquid K-value is
defined as the gas phase mole fraction of water divided by the aqueous phase mole fraction of
water and the liquid-liquid K-value is defined as the oil phase mole fraction of water divided by
the aqueous phase mole fraction of water.
Generation of the gas-liquid and liquid-liquid K-value tables is done simultaneously using the
Oil-Gas-Water flash, which models the aqueous phase with Henrys Law and the vapor and
liquid phases with the equation of state. See the section on Flash Calculations for more
details. If a stable oil-gas-water system exists at a specified pressure and temperature, all of the
gas-liquid and liquid-liquid K-values are defined and may be calculated directly. If one or more
of the three phases does not exist, a two-phase negative flash using Henrys Law for one phase
is attempted. Following this flash, a split of the hydrocarbon phase is attempted using the
negative flash with the EOS for both phases. At the end of this process, K-values for all of the
phases which have been located are calculated, and the remaining K-values are extrapolated.
As described under Gas-Liquid K-Value Tables, the map entitled Comparison of WinProp
(W) and STARS K-value (S) phase split calculations is again generated. An additional
phase indicator (A) indicating the aqueous phase is used. Differences between the WinProp
and STARS K-value calculated results may exist for the reasons described in the section on
Gas-Liquid K-Value Tables, and also because the step-wise two-phase negative flash
procedure may give slightly different results than the simultaneous three-phase flash which is
used as the basis for the WinProp phase split results.
The only differences in input data as compared to the Gas-Liquid K-value Tables option are
that Hands rule is not available as a composition-dependent K-value option and an additional
water component option may be selected: Use WinProp calculated liquid-liquid K-values
for water. This allows generation of a table for calculating the amount of water in the liquid
hydrocarbon phase. The default is to not allow any partitioning of water into the oil phase.
Generation of the gas-liquid and solid-liquid K-value tables is done simultaneously using the
Asphaltene/Wax Modelling method described in the Flash Calculations section. As for
the Gas-Liquid and Solid-Liquid K-Value Tables, if a stable three-phase system exists at a
specified pressure and temperature, all of the gas-liquid and solid-liquid K-values are defined
and may be calculated directly. If one or more of the three phases does not exist, a two-phase
negative flash using the solid model for one phase is attempted. Following this flash, a split
of the hydrocarbon fluid phase is attempted using the negative flash with the EOS for both
phases. At the end of this process, K-values for all of the phases which have been located are
calculated, and the remaining K-values are extrapolated.
As described under Gas-Liquid K-Value Tables, the map entitled Comparison of WinProp
(W) and STARS K-value (S) phase split calculations is again generated. An additional
phase indicator (S) indicating the solid phase is used. Differences between the WinProp and
STARS K-value calculated results may exist for the reasons described in the section on GasLiquid K-Value Tables, and also because the step-wise two-phase negative flash procedure
may give slightly different results than the simultaneous three-phase flash which is used as
the basis for the WinProp phase split results.
The only differences in input data as compared to the Gas-Liquid K-value Tables option are
that Hands rule is not available as a composition-dependent K-value option and none of the
water component options are enabled.
Process Flow
Overview
This option can simulate processes which may not conform to any of the standard laboratory
options such as differential liberation or constant volume depletion. The user can use this
option to custom design a plant or surface separation scheme. Keep in mind that no pressure
drops are allowed between units and there are no heat losses between units. In addition, no
recycling is allowed in the system.
There are 6 different unit types to choose from. The table below summarizes the
characteristics of each unit type.
Unit type
Max. #
of inputs
Max. #
of outputs
Quantity determined
Saturation pressure
Saturation temperature
Equilibrium cell
10
Constant volume
equilibrium cell
10
Mixing cell
10
Splitting cell
10
*For
the constant volume equilibrium cell the flow rates and the compositions of the vapor
and liquid output streams are determined by the following procedure. The equilibrium
compositions and volumes of the vapor and liquid phases are determined by the flash
calculation. An amount of the vapor phase is purged so that the total volume of remaining
vapor and liquid equals to the volume of the feed stream. The purged amount of the vapor
phase is reported as the vapor phase flow rate. The remaining vapor and liquid phase in the
cell is combined and reported as the output liquid phase composition and flow rate.
For the process units, four pieces of information are required in addition to the destination of
the output streams: unit name, unit type, pressure and temperature. For the saturation
pressure cell, the entered value of the pressure will be used as the initial guess for the
saturation pressure. A good initial guess is required to ensure convergence. For the
saturation temperature cell, the entered temperature will be used as the initial guess for the
saturation temperature. Note that the user does not need to specify "output streams"
explicitly. An "output stream" is defined as an exit stream from a unit that is not an inlet
stream to another unit or to a product stream. These "output streams" are identified internally
by the program.
For input streams the required information is the unit name to which the stream is directed,
the composition, flow rate, pressure and temperature. An input stream is defined as meeting
two criteria simultaneously: (1) it is an inlet stream to a unit and (2) it is not an exit stream
from some other unit in the calculation.
Tab Input Streams is used to add, delete or edit input streams. To define a new stream click
on the Add button. The Stream name field will be filled with the string INSTR- followed
by a number reflecting the total number of streams defined. The Stream name field cannot
be edited by the user. The Composition field will show the default choice of PRIMARY.
By default the Primary mole fraction field will show the value of 1.0 and be disabled. The
primary composition entered on the most recently defined composition form is echoed on the
composition grid. The composition grid is disabled for edits by default. The following table
shows the ways in which the composition may be specified for an input stream and the
controls involved.
Type
Disabled
Disabled
Composition entered as
secondary feed under the last
composition form
Disabled
Disabled
Composition obtained by
mixing primary and secondary
feed compositions entered on
the last composition form
Enabled
Disabled
Disabled
Enabled
Enter the flow rate, pressure and temperature in fields labeled Flow rate, Pressure and
Temperature respectively. The flow rate can be specified on a molar or volumetric basis. The
default is molar rates. Use the menu labeled Flow Units to select Molar or Volumetric basis.
If SI units are being used then the molar rates should be kmol/time and volumetric rates in
m3/time whereas for Field units the molar rates are in lb-mole/time and volumetric rates are in
ft3/time. The final required piece of information is the name of the unit to which the input
stream is directed. Enter the name of the unit or select from one of the units already defined
through the drop down combo box labeled Input to. If the name of the unit is entered then this
unit will be automatically created as a splitting unit. The user can set the properties of this unit
subsequently by locating the appropriate record on tab 2, Process Units.
To move between the defined input stream records click on the VCR type navigation arrows
on the data control labeled Input Stream on the left bottom corner of the tab. The fields for
a particular record can be edited by first loading the record via the data control and then
entering new values on the corresponding text boxes such as flow rate etc. The changes will
be saved by moving to a new record or by clicking on the OK button To delete an existing
input stream use the data control to locate the record and then click on the Delete button. To
save changes made on the tabs on the form press the OK button. The Cancel button will
close the form without saving any of the changes.
Tab Process Units is for managing process units. To delete an existing unit use the VCR type
navigation keys on the data control labeled Units to locate the desired unit and then click on the
Delete button. Any Input to field of input streams referencing the deleted unit will be cleared
to the null string. If the deleted unit was cited as the destination of one or more output streams
from other unit(s) then those destination fields will be cleared to the empty string as well. To
add a unit click on the Add button. This will result in a new record with the default name of
UNIT- followed by a number representing the total number of units defined to that point. The
unit type selected will be a SPLITTER by default. The Pressure and Temperature fields as
well as destination fields will be left blank to be filled by the user. The user has one
opportunity to edit the name field. Once the unit name text box is highlighted and then the
focus lost the unit name cannot be edited. Alternatively, by moving to another record the unit
name field cannot be edited subsequently. To enter the destinations of the output streams click
on the button labelled Destinations. This will open an appropriate dialog box depending on
the unit type. For a splitting unit, for example, there can be a maximum of 10 output streams.
The user is required to enter the destination of each of these streams and the fraction of the total
flow assigned to each stream. If the user enters a new unit name in the destination combo box
then that unit is created automatically by the program.
Tab Product Streams is for specifying the reporting conditions for predefined product
streams such as OIL and GAS. There are 3 other predefined product streams in addition to
OIL and GAS; these are named PR-STR3, PR-STR4 and PR-STR5. The user can reference
any or all of these product streams in specifying the destination of an output stream from a
particular unit. When a product stream is chosen as a destination, the corresponding record
will be written to the data file. The block of keywords will be something like this:
*STREAM
'OIL'
*PRESSURE
20.0
*TEMPERATURE
50.0
The user cannot delete or add a product stream record. The reporting conditions can be
specified individually for a given product stream. Locate the appropriate product stream
using the navigation arrows on the data control labeled Product Streams and edit the
pressure or temperature values appearing in the respective text boxes.
Overview
This option can be used to generate the PVT data for simulation studies with CMGs blackoil simulator IMEX as well as other commercially available black-oil simulators. In the latter
case, some of these simulators implement the Extended Black-Oil Formulation. In addition
to the standard black-oil parameters an additional parameter, the condensate gas ratio, often
denoted as Rv is added to account for oil component vaporization in the gas phase at reservoir
conditions. WinProp can generate PVT data for the extended black-oil model. Unlike
models for CMGs own simulator IMEX the data is presented in a generic format. The
keywords do not exactly correspond to a specific simulator.
The calculations should be done once an EOS model is obtained for the oil, generally through
characterization of the heavy end followed by regression to match the available data. The
PVT data is written out to a file with the root name corresponding to the input-data-file and
with the extension (.imx). For example if the input file name is test.dat, the PVT data file
will be test.imx. If the PVT data is designed for IMEX then it may be referenced as an
include file in an IMEX data set or opened with ModelBuilder. If the PVT data is targeted at
some other simulator then the information in the .imx file may require editing prior to use in
the specific simulator of choice.
A total of thirteen different fluid component models may be specified with IMEX. At
present, WinProp can be used to generate six of those models, namely Black-Oil, Pseudomiscible with chase gas, Pseudo-miscible without chase gas, Gas-Water, Gas-Water with
Condensate and Volatile Oil. Please refer to the IMEX user guide for more information on
these fluid models.
For PVT data aimed at one of IMEXs models, the following information is written out to the
output file:
1. The *PVT *BG|*EG|*ZG 1 keyword and associated table (1 is always written out
for the table number) are written for the oil models. The columns of this table are
pressure, gas-oil ratio, oil formation volume factor, gas formation volume factor |
gas expansion factor | gas Z-factor, oil viscosity and gas viscosity. For the pseudomiscible option with chase gas, the solution gas always remains in solution. The
solution gas-oil ratio is fixed and input through a field on the Solvent tab (writes
out keyword *GORINT). The bubble point pressure versus solution gas-oil ratio
curve in the table belongs to the chase gas. This is NOT taken into account when
values are written to the PVT table. The total amount of solution gas is the value
given by *GORINT and the dissolved chase gas given by the Rs vs. bubble point
pressure curve.
For the Gas-Water model, a *PVTG *BG|*EG|*ZG table is written. The columns
of this table are pressure, gas formation volume factor | gas expansion factor | gas
Z-factor and gas viscosity.
For the Gas-Water with Condensate table, the *PVTCOND *BG|*EG|*ZG table is
written with columns: pressure, gas-oil ratio, condensate-gas ratio, oil formation
volume factor, gas formation volume factor | gas expansion factor | gas Z-factor, oil
viscosity and gas viscosity. For this option, a series of *BGUST|*EGUST|*ZGUST
and *VGUST tables are also written, giving the formation volume factor and
viscosity of the gas at saturation pressures lower than the corresponding mixture
pressures given in the *PVTCOND table. BOT tables are not generated for this
option, as the oil is assumed to be saturated at all times.
For the Volatile Oil option, either the PVTCOND or PVTVO table can be written.
Using the PVTCOND table with associated *BGUST|*EGUST|*ZGUST and
VGUST tables allows non-linear behavior of undersaturated gas to be modeled.
Using PVTVO allows a simpler linear treatment of undersaturated gas properties
by specifying only saturated gas and dry gas formation volume factors and
viscosities. The *PVTCOND table specification is the same as for the Gas-Water
with Condensate model, including use of *BGUST|*EGUST|*ZGUST and VGUST
tables. The *PVTVO *BG|*EG|*ZG table is written with columns: pressure, gasoil ratio, condensate-gas ratio, oil formation volume factor, gas formation volume
factor | gas expansion factor | gas Z-factor, oil viscosity, gas viscosity, dry gas
formation volume factor | dry gas expansion factor | dry gas Z-factor and dry gas
viscosity. *BOT tables are allowed with either table type for the volatile oil option.
The units for these properties are indicated in the output file and are the same as in
IMEX. Field, SI and modified SI units are supported.
2. Water phase properties are optional. The keywords written out are *REFPW,
*BWI, *CW, *VWI, *CVW and *DENSITY *WATER.
3. Gas phase density at surface conditions, *DENSITY *GAS or *GRAVITY *GAS.
4. Oil phase density at surface conditions, *DENSITY *OIL. Pressure dependence of
oil viscosity, *CVO. Oil compressibility at the original oil bubble point pressure
*CO, or *BOT tables for the undersaturated oil may be output. Not required for
the gas water option.
5. For the pseudo-miscible fluid models a *PVTS *BS table. The entries of the table
are pressure, solvent water ratio, solvent expansion factor, solvent viscosity and
mixing parameter between solvent and oil. The solvent density is written out with
the keywords *DENSITY *SOLVENT. The mixing parameter between solvent
and gas is written out with the *OMEGASG keyword. If the pseudo-miscible
model with chase gas is chosen then the initial solution gas-oil ratio is written with
keyword *GORINT.
To generate the PVT data for the IMEX black-oil model the following information is required:
1. Composition of oil and, if the swelling curve is to be generated, the gas
composition. These are entered on the Composition form. Oil is entered as the
primary fluid and gas is the secondary fluid. Note: For gas water option enter the
gas composition as the primary fluid on the composition form.
2. The reservoir temperature and a guess for the saturation pressure of the original oil.
These are entered on tab 2 of the Black-Oil PVT Data form. For gas water option
only the reservoir temperature is required.
3. At least one pressure step for the differential liberation experiment on the grid with
the label No. of pressure levels on tab 3, Pres. levels. For gas water option, these
are pressures at which properties gas formation volume factor and gas viscosity are
to be calculated. The differential liberation experiment is not performed for the gas
water option.
4. The number of separators excluding the stock tank and the operating conditions on
tab 3. A maximum of 8 separators may be specified. For gas water case only the
standard (stock tank) conditions are required.
5. If the swelling curve is to be generated then the composition of the injection gas is
entered on the Composition form as the secondary fluid. If the solution gas is to be
used for swellling calculation, then select the appropriate option button on Tab 5, Gas
Properties under the frame labelled injection gas composition for swelling test. On
the grid labeled No. of swelling experiments on tab Pres. levels enter the mole
fraction of the gas, initial guess for the saturation pressure of the oil/gas mixture and
the saturation pressure flag. For gas water option these data are not required.
6. Water phase properties may be input by the user directly on tab 4 or alternatively
estimated from built in correlations. This data is optional.
7. For the pseudo-miscible options the solvent composition can be the secondary fluid
on the Composition form or values entered on tab Solvent properties. The oil
solvent mixing ratio as a function of pressure is entered on the grid provided on this
tab. These values are echoed as column 5 of the *PVTS table. The remaining
entries of this table, that is the solvent water ratio, the solvent expansion factor and
solvent viscosity will be calculated by the program. Note: add the water component
from the library for the solvent solubility in the aqueous phase calculations. Enter a
composition of zero for the water component. The fields for entering the solvent gas
mixing parameter and the minimum solvent saturation are on tab Solvent properties.
If the pseudo-miscible with chase gas option is selected then the initial solution gasoil ratio text box on this tab is enabled and a value is required.
8. For the Gas-Water with Condensate option, the method for calculating oil phase
properties (Bo and GOR) must be selected on the Oil properties tab. Oil phase
properties can be obtained by flashing a sample of the oil phase at each depletion
pressure through the user defined separators (Method of Whitson and Torp) or
alternatively from material balance equations (Method of Coats).
For PVT data aimed at an extended black-oil model, the following information is written out
to the output file:
1. The *PVTO keyword and associated table. Typical output is shown below.
*PVTO
** solution
pressure,
oil
oil
** GOR(2)
psia
FVF(1) vis,cp
** -----------------------------------------0.2606
515.00
1.2279
0.16615
1115.00
1.2158
0.17475
1915.00
1.1996
0.18621
2715.00
1.1834
0.19768
3515.00
1.1673
0.20914
5000.00
1.1372
0.23043
6034.82
1.1163
0.24526
6500.00
1.1069
0.25192
0.5045
1115.00
1.3730
0.14572
1915.00
1.3503
0.15714
2715.00
1.3275
0.16856
3515.00
1.3048
0.17998
5000.00
1.2626
0.20118
6034.82
1.2332
0.21595
6500.00
1.2199
0.22259
0.8261
1915.00
1.5462
0.12408
2715.00
1.5150
0.13452
3515.00
1.4839
0.14497
5000.00
1.4262
0.16436
6034.82
1.3859
0.17787
6500.00
1.3678
0.18394
1.1532
2715.00
1.7100
0.10950
3515.00
1.6720
0.11872
5000.00
1.6015
0.13582
6034.82
1.5523
0.14774
6500.00
1.5302
0.15310
1.4574
3515.00
1.8505
0.10135
5000.00
1.7735
0.11634
6034.82
1.7198
0.12679
6500.00
1.6956
0.13149
1.6255
5000.00
1.8713
0.10344
6034.82
1.8290
0.11189
6500.00
1.8100
0.11568
1.7044
6034.82
1.8751
0.10689
6500.00
1.8590
0.11031
1.7399
6500.00
1.8768
0.10845
Saturated
Saturated
Saturated
Saturated
Saturated
Saturated
Saturated
Saturated
The columns of this table are the gas-oil ratio (GOR), pressure, oil formation
volume factor, and oil viscosity. For each GOR value the first row shows the
saturated fluid values. For a GOR of 0.186 mscf/stb for example, the saturation
pressure is 515 psia, the formation volume factor equals 1.1689 and the viscosity is
0.16615 cP. Second and subsequent rows of data for a given GOR define the
undersaturated curves for the oil formation volume factor and viscosity as a
function of pressure as specified in column 2.
1. PVTG (gas phase properties) and associated table. Typical format is shown below:
*PVTG
** pressure,
solution,
gas
gas
**
psia
CGR(4)
FVF(3)
vis,cp
** -----------------------------------------515.00
0.000597
5.73365
0.01262
0.000000
5.73597
0.01263
1115.00
0.001038
2.37473
0.01441
0.000597
2.37631
0.01441
0.000000
2.37845
0.01440
1915.00
0.005019
1.27344
0.01926
0.001038
1.28264
0.01905
0.000597
1.28366
0.01903
0.000000
1.28504
0.01900
2715.00
0.020711
0.90464
0.02658
0.005019
0.92026
0.02516
0.001038
0.92444
0.02481
0.000597
0.92491
0.02477
0.000000
0.92555
0.02472
3515.00
0.057092
0.75257
0.03598
0.020711
0.75975
0.03208
0.005019
0.76457
0.03045
0.001038
0.76597
0.03004
0.000597
0.76613
0.02999
0.000000
0.76634
0.02993
5000.00
0.186452
0.69119
0.06067
0.057092
0.64409
0.04474
0.020711
0.63417
0.04032
0.005019
0.63060
0.03844
0.001038
0.62977
0.03797
0.000597
0.62968
0.03792
0.000000
0.62956
0.03785
6034.82
0.265054
0.69762
0.07772
0.186452
0.66087
0.06746
0.057092
0.60205
0.05014
0.020711
0.58698
0.04532
0.005019
0.58085
0.04326
0.001038
0.57933
0.04274
0.000597
0.57916
0.04268
0.000000
0.57894
0.04261
6500.00
0.300389
0.70479
0.08562
0.265054
0.68800
0.08103
0.186452
0.64996
0.07045
0.057092
0.58755
0.05249
0.020711
0.57093
0.04747
0.005019
0.56402
0.04533
0.001038
0.56230
0.04479
0.000597
0.56210
0.04473
0.000000
0.56185
0.04464
Saturated
Dry gas
Saturated
Under saturated
Dry gas
Saturated
Under saturated
Under saturated
Dry gas
Saturated
Under saturated
Under saturated
Under saturated
Dry gas
Saturated
Under saturated
Under saturated
Under saturated
Under saturated
Dry gas
Saturated
Under saturated
Under saturated
Under saturated
Under saturated
Under saturated
Dry gas
Saturated
Under saturated
Under saturated
Under saturated
Under saturated
Under saturated
Under saturated
Dry gas
Saturated
Under saturated
Under saturated
Under saturated
Under saturated
Under saturated
Under saturated
Under saturated
Dry gas
gas
gas
gas
gas
gas
gas
gas
gas
gas
gas
gas
gas
gas
gas
gas
gas
gas
gas
gas
gas
gas
gas
gas
gas
gas
gas
gas
gas
2. The columns of this table are the pressure, the condensate gas ratio, the gas
formation volume factor and viscosity respectively. The first row corresponds to
saturated values. Subsequent rows show the properties of the mixture of saturated
gas and dry gas. These combinations are done such that the mixtures correspond to
condensate gas ratios that are specified at lower pressures. For example at a
pressure of 1800 psia there is one row for undersatured gas with a CGR of 0.00104
stb/mscf which is the CGR ratio at the previous pressure value of 1100 psia.
3. The stock tank densities of the oil, gas and water phase as well as the water phase
properties.
To generate the PVT data for the extended black-oil model the following information is required:
1. Composition of oil and, if the swelling curve is to be generated, the gas composition.
These are entered on the Composition form. Oil is entered as the primary fluid and
gas is the secondary fluid. The injection gas composition can alternatively be chosen
to be the solution gas. The selection is made on Tab 5 Gas Properties.
2. Selection of the PVT Experiment. For black-oils, differential liberation
corresponds the best to the depletion process occurring in the reservoir. For light
oils differential liberation or constant volume depletion may be chosen. For gas
condensates the constant volume depletion experiment is appropriate. The PVT
experiment provides samples of the gas and oil phase which are then flashed
through the user defined separators to obtain the oil and gas properties. This
choice is made on Tab 1 of the Write BLACK-OIL PVT data form.
3. Selection of the method for calculating oil phase properties. Oil phase properties can
be obtained by flashing a sample of the oil phase at each depletion pressure through the
user defined separators (Method of Whitson and Torp) or alternatively from material
balance equations (Method of Coats). This choice is made on Tab 1 of the form.
4. Option for calculating oil phase properties above the original saturation pressure. If
values for the oil and gas properties are required for pressures greater than the
original saturation pressure than a choice of three techniques is available. Option 1
is to simulate a swelling test to extend the curves. This requires the injection gas
composition. This method generally works well for black-oils. Option 2 is to
extrapolate the curves while honoring certain relationships between the parameters.
For black-oils (but generally not for light oils and condensates) there is a linear
relationship between oil phase formation volume and GOR. There is also a linear
relationship between oil density and viscosity. Option 3 is to simply extrapolate the
curves individually without assuming any specific relationship between the
parameters. Option 3 appears to be the only viable option for light oils and gas
condensates.
5. The reservoir temperature and a guess for the saturation pressure of the original oil.
These are entered on tab 2 of the Black-Oil PVT Data form.
6. At least one pressure step for the differential liberation experiment or constant
volume depletion experiment on the grid with the label No. of pressure levels on
tab Pres. levels.
7. The number of separators excluding the stock tank and the operating conditions on
tab 3. A maximum of 8 separators may be specified.
8. If the swelling curve is to be generated then the composition of the injection or
solution gas is entered on the Composition form. On the grid labeled No. of swelling
experiments on tab Pres. levels enter the mole fraction of the gas, initial guess for the
saturation pressure of the oil/gas mixture and the saturation pressure flag.
9. Water phase properties may be input by the user directly on tab 4 or alternatively
estimated from built in correlations.
PVT data can also be generated for a commercial black oil simulator, not IMEX. This format
is referred to as format 2, with format 1 corresponding to IMEX. There are four models in
this case. Model 1 writes out differential liberation and separator calculation results
separately, that is differential liberation data is not adjusted for surface (separator) conditions.
Model 2 writes out the corrected differential liberation data. Model 3 is for simulating an
oil water system. The differential liberation data is not corrected for surface conditions for
model 3. Model 4 corresponds to a gas water system. PVT data for a black oil simulator
written in format 2, the following information is written out to the output file:
1. The *BOTAB 1 keyword and associated table (1 is always written out for the table
number) for models 1-3, including oil water and BGTAB 1 for gas water option.
For models 1 and 2, this is followed DOS WTOS and PSAT keywords and the
corresponding values. DOS is the density of saturated oil at reservoir temperature
and the original oil saturation pressure in units of gm/cc. WTOS is the molecular
weight of the oil in gm/gmol and PSAT is the saturation pressure of the original oil
in psia or kPa units. For the oil water option, model 3, the BOTAB keyword is
followed by DOB WTRO and GR keywords and the corresponding values in a
new line. The values are the density of the residual oil from differential liberation
experiment in gm/cc, molecular weight of the residual oil in gm/gmol and gas
gravity of the solution gas. For the gas water option, model 4, the BGTAB
keyword is followed by the GR keyword and a value for the gas gravity. Typical
results for model 1 are shown below:
BOTAB 1
C** VALUES IN TABLE DIFLIB RESULTS, NOT CORRECTED FOR
C** SURFACE CONDITIONS
DOS
WTOS
PSAT
0.5897
99.48
2179.86
2. The columns of the BOTAB table for models 1 and 2, are the saturation pressure,
gas-oil ratio, oil formation volume factor, gas formation volume factor, gas gravity,
oil viscosity and gas viscosity. The table is arranged with highest pressure first and
the lowest pressure last in monotonic order. The units for these properties are
indicated in the output file. For model 1 where the entries in the BOTAB table are
not adjusted for surface conditions, the values shown correspond to those calculated
by the differential liberation test. For model 2 the values in the table have been
corrected for surface conditions. For model 3, Oil Water option, the values in the
BOTAB have not been adjusted for surface conditions. Since gas properties are not
required the columns of the oil water table are saturation pressure, gas oil ratio, oil
formation volume factor and oil viscosity. The columns of the BGTAB table are the
pressure, gas formation volume factor and gas viscosity. Typical results for model 1
are shown below:
User's Guide WinProp
3. For models 1-3 the undersaturated oil formation volume factors and oil viscosities
curves as a function of pressure for each saturation pressure. These are defined by
a table with columns corresponding to saturation pressures as shown on the
BOTAB table and rows corresponding to pressure elevation above the saturation
pressure i.e. dp = p-psat. For each pressure a value for the formation volume factor
and a value for the oil viscosity divided by the corresponding values at saturation
pressure is shown. Typical results are shown below:
PSAT 3970.15 3726.70 2872.26 2179.86
1350.00 1100.00 850.00 600.00
2100.00
1850.00
1600.00
DP BOFAC VOFAC BOFAC VOFAC BOFAC VOFAC BOFAC VOFAC BOFAC VOFAC
BOFAC VOFAC BOFAC VOFAC BOFAC VOFAC BOFAC VOFAC BOFAC VOFAC
BOFAC VOFAC
243.44 0.9921 1.02010 0.9925 1.02042 0.9937 1.02213 0.9945
1.02421 0.9946 1.02449 0.9949 1.02541 0.9952 1.02642 0.9954
1.03114 0.9957 1.03619 0.9960 1.03787 0.9963 1.03973
1097.89
1.10918
1.14044
0.9645
0.9757
0.9807
1.09065
1.11044
1.16320
0.9662
0.9770
0.9819
1.09209
1.11461
1.17077
0.9714
0.9782
0.9831
1.09979
1.11914
1.17917
0.9753
0.9794
1790.29
1.17804
1.22902
0.9422
0.9604
0.9685
1.14781
1.18009
1.26613
0.9448
0.9624
0.9704
1.15017
1.18688
1.27847
0.9534
0.9645
0.9725
1.16273
1.19428
1.29216
0.9597
0.9665
1870.15
1.18598
1.23923
0.9396
0.9586
0.9670
1.15441
1.18812
1.27800
0.9424
0.9608
0.9691
1.15686
1.19522
1.29089
0.9513
0.9629
0.9713
1.16999
1.20294
1.30519
0.9579
0.9650
2120.15
1.21084
1.27121
0.9315
0.9531
0.9626
1.17505
1.21327
1.31517
0.9347
0.9555
0.9650
1.17783
1.22132
1.32978
0.9448
0.9579
0.9674
1.19271
1.23007
1.34599
0.9523
0.9603
2370.15
1.23571
1.30319
0.9234
0.9475
0.9582
1.19569
1.23842
1.35233
0.9270
0.9503
0.9609
1.19880
1.24741
1.36866
0.9383
0.9530
0.9636
1.21543
1.25720
1.38679
0.9467
0.9556
2620.15
1.26057
1.33518
0.9154
0.9420
0.9538
1.21633
1.26356
1.38949
0.9193
0.9450
0.9568
1.21977
1.27351
1.40755
0.9318
0.9480
0.9598
1.23816
1.28433
1.42759
0.9410
0.9509
2870.15
1.28543
1.36716
0.9073
0.9365
0.9494
1.23697
1.28871
1.42666
0.9116
0.9398
0.9526
1.24074
1.29961
1.44643
0.9253
0.9430
0.9559
1.26088
1.31146
1.46838
0.9354
0.9462
3120.15
1.31029
1.39914
0.8992
0.9309
0.9450
1.25761
1.31386
1.46382
0.9039
0.9345
0.9485
1.26171
1.32570
1.48532
0.9188
0.9381
0.9521
1.28360
1.33859
1.50918
0.9298
0.9416
0.8911
0.9254
0.9406
1.27825
1.33901
1.50098
0.8962
0.9293
0.9444
1.28268
1.35180
1.52421
0.9123
0.9331
0.9483
1.30633
1.36572
1.54998
0.9242
0.9369
1.33515
1.43112
4. For options 1 and 3 the oil properties of the original oil as calculated by flashing
through the user defined separator battery. Typical output is shown below:
C** SEPARATOR TEST DATA
SEPTEST 1
PVTTABLE 1
PSATF
BOF
2179.86 1.3447
P
T
GOR
300.00
75.00
0.42
200.00
75.00
0.03
100.00
75.00
0.04
14.70
60.00
0.08
BOSTG
1.0788
1.0654
1.0484
1.0000
GR
0.7100
0.7588
0.8849
1.3454
To generate the PVT data for the black-oil model, format 2, the following information is
required:
1. Composition of oil and, if the swelling curve is to be generated, the gas
composition. These are entered on the Composition form. Oil is entered as the
primary fluid and gas is the secondary fluid. Alternatively the user can choose to
use the solution gas at the original oil saturation pressure as the injection gas. This
option can be selected from tab 5, Gas Properties under the frame injection gas
composition for swelling test. For gas water option enter the gas composition as
the primary fluid on the composition form.
2. The reservoir temperature and a guess for the saturation pressure of the original oil.
These are entered on tab 2 of the Black-Oil PVT Data form. For gas water option
only the reservoir temperature is required.
3. At least one pressure step for the differential liberation experiment on the grid with
the label No. of pressure levels on tab Pres. levels.
4. The number of separators excluding the stock tank and the operating conditions on
tab 3. A maximum of 8 separators may be specified.
5. If the swelling curve is to be generated then the composition of the injection or
solution gas is entered on the Composition form. On the grid labeled No. of swelling
experiments on tab Pres. levels enter the mole fraction of the gas, initial guess for the
saturation pressure of the oil/gas mixture and the saturation pressure flag. For gas
water option these data are not required.
User's Guide WinProp
6. Water phase properties may be input by the user directly on tab 4 or alternatively
estimated from built in correlations.
Laboratory Procedure
This procedure is generally performed to obtain PVT data for black-oil simulation. The
sample of reservoir liquid in the laboratory cell is brought to the bubble-point pressure, and
the temperature is set to the reservoir temperature. Pressure is reduced by increasing the cell
volume. All the gas is expelled from the cell while pressure is held constant by reducing the
cell volume. The gas is collected and its composition and volume are measured at the
experiment conditions as well as standard conditions. This enables the formation volume
factor of gas (Bg) to be calculated. The gas viscosity is also measured. A sample of the oil
phase is removed at each pressure and its viscosity is measured. The oil sample is then
flashed through the separators to obtain the formation volume factor and gas-oil ratio. The
process is repeated in steps until atmospheric pressure is reached. For the light oil model the
gas sample at each step is also put through the separators to obtain the gas shrinkage as well
as condensate production at the surface.
To obtain data corresponding to the swelling curve the procedure for the swelling experiment
is followed to obtain the saturation pressure. The reservoir oil is loaded in a cell, and the
temperature is set at the reservoir temperature. The bubble point of the oil is measured. A
small amount of injection gas is transferred into the cell. A new saturation pressure is
determined. This process is repeated until the upper bound of injection-gas concentration is
reached (e.g. 60 mol %) or the saturation pressure of the fluid is equal to the estimated
injection pressure. Each oil/gas mixture is then flashed through the separators to get the oil
formation volume factor and GOR. In addition the properties of the equilibrium gas is
measured and reported (gas formation volume factor, viscosity).
Input Data
This option is invoked by selecting Simulator PVT|Black-Oil PVT Data or by clicking on
the options toolbar button BLK PVT. The template files imex-blackoil.dat,
imex_condensate.dat and imex_voloil.dat show the data entry for all of the supported fluid
models for IMEX. Normally only a single Black-Oil PVT Data form should be included in
a data set. There are also two additional template cases, extended_blackoil.dat illustrating
generation of PVT data for an extended black oil model and format2_blackoil.dat for black
oil model with the results written out in format type 2. On tab Model select either CMG
IMEX PVT Models, Extended Black-Oil PVT models or Black Oil PVT Model (format
II). If IMEX PVT model is chosen then select further one the six available fluid models, for
Black Oil PVT Model (format II), choose one of the four available models. Then enter data
on Tabs Sat. Pressure, Pres. Levels, Water properties (optional), Oil properties and Gas
properties. The Solvent properties tab is also enabled for data entry if one of the pseudomiscible fluid models of IMEX is selected. For Extended Black-Oil PVT models select the
Experiment Type and the method of calculating oil properties, one of either WhitsonTorp or Coats. Selection of Whitson-Torp implies oil phase properties are calculated by
flashing a sample of the oil phase at each pressure step of the differential liberation, constant
volume depletion or swelling test simulation. By selecting Coats, oil phase properties are
calculated by material balance principles where possible, that is, for pressures less than the
144 Black-Oil PVT Data Generation
original oil saturation pressure. If data for pressures greater than original oil saturation
pressure is required then select the method for generating this data. There are three choices
here: Swelling experiment, Extrapolation assuming relationship between parameters and
straight extrapolation of each individual property.
For a description of the data on Tab Sat. Pressure, please refer to the section entitled
Saturation Pressure.
On Tab Pres. Levels, enter the pressure levels for the differential liberation calculation
underneath the label No. of pressure levels. These pressures should all be less than the
saturation pressure if the swelling option is being used to generate data for pressures greater
than the original oil saturation pressure. If the extrapolation option is being used enter all
pressures in the differential liberation table including pressures greater than the original oil
saturation pressure. Enter values starting from the highest pressure value to the lowest
pressure value. As values are entered the caption No. of pressure levels will be updated
accordingly. Rows can be added or deleted from this table by invoking the Table item on the
menu. At least one value is required.
The pressure and temperature for the separator stages can be defined in the frame labeled
Separator conditions. A maximum of eight separator stages excluding the stock tank is
allowed. The stock tank pressure is entered in the text box labeled Stock tank pressure and
the stock tank temperature in the text box labeled Stock tank temperature. The stock tank
stage is always included in the calculation whereas the inclusion of other separators is
optional. The separator pressure and temperature are entered directly on the table. Please
enter values starting from the highest pressure to the lowest pressure on the table. If there is
only one separator then the pressure and temperature for this separator should be entered on
row 1. For two separators use the first two rows.
If the swelling curve is to be generated then enter the mole fraction of the gas in column 2 of
the table labeled No. of swelling experiments. On column 3 enter the initial guess for the
saturation pressure of this mixture and column 4 enter the saturation pressure flag. Valid
entries here are either 2 or 2. A value of 2 indicates that the initial guess for saturation
pressure will be improved via stability analysis, while a value of 2 indicates that the initial
guess entered on the table will be used directly.
The tab Pressure levels corresponding to imex-blackoil.dat is shown below:
On Tab Water properties enter the properties of the water phase. These may be input
directly by the user or calculated from internal correlations by the program. To calculate
from correlations enter data for salinity, water bubble point and the reference pressure, then
click the Apply:... button at the bottom of the form. Alternatively, data can be entered
directly in the required fields reference pressure, formation volume factor of the water,
compressibility, viscosity at the reference pressure, pressure dependence of viscosity and
water phase density.
On Tab Oil properties, the user can enter values of certain oil properties directly instead of
accepting the values calculated internally by WinProp. To enter oil density (or alternatively
oil gravity) directly, select that option from the group of buttons under the Oil density / API
gravity frame and enter the value in the text box provided. To enter the oil viscosity pressure
dependence directly select Input oil viscosity pressure dependence and enter a value for
this property in the text box. For the undersaturated oil compressibility three options are
available. The default is to create a table of undersaturated compressibility as a function of
saturation pressure. Alternatively if only the compressibility of oil corresponding to the
original oil composition at the saturation pressure is desired then select Calculate
undersaturated oil compr. at the oil B.P pres. To enter the oil compressibility of the
original oil at saturation pressure select Input undersaturated oil compr. at the oil B.P
pres. and enter an appropriate value in the text box provided.
On Tab Gas Properties, various options for writing out the gas phase density or specific
gravity are provided. The user can either accept the WinProp generated value or enter the
appropriate value directly.
If one of the two pseudo-miscible models is selected than additional data is required on Tab
Solvent properties. This includes the solvent composition, gas-oil mixing ratio as a function
of pressure, the solvent gas mixing ratio, the minimum solvent saturation and for the pseudomiscible fluid model with chase gas the initial gas-oil ratio.
Extended black-oil model: Coats Material Balance equations
In the Coats method, only the reservoir vapor is taken through the separators. The oil phase
properties formation volume factor (Bo) and gas-oil ratio (Rs), are obtained from material
balance equations at each expansion step of the CVD or differential liberation experiment
from V1 to V2. These equations are:
(
)2 = sto V1 (b gSg + b o R sSo )1
stg V2 (b g R v S g + b oS o ) = stg V1 (b g R v S g + b oS o )
2
1
sto V2 b g S g + b o R sS o
Where sto and stg are fixed surface densities and bo = 1/Bo, bg = 1/Bg. The stock tank
densities are obtained from the output of the separators at saturation pressure. The values at
the saturation pressure are obtained by the Whitson-Torp method.
Compressibility test
Oil and gas properties calculated for IMEX or for the extended black-oil simulator are
checked to ensure that the total compressibility is greater than zero. This requires that the oil
and gas compressibilities (Co and Cg) respectively as defined by the following equations are
greater than zero:
C0 =
1 dB o dR s B g R v Bo
+
B0 dp
dp (1 R s R v )
Cg =
1 dB g dR v B0 R s B g
+
Bg dp
dp (1 R s R v )
References
List
1. Ahmed, T.: Hydrocarbon Phase Behavior, Gulf Publishing Company, Houston,
1989.
2. Agarwal, R.K., Li, Y.-K., and Nghiem, L.: "A Regression Technique With
Dynamic Parameter Selection for Phase-Behavior Matching", SPE Reservoir
Engineering, February 1990, pp. 115-120.
3. Danesh, Ali: Developments in Petroleum Science 47, PVT and Phase Behaviour
of Petroleum Reservoir Fluids, Elsevier, 1998.
4. Dranchuk, P.M., Purvis R.A., and Robinson D.B.: "Computer Calculations of
Natural Gas Compressibility Using the Standing and Katz Correlation", Institute of
Petroleum Technical Series, No IP 74-008, 1974.
5. Firoozabadi, A., Katz, D.L., Soroosh, H., and Sajjadian, V.A.: "Surface Tension of
Reservoir Crude-Oil-Gas Systems Recognizing the Asphalt in the Heavy
Fraction", SPE Reservoir Engineering, February 1988, pp. 265-272.
6. Grabowski, M.S., and Daubert, T.W.: "A Modified Soave Equation of State for
Phase Equilibrium Calculations", I. & E.C. Process Design and Development, Vol.
17, No. 4, 1978, pp. 443-454.
7. Goossens, A.G.: "Prediction of Molecular Weight of Petroleum Fractions", Ind.
Eng. Chem. Res., 35, 1996, pp. 985-988.
8. Heidemann, R.A., and Khalil, A.M.: "The calculation of Critical Points", AIChE
J., Vol. 26, September 1980, pp. 769-779.
9. Hoffman, A.E., Crump, J.S., and Hocott, C.R.: "Equilibrium Constants for a Gas
Condensate System", Trans. AIME, 198, pp. 1-10, 1953.
10. Jhaveri, B.S., and Youngren, G.K.: "Three-Parameter Modification to the PengRobinson Equation of State to Improve Volumetric Predictions", SPE Reservoir
Engineering, Vol. 3, No. 3, August 1988, pp. 1033-1040.
11. Katz, D.L., and Firoozabadi, A.: "Predicting Phase Behavior of
Condensate/Crude-Oil Systems Using Methane Interaction Coefficients", J. Petrol.
Technol., Vol. 30, November 1978, pp. 1649-1655.
12. Kesler, M.G., and Lee, B.I.: "Improve Prediction of Enthalpy of Fractions",
Hydro. Proc., March 1976, pp. 153-158.
References 149
13. Kokal, S.L., and Sayegh, S.G.: "Gas-saturated bitumen density predictions using
the volume-translated Peng-Robinson equation of state", Journal of Canadian
Petroleum Technology, Vol. 29, No. 5, September-October 1990, pp. 77-82.
14. Lee, A.L., and Eakin, B.E.: "Gas-Phase Viscosity of Hydrocarbon Mixtures",
Society of Petroleum Engineers Journal, Vol. 4, September 1964, pp. 247-249.
15. Lee, B.I., and Kesler, M.G.: "A Generalized Thermodynamic Correlation Based on
Three-Parameter Corresponding States", AIChE J., Vol. 21, May 1975, pp. 510-527.
16. Li, Y.-K., Nghiem, L.X.: "Phase Equilibria of Oil, Gas and Water/Brine Mixtures
from a Cubic Equation of State and Henry's Law", Can. J. Chem. Eng., Vol. 64,
1986.
17. McCain, W.D. Jr.: The Properties of Petroleum Fluids, Second Edition, PennWell
Books, Tulsa, Oklahoma, 1990.
18. Merrill, R.: EEC Summer School 1993; Sampling and Characterization of
Reservoir Fluids, Course Notes, 1993.
19. Nghiem, L.X., Hassam, M.S., Nutakki, R., and George, A.E.D.: "Efficient Modeling
of Asphaltene Precipitation", paper SPE 26642, presented at the 68th Annual
Technical Conference and Exhibition of SPE, Houston, Texas, 3-6 October 1993.
20. Nghiem, L.X., Coombe, D.A., and Hassam, M.S.: "Modelling effects on
Asphaltene Precipitation", Hydrocarbon Technology International, Autumn 1996.
21. Nghiem, L.X., and Li, Y.-K.: "Computation of Multiphase Equilibrium Phenomena
With an Equation of State", Fluid Phase Equilibria, Vol. 17, 1984, pp. 77-95.
22. Nghiem, L.X., Li, Y.-K., and Heidemann, R.A.: "Application of the Tangent Plane
Criterion to Saturation Pressure and Temperature Computations", Fluid Phase
Equilibria, Vol. 21, 1985, pp. 39-60.
23. Nghiem, L.X., and Li, Y.-K.: "Phase-Equilibrium Calculations for Reservoir
Engineering and Compositional Simulation", Proceedings of the Second International
Forum on Reservoir Simulation, Alpbach, Austria, September 4-8, 1989.
24. Nutakki, R., Nghiem, L., Li, Y.-K., and George, A.: "Optimal Representation of
Heavy Fractions in the Simulation of Multiple-Contact Processes", paper
CIM/AOSTRA 91-57, presented at the 1991 CIM/AOSTRA Technical
Conference, Banff, April 21-24.
25. Nutakki, R., Hamoodi, A.N., Li, Y.-K., and Nghiem, L.X.: "Experimental
Analysis, Modelling, and Interpretation of Recovery Mechanisms in Enriched-Gas
Processes", paper SPE 22634, presented at the 66th Annual Technical Conference
and Exhibition of SPE, Dallas, Texas, 6-9 October 1993.
26. Oellrich, L., Plocker, U., Prausnitz, J.M., and Knapp, H.: "Equation-of-State
Methods for Computing Phase Equilibria and Enthalpies", Int. Chem. Eng., Vol.
21, No. 1, January 1981, pp. 1-15.
27. Pedersen, K.S.: Energy and Fuels, v. 5, pp. 924, 1991.
28. Pedersen, K.S., and Fredenslund, Aa.: "An improved corresponding states model
for the prediction of oil and gas viscosities and thermal conductivities", Chemical
Engineering Science, Vol. 42, No. 1, pp. 182-186, 1987.
150 References
29. Pedersen, K.S., Fredenslund, Aa., Christensen, P.L., and Thomassen, P.:
"Viscosity of Crude Oils", Chemical Engineering Science, Vol. 39, No. 6, pp.
1011-1016, 1984.
30. Pedersen, K.S., Fredenslund, Aa., and Thomassen, P.: Properties of Oils and
Natural Gases, Gulf Publishing Company, Houston, Texas, 1989.
31. Peneloux, A., Rauzy, E., and Freze, R.: "A Consistent Correction for RedlichKwong-Soave Volumes", Fluid Phase Equilibria, Vol. 8, 1982, pp. 7-23.
32. Peng, D.-Y., and Robinson, D.B.: "A New Two-Constant Equation of State", Ind.
Eng. Chem. Fundam., Vol. 15, 1976, pp. 59-64.
33. Reid, R.C., Prausnitz, J.M., and Sherwood, T.K.: The Properties of Gases and
Liquids, 3rd Edition, McGraw-Hill, New York, 1977.
34. Riazi, M.R., and Daubert, T.E.: "Simplify Property Predictions", Hydro. Proc.,
March 1980, pp. 115-116.
35. Sandler, S.I.: Chemical and Engineering Thermodynamics, John Wiley and Sons,
New York, 1977.
36. Twu, C.H.: "An Internally Consistent Correlation for Predicting the Critical
Properties and Molecular Weights for Petroleum and Coal-Tar Liquids", Fluid
Phase Equilibria, Vol. 16, 1984, pp. 137-150.
37. Walas, S.M.: Phase Equilibria in Chemical Engineering, Butterworth Publishers,
Boston, 1985.
38. Whitson, C.H.: "Characterizing Hydrocarbon Plus Fractions", Society of
Petroleum Engineers Journal, August, 1983, pp. 683-694.
39. Whitson, C.H. and Belery, P.: "Compositional Gradients in Petroleum
Reservoirs", SPE 28000, University of Tulsa Centennial Petroleum Engineering
Symposium, Tulsa, OK, Aug 29-31, 1994.
40. Whitson, C.H., Anderson T.F., and Soreide I.: "C7+ Characterization of Related
Equilibrium Fluid Using the Gamma Distribution", paper in "C7+ Characterization",
Edited by Mansoori, Chorn, Taylor and Francis, New York, 1989.
41. Whitson, C.H., and Torp, S.B.: "Evaluating Constant Volume Depletion Data",
SPE 10067, JPT, March 1983, pp. 610-620.
42. Wichert, E and Aziz, K.: "Calculate Zs for Sour Gas Hydrocarbon Processing",
Vol. 51, pp. 119, May 1972.
43. Won, K.W.: "Thermodynamics for Solid-Liquid Equilibria: Wax Formation from
Heavy Hydrocarbon Mixtures", Fluid Phase Equilibria, Vol. 30, 1986, pp. 265-279.
44. Zick, A.A.: "A Combined Condensing/Vaporizing Mechanism in the Displacement
of Oil by Enriched Gases", SPE 15493, Proc. of 61st Ann. Conf., Oct 1996.
References 151
Appendix A
Case Studies
Introduction
The case studies presented in this section are designed to guide the user step-by-step through
practical phase behavior modelling problems.
Case Study Number 1 describes in detail the steps involved in heavy fraction characterization
and equation of state tuning for a gas condensate. Working through this case study will
provide practice in techniques for data set editing, the component properties updating
procedure, data specification for a number of calculation options, as well as possible methods
to use in your own regression problems.
Case Study Number 2 illustrates the use of the Oil-Gas-Water flash for predicting solubility
of gases in brine and regression on the aqueous phase solubility parameters. Generation of
the required equation of state parameters to define the fluid model for CMGs GEM
compositional simulator is also shown.
Case Study Number 3 shows how to develop a model for predicting precipitation of
asphaltene from a black oil under pressure depletion.
Appendix A 153
154 Appendix A
Again, click OK to accept the selection and return to the Component definition form. All other
information on this form can be left at the default values. Please refer to the Components
section for information on modifying any of the default component properties. Click OK to
return to the main form.
Specify System Composition
Composition for the selected components is specified by double-clicking on the row labelled
Composition and entering the values in mole % as shown on the following form.
A message will be issued when this form is closed, warning that the composition does not
sum to 1 or 100. Since the heptane plus fraction has not yet been included in the system, this
warning can safely be ignored.
Appendix A 155
156 Appendix A
Appendix A 157
Select Edit|Copy from the main menu to copy these calculation options to the clipboard.
Close the Case_study-1.dat file, then make sure that the row directly underneath Regression
Parameters in your data file is selected and choose Edit|Paste to paste the contents of the
clipboard into your data file. Next, click on the row underneath Constant Volume
Depletion, then select Regression|End to indicate the end of the calculation options to be
included in the regression. View the calculation specifications and experimental data by
double-clicking on the appropriate row.
Select Initial Regression Parameters
The parameters to be used in the regression can now be selected by double-clicking on the
Regression Parameters row. To begin, select the critical pressures of the C7+ pseudocomponents as regression variables. This is done by clicking on the cells in the first column
(labelled Pc) for the last 5 components in the system. The first tab on the Regression
Parameters form should now look like the following:
158 Appendix A
Click on the tab labelled Interaction Coefficients and in the same manner as for the critical
pressures, select the Hydrocarbon Interaction Coefficient Exponent and the interaction
coefficients between CO2 and Methane, and between CO2 and the C7+ pseudo-components.
Select OK. Before the Regression Parameters form closes, a message box appears asking if
you would like to change the value for the number of simultaneous regression parameters.
Click No to accept the default value of 5. This means that a subset of the 5 most sensitive
regression parameters will be used at each regression iteration. For more details please refer
to the Regression section of the manual.
Run the Regression Data Set
The regression data set is now ready to run. Select File|Run; since the data set has changed
since it was last saved, a message box appears asking if you would like to save the data set
before running. Click Yes to save your changes.
While the data set is running, the progress of the regression can be tracked by noting the
values of the residuals in the window displaying the run status messages. This information is
also echoed to the output file. It is important to note that the magnitude of the change from
the initial value of the residual is more important than the values of the residuals themselves.
Create Regression Summary Plots
Summary plots of the before regression and after regression results, along with the
experimental data, can be created by selecting File|Create Excel plots from the main menu.
This will create an Excel workbook with individual plots of all of the simulated results, as
well as the summary plots. Viewing the summary plots for this run quickly shows that only
minimal improvement in the fit was obtained. Note particularly that the liquid dropout values
for the constant volume depletion have large errors.
Check the Regression Summary Table
To check the numerical values for the before and after regression calculation errors, open the
output file by selecting File|View output from the main menu. At the end of this file is a
table with a summary of the regression results. Check if there has been any improvement of
the match to the saturation pressure, shown in the first row of the summary table.
Modify the Regression Specification
Modifications to the data set can now be made to improve the predictions of the volumetric
data and the saturation pressure.
Begin by opening the Component Selection/Properties form and viewing the column for the
Volume Shift parameters. Note that all components have a default volume shift of zero.
Select Volume Shift|Reset to correlation values from the menu to insert values correlated
with component molecular weight for all components.
Next, open the Saturation Pressure form, and on the tab Calculations, enter a value of 50.0
for the weight associated with the experimental saturation pressure value. This is to ensure
that the saturation pressure is more closely matched. On the Constant Volume Depletion
form, Pressure Levels tab, enter a weight of 5.0 for the liquid dropout values.
Now, open the Regression Parameters form and add the volume shift parameters for
methane and the C7+ pseudo-components as regression variables.
Appendix A 159
The interaction coefficients can be left as they were selected for the last run.
160 Appendix A
80.0
60.0
25.0
20.0
40.0
15.0
10.0
20.0
Produced Gas, %
original mol
Liquid Volume, %
original vol.
30.0
5.0
0.0
0
1000
2000
3000
4000
5000
6000
0.0
7000
Pressure (psia)
Final Liq. Vol.
Appendix A 161
On tab Envelope Construction Controls, the phase boundary and quality line calculation can
be specified. A value of 0.0 is already entered in the grid for Vol. frac. vapor phase. Below
this row, enter values of 0.1, 0.2 and 0.3 to generate quality lines. Also set the Initial step size
to 0.1. Save and run the data set to perform the envelope calculation.
In the output file, a table showing the Pressure, Temperature, Z-factors and K-values at all
points for the two-phase boundary and all of the specified quality lines is given. Select
File|Create Excel plots to generate the diagram as shown in the figure below.
Tuned condensate model
P-T Diagram
7000
Pressure (psia)
6000
5000
4000
3000
2000
1000
0
0
100
200
300
400
500
600
700
800
Temperature (deg F)
162 Appendix A
2-Phase boundary
90.000 volume %
80.000 volume %
70.000 volume %
Appendix A 163
164 Appendix A
Appendix A 165
166 Appendix A
Feed
50.00000
12.50000
0.75000
1.75000
5.00000
3.75000
1.25000
25.00000
Phase01
0.47996
0.00000
0.00000
0.00000
0.00000
0.00000
0.00000
99.52004
Phase02
21.16229
3.03426
1.17901
9.11641
32.39168
24.57394
8.19468
0.34774
Phase03
77.25212
19.93130
0.94408
0.59513
0.09787
0.00264
0.00003
1.17684
component
CO2
C1
C3
C6
C10
C15
C20
H2O
ln (fug,atm)
3.14837E+00
1.89596E+00
-1.38485E+00
-2.18610E+00
-4.40810E+00
-8.56474E+00
-1.36124E+01
-1.11686E+00
Z-factor
Molar vol, m3/kmol
MW, g/mol
Ideal H, BTU/lbmol
Enthalpy, BTU/lbmol
Ideal Cp, BTU/lbmol-R
Cp, BTU/lbmol-R
Density, lb/ft3
Viscosity, cp
IFT, dyne/cm
Phase volume %
Phase mole %
0.48768
48.717
-9215.579
-12265.720
Phase02
4.40916E+01
1.00000E+00
1.00000E+00
1.00000E+00
1.00000E+00
1.00000E+00
1.00000E+00
3.49413E-03
Phase03
1.60955E+02
1.00000E+00
1.00000E+00
1.00000E+00
1.00000E+00
1.00000E+00
1.00000E+00
1.18252E-02
aqueous
liquid
vapor
0.0223
0.01849
18.14
4924.45
4924.45
8.097
8.097
61.2428
0.9405
0.0000
0.9234
24.3531
0.2764
0.22948
138.06
14846.18
-3351.00
65.566
79.645
37.5588
0.3080
1.3805
7.1776
15.2536
0.8937
0.74208
38.48
-20994.73
-21449.12
38.702
40.187
3.2373
0.0175
49.6694
91.8990
60.3933
Appendix A 167
The pressure entered will be used as the reference pressure for calculating Henrys constants
during regression. In this case 500 psia is used. The temperature entered should be the same
as the temperature specified for your flash calculations (160 F). Click OK to return to the
component table when you have entered these values.
Note that molar volumes at infinite dilution and reference pressures have been filled in for all
components. Valid Henrys constants have also been entered in the table for CO2, C1 and C3, as
these components are considered to be soluble in the aqueous phase by default. Since we are
concerned only with the solubility of CO2, the Henrys constants for C1 and C3 should be set to
1.0E+20. The aqueous solubility parameters should now appear as shown below.
168 Appendix A
Before leaving the Component Specification/Properties form, the text box on the Aqueous
phase tab for setting the aqueous phase salinity should be cleared or set to zero. This value is
used only for predicting the effect of salinity on Henrys constants and should not be used during
regression on aqueous phase solubility parameters. Click OK to return to the main form.
Specify the Regression Parameters
Click once on the row following the composition form to make that the active row. Select
Regression|Start from the main menu as shown below to insert a Regression Parameters
form at this point.
Double-click on the Regression Parameters row to bring up the data entry form. The only
parameters that we want to modify are the reference Henrys constant and molar volume at
infinite dilution for CO2. Scroll over on the grid shown on the Component Properties tab to
display the last two columns in the grid. Click in the row corresponding to CO2 under the
columns labelled Henry Const. and V inf. to select the parameters to use in regression.
The form should now appear as shown below.
Click OK to return to the main form. When the dialog box appears asking if you would like
to change the number of simultaneous regression parameters, answer No to retain the default
value. When there are five or fewer regression parameters specified, the default is to set the
Appendix A 169
Click on the Exp. Solubility tab to enter the data generated earlier for solubility of CO2 in
brine. Make sure that the unit selected for entering the solubility is Mole Fraction, then
enter the value predicted for the amount of CO2 in brine from the first part of this case study.
For the flash at 500 psia, the amount of CO2 in the aqueous phase was calculated to be
0.47996 mole%, thus the entry in the table should be 0.0047996 as shown below. All of the
other entries in the table can be left blank. They will default to a value of -1. A negative
value indicates that a given experimental data point will not be used in the regression.
170 Appendix A
Appendix A 171
A summary of the regression iterations appears roughly in the middle of the output file.
Examination of this table shows that the Henrys constant for CO2 (indicated by the name
HEN1 in the table) reached its limit first during the regression iterations. Thus, we will try
increasing the upper bound for this parameter.
Modify the Regression Data Set
Close the output file, then double-click on the Regression Parameters row to bring up the data
entry form. Click on the Variable bounds tab, and change the upper bound for the CO2
Henrys constant to 5500 atm. At this point the convergence tolerance can also be tightened on
the tab Regression controls. Enter a value of 0.000001 in the convergence tolerance text box.
Click OK to return to the main form, then save and run the data set.
Viewing the summary tables at the end of the output file now shows that an excellent match
of the CO2 solubility data has been obtained. Close the output file in preparation for the final
phase of the modelling process.
Create a New Data Set
Once the process of tuning the model has been completed, a new data set can be created with
all of the updated model parameters. Select File|Update component properties from the
main menu. This will overwrite the first three forms in the data set with the model
parameters obtained from the regression run. Use File|Save As to save the file under a
new name. This new file will be used to generate the fluid model specification for GEM.
First, remove all of the calculation options below the composition form. Click on the
Regression Parameters row and drag the mouse down to the End Regression row to select
all of the calculations, then select Edit|Delete or press the Delete key to remove the
calculations as shown below.
172 Appendix A
This will insert a CMG GEM EOS Model form into the data set. Double-click on this row
to bring up the data entry form.
Under File Selection, click the check box labelled Print component properties for GEM. It is
also possible to get an echo of the component properties to the output file by clicking the check
box labelled Print detailed component properties to *.OUT. GEM does not need to have the
water component included in the component list, therefore the checkbox labeled Include H2O in
GEM component list can be left in its default unchecked state. To output Henrys constants
and molar volumes, the check box labelled Print aqueous phase component solubility
parameters must also be checked. Note that when the solubility parameters are defined on the
Component Selection/Properties form, they are constant for a data set, and the option buttons
available under Solubility Parameters will have no effect. Selecting these options only affects
the results when the internal model is used to generate Henrys constants and other solubility
parameters. The reservoir temperature must also be entered to complete the fluid model
description for GEM.
The completed form should now appear like the one below. Click OK to return to the main form.
Appendix A 173
174 Appendix A
Fluid analysis and asphaltene precipitation data are taken from Burke, Hobbs and Kashou,
Measurement and Modeling of Asphaltene Precipitation, Journal of Petroleum Technology,
November 1990, pp. 1440-1446. The following data for Oil 1 taken from Table 1 of Burke
et al will be used in this example.
Component
Nitrogen
Carbon Dioxide
Methane
Ethane
Propane
i-Butane
n-Butane
i-Pentane
n-Pentane
Hexanes
Heptanes plus
Total
C7+ molecular weight
C7+ specific gravity
Live oil molecular weight
Stock tank oil API gravity
Asphaltene content in stock tank oil, wt%
Reservoir temperature, F
Saturation pressure, psia
Oil 1
0.57
2.46
36.37
3.47
4.05
0.59
1.34
0.74
0.83
1.62
47.96
100.00
329
0.9594
171.4
19.0
16.8
212
2950
Fluid Characterization
To begin this case study, a data set has been prepared to characterize the fluid by defining the
compositions of components up to C6 and pseudo-components describing the C7+ fraction. The
data set is named Case_study-3-split.dat and is located in the WinProp templates directory, for
example cmg\WinProp\2000.10\Tpl. You can begin by using this file, or by constructing your
own data set as described in Case Study Number 1. From the table above, the composition data
to C6 has been used, and a Plus Fraction Splitting calculation has been specified with the C7+
molecular weight and specific gravity. The plus fraction will be lumped into 4 pseudocomponents, and the Lee-Kesler critical property correlations will be used.
Perform the splitting calculation either by running your own data set, or by running the
Case_study-3-split.dat data set.
Update the System Component Specification
After splitting, the equation of state model can now be tuned to any available PVT data via
regression. First, the component specification must be updated to reflect the results of the
splitting calculation. This is done by selecting File|Update component properties from the
file menu, which will modify the first three forms in the data set. Save the data set under a
new name to avoid overwriting the original file by selecting File|Save As ... and entering a
new name. Remove the splitting calculation from the data set by selecting the row labelled
Plus Fraction Splitting and pressing the Delete key or by selecting Edit|Delete from the
User's Guide WinProp
Appendix A 175
main menu. Open the Titles/EOS/Units form and enter a new comment and descriptive title.
Open the Component Selection/Properties form and click the check box to Use
temperature-dependent volume shifts. This will allow good initial predictions of the
volumetric properties of the fluid. After closing this form, the calculation options required to
perform the regression can be added to the data set.
Set up the Regression Data Set
Select the first blank row underneath the Composition row. Enter a Regression Parameters
form into the data set by selecting Regression|Start from the main menu or by clicking the
Strt Reg button the toolbar. Then enter a Saturation Pressure calculation by clicking the
Sat Pres button, and an End Regression form by clicking End Reg. Open the data entry
form for the Saturation Pressure calculation and enter a temperature of 212 F, saturation
pressure estimate of 2500 psia, and an experimental saturation pressure measurement of 2950
psia. Close this form and open the Regression Parameters form. Go to the Interaction
coefficients tab and click the option button for Select from list, then select HCIntCoefExp
1 from the list. This selects the hydrocarbon interaction coefficient exponent as a regression
variable. For more information about this parameter, please refer to the Components
section of the Users Guide. Go to the Regression Controls tab and set the Convergence
tolerance to 0.00001 to achieve a good match to the experimental data.
Click OK to close the Regression Parameters form. Before the form closes, a dialog box
appears asking if you would like to change the number of simultaneous regression parameters.
Click No to accept the default value. The data set should now look like the following:
A copy of this data set, Case_study-3-regress.dat is available in the templates directory for
comparison to your own work. Run the data set, then view the output from the run. The
regression summary table at the end of the output file shows that an exact match to the
saturation pressure was achieved.
The model is now ready to be modified for asphaltene precipitation prediction.
First update the component properties as before, then save the file under a new name.
176 Appendix A
Now click on the first column in the row for the component that you just entered, i.e. click on
the component name FC6, and use Ctrl-V or Edit|Paste to paste the properties onto the new
component. The component names can now be edited, for example C31A+ and C31B+. To be
able to specify interaction coefficients with the other components individually for the C31B+
component, as opposed to calculating them with the hydrocarbon interaction coefficient
exponent, the HC flag in the column next to the component name can be set to 0. The
component list should now appear as follows:
Appendix A 177
Click on the Int. Coef. tab, and click on Show HC Int. Coef. to view the magnitude of the
binaries between C31A+ and the light components. As described in references 19 and 20, the
binaries for the precipitating component must be considerably higher than those for the nonprecipitating component to give the correct shape of the precipitation curve below the bubble
point. Values on the order of 0.2 are expected to give good results. For C31B+, enter the same
binaries as C31A+ for CO2 and N2, then enter values of 0.2 for the interactions with C1 through
nC5. All other values for C31B+ should be left as zero. Click OK to complete the component
specification.
Specification of Asphaltene Composition
The mole fraction of the asphaltene component can be determined from the relation:
xAsph MWAsph = wAsph MWOil. From the output of the regression run, the molecular weight of
the oil is calculated as 171.343, as compared to the reported value of 171.4. The asphaltene
content of the stock tank oil is given as 16.8 wt%. As the weight fraction of gas in the live oil
is usually small, the value of 16.8 wt% will be used for the live oil. From the component
table, the molecular weight of the C31B+ component is 665.624. This results in a mole fraction
of 0.04324607 for the precipitating component. Open the Composition form and enter this
value for the mole fraction of C31B+. Subtract this amount from the original mole fraction of
C31+, and enter 0.07424660 as the mole fraction for C31A+. Click OK to close the form.
Specification of Additional Regression Data
When the heaviest component is split into precipitating and non-precipitating parts, and the
binaries for the asphaltene component are adjusted, the fluid phase behavior predictions will be
affected. For this reason, regression must be performed again to ensure that the model will
predict the correct fluid and solid phase behavior. In this data set, we will add regression on the
stock tank oil API as well as the saturation pressure. Click on the End Regression row, then
click the SEP button to insert a separator calculation into the data set. Open the Separator form
and enter an estimate for the saturation pressure of 2500 psia and a temperature of 212 F in the
178 Appendix A
first column of the separator specification. Go to the Experimental Data tab and enter 19.0 for
the stock tank oil API and click OK.
To match the experimental API, we will modify the volume shift parameters of the heavy
fraction pseudo-components. As the volume shift of the asphaltene component affects the
amount of precipitate, as well as the liquid density, it will not be adjusted during regression.
Open the Regression Parameters form and click in the Vol Shift column in the rows
corresponding to the components C07-C15, C16-C25 and C26-C30 to select these parameters as
regression variables. Click OK and again select NO on the dialog box to leave the default
number of simultaneous regression variables.
Specification of Reference Fugacity for Asphaltene Model
The equation describing the fugacity of the solid component in the solid phase is given in the
Flash Calculations chapter of the Users Guide. Writing this equation for isothermal
conditions gives
ln f s = ln f s* + v s (p1 p o ) / RTo
(1.1.1)
where fs is referred to as the reference fugacity, at the reference conditions po and To. vs is the
molar volume of the solid. The reference fugacity is usually set equal to the fugacity of the
precipitating component calculated by the equation of state at an experimentally determined
asphaltene precipitation onset pressure for a given temperature. This ensures that the model
will predict the correct onset pressure. At other pressure conditions, the fugacity of the solid
component in the solid phase is compared to the fugacity of the solid component in the liquid
phase as predicted by the equations of state, if the fugacity of the solid component in the solid
phase is lower then asphaltene will precipitate.
With modern solid precipitation detection systems, onset pressures can usually be determined
quite accurately. In the Burke et al data, an exact onset pressure is not given, instead, a
pressure point above the saturation pressure at which a small amount of asphaltene
precipitates is determined. The data given (in Burke et al Table 5) is 0.402 wt% asphaltene
precipitated at 4014.7 psia and 212 F. To use this data, the reference fugacity is determined
at the given pressure and temperature, but with the precipitated amount of asphaltene
removed from the system. The reported wt% of precipitated asphaltene must again be
converted to a mole fraction to enter into WinProp. Using the same formula and molecular
weights as before, the mole fraction of precipitated asphaltene is determined as 0.001034817.
Click on the Composition form, then use Ctrl-C to copy the form. Click on the row
underneath the End Regression form and use Ctrl-V to paste a copy of the composition
form. Open the new Composition form, and subtract the amount of precipitated asphaltene
from the mole fraction of component C31B+, the resulting mole fraction should be
0.042211253. When you click OK, a warning that the composition no longer sums to 1.0 will
be issued, this can be ignored as all compositions will be normalized.
Click on the row below the new composition form and then click the ASP/WAX button on
the toolbar to enter a new Asphaltene/Wax Modelling form in the data set. Open the form
and enter the reference conditions of 4014.7 psia and 212 F on the first tab. Click on the Ref.
State tab and select CALCULATE for the Reference Fugacity Specification. This will set
the reference fugacity equal to the fugacity of the precipitating component in the liquid phase
calculated by the equation of state. Click OK. The data set should now appear as follows:
Appendix A 179
As discussed in reference 19, the solid molar volume should be set to a value slightly higher
than the molar volume for the precipitating component predicted by the equation of state. At
this point we can run the data set to check the regression on the fluid PVT data and to view
the solid molar volume predicted by the EOS. Run the data set and view the output file. The
regression summary table shows that both the saturation pressure and stock tank API are
matched exactly. At the end of the file, a listing of the parameters of the solid model are
given. The solid molar volume is given as 0.65883 L/mol. A good initial value to enter for the
solid molar volume is 0.67 L/mol. Return to the data set and open the Asphaltene/Wax
Modelling form and go to the Ref. State tab. Scroll over in the grid showing the properties of
the C31B+ component and enter 0.67 under Molar Vol. This molar volume will be used by all
subsequent asphaltene precipitation calculations. Click OK close the form.
Prediction of Asphaltene Precipitation
To perform predictions of asphaltene precipitation, we need to use the whole live fluid
composition, not the composition adjusted for the reference fugacity calculation. Click on the
first Composition row in the data set (row 3) and use Ctrl-C to copy it to the clipboard. Now
click on the row underneath the Asphaltene/Wax Modelling form and use Ctrl-V to paste
the Composition form. Then add a new Asphaltene/Wax Modelling form at the end of the
data set. Open the form and enter a temperature of 212 F. We want to predict the amount of
asphaltene precipitated at various pressures. Enter a Pressure of 14.7 psia, a Pressure Step
of 200 psia and a No. of pressure steps of 31. This specification results in flashes being
performed every 200 psi from 14.7 to 6014.7 psia.
180 Appendix A
Click on the Ref. State tab and set the Reference Fugacity Specification to PREVIOUS.
This specifies that the reference fugacity for the asphaltene model will be set to that value
determined in the previous asphaltene flash, where the reference fugacity was set to
CALCULATE. The molar volume, reference pressure and reference temperature set
previously will also be used. Now go to the Plot Control tab, click on the X-Y Plots option
button, then check the Plot weight % solid phase checkbox. Click OK to close the form.
The final data set is now ready to run, and should appear like the one below.
Run the data set, and click on the button with the Excel icon on the toolbar to create the plots.
You should see that the shape of the asphaltene precipitation curve from the upper onset
pressure to the saturation pressure shows the expected trend of increasing precipitation with
decreasing pressure. Note also that the predicted amount of asphaltene at the reference
pressure of 4014.7 psia is exactly equal to the experimental value of 0.402 wt%. The shape of
the curve at lower pressures is incorrect. The final step in this case study discusses how to
adjust the solid model parameters to achieve the correct shape of the precipitation curve.
Adjustment of Solid Model Parameters
Appendix A 181
asphaltene to redissolve at lower pressures. The experimental data given in Burke et al (Table
5) indicates the maximum amount of precipitation from this fluid should be about 1%, and
that the amount of precipitation should decrease to 0.403 wt% at 1014.7 psia.
Judging from the results of the initial run, it is seen that the molar volume of the solid must be
increased slightly to increase the maximum amount of precipitation from approximately 0.8
wt% to 1 wt%. The interaction parameter between the precipitating component and the light
ends must also be increased to give the correct shape of the precipitation curve below the
saturation pressure.
As noted earlier, performing the regression within the asphaltene modelling data set allows
the model to predict the correct fluid PVT behavior when the interaction parameters for the
asphaltene component are changed.
Adjust the solid molar volume first to achieve the desired maximum amount of precipitation.
In this case, a value of 0.675 L/mol was found to give good results. After this step, adjust the
interaction parameters between the C31B+ component and the components C1 through nC5.
Using a constant value of 0.224 for all of these interactions gives a good shape to the
precipitation curve, although it doesnt match exactly the experimental data. For comparison
with your work, the final model is given in the template data set Case_study-3-asph.dat. The
asphaltene precipitation plot from this data set is shown below.
Burke Oil 1 asphaltene modelling
Phase Properties (Solvent Mole Fraction = 0.0000)
1.20
1.00
0.80
0.60
0.40
0.20
0.00
0
1000
2000
3000
4000
5000
6000
7000
Pressure (psia)
212.00 deg F
182 Appendix A
Appendix B
Equations
The following are the equations used in WinProp.
p=
RT
a
2
v b v + vb(1 + c ) cb 2
p=
RT
a
v b (v + 1 b )(v + 2 b )
(2.1.1a)
or
(2.1.1b)
where
21 = (1 + c )
(1 + c)2 + 4c
1 2 = c
When c=1, Equation (2.1.1a) becomes the Peng-Robinson Equation of State and when c=0, it
becomes the Soave-Redlich-Kwong Equation of State.
For pure components, the parameters a and b are expressed in terms of the critical properties
and the acentric factor:
a = a c
a c = a (RTc ) / p c
= 1 + 1 T / Tc
b = b RTc / p c
(2.1.2)
Define
A ap /( RT ) 2
and
B bp / RT
Appendix B 183
] [
E Z 3 Z 2 (1 cB) + Z A B(1 + c ) B 2 (1 + 2c ) AB c B 3 + B 2
) ]= 0
(2.1.3)
For mixtures, the parameters a and b are defined using the following mixing rule
a = x i Si
i
Si a i x j (1 d ij ) a j
j
b = x i bi
(2.1.4)
N
~
p
dV
F
RT
V
(2.1.5)
Resulting in
ln i =
bi
(Z 1) ln(Z B) 1 A 2Si b i ln Z + 2 B
b
2 1 B a
b Z + 1 B
(2.1.6)
Calculation of Parameters
The above equations require the knowledge of a, b and . The two parameters a, b are
obtained from the critical condition. At the critical point, the compressibility factor will have
three real and equal roots (Martin, 1979).
(Z Z c )3 = 0
Comparing with the above Z equation results in
b = 1 / (3Z1 + c )
b = ( Z13 + c + c / b ) 2b
Z c = b Z1
where
Z1 1 + Z 2 + 2 / Z 2
Z 2 (3 + c + Z 3 )
1/ 3
Z 3 c 2 + 6c + 1
184 Appendix B
Peng-Robinson (PR)
Soave-Redlich-Kwong
(SRK)
1
-0.4142
0
Zc
2.4142
0.45724
0.07780
0.307
0.42747
0.08664
0.333
Equation (2.1.7)
The cubic Z-factor equation may yield two real roots. In which case, the one that results in
the lowest Gibb's free energy (i.e. most stable) will be selected. Let ZA and ZB be the two real
roots resulting in free energy GA and GB respectively. Since free energy
G = x i ln f i ,
i
Z B
1
A Z B + 2 B Z A + 1 B
(Z B Z A )
+
G A G B = ln B
ln
Z A B 2 1 B Z A + 2 B Z B + 1 B
(2.1.8)
If GA - GB > 0, ZB will be selected and vice versa. For single-phase fluids, if the above
scheme selects the largest Z root, the fluid is said to be vapor. Similarly, if the smallest
positive Z root is chosen, the fluid is said to be liquid.
In cases where the Z-factor equation yield only one real root, the naming of the phase to be
vapor or liquid is irrelevant. For identification purposes, the criteria according to Gosset et al
(1986) is used.
The fluid is designated as liquid when A/B > a / b and Z < (Zc/b)B, else it is designated
as vapor.
For simplicity, the EOS Zc as shown in Equation (2.1.7) is used in the above criteria. For
multiphase fluids, the phases are identified according to their mass densities. The lower
density phase is arbitrarily denoted as vapor.
Appendix B 185
The volume translation technique of Peneloux et al (1982) is used to improve the density
prediction capability of the SRK and PR equation of states.
Consider pressure-explicit equation of state of the form:
(v i / RT 1 / p )dp + ln(x i p )
(2.1.9)
where vi is the partial molar volume. The equilibrium conditions require that
ln f iL = ln f iv
(2.1.10)
A volume translation modifies the molar volume of the system v predicted by the equation of
state as follows:
(2.1.11)
vt = vo ~
v
~
v = x i ri
ri = t i B ci
and
B ci = b
RTc
pc
where ti is the dimensionless individual translation value for each component and the
superscripts o and t correspond respectively to the results before and after the volume
translation. Bci is the hard core molecular volume of component i. By using equation
(2.1.11), the fugacities of the component i after the volume translation become:
ln f it = ln f io pri / RT
(2.1.12)
Thus if
( )
( )
( )
ln f iL = ln f iv , then ln f iL
( )
= ln f iv
i.e. the volume translation has no effect on the equilibrium conditions. Therefore, it will not
alter the saturation pressures, saturation temperatures, equilibrium compositions, etc.
However, it will modify the molar volumes, compressibility factors and densities of the fluid.
The following equations show the effect of equation (2.1.11) on the parameters of interest to
petroleum engineers.
Compressibility
Z t = Zo v t / vo
Gas oil ratio, GOR
(2.1.13)
GOR t = GOR o v o / v t
186 Appendix B
stc
(2.1.14)
Mass density,
t = o vo / v t
(2.1.15)
where the subscript stc denotes the stock tank (standard) conditions. Other equations of
interest can be derived easily using equation (2.1.11).
The use of the volume translation technique requires the knowledge of ri for each component.
These can be estimated from equation (2.1.13) at the critical conditions
(Z c )i = (Z c )EOS (v c
ri ) / v ci
where (Zc)EOS is the compressibility factor from the equation of state as shown in Equation (2.1.7).
Peneloux et al (1982) have tabulated values of ti for the first ten components in the alkane series.
Jhaveri et al (1984) have also developed empirical equations for ti. Generally, for phase behavior
matching, it is advantageous to treat ti as regression variables. Experience shows that it is
sufficient to introduce non-zero ti's for the C6+ components and methane only. Furthermore, for
the C6+ components, it is preferable to have one ti value for all components, e.g.
The excess enthalpy, HE, of a fluid which follows the EOS in Equation (2.1.1) is given by:
H E H H*
T(a / T ) a v + 2 b
ln
( 2 1 ) v + 1 b
= pv RT +
and the excess capacity
Cp E H E / T
(2.1.16)
(2.1.17)
where H is the system enthalpy and H* is the enthalpy at the ideal gas state, calculated from
H * = x i H *i
i
Hi is a function of temperature only and can not be derived from the EOS and has to be input
by the user in the form of a polynomial
H *i = H A + H B T + H C T 2 + H D T 3 + H E T 4 + H F T 5
With T in deg. R and Hi* in Btu/lb. HA through HF are user specified parameters. Passut and
Danner (1972) have compiled the values of HA through HF for components commonly
encountered in Petroleum Engineering.
In most practical uses, the important variables are the enthalpy differences and not the
absolute enthalpies. Thus, the reference point for H can be chosen arbitrarily. In WinProp
enthalpy is assigned zero when the component is at ideal gas state at zero kelvin.
Appendix B 187
( )
where
K ip = u i / x i
and
~
ui = ui / u k
k
ui <1
and vice versa. If the phase is unstable, the equilibrium ratio Kip is a good first guess to
initiate equilibrium calculation. Equation (2.2.1) is solved using the QNSS method described
in Viscosity Correlation section.
To solve the above stability test equation, the following initial guess can be used:
Initial Guess
Description
Pure component
u i = 1, u j, ji = 0
Nc+1
i = 1,..., N c
Ideal gas
ln u i = ln i (X ) + ln (x i )
Nc+2
Average
u i = (y il + y iv ) / 2
Nc+3
Wilson's equation
ui = xi
Nc+4
p ci
p
+ 5.373(1+ i )(1 Tc i / T )
p + 5.373(1 + i ) (1 Tci / T )
e
p ci
Initial guess (Nc+2) is generally used to test the stability of a liquid-vapor two-phase system only.
188 Appendix B
The initial estimates of the stability test is set according to the input variable LEVEL.
Level
0
1
2
3
4
Nc+3, Nc+4
H1, L1, Nc+3, Nc+4
H1, L1, Nc+1, Nc+3, Nc+4
H1, H2, L1, L2, Nc+1, Nc+3, Nc+4
Ii,i=1,...,Nc, Nc+1, Nc+3, Nc+4
where H1, H2 correspond to the heaviest and next heaviest component in the system and L1,
L2 correspond to the lightest and next lightest component.
START
ui <1
No
Phase
unstable
Yes
Phase
stable
Yes
No
Load the next
initial guess
Appendix B 189
( )
( )
G i ln K i ln i X L + ln i X V = 0
i=1,...,Nc
z k (K k 1)
=0
1 + Fv (K k 1)
(2.3.1)
where
K i = x iV / x iL
z = global composition of the feed
Fv = vapor phase mole fraction
and
x iL = z i /[1 + Fv (K i 1)]
When 0 < Fv < 1, the feed splits into two equilibrium systems. When F < 0, the feed is stable
at the specified pressure and temperature but addition of a phase with composition XV to the
feed Z will result in a phase with composition XL in equilibrium with XV.
The equilibrium equation is solved using the QNSS method described in Solution of NonLinear Equations section, the primary variables are ln Ki with initial guesses from the
Wilson's equation:
Tc
ln K i = 5.37 (1 + i ) 1 i
T
+ ln (p ci / p )
(2.3.2)
In solving the material balance equation, the method of Nghiem, Aziz and Li (1983) is used
for quick single-phase detection. With
fo = zk K k
k
f1 = z k / K k
(2.3.3)
the system is a single-phase liquid when fo < 1 and a single-phase vapor when f1 < 1.
190 Appendix B
START
Initialization
No
Single Phase
Yes
Stability Test
No
Convergence
Unstable
Stable
Yes
Two-Phase System
STOP
Saturation Calculation
Saturation condition of a mixture XL at a particular pressure p and temperature T requires that
the tangent plane to the Gibb's free energy surface at XL is also tangent to the surface at some
other composition XV. The p and T are the saturation pressure and temperature and XV is the
equilibrium composition (Nghiem, Li, and Heidemann, 1985), i.e.
G i ln K i + ln iV ln iL = 0
D
i
1=1,2,...,Nc
x iV
ln K i + ln iV ln iL
V
x
j
j
=0
(2.4.1)
(2.4.2)
Appendix B 191
where G is the equilibrium equation and D is the normalized distance from the Gibb's free
surface to the tangent plane at x, evaluated at a composition y where:
(
= (X
)
, p, T )
iV = i X V , p, T
iL
K i = x iV / x iL
(2.4.3)
For saturation pressure (temperature) calculation, the primary variables are ln Ki and p(T).
The Nc equilibrium equation (2.4.1) can be solved by the QNSS method and during each
QNSS iteration, update p(T) from the distance equation (2.4.2). This is similar to the general
scheme used to solve the two-phase flash problems.
(2.4.4)
Let D1*(0) and D2*(0) be the distances in equation (2.4.2) corresponding to y i(,01) and y i(,02)
respectively.
These distances can be regarded as functions of a single variable (temperature or pressure) as
long as the mole fractions y are held constant at values derived from equation (2.4.4).
When the saturation temperature is specified, a one-dimensional search is performed to locate
all the pressures which satisfy
D1(0 ) = 0
and
D *2(0 ) = 0
(2.4.5)
Similarly, these equations are solved for all the temperature roots at a specified saturation
pressure.
192 Appendix B
The technique used to solve equation (2.4.5) for temperature or pressure is a one-dimensional
search combined with bisection or Newton's method. The saturation calculation using one of
the Newton methods or QNSS is then initialized with the yi values given by equation (2.4.4)
and the pressure and temperature conditions that satisfy equation (2.4.5). In some cases,
equation (2.4.5) was found to have more than one pressure root (at the given temperature) or
more than one temperature root (at the given pressure). The saturation calculation can be
initialized with any one of these starting guesses. It has been observed that convergence can
be obtained to a different solution for each of the starting guesses. In some problems, several
of the converged solutions are physically meaningful, such as lower and upper dew point
pressures in retrograde systems or points where liquid-liquid separations occur.
Some of the converged points are found to lie inside the two-phase region, however, and are
"trivial" solutions in the sense that the calculated V phase is identical to the starting L phase.
It has been observed that such trivial solutions, when they are found, lie on the stability limit
of the homogeneous fluid.
Cricondenbar/Cricondentherm Equations
The cricondenbar/cricondentherm for phase X is taken as a saturation point with additional
constraints. It solves the Nc+1 saturation equations (Nghiem, Li and Heidemann, 1985):
G i ln K i + ln i X V , p, T ln i X L , p, T = 0
D y i ln K i + ln i X V , p, T ln i X L , p, T
) ]= 0
with
ln iV ln iL
D
= y i
T
T
i
T
= 0 for cricondenbar
or
ln iV ln iL
D
= y i
p
p
i
p
= 0 for cricondentherm
(2.5.1)
Analytical derivatives for ln could be used. The primary variables are ln Ki, p and T.
i = 1,..., N c
(2.6.1)
G N c +1
i =1
(K i 1)z i = 0
1 + Fv (K i 1)
(2.6.2)
where
K i = x iV / x iL
User's Guide WinProp
Appendix B 193
For specified z1 and z2, the variables required to completely determine the system are p, T, Fv,
K1, K2,..., KNc, .
A total of Nc+4 variables with Nc+1 equations (2.6.1 and 2.6.2).
All variables are designated into three groups:
i
ii
iii
The values of the fixed variables will be kept constant throughout the calculations. For each
point in the phase envelope, the value of the specified variable is fixed and the Nc+1
equations solved to give the Nc+1 primary variables. The value of the specified variable is
then incremented and the whole process is repeated to form the complete phase diagram.
The secondary variables xiL and xiV are computed from
x iL = z i /[1 + Fv (K i 1)]
(2.6.3)
x iV = z i K i / [1 + Fv (K i 1)]
Various phase diagrams are formed by different designation of variables:
p-T
p-X
T-X
Ternary
Primary,
ln Ki
ln T
ln Ki
ln p
ln Ki
ln T
ln Ki
Fv
Specified,
ln p
Fixed
Fv
ln T
Fv
ln p
Fv
ln T
The natural log is used to bring the magnitude of all the variables to a comparable basis.
Ki =
p ci
p
i=1,...,n
Newton's method is used to solve for 1. After convergence has been achieved, i.e.
2
( (kk,i+1) (kk,i) ) <
n +1
i =1
1
1
The above equation is used to obtain the initial guess 2(0) at 2 by linear extrapolation:
(20 ) = 1 + ( 2 1 )
1
for the k-th point on the phase envelope with k 3, Michelsen used a third order extrapolation
of the form:
(20,k) = a k 0 + a k1 k + a k 2 2k + a k 3 3k
(2.6.4)
where akj, j=0,1,...,3, are the coefficients of the polynomial computed using the information of
the last two points (i.e. k-1, k-2). The step size, or in other words, the difference between two
subsequent specifications k-1 is chosen within prescribed limits such that an increase takes
place if less than 3 iterations are used to solve the equations, and a decrease takes place if
more than 4 iterations are used. Usually, the step size is multiplied by a factor greater than
one in the former case, and multiplied by a factor less than one in the latter.
Although the phase envelope construction starts with a specification of pressure, another variable
can become a specified variable at its place during the construction of the phase envelope.
Indeed, if (/)k-1 is large in magnitude making the extrapolation inappropriate, the variable
corresponding to k-1 will become a primary variable for the k-th point, and the one
corresponding to k-1,i will become the specified variable.
Appendix B 195
The phase envelope construction does not restrict to the bubble point locus (F=0) or dew point
locus (F=1) construction. The locus of any given F(0F1) can also be generated. For
convenience, the locus corresponding to 1-F is always generated along with the one
corresponding to F. Michelsen also uses an interpolation polynomial of the form (2.6.4) based
on points on each side of the critical point to estimate the latter. The criteria used are that the Kvalues are equal to one at the critical point. He reported that the pc and Tc obtained are accurate
to 1 kPa and 0.01 K respectively. The same approach is used to estimate the cricondentherm
where T/p = 0 and the cricondenbar where p/T = 0.
START
Specify ,
Set up initial guess
Yes
STOP
No
Unphysical
results
Yes
Reduce
step size
No
One point
in the phase diagram
converged
Yes
Extrapolate
variables
Stability check
Output
Adjust new
step size
Complete
phase diagram
constructed
Yes
Printer
plot
STOP
196 Appendix B
ln K iq + ln iQ ln iL = 0
(2.7.1)
where
K iv = x iV / x iL
and
K iq = x iQ / x iL
i=1,...,Nc
(x
Nc
i =1
V
i
Nc
(K iv 1) z i
i =1
Fl + Fv K iv + Fq K iq
x iL =
Nc
Nc
(K iq 1) z i
i =1
i =1
Fl + Fv K iv + Fq K iq
(x iQ x iL ) =
=0
=0
(2.7.2)
with the constraint Fl + Fv + Fq = 1. Subscript L and Q denote the liquid 1 and 2 respectively.
A three phase flash calculation corresponds to solving the 2Nc+3 nonlinear equations for the
2Nc+2 primary unknowns ln(Kiv), ln(Kiq), Fl, Fv and Fq. The mole fractions are treated as
dependent variables:
x im = K im z i / (K iv Fv + K il Fl + K iq Fiq )
(2.7.3)
A stage wise procedure is used for the three phase flash calculation. A two phase calculation
is first performed. The initial guess for the third phase is then obtained from the stability test.
QNSS method is used to solve the equilibrium equations. During each iteration, equations
(2.7.2) are used to update Fl, Fq and Fv.
Appendix B 197
START
Single phase
2 phases
Stability test
Stable
Unstable
Solve material balance equation for phase split
3 phases
Update K-values by QNSS method
Program
converged
No
Yes
Sort phases according to density
L-V
V = Vapor Phase
L = Liquid phase 1
Q = Liquid phase 2
- = Equilibrium
L-Q-V
STOP
H add
y 1 T 2, P
ISENTHALPIC
FLASH
CALCULATIONS
z, T 1, P
y 2 H spec
yn
H spec = H in + H add
i = 1,..., n c
j = 1,..., n p
y ij
yi R i
(2.8.1)
where yij is the mole fraction of Component i in Phase j and R is the reference phase for the Kvalue definition. Note that Ri need not be the same for all components. This gives extra
flexibility to define K-values in the cases that components are not always present in all phases.
The values of these K-values are obtained from an EOS by solving equilibrium equations.
By definition KiR, = 1.
Let Fj be the mole fraction of phase j in the system, the compositions can be obtained from
material balances as follows
y ij =
z i K ij
(2.8.2)
and
np
i = Fk K ik
(2.8.3)
k =1
n ij = Fj y ij =
(2.8.4)
From the constraints that the mole fractions must sum up to unity, (np-1) independent
equations can be derived
nc
g j y ij y in p = 0
i =1
j=1,...,np-1
(2.8.5)
nc
z i K ij K in p
i =1
gj
)=0
j=1,...,np-1
(2.8.6)
Appendix B 199
The above are the material balance equations used in isothermal flash calculations. For
isenthalpic flash calculations, there is an additional energy balance equation, i.e.
np
nc
j=1
i =1
g n p H H spec = Fj (y ij h ij ) H spec = 0
(2.8.7)
where Hspec is the specified molar enthalpy of the system and hij is the partial molar enthalpy
of Component i in Phase j which is also obtained from an EOS. Equations (2.8.6) and (2.8.7)
form a system of np equations for the np unknowns T and Fj (j=1,...,np-1). As the phase mole
fractions must sum up to unity, it follows that
Fn p = 1
n p 1
Fj
(2.8.8)
j=1
The K-values are obtained from the following thermodynamic equilibrium equation
i = 1,..., n c
j Ri
ln K ij + ln ij ln iR i = 0
(2.8.9)
(2.9.1)
where
K iv = x iV / x iL
and
K iv = x iW / x iL
Material balance equations:
Nc
Nc
(K iv 1)z i
i =1
i =1
Fl + Fv K iv + Fw K iw
(x iV x iL ) =
Nc
Nc
(K iw 1)z i
i =1
i =1
Fl + Fv K iv + Fw K iw
(x iW x iL ) =
200 Appendix B
=0
=0
(2.9.2)
User's Guide WinProp
(2.9.3)
For the components j which are assumed not soluble in the aqueous phase, take Kjw = 0 and
remove the corresponding equilibrium equation from the equation set. The system of
equations can be solved by the quasi-Newton successive substitution method discussed in
Nghiem and Li (1984) and Mehra et al (1984).
Thermodynamic Models
The liquid and vapor phases are modelled by the cubic EOS, and the solubility in the aqueous
phase is handled by Henry's law.
Henry's law for a component sparingly soluble in the aqueous phase states
ln iW = ln (H i / p )
iw
(2.9.4)
where the bold superscript w denotes the water component, and the regular subscript w
denotes the aqueous phase. Hi is the Henry's law constant of component i in the aqueous
phase. The variation of Henry's law constant with respect to pressure and temperature
follows the equation:
ln H i = ln H *i + v i p / (RT )
(2.9.5)
RT
ci
T p ci
= 0.0095 + 2.35
CT
ci
(2.9.6)
C = h ow h sw + p sw v sw RT / v sw
(2.9.7)
pws is the saturated vapor pressure of water at the temperature T, pws is the molar volume of
water at pws and T, and hws - hwo is the enthalpy departure of liquid water pws and T.
The fugacity of the component water in the aqueous phase can readily be obtained from the
fugacities of the solutes using the Gibb's-Duhem equation as in Prausnitz (1969):
p v
w
f ww = x ww sw p ww exp
dp
p sw RT
(2.9.8)
where ws is the fugacity coefficient of pure water at pws and vpws is the molar volume of pure
water.
Appendix B 201
p sw and h ow h sw
(2.9.9)
K iv = p ci / p exp[5.42(1 + i ) (1 Tci )]
K iw = K iv p / H i
The following table summarizes the reference Henry's law constant stored in WinProp (Li
and Nghiem, 1986).
Coefficients
Component
Methane
Ethane
Propane
n-Butane
n-Pentane
n-Octane
Carbon Dioxide
Carbon Monoxide
Nitrogen
Hydrogen Sulfide
(1)
0.2
10.9554
13.9485
14.6331
13.4248
16.0045
31.9431
11.3021
10.7069
10.7090
10.8393
11.3569
13.8254
14.4872
13.8865
16.2281
28.6725
10.6030
11.1313
11.4793
9.8897
1.17105
1.66544
1.78068
1.71879
2.13123
4.37707
1.20696
1.08920
1.16549
1.11984
Water Interaction
Coefficient
0.4907
0.4911
0.5469
0.5080
0.5000
0.4500
(1)
0.2000
0.2750
0.1200
T 373 K
T > 373 K
where
H*
10 3
10 6
C
ln si = A + B
T2
fw
T
202 Appendix B
T
fws
Hi*
:
:
:
temperature, K
fugacity of saturated water, atm
reference Henry's constant, atm
START
L Disappears
2 Equilibrium phases
W Disappears
Unstable
Stability
Test
Unstable
Unstable
Stable
Disappears
Stability
Test
Stability
Test
Stable
W-L
L-V
W=Aqueous phase
L = Liquid phase
V = Vapor phase
- = Equilibrium
W-L-V flash
calculation
V or L
Disappears
L-V-W
STOP
Q N = 0
(2.10.1)
and
C=
i
3A
n i n j n k
n i n j n k = 0
(2.10.2)
Q ij =
= RT
n j
n i n j T ,V
T ,V
(2.10.3)
An efficient successive substitution solution procedure of the above equations has been
proposed by Michelsen and Heidemann (1981) and summarized as follows:
Select an initial value of ( vc/b).
User's Guide WinProp
Appendix B 203
(k )
(( ) ( ) )/ (C ( ) C ( ) )
k
k 1
*k
* k -1
The factor (-1)2 is added to enhance stability. Repeat this process until C* = 0.
Initial estimates suggested are = 3.5, Tc = 1.3 x i Tci . Another method to initiate the
i
calculation is to start with fixed step size of (say 0.1) until the cubic form (equation 2.10.1)
changes sign. Then follow the above solution procedure.
START
Initialize Tc
Set initial vc / b
Trace
stability
limit
Yes
No
Solve quadratic
form for Tc , N
Interpolate
cubic form
for and Tc
Solve quadratic
form for Tc , N
Yes
Cubic
form changes
sign
Increase by
fixed steps
Update
No
Maximum
reached
Cubic
form=0
Yes
No
Yes
Calculate Pc from Vc , Tc
No critical
point detected
STOP
STOP
Viscosity Correlation
In analogy to the Jossi, Stiel and Thodos equation, the following viscosity correlation is used
(Fong and Nghiem, 1980):
204 Appendix B
[( ) + 10 ]
4 1 / 4
= a 0 + a 1 r + a 2 2r + a 3 3r + a 4 4r
(2.11.1)
nc
= x i v ci
i =1
1/
(2.11.2)
where vc is the critical molar volume used in the viscosity correlations. Generally vc is
identical to the critical volume of the component.
In WinProp, these are user input parameters which may be obtained from regression by matching
experimental viscosity measurements. If no information is available, they are defaulted to vc.
The mixture viscosity parameter is given by
x i Tci
i
x i MWi
i
1/ 2
1/ 6
x i p ci
i
2/3
(2.11.3)
(x i *i MWi1 / 2 )
(x i MWi1 / 2 )
(2.11.4)
where i , the low pressure viscosities for pure substances are from the Stiel and Thodos
(1961) equation:
*
(2.11.5)
4
with
i = Tc1i/ 6 MWi1 / 2 p ci2 / 3
(2.11.6)
and
Tr i = T / Tci
(2.11.7)
Appendix B 205
The parameter vci resembles the critical volume for component i. In fact for most usage
v ci = v ci . The parameters and a0 through a4 are usually obtained by regressing the
available data. If no viscosity information is available, the following values can be used:
a0
a1
a2
a3
a4
=
=
=
=
=
=
1
1.0230 x 10-1
2.3364 x 10-2
5.8533 x 10-2
-4.0758 x 10-2
9.3324 x 10-3
(2.12.1)
Newton's Method
( )( ) G ( )
(k ) = J 1
J = Jacobian matrix G/
(2.12.2)
QNSS Method
(k 1) G (k -1) (k 1)
(k 1) G (k -1)
with
(0 ) = QSTEP 1
and
limited to DGM 30
m limited to DVMAX 6
(2.12.3)
The QNSS method is restarted at every IREST iterations. Generally, IREST has the same
magnitude as the total number of components.
206 Appendix B
Reservoir fluid analyses usually report composition of all light and intermediate components.
Heavy components are lumped into a 'plus' fraction, e.g. C6+ where only the molecular weight
and specific gravity are reported. It is advantageous to split the plus fraction into the single
carbon number (SCN) fractions using model distribution e.g., C6, C7, ..., C45. The properties for
each SCN are then estimated by empirical correlations. The synthetic distribution is then
regrouped into a smaller number of hypothetical components (e.g., C6-C12, C13-C20, C21+) via
mixing rules.
Distribution Model
x ci =
dMW
MWi
with
C Co
(MW M o ) + f [C1 + C 2 (M M 1 )]
ln = (1 f )C o + 1
M1 M o
0; MW < M 1
f =
1; MW > M 1
(2.13.1)
The parameters Co, Mo are from the 'minus' fraction, the fraction immediately preceding the
plus fraction.
Co
Mo
=
=
The parameter M1 and C1 are calculated by matching the molar distribution to the molecular
weight and mole fraction of the plus fraction, X+ and M+
X+ =
dMW =
Mo
(M +
M o )X + =
Mo
1
+
C2
M1
e C1
e C1 e Co
C1 C o
C2
M1
MWd(MW ) =
C1 C o
Co
e 1 + (C1 C o 1)e C1 Co
(1 C 2 M 1 )e Ci
(2.13.2)
Appendix B 207
The parameter C2 is left as an adjustable parameter. It represents the final decline in the
molar density function. The following equation was found to represent well the conventional
oil in Canada:
C2
C3
=
=
A
B
C
D
E
F
G
=
=
=
=
=
=
=
- ln 10 / (14.C 3 )
A(M + - F) 2 + B(M + - F) + C(SG + - G) 2 + D(SG + - G) + E
where
2.8297 x 10-3
4.0001 x 10-1
-8.4344 x 10-3
-6.3014 x 102
12.0
200.0
0.853
and SG+ is the specific gravity of the plus fraction. It can be used when no other information
is available.
Selection of Molecular Weight Range of SCN Group
The molecular weight range of each SCN group, say SCNi, is chosen to be between
M1(i) = DERM(i-) and M2(i) = DERM(i+1-).
The defaults are DERM = 14.026 and (bias) = 0.75.
Properties of Single Carbon Number Fraction
With the model distribution the mole fraction and molecular weight of each single carbon
number (SCN) fraction, i, is easily calculated from the integral and the first moment:
x ci =
M2
dMW
(2.13.3)
M1
MWci =
1
x ci
M2
MWdMW + M o
M1
The specific gravity and normal boiling point for the SCN fraction are calculated from the
Hariu-Sage (1969) correlation and assuming a constant Watson's characterization factor,
Kuop, which is adjusted to match the measured specific gravity of the plus fraction SG+:
2
log10 (MWi )=
j= 0
k =0
j
A jk Tbki K uop
SG + = X i MWi /SG i
i
208 Appendix B
i=6,7,8,...
i=6,7,8,...
(2.13.4)
where
=
=
=
=
=
=
=
=
=
A00
A10
A20
A01
A11
A21
A02
A12
A22
0.6670202
4.583705 x 10-3
-2.698693 x 10-6
0.1552531
-5.755585 x 10-4
3.875950 x 10-7
-5.378496 x 10-3
2.500584 x 10-5
-1.566228 x 10-8
The critical properties of the SCN fractions are calculated using, for example, Twu's correlations.
Lumping into Hypothetical Components
Vc(1) =
Tc(1) =
8 j
1
8Vc
1/ 3
x j x k Vcj1 / 3 + Vck
1/ 3
x j x k Vcj1 / 3 + Vck
Tcj Tck
Appendix B 209
START
Number of
hypothetical components,
NG specified
Yes
No
Calculate NG
STOP
210 Appendix B
(2.14.1)
where is the interfacial tension in dyne/cm between the phases L and V. j is the molar
density in mol/cm3 of phase j and par is the parachor.
For hydrocarbon systems
p ari = CN i
(2.14.2)
where
CN 12
= 40
40.3 CN > 12
(2.14.3)
(2.14.4)
1/4 = p ari (x i L y i V )
(2.14.5)
i =1
where xi are the mole fractions in phase L and yi the mole fractions in phase V.
Regression
The major problem associated with phase-behavior matching with a cubic equation of state is
the selection of regression parameters. There are many parameters that can be selected as the
best set of parameters, and therefore a dynamic parameter-solution scheme is desired to avoid
tedious and time-consuming trial-and-error regression runs.
WinProp uses a regression technique where the most significant parameters are selected from
a large set of parameters during the regression process. This reduces the regression effort
considerably and alleviates the problem associated with the apriori selection of regression
parameters (Agarwal, Li and Nghiem, 1987).
Introduction
It is well known that cubic equations of state (EOS) will not generally predict accurately
laboratory data of oil/gas mixtures without the tuning of the EOS parameters (Coats and
Smart, 1986).
It has often been the practice to adjust the properties of the components (usually the heavy
fractions, e.g. pc, Tc, , etc., to fit the experimental data.
Appendix B 211
The objective function of the regression involves the solution of complex nonlinear equations
such as flash and saturation-pressure calculations. A robust minimization method is therefore
required for rapid convergence to the minimum. In WinProp a modification of the adaptive
least-squares algorithm of Dennis et al (1981) is used. The modification involves the use of
some other nonlinear optimization concepts on direction and step-size selection due to Chen
and Stadtherr (1981).
The dynamic selection of the most meaningful regression parameters from a larger set of
variables is described in Application of the Regression Method to EOS Tuning section. This
feature is extremely useful in EOS fitting because it alleviates the problem of deciding apriori
the best regression variables, which is extremely difficult.
It should be stressed that the regression procedure will not correct the deficiencies of the EOS
used, and the EOS predictive capability depends entirely on the type and the accuracy of the
data used in the regression. For predictive purposes, attempts should be made to ensure that
the "tuned" parameters are within reasonable physical limits.
minimize f (x ) = R (x ) R (x ) = ri (x )
T
(2.15.1)
i =1
where
x = [x 1 , x 2 ,..., x n t ]
is the regression-parameter vector, with nr being the number of regression parameters and nm
the number of measurements to be fitted. Usually nm > nr. The elements of R(x) are denoted
by ri (x) which are nonlinear in x. When the equation of state is adjusted to match a set of
experimental data y
ri =
with
e i (x ) y i
yi
E(x ) = e1 (x ), e 2 (x ),..., e n m (x ) T
and
y = [y i , y 2 ,..., y n m ]
where E(x) are the equation-of-state results and y the experimental data points. In this case
the nonlinear least-squares problem consists of adjusting x so that the EOS results match the
experimental measurements.
212 Appendix B
The problem (2.15.1) may be solved by various methods for nonlinear parameter estimation
(Bard, 1974), and for nonlinear optimization (Himmelblau, 1972; Schittkowski, 1981). The
general purpose optimization methods however do not take advantage of the special structure
of the nonlinear least squares optimization problem (2.15.1). Several strategies are available
to exploit this structure. Coats and Smart (1986) used a modified linear programming least
squares algorithm to solve (2.15.1). Watson and Lee (1986) use a modification of the
Levenberg-Marquardt algorithm (see More', 1978) to solve a nonlinear least-squares problem.
In WinProp a modification of the adaptive least-squares algorithm of Dennis et al (1981) is used.
The algorithm departs from the method of Dennis et al in using some other nonlinear
optimization concepts on step-direction and step-size selection due to Chen and Stadtherr (1981).
It was found that the key to an efficient algorithm would be the fast and accurate (as far as
possible) estimation of the Jacobian matrix J.
It has been shown that the matrix J also determines the second derivative Hessian matrix 2f.
Consequently, a small change in the determination of J affects the performance of the
regression method quite dramatically.
The derivatives of the residuals R are calculated by numerical differentiation, since in most
cases it is not practical to obtain exact analytical derivatives.
The calculation of R at all times involves iterative processes, where the solution is only
available to some accuracy i.
If the Jacobian J is to be calculated by finite differences, the perturbation in the independent
variables x must be such that it is not masked by the convergence accuracy i or the truncation
and roundoff errors associated with the computation. It has been found that a perturbation of
1% in the independent variables is adequate to compute J by numerical differentiation.
Choice of Regression Parameters
Given a global set of regression parameters xj, j=1,...,np, the method selects an active subset
of nr parameters with which regression will be performed. The global set of regression
parameters is supplied by the user and may include any of the following parameters:
pci
Tci
vci
vit
MWi
Appendix B 213
dij
The interaction coefficients between hydrocarbons are estimated from the following equation
(Li, et al, 1985)
2 v1ci/ 6 v1cj/ 6
d ij = 1 1 / 3
1/ 3
v ci + v cj
(2.16.1)
The volume translation technique of Peneloux et al (1982) is used to correct the molar
volume (see Equations section).
The parameters xj are scaled by using the upper bound xj,max and lower bound xj,min of the
corresponding parameter such that they always lie between zero and unity.
x j = (x j x j,min ) / (x j,max x j,min )
(2.16.2)
The regression scheme sorts the np parameters in the descending order of |f / xj|.
From these np parameters, the first nr parameters are chosen for regression, i.e. the nr
parameters with the largest |f / xj|. nr is supplied by the user.
The regression proceeds on these nr parameters and if at any time during the regression, |f / xj|
becomes less than ri |, i=1,...,nm, the variable xj is dropped from the regression set and the next
variable on the original sorted list is added on. Indeed, since all xj are scaled between zeros and
unity, if |f / xj| is less than all |ri|, it is likely that xj has to go beyond its bounds to further
reduce ri. Therefore, it is logical that xj should be dropped from the active parameter set.
Another condition where xj is dropped is when it tries to go out of bonds for more than two
iterations.
At convergence, if the total number of regressed variables (including those which have been
dropped) is less than five, then new variables are added to the active regression set and the
original active regression variables with the smallest |f / xj| are removed from the active set
such that nr is preserved.
The flow chart of the parameter selection procedure is given in Figure B.2.
214 Appendix B
START
Calculate f / x j
j=1,2,...,n p and sort x j in
the descending order of magnitude of f / x j
Is
f / x j < r i for all i
or
x j = x j,min
for two iterations
or
=
x j x j,max
No
Yes
No
Conv erged?
Yes
Regressed
on at least five
variables?
Yes
STOP
No
Add more v ariables to the active regression set
Figure B.2: Flow Chart for Selecting the Active Regression Parameters
Appendix B 215
Properties of Components
The equations-of-state requires the critical properties as input. The critical properties for
common single real molecules have been measured and tabulated in numerous handbooks. A
fraction of the reservoir fluid, on the other hand, consists of numerous real molecules and
generally only their specific gravity, boiling point and molecular weights are measured.
Their critical properties are not determined. The components making up the reservoir fluid
are thus identified into two types: the built-in components and the user components. Built-in
components are those whose critical properties are known and have been stored in the phase
behavior package WinProp. User components are those whose properties are not stored and
must be supplied as input to WinProp.
Real Components
Component
CH4
C2H6
C3H8
iC4
nC4
iC5
nC5
nC6
nC7
nC8
nC9
nC10
nC16
N2
CO2
H2S
H2O
Toluene
Benzene
Cyclo-C6
FC6
FC7
FC8
FC9
FC10
FC11
FC12
216 Appendix B
p c,
atm.
v c,
l/gmole
45.400
48.200
41.900
36.000
37.500
33.400
33.300
29.300
27.000
24.500
22.800
20.800
14.000
33.500
72.800
88.200
217.60
40.600
48.300
40.200
32.460
30.970
29.120
26.940
25.010
23.170
21.630
0.0990
0.1480
0.2030
0.2630
0.2550
0.3060
0.3040
0.3700
0.4320
0.4920
0.5480
0.6030
0.9560
0.0895
0.0940
0.0985
0.0560
0.3160
0.2590
0.3080
0.3440
0.3810
0.4210
0.4710
0.5210
0.5740
0.6260
Tc,
deg. K
190.60
305.40
369.80
408.10
425.20
460.40
469.60
507.40
540.20
568.80
594.60
617.60
717.00
126.20
304.20
373.20
647.30
591.70
562.10
553.40
507.50
543.20
570.50
598.50
622.10
643.60
663.90
acentric
factor
MW,
g/mol
0.00800
0.09800
0.15200
0.17600
0.19300
0.22700
0.25100
0.29600
0.35100
0.39400
0.44400
0.49000
0.74200
0.04000
0.22500
0.10000
0.34400
0.25700
0.21200
0.21300
0.26370
0.30240
0.33720
0.37810
0.41650
0.45530
0.49220
16.04300
30.07000
44.09700
58.12400
58.12400
72.15100
72.15100
86.17800
100.2050
114.2320
128.2590
142.2860
226.4480
28.01300
44.0100
34.0800
18.01500
92.14100
78.11400
84.16200
86.0000
96.0000
107.0000
121.0000
134.0000
147.0000
161.0000
Component
FC13
FC14
FC15
FC16
FC17
FC18
FC19
FC20
FC21
FC22
FC23
FC24
FC25
FC26
FC27
FC28
FC29
FC30
FC35
FC36
FC37
FC38
FC39
FC40
FC41
FC42
FC43
FC44
FC45
pc ,
atm.
vc,
l/gmole
20.430
19.330
18.250
17.150
16.350
15.650
15.060
14.360
13.830
13.260
12.830
12.380
11.840
11.480
11.130
10.760
10.490
06.310
09.910
08.660
08.530
08.290
08.130
07.900
07.780
07.600
07.460
07.250
07.140
0.6740
0.7230
0.7770
0.8350
0.8840
0.9300
0.9730
1.0270
1.0730
1.1260
1.1700
1.1510
1.2020
1.2400
1.2790
1.3230
1.3560
2.0060
1.5890
1.6320
1.6570
1.7020
1.7340
1.7800
1.8060
1.8440
1.8780
1.9280
1.9550
Tc,
deg. K
682.40
700.70
718.60
734.50
749.20
760.50
771.00
782.90
793.30
804.40
814.00
823.20
832.70
841.20
849.60
857.70
864.30
832.80
905.90
912.10
917.30
923.40
928.20
934.30
938.50
942.80
947.60
953.70
957.80
acentric
factor
MW,
g/mol
0.52480
0.55720
0.58990
0.62250
0.64960
0.67240
0.69280
0.71670
0.73610
0.75690
0.77350
0.93510
0.96690
0.99090
1.01450
1.03960
1.05850
1.23760
1.17720
1.19660
1.20850
1.22780
1.24120
1.26020
1.27070
1.28560
1.29880
1.31730
1.32750
175.0000
190.0000
206.0000
222.0000
237.0000
251.0000
263.0000
275.0000
291.0000
300.0000
312.0000
324.0000
337.0000
349.0000
360.0000
372.0000
382.0000
394.0000
445.0000
456.0000
464.0000
475.0000
484.0000
495.0000
502.0000
512.0000
521.0000
531.0000
539.0000
The properties for the first 20 are obtained from Reid et al (1977). The next 30 components,
FC6 to FC45 represent typical hydrocarbon fractions C6 to C45.
Their critical properties are calculated with the correlations of Kesler and Lee (1976), using
the averaged normal boiling points and specific gravities of C6 to C45 reported by Whitson
(Whitson, 1983; Katz and Firoozabadi, 1978). These components can be used for rough
calculations if no other information about the heavy ends are available.
Appendix B 217
User Components
For User components, usually only the physical properties molecular weight, boiling point and/or
specific gravity are known. The critical properties are calculated from empirical correlations.
Numerous such correlations are available in the literature. A survey by Whitson (1982) suggested
the use of Kesler-Lee correlations for conventional oil. For heavy hydrocarbons the correlation of
Twu (1984) generally yields reasonable results (Fu et al, 1986). These two methods are available
in WinProp to calculate the required critical properties. In view of its simplicity, the method of
Riazi-Daubert is also available. The correlations are summarized below.
Kesler and Lee (1976)
ln p c
(
(
(
= 8.3634 0.0566 SG
0.24244 + 2.2898 / SG + 0.11857 / SG 2 10 3 Tb
1.46850 + 3.6480 / SG + 0.47227 / SG 2 10 7 Tb2
0.42019 + 0.0000 / SG + 1.69777 / SG 2 10 10 Tb3
)
)
)
where
p c in psia
Tb , Tc in o R
= Tb / Tc
1/ 3
K c = (CABP) / SG
CABP = cubic average boiling point in o R
(2.17.1)
Twu (1984)
Critical temperature:
Tc = Tco [( 1 + 2 f T ) / ( 1 2 f T ) ]
[(
)]
SG T = exp 5 SG o SG 1 1
218 Appendix B
Critical volume:
Vc = Vco [( 1 + 2 f V ) / ( 1 2 f V )]
[(
)]
SG V = exp 4 SG o 2 SG 2 1
Critical pressure:
p c = p oc Tc / Tco
f p = SG p
) (V
o
c
/ Vco
) [( 1 + 2 f ) / ( 1 2 f )]
[( 2.53262 46.1955 / T
1/ 2
b
0.00127885 Tb
[ (
)]
SG p = exp 0.5 SG o SG 1
Molecular weight:
ln MW = ln MW o [( 1 + 2 f M ) / ( 1 2 f M )]
f M = SG M
[ x + ( 0.0175691 + 0.193168 / T ) SG ]
1/ 2
b
[(
)]
SG M = exp 5 SG o SG 1
where
(
= (3.83354 + 1.19629
1/ 2
(2.17.2)
Appendix B 219
p c = 3.12281 x 10 9 T
2.315
b
Tc = 24.2787 T 0b.58848 SG
SG
2.3201
0.3596
where
p c in psia
Tb , Tc in o R
(2.17.3)
Interaction Coefficient
The importance of interaction coefficients, dij, in the accuracy of phase behavior calculations,
especially the saturation pressures, has been demonstrated by Peng and Robinson (1976),
Conrad and Gravier (1980) and Whitson (1982) among others. Theoretically, dij is introduced
to account for the molecular interaction between dissimilar molecules. Their values are usually
obtained by fitting the predicted saturation pressure curves to experimental data.
Hydrocarbon-Hydrocarbon Interaction
Katz and Firoozabadi (1978) have published the binary interaction coefficients between
methane and other heavy hydrocarbon fractions. Their values have been fitted to the density,
, of the fraction by Conrad and Gavier (1980) as:
d = 0.12903 - 0.05871
Whitson and Torp (1981) have fitted the same set of data using specific gravity, SG, as
correlating parameters:
d = 0.14 (SG) - 0.0668
The Institute of Thermodynamics (Technical University of Berlin) has accumulated a
comprehensive collection of data on vapor-liquid equilibrium. It contains approximately
55,000 experimental data for more than 120 binary systems. These have been evaluated by
Oellrich, Plocker, Prausnitz and Knapp (1981) to determine the interaction coefficients (both
hydrocarbon and non-hydrocarbon systems) for the commonly used equations-of-state
including PR and SRK.
Mehra (1981) and Li (1983) both used the following relations for hydrocarbon-hydrocarbon
systems:
2 V1 / 3 V1 / 3
ci
cj
d ij = 1 1 / 3
Vc + Vc1 / 3
j
i
(2.18.1)
with the constant n = 1. The same form is also proposed by Chueh and Prausnitz (1967) and
Chaudron, Asselineau and Renon (1973). Examining the paraffin-paraffin dij of Oellrich et al
(1981) shows that they could roughly be correlated using this equation with n = 1.2. Mehra
(1981) has also shown that this equation reproduces satisfactorily the methane interaction
coefficients of Katz and Firoozabadi (1978). Equation (2.18.1) is used in WinProp with n as a
user input parameter.
220 Appendix B
Hydrocarbon-Nonhydrocarbon Interaction
Besides Oellrich et al (1981), other researchers have also reported values of interaction
coefficients for hydrocarbon-nonhydrocarbon systems.
The reported interaction coefficient values between CO2 and hydrocarbons, dCO2-HC,
generally ranges from 0.1 to 0.13 for PR EOS (Oellrich et al, 1981; Hughes, Matthews and
Mott, 1981; Katz and Firoozabadi, 1978; Mehra, 1981). In addition, dCO2-HC correlations
have been proposed by Kato, Nagahama and Hirata (1981); Mulliken and Sandler (1980) and
Turek, Metcalfe, Yarborough and Robinson (1980). These correlations are generally
temperature dependent and complicated.
The reported interaction coefficient values between N2 and hydrocarbons, dN2-HC, generally
increases with increasing carbon number in the hydrocarbon, and range from 0.03 to 0.15
(Mehra, 1981; Oellrich et al, 1981; Katz and Firoozabadi, 1978).
The following table shows the interaction coefficients for nonhydrocarbons stored in WinProp.
N2
CH4
C2H6
C3H8
iC4
nC4
iC5
nC5
nC6
nC7
nC8
nC9
nC10
nC16
Toluene
Benzene
Cyclo-hexane
FC6-FC45
N2
CO2
H2S
H2O
.031
.042
.091
.095
.095
.095
.095
.100
.100
.100
.100
.100
.130
.120
.120
.120
.120
.000
-.020
.176
.275
CO2
.103
.130
.135
.130
.130
.125
.125
.125
.120
.115
.110
.110
.090
.120
.078
.106
.150
-.020
.000
.096
.200
H2S
.080
.070
.070
.060
.060
.060
.060
.050
.040
.040
.030
.000
.000
.000
.000
.000
.000
.176
.096
.000
.120
H2O
.4907
.4911
.5469
.5080
.5080
.5000
.5000
.4500
.4500
.4500
.4500
.4500
.4500
.4800
.4800
.4800
.4800
.2750
.2000
.1200
.0000
Appendix B 221
Nomenclature
a
b
c
Cp
dij
D
fi
F
Fj
G
GOR
hij
Hi
Hspec
Ki
Kij
L1
L2
MW
n
N
Nc
Np
NHYP
p
ri
R
T
T3p
ui
U
v
V
xi
X
zi
Z
222 Appendix B
Subscript
c
i
j
k,m
l
q
Ri
v
w
critical property
component number
component number, phase
phase
liquid phase 1
liquid phase 2
reference phase for component i
vapor phase
water phase
Superscript
E
k
L
o
Q
t
V
W
*
excess property
iteration number
liquid phase 1
non-translated volume
liquid phase 2
translated volume
vapor phase
water phase
ideal state, reference state
Other Symbols
a
b
1
2
Appendix B 223
Appendix B 225
Twu, C.H., "An Internally Consistent Correlation for Predicting the Critical Properties and
Molecular Weights of Petroleum and Coal-Tar Liquids," Fluid Phase Equil., Vol. 16, 1984,
pp. 137-150.
Turek, E.A., Metcalfe, R.S., Yarborough, L., and Robinson, R.L. Jr., "Phase Equilibria in
Carbon Dioxide - Multicomponent Hydrocarbon Systems: Experimental Data and an
Improved Prediction Technique," paper SPE 9231, presented at the 55th Annual Fall Meeting
of SPE-AIME, September 21-24, 1980, Dallas, Texas.
Watson, A.T., and Lee, W.J., "A New Algorithm for Automatic History Matching Production
Data," paper SPE 15228, presented at the Unconventional Gas Technology Symposium of
SPE, Louisville, Kentucky, May 18-21, 1986.
Whitson, C.H., "Effect of Physical Properties Estimation on Equation-of-State Predictions,"
SPE paper 11200, presented at the 57th Annual Fall Technical Conference of SPE-AIME,
September 26-29, 1982, New Orleans, Louisiana.
Whitson, C.H., "Characterizing Hydrocarbon Plus Fractions," SPEJ, Vol. 23, No. 4, August
1983, pp. 683-694.
Whitson, C.H., "Critical Properties Estimation from an Equation of State," SPE/DOE paper
12634, presented at the SPE/DOE Fourth Symposium on Enhanced Oil Recovery, Tulsa,
Oklahoma, April 15-18, 1984.
Appendix B 227