pvtp manual

Upload: yuhanis-fatihah-zainudain

Post on 06-Jul-2018

818 views

Category:

Documents


104 download

TRANSCRIPT

  • 8/18/2019 Pvtp Manual

    1/445

     

    Petroleum xperts 

    PVTP

    Version 6.5

    October , 2003

    USER GUIDE

  • 8/18/2019 Pvtp Manual

    2/445

  • 8/18/2019 Pvtp Manual

    3/445

    PVTP

    1 Introduction..................................................................................................................................11.1 PVT provides...........................................................................................................................1

    2 Installation and Windows Basics ..............................................................................................1

    2.1 Software and Hardware Requirements ...................................................................................12.1.1 Upgrading from a Previous Version ..............................................................................3

    2.2 Installing PVTP........................................................................................................................32.2.1 Running Setup...............................................................................................................42.2.2 The PROSPER.INI file ..................................................................................................4

    2.3 Starting PVTP..........................................................................................................................52.3.1 Connecting The Software Protection Bitlock.................................................................52.3.2 Creating the PVTP Icon.................................................................................................5

    2.4 REMOTE Software Utility ........................................................................................................62.4.1 Entering the User Authorisation Code...........................................................................6

    2.4.2 Updating the Software Protection Bitlock......................................................................8

    2.5 Program Check List.................................................................................................................8

    3 File Management .........................................................................................................................13.1 PVT File Types........................................................................................................................1

    3.2 PVT Data Files ........................................................................................................................23.2.1 PVT Project File (*.PVI ) ................................................................................................23.2.2 Extract Data (*.PVI) .......................................................................................................23.2.3 PVT Import ....................................................................................................................23.2.4 PVT Export Files............................................................................................................43.2.5 PROSPER EoS Composition (*.PRP)..........................................................................43.2.6 PROSPER Hydrate Formation (*.PHY).........................................................................53.2.7 General Data Export (*.PVE)........................................................................................53.2.8 Black Oil Tables (*.PTB)................................................................................................83.2.9 MBAL MultiI-PVT Export (*.PGD)................................................................................133.2.10 MBAL PVT with Depth - Black Oil Match Tables ........................................................163.2.11 MBAL Variable Bubble Point(Oil) Export (*.PVB)........................................................203.2.12 Saturated.....................................................................................................................203.2.13 Undersaturated............................................................................................................20

    3.3 MBAL Variable Bpt. Calculation Dialog.................................................................................253.3.1 Eclipse Type Export (*.INC) ........................................................................................293.3.2 Eclipse Export Setup Dialog.......................................................................................303.3.3 Eclipse Export Tables..................................................................................................343.3.4 Eclipse Compositional Export (*.PVO).......................................................................373.3.5 PVT Temporary Files ..................................................................................................38

    3.3.5.1 Temporary Data File (*.PSV)...............................................................................38

    3.4 File Operations ......................................................................................................................383.4.1 Creating a New File.....................................................................................................383.4.2 Opening an Existing File .............................................................................................383.4.3 Saving a File................................................................................................................393.4.4 Copying a File..............................................................................................................393.4.5 Closing Files................................................................................................................393.4.6 Restore Temp File.......................................................................................................39

    3.5 Software Key Maintenance ...................................................................................................403.5.1 Viewing the Software Key ...........................................................................................40

    PETROLEUM EXPERTS LTD 

  • 8/18/2019 Pvtp Manual

    4/445

    PVTP

    3.6 Printing ..................................................................................................................................403.6.1 Printer Set-up ..............................................................................................................403.6.2 Printing a Report..........................................................................................................41

    3.7 Units System .........................................................................................................................42

    3.7.1 Unit Options.................................................................................................................423.7.2 Variables......................................................................................................................423.7.3 Validation.....................................................................................................................433.7.4 Unit Systems ...............................................................................................................433.7.5 Changing the Units......................................................................................................433.7.6 Validation Limits ..........................................................................................................43

    3.8 Command Buttons.................................................................................................................44

    4 Models and Model Options.........................................................................................................14.1 The Black Oil Model ................................................................................................................1

    4.2 The Equation of State Model...................................................................................................14.2.1 The Acentric Factor .......................................................................................................24.2.2 The Binary Interaction Coefficient .................................................................................64.2.3 Volume Shift ..................................................................................................................84.2.3.1 Volume Shift Setup........................................................................................................9

    4.3 Wax Modelling.......................................................................................................................124.3.1 Wax Model Details.......................................................................................................154.3.2 Wax Model References ...............................................................................................18

    4.4 Hydrates ................................................................................................................................194.4.1 Background to Hydrates..............................................................................................194.4.2 Hydrate Modelling........................................................................................................21

    4.4.3 Hydrate Inhibition.........................................................................................................234.4.4 Hydrate Model References..........................................................................................24

    4.5 Compositional Gradient.........................................................................................................254.5.1 Background to Compositional Gradient ......................................................................254.5.2 Compositional Gradient References ...........................................................................28

    4.6 Viscosity and Thermal Conductivity Models..........................................................................294.6.1 Lohrenz,Bray,ClarkViscosity Model.............................................................................304.6.2 Pedersen et al Viscosity Model ...................................................................................314.6.3 Zhou et al Viscosity Model ..........................................................................................324.6.4 Little and Kennedy Viscosity Model.............................................................................344.6.5 Thermal Conductivity Model........................................................................................35

    4.6.6 Viscosity and Thermal Conductivity References.........................................................36

    4.7 Water Modelling ....................................................................................................................384.7.1 Water Modelling References .......................................................................................39

    PETROLEUM EXPERTS LTD 

  • 8/18/2019 Pvtp Manual

    5/445

    PVTP

    5 Main/Stream Options ..................................................................................................................15.1 PVT Main Menu.......................................................................................................................1

    5.1.1 File.................................................................................................................................25.1.2 Options ..........................................................................................................................25.1.3 Data ...............................................................................................................................2

    5.1.4 Calculation.....................................................................................................................25.1.5 Calc. Solids....................................................................................................................25.1.6 Streams .........................................................................................................................25.1.7 Reporting.......................................................................................................................25.1.8 Utilities ...........................................................................................................................25.1.9 Preferences...................................................................................................................35.1.10 Window..........................................................................................................................3

    5.2 Toolbar ....................................................................................................................................3

    5.3 Summary Page........................................................................................................................6

    5.4 Option Selection......................................................................................................................8

    5.4.1 Option Selection............................................................................................................85.4.2 PVT Method...................................................................................................................85.4.3 Fluid Type......................................................................................................................95.4.4 Separator.......................................................................................................................95.4.5 Equation of State...........................................................................................................95.4.6 User Information............................................................................................................95.4.7 User Comments...........................................................................................................10

    5.5 Streams Menu.......................................................................................................................105.5.1 Edit Stream Details......................................................................................................115.5.2 Add Stream..................................................................................................................115.5.3 Delete Stream..............................................................................................................145.5.4 Create a Stream to a target GOR................................................................................15

    5.5.5 Create a Stream to a target Saturation Pressure........................................................165.5.6 Blend Streams.............................................................................................................185.5.7 Allocate:Blend Streams to a Target GOR ...................................................................195.5.8 Add Water : Create a Stream with a Fixed Amount of Water .....................................215.5.9 Add Water : Create a Stream Saturated with Water ...................................................22

    PETROLEUM EXPERTS LTD 

  • 8/18/2019 Pvtp Manual

    6/445

    PVTP

    6 Black Oil Input .............................................................................................................................16.1 BLACK OIL PVT - General......................................................................................................1

    6.2 Toolbar ....................................................................................................................................26.2.1 BLACK OIL PVT - Oil ....................................................................................................3

    6.2.2 Match Data ....................................................................................................................36.2.3 Regression ....................................................................................................................46.2.4 Match.............................................................................................................................46.2.5 Match-all ........................................................................................................................46.2.6 Parameters ....................................................................................................................56.2.7 Viewing the Match Parameters .....................................................................................56.2.8 Calculations...................................................................................................................56.2.9 Calculating PVT Data ....................................................................................................66.2.10 Plotting the Calculated Data..........................................................................................76.2.11 BLACK OIL PVT - Dry and Wet Gas.............................................................................8

    6.2.11.1 Input Data..............................................................................................................86.2.11.2 Match Data ............................................................................................................8

    6.2.12 BLACK OIL PVT - Retrograde Condensate ..................................................................9

    6.2.12.1 Input Data..............................................................................................................96.2.12.2 Match Data ............................................................................................................9

    7 Input Data EoS.............................................................................................................................17.1 General Project Data Structure...............................................................................................1

    7.1.1 STREAMS.....................................................................................................................17.1.2 PSEUDO STORAGE.....................................................................................................2

    7.2 Selecting Components ............................................................................................................37.2.1 User Database Entries ..................................................................................................47.2.2 Recombination...............................................................................................................5

    7.2.2.1 MODE....................................................................................................................5

    7.3 Edit Composition .....................................................................................................................9

    7.4 Pseudo Properties.................................................................................................................147.4.1 Auto Matching of Densities..........................................................................................157.4.2 Automatic Mode...........................................................................................................167.4.3 Manual Mode...............................................................................................................177.4.4 Hint on Method............................................................................................................177.4.5 Auto-Matching of Densities and Viscosities ................................................................197.4.6 AutoMatching Viscosities ............................................................................................207.4.7 Splitting/Profilling Last Pseudo....................................................................................207.4.8 Original Numbers Store...............................................................................................227.4.9 Advanced Splitting Dialog ...........................................................................................22

    7.4.10 Split Profiles.................................................................................................................237.4.11 COPYING A SPLIT......................................................................................................267.4.12 Split Profile Dialog.......................................................................................................267.4.13 COPYING A PROFILE................................................................................................28

    7.5 Binary Interaction Coefficients...............................................................................................29

    7.6 Grouping and Properties Information....................................................................................307.6.1 Control Buttons............................................................................................................327.6.2 OmegaA and OmegaB................................................................................................347.6.3 Plotting Component Properties ...................................................................................36

    7.7 Grouping................................................................................................................................37

    7.8 Reference Data .....................................................................................................................39

    PETROLEUM EXPERTS LTD 

  • 8/18/2019 Pvtp Manual

    7/445

    PVTP

    7.9 Decontamination ...................................................................................................................407.9.1 Edit Mole Percents ......................................................................................................407.9.2 Decontamination Control Dialog..................................................................................41

    7.9.2.1 Decontamination Mode Selection Dialog ............................................................447.9.2.2 Decontamination Quick Look Dialog ...................................................................44

    7.9.2.3 Decontamination Pseudos Dialog .......................................................................46

    7.10 Match Data ............................................................................................................................477.10.1 Matching on Mixture Critical Temperature ..................................................................50

    7.11 Regression ............................................................................................................................527.11.1 Regression Parameter Selection Dialog .....................................................................557.11.2 Volume Shift ................................................................................................................577.11.3 Control Buttons............................................................................................................577.11.4 Mouse Shortcuts..........................................................................................................587.11.5 Separator.....................................................................................................................587.11.6 What Properties to Use in Regression........................................................................597.11.7 Matching Viscosity.......................................................................................................59

    7.11.8 Regression With Solids ...............................................................................................637.11.9 Model Selection...........................................................................................................657.11.10 Notes on Regression...................................................................................................657.11.11 Regression with OmegaA and OmegaB.....................................................................66

    7.12 Plot Test Points .....................................................................................................................67

    8 Calculation EoS...........................................................................................................................18.1 Critical Point Calculation .........................................................................................................2

    8.2 Phase Envelope ......................................................................................................................3

    8.3 Ranged Saturation Pressure...................................................................................................7

    8.4 Constant Composition Expansion (CCE) ................................................................................98.4.1 The Calculation Display...............................................................................................138.4.2 The Analysis Display...................................................................................................158.4.3 The Copy to Clipboard Dialog .....................................................................................17

    8.5 Constant Volume Depletion(CVD) ........................................................................................18

    8.6 Depletion Study(DEPL) .........................................................................................................21

    8.7 Differential Expansion(DIFF).................................................................................................24

    8.8 Composite Differential Expansion(COMPOS).......................................................................27

    8.9 Separator Process.................................................................................................................29

    8.10 Compositional Gradient.........................................................................................................348.10.1 Calculation Results Display.........................................................................................38

    8.11 Swelling Test .........................................................................................................................39

    8.12 Slim-tube Simulation .............................................................................................................418.12.1 Slim-tube Input dialog..................................................................................................428.12.2 Slim-tube cell data dialog ............................................................................................468.12.3 Slim-tube cell data dialog ............................................................................................47

    8.12.4 Slim-tube time steps dialog .........................................................................................488.12.5 Slim-tube calculations dialog.......................................................................................49

    PETROLEUM EXPERTS LTD 

  • 8/18/2019 Pvtp Manual

    8/445

    PVTP

    8.12.6 Slim-tube analysis dialog.............................................................................................518.12.7 Slim-tube cell detail dialog...........................................................................................52

    8.13 Quick Calculation Control Button ..........................................................................................538.13.1 Small Separator Calculation Dialog.............................................................................55

    9 Calculation of Solids...................................................................................................................19.1 Wax Amount Calculation.........................................................................................................1

    9.1.1 The Analysis Display.....................................................................................................4

    9.2 Wax Appearance Temperature ...............................................................................................5

    9.3 Hydrate Formation Pressure...................................................................................................89.3.1 Calculations Dialog......................................................................................................12

    9.4 Hydrate Minimum Inhibitor Concentration.............................................................................12

    10 Reporting......................................................................................................................................110.1 Setting Up the Reporting System............................................................................................1

    10.2 Reports....................................................................................................................................1

    10.3 Template Editor Commands....................................................................................................4

    11 Plotting 111.1 The Plot Display ......................................................................................................................1

    11.1.1 Manipulating Streams....................................................................................................111.1.2 Manipulating Curves......................................................................................................211.1.3 The Plot Menu and Toolbar...........................................................................................5

    11.2 Plot Menu Options...................................................................................................................711.2.1 File.................................................................................................................................711.2.2 Display...........................................................................................................................811.2.3 Output............................................................................................................................9

    11.3 The Toolbar Options..............................................................................................................10

    12 Utilities 112.1 API/Density Calculator ............................................................................................................1

    12.2 Mass Balance Calculator.........................................................................................................2

    12.3 Enthalpy Balance Calculator ...................................................................................................412.3.1 Single Point Enthalpy Balance ......................................................................................412.3.2 Multiple Point Enthalpy Balance....................................................................................5

    12.4 Hoffmann Quality Plot .............................................................................................................7

    13 User Databases ...........................................................................................................................113.1 Creating a User Database.......................................................................................................2

    13.2 Selecting a User Database Directory......................................................................................3

    13.3 Editing a User Database .........................................................................................................4

    PETROLEUM EXPERTS LTD 

  • 8/18/2019 Pvtp Manual

    9/445

    PVTP

    13.4 Importing into User Database..................................................................................................6

    14 Preferences..................................................................................................................................114.1 Adjusting the Equation of State Calculation Tolerences .........................................................2

    Appendix A - Worked Examples .......................................................................................................1 A1 Example 1 - EOS calibration of oil sample using PVTP..........................................................1

     A1.1 Step-by-step approach to building an EOS model in PVTP..........................................3 A1.2 Step-by-step approach to Calibrating an EOS model in PVTP...................................14 A1.3 Using PVTP to generate Tables for other applications ...............................................23

     A2 Example 2 - EOS calibration of a Condensate Sample using PVTP....................................30 A2.1 Step-by-step approach to building an EOS model in PVTP........................................33 A2.2 Calibrating an the EOS model in PVTP ......................................................................37 A2.3 Checking results of the calibrated model against lab data..........................................40 A2.4 Simulating PVT Experiments in PVTP ........................................................................42

     A3 Example 3 – Estimating Decontaminated sample properties of an contaminated Oil Sampleusing PVTP......................................................................................................................................47

     A3.1 Step-by-step approach to decontamination in PVTP ..................................................50

    Appendix B Step by Step Guide .......................................................................................................1B1 List of Steps.............................................................................................................................1

    B1.1 Step 1: Create a New File .............................................................................................2B1.2 Step 2: Select Equation of State Options......................................................................3B1.3 Step 3: Select Components...........................................................................................4B1.4 Step 4: Enter Composition ............................................................................................6

    B2 Sample PVT Report Composition ...........................................................................................8

    B2.1 Step 5: Initialise the Pseudo Component Properties.....................................................9B2.2 Step 6: Match the Surface Volumetric Properties (Density, GOR etc.) using the Automatch feature.......................................................................................................................11B2.3 Step 7: Use Pseudo-Splitting or BI Coefficients to get near Reservoir SaturationPressure Value............................................................................................................................13

    B2.3.1 Strategy for Achieving Saturation Pressure ........................................................15B2.3.2 Using BI Coefficients...........................................................................................18B2.3.3 Using Pseudo Splitting ........................................................................................20

    B2.4 Step 8: Select Match Parameters................................................................................22B2.4.1 How is Match Data entered? ...............................................................................23

    B2.5 Step 9: Use Regression to Match Fluid.......................................................................27B2.6 Step 10: Check and Refine the Fluid Characterisation ...............................................29B2.7 Step 11: Calculate, Report and Export........................................................................30

    Appendix C Decontamination Procedure ........................................................................................1

    PETROLEUM EXPERTS LTD 

  • 8/18/2019 Pvtp Manual

    10/445

    PVTP

    PETROLEUM EXPERTS LTD 

    Appendix D PVTP OPEN SERVER Manual...........................................................................................1D1 Introduction..............................................................................................................................1

    D1.1 About This Guide...........................................................................................................1D1.2 What is in this guide ......................................................................................................1D1.3 How To Use This Guide ................................................................................................2

    D1.4 Symbols and Conventions.............................................................................................2

    D2 Overview..................................................................................................................................3D2.1 Basic Functions.............................................................................................................3D2.2 GetValue........................................................................................................................3D2.3 SetValue ........................................................................................................................3D2.4 DoCommand .................................................................................................................3D2.5 Calling the Functions.....................................................................................................4D2.6 Automation ....................................................................................................................4D2.7 Batch File.......................................................................................................................4

    D3 Potential Uses .........................................................................................................................5D3.1 Batch Runs....................................................................................................................5

    D3.2 Custom Reporting..........................................................................................................5D3.3 Data Import/Export ........................................................................................................6D3.4 Enhanced Prediction Runs in GAP ...............................................................................6D3.5 Running PETEX programs with other engineering software applications.....................6

    D4 Support....................................................................................................................................7

    D5 Using the OPENSERVER ...........................................................................................................8D5.1 Variable Text Strings.....................................................................................................8D5.2 Automation ....................................................................................................................9

    D5.2.1 Example Macro....................................................................................................10D5.2.2 Framework...........................................................................................................11D5.2.3 DoCommand .......................................................................................................12

    D5.2.4 SetValue ..............................................................................................................12D5.2.5 DoCommandAsync..............................................................................................13D5.2.6 GetValue..............................................................................................................13

    D5.3 Batch File.....................................................................................................................15D5.3.1 Running a Batch File ...........................................................................................15D5.3.2 Formatting Commands........................................................................................16D5.3.3 DoCommand .......................................................................................................16D5.3.4 SetValue ..............................................................................................................16D5.3.5 GetValue and GetValPrint ...................................................................................17

    D6 PVTP and the OPENSERVER ..................................................................................................18D6.1 OverView.....................................................................................................................18D6.2 File and Streams .........................................................................................................19

    D6.3 BLACKOIL...................................................................................................................20D6.4 OPTIONS ....................................................................................................................21D6.5 STREAMBASE[stream no. or stream name] ..............................................................22D6.6 STREAMRUN[stream no. or stream name] ................................................................25D6.7 CALCUL[stream no. or stream name].........................................................................27D6.8 Carrying out Calculations and Obtaining Results........................................................31

    D6.8.1 Analysis ...............................................................................................................33D6.9 Flash Calculation.........................................................................................................34D6.10 Small Separator Calculation........................................................................................34D6.11 Saturation Pressure at Reference Calculation............................................................36D6.12 Recombination Calculations........................................................................................36D6.13 Allocate: Blending to a target GOR.............................................................................37

  • 8/18/2019 Pvtp Manual

    11/445

    PVTP   P V

    T

    ω

  • 8/18/2019 Pvtp Manual

    12/445

    PVTP

  • 8/18/2019 Pvtp Manual

    13/445

    PVTP

    Measurement Units

    Reporting

  • 8/18/2019 Pvtp Manual

    14/445

    2 Installation and WindowsBasics

    This chapter explains how to install PVTP on your computer. The guide assumesyou have a working knowledge of Windows terms and procedures. If you areunfamiliar with the Windows operating system, we recommend you read therelevant sections in the Microsoft Windows User's Guide  to learn more aboutWindows operations.

    This chapter gives instructions on installing the program to a Windows 98, 2000 orWindows NT operating system.

    2.1 Software and Hardware Requirements

    The program supports all Windows-certified device drivers that are shipped withWindows. The list of devices, software and hardware supported by Windows isincluded with the documentation of your copy of Windows.

    PVTP can be run as single User licence or on a Network. In either case, a special

    security key is needed. The security key is called Bitlock for stand-alone licencesand Hardlock  for network licences

    The security key is provided by Petroleum Experts.

    The minimum requirement recommended for PVTP  is Pentium 450 MHz machinewith 128 Mbytes.

    In order to install the software from the CD, the machine should have access to aCD drive.

    For a stand-alone licence, a security key (Bitlock) provided by Petroleum Expertsmust be attached to the parallel printer port of the PC before PVTP can be run.

    For network installation, the security key (Hardlock) can be attached to any PCcommunicating with the network.You should refer to the separate installation procedure for network Hardlock sentwith the purchase of a Hardlock licence.

    If PVTP has been installed for the first time on a machine, the Bitlock driver must beinstalled on this machine in order to establish the link between the software and thesecurity key (Bitlock driver).

    In order to install the Bitlock driver, you will have to start from the main Windowsscreen. Here you click on |Start |Programs |Petroleum Experts IPM |Utilities and

    then start the “Set-up Bitlock Driver”.

  • 8/18/2019 Pvtp Manual

    15/445

    2 - 8 PVTP  User Guide

    This will prompt the following screen.

    From the screen above, you will have to run the |Functions |Install Sentinel Driver |OK.

    You might need to modify the path of the sentinel files.You should ensure that you have the permission to install a driver.Your IT manager can help you getting the required permission. 

    Petroleum Experts

  • 8/18/2019 Pvtp Manual

    16/445

    Chapter 2 - Installation and Windows Basics 3 - 8

    2.1.1 Upgrading from a Previous Version

    For convenience in running linked models, Petroleum Experts software productsnow installs by default into a common sub-directory \Program Files \PetroleumExperts\IPM X.Y.

    If you wish to keep an original version of the program, back it up into anotherdirectory before installing the upgrade.

      All program upgrades are backward compatible. This ensures that data filescreated with earlier versions of the program can still be read by laterprogram versions. However, if you save a data file with the new version,that file can no longer be opened by earlier versions!  As with all newsoftware installations, always back up your PVTP files.

    2.2 Installing PVTP Before installing the program on your computer, you should first determine:

    The drive where the program is to be installed•

    The amount of space available on the selected drive

    When installing on a network, verify you have the necessary access rights tocreate directories and files on the designated volume.

    What Set-up doesThe installation procedure:

    Creates a program directory on your hard disk.

    Creates a sample files sub directory on your hard disk.

    Unpacks the PVTP  program and related files to the selected drive anddirectory.

    Creates a program initialisation file PROSPER.INI in your Windows directory.

    Creates a new Windows program group and icon for both PVTP  andREMOTE.

    If you are updating PVTP, the set-up can be used to modify, repair or remove

    components of the IPM suite. In this case, follow the online instructions

    To avoid potential system resources conflicts, please shut down otherapplications before running SETUP. Some anti-Virus programs caninterfere with the installation process and may need to be shut down.

    PVTP  User Guide

  • 8/18/2019 Pvtp Manual

    17/445

    4 - 8 PVTP  User Guide

    2.2.1 Running Setup

    To install the PVTP program:

    1. Insert the program installation CD in the correct drive.

    2. From the main screen of Windows, click on |Start |Run and follow theonline instructions.

    The option “Repair” is recommended.

    2.2.2 The PROSPER.INI file

    The PROSPER initialisation file contains the settings you use to customise the PVTP application environment. Settings such as the program data directory, customisedunits system, last file accessed and the colour settings of your screen graphics areall stored in this file. You do not need to manually modify the PROSPER.INI file.

    The program will automatically record any changes to the settings.

    PVTP automatically creates the PROSPER.INI file in the Windows default directoryusing the program's default settings. The location of this file is defined by this entryin your WIN.INI file:

    [PETROLEUM EXPERTS] IniPath=PROSPER.INI 

    We do not recommend changing the location of the PROSPER.INI file. If however,

    you want to do so for specific reasons (to place it on a specific network drive), takethe following steps:

    1. First copy the existing PROSPER.INI file to the required directory. Forexample:

    COPY C:\WINDOWS\PROSPER.INI

    U:\NETWORK\APPS\PVTP\PROSPER.INI

    2. Next amend the 'IniPath' entry in WIN.INI to correspond to the newdirectory and path where the PROSPER.INI is now located. e.g.:

    IniPath=U:\NETWORK\APPS\PVTP\PROSPER.INI

    During the installation PVTP unpacks a number of files onto your computer in the

    specified installation directory. The unpacked files should not be modified, removedor moved to another directory.

    Petroleum Experts

  • 8/18/2019 Pvtp Manual

    18/445

    Chapter 2 - Installation and Windows Basics 5 - 8

    2.3 Starting PVTP 

    Before starting the program, make sure the software protection Bitlock (dongle) isconnected to your PC and that the Bitlock Driver has been installed .

    2.3.1 Connecting The Software Protection BitlockThe software protection Bitlock must be attached to the PARALLEL printer port. Do Not  connect the Bitlock to a serial port, as this can damage the Bitlock or your PC. If you areusing protection Bitlocks for other software, we do not recommend stacking the Bitlocks.We suggest using only the correct Bitlock with the appropriate software. Stacking Bitlocksmay lead to incompatibilities between Bitlocks, and may cause read/write or access errorswith some Bitlocks.

    2.3.2 Creating the PVTP Icon

    The PVTP  icon should appear automatically in the correct folder under thePrograms menu after installation.If this does not happen, invoke the Start menu and select Settings | Taskbar.Select the Start Menu Programs tab and click on Add to add the PVTP program to

    the menu. Follow the instructions on the screen.To start the program subsequently, select the PVTP program from the programs

    menu of the Start menu.

    It is also possible to create a shortcut to PVTP on the main Windows desktop. Todo this, click the right hand mouse button anywhere within the desktop and selectNew | Shortcut from the resulting popup menu. Follow the instructions on thescreen to create the shortcut to PVTP.EXE.PVTP can then be executed by double-clicking on the shortcut icon. 

    PVTP  User Guide

  • 8/18/2019 Pvtp Manual

    19/445

    6 - 8 PVTP  User Guide

    2.4 REMOTE Software Utility

     All Petroleum Experts' software requires a software protection device to allow it run.The utility program REMOTE.EXE provided with our software allows you to access

    the software protection device to view information such as the enabled programoptions, program expiry date(s), and Bitlock number.

    You may have been sent an inactive software device. For security, authorisationcodes are always  sent separately to the Bitlock. On receiving the softwarepackage, we ask that you contact us to confirm reception. We will then verify theuser access code programmed on your Bitlock, and issue a set of codes to activatethe Bitlock. In these situations, the necessary codes will be sent to you byfacsimile, letter or email.

    To enter the codes, you will need to run the REMOTE application installed with

    PVTP (see next section for more details).You can also create a shortcut to the Remote application from the Windowsdesktop.For this, click on |New |Short cut anywhere on the Windows screen and follow theonline instruction. The program file is called REMOTE.EXE.

    2.4.1 Entering the User Authorisation CodeYou enter user authorisation codes only if:

    The software protection Bitlock you have received is inactive,•

     Access period for the program has expired, or

    You have acquired new program options

    To enter authorisation codes take the following steps:

    Double click the REMOTE icon (or select the REMOTE program from thePrograms menu of Windows 98). A screen similar to the following will appear:

    Petroleum Experts

  • 8/18/2019 Pvtp Manual

    20/445

    Chapter 2 - Installation and Windows Basics 7 - 8

    Figure 2.1: REMOTE SoftwareBitlock Utility

    If your software protection Bitlock is already active, a list of enabled programs willappear in the Remote screen as above. If PVTP  has already been enabled, nofurther action is needed. If this is the case, exit the Remote Utility program now.No user authorisation code is required.

    If the code has expired or has not been enabled, the Bitlock should be activatedwith the set of codes provided by Petroleum Experts. To do so, you click on the

    |Update button on the bottom of the previous screen and the following screen willappear:

    Figure 2.2:  Authorisation Codes Entryscreen

    Enter the codes from Left  to Right  beginning with the top row (you may use to move between the items). Press |Continue to activate the codes. You will thenbe returned to the 'Remote Software Bitlock Utility' screen. If you have receivedauthorisation codes for more than one program, click 'Update Software Bitlock'again, and enter the codes for the next program.

    PVTP  User Guide

  • 8/18/2019 Pvtp Manual

    21/445

    8 - 8 PVTP  User Guide

    Petroleum Experts

    2.4.2 Updating the Software Protection Bitlock

     Access to the software ceases automatically when the license expiry date elapses.You are, however, reminded several days in advance. This gives you sufficient

    time to contact Petroleum Experts about new codes. Software Bitlocks requireupdating when:

    The software license period has ended.

    The annual maintenance fee is due.

    Software protection Bitlocks also needs updating when you acquire otherPetroleum Experts software packages. The procedure to update the Bitlock is thesame as for entering the authorisation codes. When the appropriate screenappears, enter the codes provided - from left   to right  beginning with the top row.Press OK to activate the codes, or Cancel   to quit the update. To view the expiry

    date for any of the listed programs, simply click (highlight) the software name.

    Perpetual licence holders will be sent on yearly basis an utility programwritten by Petroleum Experts, that automatically updates the Bitlock. Theupdate is hard-coded inside the utility program. step-by-step instructions aresent with this utility program.

    2.5 Program Check List

    To ensure trouble free processing and access to the PVTP program, please check:

    You have sufficient disk space.

    The software protection Bitlock is connected to your Parallel printer port. DoNot connect the Bitlock to the serial port, as this can damage the Bitlock oryour PC.

    The software protection Bitlock is firmly in place ensuring a good connection.If the Bitlock is loose the program may not be able to access the dongle to

    activate the program.

    The printer cable is firmly attached to the software Bitlock. Your printer shouldbe turned ON and be put on-line.

    The PC system date is set correctly to the current date (i.e. today's date).

    You back up your files on a regular basis with disk utility programs. This couldhelp to avoid the corruption of files, or help detect potential problems with yourhard disk before it is too late.

  • 8/18/2019 Pvtp Manual

    22/445

    3 File Management

    This section describes the menus, options and procedures used in PVT to create new files

    and open or save existing files. The Units system and how to define printer settings and isoutlined. The menus described in this section are the PVT File menu and Units menu.

    The File menu provides the ability to open , close , save etc. The PVT package allowsmultiple files to be opened at once. The Window Menu allows the user to swap betweenopened files.

    This menu offers the user the standard options available from an MDI (Multi DocumentInterface)

    The PVT package can load multiple PVT Project Files each of which occupies its ownwindow.The windows can be selected ,cascaded,arranged and tiled via this menu.

    Before you can work with a file, it must be opened. This can be done using the File menu

    Open option or the icon.

    To protect your work, you should save your data on a regular basis. Saving a file is doneusing the File menu Save or Save As options. This simple procedure could potentiallyprevent hours of work and analysis being lost.

    To start a new PVT Project file use the File menu New option.

    3.1 PVT File Types  PVT uses a flexible file structure that enables data to be easily exchanged between files

    and other application programs. In PVT, information is grouped into the followingcategories:

    PVT Project File•

    Import

    Export

    Temporary

    Report

    and saved into the following types of data file:

  • 8/18/2019 Pvtp Manual

    23/445

    3-2 PVPT  User Guide

    3.2 PVT Data Files

    3.2.1 PVT Project File (*.PVI )This is the main type of PVT package file . The information file contains all the composition

    input, matching and calculation data for multiple streams. When opened the main datapoints are shown within the main PVT window.

    3.2.2 Extract Data (*.PVI)This file contains the results a particular set of calculations plus the composition whichproduced it. The file is produced using the Extract option within the Analysis window orfrom the View properties display. When opened the file behaves in the same way as theoriginal PVI file from which the data was extracted

    3.2.3 PVT ImportThis function is accessed by using the Import option from the File menu. The selectiondialog is shown in figure 3.0.

    Figure 3.0: Import File Type Dialog 

    PVI File Import.This imports a stream from another PVTP  *.PVI file. This option is explained in Streams - Adding a Stream (Chapter 5)

    ASCII File Import.Two ACII file options are available by selecting from the combo box and clicking on theImport from ASCII file:The types are1. Importing a *.PRP file.This is the file type that is produced from the Proper compositional export and the variouscompositional and compositional areas in the other PETEX programs. This feature allows

    the user to take this file back inito PVTP   and make a working stream with it. (see 3.1.4Export PROSPER EoS for more details)

    Petroleum Experts  

  • 8/18/2019 Pvtp Manual

    24/445

    Chapter 3 - File Management 3-3

    2 Importing a *.EQL Data File A working example of an import file is contained within the PVT\SAMPLES directory withthe file name example.eql.With time it is anticipated that there will be several import types to choose from . At presentimporting is limited to a text file with the following format :

    line 1No Data Readline 2No Data Readline 3Number Of Components n (including Pseudos) Number Of Pseudo Componentsline 4No Data Readline 4,6,.......2n+3Component name eg. C1, CO2, C11+ (note only one name per line). See note below fornames with * line 5,7......2n+4

    Component properties in the following order separated by tabs i.e.mole % component Specific Gravity Boiling Point (deg C) MolecularWeight Critical Temperature (deg C) Critical Pressure (atm) AcentricFactor Critical VolumeNote: These values ,other than mole % , are not required at present for pure componentsas they are overwritten by Petroleum Experts  Database values. However, if you wish the values

    to remain , add the character * to the end of the name . Example C1* withinEXAMPLE.EQL in the samples directory. All values are preferred for Pseudos. If no BoilingPoint or SG is present (shown by 0.00 value), the missing numbers will be calculated.line 2n+5No Data Read

    line 2n+6No Data Read

    line 2n+7 .. end-1Component Binary Interaction Coefficients in form:component x number component y number BI Coefficient valueline endthe end of data is marked by three 1000s separated by tabs

    Once the text file is imported via the file load dialog , the PVT file must be fully initialisedby

    • Clicking on the Select Components option within the Data Menu then Clicking on OK

    • When the Composition Input Screen loads press Properties to bring up the PseudoScreen i.e if pseudos are required.

    • When the Pseudo Properties display loads , press OK to calculate any missing pseudovalues.

    • Press OK on the Composition Input Screen when it reappears to return to the maindisplay

    • Save the PVT file with the required name

    WARNING : if pseudo properties are not set up as describederrors will occur eg. with density calculations

    PVTP  User Guide

  • 8/18/2019 Pvtp Manual

    25/445

    3-4 PVPT  User Guide

    3.2.4 PVT Export Files

    3.2.5 PROSPER  EoS Composition (*.PRP)

    PRP files contain the data required by the PVT section of Petroleum Experts   PROSPER program.

    The file is produced using the Export option within View properties display or by using theExport option from the File menu.Select Type 1 – PROSPER  EoS Composition from the Export Types Dialog Screen(Figure 3.1)

    Figure 3.1: Export File Type Dialog 

    Only a limited subset of the data normally associated with a PVT file is required byPROSPER VIZ.

    ∗ Equation Type (SRK or Peng Robinson)

    ∗ Property Names and Units

    ∗ Composition (mole %) for each component

    ∗ Critical Temperature for each component∗ Critical Pressure for each component

    ∗ Critical Volume for each component

    ∗  Acentric Factor for each component

    ∗ Molecular Weight for each component

    ∗ Specific Gravity for each component

    ∗ Volume Shift S Factor

    ∗ Parachor for each component

    ∗ OmegaA value for each component

    ∗ OmegaB value for each component

    ∗ Binary Interaction Coefficients for all component

    combinations∗ Separator Temperatures and Pressures are included if any havebeen used to correct fluid GOR and FVF.

    Petroleum Experts  

  • 8/18/2019 Pvtp Manual

    26/445

    Chapter 3 - File Management 3-5

    Note: All the values exported are in field units.

    3.2.6 PROSPER Hydrate Formation (*.PHY)PHY files contain a table of temperatures and hydrate formation pressures. Aftercalculation the export is available from the Calculation Results dialog or from the Export

    Type dialog.

    3.2.7 General Data Export (*.PVE)PVE files are files produced by the PVT General Export Function.The ASCII text file is produced using the Export option within View properties display orusing the Export Option from the File Menu 

    Select Type 2 - Petex General  from the Export Types Dialog Screen (figure 3.1)The Selection screens which follow give the user the choice of exporting any combinationof :

    ∗ PVT Options

    ∗ Primary Input Composition and BI Coefficients.∗ Grouped/Matched Composition and BI Coefficients.

    ∗ Reference Data

    ∗ Calculations

    The Calculation columns to be exported can be individually selected using the ColumnSetup dialog. The data exported can be delimited by tabs or commas or alternatively savedin a fixed-column-size format. Deselecting the saving of column headings and Keywordswill produce a file containing only numeric data. If headings are required, a commentmarker of your choice can be added to give the importing program a marker to search for.

    The General Export Display is shown in figure 3.2.

    Figure 3.2 Export FileDialog 

    PVTP  User Guide

  • 8/18/2019 Pvtp Manual

    27/445

    3-6 PVPT  User Guide

    The dialog gives the user great flexibility in what should be exported and in what format.The export is to an ASCII file with a default extension of .PVEFor each section of Input Data or results a check-box allows the user to switch on or off itsexport .

    The available sections are:

    Input Data Included are all the entries made on the PVT Options screen i.e. Method, Analyst, Well etc.

    Input CompositionThis is component concentrations and properties of the mixture prior to any grouping orregression exported in tabular form. The currently selected Stream will be exported at thispoint.

    BI Coefficients.The initial values for Binary Interaction Coefficients are exported in a symmetrical table. 

    Grouped/Matched CompositionThis is component concentrations and properties of the mixture after Grouping orRegression exported in tabular form.

    Grouped/Matched BI Coefficients.The Grouped/Matched values for Binary Interaction Coefficients are exported in asymmetrical table.

    Reference DataThis option will export the Reference Temperature, Pressure and depth.

    CalculationsWhen the dialog is loaded, the listbox within this section displays all the calculations whichmay be exported. A checkbox allows all calculation exporting to be switched on or off.Highlighted Calculation names will be exported. Clicking on the calculation name within thelistbox will select or de-select the item.The variables within each calculation can be individually selected using the Layout option.

    DelimitingThe data exported can be delimited by tabs or commas  or alternatively saved in a fixed-column-size format. Enter the column width in the edit box if the fixed-column-size optionis required.

    Headings and CommentsDeselecting the saving of column headings and Keywords will produce a file containingonly numeric data. If headings are required a comment marker of your choice can beadded to give the importing program a marker to search for. Erasing the comment markereditbox contents will give headings without an added character.

    When all the selections have been made click on the Export control button to bring up thefile save dialog. A file extension of .PVE is taken as default, but any legitimate file namecan be used.

    Petroleum Experts  

  • 8/18/2019 Pvtp Manual

    28/445

    Chapter 3 - File Management 3-7

    LayoutThe Layout screen (shown in figure 3.3) is the same as used in all the calculations (chapter8 ).Each selected calculation will be shown as a separate dilaogue within which individualvalues can be selected.

    Figure 3.3 ColumnSetupDialog 

    To select or de-select a value click on the checkbox beside its name.

    To remove all selections for a particular calculation click on the Hide All button.

    To export all columns click on the All button above the listbox.

    When all column selections have been made click on OK .

    Clicking on Cancel  will shut down the display , ignoring any selections which have beenmade.

    PVTP  User Guide

  • 8/18/2019 Pvtp Manual

    29/445

    3-8 PVPT  User Guide

    3.2.8 Black Oil Tables (*.PTB)PTB files are files which contain the data in a form which can be imported into thePVT/BlackOil/Tables section of Petroleum Experts   PROSPER  program. The format is fairly

    general and could be used for other packages. An ASCII text file is produced by this procedure. The process is carried out using the

    Export option within View properties display or using the Export Option from the File Menu 

    Select Type 3 -Black Oil Table  from the Export Types Dialog Screen (figure 3.1)

    The Selection screens which follow give the user the choice of exporting any combinationof the following Black Oil related variables:

    ∗ Pressure

    ∗ Gas to Oil Ratio(GOR)

    ∗ Oil FVF

    ∗ Oil Viscosity

    ∗Oil Density

    ∗ Oil Z Factor

    ∗ Gas FVF

    ∗ Gas Viscosity

    ∗ Gas Z Factor

    ∗ Gas Density

    ∗ Condensate to Gas Ratio (CGR)

    ∗ Vapour CGR

    ∗ Water viscosity

    ∗ Water Z Factor

     A typical dialog is shown in figure 1.2a.

    Note :The column values can be calculated for each pressure entry. If the Saturation Pressure isnot included in the list within the table it is calculated and inserted when Export is selected.The varables to be exported are selected using the list box on the right of the display. Atleast one variable should be chosen. At the time of export the program checks if a selectedtable has any valid data for the chosen columns. If none exists the table is ignored.

    Selecting for MBAL/PROSPER  

    This feature has been added to assist in the transfer of the correct columns to MBAL's or

    PROSPER's table import facility.

    To use this option Select the target program using the combo box provided then select the type of fluid (defined in MBAL's or Proper's OPTIONS) using the radio

    buttons

    finally click on the Select  button. This automatically sets the required variables forexport.

    Petroleum Experts  

  • 8/18/2019 Pvtp Manual

    30/445

    Chapter 3 - File Management 3-9

    Figure 3.2a Black Oil TableExport  

    The Calculations are set out in a series of 10 tables. Each table has a temperature and upto 100 pressures.

     All the table variables except water viscosity and water Z factor can be calculatedautomatically from the minimum inputs of Temperature and Pressure.

    The calculation ,which is carried out by pressing on Calc. Table or Calculate All , consistsof a Saturation Pressure estimation followed by a Constant Composition Expansion (CCE).The values will be the same as those reported for the CCE option within the PVT packageCalculation menu. The saturation pressure is placed in the edit box at the top of the table.The other values are placed within the table. All values can also be entered manually.Water viscosity and water Z factor must be entered manually. Click in cell, enter therequired number and click away.

    The tab section at the bottom of the display shows which tables have been fillTm (r 49 1093.6 3

  • 8/18/2019 Pvtp Manual

    31/445

    3-10 PVPT  User Guide

    Separator DataIn common with the CCE calculation (Section 8.4) , the Table Export displays contains asection for Separator Data. This allows the user to define a 5-stage separator train through

    which the CCE liquid will be flashed to correct the Oil FVF and GOR. The processes whichare used to return an oil to standard conditions can significantly change the final oilcharacteristics and the amount of gas liberated on the way.

     All stages do not need to be entered and a last flash to standard conditions is alwaysincluded.

    The Used checkbox within the separator data area switches the correction on and off. TheSetup button allows the stage characteristics to be changed by calling the dialog shown infigure 3.2b.

    Figure 3.2b Black Oil TableExport- SeparatorCorrection 

    The values within this separator data area are loaded and stored separately from thosewithin the Separator calculation. The SEP COPY button will copy the first five stages fromthe Separator Calculation ( Section 8.8 ) into the Separator Data area.The CLEAR buttonremoves all values from within the Separator Data area. OK will reurn to the Export Tabledialog with any changes stored. Cancel   will reurn to the Export Table dialog with anychanges ignored.

    ExportWhen the data required has been entered and/or calculated, the variables selected can beexported by clicking the Export button. This brings up a small dialog which allows the userto select the table or tables to export (figure 3.2c).

    Figure 3.2c Black-Oil TableExport-TableSelection 

    Petroleum Experts  

  • 8/18/2019 Pvtp Manual

    32/445

    Chapter 3 - File Management 3-11

    This dialog gives the user the ability to select one ,all, or a range of tables to export. If   Range of Tables  is chosen the range required should be entered in the editboxesprovided.Note:  the program will ignore empty tables or any which are found not to contain data ofthe required type.When the tables have been chosen press Export  to bring up the file selection dialog as

    shown in figure 3.2d. The default file extension is .PTB

    Figure 3.2d Black Oil TableExport- File Selection

     

    For each section of Input Data or results a check-box allows the user to switch on or off itsexport .

     A typical export file is shown below:

    *

    * Petroleum Experts - PVT Black Oil Export File**Version 2** (BLANK LINES AND LINES WITH AN ASTERISK (*) IN COLUMN 1* ARE IGNORED)*

    * The export of data is done always in Field units.* The target program will adjust to the internally selected units.

    * !!!!!!!!!!!!!!!!!! PVT FILE DETAILS !!!!!!!!!!!!!!* PVT FILE NAME : C:\PVTp_Files\Samples\EXAMPLE2.PVI* Exported :Tue Jul 01 14:19:39 2003* !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

    * NUMBER OF TABLES (MAX 10)2

    * DATA COLUMN IDENTIFIERS* - CAN BE IN ANY ORDER* - COLUMNS CAN BE MISSING* - ANY INDIVIDUAL ITEM > 3.4e35 = missing item*** PRES - Pressure* GOR - Gas-Oil Ratio* OFVF - oil Formation Volume Factor* OVIS - oil Viscosity

    * ODEN - oil Density* OCOM - oil Compressibility* GFVF - gas Formation Volume Factor

    PVTP  User Guide

    * GVIS - gas Viscosity

  • 8/18/2019 Pvtp Manual

    33/445

  • 8/18/2019 Pvtp Manual

    34/445

    Chapter 3 - File Management 3-13

    The ASCII file contains many comments maked with * to help the user.The IMPORT funtion ,however, requies the following information

    ◊ the number of tables to be read

    ◊the variables exported PRES GOR etc.

    ◊ for each table :table number,number of entries,table temperature and saturationpressure

    ◊ for each entry the variables selected separated by a space

    Important Note on UnitsThe values transferred between the programs are done in field units Conversion to the userunit is done on IMPORT.

    Calc. Table  and  Calculate All

    When Calculate All is selected, the saturation pressure and CCE calculation will becarried out on all tables which contain a valid table temperature and on any table line with avalid pressure. Calc. Table is done on the viewed table only

    Clear Table  and  Clear AllWhen Clear All is selected, and the clear is confirmed all table data is removed.

    Clear Table operates on the viewed table only.

    Copy CCEWhen Copy CCE is selected, and the copy is confirmed, all table data is removed. Thetable temperatures and pressures are replaced by those from within the CCE calculationuser- defined input screen (section 8.4).

    ClearThis option closes down the dialog and saves the values entered but does not evoke theexport to file.

    3.2.9 MBAL MultiI-PVT Export (*.PGD)

    PTG files are files which contain the data in a form which can be imported into thePVT/Fluid Properties/Import section of Petroleum Experts   MBAL  program. The MBAL   program

    should have the tank model Variable PVT selected.

    The format is fairly general and could be used for other packages. An ASCII text file is produced by this procedure. The process is carried out using theExport option within View properties display or using the Export Option from the File Menu.

    The first stage in the export process is to calculate the Compositional gradient via avariation of the Compositional Gradient Calculation Input Dialog (see figure 3.2e).

    The only difference is a change of label on the button from Calc to Export. Input the depths or range of depths required and press on Export.. This brings up theExport dialog.

    PVTP  User Guide

  • 8/18/2019 Pvtp Manual

    35/445

    3-14 PVPT  User Guide

    Figure 3.2e MBAL

    MultiPVTExport  

    Click on Calc   to fill in the table as shown in figure 3.2f.. The reference data used can bechanged using the edit boxes above the main table.The program will calculate the compositional gradient for the selected depths.When this has been completed,the program uses the compositions at each depth to makeup a black oil match table.for each depth.The pressures used to define the Black Oil flashes are automatically selected with respectto the saturation pressure.5 pressures , including the saturation pressure are used. The data produced can be viewedvia the MBAL  Match Data dialog.. This display is called by clicking on one of the Match

    Data  buttons in column 1.The automatically-set pressures can be modified manually in this dialog and the Black Oilproperties re-calculated. The check box in column 2 indictes whether the pressures havebeen modified.When the data has been set click on Export to create the ASCII file.This action brings upthe file selection dialog as shown in figure 3.2d. The default file extension is .PGD 

    Petroleum Experts  

  • 8/18/2019 Pvtp Manual

    36/445

    Chapter 3 - File Management 3-15

    Figure 3.2f  MBAL   ExportFile Selection

     

    Analysis allows the user to view the compositions calculated for each depth. See AnalysisDialog within the Calculations Chapter for more details.The calculation results can be viewed graphically using the Plot  option. See the Plot

    Chapter for the options available within plots .Click on Main to exit the dialog and return to the summary display.

    Figure 3.2f  MultiPVt ExportCalculation 

    Important Note on UnitsThe values transferred between the programs are done in field units Conversion to the userunit is done on IMPORT.

    PVTP  User Guide

  • 8/18/2019 Pvtp Manual

    37/445

    3-16 PVPT  User Guide

    3.2.10 MBAL  PVT with Depth - Black Oil Match TablesThis dialog is called by clicking on any of the MatchData buttons within the MBAL exporttable (See figure 3.2f). A typical example is shown in figure 3.2g

    Figure 3.2g MultiPVt BlackOil Match Table

    The table is the result of 5 flashes on a composition at a particular depth. The aim is toprovide the data necessary for matching the Black Oil Model. The program automaticallyselects the pressures as

    1 0ne third of saturation pressure2 Two thirds of saturation pressure3 Saturation pressure4 Seven sixths of saturation pressure5 Four thirds of saturation pressure

    The aim is to provide enough data to give the shape of the particuar Black Oil correlation

    above and below the Saturation Pressure.If the selected points are found to be unsuitable the values above and below can beadjusted by:

    a) Putting the table into Manual mode using the radio buttons providedb) Entering new values for pressure in the white boxes within the tablec) Click on the Calc. Button

    Exit will close the dialog and retain the values

    Cancel  will close the dialog with any changes ignored.

    Plot allows the user to view the shape of th Black Oil curves .

    Petroleum Experts  

  • 8/18/2019 Pvtp Manual

    38/445

    Chapter 3 - File Management 3-17

    NOTE  Any recalculation of the underlying MBAL  PVT with depth table will invalidate and remove

    any manually entered pressures.

     A typical export file is shown below:

    ** Petroleum Experts  - MBAL PVT with Depth Export File

    *** (BLANK LINES AND LINES WITH AN ASTERISK (*) IN COLUMN 1* ARE IGNORED)* - ANY INDIVIDUAL ITEM VALUE > 3.4e35 = missing item** UNITS for each data item are assumed to be whatever is the current* setting at the time of export*

    *Export File SignaturePetexPGD*Export File Version1** !!!!!!!!!!!!!!!!!! PVT FILE DETAILS !!!!!!!!!!!!!!* PVT FILE NAME : C:\HAMID\AX.PVI* Exported :Sun Feb 08 17:02:49 1998* !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

    * DATA COLUMN IDENTIFIERS**

    * DPTH - Depth* PRES - Pressure* TEMP - Temperature* PSAT - Bubble/Dew Point Pressure* GOR - Gas-Oil Ratio* OAPI - Oil Gravity* GGRV - Gas Gravity* WSAL - Water Salinity* MH2S - Mole H2S* MCO2 - Mole CO2* MN2 - Mole 2* OFVF - oil Formation Volume Factor* GFVF - gas Formation Volume Factor

    * OVIS - oil Viscosity* GVIS - gas Viscosity* ZLIQ - oil Compressibility* ZVAP - gas Compressibility* GFVF - gas Formation Volume Factor* CGR - produced cgr***************** DEPTH TABLE VARIABLES EXPORTED ****************DPTH ,PRES ,TEMP ,PSAT ,GOR ,OAPI ,GGRV ,WSAL ,MH2S ,MC02 ,MN2 ,****************************************************************

    **************** MATCHDATA TABLE VARIABLES EXPORTED ****************PRES ,GOR ,OFVF ,OVIS ,GVIS ,ZLIQ ,ZVAP ,GFVF ,CGR ,********************************************************************

    ********************** UNITS *****************************

    PVTP  User Guide

  • 8/18/2019 Pvtp Manual

    39/445

    3-18 PVPT  User Guide

    * Units Used in Depth Table Variables:-*feet ,psig ,degrees F ,psig ,scf/STB ,API , , , , , , ,* Units Used in MatchData Variables:-*psig ,RB/STB ,centipoise ,centipoise , , ,ft3/scf ,bbls/MMscf ,********************************************************************

    ********************** DATA ****************************** NUMBER OF DEPTHS

    7

    * Reference Depth in feet9369* Reference Pressure in psig3280* Reservoir Temperature in degrees F240* Temperature Gradient in deg F/100 ft1.8*Data no 1 at Depth 8869 feet8869 ,3220.42 ,231.003 ,2980.33 ,17528.4 ,59.6764 ,0.756737 ,0 ,1.234568e+038 ,1.234568e+038,0.00906007 ,* Number of MatchData Lines5993.433 ,396.508 ,1.34781 ,0.138438 ,0.0141965 ,0.334204 ,0.898412 ,0.0174201 ,53.706 ,1986.9 ,1109.68 ,1.79818 ,0.0946761 ,0.0175569 ,0.552108 ,0.842573 ,0.00822854 ,42.6687 ,2980.33 ,1.234568e+038 ,1.234568e+038 ,1.234568e+038 ,0.0254712 ,1.234568e+038 ,0.814226,0.00531417 ,1.234568e+038 ,3477.05 ,1.234568e+038 ,1.234568e+038 ,1.234568e+038 ,0.0286318 ,1.234568e+038 ,0.842439,0.00471613 ,1.234568e+038 ,3973.76 ,1.234568e+038 ,1.234568e+038 ,1.234568e+038 ,0.0316125 ,1.234568e+038 ,0.876937,0.00429788 ,1.234568e+038 ,

    *Data no 2 at Depth 9035.67 feet9035.67 ,3237.14 ,234.002 ,3048.63 ,1.234568e+038 ,59.7848 ,0.763556 ,0 ,1.234568e+038,1.234568e+038 ,0.00887868 ,* Number of MatchData Lines51016.2 ,409.348 ,1.36064 ,0.135219 ,0.0142724 ,0.33949 ,0.896489 ,0.0170727 ,62.0198 ,2032.43 ,1155.64 ,1.83571 ,0.0916819 ,0.017834 ,0.560222 ,0.840694 ,0.00806241 ,50.1091 ,3048.63 ,1.234568e+038 ,1.234568e+038 ,1.234568e+038 ,0.0266022 ,1.234568e+038 ,0.811896,0.0052033 ,1.234568e+038 ,3556.74 ,1.234568e+038 ,1.234568e+038 ,1.234568e+038 ,0.0299055 ,1.234568e+038 ,0.843699,0.00463785 ,1.234568e+038 ,4064.83 ,1.234568e+038 ,1.234568e+038 ,1.234568e+038 ,0.0329984 ,1.234568e+038 ,0.881508,0.00424217 ,1.234568e+038 ,

    *Data no 3 at Depth 9202.33 feet9202.33 ,3254.66 ,237.001 ,3130.92 ,13072.7 ,59.9214 ,0.772361 ,0 ,1.234568e+038,1.234568e+038 ,0.00863199 ,* Number of MatchData Lines51043.63 ,426.478 ,1.37682 ,0.131639 ,0.0143599 ,0.345723 ,0.893948 ,0.0166547 ,74.6633 ,2087.29 ,1216.41 ,1.88403 ,0.0883227 ,0.0181829 ,0.569793 ,0.838169 ,0.00786225 ,61.9258 ,3130.92 ,1.234568e+038 ,1.234568e+038 ,1.234568e+038 ,0.0282337 ,1.234568e+038 ,0.808286,0.00506646 ,1.234568e+038 ,3652.75 ,1.234568e+038 ,1.234568e+038 ,1.234568e+038 ,0.0317214 ,1.234568e+038 ,0.845046,0.00454321 ,1.234568e+038 ,4174.56 ,1.234568e+038 ,1.234568e+038 ,1.234568e+038 ,0.0349646 ,1.234568e+038 ,0.887356,0.00417645 ,1.234568e+038 ,

    *Data no 4 at Depth 9369 feet9369 ,3280 ,240 ,3279.88 ,4316.35 ,60.7132 ,0.834684 ,0 ,1.234568e+038 ,1.234568e+038 ,0.0065,

    Petroleum Experts  

  • 8/18/2019 Pvtp Manual

    40/445

    Chapter 3 - File Management 3-19

    * Number of MatchData Lines51093.28 ,483.188 ,1.42496 ,0.124293 ,0.0144985 ,0.354491 ,0.884976 ,0.0158165 ,273.857 ,2186.6 ,1358.06 ,1.99025 ,0.0827284 ,0.0188862 ,0.585908 ,0.831526 ,0.00748011 ,316.012 ,3279.88 ,4316.35 ,4.11191 ,0.0464585 ,1.234568e+038 ,0.76052 ,1.234568e+038 ,1.234568e+038,1.234568e+038 ,3826.53 ,4316.35 ,3.87211 ,0.0513914 ,1.234568e+038 ,0.834998 ,1.234568e+038

    ,1.234568e+038 ,1.234568e+038 ,4373.17 ,4316.35 ,3.69423 ,0.0561634 ,1.234568e+038 ,0.910005 ,1.234568e+038,1.234568e+038 ,1.234568e+038 ,

    *Data no 5 at Depth 9535.67 feet9535.67 ,3306.98 ,242.999 ,3168.36 ,3380.86 ,60.8218 ,0.847811 ,0 ,1.234568e+038,1.234568e+038 ,0.00597958 ,* Number of MatchData Lines51056.11 ,455.891 ,1.41045 ,0.125053 ,0.0144333 ,0.345564 ,0.888033 ,0.0164925 ,360.764 ,2112.25 ,1249.86 ,1.9233 ,0.085132 ,0.0184277 ,0.574194 ,0.83661 ,0.00782229 ,453.442 ,3168.36 ,3380.86 ,3.40831 ,0.0518623 ,1.234568e+038 ,0.743622 ,1.234568e+038,1.234568e+038 ,1.234568e+038 ,

    3696.42 ,3380.86 ,3.23817 ,0.0571572 ,1.234568e+038 ,0.823709 ,1.234568e+038,1.234568e+038 ,1.234568e+038 ,4224.47 ,3380.86 ,3.10936 ,0.0623314 ,1.234568e+038 ,0.903482 ,1.234568e+038,1.234568e+038 ,1.234568e+038 ,

    *Data no 6 at Depth 9702.33 feet9702.33 ,3336.35 ,245.998 ,3100.22 ,3017.7 ,60.8607 ,0.853655 ,0 ,1.234568e+038,1.234568e+038 ,0.00574032 ,* Number of MatchData Lines51033.4 ,437.28 ,1.40159 ,0.125082 ,0.0144059 ,0.340151 ,0.890203 ,0.0169632 ,408.444 ,2066.82 ,1185.27 ,1.88612 ,0.0862731 ,0.0181776 ,0.567039 ,0.84003 ,0.00805995 ,532.838 ,3100.22 ,3017.7 ,3.1531 ,0.0543352 ,1.234568e+038 ,0.734882 ,1.234568e+038 ,1.234568e+038

    ,1.234568e+038 ,3616.92 ,3017.7 ,3.00609 ,0.0597755 ,1.234568e+038 ,0.816837 ,1.234568e+038 ,1.234568e+038,1.234568e+038 ,4133.61 ,3017.7 ,2.89377 ,0.0651067 ,1.234568e+038 ,0.898189 ,1.234568e+038 ,1.234568e+038,1.234568e+038 ,

    *Data no 7 at Depth 9869 feet9869 ,3366.84 ,248.997 ,3045.5 ,2779.84 ,60.884 ,0.857745 ,0 ,1.234568e+038 ,1.234568e+038,0.00556968 ,* Number of MatchData Lines51015.16 ,421.808 ,1.39481 ,0.124852 ,0.0143902 ,0.335786 ,0.892026 ,0.0173724 ,445.867 ,2030.35 ,1134.7 ,1.85835 ,0.0870026 ,0.0179929 ,0.561257 ,0.84289 ,0.00826661 ,596.749 ,3045.5 ,2779.84 ,2.99245 ,0.0560421 ,1.234568e+038 ,0.728205 ,1.234568e+038 ,1.234568e+038,1.234568e+038 ,3553.09 ,2779.84 ,2.85924 ,0.0615715 ,1.234568e+038 ,0.811196 ,1.234568e+038,1.234568e+038 ,1.234568e+038 ,4060.66 ,2779.84 ,2.75683 ,0.0669972 ,1.234568e+038 ,0.893412 ,1.234568e+038,1.234568e+038 ,1.234568e+038 ,

    ********************** END *****************************

    PVTP  User Guide

  • 8/18/2019 Pvtp Manual

    41/445

    3-20 PVPT  User Guide

    3.2.11 MBAL Variable Bubble Point(Oil) Export (*.PVB)

    PVB files are files which contain the data in a form which can be imported into thePVT/Fluid Properties/Import section of Petroleum Experts   MBAL   program.

    PVB files are files which contain the data in a form which can be imported into thePVT/Fluid Properties/Import section of Petroleum Experts   MBAL  program. The MBAL program

    should have the tank model Variable PVT selected.The format is fairly general and could be used for other packages. An ASCII text file is produced by this procedure. The process is carried out using theExport option within View properties display or using the Export Option from the