Pipesim Guia

download Pipesim Guia

of 644

description

guia

Transcript of Pipesim Guia

  • PIPESIM PIPESIM* production system analysis software Version 2010.1

    User Guide

  • Copyright 2010 Schlumberger. All rights reserved.

    No part of this manual may be reproduced, stored in a retrieval system, or translated in any form or by anymeans, electronic or mechanical, including photocopying and recording, without the prior written permissionof Schlumberger Information Solutions, 5599 San Felipe, Suite 1700, Houston, TX 77056-2722, USA.

    Use of this product is governed by the License Agreement. Schlumberger makes no warranties, express,implied, or statutory, with respect to the product described herein and disclaims without limitation anywarranties of merchantability or fitness for a particular purpose. Schlumberger reserves the right to revisethe information in this manual at any time without notice.

    PIPESIM User Guide

  • Table of ContentsUser Guide ........................................................................................................................................................... 1

    Introduction ..................................................................................................................................................... 1Company profile ................................................................................................................................................. 1Getting Started ................................................................................................................................................... 1

    Modules .......................................................................................................................................................... 1PIPESIM Hot Keys ............................................................................................................................................. 3

    File Hot Keys .................................................................................................................................................. 3Simulation hot keys ........................................................................................................................................ 3Windows Hot Keys ......................................................................................................................................... 3Tools Hot Keys ............................................................................................................................................... 4Editing or General Hot Keys ........................................................................................................................... 4

    Main Toolbar ...................................................................................................................................................... 4Toolbox .............................................................................................................................................................. 5

    Single branch Toolbox ................................................................................................................................... 5Network Toolbox ............................................................................................................................................ 7

    Wizard Feature .................................................................................................................................................. 8Steps .............................................................................................................................................................. 8

    Find .................................................................................................................................................................... 9Finding an object in a network model ............................................................................................................. 9

    PIPESIM versions .............................................................................................................................................. 9PIPESIM Suite (Build26) to PIPESIM Conversion ......................................................................................... 9

    Building Models ............................................................................................................................................. 12Steps in building a model ................................................................................................................................. 12

    Basic overview ............................................................................................................................................. 12Creating a new model .................................................................................................................................. 12Adding objects to a model and connecting them ......................................................................................... 13Adding data to an object .............................................................................................................................. 13Minimum data ............................................................................................................................................... 13Duplicating an object .................................................................................................................................... 13Disconnecting objects .................................................................................................................................. 13Saving the model ......................................................................................................................................... 14

    Network Models ............................................................................................................................................... 14Creating a network model ............................................................................................................................ 14Network Operations ..................................................................................................................................... 14Source .......................................................................................................................................................... 14Sink .............................................................................................................................................................. 15Branch .......................................................................................................................................................... 16Network Separator ....................................................................................................................................... 16Production Well ............................................................................................................................................ 17Injection Well ................................................................................................................................................ 18Well Curves .................................................................................................................................................. 19

    PIPESIM User Guide

    i

  • Boundary Conditions .................................................................................................................................... 20Network Constraints ..................................................................................................................................... 21Network Estimates ....................................................................................................................................... 21

    Single Branch Models ...................................................................................................................................... 22Well Performance Analysis Overview .......................................................................................................... 22Pipeline tools ................................................................................................................................................ 61Source, Sink and Boundary Conditions ....................................................................................................... 87

    Flow Correlations .......................................................................................................................................... 89Selecting a flow correlation .............................................................................................................................. 89

    Source .......................................................................................................................................................... 89Correlation ................................................................................................................................................... 89

    Defining Flow Correlations ............................................................................................................................... 90Tuning flow correlations ............................................................................................................................... 90Data matching .............................................................................................................................................. 90Flow Correlation comparison ....................................................................................................................... 90Suggested correlations ................................................................................................................................ 90

    Configuration File for user specified flow correlations ..................................................................................... 91Fluid modelling .............................................................................................................................................. 93

    Modeling systems ............................................................................................................................................ 93Water Systems ............................................................................................................................................. 93Gas Condensate Systems ........................................................................................................................... 93Dry Gas Systems ......................................................................................................................................... 93

    Default fluid Data ............................................................................................................................................. 94Local Fluid Data ........................................................................................................................................... 94

    Black Oil Fluid Modeling .................................................................................................................................. 95Introduction .................................................................................................................................................. 95Black Oil Data Sets ...................................................................................................................................... 95Black Oil Options .......................................................................................................................................... 96Calibrate a Fluid to match lab data .............................................................................................................. 97Bubble point calibration data ........................................................................................................................ 98Gas Phase Contaminants .......................................................................................................................... 101Black Oil Thermal Data .............................................................................................................................. 101

    Compositional Fluid Modeling ........................................................................................................................ 101Compositional Template ............................................................................................................................ 101Specifying the Composition ........................................................................................................................ 108Compositional using MFL file ..................................................................................................................... 113Compositional Flashing .............................................................................................................................. 113

    External PVT tables ....................................................................................................................................... 115Steam ............................................................................................................................................................ 115

    Single branch steam .................................................................................................................................. 116Network model steam ................................................................................................................................ 116

    Stock tank Conditions .................................................................................................................................... 116Flowing Conditions ..................................................................................................................................... 117Examples ................................................................................................................................................... 117

    PIPESIM User Guide

    ii

  • Options ......................................................................................................................................................... 117Common Options ........................................................................................................................................... 117

    Project Data ............................................................................................................................................... 117Units ........................................................................................................................................................... 117Heat Transfer Options ................................................................................................................................ 118Engine Options ........................................................................................................................................... 119Output Options ........................................................................................................................................... 120Erosion and Corrosion Options .................................................................................................................. 123Engine Preferences .................................................................................................................................... 125

    Network Options ............................................................................................................................................ 126Speed up the calculation engine ................................................................................................................ 126Network Iterations ...................................................................................................................................... 127Fluid Models ............................................................................................................................................... 128

    View Options .................................................................................................................................................. 129View Properties tab .................................................................................................................................... 129Objects tab ................................................................................................................................................. 130General Tab ............................................................................................................................................... 130Viewing a large model ................................................................................................................................ 131Viewing flowline data .................................................................................................................................. 131

    Database ...................................................................................................................................................... 131New ESP/Pump/Compressor Curve .............................................................................................................. 131

    ESP ............................................................................................................................................................ 132Generic Pump ............................................................................................................................................ 132Compressor/Expander ............................................................................................................................... 132New Reciprocating Compressor Curve ...................................................................................................... 132User Curves ............................................................................................................................................... 133

    Gas Lift Valve List .......................................................................................................................................... 134Flow Control Valves ....................................................................................................................................... 135

    How to add an FCV to a completion .......................................................................................................... 135Operations ................................................................................................................................................... 136

    Common Operations ...................................................................................................................................... 136Check model .............................................................................................................................................. 136Run Model .................................................................................................................................................. 136Abort Run ................................................................................................................................................... 136Terminate Run ........................................................................................................................................... 136

    Single Branch ................................................................................................................................................ 137No Operation .............................................................................................................................................. 137System Analysis ......................................................................................................................................... 137Pressure/Temperature profile .................................................................................................................... 138Flow correlation comparison ...................................................................................................................... 138Data matching ............................................................................................................................................ 139Nodal Analysis ........................................................................................................................................... 140Horizontal length ........................................................................................................................................ 142Reservoir tables ......................................................................................................................................... 143

    PIPESIM User Guide

    iii

  • Well Performance Curves .......................................................................................................................... 144Gas Lift rate vs Casing head pressure ....................................................................................................... 144Artificial Lift System Performance curves ................................................................................................... 145Wax Deposition .......................................................................................................................................... 146Sensitivity variables .................................................................................................................................... 151User variable .............................................................................................................................................. 151

    Network Operations ....................................................................................................................................... 152Restart Model ............................................................................................................................................. 152Gas Lift Optimization .................................................................................................................................. 153

    Artificial Lift analysis .................................................................................................................................. 153How to create artificial lift performance curves .............................................................................................. 153General Gas Lift ............................................................................................................................................. 154

    Gas Lift Operations - Deepest Injection Point ............................................................................................ 154Gas Lift Operations - Bracketing ................................................................................................................ 155Gas Lift Operations - Lift Gas Response Curves ....................................................................................... 156Gas Lift Design ........................................................................................................................................... 157Gas Lift Diagnostics ................................................................................................................................... 170Gas Lift Theoretical background ................................................................................................................ 171Gas lift instability ........................................................................................................................................ 172Annular Gas Pressure Design Method ....................................................................................................... 174

    Electrical Submersible Pumps (ESP) ............................................................................................................ 175General ...................................................................................................................................................... 175ESP System Components: Motor .............................................................................................................. 175ESP System Components: Pumps ............................................................................................................ 176Motor Selection .......................................................................................................................................... 178ESP Database ............................................................................................................................................ 179Selection .................................................................................................................................................... 179Stage-by-stage modeling ........................................................................................................................... 179Install a Pump ............................................................................................................................................ 179ESP Design ................................................................................................................................................ 180ESP System Components: Cable .............................................................................................................. 180Errors ......................................................................................................................................................... 181ESP Design ................................................................................................................................................ 181ESP / Compressor / Pump data entry ........................................................................................................ 181

    Rod Pump Module ......................................................................................................................................... 181About Rod Pump Module ........................................................................................................................... 181Getting Started ........................................................................................................................................... 182RP Operation Menu ................................................................................................................................... 183Components and Options .......................................................................................................................... 186Rod Pump Design ...................................................................................................................................... 187Selection of Design Methods ..................................................................................................................... 188Rod Pump Diagnostics ............................................................................................................................... 188Operations .................................................................................................................................................. 189Rod Pump Database Configuration ........................................................................................................... 189Open Project .............................................................................................................................................. 189

    PIPESIM User Guide

    iv

  • Basis Input Data in PIPESIM ..................................................................................................................... 189RP Application from PIPESIM drop-down Menu ........................................................................................ 189Optimization Design ................................................................................................................................... 189Operation Diagnostics ................................................................................................................................ 190Database .................................................................................................................................................... 191

    Reports ......................................................................................................................................................... 191Plotting ........................................................................................................................................................... 191

    Single branch plots ..................................................................................................................................... 191Network plots ............................................................................................................................................. 192PsPlot ......................................................................................................................................................... 192

    Report Tool Details .......................................................................................................................................... 84Network Report Tool ...................................................................................................................................... 198

    Exporting to Excel ...................................................................................................................................... 199Expert Mode ................................................................................................................................................. 199

    Expert Mode ................................................................................................................................................. 199Calculation engine ...................................................................................................................................... 199Network models ......................................................................................................................................... 199Single branch models ................................................................................................................................. 199

    How to work in Expert mode .......................................................................................................................... 200Batch mode .................................................................................................................................................... 200

    How to batch run a number of models, using Expert Mode ....................................................................... 200Run Multiple Models ..................................................................................................................................... 200Expert Data Entry .......................................................................................................................................... 201

    Case studies ................................................................................................................................................... 203Condensate Pipeline Case Study ............................................................................................................. 204

    Task 1. Develop a Compositional Model of the Hydrocarbon Phases ........................................................... 204Task 2. Identify the Hydrate Envelope ........................................................................................................... 205Task 3. Select a Pipeline Size ....................................................................................................................... 206

    Completing the component ........................................................................................................................ 207Task 4. Determine the Pipeline Insulation Requirement ................................................................................ 208Task 5. Screen the Pipeline for Severe Riser Slugging ................................................................................. 210

    Modified model ........................................................................................................................................... 211Task 6. Size a Slug Catcher .......................................................................................................................... 212Data Available ................................................................................................................................................ 213

    Layout ........................................................................................................................................................ 213Boundary Conditions .................................................................................................................................. 214Pure Hydrocarbon Components: ................................................................................................................ 214Petroleum Fraction ..................................................................................................................................... 214Aqueous Component ................................................................................................................................. 214Pipeline Sizes Available ............................................................................................................................. 215Pipeline Data .............................................................................................................................................. 215Pipeline Insulation Study Data: .................................................................................................................. 215Data for Risers 1 and 2 .............................................................................................................................. 216

    PIPESIM User Guide

    v

  • Well Performance Case Study - Oil Well Design ...................................................................................... 216Task 1. Develop a Calibrated Blackoil Model ................................................................................................ 217

    Calibration .................................................................................................................................................. 218Task 2. Develop a Well Inflow Performance Model ....................................................................................... 221Task 3. Select a Tubing Size for the Production String ................................................................................. 222Completed Model ........................................................................................................................................... 222Data Available ................................................................................................................................................ 223

    Reservoir Conditions .................................................................................................................................. 223Stock Tank Oil Properties .......................................................................................................................... 224Bubble Point Properties ............................................................................................................................. 224Blackoil Calibration Data ............................................................................................................................ 224Deviation Survey ........................................................................................................................................ 224Multiphase flow correlation ......................................................................................................................... 224

    Network Analysis Case Study - Looped Gathering Network .................................................................. 225Task 1. Build a Model of the Network ............................................................................................................ 225

    Defining a composition ............................................................................................................................... 227Task 2. Specify the Network Boundary Conditions ........................................................................................ 231Task 3. Solve the Network and Establish the deliverability ........................................................................... 231Data Available ................................................................................................................................................ 233

    Completion and Tubing Data ..................................................................................................................... 234Pure Hydrocarbon Components (Wells 1 and 2) ....................................................................................... 235Petroleum Fraction (Wells 1 and 2) ............................................................................................................ 235Aqueous Component (Wells 1 and 2) ........................................................................................................ 235Pure Hydrocarbon Components (Well 3): .................................................................................................. 235Petroleum Fraction (Wells 3) ...................................................................................................................... 236Aqueous Component (Well 3) .................................................................................................................... 236Data for Looped Gathering Lines (B1, B2, B3, and B4) ............................................................................. 236Data for Deliver Line (B5: ........................................................................................................................... 237Boundary Conditions .................................................................................................................................. 237

    User Equipment DLL Case Study - User Pump ........................................................................................ 238Task 1. Write a DLL to define a piece of equipment for use with PIPESIM ................................................... 238

    Introduction ................................................................................................................................................ 238How to write a DLL ..................................................................................................................................... 239Note on Fortran .......................................................................................................................................... 239Note on C/C++ ........................................................................................................................................... 239PIPESIM flash ............................................................................................................................................ 240Exporting routines ...................................................................................................................................... 241Build the DLL .............................................................................................................................................. 241

    Task 2. Build a single branch model and use the DLL .................................................................................. 241Place the built DLL in the PIPESIM programs directory ............................................................................. 241Inform PIPESIM of the equipment DLL and its entry points ....................................................................... 241Build a single branch model with an Engine Keyword Tool to represent the piece of equipment .............. 242Note on Network models ............................................................................................................................ 243

    Task 3. Run the model and verify that the DLL worked ................................................................................. 243

    PIPESIM User Guide

    vi

  • Field Data Matching Case Study ................................................................................................................ 245Measured Data .............................................................................................................................................. 246Model Setup ................................................................................................................................................... 247Task 1. IPR matching .................................................................................................................................... 247Task 2. Optimizing Flow Correlation & Heat Transfer Coefficient ................................................................. 247

    Load Measured Data .................................................................................................................................. 248Setup Optimizer Options ............................................................................................................................ 248Select flow correlation parameters and U factor ........................................................................................ 249

    Task 3. Validate Match .................................................................................................................................. 249Task 4. Determine Choke Settings ................................................................................................................ 250

    Liquid Loading Analysis Case Study ........................................................................................................ 250Task 1. Set up the Liquid Loading Model ...................................................................................................... 250Task 2. Control Liquid Loading Options in PIPESIM ..................................................................................... 251Task 3. Analyze Well for Liquid Loading ........................................................................................................ 251Task 4. Determine Critical Gas Rate to Prevent Well Loading ...................................................................... 251

    Ramey Heat Transfer Model Case Study .................................................................................................. 252Task 1. Set up Ramey Heat Transfer Properties ........................................................................................... 252Task 2. Set up Detailed Heat Transfer for the Tubing ................................................................................... 253Task 3. Run the Model and View Results ...................................................................................................... 255

    Support and Contact Information .......................................................................................................... 256Support ......................................................................................................................................................... 256

    SIS web and phone support .......................................................................................................................... 256On-site support .............................................................................................................................................. 256SIS Education ............................................................................................................................................... 256See Also: ....................................................................................................................................................... 256

    How To Reach Us ........................................................................................................................................ 256Technical Description ................................................................................................................................. 257

    Flow Modelling ............................................................................................................................................ 257Flow Correlations ........................................................................................................................................... 257

    Flow Regimes ............................................................................................................................................ 257Horizontal Multiphase Flow Correlations .................................................................................................... 258Vertical Multiphase Flow Correlations ........................................................................................................ 261Friction and Holdup factors ........................................................................................................................ 264Single Phase Flow Correlations ................................................................................................................. 265Swap Angle ................................................................................................................................................ 269Cunliffe's Method ....................................................................................................................................... 270Liquid by Sphere ........................................................................................................................................ 270Liquid Loading ............................................................................................................................................ 273

    Inflow performance relationships (IPRs) ........................................................................................................ 274Inflow Performance Relationships for Vertical Completions ...................................................................... 274Inflow Performance Relationships for Horizontal Completions .................................................................. 301Oil / Water Relative Permeability tables ..................................................................................................... 314

    PIPESIM User Guide

    vii

  • Coning ........................................................................................................................................................ 315Chokes, Valves and Fittings .......................................................................................................................... 316

    Choke ......................................................................................................................................................... 316Choke Subcritical Flow Correlations .......................................................................................................... 319Choke Critical Pressure Ratio .................................................................................................................... 321Choke Critical Flow Correlations ................................................................................................................ 322Flow Control Valves Mechanistic Theory ................................................................................................... 324Fittings ........................................................................................................................................................ 325

    Compressors, Pumps and Expanders ........................................................................................................... 327Centrifugal Pumps and Compressors ........................................................................................................ 327Reciprocating Compressor Operation ........................................................................................................ 330Expanders .................................................................................................................................................. 330

    Multiphase Boosting Technology ................................................................................................................... 332Positive Displacement Type ....................................................................................................................... 336Dynamic Type ............................................................................................................................................ 340Helico-Axial Type ....................................................................................................................................... 340Contra-Rotating Axial Type ....................................................................................................................... 342Alternative approach .................................................................................................................................. 342Guide to Multiphase Booster Efficiencies ................................................................................................... 343

    Heat Transfer Modelling ............................................................................................................................. 344Energy Equation for Steady-State Flow ......................................................................................................... 344Heat Transfer Coefficient ............................................................................................................................... 345

    Resistances in series ................................................................................................................................. 345Resistances in parallel ............................................................................................................................... 346Heat transfer models .................................................................................................................................. 347Note ............................................................................................................................................................ 348

    Internal Fluid Film Heat Transfer Coefficient ................................................................................................. 348KREITH8 .................................................................................................................................................... 348Single Phase General Correlations ............................................................................................................ 349Multiphase Correlations ............................................................................................................................. 351

    Calculation of Conductive Heat Transfer Coefficients ................................................................................... 352Wax Heat Transfer Coefficient ................................................................................................................... 352Pipe wall heat transfer coefficient .............................................................................................................. 352Conductive layer heat transfer coefficient .................................................................................................. 353

    Calculation of Convective Heat Transfer Coefficients ................................................................................... 353Convection in a fluid filled vertical annulus ................................................................................................ 354Convection in a fluid filled horizontal annulus ............................................................................................ 354Fully exposed pipe ..................................................................................................................................... 355

    Heat Transfer Between a Horizontal Flowline and the Ground Surface ........................................................ 355Fully Buried Ground Heat Transfer Coefficient .......................................................................................... 355Partially Buried Ground Heat Transfer Coefficient ..................................................................................... 356

    Heat Transfer Between a Vertical Well and the Surrounding Rock ............................................................... 358Ramey Model ............................................................................................................................................. 358

    Fluid Modelling ............................................................................................................................................ 359

    PIPESIM User Guide

    viii

  • Black Oil Fluid Modeling ................................................................................................................................ 360Black oil Correlations ................................................................................................................................. 361Solution Gas-oil Ratio ............................................................................................................................... 363Oil Formation Volume Factor ..................................................................................................................... 367Oil Viscosity ................................................................................................................................................ 368Gas Compressibility ................................................................................................................................... 374Gas Viscosity ............................................................................................................................................. 377Surface Tension ......................................................................................................................................... 378Black Oil Enthalpy ...................................................................................................................................... 378Black Oil Mixing .......................................................................................................................................... 380

    Compositional Fluid Modeling ........................................................................................................................ 101Cubic Equations of State ............................................................................................................................ 387Non-cubic Equations of State ..................................................................................................................... 390Components for Cubic Equations of State ................................................................................................. 392Components for Non-Cubic Equations of State ......................................................................................... 397Viscosity Models for Compositional Fluids ................................................................................................. 368Solid Precipitation ...................................................................................................................................... 400

    Fluid Property Table Files .............................................................................................................................. 403Internal fluid property tables ....................................................................................................................... 404

    Liquid Properties ............................................................................................................................................ 404Liquid Viscosity and Oil/Water Emulsions .................................................................................................. 404Liquid-gas Surface Tension ....................................................................................................................... 408

    Solids Deposition Modelling ...................................................................................................................... 409PIPESIM-DBR Wax Deposition Models ......................................................................................................... 409

    Single phase (oil) Wax Deposition Model .................................................................................................. 409Two Phase (Gas/Oil) Wax Deposition Model ............................................................................................. 409Nomenclature ............................................................................................................................................. 410

    Workflows .................................................................................................................................................... 411Solvers ........................................................................................................................................................... 411

    Tolerance Equations .................................................................................................................................. 411Addressing Network Speed Issues ................................................................................................................ 411

    Typical and Default Data ............................................................................................................................. 417Limits ............................................................................................................................................................. 417

    General ...................................................................................................................................................... 417Pipeline and facilities .................................................................................................................................. 417Well Performance ....................................................................................................................................... 417Network ...................................................................................................................................................... 417

    Tubing and Pipeline Tables ........................................................................................................................... 418Tubing/Casing Tables ................................................................................................................................ 418Pipeline tables ............................................................................................................................................ 423

    Typical Values ............................................................................................................................................... 427Fluid Properties .......................................................................................................................................... 427Roughness ................................................................................................................................................. 428Thermal Conductivities ............................................................................................................................... 428

    PIPESIM User Guide

    ix

  • Permeability ............................................................................................................................................... 429Drainage Radius ........................................................................................................................................ 430Fittings ........................................................................................................................................................ 430

    Glossary ....................................................................................................................................................... 432Roman Letters ............................................................................................................................................... 432Greek Letters ................................................................................................................................................. 434Subscripts ...................................................................................................................................................... 435

    Conversion Factors ..................................................................................................................................... 436Length ............................................................................................................................................................ 436Volume ........................................................................................................................................................... 436Mass .............................................................................................................................................................. 436Time ............................................................................................................................................................... 436Gravity ........................................................................................................................................................... 437Pressure ........................................................................................................................................................ 437Energy ........................................................................................................................................................... 437Power ............................................................................................................................................................. 437Dynamic viscosity ......................................................................................................................................... 437Permeability ................................................................................................................................................... 437

    References ................................................................................................................................................... 437Keyword Index ............................................................................................................................................... 450

    Keyword List ................................................................................................................................................ 450A .................................................................................................................................................................... 450B .................................................................................................................................................................... 450C .................................................................................................................................................................... 450D E ................................................................................................................................................................. 451F ..................................................................................................................................................................... 451G .................................................................................................................................................................... 451H .................................................................................................................................................................... 451I ...................................................................................................................................................................... 452J ..................................................................................................................................................................... 452K .................................................................................................................................................................... 452L ..................................................................................................................................................................... 452M .................................................................................................................................................................... 452N .................................................................................................................................................................... 452O .................................................................................................................................................................... 453P .................................................................................................................................................................... 453Q R ................................................................................................................................................................ 453S .................................................................................................................................................................... 453T ..................................................................................................................................................................... 453U .................................................................................................................................................................... 454V .................................................................................................................................................................... 454W ................................................................................................................................................................... 454

    PIPESIM User Guide

    x

  • XYZ ................................................................................................................................................................ 454Input Files and Input Data Conventions .................................................................................................... 454

    General .......................................................................................................................................................... 454Statements ..................................................................................................................................................... 454Delimiters ....................................................................................................................................................... 455

    Examples ................................................................................................................................................... 456Abbreviations ................................................................................................................................................. 456

    Example ..................................................................................................................................................... 456Numeric data ................................................................................................................................................. 456

    Example ..................................................................................................................................................... 456Units Description ............................................................................................................................................ 457Character Input .............................................................................................................................................. 457

    Example ..................................................................................................................................................... 457Comment Statements and Blank Lines ......................................................................................................... 457

    Example ..................................................................................................................................................... 458Multiple Value Data Sets ............................................................................................................................... 458

    Examples ................................................................................................................................................... 458Input Files ...................................................................................................................................................... 459

    General ...................................................................................................................................................... 459The main input ('.PSM' or '.PST') file .......................................................................................................... 459Included files and the INCLUDE statement ................................................................................................ 459AUTOEXEC.PSM ....................................................................................................................................... 460modelname.U2P or branchname.U2P ....................................................................................................... 460

    General Data ................................................................................................................................................ 461HEADER - Job Accounting Header (Required) ............................................................................................. 461

    Example ..................................................................................................................................................... 461JOB - Job Title (Optional) .............................................................................................................................. 461CASE - Case Title (Optional) ......................................................................................................................... 462UNITS - Input and Output Units (Optional) .................................................................................................... 462

    Example ..................................................................................................................................................... 462OPTIONS Calculation Procedure Options (Optional) .................................................................................... 462RATE: Fluid Flow Rate Data .......................................................................................................................... 470ITERN Iteration Data (Optional) ..................................................................................................................... 471INLET System Inlet Data ............................................................................................................................... 474PRINT Output Printing Options (Optional) ..................................................................................................... 474

    Per-case output page options .................................................................................................................... 475Attributes .................................................................................................................................................... 477Point report subcodes ................................................................................................................................ 478One-off output pages ................................................................................................................................. 480

    PLOT Output Plotting Options (Optional) ...................................................................................................... 481NOPRINT Output Print Suppression Options (Optional) ............................................................................... 484BEGIN , END - Block delimiters ..................................................................................................................... 484

    Example ..................................................................................................................................................... 485

    PIPESIM User Guide

    xi

  • PUSH - Remote Action Editing (optional) ...................................................................................................... 486PLOTFILEDATA ............................................................................................................................................ 487EXECUTE - deferred execution of a statement ............................................................................................. 487USERDLL - Equipment .................................................................................................................................. 488

    Flow Modeling ............................................................................................................................................. 488FLOW CORRELATION DATA ....................................................................................................................... 488

    VCORR Vertical Flow Correlation Options ................................................................................................. 489HCORR Horizontal Flow Correlation Options ............................................................................................ 491SPHASE Single Phase Flow Options (Optional) ........................................................................................ 493USERDLL - Flow Correlations ................................................................................................................... 495

    SYSTEM DATA ............................................................................................................................................. 496Changing Parameters within the System Profile ........................................................................................ 497CHOKE (Optional) ...................................................................................................................................... 497COMPCRV and PUMPCRV: Compressor and Pump performance curves ............................................... 501COMPLETION Completion Profile Delimiter .............................................................................................. 502COMPRESSOR Compressor (Optional) .................................................................................................... 504CORROSION ............................................................................................................................................. 505RODPUMP: Rod- or Beam-pump .............................................................................................................. 505EROSION Erosion Rate and Velocity (Optional) ....................................................................................... 506EQUIPMENT Generic Equipment .............................................................................................................. 507EXPANDER Expander (Optional) .............................................................................................................. 509FITTING : Valves and Fittings .................................................................................................................... 510FMPUMP (Optional) ................................................................................................................................... 512FRAMO 2009 (Optional) ............................................................................................................................ 512HEATER Heater/Cooler (Optional) ............................................................................................................ 513GASLIFT: Multiple Injection Ports in Gaslifted Wells ................................................................................. 513INJPORT Gas Lift Injection Valve .............................................................................................................. 517INJGAS: Injection Gas (Optional) and INJFLUID: Fluid Injection .............................................................. 519MPBOOSTER (Optional) ........................................................................................................................... 521MPUMP Multiphase Pump (Optional) ........................................................................................................ 522NODE System Profile Data (Required) ...................................................................................................... 523PIPE: Pipe or Tubing cross-section dimensions (Required) ...................................................................... 525PUMP Pump (Optional) .............................................................................................................................. 527COMPCRV and PUMPCRV: Compressor and Pump performance curves ............................................... 501REINJECTOR (Optional) ........................................................................................................................... 530RODPUMP: Rod- or Beam-pump .............................................................................................................. 505SEPARATOR Separator (Optional) ........................................................................................................... 531SLUG Slug Calculation Options (Optional) ................................................................................................ 532WELLHEAD Wellhead Profile Delimiter ..................................................................................................... 533

    WELL PERFORMANCE MODELING ............................................................................................................ 533INTRODUCTION ........................................................................................................................................ 534WELLPI Well Productivity Index (Optional) ................................................................................................ 535WPCURVE (Optional) ................................................................................................................................ 536VOGEL Vogel Equation (Optional) ............................................................................................................. 536FETKOVICH Fetkovich Equation (Optional) .............................................................................................. 536

    PIPESIM User Guide

    xii

  • JONES Jones Equation (Optional) ............................................................................................................. 536IFPPSSE : Data for the Pseudo Steady State Equation (Optional) ........................................................... 537WCOPTION Well Completion Data (Optional) ........................................................................................... 538IPRCRV or IFPCRV: Inflow Performance Curve ........................................................................................ 541IFPTAB Inflow Performance Tabulation (Optional) .................................................................................... 543CONETAB Coning Relationship Tabulation (Optional) .............................................................................. 544BACKPRES Back Pressure Equation (BPE) (Optional) ............................................................................. 545HORWELL Horizontal Well Inflow Performance ........................................................................................ 545LAYER Reservoir Layer Properties ............................................................................................................ 547RESERVOIR .............................................................................................................................................. 549PERMCRV: Curves of Relative Permeability versus Saturation (Optional) ............................................... 549PERMTAB: Tabulation of Relative Permeability versus Saturation (Optional) .......................................... 550HVOGEL (Optional) ................................................................................................................................... 551FORCHHEIMER (Optional) ........................................................................................................................ 551FRACTURE: Data for Hydraulic Fracture ................................................................................................. 551TRANSIENT: Data for the Transient Inflow equation (Optional) ................................................................ 551

    HEAT TRANSFER DATA ............................................................................................................................. 553Notes on Heat Transfer Output Printing ........................................................................................................ 553HEAT Heat Balance Options (Optional) ........................................................................................................ 553

    Heat transfer mode .................................................................................................................................... 556COAT Pipe Coat and Annular Space Medium Data (Optional) ..................................................................... 556

    Example ..................................................................................................................................................... 557TCOAT Pipe Coat Thickness Data (Optional) ............................................................................................... 557KCOAT Pipe Coat Thermal Conductivity Data (Optional) ............................................................................. 558

    Files ............................................................................................................................................................ 559Example ..................................................................................................................................................... 559

    FLUID Fluid Thermal Conductivity Data (Optional) ....................................................................................... 560CONFIG: Pipe Heat Transfer Configuration Data (Optional) ......................................................................... 561Pipeline burial depth examples ...................................................................................................................... 562

    Fluid Modeling ............................................................................................................................................. 562BLACK OIL DATA .......................................................................................................................................... 562

    BLACKOIL: Black Oil Fluid definitions ....................................................................................................... 563PROP Fluid Property Data (Optional) ........................................................................................................ 565LVIS: Liquid Viscosity Data (Optional) ....................................................................................................... 566CPFLUID: Fluid Heat Capacity Data (Optional) ......................................................................................... 571CPFLUID: Fluid Heat Capacity Data (Optional) ......................................................................................... 571TPRINT Black Oil Table Printing (Optional) ............................................................................................... 572CALIBRATE: Black Oil Property Calibration (Optional) ............................................................................. 572CONTAMINANTS Gas phase contaminants data (optional) ...................................................................... 574

    COMPOSITIONAL DATA .............................................................................................................................. 574AQUEOUS: Aqueous Component Specification ........................................................................................ 574COMPOSITION: Compositional Fluid Specification ................................................................................... 575LIBRARY: Library Component Specification .............................................................................................. 578MODEL: Model Properties Specification .................................................................................................... 578

    PIPESIM User Guide

    xiii

  • PETROFRAC: Petroleum Fraction Specification ....................................................................................... 579TPRINT Tabular Data Print Options (Optional) .......................................................................................... 579File Formats ............................................................................................................................................... 580

    PIPESIM OPERATIONS OPTIONS .............................................................................................................. 583NAPLOT: Nodal Analysis ............................................................................................................................... 583NAPOINT System Analysis Point .................................................................................................................. 587MULTICASE Introduction and Summary ....................................................................................................... 587

    General Rules for use with MULTICASE ......................................