100% found this document useful (1 vote)
1K views1,014 pages

Pipesim User Guide

This document is the user guide for PIPESIM 2015.1. It contains information about navigating the interface, building physical models in the software, running simulations, and analyzing results. The guide includes details on workspace options and settings, managing catalogs of equipment and fluid properties, adding tubulars, surveys, and downhole equipment to well models, configuring simulations, and using the results visualization tools. Copyright and security information is also provided.

Uploaded by

ToufikNech
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
100% found this document useful (1 vote)
1K views1,014 pages

Pipesim User Guide

This document is the user guide for PIPESIM 2015.1. It contains information about navigating the interface, building physical models in the software, running simulations, and analyzing results. The guide includes details on workspace options and settings, managing catalogs of equipment and fluid properties, adding tubulars, surveys, and downhole equipment to well models, configuring simulations, and using the results visualization tools. Copyright and security information is also provided.

Uploaded by

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

PIPESIM

Version 2015.1

User Guide
PIPESIM User Guide

Copyright © 2015 Schlumberger. All rights reserved.

This work contains the confidential and proprietary trade secrets of Schlumberger and may not be
copied or stored in an information retrieval system, transferred, used, distributed, translated or
retransmitted in any form or by any means, electronic or mechanical, in whole or in part, without
the express written permission of the copyright owner.

Trademarks & Service Marks

Schlumberger, the Schlumberger logotype, and other words or symbols used to identify the
products and services described herein are trademarks, trade names or service marks of
Schlumberger and its licensors, or the property of their respective owners. These marks may not
be copied, imitated or used, in whole or in part, without the express prior written permission of
Schlumberger. In addition, covers, page headers, custom graphics, icons, and other design
elements may be service marks, trademarks, and/or trade dress of Schlumberger, and may not be
copied, imitated, or used, in whole or in part, without the express prior written permission of
Schlumberger. Other company, product, and service names are the properties of their respective
owners.

The Microsoft® Office User Interface is subject to protection under U.S. and international
intellectual property laws and is used by Schlumberger Technology Corporation under license from
Microsoft.

An asterisk (*) is used throughout this document to designate a mark of Schlumberger.

Security Notice

The software described herein is configured to operate with at least the minimum specifications set
out by Schlumberger. You are advised that such minimum specifications are merely
recommendations and not intended to be limiting to configurations that may be used to operate the
software. Similarly, you are advised that the software should be operated in a secure environment
whether such software is operated across a network, on a single system and/or on a plurality of
systems. It is up to you to configure and maintain your networks and/or system(s) in a secure
PIPESIM User Guide

manner. If you have further questions as to recommendations regarding recommended


specifications or security, please feel free to contact your local Schlumberger representative.
PIPESIM User Guide
PIPESIM User Guide

Table of Contents
1 Navigate the interface ................................................................................................. 1
1.1 Workspace tab options ................................................................................................................. 2
1.2 Workspace types ........................................................................................................................... 3
1.2.1 Network-centric workspace ................................................................................................. 4
1.2.2 Well-centric workspace ....................................................................................................... 5
1.3 Workspace options ........................................................................................................................ 6
1.3.1 Units .................................................................................................................................... 7
Select a standard unit system ......................................................................................... 7
Create a custom unit system ........................................................................................... 8
Import or export a custom unit system ............................................................................ 8
1.3.2 Plugins ................................................................................................................................ 9
User defined flow correlations ......................................................................................... 9
User defined equipment .................................................................................................. 9
1.3.3 Advanced options ................................................................................................................ 9
Catalog .......................................................................................................................... 12
GIS map options ............................................................................................................ 12
1.3.4 Tour of the ribbon .............................................................................................................. 14
1.3.5 Change the main window layout ....................................................................................... 15
1.3.6 Manage floating panes ...................................................................................................... 16
Inputs pane .................................................................................................................... 18
Tasks pane .................................................................................................................... 18
Information area overview ............................................................................................. 19
1.3.7 Manage the catalogs ......................................................................................................... 21
Manage the centrifugal compressor catalog .................................................................. 22
Manage the reciprocating compressor catalog .............................................................. 22
Manage the pump catalog ............................................................................................. 22
Manage the gas lift valve catalog .................................................................................. 26
Manage the ESP catalog ............................................................................................... 28
Manage the PCP catalog ............................................................................................... 30
Manage the fluid templates catalog ............................................................................... 31
Manage the well templates catalog ............................................................................... 33
Manage the survey data catalog ................................................................................... 34
Catalog properties tables ............................................................................................... 40

2 Build physical models .............................................................................................. 49


2.1 Create or edit a well model ......................................................................................................... 50
2.1.1 Add tubular data ................................................................................................................ 52
Add casing and tubing to a simple wellbore schematic ................................................. 52
Add casing and tubing to a detailed wellbore schematic ............................................... 54

i
PIPESIM User Guide

2.1.2 Add a deviation survey ...................................................................................................... 58


Azimuth .......................................................................................................................... 60
Measured depth and true vertical depth ........................................................................ 60
2.1.3 Add downhole equipment .................................................................................................. 61
Choke properties ........................................................................................................... 62
Packer ........................................................................................................................... 65
Separator (downhole) .................................................................................................... 65
Sliding sleeve ................................................................................................................ 66
Sub-surface safety valve ............................................................................................... 67
Tubing plug .................................................................................................................... 67
User defined equipment .................................................................................................. 9
Engine Keyword Tool .................................................................................................... 69
2.1.4 Add an artificial lift ............................................................................................................. 70
Add a gas lift injection port ............................................................................................ 71
Add a gas lift injection valve .......................................................................................... 73
User defined equipment .................................................................................................. 9
Add an ESP ................................................................................................................... 79
Add a progressive cavity pump (PCP) ........................................................................... 81
Add a rod pump ............................................................................................................. 83
2.1.5 Add heat transfer data ....................................................................................................... 84
Measured depth and true vertical depth ........................................................................ 60
2.1.6 Add completions ................................................................................................................ 86
IPR options and applicability table ................................................................................. 88
Multilayer completions ................................................................................................. 122
Associate zones with completions ............................................................................... 125
2.1.7 Add surface equipment using the well editor .................................................................. 126
2.1.8 Work with well tabs and ribbons ...................................................................................... 128
2.1.9 Interactive wellbore schematic ........................................................................................ 128
2.2 Create or edit a network model ................................................................................................ 131
2.2.1 Navigate in the network diagram ..................................................................................... 132
Pan and zoom in the network diagram ........................................................................ 132
Bring objects into view ................................................................................................. 133
Change the model display properties .......................................................................... 133
Print the model from the network diagram ................................................................... 134
2.2.2 Add wells ......................................................................................................................... 134
2.2.3 Add sources and sinks .................................................................................................... 136
Sink properties ............................................................................................................. 136

ii
PIPESIM User Guide

2.2.4 Add surface equipment using the network diagram ........................................................ 137
Choke properties ........................................................................................................... 62
Check valves ................................................................................................................. 62
Compressor properties ................................................................................................ 141
Expander properties .................................................................................................... 143
Flowline - simple model properties .............................................................................. 144
Flowline - detailed model properties - general tab ....................................................... 148
Flowline - detailed model properties - heat transfer tab .............................................. 150
Pipeline comparison: land, subsea, and riser .............................................................. 152
Generic equipment properties ..................................................................................... 153
Generic pump properties ............................................................................................. 155
Heat exchanger properties .......................................................................................... 157
Injection point properties ............................................................................................. 158
User defined equipment .................................................................................................. 9
Multiphase boosters .................................................................................................... 160
Multiplier/adder properties ........................................................................................... 173
Riser - simple model properties ................................................................................... 174
Riser - detailed model properties - general tab ........................................................... 177
Riser - detailed model properties - heat transfer tab ................................................... 179
Three phase separator ................................................................................................ 181
Two phase separator ................................................................................................... 183
Source and junctions treated as source properties ..................................................... 184
Configure wellstream outlet or inlet conditions ............................................................ 188
View surface equipment properties ............................................................................. 191
Engine Keyword Tool .................................................................................................... 69
2.2.5 Create a network model from a GIS shapefile automatically ............................................ 50
2.2.6 Add connections .............................................................................................................. 193

3 Create or edit fluid models ..................................................................................... 195


3.1 Define black oil fluids ................................................................................................................ 196
3.1.1 Properties tab .................................................................................................................. 122
3.1.2 Viscosity properties ......................................................................................................... 199
3.1.3 Calibration properties ...................................................................................................... 203
3.1.4 Thermal properties .......................................................................................................... 204
3.2 Define compositional fluids ...................................................................................................... 205
3.2.1 Viscosity properties ......................................................................................................... 199
3.2.2 Salinity models ................................................................................................................ 199
3.2.3 Binary interaction parameter (BIP) sets ............................................................................ 92
3.2.4 E300 thermal coefficients ................................................................................................ 212
3.3 Multiflash in the compositional fluid mode (native) vs. Multiflash MFL files ....................... 195
3.4 Ensure consistency among multiple fluid files in a PIPESIM network model ..................... 214
3.5 Create/define a new mfl fluid .................................................................................................... 205
3.5.1 Import existing MFL fluid files .......................................................................................... 205
3.5.2 View wax or asphaltene curves on phase envelopes ....................................................... 92
3.5.3 Edit a MFL fluid file .......................................................................................................... 205

iii
PIPESIM User Guide

3.5.4 Availability of Multiflash models in PIPESIM using the MFL file fluid mode option ......... 214
3.5.5 Multiflash phases supported in PIPESIM ........................................................................ 214
3.6 Display phase envelopes for compositional fluid or mfl file ................................................. 228
3.7 Override fluid phase ratios ....................................................................................................... 230
3.8 Import a PVT file ........................................................................................................................ 232

4 Run simulations ...................................................................................................... 233


4.1 Configure simulation settings .................................................................................................. 233
4.1.1 Flow correlation properties .............................................................................................. 234
4.1.2 Heat transfer properties .................................................................................................. 237
4.1.3 Erosion/corrosion properties ........................................................................................... 237
4.1.4 Environmental properties ................................................................................................ 239
4.1.5 Output variables properties ............................................................................................. 240
Manage output variable report templates .................................................................... 241
4.1.6 Advanced properties ........................................................................................................... 9
4.1.7 Override the default value in specific rows ...................................................................... 247
4.1.8 Enter sensitivity ranges ................................................................................................... 248
4.2 Run a network simulation ......................................................................................................... 248
4.2.1 Boundary conditions ........................................................................................................ 249
4.2.2 Rate constraints .............................................................................................................. 249
4.2.3 Node/branch results tab properties - network simulation ................................................ 253
4.2.4 Profile results tab properties - network simulation .......................................................... 254
4.2.5 Improve network simulation performance ....................................................................... 255
Restart simulation ........................................................................................................ 261
PIPESIM differences from other simulators ................................................................. 262
Reversing the changes made to PIPESIM models to optimize their simulation
performance ................................................................................................................ 263
4.3 Run a P/T profile ........................................................................................................................ 264
4.3.1 System results tab properties .......................................................................................... 264
4.3.2 P/T profile parameters tab ............................................................................................... 265
4.3.3 Auxiliary results tab ......................................................................................................... 264
OneSubsea booster performance plot ......................................................................... 269
OneSubsea operating point row details ....................................................................... 270
4.4 Run a nodal analysis ................................................................................................................. 271
4.4.1 Nodal analysis properties ................................................................................................ 273
4.4.2 Add a nodal point ............................................................................................................ 275
4.4.3 Nodal analysis results tab properties .............................................................................. 277
4.4.4 System results tab properties .......................................................................................... 264
4.4.5 Auxiliary results tab ......................................................................................................... 264
4.5 Run a system analysis .............................................................................................................. 280
4.5.1 System analysis properties ............................................................................................. 281
4.5.2 System results tab properties - system analysis ............................................................. 284
4.5.3 Profile results tab properties - system analysis ............................................................... 264

iv
PIPESIM User Guide

4.5.4 Auxiliary results tab ......................................................................................................... 264


4.6 Create a VFP table ..................................................................................................................... 286
4.6.1 VFP table properties ....................................................................................................... 287
4.6.2 Save a VFP table to a file ................................................................................................ 289
4.7 Run data matching .................................................................................................................... 289
4.7.1 Data matching properties ................................................................................................ 298
4.8 Design an ESP ........................................................................................................................... 301
4.8.1 ESP design task parameters ........................................................................................... 304
4.8.2 Tapered ESP design ......................................................................................................... 86
4.9 Run gas lift tasks ....................................................................................................................... 309
4.9.1 Run deepest injection point ............................................................................................. 310
DIP results tab properties ............................................................................................ 313
4.9.2 Run gas lift response ...................................................................................................... 314
Gas lift response results tab properties ....................................................................... 316
4.9.3 Run gas lift design ........................................................................................................... 318
Design results tab properties ....................................................................................... 313
Gas lift redesign ........................................................................................................... 331
4.9.4 Run gas lift diagnostics ................................................................................................... 334
System results tab properties ...................................................................................... 264
Profile results tab properties ........................................................................................ 264
Diagnostics results tab properties ............................................................................... 313
4.10 Run a perforation design ............................................................................................................ 39
4.10.1 Select a gun system ........................................................................................................ 350
4.10.2 Completion updates to well models ................................................................................ 350
4.10.3 Perforation design ........................................................................................................... 355
4.10.4 Job info ............................................................................................................................ 355
4.10.5 Wellbore .......................................................................................................................... 356
4.10.6 Rock data ........................................................................................................................ 358
Sandstone table ........................................................................................................... 359
Limestone table ........................................................................................................... 359
Dolomite table .............................................................................................................. 359
4.10.7 Gun systems ................................................................................................................... 363
4.10.8 Perforation design results report ..................................................................................... 365
4.11 Manage results ........................................................................................................................... 369
4.11.1 Launch the results viewer ............................................................................................... 371
4.12 Ill-conditioned simulations ....................................................................................................... 372

5 Manage model data ................................................................................................. 373


5.1 Manage flowlines and risers ..................................................................................................... 373
5.2 Manage fluids ............................................................................................................................... 12
5.3 Manage zones ............................................................................................................................ 375

6 Work with the GIS map ........................................................................................... 377


6.1 Choose a basemap .................................................................................................................... 377

v
PIPESIM User Guide

6.1.1 Add bing basemaps ........................................................................................................ 378


6.2 Navigate the GIS map ................................................................................................................ 379
6.2.1 Pan and zoom to your map area ..................................................................................... 379
6.2.2 Zoom to a geographic location or address ...................................................................... 380
6.3 Zoom to bookmarks .................................................................................................................. 381
6.3.1 Import a bookmark file ..................................................................................................... 382
Create a custom bookmark file .................................................................................... 382
6.4 Work with layers ........................................................................................................................ 383
6.4.1 GIS shapefile basics ....................................................................................................... 384
6.4.2 Use shapefiles ................................................................................................................. 385
6.4.3 Use map services ............................................................................................................ 386
Network prerequisites .................................................................................................. 387
Obtain WMS parameters ............................................................................................. 388
6.4.4 Use a map cache ............................................................................................................ 390
6.4.5 Change the display options ............................................................................................. 391
6.5 Use the GIS map ........................................................................................................................ 392
6.5.1 Create a new network model on the GIS map manually ................................................. 393
6.5.2 Locate a previously built schematic network on the GIS map ......................................... 393
6.5.3 Move the entire network to a new map location .............................................................. 394
6.5.4 Display object clusters .................................................................................................... 394
6.5.5 ASTER and SRTM elevation data sources ....................................................................... 49
6.5.6 Change the PIPESIM data source for GIS elevation data capture ................................... 49
6.5.7 Capture elevations .......................................................................................................... 398
6.5.8 View profile direction ....................................................................................................... 398
6.5.9 Edit equipment locations ................................................................................................. 399
6.5.10 Create a network model from a GIS shapefile automatically ............................................ 50
6.5.11 Use additional functions within the GIS map ................................................................... 401
Show the map legend .................................................................................................. 401
Measure distance and area ......................................................................................... 401
Print the map ............................................................................................................... 402

7 Technical Description ............................................................................................. 403


7.1 Flow models ............................................................................................................................... 403
7.1.1 Flow regimes ................................................................................................................... 403
Flow regimes classification for vertical two phase flow ............................................... 403
Flow regimes classification for horizontal two phase flow ........................................... 404

vi
PIPESIM User Guide

7.1.2 Horizontal multiphase flow correlations ........................................................................... 405


Baker Jardine (BJA) correlation ................................................................................... 405
Beggs and Brill original ................................................................................................ 405
Beggs and Brill revised ................................................................................................ 406
Dukler, (AGA) and Flanigan ........................................................................................ 406
Dukler, (AGA) and Flanigan (Eaton Holdup) ............................................................... 406
Eaton-Oliemans ........................................................................................................... 406
Hughmark-Dukler ........................................................................................................ 406
LEDA ........................................................................................................................... 407
Minami and Brill ........................................................................................................... 407
Mukherjee and Brill ...................................................................................................... 408
NOSLIP correlation ...................................................................................................... 408
OLGAS 2-phase / OLGAS 2000 3-phase .................................................................... 408
Oliemans ..................................................................................................................... 409
TUFFP unified mechanistic model (2-phase and 3-phase) ......................................... 409
Xiao ............................................................................................................................. 409
Xiao (film modified) ...................................................................................................... 410
7.1.3 Vertical multiphase flow correlations ............................................................................... 410
Ansari .......................................................................................................................... 410
Aziz, Govier, and Fogarasi .......................................................................................... 410
Beggs and Brill original ................................................................................................ 411
Beggs and Brill revised ................................................................................................ 411
Duns and Ros .............................................................................................................. 411
Gomez ......................................................................................................................... 412
Gomez enhanced ........................................................................................................ 412
Govier and Aziz ........................................................................................................... 412
Gray ............................................................................................................................. 412
Gray modified .............................................................................................................. 413
Gregory ........................................................................................................................ 413
Hagedorn and Brown ................................................................................................... 414
Mukherjee and Brill ...................................................................................................... 414
NOSLIP correlation ...................................................................................................... 414
OLGAS 2-phase/OLGAS 3-phase ............................................................................... 414
LEDA 2-phase/3-phase ............................................................................................... 415
Orkiszewski ................................................................................................................. 415
TUFFP unified mechanistic model (2-phase and 3-phase) ......................................... 409
7.1.4 Suggested correlations ................................................................................................... 416
7.1.5 Friction and holdup factors .............................................................................................. 418
7.1.6 Single phase flow correlations ........................................................................................ 418
Moody (default for liquid or gas) .................................................................................. 419
AGA (for gas) ............................................................................................................... 420
Cullender and Smith (for gas) ...................................................................................... 421
Other friction pressure drops for gas ........................................................................... 422
Hazen-Williams (for liquid water) ................................................................................. 422
7.1.7 Swap angle ..................................................................................................................... 423

vii
PIPESIM User Guide

7.1.8 deWaard (1995) corrosion model .................................................................................... 423


7.1.9 Cunliffe's method for ramp up surge ............................................................................... 426
7.1.10 Liquid by sphere (Sphere Generated Liquid Volume, SGLV) ......................................... 427
7.1.11 Liquid loading .................................................................................................................. 430
Critical unloading velocity ............................................................................................ 430
Critical gas rate ............................................................................................................ 431
7.2 Completion (IPR) models .......................................................................................................... 431
7.2.1 Inflow performance relationships for vertical completions ............................................... 431
Productivity index (PI) .................................................................................................. 432
Vogel's equation .......................................................................................................... 433
Fetkovich's equation .................................................................................................... 435
Jones' equation ........................................................................................................... 435
Forchheimer equation .................................................................................................. 436
Back pressure equation ............................................................................................... 436
Pseudo Steady State Equation / Darcy Equation ........................................................ 437
Transient IPR ............................................................................................................... 444
Data File ...................................................................................................................... 449
Bubble Point Correction ............................................................................................... 450
Vertical Well Skin Factor ............................................................................................. 451
7.2.2 Inflow Performance Relationships for Horizontal Completions ....................................... 464
Theory ......................................................................................................................... 464
Pressure drop .............................................................................................................. 464
Inflow production profiles ............................................................................................. 468
Steady-state productivity ............................................................................................. 469
Pseudo-steady state productivity ................................................................................. 472
Solution gas-drive IPR ................................................................................................. 477
Horizontal gas wells ..................................................................................................... 477
Distributed productivity index method .......................................................................... 479
7.2.3 Oil / water relative permeability tables ............................................................................ 480
Keywords ..................................................................................................................... 480
7.2.4 Coning ............................................................................................................................. 480
7.3 Equipment .................................................................................................................................. 481
7.3.1 Chokes, valves and fittings ............................................................................................. 481
Choke .......................................................................................................................... 481
Choke subcritical flow correlations .............................................................................. 484
Choke critical pressure ratio ........................................................................................ 487
Choke critical flow correlations .................................................................................... 488
Flow control valves mechanistic theory ....................................................................... 489
Fittings ......................................................................................................................... 490
7.3.2 Compressors, pumps, and expanders ............................................................................ 493
Centrifugal pumps and compressors ........................................................................... 493
Reciprocating compressor operation ........................................................................... 496
Expanders ................................................................................................................... 497
7.3.3 Multiphase boosting technology ...................................................................................... 499
Guide to multiphase booster efficiencies ..................................................................... 513

viii
PIPESIM User Guide

7.3.4 Artificial lift ....................................................................................................................... 514


Progressive cavity pump (PCP) ................................................................................... 514
Electrical submersible pumps (ESP) ........................................................................... 517
Gas lift ......................................................................................................................... 524
7.4 Heat transfer models ................................................................................................................. 559
7.4.1 Energy equation for steady-state flow ............................................................................. 559
7.4.2 Overall heat transfer coefficient ...................................................................................... 560
7.4.3 Inside fluid film heat transfer coefficient .......................................................................... 563
Inside forced convection .............................................................................................. 565
Inside natural/free convection ...................................................................................... 571
7.4.4 Conductive heat transfer coefficients .............................................................................. 573
7.4.5 Annulus and outside convective heat transfer coefficients ............................................. 574
7.4.6 Heat transfer between a horizontal flowline and the ground surface .............................. 576
Fully buried ground heat transfer coefficient ............................................................... 576
Partially buried ground heat transfer coefficient .......................................................... 578
7.4.7 Heat transfer between a vertical well and the surrounding rock ..................................... 580
Ramey model .............................................................................................................. 580
7.5 Fluid Models ............................................................................................................................... 581
7.5.1 Steam modelling ............................................................................................................. 582
Single branch steam .................................................................................................... 583
Network model steam .................................................................................................. 583
7.5.2 Black oil fluid modeling .................................................................................................... 584
Black oil correlations .................................................................................................... 586
Solution gas-oil ratio .................................................................................................... 587
Oil formation volume factor .......................................................................................... 592
Oil viscosity .................................................................................................................. 594
Gas compressibility ..................................................................................................... 601
Gas viscosity ............................................................................................................... 604
Surface tension ............................................................................................................ 605
Black oil enthalpy ......................................................................................................... 606
Black oil mixing ............................................................................................................ 607
7.5.3 Compositional fluid modeling .......................................................................................... 614
Cubic equations of state .............................................................................................. 615
Non-cubic equations of state ....................................................................................... 619
Components for cubic equations of state .................................................................... 624
Components for non-cubic equations of state ............................................................. 629
Viscosity models for compositional fluids .................................................................... 594
Solid precipitation ........................................................................................................ 631
7.5.4 Fluid property table files .................................................................................................. 634
Internal fluid property tables ........................................................................................ 635
7.5.5 Liquid mixture properties ................................................................................................. 635
Liquid viscosity and oil/water emulsions ...................................................................... 635
Liquid-gas surface tension ........................................................................................... 642
7.6 Typical and default data ............................................................................................................ 642

ix
PIPESIM User Guide

7.6.1 Limits ............................................................................................................................... 642


General ........................................................................................................................ 642
Pipeline and facilities ................................................................................................... 642
Well Performance ........................................................................................................ 642
Network ....................................................................................................................... 643
7.6.2 Tubing and pipeline tables .............................................................................................. 643
Tubing/casing tables .................................................................................................... 643
Pipeline tables ............................................................................................................. 648
7.6.3 Typical values ................................................................................................................. 652
Fluid properties ............................................................................................................ 652
Roughness .................................................................................................................. 653
Thermal Conductivities ................................................................................................ 653
Permeability ................................................................................................................. 655
Drainage radius ........................................................................................................... 655
Fittings ......................................................................................................................... 655
7.7 Glossary ..................................................................................................................................... 657
7.7.1 Roman Letters ................................................................................................................. 657
7.7.2 Greek Letters .................................................................................................................. 660
7.7.3 Subscripts ....................................................................................................................... 661
7.8 Conversion factors .................................................................................................................... 662
7.8.1 Length ............................................................................................................................. 662
7.8.2 Volume ............................................................................................................................ 662
7.8.3 Mass ................................................................................................................................ 662
7.8.4 Time ................................................................................................................................ 663
7.8.5 Gravity ............................................................................................................................. 663
7.8.6 Pressure .......................................................................................................................... 663
7.8.7 Energy ............................................................................................................................. 663
7.8.8 Power .............................................................................................................................. 663
7.8.9 Dynamic viscosity ............................................................................................................ 663
7.8.10 Permeability .................................................................................................................... 664
7.9 References ................................................................................................................................. 664

8 Keyword index ........................................................................................................ 677


8.1 Keyword list ............................................................................................................................... 677
8.1.1 A ...................................................................................................................................... 677
8.1.2 B ...................................................................................................................................... 677
8.1.3 C ...................................................................................................................................... 678
8.1.4 D E .................................................................................................................................. 678
8.1.5 F ...................................................................................................................................... 678
8.1.6 G ..................................................................................................................................... 679
8.1.7 H ...................................................................................................................................... 679
8.1.8 I ....................................................................................................................................... 679
8.1.9 J ...................................................................................................................................... 679
8.1.10 K ...................................................................................................................................... 679
8.1.11 L ...................................................................................................................................... 679

x
PIPESIM User Guide

8.1.12 M ..................................................................................................................................... 679


8.1.13 N ...................................................................................................................................... 680
8.1.14 O ..................................................................................................................................... 680
8.1.15 P ...................................................................................................................................... 680
8.1.16 Q R .................................................................................................................................. 680
8.1.17 S ...................................................................................................................................... 680
8.1.18 T ...................................................................................................................................... 681
8.1.19 U ...................................................................................................................................... 681
8.1.20 V ...................................................................................................................................... 681
8.1.21 W ..................................................................................................................................... 681
8.1.22 XYZ ................................................................................................................................. 682
8.2 Input files and input data conventions .................................................................................... 682
8.2.1 General ........................................................................................................................... 682
8.2.2 Statements ...................................................................................................................... 682
8.2.3 Delimiters ........................................................................................................................ 682
Examples ..................................................................................................................... 683
8.2.4 Abbreviations .................................................................................................................. 683
Example ....................................................................................................................... 684
8.2.5 Numeric data ................................................................................................................... 684
Example ....................................................................................................................... 684
8.2.6 Units description .............................................................................................................. 684
8.2.7 Character input ................................................................................................................ 685
Example ....................................................................................................................... 685
8.2.8 Comment statements and blank lines ............................................................................. 685
Example ....................................................................................................................... 685
8.2.9 Multiple value data sets ................................................................................................... 685
Examples ..................................................................................................................... 686
8.2.10 Input files ......................................................................................................................... 687
General ........................................................................................................................ 687
The main input ('.PSM' or '.PST') file ........................................................................... 687
Included files and the INCLUDE statement ................................................................. 687
AUTOEXEC.PSM ........................................................................................................ 688
modelname.U2P or branchname.U2P ......................................................................... 688
8.3 General data ............................................................................................................................... 688
8.3.1 Change parameters within the system profile ................................................................. 689
Example ....................................................................................................................... 689
Multiple cases .............................................................................................................. 689
8.3.2 HEADER - Job Accounting Header (Required) ............................................................... 689
Example ....................................................................................................................... 690
8.3.3 JOB - Job Title (Optional) ................................................................................................ 690
8.3.4 CASE - Case Title (Optional) .......................................................................................... 690
8.3.5 UNITS - Input and Output Units (Optional) ..................................................................... 690
Example ....................................................................................................................... 691
8.3.6 OPTIONS Calculation Procedure Options (Optional) ..................................................... 691
8.3.7 RATE: Fluid Flow Rate Data ........................................................................................... 701

xi
PIPESIM User Guide

8.3.8 ITERN Iteration Data (Optional) ...................................................................................... 703


8.3.9 INLET System Inlet Data ................................................................................................. 705
8.3.10 PRINT Output Printing Options (Optional) ...................................................................... 706
Per-case output page options ...................................................................................... 706
Attributes ..................................................................................................................... 709
Point report subcodes .................................................................................................. 710
One-off output pages ................................................................................................... 712
8.3.11 PLOT Output Plotting Options (Optional) ........................................................................ 713
8.3.12 NOPRINT Output Print Suppression Options (Optional) ................................................. 716
8.3.13 BEGIN , END - Block delimiters ...................................................................................... 716
Example ....................................................................................................................... 717
8.3.14 PUSH - Remote Action Editing (optional) ....................................................................... 718
8.3.15 PLOTFILEDATA .............................................................................................................. 719
8.3.16 EXECUTE - deferred execution of a statement .............................................................. 719
8.3.17 USERDLL - Equipment ................................................................................................... 720
8.4 FLOW CORRELATION DATA .................................................................................................... 720
8.4.1 CORROSION .................................................................................................................. 721
8.4.2 EROSION Erosion Rate and Velocity (Optional) ............................................................ 721
8.4.3 SLUG Slug Calculation Options (Optional) ..................................................................... 722
Slug catcher size ......................................................................................................... 723
8.4.4 VCORR Vertical Flow Correlation Options ...................................................................... 723
Summary of valid vertical flow correlation combinations ............................................. 724
Vertical flow correlations - abbreviations ..................................................................... 725
8.4.5 HCORR Horizontal Flow Correlation Options ................................................................. 727
Summary of valid horizontal flow correlation combinations ......................................... 728
Horizontal flow correlations - abbreviations ................................................................. 725
8.4.6 SPHASE Single Phase Flow Options (Optional) ............................................................. 730
8.4.7 USERDLL - Flow Correlations ........................................................................................ 732
8.5 Well performance modeling ...................................................................................................... 732
8.5.1 Introduction ..................................................................................................................... 733
8.5.2 COMPLETION Completion Profile Delimiter ................................................................... 734
Supercode ................................................................................................................... 734
8.5.3 FCV : Flow control valve ................................................................................................. 735
Example 1 .................................................................................................................... 736
8.5.4 WELLPI Well Productivity Index (Optional) ..................................................................... 737
Subcodes ..................................................................................................................... 737
8.5.5 WPCURVE (Optional) ..................................................................................................... 738
8.5.6 VOGEL Vogel Equation (Optional) .................................................................................. 738
Subcodes ..................................................................................................................... 738
8.5.7 FETKOVICH Fetkovich Equation (Optional) ................................................................... 738
Subcodes ..................................................................................................................... 738
8.5.8 JONES Jones Equation (Optional) .................................................................................. 739
Subcodes ..................................................................................................................... 739
8.5.9 IFPPSSE : Data for the Pseudo Steady State Equation (Optional) ................................ 739
8.5.10 WCOPTION Well Completion Data (Optional) ................................................................ 741

xii
PIPESIM User Guide

8.5.11 IPRCRV or IFPCRV: Inflow Performance Curve ............................................................. 744


Examples ..................................................................................................................... 745
8.5.12 IFPTAB Inflow Performance Tabulation (Optional) ......................................................... 745
Values .......................................................................................................................... 746
Example ....................................................................................................................... 746
8.5.13 CONETAB Coning Relationship Tabulation (Optional) ................................................... 747
Example ....................................................................................................................... 747
8.5.14 BACKPRES Back Pressure Equation (BPE) (Optional) .................................................. 748
Subcodes ..................................................................................................................... 748
8.5.15 HORWELL Horizontal Well Inflow Performance ............................................................. 748
8.5.16 LAYER Reservoir Layer Properties ................................................................................. 750
Examples ..................................................................................................................... 751
8.5.17 RESERVOIR ................................................................................................................... 752
8.5.18 PERMCRV: Curves of Relative Permeability versus Saturation (Optional) .................... 752
Example ....................................................................................................................... 752
8.5.19 PERMTAB: Tabulation of Relative Permeability versus Saturation (Optional) ............... 753
Example ....................................................................................................................... 753
8.5.20 HVOGEL (Optional) ........................................................................................................ 754
8.5.21 FORCHHEIMER (Optional) ............................................................................................. 754
8.5.22 FRACTURE: Data for Hydraulic Fracture ....................................................................... 754
8.5.23 TRANSIENT: Data for the Transient Inflow equation (Optional) ..................................... 754
8.6 SYSTEM DATA ........................................................................................................................... 756
8.6.1 CHOKE (Optional) ........................................................................................................... 756
8.6.2 COMPCRV and PUMPCRV: Compressor and Pump performance curves .................... 761
Examples ..................................................................................................................... 762
8.6.3 COMPRESSOR Compressor (Optional) ......................................................................... 763
8.6.4 RODPUMP: Rod- or Beam-pump ................................................................................... 764
8.6.5 EQUIPMENT Generic Equipment ................................................................................... 481
Examples ..................................................................................................................... 767
8.6.6 EXPANDER Expander (Optional) ................................................................................... 767
8.6.7 FITTING : Valves and Fittings ......................................................................................... 768
EXAMPLES ................................................................................................................. 770
8.6.8 FMPUMP (Optional) ........................................................................................................ 770
8.6.9 FRAMO 2009 (Optional) ................................................................................................. 770
EXAMPLE .................................................................................................................... 771
8.6.10 HEATER Heater/Cooler (Optional) ................................................................................. 771
8.6.11 GASLIFT: Multiple Injection Ports in Gaslifted Wells ...................................................... 772
Main-code: GASLIFT ................................................................................................... 772
8.6.12 INJPORT Gas Lift Injection Valve ................................................................................... 775
8.6.13 INJGAS: Injection Gas (Optional) and INJFLUID: Fluid Injection ................................... 777
8.6.14 MPBOOSTER (Optional) ................................................................................................ 780
8.6.15 MPUMP Multiphase Pump (Optional) ............................................................................. 781
8.6.16 NODE System Profile Data (Required) ........................................................................... 782
8.6.17 PIPE: Pipe or Tubing cross-section dimensions (Required) ........................................... 784
8.6.18 PUMP Pump (Optional) ................................................................................................... 786

xiii
PIPESIM User Guide

8.6.19 COMPCRV and PUMPCRV: Compressor and Pump performance curves .................... 761
Examples ..................................................................................................................... 762
8.6.20 REINJECTOR (Optional) ................................................................................................ 789
8.6.21 RODPUMP: Rod- or Beam-pump ................................................................................... 764
8.6.22 SEPARATOR Separator (Optional) ................................................................................ 791
8.6.23 WELLHEAD Wellhead Profile Delimiter .......................................................................... 792
8.7 HEAT TRANSFER DATA ........................................................................................................... 792
8.7.1 Notes on Heat Transfer Output Printing .......................................................................... 792
8.7.2 HEAT Heat balance options (optional) ............................................................................ 792
Heat transfer mode ...................................................................................................... 795
8.7.3 COAT Pipe coat and annular space medium data (optional) .......................................... 795
Example ....................................................................................................................... 796
8.7.4 TCOAT Pipe coat thickness data (optional) .................................................................... 796
8.7.5 KCOAT Pipe coat thermal conductivity data (optional) ................................................... 797
Files ............................................................................................................................. 798
Example ....................................................................................................................... 798
8.7.6 FLUID Fluid thermal conductivity data (optional) ............................................................ 800
8.7.7 CONFIG: Pipe Heat transfer configuration data (optional) .............................................. 800
8.7.8 Pipeline burial depth examples ....................................................................................... 802
8.8 Fluid models ............................................................................................................................... 803
8.8.1 BLACK OIL DATA ........................................................................................................... 803
BLACKOIL: Black Oil Fluid definitions ......................................................................... 803
PROP Fluid Property Data (Optional) .......................................................................... 805
LVIS: Liquid Viscosity Data (Optional) ......................................................................... 806
CPFLUID: Fluid Heat Capacity Data (Optional) .......................................................... 811
TPRINT Black Oil Table Printing (Optional) ................................................................ 812
CALIBRATE: Black Oil Property Calibration (Optional) ............................................... 812
CONTAMINANTS Gas phase contaminants data (optional) ....................................... 814
8.8.2 COMPOSITIONAL DATA ................................................................................................ 814
AQUEOUS: Aqueous component specification ........................................................... 814
CEMULSION Compositional liquid emulsion data (optional) ....................................... 815
COMPOSITION: Compositional fluid specification ...................................................... 817
LIBRARY: Library component specification ................................................................. 821
MODEL: Model properties specification ...................................................................... 822
PETROFRAC: Petroleum fraction specification .......................................................... 823
TPRINT Tabular data print options (optional) .............................................................. 824
8.8.3 MFL files .......................................................................................................................... 824
PROCOPTIONS: Master MFL file for mixing (optional but recommended) ................. 824
8.9 PIPESIM OPERATIONS OPTIONS ............................................................................................ 825
8.9.1 NAPLOT: Nodal analysis ................................................................................................ 825
8.9.2 NAPOINT system analysis point ..................................................................................... 829
8.9.3 MULTICASE introduction and summary ......................................................................... 829
General rules for use with MULTICASE ...................................................................... 830
8.9.4 Explicit subcodes ............................................................................................................ 831

xiv
PIPESIM User Guide

8.9.5 General purpose subcodes ............................................................................................. 833


Examples ..................................................................................................................... 833
8.9.6 Combine MULTICASE and CASE/ENDCASE ................................................................ 834
8.9.7 Multiple case and PS-PLOT ............................................................................................ 836
8.9.8 Reservoir simulator tabular data interface ...................................................................... 836
8.9.9 ASSIGN change profile data by assignment ................................................................... 838
Example ....................................................................................................................... 838
8.9.10 OPTIMIZE ....................................................................................................................... 838
Examples ..................................................................................................................... 839
8.9.11 Wax deposition and time stepping modeling options ...................................................... 840
Time subcodes ............................................................................................................ 841
Termination subcodes ................................................................................................. 842
Wax subcodes ............................................................................................................. 842
BP, DBRS or DBRM method subcodes ....................................................................... 843
Shell subcodes ............................................................................................................ 844
8.10 PIPESIM-Net keywords .............................................................................................................. 846
8.10.1 SETUP ............................................................................................................................ 846
Subcodes ..................................................................................................................... 846
8.10.2 BRANCH ......................................................................................................................... 848
Subcodes ..................................................................................................................... 849
8.10.3 SOURCE ......................................................................................................................... 850
Subcodes ..................................................................................................................... 850
8.10.4 SINK ................................................................................................................................ 853
Subcodes ..................................................................................................................... 854
8.10.5 JUNCTION ...................................................................................................................... 855
Subcodes ..................................................................................................................... 855
8.10.6 NSEPARATOR ............................................................................................................... 856
Subcodes ..................................................................................................................... 856
8.11 Keyword index ........................................................................................................................... 677

xv
PIPESIM User Guide

8.11.1 Keyword list ..................................................................................................................... 677


A .................................................................................................................................. 677
B .................................................................................................................................. 677
C .................................................................................................................................. 678
D E ............................................................................................................................... 678
F .................................................................................................................................. 678
G .................................................................................................................................. 679
H .................................................................................................................................. 679
I .................................................................................................................................... 679
J ................................................................................................................................... 679
K .................................................................................................................................. 679
L ................................................................................................................................... 679
M .................................................................................................................................. 679
N .................................................................................................................................. 680
O .................................................................................................................................. 680
P .................................................................................................................................. 680
Q R .............................................................................................................................. 680
S .................................................................................................................................. 680
T .................................................................................................................................. 681
U .................................................................................................................................. 681
V .................................................................................................................................. 681
W ................................................................................................................................. 681
XYZ .............................................................................................................................. 682

9 Tutorials ................................................................................................................... 862


9.1 Oil well performance analysis .................................................................................................. 862
9.1.1 NODAL analysis .............................................................................................................. 863
9.1.2 Task 1: Build the well model ........................................................................................... 863
9.1.3 Task 2: Perform a NODAL analysis ................................................................................ 869
9.1.4 Task 3: Generate a pressure/temperature profile ........................................................... 870
9.1.5 Fluid calibration ............................................................................................................... 873
9.1.6 Single point calibration .................................................................................................... 873
9.1.7 Task 4: Calibrate PVT data ............................................................................................. 874
9.1.8 Multiphase flow correlation calibration ............................................................................ 875
9.1.9 Inflow performance matching .......................................................................................... 876
9.1.10 Task 5: Sensitize on the Well PI to match well performance .......................................... 876
9.1.11 Well performance analysis .............................................................................................. 877
9.1.12 Task 6: Analyze water cut sensitivity .............................................................................. 877
9.1.13 Task 7: Evaluate gas lift performance ............................................................................. 879
9.1.14 Task 8: Model multiple completions ................................................................................ 882
9.1.15 Task 9: Model a downhole choke .................................................................................... 884
9.2 Gas well performance analysis ................................................................................................ 886
9.2.1 Compositional fluid modeling .......................................................................................... 886
9.2.2 Task 1: Create a compositional fluid model for a gas well .............................................. 890
9.2.3 Gas well deliverability ...................................................................................................... 895

xvi
PIPESIM User Guide

9.2.4 Task 2: Calculate gas well deliverability .......................................................................... 896


9.2.5 Task 3: Calibrate the inflow model using multipoint test data ......................................... 897
9.2.6 Erosion prediction ........................................................................................................... 898
9.2.7 Task 4: Select a tubing size ............................................................................................ 899
9.2.8 Choke modeling .............................................................................................................. 900
9.2.9 Task 5: Model a flowline and choke ................................................................................ 901
9.2.10 Task 6: Predict future production rates ........................................................................... 904
9.2.11 Liquid loading .................................................................................................................. 905
9.2.12 Task 7: Determine a critical gas rate to prevent well loading .......................................... 906
9.3 Subsea tieback design .............................................................................................................. 910
9.3.1 Flow assurance considerations ....................................................................................... 910
9.3.2 Task 1: Size the subsea tieback and riser ...................................................................... 911
9.3.3 Hydrates .......................................................................................................................... 919
9.3.4 Task 2: Select tieback insulation thickness ..................................................................... 921
9.3.5 Task 3: Determine the methanol requirement ................................................................. 925
9.3.6 Severe riser slugging ...................................................................................................... 928
9.3.7 Task 4: Screen for severe riser slugging ......................................................................... 929
9.3.8 Slug catcher sizing .......................................................................................................... 930
9.3.9 Task 5: Size a slug catcher ............................................................................................. 933
9.4 Looped gas gathering network ................................................................................................ 936
9.4.1 Model a gathering network .............................................................................................. 936
9.4.2 Task 1: Model a pipeline network .................................................................................... 937
9.4.3 Task 2: Screen the network for erosion issues ............................................................... 947
9.5 Manual creation of a simple network model on the GIS map ................................................ 948
9.5.1 Task 1: Build the network model on a map ..................................................................... 948
9.6 Automatic creation of a network model on the GIS map ....................................................... 962
9.7 Use of inline heating for wax mitigation .................................................................................. 962

10 Support .................................................................................................................... 981


10.1 SIS web support ......................................................................................................................... 981
10.2 On-site support .......................................................................................................................... 981
10.3 SIS Education ............................................................................................................................. 981

Index .......................................................................................................................................................... 982

xvii
PIPESIM User Guide

xviii
PIPESIM User Guide

1
Navigate the interface
The user interface is similar in style to the Microsoft® Office ribbon. At startup, the Workspace tab
appears.

Startup options
• Create a new network-centric or well-centric workspace.
• Open an existing workspace (including PIPESIM* 2007-2012 single-branch and network
models).
• Open a recent model from the Recent workspaces group, which displays the last 20
workspaces used.
• Perform other activities, using the Workspace tab options on the left.

License information
In the License information group, green icons indicate licensed features and red icons indicate
unlicensed features.
PIPESIM single-branch (wells & pipelines)
required to run single branch simulations
PIPESIM network modeling
required to run network simulations

Navigate the interface


1
PIPESIM User Guide

Related links:
Workspace tab options (p.2)
Workspace types (p.3)
Workspace options (p.6)
Tour of the ribbon (p.14)
Change the main window layout (p.15)
Manage floating panes (p.16)

1.1 Workspace tab options


The Workspace tab provides options to manage your PIPESIM* workspace files and preferences.

Option Description
Save Saves the current workspace. If no workspace is open, this option is unavailable.
Save as Saves the current workspace to a different location in the file system. If no workspace is
open, this option is unavailable.
Open Opens an existing workspace. If a workspace containing unsaved changes is already
open, you are prompted to save it.
You can open the following types of models in a workspace:

Navigate the interface


2
PIPESIM User Guide

Option Description
• PIPESIM 2013+ network or well model file (.pips*)
• PIPESIM (2007-2012) single-branch model file (.bps)
• PIPESIM (2007-2012) network model file (.bpn)
Close Closes an open workspace. If the workspace contains unsaved changes, you are
prompted to save it.
New Creates a new workspace, or opens an existing workspace. By default, the New option
is selected when you start the application.
Help Provides access to the online help, support portal, Schlumberger contact information,
demo videos, case studies (sample model files), and information about the application.
Options Opens the Options window where you can configure unit systems, manage installed
plug-ins, configure GIS map options, and select advanced simulation preferences..
Exit Quits the application. If the workspace contains unsaved changes, you are prompted to
save it.

Related links:
Navigate the interface (p.1)

1.2 Workspace types


A workspace contains all of the data for a model. There are two types of workspaces: network-
centric and well-centric. The well-centric workspace mode is essentially a subset of the network-
centric mode that simplifies the user interface by showing user interface elements relevant only to
well modeling applications. Both workspace types use the same model file format (.pips).
Well-centric workspace
Use this workspace type when your focus is specifically on modeling wells only. Some of
the options and viewers for network modeling and simulation are not offered in a well-
centric workspace. When you save the workspace, the mode is retained; the next time you
open the workspace, it will automatically open in well-centric mode.
Network-centric workspace
Use this workspace type when you want to construct a network model and run Network
Simulation tasks to optimize the model. Network-centric mode also includes all the
functionality of well-centric mode. When you save the workspace, the mode is retained;
the next time you open the workspace, it will automatically open in network-centric mode.
You can switch modes easily any time a workspace is open. This is useful, for example, when you
want to extend a single-well model to include other wells and build a production network. On the
Home tab, in the Perspective gallery, click Well or Network.

Related links:
Network-centric workspace (p.4)

Navigate the interface


3
PIPESIM User Guide

Well-centric workspace (p.5)

1.2.1 Network-centric workspace


A network-centric workspace consists of four main areas: ribbon and context tab, navigation
panes, network diagram, and information area.
Ribbon and contextual tool tab
The ribbon is located at the top of the window. The Network tools tab is contextual; its
content is determined by the core tab selected (Home, Insert, or Format).
Context bar
The context bar appears just below the ribbon and is always viewable. You may use the
context bar to create, edit, and select studies and wells.
Navigation panes
Use the Inputs pane to add and manage network objects in the diagram. Use the Tasks
pane to perform analysis and simulation tasks.

Note: By default, the Tasks pane is not visible. To show the pane, change the window
layout.

Network diagram
The network diagram serves as the canvas on which you build the surface network, using
objects located in the Insert tab. Equipment with missing values is outlined in red. On the
Format tab, you can access additional visualization options such as zoom, icon size, grid
size and style, and object labels.
Information area
Located at the bottom left of the window, this area contains the Message center and
Validation tabs. Each tab opens a dockable pane.

Navigate the interface


4
PIPESIM User Guide

Related links:
Workspace types (p.3)

1.2.2 Well-centric workspace


A well-centric workspace consists of four main areas: the ribbon and context tab, the navigation
panes, the Well editor, and information area.
Ribbon and contextual tool tab
The ribbon is located at the top of the window. The Well tools tab is contextual; its content
is determined by the core tab selected (Home, Insert, or Format).
Context bar
The context bar appears just below the ribbon and is always viewable. You may use the
context bar to create, edit, and select studies and wells.
Navigation panes
Use the Inputs pane to add or manage wells. Use the Tasks pane to perform analysis
and simulation tasks.

Navigate the interface


5
PIPESIM User Guide

Note: By default, the Tasks pane is not visible. To show the pane, change the window
layout.

Well editor
This window contains the interactive wellbore schematic on the left and a well properties
area, organized into tabs, on the right.
Information area
Located at the bottom left of the window, this area contains the Message center and
Validation tabs. Each tab opens a dockable pane.

Related links:
Workspace types (p.3)

1.3 Workspace options


Use the Options dialog box to configure your workspace environment.

Navigate the interface


6
PIPESIM User Guide

Related links:
Units (p.7)
Plugins (p.9)
Advanced options (p.9)
Catalog (p.12)
GIS map options (p.12)

1.3.1 Units
Use the Options dialog box to either select a standard unit system for data display or to create and
manage custom unit systems. You can also quickly select both default and customized unit
systems from the Home tab.

Related links:
Select a standard unit system (p.7)
Create a custom unit system (p.8)
Import or export a custom unit system (p.8)

Select a standard unit system


You can select a standard unit system for data display.
1. On the Workspace tab, click Options.
2. In the left pane, click Units.
3. In the Default unit system list, click one of the following items:
Field

Metric
Uses a set of decimalized prefixes (in powers of ten). Although more consistent than
field units, there were still inconsistencies among disciplines. For example, scientists
preferred centimeter gram seconds (CGS), and engineers preferred meter kilogram
seconds (MKS), mainly because engineers were used to larger quantities. Both CGS
and MKS are metric units.
SI
Uses a set of base units that are all from the metric system, but are chosen to provide
consistency. Using SI units makes it easier to compare work done in different countries
and disciplines. Length is provided in meters, mass in kilograms, time in seconds, and
temperature in degrees Kelvin.

Note: The Description and Reference base name fields update based on your selection.

4. Click Close.

Navigate the interface


7
PIPESIM User Guide

Related links:
Units (p.7)

Create a custom unit system


You can create a custom system of units of measurement for display of input data and results.
1. On the Workspace tab, click Options.
2. In the left pane, click Units.
3. In the Display unit system list, click a predefined unit system to use as a basis (preferably, the
one most similar to the system you want to create).
4. Click Clone.
5. Enter a name for the new unit system in the Name field, and click OK.
6. In the table, change the units of measurement as necessary.
7. Click Close.

Note: You can export, import, rename, or delete custom unit systems.

Related links:
Units (p.7)

Import or export a custom unit system


You can import a custom system of units of measurement for display of input data and results. You
can also save a custom unit system to a local or network drive.
1. On the Workspace tab, click Options.
2. In the Options dialog box left pane, click Units.
3. To select a custom unit system from a local or network drive, perform the following actions:
a. Click Import.
b. Browse to the location of the file, select it, and then click Open.
c. Close the Options dialog box.
4. To save a custom unit system to a local or network drive, perform the following actions:
a. Click Export.
b. Enter the file name, and then click Save.
c. Close the Options dialog box.

Note: You can create, export, rename, or delete custom unit systems. Custom unit systems are
saved in the .cus file format.

Navigate the interface


8
PIPESIM User Guide

Related links:
Units (p.7)

1.3.2 Plugins
Plugins allow you to extend the functionality of PIPESIM to enable custom modules that have been
developed externally.
• User defined flow correlations
• User defined equipment

Related links:
Workspace options (p.6)
User defined flow correlations (p.9)
User defined equipment (p.9)

User defined flow correlations


Multiphase flow models are fundamental to PIPESIM and an area of ongoing research and
development. To facilitate the testing and use of proprietary models, PIPESIM supports user
defined multiphase flow correlations to calculate the flow pattern, liquid holdup, pressure gradient
and other characteristics of multiphase flow. Additionally, the ability to specify input switches and
report any output variable associated with the user flow correlation is available.
User defined multiphase flow correlations may be written in a variety of languages including c, c++,
Fortran, etc. Self-documenting code templates for two-phase and three-phase models written in c+
+ and Fortran are provided in ..\Program Files\Schlumberger\PIPESIM201x.x\Developer Tools\User Flow
Correlations directory created during the PIPESIM installation.

Register user flow correlations


Use the Options dialog box to register a user defined flow correlation plug-in.
1. On the Workspace tab, click Options.
2. In the left pane, click Plugins.
3. Click Register.
4. Browse to and select the desired user flow correlation DLL.
5. Click Open.
The user flow correlation DLL with relevant information is added to the list of plugins.

Use user defined flow correlations


1. To define a user flow correlation, from the Home tab, select the Simulation Settings menu and
then the Flow Correlations tab.
2. From the vertical or horizontal flow correlations group, select the desired Source and
Correlation from the drop down menus.

Navigate the interface


9
PIPESIM User Guide

3. For correlations defined with extra input options, a settings button will be displayed so you can
select the desired options.
The settings menu is only available when the Use Global option is selected. When using local
flow correlations, options defined in this settings menu will be applied for all local instances.

Related links:
Plugins (p.9)

User defined equipment


PIPESIM supports many types of equipment that can be inserted into a flow path to model devices
that affect the fluid (flowrate, pressure, temperature and enthalpy). Examples include pumps,
compressors, heaters, multipliers, chokes, etc.
If you want to model certain specialized or proprietary devices not currently supported by PIPESIM,
you can create a Dynamically Linked Library (DLL) to achieve this. Such devices may include jet
pumps, multiphase boosters, valves, etc.
Self-documenting code templates written in c++ and Fortran are provided in the .. \Program Files
\Schlumberger\PIPESIM201x.x\Developer Tools\User Equipment directory created during the PIPESIM
installation.

Register user defined equipment


1. On the Workspace tab, click Options.
2. In the left pane, click Plugins.
3. Click Register.
4. Browse to and select the desired user equipment DLL.
5. Select a user equipment or flow correlations DLL.
6. Click Open.
The user equipment DLL with relevant information is added to the list of plugins.

Use user defined equipment


Depending on the type of user equipment created, you can add a user defined equipment to the
PIPESIM model from one of three possible locations:
• Surface equipment(network or well editor)
• Downhole equipment (well editor)
• Artificial lift (well editor)
Depending on the specific configuration options defined for the user equipment, you can specify
settings and input variables in the properties editor of the user equipment. Additionally, you may
sensitize on numerical input parameters while running certain single branch tasks (such as PT
Profile, System Analysis, Nodal Analysis). Results may be viewed in both tabular and graphical
form by inspecting the System node result tables and System plots respectively.

Navigate the interface


10
PIPESIM User Guide

Related links:
Plugins (p.9)

1.3.3 Advanced options


The Advanced options, under Workspace » Options » Advanced, allows you to configure
options settings for a faster network simulations.
The Advanced tab contains the following options:

Property Description
PROGRAM Engine Path
PATHS The Engine path is the directory where the PIPESIM* engine resides.
Performance curve import path
The Performance curve import path contains the PIPESIM *.mdb file, used
in versions 2012 and older. This is only required if you have saved user
defined pump, ESP or compressor curves.
ENGINE Number of processes for Network engine
OPTIONS PIPESIM 2012 (and newer) introduced a parallelized network solver where
you can run network simulations with multiple processors to increase the
speed. The selection for this will be limited to the number of available
processors on your hardware as reported by Windows. The larger the selected
value the faster the network simulation. Set this to a smaller value of you
would like to limit the number of processes used for simulation due to other
running applications that may need processing resources.
Network debug codes
For the advanced user and as directed by technical support to enable/disable
optional features deemed temporary or to provide additional specific console
output or problem workaround, these codes are only used during Network
simulation.
Network verbosity level
Indicates how much information is displayed in the engine console during
network simulation. 0 is minimal, 1 is default and higher generally increases
the amount of output.
Single branch debug codes
For the advanced user and as directed by technical support to enable/disable
optional features deemed temporary or to provide additional specific console
output or problem workaround, these codes are used for any operation other
than network simulation.
Single branch verbosity level
Indicates how much information is displayed in the engine console during any
operation. 0 is minimal, 1 is default and higher generally increases the amount
of output.

Navigate the interface


11
PIPESIM User Guide

Property Description
RESULTS Show engine console
DISPLAY When you run a simulation, the engine output is displayed in a tab called
OPTIONS Engine Console. If this option is not checked, you do not get that tab.
Show engine output files
If this option is checked, a tab will be added and the contents of the output and
summary file will be displayed.
Max. auto-selected case/case group results
Displays only the number of profile results returned and ignores subsequent
results.
This option controls the number of profile plots automatically selected for initial
display in the profile plot.
This option helps improve performance and legibility when several sensitivities
are run.
License As needed (slower)
checkout This option will checkout PIPESIM license features as needed. If a network
license server is used, you may experience latency when running simulation
tasks or editing compositional fluid models due to the time required to access
the license server and check out the appropriate license. This is the default
setting.
At startup (faster)
This option will checkout one of each available PIPESIM license features
when the PIPESIM user interface is opened. The features are checked back
into the license server when PIPESIM is closed. This option eliminates
network latency when checking license features, allowing faster performance
when running simulation tasks or editing compositional fluid models.

Related links:
Workspace options (p.6)

Catalog
Catalog data can be updated to include user defined performance curves that may exist in one of
the older versions of catalog. The import process does not affect standard catalog data of the
destination catalog; it only adds user defined data, if any from the source catalog and merge into
destination catalog.
If you install a newer version of PIPESIM and an older database is found, perform the following
steps:
1. On the Workspace tab, select Options.
2. Click Catalog on the left hand side.
3. Decide if you want to import or export catalog data.

Navigate the interface


12
PIPESIM User Guide

Import You can import from a Previous version of catalog or From file (*.sdf) that you
Source may have exported earlier.
Previous Version:
When this option is selected, the drop down menu Version to import from
becomes active and displays all the previous versions of catalog listed
under the default catalog location. Clicking Import will import and merge
user data if it exists, otherwise, you will get a notification.
From File:
When this option is selected, the drop down menu File to import from
becomes active and allows you to browse to the location where you may
have the catalog file (*.sdf). The import will be successful if the selected file
is a previous version of the catalog and has some user data.
Import Duplicate options are Ignore and Overwrite.
Duplicates In case one of the imported user data has same name as one of the existing
data in destination catalog, the import will be ignored (with Ignore option) or
override the destination catalog with imported data (if overwrite option is
selected).
Export This option exports the current catalog as *.sdf file.

Related links:
Workspace options (p.6)

GIS map options


You can add bookmarks and map services layers from the map options under Workspace »
Options » GIS map.

LICENSED Bing key


FEATURES If a user acquires a Bing Maps Key through the Bing Maps Account Center:
https://www.bingmapsportal.com/, the following features will be unlocked
(available for use) in PIPESIM:
• Address Geocoding: Geocoding is the ability to translate an address
(whether street, ZIP code, city, country, etc.) into a corresponding
geographic location. If a valid Bing Maps Key has been provided,
geocoding can be performed by navigating to GIS map » Format » Go
location » Address.
• Additional Basemaps: If a valid Bing Maps Key has been provided,
three Bing Maps basemaps will be added to the top of the basemap
gallery under GIS map » Format » Basemaps which allow visualization
of imagery at a higher level of detail than what is supported by the default
Esri-provided basemaps.

Navigate the interface


13
PIPESIM User Guide

See Adding Bing Basemaps (p.378) and Zooming to a Specific Map


Coordinate or Address (p.380) for additional information.
Elevation account
If you have your own Geonames account, you can provide the account
name (ID) here. This field should generally not be touched and only be
used in cases where you expect to make an extraordinarily large number of
elevation capture requests and have your own account name which may be
provided here. For more information, see Capturing Elevation (p.398).
ELEVATION Default elevation source
There are 2 sources available for elevation data capture in PIPESIM; SRTM
and ASTER services. Select your preferred option from the dropdown
menu. For more information, see ASTER and SRTM Elevation Data
Sources. (p.49)
BOOKMARKS Bookmarks file
Custom (user-defined) bookmarks may be added to the GIS map using an
XML configuration file. You can navigate to the file and access these
bookmarks by opening the GIS map from the Home tab and selecting them
from the Bookmarks option list. For more information, see Creating a
Custom Bookmark File (p.382).
MAP SERVICE Map services can be added by connecting to an internal GIS server or a service
LAYERS over the Internet. The speed depends on your bandwidth and the server that
hosts the map layers. You can connect to a web map service or an ArcGIS
map. However, if you do not connect to your internal GIS server or the Internet,
the GIS map cannot display the layers from those sources. Supported map
service types are Web Map Service (WMS), ArcGIS, and Keyhole Markup
Language (KML).
For more information, see Using Map Services (p.386).

Related links:
Workspace options (p.6)

1.3.4 Tour of the ribbon


The ribbon is a command bar that organizes application features into a series of tabs at the top of
the main window. The ribbon replaces traditional menus and toolbars.

Navigate the interface


14
PIPESIM User Guide

The ribbon consists of the following key components:


Quick Access Toolbar
This small toolbar provides quick access to the Save and Save as commands (also
located in the Workspace tab). Click the down arrow to access additional commands,
such as moving the Quick Access Toolbar below the ribbon and minimizing the ribbon.
Core tabs
The Workspace, Home, Insert, and Format tabs appear in both workspace modes.
Contextual tool tabs
These tabs appear under certain circumstances. For example, in network-centric mode,
the Network tools context tab appears above the core tabs.
Context bar
The context bar appears just below the ribbon and is always viewable. You may use the
context bar to create, edit, and select studies and wells.
Tab groups
Within each tab, related features are organized into named groups.

Related links:
Navigate the interface (p.1)

1.3.5 Change the main window layout


You can change the layout of the main window in network centric mode only. For example, you can
show or hide the Inputs and Tasks panes.
1. On the Home tab, in the Application options group, click Layout and then click a layout view.

Navigate the interface


15
PIPESIM User Guide

2. To return to the default layout (showing the Inputs pane only, on the left), on the Home tab, in
the Application options group, click Return to default.

Related links:
Navigate the interface (p.1)

1.3.6 Manage floating panes


You can dock, auto hide, and undock the following panes: Inputs, Tasks, Message center, and
Validation.
1. To dock a floating pane, perform the following actions:
a. Right-click the title bar, and then click Dockable.
b. Drag the title bar onto the arrow that represents the desired docked position.

Navigate the interface


16
PIPESIM User Guide

2. To auto hide a floating pane, perform one of the following actions:


• Click Auto-hide (the pin-shaped button).

Note: When the pin is horizontal, auto-hide is active.


When the pin is vertical, auto-hide is inactive (the pane is pinned).

• In the View position list, click Auto-hide.

3. To undock a floating pane, perform the following actions:


a. Right-click the title bar, and then turn off Auto hide, if necessary.
b. Right-click the title bar, and then click Float view always.
c. Drag the title bar to move the pane anywhere on the monitor screen.

Note: In well-centric mode, you cannot undock the Wellbore schematic.

Related links:
Inputs pane (p.18)

Navigate the interface


17
PIPESIM User Guide

Tasks pane (p.18)


Information area overview (p.19)

Inputs pane
Use the Inputs pane to manage all equipment in the model. When an object is selected in the
pane, the object is automatically selected in the network diagram (network-centric mode) or
displayed in the Wellbore schematic (well-centric mode). In addition, any open properties pane
or tab automatically displays the properties of the selected object.
• In network-centric mode, the pane appears on the left side of the window by default.
• In well-centric mode, the pane is not visible since you are not generally dealing with a large
number of model objects. However, if the workspace contains multiple wells, you can quickly
select wells in the Well selector group under the ribbon.

Operation Instructions
Expand or collapse an Double-click the object category.
object tree • In network-centric mode, the pane contains a tree for each type of
surface equipment.
• In well-centric mode, the pane contains only one tree, and it is for
wells.
Display a command Right-click an object.
menu
Edit an object Double-click the object name, or right-click the object and then click
Edit.
Table 1.1: Pane Operations

Related links:
Manage floating panes (p.16)

Tasks pane
Use the Tasks pane to display simulation tasks in network centric mode only.
Network-centric mode offers five tasks: Network simulation, P/T profile, Nodal analysis,
System analysis, VFP tables, and ESP design.
In a valid model, Network simulation is always available. When the selected object is a well,
source, or junction treated as source, the remaining tasks become available.
When a well is selected, all tasks become available.
By default, the Tasks pane is not visible. (These same tasks appear on the ribbon in the Home
tab.) To show or hide the pane, change the window layout.

Related links:
Manage floating panes (p.16)

Navigate the interface


18
PIPESIM User Guide

Information area overview


The information area, located at the bottom of the window, displays all messages related to
application operations.

Pane Description
Message center Displays messages related to application operations.
Validation Displays validation warnings and errors, along with recommendations for
resolution.

Related links:
Message center pane (p.19)
Validation pane (p.20)

Message center pane


The Message center pane displays information related to operations performed in the
application. This pane features filtering and sorting.

There are three key types of messages:


Errors
problems that resulted in the termination of an operation
Warnings
problems that do not result in the termination of an operation, but may need attention
Information
information about operations and the status of the application

Operation Instructions
Filter messages by Click the appropriate filter button (Errors, Warnings, Information, or
type Current Study).
You may select multiple filters.

Navigate the interface


19
PIPESIM User Guide

Operation Instructions

Note: The Current Study filter show messages for the currently open
study only.

Search for a To find messages containing specific text, enter the text in the text box.
message
Delete a message Right-click the message, and then click Clear.
Sort the table To sort the table in ascending or descending order, double-click a column
header.
Copy table data 1. Drag the mouse pointer to select the desired table cells. To quickly
select all table data, click the top left cell.
2. Press CTRL+C.
3. Paste the table data into a document, such as an e-mail message or
spreadsheet.
Table 1.2: Pane Operations

Related links:
Information area overview (p.19)

Validation pane
The Validation pane displays all known issues within the model, such as object properties that
are missing or out of range, sources not linked to fluids, or problems with connections. Clicking the
hypertext in the Context column opens the relevant editor so that you can correct the issue.

Operation Instructions
Resolve an error 1. Click a message to select the invalid object in the Inputs pane and
network diagram, if visible.
2. Double-click a message to open the appropriate editor where you can
correct the problem.

Navigate the interface


20
PIPESIM User Guide

Operation Instructions
Sort the table To sort the table in ascending or descending order, double-click a column
header.
Copy table data 1. Select a table row.
2. Press CTRL+C.
3. Paste the table data into a document, such as an e-mail message or
spreadsheet.
Table 1.3: Pane Operations

Related links:
Information area overview (p.19)

1.3.7 Manage the catalogs


The Catalogs button (accessed from the Home tab, in the Application options group) provides
access to the equipment and template catalogs that you can manage. The catalogs contain well
and pipeline components and their associated properties. After you add a pipeline or well
component to a network or well model, you can define its properties by selecting the component
from a catalog.

Note: You can share catalogs by using the Export or Import options on the Catalog tab of the
Options dialog box (accessed from the WORKSPACE tab Options button).

Related links:
Manage the centrifugal compressor catalog (p.22)
Manage the reciprocating compressor catalog (p.22)
Manage the pump catalog (p.22)
Manage the gas lift valve catalog (p.26)
Manage the ESP catalog (p.28)
Manage the PCP catalog (p.30)
Manage the fluid templates catalog (p.31)
Manage the well templates catalog (p.33)
Manage the survey data catalog (p.34)
Catalog properties tables (p.40)
Gun system properties (p.48)
Filter catalog views
Add items to the pump catalog (p.25)

Navigate the interface


21
PIPESIM User Guide

Manage the centrifugal compressor catalog


There are no predefined items in the Centrifugal compressor catalog. You can populate the
catalog by adding compressors to it. As you add new compressors, they appear in the catalog. You
can filter the columns in the catalog to quickly locate a compressor. You can clone any compressor
in the catalog and then edit it. You can also edit or delete any custom compressor that you added
to the catalog.
1. On the Home tab, in the Application options group, click Catalogs, and then click
Centrifugal compressor catalog.
2. To add a new compressor to the catalog from scratch, click New, and then use the
Compressor dialog box to add it.
3. To add a new compressor by cloning an existing one, perform the following steps:
a. Click the compressor's row number to highlight the row, and then click Clone.
b. Double-click inside the cloned row.
c. In the Compressor dialog box, edit the compressor properties, and then click OK.
4. Click Close.

Related links:
Centrifugal compressor catalog properties (p.42)
Add centrifugal compressors to the catalog (p.22)

Add centrifugal compressors to the catalog


There are no predefined compressors in the Centrifugal compressor catalog. You can use
the Compressor dialog box to add new compressors. As you create new compressors, they
appear in the catalog.
1. On the Home tab, in the Application options group, click Catalogs, and then click
Centrifugal compressor catalog.
2. Click New.
3. In the Compressor dialog box, click the Properties tab, and then enter the compressor
properties.

Property Description
Manufacturer Manufacturer of the compressor
Model Model name or number of the compressor
Min. flowrate Minimum recommended flowrate for the performance curve. You can construct the
curve outside this limit, but warning messages appear when the operating point is
outside this limit.
Max. flowrate Maximum recommended flowrate for the performance curve. You can construct
the curve outside this limit, but warning messages appear when the operating
point is outside this limit.
Base speed Speed at which the performance curve is defined

Navigate the interface


22
PIPESIM User Guide

4. Click the Performance data tab, and then enter the compressor curve properties.

Property Description
Flowrate Flowrate associated with the discharge pressure. This is in flowing (actual) conditions,
not stock tank conditions.
Head Specifies the pressure at the compressor head.
Efficiency Specifies the efficiency of the compressor

You must enter properties for at least two curves.

Note: You can add performance curve data to the database but it will not be listed in the
Centrifugal compressor catalog.

5. Click the Performance curve tab to view the curve on a graph.


6. Click OK.

Related links:
Manage the centrifugal compressor catalog (p.22)
Compressor properties (p.141)

Manage the reciprocating compressor catalog


There are no predefined compressors in the Reciprocating compressor catalog. You can
populate the catalog by adding compressors to it. As you create new compressors, they appear in
the catalog. You can filter the columns in the catalog to quickly locate a compressor. You can clone
any compressor in the catalog and then edit it. You can also edit or delete any custom compressor
that you added to the catalog.
1. On the Home tab, in the Application options group, click Catalogs, and then click
Reciprocating compressor catalog.
2. To add a new compressor to the catalog from scratch, click New, and then use the
Compressor dialog box to add it.
3. To add a new compressor by cloning an existing one, perform the following steps:
a. Click the compressor's row number to highlight the row, and then click Clone.
b. Double-click inside the cloned row.
c. In the Compressor dialog box, edit the compressor properties, and then click OK.
4. Click Close.

Related links:
Reciprocate compressor catalog properties (p.43)
Add reciprocating compressors to the catalog (p.22)

Navigate the interface


23
PIPESIM User Guide

Add reciprocating compressors to the catalog


There are no predefined compressors in the Reciprocating compressor catalog. You can
use the Compressor dialog box to add new compressors. As you create new compressors, they
appear in the catalog.
1. On the Home tab, in the Application options group, click Catalogs, and then click
Reciprocating compressor catalog.
2. Click New.
3. In the Compressor dialog box, click the Properties tab, and then enter the compressor
properties.

Property Description
Manufacturer Manufacturer of the compressor
Model Model name or number of the compressor
Base speed Speed at which the performance curve is defined
Abs. min. suction pressure Absolute minimum suction pressure
Abs. max. capacity Absolute maximum capacity. (The performance curve can be
constructed outside this range. Warning messages show where the
operating point is outside this limit.)
Stages Number of stages used
Inter-stage temperature Temperature of the gas between stages
4. Click the Performance data tab, and then enter the compressor curve properties.

Property Description
Discharge pressure Pressure at the compressor outlet. For each discharge pressure, there is at
least one flowrate, suction pressure, and efficiency percent.
Efficiency Specifies the efficiency of the compressor
Power Horsepower of the compressor
Flowrate Flowrate associated with the discharge pressure. This is in flowing (actual)
conditions, not stock tank conditions.
Suction pressure Pressure at the compressor inlet

You must enter properties for at least two curves.

Note: You can add performance curve data to the database but it will not be listed in the
Reciprocating compressor catalog.

5. Click the Performance curve tab to view the curve on a graph.


6. Click OK.

Navigate the interface


24
PIPESIM User Guide

Related links:
Manage the reciprocating compressor catalog (p.22)
Compressor properties (p.141)

Manage the pump catalog


There are no predefined pumps in the Pump catalog. You can populate the catalog by adding
pumps to it. As you create new pumps, they appear in the catalog. You can filter the columns in the
catalog to quickly locate a pump. You can also clone, edit, or delete the pumps in the catalog.
1. On the Home tab, in the Application options group, click Catalogs, and then click Pump
catalog.
2. To add a new pump from scratch, click New, and then use the Generic pump dialog box to
add it.
3. To add a new pump by cloning an existing one, perform the following steps:
a. Click the pump's row number to highlight the row, and then click Clone.
b. Double-click inside the cloned row.
c. In the Generic pump dialog box, edit the pump properties, and then click OK.
4. Click Close.

Related links:
Pump catalog properties (p.43)

Add items to the pump catalog


There are no predefined items in the Pump catalog. You can use the Generic pump dialog box
to add new pumps. As you add new pumps, they appear in the catalog.
1. On the Home tab, in the Application options group, click Catalogs, and then click Pump
catalog.
2. Click New.
3. In the Generic pump dialog box, click the Properties tab, and then enter the pump properties.

Property Description
Manufacturer Manufacturer of the pump
Model Model name or number of the pump
Min flowrate Minimum recommended flowrate for the performance curve
You can construct the curve outside this limit, but warning messages appear when
the operating point is outside this limit.
Max flowrate Maximum recommended flowrate for the performance curve
You can construct the curve outside this limit, but warning messages appear when
the operating point is outside this limit.
Base speed Speed at which the performance curve is defined

Navigate the interface


25
PIPESIM User Guide

Property Description
This cannot be changed for the simulation, but you can set a different operating
speed in the Pump editor window. The curve is then adapted for that operating
speed.
Base stages Initial point at which the performance curve is defined
This can be changed for the simulation.
4. Click the Performance data tab, and then enter the pump curve properties.

Property Description
Flowrate Flowrate associated with the discharge pressure
This is in flowing (actual) conditions, not stock tank conditions.
Head Specifies the actual pressure at the pump head
Efficiency Efficiency associated with the discharge pressure

You must enter properties for at least two curves.

Note: You can add performance curve data to the database but it will not be listed in the Pump
catalog.

5. Click the Performance curve tab to view the curve on a graph.


6. Click OK.

Related links:
Manage the pump catalog (p.22)
Pump catalog properties (p.43)

Manage the gas lift valve catalog


The Gas lift valve catalog includes valves from several manufacturers. If the catalog does
not include the valve that you need, you can easily add it. As you add new valves, they appear in
the catalog. You can filter the columns in the catalog to quickly locate a valve. You can clone any
valve in the catalog and then edit it. You can also edit or delete any custom valve that you added to
the catalog.
1. On the Home tab, in the Application options group, click Catalogs, and then click Gas lift
valve catalog.
2. To add a new object from scratch, click New, and then use the Gas lift valve dialog box to
add the valve object.
3. To add a new item by cloning an existing one, perform the following steps:
a. Click the item row number to highlight the row, and then click Clone.
b. Double-click inside the cloned row.
c. In the Gas lift valve dialog box, edit the valve properties, and then click OK.

Navigate the interface


26
PIPESIM User Guide

4. Click Close.

Related links:
Add gas lift valves to the catalog (p.27)
Gas lift valve catalog properties (p.44)
Select a gas lift injection valve (p.77)

Add gas lift valves to the catalog


If the gas lift valve catalog does not contain the type of valve that you need, you can add it to the
catalog.
1. On the Home tab, in the Application options group, click Catalogs, and then click Gas lift
valve catalog.
2. Click New.
3. In the Gas lift valve dialog box, type the name of the Manufacturer and Series.
4. Select the Valve type, and then enter the associated properties.

Property Description
Valve type • IPO: Inject-pressure-operated gas lift valve that is designed in a way that
the casing pressure is acting on the larger area of the bellows and thus
are primarily sensitive to the casing pressure. The drop in casing pressure
which occurs during unloading is used to close the valves in the correct
sequence.
• PPO-N: Production Pressure Operated Valve that uses a nitrogen
charged dome as the loading element to cause the valve to close.
Most gas lift equipment manufacturers use a valve setting temperature
base of 60 degrees for nitrogen charged gas lift valves. The valve is
submerged in a 60 degrees F water bath to ensure a constant nitrogen
temperature in the dome of each valve during the test rack setting
procedure.
• PPO-S: Production Pressure Operated Valve with a spring to pre-load the
bellows and hold the valve stem on the port (for example, a spring is used
as the loading element to cause the valve to close).
This type of value is also called a PPO unbalanced spring valve. The
advantage of this type of PPO valve is that there are no temperature
effects to consider when setting the valves opening pressure.
• Orifice: Fixed opening primarily used for single point injection or can be
combined with other gas lift valves
• Dummy: A blank gas-lift valve placed in a gas-lift mandrel to isolate the
tubing string from the annulus. Gas-lift valves frequently are replaced with
dummy valves during intervention work on wells with gas-lift completions.
Valve size Valve outer diameter

Navigate the interface


27
PIPESIM User Guide

Property Description
Port size Valve port (orifice) diameter
Port area Cross sectional area of the port
Bellow area Cross sectional area of the bellows
Discharge Discharge coefficient for the Thornhill-Craver equation, used to calculate valve
coefficient gas throughput (given injection and production pressure)
DP [Delta P] to Difference between the production pressure when the valve is fully open to fully
fully open closed (for a fixed injection pressure)
This is only needed for diagnostics operation if the throttling behavior of the
valve is to be modeled.
5. Click Close.

Related links:
Manage the gas lift valve catalog (p.26)

Manage the ESP catalog


The ESP catalog is the PIPESIM repository for the number of stages required to achieve target
flowrate under given well, fluid, and operating conditions. If the catalog does not include the ESP
pump that you need, you can easily add it. As you add new ESP pumps, they appear in the
catalog. You can filter the columns in the catalog to quickly locate an ESP pump. You can clone
any ESP pump in the catalog and then edit it. You can also edit or delete any custom ESP pump
that you added to the catalog.
1. On the Home tab, in the Application options group, click Catalogs, and then click ESP
catalog.
2. To add a new pump from scratch, click New, and then use the ESP dialog box to add it.
3. To add a new pump by cloning an existing one, perform the following steps:
a. Click the pump row number to highlight the row, and then click Clone.
b. Double-click inside the cloned row.
c. In the ESP dialog box, edit the pump's properties, and then click OK.
4. Click Close.

Related links:
ESP catalog properties (p.45)
Add ESP pumps to the catalog (p.28)

Add ESP pumps to the catalog


The ESP data catalog is the PIPESIM repository for the number of stages required to achieve
target flowrate under given well, fluid, and operating conditions. If the catalog does not contain the

Navigate the interface


28
PIPESIM User Guide

pump that you need, you can add it to the catalog. As you add new pumps, they appear in the
catalog.
1. On the Home tab, in the Application options group, click Catalogs and then click ESP
catalog.
2. Click New.
3. In the ESP dialog box Properties tab, enter the ESP pump properties.

Parameter Description
Manufacturer ESP Pump Manufacturer
Model ESP Pump Model (every manufacturer has a list of models as stored in the
database
Series ESP Pump series (every model has a series that reflects the size of the pump).
A higher series represents larger OD of the pump.
Diameter ESP diameter
Min flowrate: Recommended minimum flowrate for the pump operation
Max flowrate Recommended maximum flowrate for the pump operation
Base frequency The frequency/speed the pump is expected to run
Base speed Speed the performance curve is defined, typically 60 Hz
Base stages Stage the performance curve is based defined, typically 1
4. Click the Performance data tab, and then enter the ESP pump curve properties.

Parameter Description
Flowrate Flowrate in flowing conditions
Head Pump efficiency to be factored
Efficiency Efficiency of the curve
Power Power requirements

You must enter properties for at least two curves.

Note: You can add performance curve data to the database but it will not be listed in the ESP
catalog.

5. Click the Performance curve tab to view the curve on a graph.


6. Click OK.

Related links:
Manage the ESP catalog (p.28)

Navigate the interface


29
PIPESIM User Guide

Manage the PCP catalog


To simulate a PCP, PIPESIM maintains a database of manufacturers and models from which you
can select. If the catalog does not include the pump that you need, you can easily add it. As you
add new pumps, they appear in the catalog. You can filter the columns in the catalog to quickly
locate a pump. You can clone any pump in the catalog and then edit it. You can also edit or delete
any custom pump that you added to the catalog.
1. On the Home tab, in the Application options group, click Catalogs, and then click PCP
catalog.
2. To add a new pump from scratch, click New, and then use the PCP dialog box to add the pump.
3. To add a new pump by cloning an existing one, perform the following steps:
a. Click the pump row number to highlight the row, and then click Clone.
b. Double-click inside the cloned row.
c. In the PCP dialog box, edit the pump properties, and then click OK.
4. Click Close.

Related links:
Add items to the PCP catalog (p.30)
Pump catalog properties (p.43)

Add items to the PCP catalog


If the PCP catalog does not contain the type of progressive cavity pump that you need, you can
add it to the catalog. As you add new pumps, they appear in the catalog.
1. On the Home tab, in the Application options group, click Catalogs and then click ESP
catalog.
2. Click New.
3. In the ESP dialog box Properties tab, enter the ESP pump properties.

Parameter Description
Manufacturer Manufacturer of the pump (from catalog)
Model Model of the pump (from catalog)
Diameter Diameter of the pump for the model selected (from catalog)
Nominal rate Actual volumetric flowrate that the pump would produce, if it were pumping with no
back-pressure at its discharge (m3/sec or ft3/min)
Base speed Frequency at which the performance curve is defined
4. Click the Performance data tab, and then enter the pump curve properties.

Parameter Description
Flowrate Flowrate in flowing conditions
Head Pump efficiency to be factored

Navigate the interface


30
PIPESIM User Guide

Parameter Description
Efficiency Efficiency of the curve
Power Power requirements

You must enter properties for at least two curves.

Note: You can add performance curve data to the database but it will not be listed in the PCP
catalog.

5. Click the Performance curve tab to view the curve on a graph.


6. Click OK.

Related links:
Manage the PCP catalog (p.30)

Manage the fluid templates catalog


Use the Fluid templates catalog to create custom fluid templates from either existing or new
fluids, edit custom fluid templates, and view built-in or custom fluid templates. The Fluid
templates catalog includes the built-in templates and any custom templates that have been
created.

Related links:
View a built-in fluid template (p.31)
Create a custom fluid template (p.32)
View or edit a custom fluid template (p.32)
Create or edit fluid models (p.195)

View a built-in fluid template


Built-in fluid templates appear as expandable objects in the Fluid templates catalog. You can
view built-in templates, but you cannot edit them.

The following built-in fluid templates are available:


• Dry Gas
• Light Oil + Gas
• Heavy Oil + Gas
• Dead Oil

Navigate the interface


31
PIPESIM User Guide

• Water
1. On the Home tab, in the Application options group, click Catalogs, and then click Fluid
templates catalog.
2. Click a template to expand the view that shows the phase ratio and watercut percentage.
3. Double-click the template, or right-click the template and then click View.
4. View the fluid properties, and then click Close.

Related links:
Manage the fluid templates catalog (p.31)

Create a custom fluid template


When you create custom fluid templates, they appear in the Fluid templates catalog. Custom
templates appear bright blue, with a face icon. You can edit or delete custom templates.

1. On the Home tab, in the Data group, click Fluid manager.


2. Perform one of the following actions:
• To create a custom fluid template from an existing fluid, go to step 3.
• Create a new fluid without a template by clicking New, and then clicking OK.
3. Double-click the row number of the fluid to open the Fluid editor.
4. Enter any fluid properties, if necessary, and then click Save as template.
The fluid appears as a custom template in the Fluid templates catalog.
5. Click Close.

Related links:
Manage fluids (p.12)

View or edit a custom fluid template


View or edit a custom fluid template in the Fluid templates catalog.
1. On the Home tab, in the Application options group, click Catalogs, and then click Fluid
templates catalog.
2. Click a template to expand the view that shows the phase ratio and watercut percentage.
3. Double-click the template, or right-click the template and then click Edit.
4. View or edit the fluid properties, and then click Close.

Navigate the interface


32
PIPESIM User Guide

Related links:
Manage fluids (p.12)

Manage the well templates catalog


Use the Well templates catalog to create custom well templates from either existing or new
wells, edit custom well templates, and view built-in or custom well templates. The Well
templates catalog includes one built-in template and any custom templates that have been
created.

Related links:
View a built-in well template (p.33)
Create a custom well template (p.33)
View or edit a custom well template (p.34)

View a built-in well template


The built-in well template, Simple Vertical, appears as an expandable object in the Well
templates catalog. You can view the built-in template, but you cannot edit it.

1. On the Home tab, in the Application options group, click Catalogs, and then click Well
templates catalog.
2. Click a template to expand the view that shows the template type.
3. Double-click the template, or right-click the template and then click View.
4. View the well properties, and then click Close.

Related links:
Manage the well templates catalog (p.33)

Create a custom well template


When you create custom well templates, they appear in the Well templates catalog. Custom
templates appear bright blue, with a face icon. You can edit or delete custom templates.

1. Perform one of the following actions:

Navigate the interface


33
PIPESIM User Guide

• To create a well template from an existing well, go to step 2.


• Create a new well.
2. In the Inputs pane, right-click the well, and then click Save as template.
3. On the Home tab, in the Application options group, click Catalogs, and then click Well
templates catalog.
The well appears as a custom template.

Related links:
Add wells (p.134)

View or edit a custom well template


View or edit a custom well template in the Well templates catalog.
1. On the Home tab, in the Application options group, click Catalogs, and then click Well
templates catalog.
2. Click a template to expand the view that shows the template type.
3. Double-click the template, or right-click the template and then click Edit.
4. View or edit the well properties, and then click Close.

Related links:
Add wells (p.134)

Manage the survey data catalog


The survey data catalog is the PIPESIM repository for flowing survey measurements acquired on
wells and flowlines. A flowing survey is typically conducted on wells; and measures properties such
as pressure, temperature, holdup, etc. along the profile of the well, while it is flowing at a stabilized
flow rate. Flowing surveys are used in the PIPESIM Data Matching (p.289) task which involves
tuning or mathematically regressing, selected flow correlations and/or heat transfer models, to
match the measured survey data. This is to improve the accuracy and predictability of the flow
correlations for the pressure drop calculations, and the heat transfer models for the temperature
calculations. Flowing surveys can be acquired in the following ways:
• Running production logging tools
• Running pressure gauges on wireline to acquire data at certain depths
• From wellhead and permanent downhole gauges installed on wells
• From fiber-optic telemetry installed on wells

Related links:
Add a survey to the survey data catalog (p.28)
Add a survey to the catalog by manual data entry (p.35)
LAS files (p.37)

Navigate the interface


34
PIPESIM User Guide

LAS file format for PIPESIM (p.38)


Add a survey to the catalog by importing an LAS file (p.39)
Survey data catalog properties (p.46)
Run data matching (p.289)

Add a survey to the survey data catalog

You can add a survey to the catalog in the following two ways:
• Manual data entry
• Import from an LAS file

Related links:
Add a survey to the catalog by manual data entry (p.35)
Add a survey to the catalog by importing an LAS file (p.39)
Manage the survey data catalog (p.34)

Add a survey to the catalog by manual data entry

1. On the Home tab, in the Application options group, click Catalogs, and then click Survey data
catalog.
2. Click New.
3. In the Survey data dialog box, enter the survey name.

Note: It is recommended that you choose unique and descriptive names for each survey, to enable
you to easily differentiate them when performing the data matching task. Additionally, you will not
be able to save a survey with a duplicate name.

4. Select the survey type: Well or Flowline.

Note: When you select Well, the first column in the Profile Data table is Measured depth. If
Flowline is selected, the first column in the Profile Data table is Measured distance.

5. Select the Date/Time when the survey was acquired.


6. Enter the measured or interpreted stabilized oil, water, and gas flowrates at standard
conditions, on the well or flowline.
The GOR and watercut are automatically calculated.

Note: Currently, the fluid ratios in the Survey data dialog box are not used by the data matching
task, nor are visible in it. The fluid ratios used by the task, and visible in the interface, are those
defined in the Fluid manager.

Navigate the interface


35
PIPESIM User Guide

Parameter Description
Oil flowrate Measured oil flowrate at standard conditions for the surveyed object
Gas flowrate Measured gas flowrate at standard conditions for the surveyed object
Watercut Watercut for the surveyed object

Note: Watercut is calculated from the measured water and oil flowrate values.

GOR Gas oil ratio for the surveyed object

Note: Gas oil ratio is calculated from the measured gas and oil flowrate values.

7. Optional: Enter survey comments.


8. Select the Fluid phases: 2-phase or 3-phase.
This is relevant only if you have measured holdup data. The 2-phase option enables you to
enter liquid and/or gas holdup, while the 3-phase option enables you to enter any available
holdup data: oil, water, or gas.
9. In the Profile Data grid, enter the survey data.
You can paste from a spreadsheet like Microsoft® Excel®.

Note:
• To be able to save the survey, you must enter at least one row of data, which must include
an MD value (measured depth for a well, or measured distance for a flowline) and at least
one other property, such as Pressure, Temperature, or Holdup.
• The measured Pressure, Temperature, and Holdup data must be at flowing conditions.
The data matching task tunes the empirical flow correlations to match these measured data;
and the flow correlations tuned by the task were developed for flowing conditions.
• The PIPESIM data matching (p.289) task is able to tune the models (flow correlations and
heat transfer models) to match only the measured pressure, temperature, and liquid holdup
data. If gas holdup data (HG) is entered, PIPESIM will automatically calculate the liquid
holdup (HL) as 1 - HG, and match this data, if selected in the task. Similarly, if oil and water
holdups are entered, PIPESIM will automatically sum them to obtain the liquid holdup which
will be matched, if selected, in the data matching task.

Parameter Description
Fluid phases Select 2-phase or 3-phase
Measured depth Measured depth of the surveyed well
This option is set automatically when Well is selected for the Type.
Measured distance Measured distance of the surveyed flowline

Navigate the interface


36
PIPESIM User Guide

Parameter Description
This option is set automatically when Flowline is selected for the Type.
Pressure Measured flowing pressure at the corresponding measured depth or
distance
Temperature Measured flowing temperature at the corresponding measured depth or
distance
Oil holdup Measured flowing oil holdup at the corresponding measured depth or
distance

Note: This option is available only when 3-phase is selected for the Fluid
phases.

Water holdup Measured flowing water holdup at the corresponding MD

Note: This option is available only when 3-phase is selected for the Fluid
phases.

Liquid holdup Measured flowing liquid holdup at the corresponding measured depth or
distance
Gas holdup Measured flowing gas holdup at the corresponding measured depth or
distance
10.Click OK.
If the OK option is not available, you have unresolved validation issues.
The survey is added to the Survey data catalog. All surveys in the catalog are available to use
in the data matching task.

Related links:
Add a survey to the catalog by importing an LAS file (p.39)
Manage the survey data catalog (p.34)
Run data matching (p.289)

LAS files
LAS is the abbreviation for Log ASCII Standard. A LAS file is an industry-standard ASCII format for
storing digital log data. LAS files can store static data such as petrophysical information (e.g.
porosity) and dynamic data such as production log surveys (e.g. flowing pressures).
PIPESIM* currently supports importing only production log survey LAS files, specifically for the
data matching (p.289) task.
There are three LAS file versions (1.2, 2, and 3), and two types of LAS format (wrapped and
unwrapped). PIPESIM currently supports importing only versions 1.2 and 2 LAS files. PIPESIM
also supports importing both wrapped and unwrapped LAS files.

Navigate the interface


37
PIPESIM User Guide

Related links:
Manage the survey data catalog (p.34)
Add a survey to the catalog by importing an LAS file (p.39)

LAS file format for PIPESIM


For LAS files to be imported into the survey data catalog in PIPESIM*, they must follow a specific
format. It is strongly recommended that you export the production log LAS files you want to use in
PIPESIM from a production log software such as Emeraude™ or BorFlow*, or any specialized LAS
file software. This helps ensure that the LAS files are set up in the correct ASCII format for
PIPESIM.
It is important to note the following:
• Although the survey data catalog can store well and flowline survey data, only well survey data
can be imported from a LAS file, because LAS files store only well log data.
• PIPESIM recognizes and imports only a small subset of LAS mnemonics (listed in the table
below) that are relevant to production simulation. Any unrecognized mnemonics will be ignored
during the import. When the LAS file is imported, the recognized mnemonics are mapped to the
equivalent PIPESIM variables, as indicated below, and the data is populated to the correct
columns in the Profile Data table in the Survey data catalog.

LAS file mnemonic PIPESIM variable


DEPT Measured depth
WPRE Pressure
WTEP Temperature
YO Oil holdup
YW Water holdup
YG Gas holdup
• The measured pressure, temperature, and holdup data must be at flowing conditions. The data
matching task tunes the empirical flow correlations to match these measured data. The flow
correlations tuned by the task were developed for flowing conditions.
• The PIPESIM data matching (p.289) task is able to tune the models (flow correlations and heat
transfer models) to match only measured pressure, temperature, and liquid holdup data. If gas
holdup data (HG) is entered, PIPESIM will automatically calculate the liquid holdup (HL) as 1 -
HG, and match this data if selected in the data matching task. Similarly, if oil and water holdups
are entered, PIPESIM will automatically sum them to obtain the liquid holdup which will be
matched, if selected, in the data matching task.
• PIPESIM will not import any non-ASCII characters.
• If there are any problems importing the LAS file, review the Message center for details.
Correct the problems by editing the LAS file, and then re-import it.
• PIPESIM will not be able to import most LAS files created manually because they do not strictly
follow the standard LAS format. Manually-created LAS files containing non-ASCII characters,
that do not have the required number of spaces before the first column of data will not be

Navigate the interface


38
PIPESIM User Guide

imported by PIPESIM, unless the LAS files are modified with a text editor to include these
spaces. This is why it is strongly recommended that you export the production log LAS files that
you want to use in PIPESIM from a production log software such as Emeraude or BorFlow, or
any specialized LAS file software, and not create them manually.
Reference
Canadian Well Logging Society: http://www.cwls.org/las/

Related links:
Add a survey to the catalog by importing an LAS file (p.39)
Manage the survey data catalog (p.34)
Run data matching (p.289)

Add a survey to the catalog by importing an LAS file

1. On the Home tab, in the Application options group, click Catalogs, and then click Survey data
catalog.
2. Click Import.
3. Browse to select a production log *.las file to import.
4. Click Open.
If the import was successful, the Survey data dialog box opens. The Profile Data table displays
the production log data.

Note: If the import was unsuccessful, review the information in the Message center, correct the
identified problems in the LAS file, and then re-import it.

The import also automatically assigns the Fluid phases by detecting the phase holdups in the LAS
file. The 2-phase option is the default and is automatically selected when there is no holdup data
detected in the LAS file. If any of the three holdup phases (oil, gas, or water) are detected in the
LAS file, the 3-phase option is automatically selected and the available data populated.
The well Name, object Type, and Date/Time are automatically populated from the LAS file in the
top section of the Survey data dialog box. However, the flowrates are empty. PIPESIM does not
support the import or calculation of flowrates from LAS files.
5. Manually enter the measured or interpreted stabilized oil, water, and gas flowrates at standard
conditions, on the well or flowline.
The GOR and watercut are calculated automatically. There should no longer be any validation
issues and the OK button should be active.

Note: Currently, the fluid ratios in the Survey data dialog box are not used by the data matching
task, nor visible in it. The fluid ratios used by the task and visible in the interface are those defined
in the Fluid manager.

6. Click OK.

Navigate the interface


39
PIPESIM User Guide

The survey is added to the Survey data catalog. All surveys in the catalog are available to use
in the data matching task.

Related links:
LAS files (p.37)
Add a survey to the catalog by manual data entry (p.35)
Manage the survey data catalog (p.34)
Run data matching (p.289)

Catalog properties tables


The catalog property reference tables define the property columns in each catalog.

Casing catalog properties

Casing is pipe cemented to the formation, typically filled with a completion fluid but may instead
serve as a flow conduit for produced fluids. Casing serves the following purposes:
• Prevents the formation wall from caving into the wellbore
• Isolates the different formations to prevent the flow or crossflow of formation fluid
• Provides a way to maintain control of formation fluids and pressure as the well is drilled
Use the Casing catalog to select a specific casing size and grade after adding casing to a
wellbore schematic. You can also filter the catalog view.

Property Description
Catalog Several separate catalogs are aggregated into the PIPESIM* casing Catalog. The
API catalog represents standard casing sizes. The GOST, Tenaris, and VAM
catalogs represent connections.
OD Outside diameter of the casing.
ID Inside diameter of the casing.
Thickness Thickness of the casing wall.
Weight Weight of the casing per standard length.
Roughness The typical value for the absolute pipe roughness based on the material type. The
default value is 0.001 inches (0.0254 mm).
Grade Strength rating for the casing material.
Table 1.4: Casing Catalog Properties

Navigate the interface


40
PIPESIM User Guide

Note: The casing catalog is read-only. If you wish to specify your own casing, enter the values
directly into the casing table on the Tubulars tab in the Well editor.

For more information, see Typical Values (p.652).

Related links:
Add casing and tubing to a simple wellbore schematic (p.52)
Add casing and tubing to a detailed wellbore schematic (p.54)

Tubing catalog properties


Use the Tubing catalog to select a specific tubing size and grade after adding tubing to a
wellbore schematic. You can also filter the catalog view.

Property Description
Catalog Several separate catalogs are aggregated into the PIPESIM* tubing catalog. The
API catalog represents standard tubing sizes. The Tenaris and VAM catalogs
represent connections, not full tubing strings.
OD Outside diameter of the tubing.
ID Inside diameter of the tubing.
Thickness Thickness of the tubing wall.
Weight Weight of the tubing per standard length.
Roughness The typical value for the absolute pipe roughness based on the material type. The
default value is 0.001 inches (0.0254 mm).
Grade Strength rating for the tubing material.
Table 1.5: Tubing Catalog Properties

Note: The tubing catalog is read-only. If you wish to specify your own tubing data, enter the values
directly into the tubing table on the Tubulars tab in the Well editor.

For more information, see Typical Values (p.652).

Related links:
Add casing and tubing to a simple wellbore schematic (p.52)

Navigate the interface


41
PIPESIM User Guide

Flowline/riser catalog properties


Use the Flowline/Riser catalog to select a specific size and grade after adding a flowline or
adding a riser to a network diagram. You can also filter the catalog view.

Property Description
Type The catalog name or manufacturer of the flowline or riser.
Nom. Diameter Nominal diameter of the pipe. Pipe diameter is commonly classified in terms of
nominal diameter, although the actual outside diameter is a different value. For a
given nominal diameter, the outside diameter stays fixed and the well thickness
increases with schedule.
Schedule American National Standards Institute schedule rating, which results in a specific
pipe wall thickness as an indicator of pressure rating. For a given schedule, the
outside diameter increases with nominal diameter, while the wall thickness stays
constant or increases.
OD Outside diameter of the flowline or riser.
ID Inside diameter of the flowline or riser.
Thickness Thickness of the pipe wall (excluding any coatings).
Roughness The typical value for the absolute pipe roughness based on the material type.
Weight Weight per length of the pipe.

For more information, see Typical Values (p.652).

Related links:
Add connections (p.193)

Centrifugal compressor catalog properties


Use the Centrifugal compressor catalog to select a compressor object upon adding a
compressor to a network diagram. You can also create new catalog items, edit or delete existing
items, and filter the catalog view.
A centrifugal compressor is a dynamic machine in which one or more rotating impellers, usually
shrouded on the sides, accelerate the gas. This compressor model uses centrifugal compressor
equations to determine the relationship between inlet pressure and temperature, outlet pressure
and temperature, flowrate, shaft power, and efficiency.

Property Description
Manufacturer Manufacturer of the compressor
Model Model name or number of the compressor
Base speed Speed at which the performance curve is defined
Abs. min. suction pressure Absolute minimum suction pressure

Navigate the interface


42
PIPESIM User Guide

Property Description
Abs. max. capacity Absolute maximum capacity. (The performance curve can be
constructed outside this range. Warning messages show where the
operating point is outside this limit.)
Stages Number of stages used
Inter-stage temperature Temperature of the gas between stages

For more information, see Centrifugal Pumps and Compressors (p.493).

Related links:
Manage the centrifugal compressor catalog (p.22)

Reciprocate compressor catalog properties


Use the Reciprocating compressor catalog to select a compressor object upon adding a
compressor to a network diagram. You can also create new catalog items, edit or delete existing
items, and filter the catalog view.
A reciprocating compressor is a positive-displacement machine in which the compressing and
displacing element is a piston having a reciprocating motion within a cylinder. These compressors
always use performance curves that you entered. If you use compressor curves, the compressor
speed and number of stages become additional factors.

Property Description
Manufacturer Manufacturer of the compressor
Model Model name or number of the compressor
Min. suction pressure Absolute minimum suction pressure
Max. capacity Absolute maximum capacity. (The performance curve can be constructed
outside this range. Warning messages show where the operating point is
outside this limit.)
Interstage temperature Temperature of the gas between stages
Speed Speed at which the performance curve is defined
Stages Number of stages used

For more information, see Reciprocating Compressor (p.496).

Related links:
Manage the reciprocating compressor catalog (p.22)

Pump catalog properties


Use the Pump catalog to select a pump upon adding a pump to a network diagram. You can also
create new catalog items, edit or delete existing items, and filter the catalog view.

Navigate the interface


43
PIPESIM User Guide

Property Description
Manufacturer Manufacturer of the pump.
Model Model name or number of the pump.
Min flowrate Minimum recommended flowrate for the performance curve. You can construct
the curve outside this limit, but warning messages appear when the operating
point is outside this limit.
Max flowrate Maximum recommended flowrate for the performance curve. You can construct
the curve outside this limit, but warning messages appear when the operating
point is outside this limit.
Base frequency Frequency at which the performance curve is defined.
Base speed Speed at which the performance curve is defined. This cannot be changed for
the simulation, but you can set a different operating speed in the Pump editor
window. The curve is then adapted for that operating speed.
Base stages Initial point at which the performance curve is defined. This can be changed for
the simulation.
Stage number If the number of stages is supplied, it is used to adjust the supplied curve
against its specified speed.

For more information, see Centrifugal Pumps and Compressors (p.493).

Related links:
Add surface equipment using the network diagram (p.137)
Model a temperature change
Model a pressure change

Gas lift valve catalog properties


After you add a valve to a network diagram, you can use the Gas lift valve catalog to select
the specific valve type. By default, the Gas lift valve catalog contains standard valves from
specific manufacturers. You can also add, edit, and delete custom valves as necessary.

Property Description
Manufacturer Valve maker (for example: Bompet, Daniel, Hughes, Macco, SLB (Camco),
SLB (Merla), Weatherford)
Series Series name or number
Valve type • IPO: Inject-pressure-operated gas lift valve that is designed in a way that
the casing pressure is acting on the larger area of the bellows and thus
are primarily sensitive to the casing pressure. The drop in casing pressure
which occurs during unloading is used to close the valves in the correct
sequence.
• PPO-N: Production Pressure Operated Valve that uses a nitrogen
charged dome as the loading element to cause the valve to close.

Navigate the interface


44
PIPESIM User Guide

Property Description
Most gas lift equipment manufacturers use a valve setting temperature
base of 60 degrees for nitrogen charged gas lift valves. The valve is
submerged in a 60 degrees F water bath to ensure a constant nitrogen
temperature in the dome of each valve during the test rack setting
procedure.
• PPO-S: Production Pressure Operated Valve with a spring to pre-load the
bellows and hold the valve stem on the port (for example, a spring is used
as the loading element to cause the valve to close).
This type of value is also called a PPO unbalanced spring valve. The
advantage of this type of PPO valve is that there are no temperature
effects to consider when setting the valves opening pressure.
• Orifice: Fixed opening primarily used for single point injection or can be
combined with other gas lift valves
• Dummy: A blank gas-lift valve placed in a gas-lift mandrel to isolate the
tubing string from the annulus. Gas-lift valves frequently are replaced with
dummy valves during intervention work on wells with gas-lift completions.
Valve size Valve outer diameter
Port size Valve port (orifice) diameter
Port area Cross sectional area of the port
Bellow area Cross sectional area of the bellows
Discharge Discharge coefficient for the Thornhill-Craver equation, used to calculate
coefficient valve gas throughput (given injection and production pressure)
DP [Delta P] to Difference between the production pressure when the valve is fully open to
fully open fully closed (for a fixed injection pressure)
This is only needed for diagnostics operation if the throttling behavior of the
valve is to be modeled.

Related links:
Manage the gas lift valve catalog (p.26)
Select a gas lift injection valve (p.77)

ESP catalog properties


PIPESIM maintains a database of ESP pump manufacturers and models.

Parameter Description
Manufacturer ESP Pump Manufacturer
For example: ALNAS, CENTRILIFT, ESP, ODI, REDA, XPC
Model ESP Pump Model (every manufacturer has a list of models as stored in the
database)

Navigate the interface


45
PIPESIM User Guide

Parameter Description
Diameter ESP diameter
Min flowrate Recommended minimum flowrate for the pump operation
Max flowrate Recommended maximum flowrate for the pump operation

Related links:
Manage the ESP catalog (p.28)

PCP catalog properties


After you add a Progressive Cavity Pump (PCP) to a network diagram, you can use the PCP
catalog to select the specific pump type. By default, the PCP catalog includes pumps from
specific manufacturers and models. You can also add, edit, and delete custom pumps as
necessary.

Parameter Description
Manufacturer Manufacturer of the pump (from catalog)
Model Model of the pump (from catalog)
Diameter Diameter of the pump for the model selected (from catalog)
Nominal rate Actual volumetric flowrate that the pump would produce, if it were pumping with no
back-pressure at its discharge (m3/sec or ft3/min)

Survey data catalog properties

You use the Survey data dialog box to enter survey data that consists of the properties defined
in the following table.

Note:
• Oil flowrate, Water flowrate, and Gas flowrate are required parameters.
• GOR and Watercut are read-only fields that will be calculated once the required parameters
are entered.

Property Description
Name Name of the survey
Type Survey object type (Well or Flowline)

Note: If Well is selected, the first column in the Profile Data table is Measured
depth. If Flowline is selected, the first column in the table is Measured distance.

Date/Time Date and time of survey data acquisition

Navigate the interface


46
PIPESIM User Guide

Property Description
Oil flowrate Measured oil flowrate at standard conditions for the surveyed object
Gas flowrate Measured gas flowrate at standard conditions for the surveyed object
Watercut Watercut for the surveyed object

Note: Water cut is calculated from the measured water and oil flowrate values.

GOR Gas oil ratio for the surveyed object

Note: Gas oil ratio is calculated from the measured gas and oil flowrate values.

Comments Survey comments


Table 1.6: Survey data properties

Note: Currently, the fluid ratios in the Survey data dialog box are not used by the data matching
task, nor visible in it. The fluid ratios used by the task and visible in the interface are those defined
in the Fluid manager.

Parameter Description
Fluid phases Select 2-phase or 3-phase
Measured depth Measured depth of the surveyed well
This option is set automatically when Well is selected for the Type.
Measured distance Measured distance of the surveyed flowline
This option is set automatically when Flowline is selected for the Type.
Pressure Measured flowing pressure at the corresponding measured depth or
distance
Temperature Measured flowing temperature at the corresponding measured depth or
distance
Oil holdup Measured flowing oil holdup at the corresponding measured depth or
distance

Note: This option is available only when 3-phase is selected for the Fluid
phases.

Water holdup Measured flowing water holdup at the corresponding MD

Navigate the interface


47
PIPESIM User Guide

Parameter Description

Note: This option is available only when 3-phase is selected for the Fluid
phases.

Liquid holdup Measured flowing liquid holdup at the corresponding measured depth or
distance
Gas holdup Measured flowing gas holdup at the corresponding measured depth or
distance
Table 1.7: Profile data properties

Related links:
Manage the survey data catalog (p.34)
Run data matching (p.289)

Gun system properties


The gun catalog includes the gun systems available for use in the Perforation design task. For
gun properties that display values in units, you can change the default unit type as needed.

Property Description
Gun type Description of the carrier
Charge type Type of charge used in the selected gun
Gun OD Size of the outer diameter of the gun
Charge weight Mass of a single perforating charge in grams
API RP Edition API test edition from which the penetration and entrance hole data is taken
Penetration model Select from either the Concete or Rock model. The concrete model uses
API data for estimating downhole charge performance based on the API
19B standard. The rock model developed by Schlumberger based on
extensive lab tests in stressed rocks is more reliable and recommended. For
more details, refer to Behrmann.
Phase Angle between the perforations
API entrance hole Entrance hole results into concrete based on the referenced API test edition
API penetration Depth of penetration results into concrete based on the referenced API test
edition

Related links:
Manage the catalogs (p.21)
Select a gun system (p.350)

Navigate the interface


48
PIPESIM User Guide

2
Build physical models
A PIPESIM model is a representation of a flowing system that can be used to simulate fluid flow
through the system. A model can be a single well with or without connected surface piping and
equipment, a pipeline transporting fluid from one point to another, or multiple wells, pipeline, and
surface equipment connected together to represent a large and complex flow network.
PIPESIM modes for building a model include:
• Well-centric mode
• Network-centric mode
For building a single well with connected surface piping and equipment, well-centric mode is
recommended even though it can be modeled in either mode. On the other hand, building a
pipeline model that does not contain a well or building a network model that consists of multiple
wells and a piping system essentially requires that you use the network-centric mode.

Basic model building workflow


Building a PIPESIM model and performing a simulation involves the following high-level steps:
1. Identify the flowing system to select the appropriate mode, well-centric or network-centric.
2. Select units system based on available data.
3. Select fluid mode (black oil, compositional, etc) and define fluid with or without calibration where
applicable.
4. Add physical elements of the model--such as wells, downhole equipment, and surface
equipment--and establish connections between them.
5. Specify basic minimum data for each model element and specify equations/correlations specific
to model element as required.
6. Apply general simulation settings by specifying your choice of flow correlations, heat transfer
options, environmental data, and other desired settings. These can be applied globally or locally
(to specific model elements).
7. Apply advance simulation settings to control calculations and reporting.
8. Select and define reporting templates based on types of models and/or intended analysis.

Build physical models


49
PIPESIM User Guide

9. Validate the model by addressing validation issues, if any are displayed under the Message
Center.
10.Save the model.
After you build models, you can run simulations.
11.Configure simulation tasks (your choice depends on the type of model and configuration) and
perform simulation.
12.Analyze graphical and tabular results.
For more information, see Running Simulations (p.233).
Well-centric model
In well-centric mode, you see only the wells. The Well editor consists of the Wellbore
schematic pane and the tabs that you use to configure details of the well. From the
Surface equipment tab in the Well editor, you can add and edit surface equipment.
Well-centric mode makes it easier to analyze and edit one or more wells. In well-centric
mode, you can run all PIPESIM single-branch operations such as Nodal Analysis, P/T
Profile, or VFP Tables for analysis.
Network-centric model
In network-centric mode, you can view your entire network including wells, flowlines,
risers, and surface equipment displayed over a network diagram. Network-centric mode
allows access to the full Well editor (available in a floating window). Network-centric
mode allows you to resolve issues for the entire network by running a network simulation.

Note: You can run single-branch operations in network-centric mode by selecting a particular
branch inlet such as a well, a source, or a junction source in the network diagram.
You can switch between well-centric and network-centric mode while a workspace is open. On the
Home tab, in the Perspective Gallery, select Well or Network.

Related links:
Create or edit a well model (p.50)
Create or edit a network model (p.131)

2.1 Create or edit a well model


Use the Well editor (which consists of the Wellbore schematic pane and the tabs that you
use to define the well properties) to create new wells and edit existing ones. A well is one of the
ways fluids can enter (via production well) or leave (via injection well) the network.
A well model is a schematic representation of a well. It contains complete information on the well
including wellbore construction, downhole equipment, artificial lift equipment, completion
information as well as surface equipment as applicable. A well can be created from scratch or
using a template well as starting point.

Build physical models


50
PIPESIM User Guide

Important: To avoid possible conflicts, assign a unique name to each piece of equipment within a
well or any branch. This practice also helps you to identify the object definitively while viewing or
analyzing results.

1. Perform one of the following actions:


• To create a new well model, on the Workspace tab in the Well group, click New.
• To edit an existing well model, on the Workspace tab in the Well group, click Existing.
• To edit an existing well model, on the Workspace tab in the Recent workspaces group,
click an existing model name.
2. On the General tab, define the well type, its status, and the flow direction.

Field Action
Well name Change the name of the well, if necessary.
Active Indicates whether the well is active.

Note: Simulation tasks cannot be performed on an inactive well. If a network


contains an inactive well, that well and the equipment in its branch are ignored
during network simulation.

Well type Select Production or Injection, based on the intended flow direction. The final
solution depends on system hydraulics.
Check Models a check valve for the well and therefore controls the direction of the flow.
valve Block reverse
setting
The most common setting, Block reverse, ensures that flow is always as
intended; i.e., upward for a production well and downward for an injection well.
Block forward
Block forward blocks flow in the intended direction.
None
No flow block exists, so the flow can go in either direction based on system
hydraulics.
3. Add tubular data.
4. Add a deviation survey.
5. Add downhole equipment, if applicable.
6. Add artificial lift, if applicable.
7. Add heat transfer data.
8. Add completions.
9. Add surface equipment.
10.Create a meaningful title and click Save.

Build physical models


51
PIPESIM User Guide

The default title for new and imported models is New workspace.pips.
Each well model is stored in a single input file. (It is not necessary to store each model in a
separate directory.) The models are stored in binary data files with the .pips extension.

Related links:
Add tubular data (p.52)
Add a deviation survey (p.58)
Add downhole equipment (p.61)
Add an artificial lift (p.70)
Add heat transfer data (p.84)
Add completions (p.86)
Add surface equipment using the well editor (p.126)
Work with well tabs and ribbons (p.128)
Interactive wellbore schematic (p.128)

2.1.1 Add tubular data


When you create a new well without using a template, the welbore schematic appears blank
except for the wellhead. You can add casing and tubing to create a simple or detailed wellbore
schematic.
A simple wellbore schematic contains one casing and one tubing. In simple design mode, the
Tubular tab on the Well editor has one table, where you can add the first row for casing and
the second row for tubing detail.
In detailed wellbore schematic you can add multiple casings and tubings. In detailed design mode,
Well editor has two tables, Casings/Liners (which also supports the Openhole type) and
Tubings.

Note: You can add casing or tubing dimensions manually or populate the elements by selecting
from a list of available tubing or casing entries from the Casing catalog or Tubing catalog.

Related links:
Add casing and tubing to a simple wellbore schematic (p.52)
Add casing and tubing to a detailed wellbore schematic (p.54)

Add casing and tubing to a simple wellbore schematic


When you do create a new well without using a template, you typically add casing as the first
object and tubing as the second object to the wellbore schematic. Tubing and casing establish the
structure around which other downhole objects can be added.
1. To add casing in the Well editor, perform one of the following actions:

Build physical models


52
PIPESIM User Guide

• On the Tubulars tab, click New (+) in the first row of the table. The casing object also
appears on the Wellbore schematic.
• On the Insert tab in the Tubulars group, drag the Casing icon onto the Wellbore
schematic. Release the mouse button when the casing locks onto the wellhead. The
casing object also appears in the table.
2. To add tubing in the Well editor, perform one of the following actions:
• On the Tubulars tab, click New (+) in the second row of the table. The tubing object also
appears on the Wellbore schematic.
• On the Insert tab in the Tubulars group, drag the Tubing icon onto the Wellbore
schematic. Release the mouse button when the tubing locks into position. The tubing
object also appears in the table.
3. Select Mode: Simple.
4. Select either OD (outside diameter) or Wall thickness to display either the outside diameter or
wall thickness of the casing or the tubing in the table's variable column.
5. In the table, enter the remaining properties for the casing or the tubing.
You can use the default casing or tubing, design your own casing or tubing, or select a pre-
configured item from the Casing catalog or the Tubing catalog by clicking the browse
button in the Catalog column.

Field Description
Name Name of the casing or tubing object that will appear on the Wellbore
schematic.
Bottom MD The measured depth of the bottom of the casing or tubing.
ID The inside diameter of the casing or tubing.
Wall thickness The thickness of the casing or tubing wall. If wall thickness is entered, the
(variable column) outside diameter is calculated based on the inside diameter (ID) and wall
thickness.
OD (variable The outside diameter of the casing and tubing.
column)
Roughness The typical value for the absolute pipe roughness for casing or tubing wall
based on the pipe material and surface finish.
Catalog Opens either the Casing catalog or Tubing catalog from which you
can select a standard casing or tubing string. Selections from the catalog
are populated from the database.

Note: When starting from scratch, the tubular table has no data row but a New (+) sign at the
bottom left lets you add rows for casing and tubing. After you add one casing and one tubing, the
New (+) button is no longer displayed, thus preventing you from adding more rows. To add more
casings and tubings to a detailed wellbore schematic, select Mode: Detailed. You also have the

Build physical models


53
PIPESIM User Guide

option of entering tubing dimensions manually or selecting a specific string from the Casing
catalog or Tubing catalog.

For more information, see Typical Values (p.652).

Related links:
Casing catalog properties (p.40)
Tubing catalog properties (p.41)

Add casing and tubing to a detailed wellbore schematic


You can create a more detailed model with multiple tubings and casings. Detailed models are
typically used when the well contains tapered tubings, liners, and openhole sections.
1. In the Well editor on the Tubulars tab, select Mode: Detailed.
Casing and tubing are separated into two tables and each table allows multiple entries.
2. To add new casings, perform one of the following actions:
• In the Casings/Liners table, click New (+). The casing string also appears on the Wellbore
schematic.
• On the Insert tab in the Tubulars group, drag the Casing icon onto the Wellbore
schematic. Release the mouse button when the casing locks onto the wellhead.
3. To add new tubings, perform one of the following:
• In the Tubings table, click New (+). The tubing string also appears on the Wellbore
schematic.
• On the Insert tab in the Tubulars group, drag the Tubing icon onto the Wellbore
schematic. Release the mouse button when the tubing locks into position.
The tubing string also appears in the table.
4. In the Casings/Liners table, for each casing item, assign the Section type (Casing, Liner, or
Open hole), add a unique Name, and specify the measured depth (From MD, which is always
zero, and To MD) depending on the Section type.

Note: The casing table is governed by certain rules listed below. Deviating from these rules may
invalidate the model.
a. A new string when added is the default casing; however, you can change it to another type.
b. You can add multiple casings.
c. Casings always start from the wellhead; therefore, you cannot edit the From MD starting
depth.
d. You can add multiple liners.
e. A liner is always referenced to the innermost casing/liner as its parent if the starting depth
(From MD) of a liner has multiple casings/liners around it.

Build physical models


54
PIPESIM User Guide

f. A liner must always fit inside its parent casing or liner.


g. Liner starting depth (From MD) must also fall between the starting depth (From MD) and
bottom depth (To MD) of the parent casing/liner.
h. Bottom depth (To MD) of a liner must be below the bottom depth of the parent casing/liner.
i. An open hole section cannot overlap any existing casing/liner. It must always start from the
bottom depth (To MD) of the previous casing/liner at the deepest depth.
j. Open holes are sometimes used as an alternative for a slotted liner.

5. In the respective tables, enter the remaining properties for either the casing or the tubing.
You can use the default casing or tubing, design your own casing or tubing , or select a pre-
configured item from the Casing catalog or the Tubing catalog by clicking the browse
button in the Catalog column.

Field Description
Section Type Applies to the Casings/Liners table only. Available types are Casing, Liner,
or Openhole.
Name Name of the casing, liner, openhole, or tubing objects. The name is displayed
in the Wellbore Schematic.
From MD From measured depth (that is, the depth at the start of a casing or tubing
string). Applies to Casing/Liner table only.
To MD To measured depth (MD) is the bottom of a casing or tubing string.
ID The inside diameter of the casing or tubing.
Wall thickness The thickness of the casing or tubing wall. If wall thickness is entered, the
outside diameter is calculated based on (ID) and wall thickness.
OD (variable The outside diameter of the casing and tubing.
column)
Note: For a tubing inside an open hole, the OD value can equal the ID value
of the open hole.

Roughness The typical value for the absolute pipe roughness based on the pipe material
and surface finish. For openhole section, this is the formation wall in contact
with the well.
Catalog Opens either the Casing catalog or Tubing catalog from which you can
select a standard casing or tubing string stored in the Pipesim* database. For
an openhole section, no catalog option is available.

Note: If you are creating a detailed wellbore design and you change your Mode selection from
Detailed to Simple, all casing and tubing entries except the first casing and the first tubing will be
deleted.

Build physical models


55
PIPESIM User Guide

6. Highlight a row in the Casings/Liners or Tubings table, and then in the Casing, Liner,
Openhole, or Tubing group, enter the additional properties.

Note: These properties apply only to perforation design tasks.

Field Description
Name Name of the casing or tubing
Grade Strength rating for the tubing or casing material

Note: This option is available only for casings, liners, and tubings.

Density Material density for tubing or casing in mass per unit of volume

Note: This option is available only for casings, liners, and tubings.

Borehole diameter Diameter of the borehole (drilled hole) outside of the casing and cement

Note: This option is available only for casings, liners, and open holes.

7. Under Annulus Material, define the properties for each casing, liner, and tubing by performing
one or all of the following tasks depending on the well configuration.

Note: Annulus material properties apply only to perforation design tasks.

To define
• properties for a casing:
1. In the Casings/Liners table, select the casing.
2. Under Annulus Material, in the Cement top field, enter the measured depth (MD) of the
top of the cement of the casing.
3. Optional: Modify the Cement density default value.
4. If the cement top is below the MD of the wellbore, in the Fluid above cement list, select
the annular fluid that is between the cement top and the top of the wellbore.
5. Optional: Modify the Fluid density default value.
• To define properties for a liner:
1. In the Casings/Liners table, select the liner.
2. Under Annulus Material, in the Cement top field, enter the measured depth (MD) of the
top of the cement of the liner.
3. Optional: Modify the Cement density default value.
4. If the cement top is below the MD of the liner, in the Fluid above cement list, select the
annular fluid that is between the cement top and the top of the liner.

Build physical models


56
PIPESIM User Guide

5. Optional: Modify the Fluid density default value.


To define
• properties for a tubing:
1. In the Tubings table, select the tubing.
2. Under Annulus Material, in the Fluid list, select the annular fluid.
3. Optional: Modify the Fluid density default value.

Field Description
Cement Measured depth (MD) of the top of the cement column surrounding the casing or
top liner

Note:
• The software automatically populates the Cement density based on the
entered Cement top value.
• If the cement top of the casing is below the MD of the wellbore, you must
select the type of annular fluid that is above the cement.
• If the cement top of the liner is below the MD of the liner, you must select the
type of annular fluid that is above the cement.

Cement Mass of the cement per unit volume for the casing or liner
density The software automatically enters a default value when you enter the Cement top
value. You can edit the default value.
Fluid Type of annular fluid in the wellbore above the Cement top of the casing or liner
above • For casings, this option appears only when the cement top MD is below the
cement wellbore MD.
• For liners, this option appears only when the cement top MD is below the MD
of the liner.
Fluid Type of annular fluid in the tubing
The software automatically populates the Fluid density based on the selected
annular fluid.
Fluid Mass of the annular fluid per unit volume for the casing, liner, or tubing
density The software automatically enters a default value when you select the type of fluid.
You can edit the default value.

Related links:
Casing catalog properties (p.40)
Tubing catalog properties (p.41)

Build physical models


57
PIPESIM User Guide

2.1.2 Add a deviation survey


Deviation surveys record the trajectory of the wellbore as drilled.
Wells may be deviated for many different reasons, such as:
• To increase exposure to producing zones
• To intersect a larger number of fractures
• To follow a complex geological structure
The directional change can be intentional, as part of a drilling plan; or the change can be a slight
divergence from the plan, in which case, the next tubing section added to the wellbore can begin to
correct the path.
1. In the Well editor, on the Deviation survey tab, enter the survey data, which are common
to all survey types.

Field Action
Survey Type Available options are: Vertical, 2D or 3D. If a well is vertical, no deviation survey is
required. Choice of 2D or 3D survey depends on available survey data.
Depth Enter the upper point in a well from which depth is measured (the selected
reference reference point represents zero depth).
Original RKB
rotary kelly bushing level during drilling
RKB
rotary kelly bushing level
GL
ground level
MSL
mean sea level
THF
tubing head flange level
Wellhead Enter the depth from the depth reference point.
depth For example: if the deviation survey is measured from a kelly bushing 16 ft above
the wellhead, defining a Wellhead depth of 16 ft will ensure that all
measurements relative to the Kelly bushing are correct. In other words, the 16-ft
section above the wellhead will not be included in the well profile used for
simulation.
Bottom The deepest point at which casing, liner, or openhole sections are defined in the
depth Tubulars tab. This is a read-only field.
2. If you selected 2D or 3D for the Survey type, the Deviation survey tab displays additional
properties and a table to define wellbore trajectory.
a. Define calculation options based on available data.

Build physical models


58
PIPESIM User Guide

Field Action
Dependent Available options are: MD, TVD or Angle
parameter The dependent parameter is one that is unknown and needs to be calculated
based on available values of others. A typical 2D survey has MD and TVD data
available making angle the dependent parameter.
Calculation Available options are: Tangential method or Minimum curvature method.
method When the Dependent parameter is MD or Angle, the Calculation method is
automatically set to Tangential method; however, with TVD as Dependent
parameter, both these methods are available to select.
Tangential method
Tubing/casing length is calculated, assuming straight pipe segments between
survey points.
Minimum curvature method
The two straight line segments of the tangential method are replaced with a
circular arc. This is accomplished by applying a ratio factor, based on the
amount of bend in the well path between the two points (the dogleg angle).
b. In the Deviation survey table, enter the new tubing segments that will divert the wellbore
trajectory from true vertical. Click New (+) to add additional rows as required.

Field Action
MD Enter the measured depth (MD) at any survey point in the well measured
relative to Depth reference.
If the well deviates from true vertical, MD will always be greater than TVD.
MD must be entered in the ascending order as you go down the table.
TVD Enter the true vertical depth (TVD), which is the actual vertical depth of the
tubing from the depth reference.
Horizontal Displays the calculated cumulative horizontal displacement of the well.
displacement
Angle Enter the angle deviation from true vertical.
Angle is usually the Dependent parameter in a 2D survey.
Azimuth (used in 3D surveys only)
Enter the angle of the wellbore direction relative to due north, as projected
perpendicular to a horizontal reference plane.
By definition, if the wellbore direction is due north, the azimuth is 0°. From
there, East = 90°, South = 180°, and West = 270°.
Max dogleg (used in 3D surveys only)
severity Enter the maximum change of direction allowed over a specified length.

Build physical models


59
PIPESIM User Guide

Note: By default, the data appears in tabular format. Each row in the table represents survey data
for a new wellbore section (indicating a change in borehole trajectory). Click the button below the
table to switch between tabular format and chart format.

c. Click New (+) in the Deviation survey table to add a row for each new wellbore section
(indicating a new borehole trajectory).

Related links:
Azimuth (p.60)
Measured depth and true vertical depth (p.60)

Azimuth
This figure illustrates how azimuth is determined. For drilling purposes, azimuth refers to a point
below the horizon, projected upward.

Related links:
Add a deviation survey (p.58)

Measured depth and true vertical depth


This graphic shows the difference between Measured Depth (MD) and True Vertical Depth (TVD).
These are only equivalent when a well is completely vertical.

Build physical models


60
PIPESIM User Guide

Related links:
Add a deviation survey (p.58)
Add heat transfer data (p.84)

2.1.3 Add downhole equipment


You can drag downhole equipment directly onto the Wellbore schematic, or you can add
equipment using the table in the Downhole equipment tab.

Note: Certain types of equipment, such as chokes and separators, can be used both in the
wellbore and on the surface.

To add downhole equipment:


1. Open the Well editor, and then perform one of the following actions:
• On the Insert tab in the Downhole equipment group, drag an equipment icon to the
appropriate position on the Wellbore schematic.
Downhole equipment appears under wellbore and at the same time it also gets added to the
equipment table under Downhole equipment tab.

Important: When you add specific downhole equipment like artificial lift equipment or a
completion, it is added to the respective tables under artificial lift tab or completions tab.

Build physical models


61
PIPESIM User Guide

• Click the Downhole equipment tab, and click New (+) in the installed equipment table.
Equipment is added to the table and also displays in the Wellbore schematic.
2. In the table, complete the following fields for the newly added equipment.

Field Action
Equipment Select the equipment type. Available types of equipment are: Choke, Packer,
Separator, Sliding sleeve, SSSV, Tubing plug, User Equipment (available only after
User Equipment is created), and Engine Keyword Tool.
Name Enter a unique name for the equipment to avoid any conflict with other equipments
and make it easier to identify the equipment in result table.
Active Select this check box to activate the equipment.
In the Wellbore schematic, deactivated equipment is outlined in red. If the check
box is cleared, that equipment will be ignored during simulation.
MD Enter the measured depth at which the equipment is installed.
If you dragged the equipment icon onto the Wellbore schematic, MD is
approximated. Enter a more accurate value, if necessary.
3. Click a row in the installed equipment table to display specific properties for that equipment
type. This displays equipment editor for the selected equipment below the table.
4. In the properties editor section, enter any additional properties for the equipment.

Related links:
Choke properties (p.62)
Packer (p.65)
Separator (downhole) (p.65)
Sliding sleeve (p.66)
Sub-surface safety valve (p.67)
Tubing plug (p.67)
User defined equipment (p.9)
Engine Keyword Tool (p.69)

Choke properties
A choke is a device that limits flow by mechanically constricting the cross-sectional area through
which fluid flows. The fluid velocity increases through the constriction and a pressure loss occurs.

Important: Downhole chokes and surface chokes use the same properties, although they are
created differently and appear differently in the Well schematic.

A surface choke is not part of wellbore schematic. It appears on surface schematic as below:

Build physical models


62
PIPESIM User Guide

Choke properties

Property Description
Name Unique name of the choke.
Active Select this check box to activate the choke so that it will be used during simulation.
Clear the check box to deactivate and the choke will be bypassed during simulation.

General choke properties

Property Description
Subcritical Select a correlation from the list. (All correlations except Mechanistic and
Correlation API14B require hydrocarbon liquids at Stock tank conditions.)
Critical Select a correlation from the list. Can be used to set the critical flowrate. This
Correlation may not match the subcritical flow at the critical pressure ratio, so the
subcritical flow correlation is adjusted to ensure that the flow is correct at the
critical pressure.
Bean size Enter the diameter of the choke bean. The bean size represents the diameter
of the available flow area assuming that the constriction is circular.
Critical pressure Used to determine the downstream pressure when critical flow occurs in the
ratio choke. You can specify a value or have it calculated. If you select Calculate,
the calculations are performed using the Ashford-Pierce method.
Tolerance Tolerance for identification of critical flow conditions (given as a percentage or
fraction)
Upstream pipe ID Enter the inside diameter of the pipe upstream of the choke.
Measured depth Downhole location of the choke

Advanced choke properties

Property Description
Gas Phase flow (Used in the Mechanistic correlation) Flow coefficient for the gas
coefficient phase. For API14B compatibility, set this to 0.9.
Liquid Phase flow (Used in the Mechanistic correlation) Flow coefficient for the liquid
coefficient phase. For API14B compatibility, set this to 0.85.
Table 2.1: Flow coefficients

Build physical models


63
PIPESIM User Guide

Property Description
Discharge Used to calculate the flow coefficients.
coefficient
Fluid heat capacity Normally calculated, but can be specified. The valid range is 0.7 to 2.
ratio (Cp/Cv) Typically it is 1.26 for a natural gas, 1.4 for a diatomic gas. It is used to
calculate the Critical pressure ratio if that is set to 0.
Y at critical point Gas expansion factor at critical flow. Normally, it is calculated, but it can be
specified. The valid range is 0.5 to 1. It is used to modify the pressure drop
equation to allow for gas compressibility.
Table 2.2: Choke parameters

Property Description
Flowrate Flowrate to identify critical flow.
Pressure ratio Pressure ratio to identify critical flow.
Sonic upstream velocity Sonic upstream velocity to identify critical flow.
Sonic downstream velocity Sonic downstream velocity to identify critical flow.
Table 2.3: Identification of Critical and Supercritical Flow

The choke model calculates the pressure ratio across the choke for the current flowrate. The
pressure ratio calculated is then categorized as subcritical, critical, or supercritical based on criteria
defined by the user. Use the check boxes to define the criteria for identification of critical and
supercritical flow. Note the following behaviors:
• Clearing all the check boxes prevents identification of critical and supercritical flow, so flow is
always subcritical. Do this for API14B compatibility.
• If more than one check box is selected, critical flow will be identified by any of the selected
criteria that are met.

Property Description
Adjust sub-critical Adjust subcritical correlation to match flowrate predicted by critical
correlation correlation.
Print detailed calculations Detailed choke calculation output. It appears on your terminal
screen and on the primary output page.
Table 2.4: Miscellaneous options

For more information, see Choke (p.481).

Related links:
Add surface equipment using the well editor (p.126)
Add downhole equipment (p.61)
Add surface equipment using the network diagram (p.137)

Build physical models


64
PIPESIM User Guide

Packer
A packer is a downhole device used in almost every well to isolate the annulus from the production
conduit, enabling controlled production, injection, or treatment. A typical packer assembly
incorporates a means of securing the packer against the casing or liner wall (such as a slip
arrangement), and a means of creating a reliable hydraulic seal to isolate the annulus (typically by
means of an expandable elastomeric element). A packer is generally placed close to the foot of the
tubing, shortly above the production zone.
The role of the packer in PIPESIM* is simply to define the flow path of the produced or injected
fluid. No simulation is performed on the packer itself.
On the Wellbore schematic, a packer appears as follows:

Property Description
Name Unique name for the packer
Active Status of the packer. If unchecked, the packer will be bypassed and cannot
block flow.
Measured depth Downhole location of the packer

Related links:
Add downhole equipment (p.61)

Separator (downhole)
Downhole separator discards the separated stream while allowing the primary fluid to pass through
it. Typically downhole separators are used upstream of certain equipment like ESP, Rod-pump,
and so forth.

Property Description
Name A unique name for the Separator
Active Status of the Separator. If unchecked, the separator will be bypassed and allow
fluid pass through it without separation.
Discarded Phase to be removed (Gas, Water, or Liquid)
stream
Efficiency Amount of material (measured in a percentage or fraction) removed from the
product stream at in stiu condition. For example, a water separator with 90%
efficiency removes 90% of the water. From the point downstream of the
separator, the flow model reflects only the remaining fluids.
MD Downhole location of the separator

Build physical models


65
PIPESIM User Guide

In the wellbore, you can use a separator to remove a single phase (gas, water, or liquid) from the
fluid stream. (On the surface, you can use a two-phase or three-phase separator.)
On the Wellbore schematic, a downhole separator appears as follows:

Related links:
Add downhole equipment (p.61)

Sliding sleeve
A sliding sleeve is a device that can be operated to provide a flow path between the production
conduit and the annulus. It uses a system of ports that can be opened or closed by a sliding
component that is generally controlled and operated by slickline tool string.
The role of the sliding sleeve in PIPESIM* is simply to define the flow path of the produced or
injected fluid. No simulation, for example as in pressure loss, is performed on the sliding sleeve
itself.
On the Wellbore schematic, an open sliding sleeve appears as follows:

On the Wellbore schematic, a closed sliding sleeve appears as follows:

Property Description
Name A unique name for the Sliding sleeve
Active/Open Status of the Sliding sleeve. If the sliding sleeve is open, fluid may flow from
the tubing to the annulus or vice versa. If closed, no fluid may flow between
the tubing an annulus.
Measured depth Downhole location of the sliding sleeve

Build physical models


66
PIPESIM User Guide

Note: For a sliding sleeve to convey fluids from a completion through the tubing, the sliding sleeve
must be positioned at the exact same depth as the completion.

For more information, see Multilayer Completions (p.122).

Related links:
Add downhole equipment (p.61)

Sub-surface safety valve


A sub-surface safety valve (SSSV) is a safety device installed in the upper wellbore to shut off
production in an emergency, particularly for offshore wells.
Pressure drop is calculated across the SSSV using the same equation used to model chokes, and
is generally sub-critical flow.
On the Wellbore schematic, a sub-surface safety valve appears as follows:

Property Description
Name A unique name for the SSSV
Active Status of the SSSV. If unchecked, the SSSV will be bypassed during
simulation.
Bean size Size of the passage available for flow
Measured depth Downhole location of the SSSV

For more information, see Choke Subcritical Flow Correlations. (p.484)

Related links:
Add downhole equipment (p.61)

Tubing plug
A tubing plug prevents flow through tubing in a wellbore.
The role of the tubing plug in PIPESIM* is simply to define the flow path of the produced or injected
fluid. No simulation is performed on the tubing plug itself.
On the Wellbore schematic, a tubing plug appears as follows:

Build physical models


67
PIPESIM User Guide

Property Description
Name A unique name for the tubing plug
Measured depth Downhole location of the top of tubing plug (especially when length is
provided)

Related links:
Add downhole equipment (p.61)

User defined equipment


PIPESIM supports many types of equipment that can be inserted into a flow path to model devices
that affect the fluid (flowrate, pressure, temperature and enthalpy). Examples include pumps,
compressors, heaters, multipliers, chokes, etc.
If you want to model certain specialized or proprietary devices not currently supported by PIPESIM,
you can create a Dynamically Linked Library (DLL) to achieve this. Such devices may include jet
pumps, multiphase boosters, valves, etc.
Self-documenting code templates written in c++ and Fortran are provided in the .. \Program Files
\Schlumberger\PIPESIM201x.x\Developer Tools\User Equipment directory created during the PIPESIM
installation.

Register user defined equipment


1. On the Workspace tab, click Options.
2. In the left pane, click Plugins.
3. Click Register.
4. Browse to and select the desired user equipment DLL.
5. Select a user equipment or flow correlations DLL.
6. Click Open.
The user equipment DLL with relevant information is added to the list of plugins.

Use user defined equipment


Depending on the type of user equipment created, you can add a user defined equipment to the
PIPESIM model from one of three possible locations:
• Surface equipment(network or well editor)
• Downhole equipment (well editor)
• Artificial lift (well editor)
Depending on the specific configuration options defined for the user equipment, you can specify
settings and input variables in the properties editor of the user equipment. Additionally, you may

Build physical models


68
PIPESIM User Guide

sensitize on numerical input parameters while running certain single branch tasks (such as PT
Profile, System Analysis, Nodal Analysis). Results may be viewed in both tabular and graphical
form by inspecting the System node result tables and System plots respectively.

Related links:
Plugins (p.9)

Register user defined equipment

1. On the Workspace tab, click Options.


2. In the left pane, click Plugins.
3. Click Register.
4. Browse to and select the desired user equipment DLL.
5. Select a user equipment or flow correlations DLL.
6. Click Open.
The user equipment DLL with relevant information is added to the list of plugins.

Use user defined equipment

Depending on the type of user equipment created, you can add a user defined equipment to the
PIPESIM model from one of three possible locations:
• Surface equipment (network or well editor)
• Downhole equipment (well editor)
• Artificial lift (well editor)
Depending on the specific configuration options defined for the user equipment, you can specify
settings and input variables in the properties editor of the user equipment. Additionally, you may
sensitize on numerical input parameters while running certain single branch tasks (such as PT
Profile, System Analysis, Nodal Analysis). Results may be viewed in both tabular and graphical
form by inspecting the System node result tables and System plots respectively.

Engine Keyword Tool


You can insert the engine keywords tool in a well or as surface equipment. The Engine Keyword
Equipment writes to the engine input file the keywords inline and entered by you. Engine keywords
may also be entered for all single branches or for the entire network under Home » Simulation
settings » Advanced » Engine keywords. Refer to the Advanced properties (p.9) topic for more
details.
To use the Engine keywords tool, perform the following steps:
1. Double click a well to open the Well Editor.
2. Drag and drop the Engine keywords equipment on the well.
The Downhole equipment tab is active to include the engine keywords parameters.

Build physical models


69
PIPESIM User Guide

3. Click the Downhole equipment tab and update (if necessary) the engine keywords
parameters.

Property Description
Name Name of the engine surface equipment
Active You can specify if the unit is active or not
Measured depth The depth of the equipment in the well

Note: The Measured depth parameter is only available in the Well Editor.

Engine keywords Enter the keyword used by the engine


4. For more information, see Keyword Reference (p.677).

Related links:
Advanced properties (p.9)
Add downhole equipment (p.61)
Add surface equipment using the network diagram (p.137)

2.1.4 Add an artificial lift


Artificial lift refers to the use of artificial means to increase the flow of liquids, such as crude oil or
water, from a production well.
Generally this is achieved by the use of a mechanical device inside the well or by decreasing the
weight of the hydrostatic column by injecting gas into the liquid some distance down the well.
Artificial lift is needed in the well when there is insufficient pressure in the reservoir to lift the
produced fluid to the surface, but often used in naturally flowing wells to boost flowrate. PIPESIM
provides options to model several types of artificial lift equipments as indicated below:
• Gas Lift (fixed injection port or injection valve)
• ESP (Electrical Submersible Pump)
• PCP (Progressive Cavity Pump)
• Rod Pump
You can model any one of these artificial lift systems in a PIPESIM well or combine two or more of
these systems to create a composite lift well.

Related links:
Add a gas lift injection port (p.71)
Add a gas lift injection valve (p.73)
User defined equipment (p.9)
Add an ESP (p.79)

Build physical models


70
PIPESIM User Guide

Add a progressive cavity pump (PCP) (p.81)


Add a rod pump (p.83)

Add a gas lift injection port


You can define gas lift injection ports for modeling gas lift systems. Gas lift is the process of raising
or lifting fluid from a well by injecting gas down the well through the tubing, casing, annulus, or
riser. Injected gas aerates the wellbore fluid making it lighter and thus significantly reduces back
pressure to the producing reservoir.
PIPESIM models provide a simplified form of continuous flow Gas Lift using single or multiple gas
lift injection ports installed at known locations in the wellbore. Each injection port is assigned with a
fixed quantity of injection gas. This simplified method assumes that sufficient injection pressure is
available, and that the port size is suitable to fully inject the quantity of lift gas specified at each
port.

Note: PIPESIM only models the continuous injection process.

1. In the Well editor, click the Artificial lift tab.


2. Select Fixed injection ports.
When you add a Gas lift object to the well, by default it will be a fixed injection port. If you
change your selection to Injection valve system, all added gas lift objects will become
injection valves. The depth, CHP, CHT, and fluid properties are retained.
3. Perform one of the following steps to add a gas lift injection port:
• Click New (+) at the bottom of the gas lift table.
• On the INSERT tab, in the Artificial lift group, drag the Gas lift icon to the well tubing in the
schematic.
A row that represents the gas lift injection port is added to the Gas Lift table. In the Gas lift
column, by default the gas lift port name is given the prefix GLI. This name is editable.
4. Optional: To compute the Alhanati instability factors, select Alhanati stability check.

Note: To use the Alhanati instability check, you can have only one fixed injection port.

a. In the gas lift table enter the Port size properties.


PIPESIM calculates the pressure drop across the valve and the Joule-Thomson temperature
change.
b. Under Injection Gas Surface Condition, enter the Surface injection pressure and
Surface injection temperature properties.
5. Enter the gas lift injection port properties.

Field Action
Gas lift Enter the name of the gas lift injection point. A unique name for each gas lift
injection point is required.

Build physical models


71
PIPESIM User Guide

Field Action
Active Select this checkbox to indicate the injection point is in operation. If the checkbox
is cleared, no lift gas will be injected through the port.
MD Depth (MD) of the specified gas lift injection port
Injection Quantity of injection gas through an injection port can be specified in one of the
quantity following ways:
options Injection gas rate
Actual (fixed) amount of lift gas to be injected. PIPESIM always injects this
amount of gas at the specified depth, assuming that the port size and injection
pressure is suitable to inject the specified quantity.
Set GLR to
Injection rate that is calculated to ensure that the stock tank gas lift ratio of the
tubing fluid downstream of the injection point is equal to this value. If this value
is less than the gas lift ratio of the tubing fluid upstream of the injection,
PIPESIM removes the gas.
Increase GLR by
Injection rate that is calculated where the stock tank gas lift ratio of the tubing
fluid is increased by an amount equal to this value.
Injection Quantity (amount) of lift gas to be injected at the port
quantity You can inject either a fixed gas volume or a volume computed based on a
resultant mixed stream gas liquid ratio.
Injection Unit of measure for the lift gas quantity based on the selected Injection quantity
quantity unit option
Port size Diameter of the gas lift port (orifice)
This option is only available when Alhanati stability check is selected.
6. Under Gas Lift, specify Gas Properties of the injected gas in one of the following ways:
• To enter a specific gravity associated with a fluid, select Specify and enter the value.
• To specify a fluid model, select Use fluid model and select a fluid from the Fluid list.
When you select a fluid model, gas specific gravity with be used from the specified fluid
model.

Note: You can create a new fluid, or edit an existing one.

7. To add multiple injection ports, repeat the preceding steps.

Related links:
Create or edit fluid models (p.195)
Gas lift instability (p.554)

Build physical models


72
PIPESIM User Guide

Add a gas lift injection valve


When you add gas lift valves to a well, PIPESIM* calculates the injection depth based on given
injection parameters. The actual gas throughput for each valve is calculated based on the injection
pressure, production pressure, valve details, and valve status. For this operation, details of the gas
lift system are required (valve size, Ptro, etc.). The valve throttling response is modeled (based on
the bellows load rate of the valve).
During the Gas lift design task, you can install the gas lift valves created by the design simulation
into the well model. This operation automatically deletes any existing ports or valves in the well
model.
1. In the Well editor, click the Artificial lift tab.
2. Select Injection valve system.
When you add a Gas lift object to the well, it will be an injection valve. If you change your
selection to Fixed injection ports, all added gas lift objects will become fixed injection ports.
The depth, CHP, CHT, and fluid properties are retained.
3. Perform one of the following steps to add a gas lift injection valve:
• Click New (+) at the bottom of the gas lift table.
• On the INSERT tab, in the Artificial lift group, drag the Gas lift icon to the well tubing in the
schematic.
A row that represents the gas lift injection valve is added to the Gas Lift table. In the Gas lift
column, by default the gas lift valve name is given the prefix GLI. This name is editable.
4. In the Gas Lift table, select the valve's row and enter the gas lift injection valve properties by
clicking the ellipsis button and selecting a specific valve from the Gas lift valve catalog.
The gas lift table displays the properties of the selected valve.

Field Action
Gas lift Name of the gas lift injection valve
This field is editable. A unique name for each gas lift injection valve is
required.
Active Select this checkbox to indicate the injection valve is in operation.
If the checkbox is cleared, no lift gas will be injected through the valve.
MD Depth (MD) of the specified gas lift injection valve
This field is editable.
Manufacturer Valve maker (for example: Bompet, Daniel, Hughes, Macco, SLB (Camco),
SLB (Merla), Weatherford)
Series Series name or number
Valve type • IPO: Inject-pressure-operated gas lift valve that is designed in a way
that the casing pressure is acting on the larger area of the bellows and
thus are primarily sensitive to the casing pressure. The drop in casing
pressure which occurs during unloading is used to close the valves in
the correct sequence.

Build physical models


73
PIPESIM User Guide

Field Action
• PPO-N: Production Pressure Operated Valve that uses a nitrogen
charged dome as the loading element to cause the valve to close.
Most gas lift equipment manufacturers use a valve setting temperature
base of 60 degrees for nitrogen charged gas lift valves. The valve is
submerged in a 60 degrees F water bath to ensure a constant nitrogen
temperature in the dome of each valve during the test rack setting
procedure.
• PPO-S: Production Pressure Operated Valve with a spring to pre-load
the bellows and hold the valve stem on the port (for example, a spring
is used as the loading element to cause the valve to close).
This type of value is also called a PPO unbalanced spring valve. The
advantage of this type of PPO valve is that there are no temperature
effects to consider when setting the valves opening pressure.
• Orifice: Fixed opening primarily used for single point injection or can be
combined with other gas lift valves
• Dummy: A blank gas-lift valve placed in a gas-lift mandrel to isolate the
tubing string from the annulus. Gas-lift valves frequently are replaced
with dummy valves during intervention work on wells with gas-lift
completions.
Port size Diameter of the gas lift valve (orifice)
Ptro Test rack opening pressure
You are required to enter a value in this field.
Discharge Discharge coefficient for the Thornhill-Craver equation, used to calculate
coefficient valve gas throughput (given injection and production pressure)
DP [Delta P] to Difference between the production pressure when the valve is fully open to
fully open fully closed (for a fixed injection pressure)
This is only needed for diagnostics operation if the throttling behavior of the
valve is to be modeled.
5. In the Ptro field, enter the test rack opening pressure.
6. Optional: In the MD, Port size, and DP to fully open columns, select the unit of measurement
as needed.
7. Select Active to indicate that the injection valve is in operation, and then enter the gas lift
properties.
a. Specify Gas Properties of the injected gas in one of the following ways:
• To enter a specific gravity associated with a fluid, select Specify and enter the value.
• To specify a fluid model, select Use fluid model and select a fluid from the Fluid list.

Note: You can create a new fluid, or edit an existing one.

b. Specify the Injection Gas Surface Condition properties.

Build physical models


74
PIPESIM User Guide

Field Action
Target injection Enter the target injection gas flowrate for design used by the software to
rate calculate the production pressure curve and operating valve sizing

Note: This option is used only by the Gas lift design and Gas lift
diagnostics tasks.

Surface injection Enter the gas lift injection surface pressure


pressure
Note: This option is used only by the Gas lift design and Gas lift
diagnostics tasks.

Surface injection Enter the surface temperature of the injection gas


temperature
Note: This option is used only by the Gas lift design and Gas lift
diagnostics tasks.

Minimum valve Minimum difference between injection and production pressure required for
injection DP valve placement
Valves can not be placed deeper if the pressure difference is less than this
value.

Note: This option is used only by the Gas lift Deepest injection point and
Gas lift design tasks.

8. Under Valve Performance Data, enter the following information.


a. Enter the Tuning factor value in a range of 0.2 to 5.
b. Enter the Test rack temperature value in a range of 40º F to 100° F.
c. Select the Nitrogen temp. correction option.

Field Description
Tuning factor Factor/multiplier to the Thornhill-Craver equation that adjusts the performance of
the valve (valve throughput)
The default tuning factor is 1.
When the tuning factor is 1, no adjustment is made to the valve throughput when
you run a gas lift Fixed injection pressure or Fixed injection rate diagnostics
task.

Note:

Build physical models


75
PIPESIM User Guide

Field Description

• If you know the measured values of CHP (fixed injection pressure) and
Qinj (fixed injection rate), you can run a Fixed injection pressure and
injection rate diagnostics task and the software will automatically
calculate the tuning factor for you.
• During the Fixed injection pressure and injection rate diagnostics task,
you can publish this calculated tuning factor to the well used in the task.
Then, the Tuning factor field displays the software-calculated value.
• This option is used only by the Gas lift diagnostics task.

Test rack Temperature that is maintained in the test rack


temperature The default value is 60º F.
Generally, the temperature is maintained at 60° F using a water bath. However,
in some circumstances the temperature may not be controlled. In this case, the
temperature is typically ambient temperature in the shop.

Note: This option is used only by the gas lift design and gas lift diagnostics tasks.

Nitrogen Nitrogen temperature correction factor (Ct) used to more accurately calculate
temp. valve dome pressures
correction • Gas lift design calculations – Ct is used to compute the test rack dome
pressure given the valve operating pressure, valve operating temperature,
and test rack temperature.
• Gas lift diagnostics calculations – Ct is used to calculate the valve
operating dome pressure given the known test rack dome pressure and
test rack temperature.
DAK-Sutton (default)
The DAK-Sutton (2014) method is more rigorous. Sutton tuned the
coefficients in the original Dranchuk & Abou-Kassem (DAK) Equation of
State for gas to match pure nitrogen properties calculated by REFPROP.
The resulting modification allows accurate calculation of nitrogen gas
compressibility for pressures up to 15,000 psia and temperatures up to 400º
F.
Winkler-Eads
The Winkler-Eads (1989) method is a composite of two empirical curve fit
equations to match Nitrogen Z factor measured data. The first equation is
valid up to 1238 psia and the second equation is valid over the range of 1238
psia to 3000 psia, with temperature ranges up to 300º F. Despite these
limitations, Sutton (2014) reported that the Winkler-Eads method gives
reasonable results up to 5000 psia and 400º F.

Build physical models


76
PIPESIM User Guide

Field Description
The correction factor provided by Wrinkler-eades provides a way to convert
the dome pressure at the valve depth to the equivalent test rack opening
pressure (Ptro) and vice-versa.
9. To add multiple injection valves, repeat the preceding steps.

Related links:
Select a gas lift injection valve (p.77)
Create or edit fluid models (p.195)
Run gas lift diagnostics (p.334)
Run gas lift design (p.318)

Select a gas lift injection valve


When you add a gas lift injection valve to well tubing, you must select the valve from the Gas lift
valve catalog. Selecting the valve from the catalog populates the Gas Lift table in the Artificial
lift tab with the valve properties.

Note: If the valve that you need to use is not listed in the catalog, you can use the Catalogs option
on the Home tab in the Application options group to add the valve to the catalog.

1. In the Gas Lift table, highlight the row for the valve for which you need to define properties.
2. In the rightmost column in the table, click the Use catalog ellipsis button.
3. In the Gas lift valve catalog, select the valve that you want to use, and then click OK.

Related links:
Manage the gas lift valve catalog (p.26)
Gas lift valve catalog properties (p.44)

User defined equipment


PIPESIM supports many types of equipment that can be inserted into a flow path to model devices
that affect the fluid (flowrate, pressure, temperature and enthalpy). Examples include pumps,
compressors, heaters, multipliers, chokes, etc.
If you want to model certain specialized or proprietary devices not currently supported by PIPESIM,
you can create a Dynamically Linked Library (DLL) to achieve this. Such devices may include jet
pumps, multiphase boosters, valves, etc.
Self-documenting code templates written in c++ and Fortran are provided in the .. \Program Files
\Schlumberger\PIPESIM201x.x\Developer Tools\User Equipment directory created during the PIPESIM
installation.

Build physical models


77
PIPESIM User Guide

Register user defined equipment


1. On the Workspace tab, click Options.
2. In the left pane, click Plugins.
3. Click Register.
4. Browse to and select the desired user equipment DLL.
5. Select a user equipment or flow correlations DLL.
6. Click Open.
The user equipment DLL with relevant information is added to the list of plugins.

Use user defined equipment


Depending on the type of user equipment created, you can add a user defined equipment to the
PIPESIM model from one of three possible locations:
• Surface equipment(network or well editor)
• Downhole equipment (well editor)
• Artificial lift (well editor)
Depending on the specific configuration options defined for the user equipment, you can specify
settings and input variables in the properties editor of the user equipment. Additionally, you may
sensitize on numerical input parameters while running certain single branch tasks (such as PT
Profile, System Analysis, Nodal Analysis). Results may be viewed in both tabular and graphical
form by inspecting the System node result tables and System plots respectively.

Related links:
Plugins (p.9)

Register user defined equipment

1. On the Workspace tab, click Options.


2. In the left pane, click Plugins.
3. Click Register.
4. Browse to and select the desired user equipment DLL.
5. Select a user equipment or flow correlations DLL.
6. Click Open.
The user equipment DLL with relevant information is added to the list of plugins.

Use user defined equipment

Depending on the type of user equipment created, you can add a user defined equipment to the
PIPESIM model from one of three possible locations:
• Surface equipment (network or well editor)
• Downhole equipment (well editor)

Build physical models


78
PIPESIM User Guide

• Artificial lift (well editor)


Depending on the specific configuration options defined for the user equipment, you can specify
settings and input variables in the properties editor of the user equipment. Additionally, you may
sensitize on numerical input parameters while running certain single branch tasks (such as PT
Profile, System Analysis, Nodal Analysis). Results may be viewed in both tabular and graphical
form by inspecting the System node result tables and System plots respectively.

Add an ESP
The electric submersible pump (ESP) is perhaps the most versatile of the artificial lift methods. The
ESP comprises a downhole pump, electric power cable, motor, and surface controls. In a typical
application, the downhole pump is suspended on a tubing string hung on the wellhead and is
submerged in the well fluid. The pump is close-coupled to a submersible electric motor that
receives power through the power cable and surface controls. The ESP has the broadest
producing range of any artificial lift methods.
To simulate an ESP, PIPESIM* maintains a database of manufacturers and models from which
you can select. For each model the diameter, minimum and maximum flow rate, and base speed
are provided. A performance plot of the ESP is also available.
1. In the Well editor, click the Artificial lift tab.
2. Perform one of the following actions:
• Click New (+) at the bottom of the table and then click ESP as the Equipment to be used for
the artificial lift.
• Drag the ESP icon in the Artificial lift group to the well tubing in the schematic.
3. Click the row in the table for the equipment added above to display the properties for that
equipment.
4. Configure the appropriate properties.
For more information, see Electric Submersible Pumps (ESP) (p.517).

Related links:
ESP properties (p.79)

ESP properties
The following tables explain the different ESP properties.

General properties

Property Description
Name Name of the Electrical Submersible Pump. A unique name is required.
Active Specifies whether the pump is in operation. If inactive, the pump is bypassed
during simulation.
Measured depth Depth of the specified ESP (MD)

Build physical models


79
PIPESIM User Guide

Performance data properties

Property Description
Manufacturer Pump manufacturer (from catalog).
Model Model name or number of the pump (from catalog).

Note: To select an ESP from the catalog, select the catalog button and
choose the appropriate manufacturer and model. List of pump displayed is
automatically filtered based on casing inside diameter at pump location and
also the operating flowrate and operating frequency you specified.

Diameter Diameter of the pump for the model selected from catalog
Min flowrate Minimum recommended flowrate for pump selected from catalog
Max flowrate Maximum recommended flowrate for the pump selected
Base frequency The frequency used for the base performance curve (generally 60 Hz for
ESPs).
Operating The frequency at which the pump motor is expected to run.
frequency
Operating speed The actual operating speed of the pump in RPM or cycles per minute. For
both Operating frequency and Operating speed, if one is specified, the
other is calculated.

Note: The operating speed is adjusted to the operating frequency based on


the Pump speed factor defined in Simulation Settings in the Advanced tab
under Miscellaneous options.

Stages The actual number of stages of the ESP. This can be selected from a drop-
down list of available stages (stored in catalog) or entered manually.
Head factor Allows the pump head to be adjusted (default = 1).
Flowrate factor Allows the pump flowrate to be adjusted.
Power factor Allows the pump power requirement to be adjusted.

Calculation options properties

Property Description
Viscosity All pump performance curves are based on water systems. This option
correction corrects for oil viscosity.
Gas separator Indicates whether a gas separator is installed. If checked, a gas separator
present will be installed upstream of ESP. Separated gas will be discarded.

Build physical models


80
PIPESIM User Guide

Property Description
Separator The efficiency of the gas separator. This indicates the amount of free gas that
efficiency is removed. For example, a 90% efficiency indicates 90% of free gas at pump
intake condition will be discarded.
Stage by stage Stage by stage calculation is more rigorous that takes into account losses
calculation between stages of ESP and therefore gives realistic results across the pump

Performance curve and variable speed curve tabs


• To change the data format from a chart to a table, click the table-shaped View data in a table
button beneath the plot, or right-click the chart and click View table.
• To change the data format from a table to a chart, click the chart-shaped View data in a chart
button beneath the table, or right-click the table and click View chart.

Related links:
Add an ESP (p.79)

Add a progressive cavity pump (PCP)


A PCP is a special type of rotary positive displacement pump sometimes referred to as a single-
screw pump. PCP performance is based on the volume of fluid displaced through the pump.
1. In the Well editor, click the Artificial lift tab.
2. Perform one of the following actions:
• Click New (+) at the bottom of the table and then click PCP as the Equipment to be used
for the artificial lift.
• Drag the PCP icon in the Artificial lift group to the well tubing in the schematic.
3. Click the row in the table for the artificial lift added in step 2 to display the properties for that
equipment.
4. Configure the appropriate properties on each tab.

Related links:
PCP properties (p.81)

PCP properties
The following tables describe the different PCP properties.

General properties

Property Description
Name Name of the PCP. A unique name is required.
Active Specifies whether the pump is in operation. If unchecked, the pump is
bypassed during simulation.

Build physical models


81
PIPESIM User Guide

Property Description
Measured depth Depth of the PCP in the wellbore (MD)

Performance data properties

Property Description
Manufacturer Manufacturer of the pump (from catalog).
Model Model of the pump (from catalog)
Diameter Diameter of the pump for the model selected (from catalog).
Nominal rate The actual volumetric flowrate that the pump would produce, if it were pumping
with no back-pressure at its discharge (m3/sec or ft3/min).
Base speed The frequency at which the performance curve is defined.
Operating speed The actual operating speed of the pump in RPM or cycles per minute. For both
Operating frequency and Operating speed, if one is specified, the other is
calculated.

Note: The operating speed is adjusted to the operating frequency based on the
Pump speed factor defined in Simulation Settings in the Advanced tab under
Miscellaneous options.

Top Drive Specifies whether the drive is a top-drive or a bottom-drive. This is used for
torque calculations.
Rod Diameter Specifies the rod diameter (top drive only).
Head factor Allows the pump head to be adjusted to better match field performance data or
account for wear (default = 1).
Flowrate factor Allows the pump flowrate to be adjusted.
Power factor Allows the pump power requirement to be adjusted.

Calculation options properties

Property Description
Viscosity correction Allows a viscosity correction factor to be applied to account for reduced
slippage.
Gas separator present Allows a gas separator to be modeled.
Separator efficiency Specifies efficiency of the gas separator (default = 100%).

Performance curve and variable speed curve tabs


• To change the data format from a chart to a table, click the table-shaped View data in a table
button beneath the plot, or right-click the chart and click View table.
• To change the data format from a table to a chart, click the chart-shaped View data in a chart
button beneath the table, or right-click the table and click View chart.

Build physical models


82
PIPESIM User Guide

Related links:
Add a progressive cavity pump (PCP) (p.81)

Add a rod pump


The rod pump uses a surface power source to drive a downhole pump assembly. The beam pump
is the most popular rod pump system because of its simple structure, flexibility, and longevity. The
system consists of the pumping unit, sucker rod, and pump. The pump unit is the main surface
equipment of the rod pump system. The beam-balanced pumping unit transforms the circular
movement of the crank to the up and down swing of the horse head using the connection rod
between the beam and crank.
1. In the Well editor, click the Artificial lift tab.
2. Perform one of the following actions:
• Click New (+) at the bottom of the table and then click Rod pump as the Equipment to be
used for the artificial lift.
• Drag the Rod pump icon in the Artificial lift group to the well tubing in the schematic.
3. Click the row in the table for the artificial lift added in step 2 to display the properties for that
equipment.
4. Configure the appropriate properties on each tab.

Related links:
Rod pump properties (p.83)

Rod pump properties


The following tables explain the different rod pump properties.

General properties

Property Description
Name Name of the rod pump.
Active Specifies whether the pump is in operation.
Measured depth Measured depth to the bottom of the rod pump.
This is a required value. The value cannot be less than zero.

Performance data properties

Property Description
Nominal rate The actual volumetric flowrate that the pump would produce, if it were
pumping with no back-pressure at its discharge.
Maximum DP The maximum pressure rise the device is allowed to exhibit (psi or bar). This
property is used to prevent excess rod loading.

Build physical models


83
PIPESIM User Guide

Property Description
Maximum power The maximum power the device is allowed to draw (hp or kw). This property is
used to prevent excess rod loading.
Drive rod This property allows the pipe cross-section area to be reduced, to account for
diameter the presence of a drive rod for a pump.

Calculation options properties

Property Description
Gas separator If checked, a gas separator is installed to remove free gas before the
present produced fluid enters the pump. Separated gas will be discarded to annulus
between tubing and casing strings.
Separator efficiency The efficiency of the gas separator if installed. A 90% separation efficiency
indicates that 90% of free gas available at pump intake condition will be
removed.
Recombine gas at If checked, the separated gas recombines with the produced fluid at the
wellhead wellhead.

Related links:
Add a rod pump (p.83)

2.1.5 Add heat transfer data


Heat transfer can be modeled by entering the single heat transfer coefficient (U value) or by
entering multiple values in a table.
1. To define the heat transfer data, in the Well editor, click the Heat transfer tab.

Note: The information in the Heat transfer tab changes based on the selected U Value input
method and the Ambient temperature input method.

2. Select the U Value input method and Ambient temperature input method.

Field Action
U Value input Perform one of the following actions:
method • Click Single, enter the value and select the appropriate units.
• Click Multiple, select the appropriate Depth option (MD or TVD) and
enter U Value at given depths. The U values at all other depths will be
interpolated based on measured depth (MD).
U Value U value or heat transfer coefficient
Ambient Perform one of the following actions:
temperature • Click Single, enter the soil temperature at wellhead with the appropriate
input method unit. The Ambient temperature (surrounding formation temperature) at

Build physical models


84
PIPESIM User Guide

Field Action
any point in the wellbore will be interpolated between the entered Soil
Temperature at wellhead and the known Reservoir temperature
specified in the Completions tab of Well editor based on depth (TVD).
• Click Multiple, select the appropriate Depth option (MD or TVD) and
enter Ambient temperature at given depths. The Ambient temperature at
all other depths will be interpolated based on true vertical depth (TVD) .
3. To add more rows to the table, click New (+).

Note: By default, the data appears in a plot. Click the button below the plot to switch between plot
format and tabular format.

For more information, see Overall Heat Transfer Coefficient (p.560).

Related links:
Measured depth and true vertical depth (p.60)

Measured depth and true vertical depth


This graphic shows the difference between Measured Depth (MD) and True Vertical Depth (TVD).
These are only equivalent when a well is completely vertical.

Build physical models


85
PIPESIM User Guide

Related links:
Add a deviation survey (p.58)
Add heat transfer data (p.84)

2.1.6 Add completions


In PIPESIM*, a completion refers to the point or interval of contact(s) between wellbore and the
reservoir. A completion includes a definition of an Inflow Performance Relationship (IPR) and the
fluid that is associated with the producing reservoir as well as some of the mechanical wellbore
configuration (for example: gravel pack, etc.) to account for pressure drop between the reservoir
and the wellbore. Completion characteristics such as fracture geometry, gravel packing, perforation
parameters and so on, may be described as part of the IPR. A completion may contain perforations
(with casing) or be openhole (no casing). Only one set of perforations are allowed per completion.

Note:
• Any completion changes that you make while interacting with the Wellbore schematic will be
reflected in the Completions table, such as adding a completion or changing the depth of a
completion. Likewise, any changes that you make on the Completions tab appear in the
Wellbore schematic.
• After you complete a perforation design simulation, you can update the completion data in the
well model used in the simulation with the completion data results from the perforation design.

Build physical models


86
PIPESIM User Guide

1. Add a completion to the Wellbore schematic by performing one of the following actions:
• On the Insert tab in the Downhole equipment group, drag the Completion icon to the
appropriate position on the Wellbore schematic.
• On the Completions tab, click New (+) at the bottom of the table and select whether the
Geometry profile is a vertical or horizontal completion.

Note: By default, if the completion is created in a wellbore section within 10 degrees from
horizontal, PIPESIM creates a horizontal completion; otherwise, PIPESIM creates a vertical
completion. You can override this designation. Based on the designated completion (horizontal or
vertical), the list of selectable IPR models changes.

2. To reposition the Completion object, perform one of the following actions:


• On the Wellbore schematic, drag the Completion object to another location.
• On the Completions tab, define the completion depth.
• For Single point completions, enter the Middle MD.
• For Distributed completions, enter the Top MD and Bottom MD.

Note: The Type property displays the completion type (Perforated or Openhole). You
cannot change this value in the Completions tab.

3. On the Completions tab, define the completion.


To select the completion that you want to define, either click the completion on the Wellbore
schematic, or click the appropriate row in the Completions table.

Note: When defining completions, the selections available in the Completions tab change based
on whether the well completion is vertical or horizontal, and whether the fluid entry is single point or
distributed.

a. If the completion is active, ensure that the Active check box is selected.
An inactive completion will ignore the completion and there will be no contribution.
b. Select the IPR model.
The IPR models available for selection change based on the selection made for the Fluid
entry and the Geometry profile.
c. Define the completion properties, reservoir conditions, and fluid model associated with the
completion.
You define these properties on the tabs displayed beneath the Completions table.

Related links:
IPR options and applicability table (p.88)
Multilayer completions (p.122)
Associate zones with completions (p.125)

Build physical models


87
PIPESIM User Guide

Create or edit fluid models (p.195)


Completion updates to well models (p.350)

IPR options and applicability table


The IPR models that are available are based on the Geometry profile and the Fluid entry
selected.

Geometry Profile Fluid Entry IPR Model


Vertical Single Point • Well PI (gas, liquid)
• Vogel (liquid)
• Fetkovich (liquid)
• Jones (liquid, gas)
• Backpressure (gas)
• Darcy (gas, liquid)
• Forchheimer (gas)
• Hydraulic Fracture (liquid, gas)
Horizontal Single Point • Joshi (liquid, gas)
• Babu & Odeh (liquid, gas)
Horizontal Distributed • Distributed PI (liquid, gas)
• Joshi (liquid, gas)
• Babu & Odeh (liquid, gas)

Related links:
Vertical completions overview (p.88)
Horizontal completions overview (p.95)
Define the skin (p.100)
Multi-rate well test data (p.122)

Vertical completions overview


The vertical completion models flow between the reservoir and bottomhole using an Inflow
Performance Relationship (IPR).
The following wellbore schematic shows a vertical completion named VertComp.

Build physical models


88
PIPESIM User Guide

Related links:
Inflow performance relationships for vertical completions (p.431)
Vertical completion options (p.89)
Well productivity index (PI) reservoir properties (p.90)
Vogel's reservoir properties (p.90)
Fetkovich's reservoir properties (p.91)
Jones' reservoir properties (p.91)
Backpressure's reservoir properties (p.92)
Darcy's reservoir properties (p.92)
Forchheimer's equation (p.93)
Hydraulic fracture reservoir properties (p.94)
Vertical completion skin table (p.103)

Vertical completion options


When the selected IPR model is Darcy and one of the Skin options is set to calculate, the following
vertical completion options are available:

Completion Type Description


OpenHole Does not have casing or liner cemented in place across the production zone.
Produced fluids flow directly into the wellbore. In some cases, the zone is left
entirely bare, but usually some sort of sand-control or flow-control method is
used.
Openhole with An openhole completion in which a slotted or perforated liner, often wire-
gravel pack wrapped and placed in the well, is surrounded by gravel. Gravel packs are
most commonly used for mitigating sand production.
Perforated Has a production casing or liner perforated to allow fluids to pass between
the wellbore and the producing formation.
Perforated with Uses a combination of gravel pack and perforation in cased-holes. The
gravel pack perforations allow passage of fluids between the wellbore and the producing
formation. Gravel packing the annulus and perforations prevents sand
production.
Frac Pack Process of creating a propped hydraulic fracture and an annular gravel pack
to increase well productivity and control sand production.

Build physical models


89
PIPESIM User Guide

Related links:
Vertical completions overview (p.88)

Well productivity index (PI) reservoir properties


This topic describes the reservoir data to enter when you use the well PI equation for vertical
completions.

Property Description
Reservoir pressure Static reservoir pressure
Reservoir Reservoir temperature
temperature
IPR basis Basis for IPR calculation (liquid or gas)
Productivity Index Productivity Index
Use Vogel below Available for Liquid PI for reservoirs where bottomhole pressure may be
bubble point below the bubble point.

Note: The Well PI option is intended for use when the reservoir pressure is
above the bubble point. The Vogel correction below the bubble point
accounts for presence of 2-phase as gas comes out of solution. An
alternate option is to use an IPR model that is intended for two-phase
fluids, such as Vogel or Fetkovich.

Use test data Input rate versus pressure data available from standard multipoint tests or
isochronal test. PIPESIM adjusts the IPR automatically to match the test
data and computes the resultant productivity index (PI).

For more information, see Productivity Index (PI) (p.432).

Related links:
Multi-rate well test data (p.122)

Vogel's reservoir properties


This topic describes the reservoir data to enter when you use Vogel's equation for vertical
completions.

Property Description
Reservoir pressure Static reservoir pressure
Reservoir Reservoir temperature
temperature
IPR basis Basis for IPR calculation. Liquid is the only option for Vogel IPR model.
AOFP Absolute Open Flow Potential - the maximum liquid flowrate the well could
deliver if the bottomhole flowing pressure were set to 0.

Build physical models


90
PIPESIM User Guide

Property Description
Vogel coefficient Coefficient used in Vogel's equation to adjust the degree of curvature of
the inflow performance curve. Curvature increases with an increasing
coefficient. A straight line is produced when the PI-coefficient is 0 (default
value = 0.8).
Use test data Input rate versus pressure data for a well test. PIPESIM* adjusts the IPR
automatically to match the test data.

Related links:
Vogel's equation (p.433)
Multi-rate well test data (p.122)

Fetkovich's reservoir properties


This topic describes the reservoir data to enter when you use Fetkovich's equation for vertical
completions.

Property Description
Reservoir Static reservoir pressure
pressure
Reservoir Reservoir temperature
temperature
IPR basis Basis for IPR calculation (liquid is the only option for Fetkovich IPR model)
AOFP Absolute Open Flow Potential - the maximum liquid flowrate the well could
deliver if the bottomhole flowing pressure were set to 0
n exponent Exponent used in the Fetkovich equation to adjust the degree of curvature
of the inflow performance curve. Unlike the Vogel equation it is not possible
to produce a linear well inflow characteristic as a special case of the
Fetkovich equation. The default value is 1.0.
Use test data Input rate versus pressure data available from standard multipoint tests or
isochronal test. PIPESIM adjusts the IPR automatically to match the test
data and computes the resultant AOFP and n exponent.

Related links:
Fetkovich's equation (p.435)
Multi-rate well test data (p.122)

Jones' reservoir properties


This topic describes the reservoir data to enter when you use the Jones' equation for vertical
completions.

Build physical models


91
PIPESIM User Guide

Property Description
Reservoir pressure Static reservoir pressure
Reservoir temperature Reservoir temperature
IPR basis Basis for IPR calculation (liquid or gas)
A (turb) Turbulent flow coefficient. This value must be ≥ 0.
B (lam) Laminar coefficient. This value must be ≥ 0.
Use test data Input rate versus pressure data available from standard multipoint tests
or isochronal test. PIPESIM adjusts the IPR automatically to match the
test data and computes parameters A and B.

For more information, see Jones' Equation (p.435).

Related links:
Multi-rate well test data (p.122)

Backpressure's reservoir properties


This topic describes the reservoir data to enter when you use the backpressure equation vertical
completions.

Property Description
Reservoir pressure Static reservoir pressure
Reservoir Reservoir temperature
temperature
IPR basis Basis for IPR calculation (gas is the only option for Backpressure IPR
model).
Constant C C is the coefficient to pressure square differential term in back pressure
equation. C is influenced by reservoir and fluid parameters.
Slope n Slope n is the exponent to pressure square differential term in the
backpressure equation representing flow characteristics. Its value ranges
between 0.5 (for completely turbulent flow) to 1.0 (for pure laminar flow).
Use test data Input rate versus pressure data from a typical backpressure test. PIPESIM
adjusts the IPR automatically to match the test data and computes values
for C and n.

Related links:
Back pressure equation (p.436)
Multi-rate well test data (p.122)

Darcy's reservoir properties


This topic describes the reservoir data to enter when you use the Darcy equation for vertical
completions.

Build physical models


92
PIPESIM User Guide

For more information, see Pseudo Steady State Equation / Darcy Equation (p.437).

Property Description
Reservoir pressure Static reservoir pressure
Reservoir temperature Reservoir temperature
IPR basis Basis for IPR calculation (liquid or gas)
Use Vogel below This option is available for liquid-based IPR only. Use the Vogel equation
bubble point to calculate the IPR curve below the bubble point.
Reservoir thickness Average formation thickness
Borehole diameter Diameter of the wellbore (drilled hole) outside of the casing and cement.
The default value is 6 inches.
Reservoir permeability Average permeability of the formation.
Use relative This option is available for liquid-based IPR only. Select This checkbox to
permeability data specify a relative permeability table.
Reservoir shape Specify either a drainage radius or a shape factor.
option
Drainage radius Radius of external boundary of drainage area
Shape factor Identifies the physical location of a well with respect to reservoir
boundaries. The typical value for a circular reservoir is 31.62.
Reservoir area Area of the reservoir.
Use transient model Select the Transient model check box to model a well that has not
reached pseudo steady-state condition. This displays following additional
parameters
Time
Time well has been producing
Porosity
Pore volume/bulk volume
Compressibility
Total compressibility of the reservoir rock

Related links:
Vertical completions overview (p.88)

Forchheimer's equation
This topic describes the reservoir data to enter when you use the Forchheimer equation for vertical
completions.

Property Description
Reservoir pressure Static reservoir pressure

Build physical models


93
PIPESIM User Guide

Property Description
Reservoir temperature Reservoir temperature
IPR basis Basis for IPR calculation (gas is the only option for Forchheimer IPR
model).
F (turb) Turbulent coefficient. This value must be ≥ 0.
B (lam) Laminar coefficient. This value must be ≥ 0.
Use test data Input rate versus pressure data available from standard multipoint tests
or isochronal test. PIPESIM adjusts the IPR automatically to match the
test data and computes parameters F and B.

Related links:
Forchheimer equation (p.436)
Multi-rate well test data (p.122)

Hydraulic fracture reservoir properties


This topic describes the reservoir data to enter when you use the hydraulic fracture equation for
vertical completions.

Note: The Fractured Well IPR type uses a digitized, constant rate, finite-conductivity, closed
square, fractured well type-curve to calculate the effect of a vertically drilled well that has been
hydraulically fractured. This is the same method used in the Schlumberger FracCADE software.

• The well is assumed to be in the center of a square reservoir with an aspect ratio of 1:1.
• The type curves used in the calculation are taken from Reservoir Stimulation 2nd Edition by
Econimides and Nolte, Chapter 8 by Hai-Zui Meng and SPE paper 16435 and are best suited
for tight gas wells. Type curves are generated using single-phase, two-dimensional finite
difference simulators for ranges of system properties (permeability, porosity, fluid viscosity, total
system compressibility) and the characteristic length of the system, fracture half-length. These
are then used to compute Dimensionless time (valid range: 10e-5 - 10e3), Dimensionless
wellbore pressure, and Dimensionless fracture conductivity (valid range 0.1 - 500).

Property Description
Reservoir pressure Static reservoir pressure
Reservoir Reservoir temperature
temperature
IPR basis Basis for IPR calculation (liquid or gas)
Use Vogel below (Available for liquid-based IPR only) Uses a type-curve equation for
bubble point calculating the productivity above the bubble point, and the Vogel
relationship to calculate the IPR curve below the bubble point. If the
watercut exceeds 60%, using Vogel's equation is not recommended.
Reservoir thickness Average formation thickness.

Build physical models


94
PIPESIM User Guide

Property Description
Reservoir Average formation permeability. For a gas well, this is gas permeability. For
permeability an oil well, this is total liquid permeability.
Reservoir radius Radius of external boundary of drainage area. The default value is 2,000
feet.
Borehole diameter Diameter of the wellbore (drilled hole) outside of the casing and cement.
The default value is 6 inches.
Fracture half length The length of the fracture extending out in one direction from the wellbore,
which is half of the total fracture length.
Fracture The effective permeability to the primary fluid of the fracture proppant under
permeability reservoir conditions.
Fracture width Average width of the fractures in a hydraulically fractured reservoir.
Use transient model Select the Transient model check box to model a well when the well has
not reached pseudo-steady-state conditions. When selected, the following
properties appear:
Time
Time well has been producing
Porosity
Pore volume/bulk volume
Compressibility
Total compressibility of the reservoir

Related links:
Vertical completions overview (p.88)

Horizontal completions overview


PIPESIM* uses the reservoir inflow and wellbore pressure drop equations to calculate the
production rate along the well length. PIPESIM supports the following completion types:
• Single point (infinite conductivity)
• Distributed (finite conductivity)

Single point completions


For single point completions, inflow is assumed to occur at the heel of the well only (no pressure
drop is calculated along the horizontal completion). The following IPRs are available:
• Pseudo-steady-state (oil reservoirs)
• Pseudo-steady-state (gas reservoirs)
• Steady-state (oil reservoirs)
• Steady-state (gas reservoirs)

Build physical models


95
PIPESIM User Guide

Distributed completions
For distributed completions, the inflow performance is expressed as a Productivity Index (PI) per
unit length that can be assigned explicitly (Distributive PI) or calculated using the following
equations:
• Steady-state (oil reservoirs)
• Steady-state (gas reservoirs)
• Pseudo-steady-state (oil reservoirs)
• Pseudo-steady-state (gas reservoirs) productivity equations.
In this mode, PIPESIM calculates the pressure drop along the horizontal completion.
These equations take account of the effect of the vertical/horizontal permeability ratio, completion
skin, and reservoir thickness.

Related links:
Joshi (steady state) (p.96)
Distributed productivity index (PI) reservoir properties (p.99)
Babu and odeh (pseudo-steady state) (p.97)

Joshi (steady state)


This topic describes the reservoir data to enter when you use the Joshi equation for oil and gas
horizontal completions.
The following reservoir data in the table is shared for Distributed and Single point.

For more information, see Pseudo-Steady State Productivity (p.472).

Property Description
Reservoir pressure Static reservoir pressure

Build physical models


96
PIPESIM User Guide

Property Description
Reservoir temperature Reservoir temperature
IPR basis Basis for IPR calculation (liquid or gas)
Radius of reservoir extent External boundary radius of the drainage area
Reservoir thickness Reservoir thickness
Permeability perpendicular to well Permeability in the x-direction (perpendicular to the well)
Permeability parallel to well Permeability in the y-direction (parallel to the well)
Vertical permeability Permeability in the z-direction (Kv)
Well Radius Sandface radius (drilled-hole radius)
Well Eccentricity Offset of the well from the center of the pay zone

Note: These properties are only applicable to Joshi (Steady State) - Single point model.

Property Description
Productivity Index Computed single point PI values from the data supplied
Horizontal section Effective length of the horizontal completion
length
Fluid OFVF or Gas Z Option changes based on selected IPR basis. For liquids, the Fluid OFVF
(Oil Formation Volume Factor value) field appears. For gas, the Gas Z
field appears.

Note: This fluid property will replace the values defined in the fluid model
for the completion calculations only.

Fluid viscosity Fluid viscosity.

Note: This fluid property will replace the values defined in the fluid model
for the completion calculations only.

Related links:
Horizontal completions overview (p.95)

Babu and odeh (pseudo-steady state)


This topic describes the reservoir data to enter when you use the Babu and Odeh equation for oil
and gas horizontal completions.
The following reservoir data in the table is shared for Distributed and Single point.
For more information, see Pseudo-Steady State Productivity (p.472).

Build physical models


97
PIPESIM User Guide

Property Description
Reservoir pressure static reservoir pressure
Reservoir temperature Reservoir temperature
IPR basis Basis for IPR calculation (liquid or gas)
Reservoir X dim Drainage width perpendicular to the well
Reservoir Y dim Drainage width parallel to the well
Reservoir thickness Reservoir thickness
Permeability X (perpendicular to well) Permeability in the x-direction (perpendicular to the well)
Permeability Y (parallel to well) Permeability in the y-direction (parallel to the well)

Build physical models


98
PIPESIM User Guide

Property Description
Permeability Z (Vertical) Permeability in the z-direction (vertical permeability)
Heel location (X position) x coordinate of the horizontal well trajectory
Heel location (Y position) y coordinate of the horizontal well trajectory
Heel location (Z position) z coordinate of the horizontal well trajectory
Horizontal section length Effective length of the horizontal completion.
Well Radius Sandface radius (drilled-hole radius).

Note: These properties are only applicable to Babu and Odeh (Pseudo-Steady State) - Single
point model.

Property Description
Productivity Index Computes the single point PI values from the data supplied
Fluid OFVF or Gas Optional changes based on selected IPR basis. For liquids, the Fluid OFVF
Z (Oil Formation Volume Factor value) field appears. For gas, the Gas Z
(compressibility factor) field appears.

Note: This fluid property will replace the volumes defined in the fluid model
for the completion calculations only.

Fluid viscosity Fluid viscosity.

Note: This fluid property will replace the volumes defined in the fluid model
for the completion calculations only.

Related links:
Horizontal completions overview (p.95)

Distributed productivity index (PI) reservoir properties


This topic describes the reservoir data to enter when you use the Distributed PI for oil and gas
horizontal completions.

Note: Distributed PI is the flowrate divided by drawdown divided by the unit wellbore length.

Property Description
Reservoir pressure Static reservoir pressure
Reservoir temperature Reservoir temperature
IPR basis Basis for IPR calculation (liquid or gas)

Build physical models


99
PIPESIM User Guide

Property Description
Productivity Index Distributed Productivity Index

Related links:
Horizontal completions overview (p.95)

Define the skin


The Skin tab is used to specify the completion properties used to calculate the skin factor. It can
be negative (enhanced inflow) or positive (reduced inflow).
In certain cases, especially the low permeability reservoir, well stimulation jobs like matrix
acidizing, hydraulic fracturing, etc may improve the near wellbore flow performance. Skin is
therefore the measure of damage/improvement from the original behavior and can have a positive
or negative value.
• A positive skin indicates damage to the near wellbore region.
• A negative skin indicates improved near wellbore flow performance.
• A zero skin indicates no damage or improvement.
Sometimes, especially in high-rate gas wells, another skin term is introduced due to turbulence
known as rate dependent skin.
These two terms are added to get the overall skin factor. For example, if the rate is 20 mmscf/d,
the constant skin is 3, and the rate dependent skin is 0.1/mmscf/d, then the total skin is 5. Both
mechanical and rate dependent skin terms can be entered or calculated. Horizontal completion has
only one skin type.
You can model skin for both vertical and horizontal wells when appropriate IPR models and
completion methods are selected. The skin option is available only for the models shown in the
table.

Geometry Profile Fluid Entry IPR Model


Vertical Single Point Darcy (gas, liquid)
Horizontal Single Point Joshi (liquid, gas)
Babu & Odeh (liquid, gas)
Distributed Joshi (liquid, gas)
Babu & Odeh (liquid, gas)

When the appropriate IPR model is selected, the Skin tab appears under property for the selected
completion.
1. Click the Skin tab.
You will notice applicable skin terms depending on geometry profile of the well.
• Horizontal geometry profile has a single term called Skin.
• Vertical geometry profile has a Mechanical skin term and a rate-dependent skin term.
2. Click Specify (to enter a value) or Calculate (to have PIPESIM* calculate the values).

Build physical models


100
PIPESIM User Guide

• If you selected Specify for the Mechanical skin or Rate dependent skin, enter the value.
• If you selected Calculate, complete the remaining steps.

Note: When the Calculate option is selected for any of the skin terms for vertical geometry profile
(mechanical or rate dependent terms) or horizontal geometry profile (a single skin term), you will
need to select an appropriate Completion method to display various skin component associated
with it.

3. Select the appropriate Completion method that is available depending on well geometry and
interval type.

Geometry Profile Interval type Completion method


Vertical Cased hole • Perforated
• Perforated and gravel packed
• Frac packed
Open hole • Open hole
• Open hole gravel packed
Horizontal Cased hole • Perforated
• Perforated and gravel packed
Open hole • Open hole
• Open hole gravel packed
4. Enter the required data for skin components exposed for the selected geometry profile and
interval type.

Related links:
Skin compacted/crushed zone properties
Darcy's skin properties - openhole (p.105)
Darcy's skin properties - openhole gravel packed (p.107)
Darcy's skin properties - perforated (p.109)
Darcy's skin properties - perforated and gravel packed (p.109)
Darcy's skin properties - frac packed (p.113)
Joshi/babu and odeh skin properties - perforated (p.105)
Joshi/babu and odeh skin properties - perforated and gravel packed (p.105)
Joshi/babu and odeh skin properties - openhole (p.119)
Joshi/babu and odeh skin properties - openhole gravel packed (p.107)

Skin components
The total skin is calculated by summing contributions from different components. The Skin factor
can be either negative (enhanced inflow) or positive (reduced inflow).

Build physical models


101
PIPESIM User Guide

The components comprising the skin factor depend on the completion type selected. The following
tables display skin components associated with various completion methods for horizontal and
vertical geometry profiles

Type Description
Openhole The skin factor calculation assumes the well is not cemented (no casing or
liner set across the reservoir formation). Openhole completions allow
produced fluids to flow directly into the wellbore.
Completion
vertical permeability, deviation
Damaged zone
diameter, permeability
Openhole Gravel Completion
Pack vertical permeability, deviation
Damaged zone
diameter, permeability
Perforated The skin factor calculation uses the McLeod or Karakas/Tariq model.
Completion
vertical permeability, deviation
Damaged zone
diameter, permeability
Compacted zone
diameter, permeability
Perforated with Completion
Gravel Pack vertical permeability, deviation
Damaged zone
diameter, permeability
Compacted zone
diameter, permeability
Frac Pack (a gravel Completion
packed hydraulic vertical permeability, deviation
fracture model)
Fracture
half length, width, proppant permeability
Fracture face skin and choke fracture skin options are available.

For more information, see Vertical Well Skin Factor (p.451), Gravel Pack Skin (p.456), Perforated
Well Skin (p.457), and Frac Pack Skin (p.461).

Build physical models


102
PIPESIM User Guide

Related links:
Vertical Well Skin Factor (p.451)
Vertical completion skin table (p.103)
Horizontal completion skin table (p.104)
Partial penetration skin (p.455)

Vertical completion skin table


A vertical completion might be comprised of any of the following completion models. Based on the
information that you entered, skin components appropriate to each completion model are
calculated.

Completion Model Damaged Partial Gravel Perforated Compacted Frac


Model Assumptions Zone Penetration / Pack Skin Zone Skin Pack
Skin Deviation Skin Skin
Skin
Openhole The well is not X X
(p.105) lined or
cemented.
Openhole The wellbore X X X
Gravel Pack is openhole
(p.107) and has a
gravel pack.
Perforated The well is X X X X
(p.109) lined or
cemented and
is perforated.
Gravel The well is X X X X X
Packed and lined or
Perforated cemented, is
(p.109) perforated,
and has a
gravel pack.
Frac Pack The well is X X X X
(p.113) lined or
cemented, is
perforated,
and has been
fractured.

Based on the completion type, data is passed to the engines to calculate the IPR during simulation.

Related links:
Vertical Well Skin Factor (p.451)

Build physical models


103
PIPESIM User Guide

Horizontal completion skin table


A horizontal completion can use any of the following completion models. Based on the information
that you entered, skin components appropriate to each completion model are calculated.

Completion Model Assumptions Damaged Gravel Perforated Compacted


Model Zone Skin Packed Skin Zone Skin
Skin
Open hole The well is not lined or X
(p.119) cemented.
Openhole The wellbore is openhole X X
Gravel Pack and has a gravel pack.
(p.107)
Perforated The well is lined or X X X
(p.105) cemented and is
perforated.
Gravel Packed The well is lined or X X X X
and Perforated cemented, is perforated
(p.105) and has a gravel pack

Based on the completion type, data is passed to the engines to calculate the IPR during simulation.

Related links:
Inflow Performance Relationships for Horizontal Completions (p.464)

Skin options properties


The skin value has two components, a mechanical (constant) term and a rate dependent term. (For
example, if the rate is 20 mmscf/d, the constant skin is 3, and the rate dependent skin is 0.1/
mmscf/d, then the total skin is 5). Both mechanical and rate dependent skin terms can be entered
or calculated.

Property Description
Mechanical Used to represent friction terms arising from any departure from this idealized
skin model.
Specify
Enter the dimensionless constant skin factor.
Calculate
Model the completion and computes the skin factor using completion
options. If the skin is computed, sensitivity cannot be performed directly on
the skin value; however, sensitivities can be performed on any completion
description parameter (such as shots per foot or perforation depth).
Rate Flowrate dependent.
dependent skin Specify
Enter the dimensionless rate dependent skin factor.

Build physical models


104
PIPESIM User Guide

Property Description
Calculate
Calculate the rate dependent skin terms for all the components specified in
the completion options description.

Related links:
Vertical Well Skin Factor (p.451)

Skin options properties - horizontal distributed


The skin terms can be entered or calculated.

Property Description
Skin Used to represent friction terms arising from any departure from this idealized model.
Specify
Enter the dimensionless constant skin factor.
Calculate
Model the completion and computes the skin factor using completion options. If
the skin is computed, sensitivity cannot be performed directly on the skin value;
however, sensitivities can be performed on any completion description parameter
(such as shots per foot or perforation depth).

Related links:
Inflow Performance Relationships for Horizontal Completions (p.464)

Darcy's skin properties - openhole


This skin models geometric effects, such as partial penetration of the reservoir layer and deviation
of the well from vertical. If the open interval is equal to the reservoir thickness and the well is
vertical (0 degrees deviation), then the partial penetration/deviation skin will be zero. Also, this skin
factor component considers the effect of reduced (or improved) permeability in a zone around the
well. The diameter and permeability of the damaged zone must be supplied, otherwise the default
values (wellbore diameter and the formation permeability) will be used, and the damaged zone skin
will be zero.

Build physical models


105
PIPESIM User Guide

Property Description
PARTIAL PENETRATION
Length of interval open to flow Open interval or perforated interval of the completion
Vertical permeability Vertical permeability of the completion
Well deviation Deviation from vertical, in degrees
DAMAGED ZONE
Permeability Permeability of the damaged zone around the wellbore
Diameter Diameter of the damaged zone around the wellbore

Build physical models


106
PIPESIM User Guide

Related links:
Vertical Well Skin Factor (p.451)

Darcy's skin properties - openhole gravel packed


This skin models geometric effects, such as partial penetration of the reservoir layer and deviation
of the well from vertical. If the open interval is equal to the reservoir thickness and the well is
vertical (0 degrees deviation), then the partial penetration/deviation skin will be zero. Also, this skin
factor component considers the effect of reduced (or improved) permeability in a zone around the
well. The diameter and permeability of the damaged zone must be supplied, otherwise the default
values (wellbore diameter and the formation permeability) will be used, and the damaged zone skin
will be zero. The effect of a gravel pack in the wellbore, between a screen and the reservoir.
PIPESIM* explicitly calculates the pressure drop contribution across the gravel pack.

Build physical models


107
PIPESIM User Guide

Property Description
PARTIAL PENETRATION
Length of interval open to flow The length of the reservoir in contact with the well through which
fluids are able to flow into the well.
Vertical permeability Vertical permeability of the completion.
Well deviation Deviation from vertical, in degrees.
DAMAGED ZONE
Permeability Permeability of the damaged zone around the wellbore.
Diameter Diameter of the damaged zone around the wellbore.

Build physical models


108
PIPESIM User Guide

Property Description
GRAVEL PACK
Permeability Permeability of the gravel pack.
Screen diameter Average screen diameter of the gravel pack used.

Related links:
Vertical Well Skin Factor (p.451)

Darcy's skin properties - perforated


This skin models the effects of perforations. A compacted zone around the perforations is included.
The rubblized or damaged zone surrounding a perforation tunnel where the action of the
perforating charge has altered the formation structure and permeability. The severity or extent of
the crushed zone depends on the characteristics of the formation, the perforating charge and the
underbalance or overbalance conditions at time of perforating. This skin models geometric effects,
such as partial penetration of the reservoir layer and deviation of the well from vertical. If the open
interval is equal to the reservoir thickness and the well is vertical (0 degrees deviation), then the
partial penetration/deviation skin will be zero. Also, this skin factor component considers the effect
of reduced (or improved) permeability in a zone around the well. The diameter and permeability of
the damaged zone must be supplied, otherwise the default values (wellbore diameter and the
formation permeability) will be used, and the damaged zone skin will be zero. PIPESIM* explicitly
calculates the pressure drop contribution across the gravel pack.

Build physical models


109
PIPESIM User Guide

Property Description
PERFORATION
Skin method Available methods are:
• McLeod
• Karakas/Tariq
Perforation density Number of perforations per unit length.
Diameter Diameter of the perforation into the formation.
Length/Depth Length or Depth of the perforation into the formation.
Phase angle The angle of the completion.

Build physical models


110
PIPESIM User Guide

Property Description

Note: This option is only available if Karakas/Tariq option is


selected.

COMPACTED/CRUSHED
ZONE
Permeability Permeability of the compacted zone (or crushed zone) around
the perforation.
Diameter Diameter of the compacted zone (or crushed zone) around the
perforation.
PARTIAL PENETRATION
Length of perforated interval Open interval or perforated interval of the completion.
Vertical permeability Vertical permeability of the completion.
Well deviation Deviation from vertical, in degrees.
DAMAGED ZONE
Permeability Permeability of the damaged zone around the wellbore.
Diameter Diameter of the damaged zone around the wellbore.

For more information, see Perforated Well Skin (p.457).

Related links:
Vertical Well Skin Factor (p.451)

Darcy's skin properties - perforated and gravel packed


This skin models the effects of perforations. A compacted zone around the perforations is included.
The rubblized or damaged zone surrounding a perforation tunnel where the action of the
perforating charge has altered the formation structure and permeability. The severity or extent of
the crushed zone depends on the characteristics of the formation, the perforating charge and the
underbalance or overbalance conditions at time of perforating. This skin models geometric effects,
such as partial penetration of the reservoir layer and deviation of the well from vertical. If the open
interval is equal to the reservoir thickness and the well is vertical (0 degrees deviation), then the
partial penetration/deviation skin will be zero. Also, this skin factor component considers the effect
of reduced (or improved) permeability in a zone around the well. The diameter and permeability of
the damaged zone must be supplied, otherwise the default values (wellbore diameter and the
formation permeability) will be used, and the damaged zone skin will be zero. The effect of a gravel
pack in the wellbore, between a screen and the reservoir. PIPESIM* explicitly calculates the
pressure drop contribution across the gravel pack.

Build physical models


111
PIPESIM User Guide

Property Description
PERFORATION
Skin method Available methods are:
• McLeod
• Karakas/Tariq
Perforation density Perforation shot density.
Diameter Diameter of the perforation into the formation.
Length/Depth Length or Depth of the perforation into the formation.
Phase angle The angle of the completion.

Build physical models


112
PIPESIM User Guide

Property Description

Note: This option is only available if Karakas/Tariq option is


selected.

COMPACTED/CRUSHED
ZONE
Permeability Permeability of the compacted zone (or crushed zone) around the
perforation.
Diameter Diameter of the compacted zone (or crushed zone) around the
perforation.
PARTIAL PENETRATION
Length of perforated interval Open interval or perforated interval of the completion.
Vertical permeability Vertical permeability of the completion.
Well deviation Deviation from vertical, in degrees.
DAMAGED ZONE
Permeability Permeability of the damaged zone around the wellbore.
Diameter Diameter of the damaged zone around the wellbore.
GRAVEL PACK
Permeability Permeability of the gravel pack.
Screen diameter Average screen diameter of the gravel pack used.
Tunnel length Length of the tunnel. This value is usually the sum of the
thickness of cement, casing, and annulus.
Casing ID Inside diameter of the casing string which is gravel packed. This
value is taken automatically from the Tubulars tab.

For more information, see Perforated Well Skin (p.457).

Related links:
Vertical Well Skin Factor (p.451)

Darcy's skin properties - frac packed


A hydraulic fracture is characterized by its length, conductivity, and related equivalent skin effect.
The Frac Pack skin is calculated only in association with a cased hole gravel pack. If the gravel
pack is not defined, the Frac Pack Skin is 0.

Build physical models


113
PIPESIM User Guide

Property Description
Perforation density Perforation shot density.
Diameter Diameter of the perforation into the formation.
Length of perforated Open interval or perforated interval of the completion.
interval
Vertical permeability Vertical permeability of the completion.
Well deviation Deviation from vertical, in degrees.
Permeability Permeability of the gravel pack.
Screen diameter Average screen diameter of the gravel pack used.

Build physical models


114
PIPESIM User Guide

Property Description
Tunnel length Length of the tunnel. This value is usually the sum of the thickness of
cement, casing, and annulus.
Casing ID Inside diameter of the casing string which is gravel packed. This value is
taken automatically from the Tubulars tab.
Fracture A hydraulic fracture in the rock next to the wellbore
Half length (fracture) Length of the fracture extending out in one direction from the wellbore, or
half the total fracture length
Width (fracture) Average fracture width
Proppant permeability Effective permeability of the propped fracture
(fracture)
Choke Damage at the connection between the fracture and a well.
A choke fracture skin represents the choking effect caused by near
wellbore narrowing of the fracture due to tortuosity or other effects.
Check to include this component.
Permeability (choke) Permeability of frac choke
Length (choke) Length of damage at the connection between the fracture and a well is
referred to as a choke length.
Damage zone Damage left on the fracture face during the fracturing treatment,
expressed as a skin effect. Check to include skin associated with frac
face damage and specify required data.
Permeability (damage Permeability of the damaged zone around the wellbore. The default
zone) value is the formation permeability.
Thickness (Damage Depth of damage (normal to the fracture face). It is generally very thin
zone) (0.2 ft or less).

Related links:
Vertical Well Skin Factor (p.451)

Joshi/babu and odeh skin properties - perforated


This skin models the effects of perforations. A compacted zone around the perforations is included.
The Joshi (Steady State) and Babu and Odeh IPR models have the same parameters.

Build physical models


115
PIPESIM User Guide

Property Description
PERFORATION
Perforation density Perforation shot density.
Diameter Diameter of the perforation into the formation.
Length Length of the perforation into the formation.
COMPACTED/CRUSHED
ZONE
Permeability Permeability of the compacted zone (or crushed zone) around
the perforation.

Build physical models


116
PIPESIM User Guide

Property Description
Diameter Diameter of the compacted zone (or crushed zone) around the
perforation.
DAMAGED ZONE
Permeability Permeability of the damaged zone around the wellbore.
Diameter Diameter of the damaged zone around the wellbore.

Related links:
Inflow Performance Relationships for Horizontal Completions (p.464)

Joshi/babu and odeh skin properties - perforated and gravel packed


This skin models the effects of perforations. A compacted zone around the perforations is included.
The rubblized or damaged zone surrounding a perforation tunnel where the action of the
perforating charge has altered the formation structure and permeability. The severity or extent of
the crushed zone depends on the characteristics of the formation, the perforating charge and the
underbalance or overbalance conditions at time of perforating. This skin models geometric effects,
such as partial penetration of the reservoir layer and deviation of the well from vertical.
The Joshi (Steady State) and Babu and Odeh IPR models have the same parameters.

Build physical models


117
PIPESIM User Guide

Property Description
PERFORATION
Perforation density Perforation shot density.
Diameter Diameter of the perforation into the formation.
Length Length of the perforation into the formation.
COMPACTED/CRUSHED
ZONE
Permeability Permeability of the compacted zone (or crushed zone) around the
perforation.

Build physical models


118
PIPESIM User Guide

Property Description
Diameter Diameter of the compacted zone (or crushed zone) around the
perforation.
DAMAGED ZONE
Permeability Permeability of the damaged zone around the wellbore.
Diameter Diameter of the damaged zone around the wellbore.
GRAVEL PACK
Permeability Permeability of the gravel pack.
Tunnel length Length of the tunnel. This value is usually the sum of the
thickness of cement, casing, and annulus.

Related links:
Inflow Performance Relationships for Horizontal Completions (p.464)

Joshi/babu and odeh skin properties - openhole


The diameter and permeability of the damaged zone must be supplied, otherwise the default
values (wellbore diameter and the formation permeability) will be used, and the damaged zone skin
will be zero. The effect of a gravel pack in the wellbore, between a screen and the reservoir.
PIPESIM* explicitly calculates the pressure drop contribution across the gravel pack.

Build physical models


119
PIPESIM User Guide

Property Description
DAMAGED ZONE
Permeability Permeability of the damaged zone around the wellbore.
Diameter Diameter of the damaged zone around the wellbore.

Related links:
Inflow Performance Relationships for Horizontal Completions (p.464)

Build physical models


120
PIPESIM User Guide

Joshi/babu and odeh skin properties - openhole gravel packed


The diameter and permeability of the damaged zone must be supplied, otherwise the default
values (wellbore diameter and the formation permeability) will be used, and the damaged zone skin
will be zero. The effect of a gravel pack in the wellbore, between a screen and the reservoir.
PIPESIM* explicitly calculates the pressure drop contribution across the gravel pack.

Property Description
DAMAGED ZONE
Permeability Permeability of the damaged zone around the wellbore.
Diameter Diameter of the damaged zone around the wellbore.
GRAVEL PACK

Build physical models


121
PIPESIM User Guide

Property Description
Permeability Permeability of the gravel pack.

Related links:
Inflow Performance Relationships for Horizontal Completions (p.464)

Multi-rate well test data


In addition to the standard IPR equations, test data can be utilized so that the inflow can be
matched to actual measured data. A minimum of three data points is required. Two types of multi-
rate test are available:
Multipoint (default)
A flow-after-flow test sequence. Static pressure is taken as a constant throughout the test
period. The flowrate (Q) and corresponding flowing bottom hole pressure (Pwf) are
required. These are entered into the spreadsheet.
Isochronal
This type of test is normally performed in reservoirs with low permeability where the time
taken to reach stabilized flow conditions is unacceptably long (such as low permeability
sands). Isochronal testing is performed by periods of flowing followed by shutting-in of a
well (normally with increasing rate). The wellbore flowing pressure is recorded during each
flow period at a specific time (for example if the time is 4 hours, then the test is referred to
as a 4-hour isochronal test). Due to the long stabilization time normally associated with the
isochronal test, reservoir conditions need not return to the original static pressure. Hence a
different static reservoir pressure is recorded. The flowrate (Q), flowing bottom hole
pressure (Pwf) and static reservoir pressure (Pws) are required. These are entered into
the spreadsheet.
Once the test data has been entered, the IPR constants (for example PI, A and B, C and n, and so
on) will be computed and displayed.

Related links:
IPR options and applicability table (p.88)
Well productivity index (PI) reservoir properties (p.90)
Vogel's reservoir properties (p.90)
Fetkovich's reservoir properties (p.91)
Jones' reservoir properties (p.91)
Backpressure's reservoir properties (p.92)
Forchheimer's equation (p.93)

Multilayer completions
A multilayer reservoir model is easy to construct in PIPESIM by adding multiple layers to the
wellbore and specifying necessary data and inflow performance for each layer. These layers may

Build physical models


122
PIPESIM User Guide

be connected to the same reservoir drawing same fluid with or without variation in phase ratios or
may be connected to separate reservoirs drawing different fluids. Constructing a multilayer well in
PIPESIM requires all these layers connected to the well and configured in such a way that a single
flow path is maintained and the fluids are commingled. Specific validation in PIPESIM will ensure
that single flow path is maintained in a multilayer well.

Figure 1: Valid well with a linear flowpath and point connection at each intermediate layer and
commingled fluids.
Figure 2: Invalid well as top layer follows a separate flowpath; fluids are not comingled.
If the fluids from different layers are not commingled, the individual layers should be treated as part
of separate wells and be modeled as a network with the two wells connected at a common junction
representing the wellhead.
There is no limit to the number of layers/reservoirs that can be added in a well can be added to the
model. These layers can be either vertical completions, horizontal completions or a combination
and the flow path is controlled using downhole tools like packers, sliding sleeves and/or tubing
plugs.

Layers
A completion represents each layer. Each layer is independent with respect to the layer properties,
Inflow Performance Relationship (IPR) and fluid model and are treated as separate source/
boundary for operations like Nodal Analysis and Network Simulation.

Build physical models


123
PIPESIM User Guide

Note: Typical single branch operations like PT Profile and System Analysis treat the bottommost
layer as the inlet boundary for the well.

Crossflow
PIPESIM can model both Production and Injection wells. In a typical production well, all the layers
are intended to contribute fluid into the wellbore and the commingled fluid is expected to flow
upward in the wellbore towards the wellhead. On the other hand, a typical injection well expects
injected fluid coming from the wellhead to flow downward with each layer receiving part of the
injected fluid.

Figure 3: Crossflow scenarios indicating cases that can be modeled using PIPESIM as Valid
cases.
However, the exact flow profile depends on the wellbore hydraulics and therefore crossflow may
exist in one of more layers. As shown above in Figure 3 (cases a, b, d and e), PIPESIM allows
crossflow as long as intended flow path in the wellbore (upward for a Production well and
downward for an Injection well) in all sections of wellbore. Cases c) and f) are in breach of intended
flow path in the wellbore and cannot be modeled.

Build physical models


124
PIPESIM User Guide

For more information, see Associating Zones with Completions (p.125).

Inlet pressures
When you run a simulation, you must explicitly specify the pressures for each layer.

Note:
• You cannot rate-specify multi-layer completions for network simulations.
• You cannot specify rates for individual completions.

Nodal analysis and Network simulation expose the boundary conditions for each completion.
However, PT profile and System analysis expose only the inlet pressure (lower-most completion).
For Network simulation, PT profile, and System analysis, when PIPESIM calculates the inlet
pressure, the lower-most completion inlet pressure is calculated while maintaining the same
relative pressure differential as specified in the model for the upper completions.

Related links:
Add completions (p.86)

Associate zones with completions


Associating zones is optional; however, it is useful for aggregating reservoir and fluid properties
shared by completions across a large number of wells that draw fluid from a common zone.
1. Select the Use zones check box.
The Zones table appears below the check box.
2. In the row below the headings, click New (+).
3. In the Zone column, select the zone name from the dropdown list. If the zone name does not
appear in the list, use the Zone manager on the Home tab to create it.

Note: To change the values for pressure, temperature, and fluid, use the zone manager on the
Home tab.

4. Enter the depth of the well that intersects zone depth information.
Top MD
Measured depth of the well where the top intersects the zone
Bottom MD
Measured depth of the well where the bottom intersects the zone
5. Ensure the selected zone displays remaining data: pressure, temperature and a fluid model
mapped to the zone.

Note: To add/edit the values for Pressure, Temperature, and Fluid, use the Zone manager on
the Home tab.

Build physical models


125
PIPESIM User Guide

6. Repeat the previous steps to add more zones.


7. To remove a zone from a completion, click the row number of the zone that you want to delete
and press DELETE.

Note: To remove all zones from the Completions tab, clear the Use zones check box. The Zones
section is no longer visible.

Related links:
Add completions (p.86)
Manage zones (p.375)

2.1.7 Add surface equipment using the well editor


When working with individual wells in Well-Centric Mode, you can add surface equipment on the
Surface equipment tab in the Well editor.

Note: To add subsurface equipment, use the Downhole equipment tab in the Well editor.

1. On the Surface equipment tab, select an equipment object from available internal node
objects.
2. Move the cursor to the schematic area of the surface equipment tab to a location where you
want to place the equipment.
The cursor will show the selected equipment with an add (+) sign over it.
3. Click the Add equipment arrow pointing to the right to place the equipment.
The equipment appears in the preview pane at the top.
4. To add a connection between the well and an equipment object or between 2 equipment
objects:
• Select one of the connections (connector, flowline or riser) and move to the schematic area.
The cursor will show a connection symbol and a sign (right or wrong) indicating validity of
the connection.
• Move the cursor to the first equipment object (with a connection port available) that you want
to connect and click. One end of the connector gets connected to the first equipment. The
cursor still shows the connection symbol.
• Click on the second equipment object (with a connection port available) that you want to
connect.
5. Repeat the steps above to add multiple equipment objects and connect them together.

Note: In the well-centric mode, well and surface equipment connections strictly maintain a linear
flow path by restricting every internal node object to two connection ports (inlet and outlet) only.

Build physical models


126
PIPESIM User Guide

Additional ports for multi-outlet ports equipments such as 2-phase and 3-phase separators are
ignored.

Not all the equipment and connections added above form part of the well's surface equipment. The
end (or start in case of an injection well) of the well branch is controlled by the well stream outlet
(or inlet for an injection well), which by default is at the wellhead. However, you can set any of the
above equipment or connection as a well stream outlet (or inlet for an injection well).
6. Define the properties for the equipments and connections added:
a. Select any equipment or connection on the surface equipment schematic (or from the list of
surface equipment objects and connections displayed at the top of well or from the property
pane schematic)
The property pane for the selected equipment or connection appears under the surface
equipment schematic.
b. Complete the required data for the selected equipment or connection.
c. Repeat this step for all equipment objects and connections.

Note: If you click the well instead of a surface equipment or connection, it will show the property
editor for the wellstream outlet (or inlet for an injection well) under the surface equipment
schematic.
See Configure wellstream outlet or inlet conditions (p.188) for more detail on these.

Related links:
Choke properties (p.62)
Compressor properties (p.141)
Expander properties (p.143)
Flowline - simple model properties (p.144)
Generic equipment properties (p.153)
Generic pump properties (p.155)
Heat exchanger properties (p.157)
Injection point properties (p.158)
Source and junctions properties (p.184)
Multiphase booster properties
Multiplier/adder properties (p.173)
Riser - simple model properties (p.174)
Three phase separator (p.181)
Two phase separator (p.183)
Configure wellstream outlet or inlet conditions (p.188)
View surface equipment properties (p.191)

Build physical models


127
PIPESIM User Guide

2.1.8 Work with well tabs and ribbons


Use the well-centric mode or the Well editor to configure all properties for a well. The Well
tools context tab appears when a well-centric model is open. The well core tabs group related
features together within the Ribbon. The core tabs are Home, Insert, and Format.

Well Core Tabs

Tab Description
Workspace A common tab that appears in both Well-centric mode or Network-centric mode
where you can access high level controls (for example, open, close, save, etc.). You
can also access various Help resources.
Home Select well tasks (for example, selecting well-centric or single branch tasks) and
views, and access the well selector, manage Data (Catalogs, flowline, fluid and/or
zone), select Fluid mode, access to simulation settings, or configure layout options
including switching between well-centric and network-centric modes.
Insert By default, the Insert tab groups tubular, downhole equipment and artificial
equipment for inserting these and creating a well interactively on Well schematic.
However, the content of the tab changes to display surface equipment when you are
in Surface equipment tab of the well editor.
Format View the wellbore in 1D or 2D style and control the sectional view of the wellbore;
show or hide wellbore flow paths, schematic labels, and depth references. You can
also print, preview, or save the well as a template.

Well Insert Tab

Ribbon group Description


Tubulars Add tubing and casing to a wellbore schematic.
Downhole equipment Access the necessary equipment required to build a new wellbore
schematic.
Auxiliary Add a nodal point to the well.
Artificial lift Add a method to raise, or lift, fluid from a well.

Related links:
Create or edit a well model (p.50)

2.1.9 Interactive wellbore schematic


The Wellbore schematic, located in the Well editor, displays the well components - tubular,
downhole equipment and artificial lift equipment in a schematic view.
• Well geometry display : You can view a well in 1D (linear mode appropriate for a vertical well)
or 2D mode (to display well deviation from vertical to properly display a deviated well.

Build physical models


128
PIPESIM User Guide

• High resolution sectional display: You can visualize a well as built in various high resolution
sectional views.

Figure 2.1. Full sectional 2D view (left) and quarter sectional 1D view (right)
• Interactive Well Building: With drag and drop support, you can build the entire well (tubular,
downhole equipment including completions and artificial lift equipment). This is a quick and
easy way of building the well visually and interactively. You can right click any object to delete.
• Flow path indication: One of the significant features that allows you to visualize and model
simple to complex flow paths in the wellbore. The schematic visually indicates a valid flow path
(green) or an invalid flow path (red). An invalid flow path cannot be simulated.

Build physical models


129
PIPESIM User Guide

Figure 2.2. Valid flow path (left) and invalid flow path (right)
• Interaction with well editor tabs: You can select any object (tubular, downhole equipments,
artificial lift equipments) on the Well schematic to open property editors for the selected object.
• Data sync between a Well Schematic and the Well Editor tabs: All relevant data (name, status,
location, etc.) are synchronized between the well schematic and well editor tabs. Any object
added to/deleted from a well schematic gets updated to the well editor tab and vice versa.
• Surface equipment display: If a well has attached surface equipment objects (flowline, pump,
etc), they get listed at the top of well schematic. You can click any of the objects on the surface
equipment list to get to the property editor of selected surface equipment.

Build physical models


130
PIPESIM User Guide

Figure 2.3. Surface equipment listed on the well schematic


• Depth reference display: Locations of all equipment displayed on well schematic are referenced
to a reference depth that you set. However, the positioning of wellbore equipments are off scale
for better visualization. You can show/hide depth the reference display.
• Object label display: All equipment objects displayed on a well schematic also display the name
of the equipment that you set under the well editor tabs. You can move the position of
equipment labels (up/down) or show/hide the object labels for a cleaner display.

Related links:
Create or edit a well model (p.50)

2.2 Create or edit a network model


A network model is a diagrammatic representation of the pipeline network, showing all the nodes
and the connections between them. The model is displayed as a diagram on the Network viewer
tab. Each node or connection added to the network diagram also appears in the Inputs pane.
1. Perform one of the following actions:
• To create a new network model, on the Workspace tab in the Network group, click New.
• To edit a network model, on the Workspace tab in the Network group, click Existing.
• To edit a network model, on the Workspace tab in the Recent workspaces group, click an
existing model name.
2. Select units.
3. Add wells and/or sources.
4. Add pipeline components and field equipment.
5. Create a meaningful title, and then click Save. The default title for new and imported models is
New workspace.pips.
Each network model is stored in a single input file. (It is not necessary to store each model in a
separate directory.) The models are stored in binary data files with the .pips extension.

Related links:
Navigate in the network diagram (p.132)
Units (p.7)

Build physical models


131
PIPESIM User Guide

Add wells (p.134)


Add sources and sinks (p.136)
Add sources and sinks (p.136)
Create a network model from a GIS shapefile automatically (p.50)
Add connections (p.193)
Improve network simulation performance (p.255)

2.2.1 Navigate in the network diagram


You can specify the viewable area of your network diagram by
• Panning and zooming to an area
• Centering the network around an object
You can change the appearance of the labels for objects on the network diagram by changing
display properties such as nodes labels and connections. You can also display flow and profile
direction. You can print the model from the network diagram.

Related links:
Pan and zoom in the network diagram (p.132)
Bring objects into view (p.133)
Change the model display properties (p.133)
Print the model from the network diagram (p.134)

Pan and zoom in the network diagram


There are several ways to move from one area to another on the network diagram and to change
the viewing area.
1. To open the network diagram for a well or network, on the Home tab, in the Viewers group,
click Network.
2. To change the zoom level incrementally, on the Format tab, in the Zoom group, click Zoom in
or Zoom out.
3. To zoom to an area of the network, on the Format tab, in the Zoom group, click Zoom area,
left-click a start point on the network diagram, and drag the box to encompass the area that you
want.
4. To zoom into the smallest area that will show all your defined objects, on the Format tab, in the
Zoom group, click Zoom to fit.
Both Zoom area and Zoom to fit are actions that allow you to navigate very quickly to specific
areas of the model.
Tip: Select F4 to zoom to fit.
5. To pan across the network diagram, press CTRL, left-click the network diagram, and drag
across the network.

Build physical models


132
PIPESIM User Guide

6. To use the Overview inset window to adjust the center of the map view, perform the
following actions:
a. On the Format tab, in the Show/hide group, select Overview.
The Overview inset window displays in the upper-right corner of the network diagram. A
box marks the area of the network diagram that you are viewing.
b. In the Overview inset window, left-click the mouse button and drag across the network
diagram before releasing.
A blue box marks the area of the network diagram that you selected. The map is re-centered
at that location.
c. To close the inset window: On the Format tab, in the Show/hide group, clear the Overview
check box.

Related links:
Navigate in the network diagram (p.132)

Bring objects into view


Selecting from the list of equipment for your model in the Inputs pane can change the view.
1. On the Home tab, in the Application options group, click a Layout that displays the Inputs
pane.
2. Select an object in the Inputs pane.
If the object was not already in view, the network diagram pans so that the view of the model is
centered at the selected object.

Related links:
Navigate in the network diagram (p.132)

Change the model display properties


You can change the appearance of the labels for objects on the network diagram by changing
display properties such as nodes labels and connections. You can also display flow and profile
direction.
1. To open the network diagram for a well or network, on the Home tab, in the Viewers group,
click Network.
2. On the Home tab, in the Show/hide group, select the properties you want displayed for the
objects in your model.

Label or action Description


Flow direction Select or clear this check box to show or hide flow direction labels.
Annotations Select or clear this check box to show or hide annotation labels, and then click
which annotations you want for the objects in your model.
Hide results Hide flow direction and annotation labels.

Build physical models


133
PIPESIM User Guide

3. On the Format tab, in the Show/hide group, select the properties you want displayed for
labels.

Label Description
Node labels Select or clear this check box to show or hide the node labels.
Connection labels Select or clear this check box to show or hide labels for connectors, flowlines,
and risers.
Profile direction Select or clear this check box to show or hide profile direction labels.

Related links:
Navigate in the network diagram (p.132)

Print the model from the network diagram


You can print the model from the network diagram.
1. To open the network diagram for a well or network, on the Home tab, in the Viewers group,
click Network.
2. To print the model, perform one of the following actions:
• On the Format tab, in the Print group, click Print.
• Right-click the network diagram, and then click Print.
3. Select print options, and then click OK.

Note: Labels, icon size changes, and annotations are displayed in the printed copy. However, grid
lines and the Overview inset window are not displayed.

Related links:
Navigate in the network diagram (p.132)

2.2.2 Add wells


Use the Well editor (which consists of the Wellbore schematic pane and the tabs that you
use to define the well properties) to create new wells and edit existing ones. A well is one of the
ways fluids can enter (via production well) or leave (via injection well) the network.
A well model is a schematic representation of a well. It contains complete information on the well
including wellbore construction, downhole equipment, artificial lift equipment, completion
information as well as surface equipment as applicable. A well can be created from scratch or
using a template well as starting point.

Important: You need to provide a unique name to all surface and downhole equipment to avoid
possible conflicts. A unique name also helps identify the object definitively when viewing or
analyzing results.

Build physical models


134
PIPESIM User Guide

1. Add a well using the Insert tab or the Inputs pane.


• In network-centric mode, on the Insert tab, in the Boundary nodes group, click Well and
then click on the network diagram to release the object.
A new boundary node object is added to the network diagram.
• In the Inputs pane, right-click Wells, and then click New.
A new well is added to the Wells object tree and to the network diagram.
• On the Contextbar, click the plus (+) sign next to the well selector. In the Inputs pane,
right-click Wells, and then click New. A new well is added to the Wells object tree and to the
network diagram.

Note: A well is the only new boundary node that you can create from the Inputs pane.
However, you can copy and paste a sink or source from the Inputs pane.

2. On the network diagram, double-click the node object to open the Well editor.
3. On the General tab, define the well type, its status, and the flow direction

Field Action
Well name Change the name of the well, if necessary.
Active Indicates whether the well is active.

Note: Simulation tasks cannot be performed on an inactive well. If a network


contains an inactive well, that well and the equipment in its branch are ignored
during network simulation.

Well type Select Production or Injection, based on the intended flow direction. The final
solution depends on system hydraulics.
Check Models a check valve for the well and therefore controls the direction of the flow.
valve Block reverse
setting
The most common setting, Block reverse, ensures that flow is always as
intended; i.e., upward for a production well and downward for an injection well.
Block forward
Block forward blocks flow in the intended direction.
None
No flow block exists, so the flow can go in either direction based on system
hydraulics.
4. Add tubular data.
5. Add a deviation survey.
6. Add downhole equipment, if applicable.
7. Add artificial lift equipment, if applicable.

Build physical models


135
PIPESIM User Guide

8. Add heat transfer data.


9. Add completions.
10.Add surface equipment.
11.Create a meaningful title and Save.
The default title for new and imported models is New workspace.pips.
Each well-centric or network-centric model is stored in a single input file. (You do not need to store
each model in a separate directory.) The models are stored in binary data files with the .pips
extension.

Related links:
Add tubular data (p.52)
Add a deviation survey (p.58)
Add downhole equipment (p.61)
Add an artificial lift (p.70)
Add heat transfer data (p.84)
Add completions (p.86)
Add surface equipment using the well editor (p.126)

2.2.3 Add sources and sinks


Boundary nodes set the beginning and end point of the fluid flow. The following are boundary
nodes: well, source, and sink.
1. Add boundary nodes using the Insert tab or the Inputs pane.
• In network-centric mode, on the Insert tab, in the Boundary nodes group, click the
appropriate boundary node and then click on the network diagram to release the object.
A new boundary node object is added to the network diagram.
2. On the network diagram, double-click the source or sink to open its editor.

Related links:
Create or edit a network model (p.131)

Sink properties
A sink is a point where the fluid leaves the system. Normally, it is used to represent a surface
outflow point (for example, separator), not an injection well. A model can have any number of
sinks. See Source, Sink, and Boundary Conditions.
The following table describes the properties.

Build physical models


136
PIPESIM User Guide

Property Description
Pressure Outlet pressure.
Flowrate Liquid, Gas, or Mass flowrate in corresponding units at stock tank conditions.
Table 2.5: Sink Properties

2.2.4 Add surface equipment using the network diagram


In network-centric mode, you can drag equipment directly to the network diagram from the Insert
tab on the Internal nodes group. This topic covers how to add surface equipment using the
network diagram.
1. In network-centric mode, click the Insert tab.
2. In the Internal nodes group, drag the appropriate equipment icon to the network diagram.
3. Define the properties for the selected surface equipment object by completing one of the
following actions:
• On the network diagram, double-click the equipment object to open its editor.
• On the network diagram, right-click the equipment object and click Edit to open its editor.
• On the network diagram, double-click a well to open the Well editor and select the
Surface equipment tab. You may then select Node objects to insert in the Surface
equipment schematic and use connection objects to connect the node objects together.

Related links:
Choke properties (p.62)
Check valves (p.62)
Compressor properties (p.141)
Expander properties (p.143)
Flowline - simple model properties (p.144)
Generic equipment properties (p.153)
Generic pump properties (p.155)
Heat exchanger properties (p.157)
Injection point properties (p.158)
Source and junctions properties (p.184)
Multiphase booster properties
Multiplier/adder properties (p.173)
User defined equipment (p.9)
Riser - simple model properties (p.174)
Three phase separator (p.181)
Two phase separator (p.183)

Build physical models


137
PIPESIM User Guide

Configure wellstream outlet or inlet conditions (p.188)


View surface equipment properties (p.191)
Engine Keyword Tool (p.69)

Choke properties
A choke is a device that limits flow by mechanically constricting the cross-sectional area through
which fluid flows. The fluid velocity increases through the constriction and a pressure loss occurs.

Important: Downhole chokes and surface chokes use the same properties, although they are
created differently and appear differently in the Well schematic.

A surface choke is not part of wellbore schematic. It appears on surface schematic as below:

Choke properties

Property Description
Name Unique name of the choke.
Active Select this check box to activate the choke so that it will be used during simulation.
Clear the check box to deactivate and the choke will be bypassed during simulation.

General choke properties

Property Description
Subcritical Select a correlation from the list. (All correlations except Mechanistic and
Correlation API14B require hydrocarbon liquids at Stock tank conditions.)
Critical Select a correlation from the list. Can be used to set the critical flowrate. This
Correlation may not match the subcritical flow at the critical pressure ratio, so the
subcritical flow correlation is adjusted to ensure that the flow is correct at the
critical pressure.
Bean size Enter the diameter of the choke bean. The bean size represents the diameter
of the available flow area assuming that the constriction is circular.
Critical pressure Used to determine the downstream pressure when critical flow occurs in the
ratio choke. You can specify a value or have it calculated. If you select Calculate,
the calculations are performed using the Ashford-Pierce method.
Tolerance Tolerance for identification of critical flow conditions (given as a percentage or
fraction)
Upstream pipe ID Enter the inside diameter of the pipe upstream of the choke.
Measured depth Downhole location of the choke

Build physical models


138
PIPESIM User Guide

Advanced choke properties

Property Description
Gas Phase flow (Used in the Mechanistic correlation) Flow coefficient for the gas
coefficient phase. For API14B compatibility, set this to 0.9.
Liquid Phase flow (Used in the Mechanistic correlation) Flow coefficient for the liquid
coefficient phase. For API14B compatibility, set this to 0.85.
Table 2.6: Flow coefficients

Property Description
Discharge Used to calculate the flow coefficients.
coefficient
Fluid heat capacity Normally calculated, but can be specified. The valid range is 0.7 to 2.
ratio (Cp/Cv) Typically it is 1.26 for a natural gas, 1.4 for a diatomic gas. It is used to
calculate the Critical pressure ratio if that is set to 0.
Y at critical point Gas expansion factor at critical flow. Normally, it is calculated, but it can be
specified. The valid range is 0.5 to 1. It is used to modify the pressure drop
equation to allow for gas compressibility.
Table 2.7: Choke parameters

Property Description
Flowrate Flowrate to identify critical flow.
Pressure ratio Pressure ratio to identify critical flow.
Sonic upstream velocity Sonic upstream velocity to identify critical flow.
Sonic downstream velocity Sonic downstream velocity to identify critical flow.
Table 2.8: Identification of Critical and Supercritical Flow

The choke model calculates the pressure ratio across the choke for the current flowrate. The
pressure ratio calculated is then categorized as subcritical, critical, or supercritical based on criteria
defined by the user. Use the check boxes to define the criteria for identification of critical and
supercritical flow. Note the following behaviors:
• Clearing all the check boxes prevents identification of critical and supercritical flow, so flow is
always subcritical. Do this for API14B compatibility.
• If more than one check box is selected, critical flow will be identified by any of the selected
criteria that are met.

Property Description
Adjust sub-critical Adjust subcritical correlation to match flowrate predicted by critical
correlation correlation.

Build physical models


139
PIPESIM User Guide

Property Description
Print detailed calculations Detailed choke calculation output. It appears on your terminal
screen and on the primary output page.
Table 2.9: Miscellaneous options

For more information, see Choke (p.481).

Related links:
Add surface equipment using the well editor (p.126)
Add downhole equipment (p.61)
Add surface equipment using the network diagram (p.137)

Check valves
You may block the flow at any point in the surface network by using check valves.

Note: Blocking flow in wells do not require a check valve, instead this setting is defined in the
General tab in the well editor.

1. To create a check valve, use the surface equipment toolbar in the network diagram view to
insert a check valve in the model. Connect both ends using a flowline, riser or connector.
2. Double-click the check valve to define the direction flow will be blocked which will be relative to
the orientation of the yellow arrow on the check valve.

Icon name Icon


Block none

Block reverse

Block forward

Block both

Build physical models


140
PIPESIM User Guide

Related links:
Add surface equipment using the network diagram (p.137)

Compressor properties
Built-in or user-developed compressor curves can be used to describe the relationship between
differential pressure, flowrate, and efficiency for a range of compressor speeds. If compressor
curves are used, the compressor speed and number of stages become additional factors.

Compressor properties

Property Description
Name Name of the compressor.
Active Select this check box to activate the compressor so that it will be used during
simulation. Clear the check box to deactivate.

Operation parameters

Property Description
Discharge pressure Pressure at the compressor outlet.
Pressure differential Pressure increases (positive) across the compressor.
Pressure ratio Discharge pressure/suction pressure ratio. This is Pout/Pin.
Power The horsepower of the compressor.
Route Adiabatic
The compressor follows an adiabatic (no heat transfer) compression
process. This is available for modeling with both black oil and
compositional fluid.
Polytropic
The compressor follows a polytropic compression process. This is
available for modeling with both black oil and compositional fluids.
Mollier
The compressor follows an isoentropic (no change in entropy)
compression process. This is available only for compositional models.
Efficiency Compressor efficiency.
Honor stonewall Specifies whether the centrifugal compressor honors the Stonewall
limit operating limit.
Use curves Specifies whether to use data from the Compressor catalog. When
selected, the Performance data properties section appears so you can
select a compressor from the catalog.
Reciprocating Specifies that the compressor is a reciprocating compressor. This property
compressor is visible only when the Use curves check box is selected.

Build physical models


141
PIPESIM User Guide

Note: The four basic compressor parameters (discharge pressure, pressure differential, pressure
ratio, and power) indicate upper limits for these whenever more than one of these parameters is
supplied. Compressor performance will be controlled by the most limiting of these parameters.

Use curves
When you select the Use curves check box, the Performance data properties section appears.
You can select the manufacturer and a model from the catalog; all other values are populated
frrom the catalog.
Performance data has the following tabs:
General
editable properties are display units, Operating frequency, Operating speed, and Head
factor
Table
displays calculated performance data in a tabular format
Curve
graphically displays the catalog performance data

Performance data - general tab

Property Description
Manufacturer Selectable from the catalog.
Model (Catalog value) Compressor model name.
Centrifugal Compressor (Catalog Values)
Min flowrate Minimum recommended flowrate. The performance curve can be
constructed below this, but warning messages are shown.
Max flowrate Maximum recommended flowrate. The performance curve can be
constructed above this, but warning messages are shown.
Base speed Speed at which the performance curve is defined. To change the
value for simulation purposes, enter an operating speed.
Reciprocating Compressor (Catalog Values)
Abs. min. suction pressure Absolute minimum suction pressure.
Abs. max. capacity Absolute maximum capacity. (The performance curve can be
constructed outside this range. Warning messages show where the
operating point is outside this limit.)
Base speed Speed at which the performance curve is defined. To change the
value for simulation purposes, enter an operating speed.
Inter-stage temperature Temperature of the gas between stages.
Stages Number of stages used.
Operating and Tuning Parameters (editable properties)

Build physical models


142
PIPESIM User Guide

Property Description
Operating frequency (Both) Specify one of these; the other is calculated.
Operating speed
Head factor (Centrifugal compressor) Allows the compressor head to be factored.

Performance data - table tab

Property Description
Centrifugal compressor Displays a table with flowrate, head, and efficiency taken from the
(catalog performance catalog.
table)
Flowrate Fluid flowrate measured at actual pressure and temperature
conditions.
Head Specifies the compressor head.
Efficiency (Catalog value) Specifies the efficiency of the compressor.
Reciprocating For a selected discharge pressure, displays a performance table with
compressor (catalog flowrate, suction pressure and efficiency (or power). Performance
performance table) tables for multiple discharge pressure can be stored and displayed.
Discharge pressure (Reciprocating compressor) Pressure at the compressor outlet. For
each discharge pressure, there is a dedicated performance table.
Flowrate Gas flowrate measured at standard conditions.
Suction Pressure (Reciprocating compressor) Pressure at the compressor inlet.
Efficiency Power Performance data can have either efficiency or power. The unknown
parameter will be calculated during simulation.

Note: If the model has two or more reciprocating compressors in a series (for example, field
compressors followed by a plant compressor) any downstream compressor must have a greater
capacity than the upstream compressor, even if only fractionally greater. For example, 10.00
mmscf/d followed by 10.01 mmscf/d.

For more information, see Compressor (p.763) keyword.

Related links:
Add centrifugal compressors to the catalog (p.22)
Add reciprocating compressors to the catalog (p.22)

Expander properties
An expander is used to recover energy from waste gas. The energy recovered can be used to
drive other equipment or to produce electricity. The gas passes over the nose cone of the
expander and into its stator blades, impacting the rotor blades resulting in a temperature drop in
addition to recovery of the pressure energy.

Build physical models


143
PIPESIM User Guide

Expander properties

Property Description
Name Name of the expander.
Active Select this check box to activate the expander so that it will be used during simulation.
Clear the check box to deactivate.

Operation parameters

Property Description
Discharge Pressure at the expander outlet.
pressure
Pressure Pressure decrease across the expander (negative number).
differential
Pressure ratio Ratio of inlet pressure to discharge pressure. This is Pin/Pout.
Power Power of the expander.
Route Adiabatic
Adiabatic expansion is performed. For black oil models the heat capacity
ratio (Cp/Cv) is used as the adiabatic exponent (assumed to be constant with
a value equal to 1.26). For compositional models the heat capacity ratio is
calculated (using the relationship: Cp = Cv - R). The heat capacity is
obtained as the average of the expander suction and discharge conditions.
Polytropic
Polytropic expansion is performed. The heat capacity ratio (Cp/Cv) is
calculated in a similar manner to that outlined above for Adiabatic expansion.
Mollier
Expansion is based on the Mollier method, isentropic expansion from suction
to discharge pressures. This option is valid for compositional models only.
Efficiency Efficiency of the expander

For more information, see Expander (p.767) keyword.

Related links:
Add surface equipment using the well editor (p.126)
Add surface equipment using the network diagram (p.137)

Flowline - simple model properties


You can define a flowline in a simple model (with basic minimum data) or detailed model (to
capture detailed profile as well as heat transfer calculations). The property pane and the parameter
displayed will depend on the options that you choose.

Build physical models


144
PIPESIM User Guide

Simple model
Use this mode if the flowline is relatively linear (horizontal pipe, vertical pipe, or inclined
pipe with constant inclination angle) and you want to perform a simplistic heat transfer
calculation using the known heat transfer coefficient and a constant ambient temperature.
Detailed model
Allows you to capture complex flowline geometry and at the same time, you will be able to
perform detailed heat transfer calculation including pipeline coating, variation in
environmental conditions, pipe burial data, etc.

Flowline properties

Property Description
Name Name of the flowline.
Active Select this check box to activate the flowline so that it will be used during
simulation. Clear the check box to deactivate. An inactive flowline will simply
bypass the flowline and assume direct connection between attached
equipment objects with a connector.
Environment Sets the type of flowline to Land (air data used) or Subsea (metocean data
used). In the network diagram, active land flowlines are displayed in black
while active subsea flowlines are displayed in dark blue.
Mode Based on data availability and need, you can switch between Simple and
Detailed mode. To switch to the detailed model, click Detailed. Click Simple
to return to the simple model (the detailed data will be deleted). Detailed
mode has an additional tab for detailed heat transfer modeling.
Override global Defines environmental data such as local ambient temperature.
environmental
data

Pipe data properties

Property Description
Inside diameter Inside diameter for the flowline. Only one diameter can be configured per
flowline.
Wall thickness Select and specify either wall thickness or outside diameter (excluding any
Outside diameter coatings).
Roughness Enter the typical value for the absolute pipe roughness based on the material
type. The default value is 0.001 inches (0.0254 mm).

Note: If there is any change in flowline inside diameter, wall thickness, or roughness along the
flowpath, add a second flowline object.

Build physical models


145
PIPESIM User Guide

Profile data properties

Property Description
Rate of An artificial factor used to introduce undulations into the flowline (specific to
undulations simple mode only). Undulation is typically used for a horizontal pipe to capture
terrain effects (unevenness of the underlying surface) and result in a higher
overall pressure drop due to the fact that liquid holdup is higher in inclined
sections and lower in declined sections resulting in less pressure recovery.
Enter the total change in elevation for every 1,000 units of length. (To model a
totally flat flowline, enter 0.) Undulations capture terrain effects and result in a
higher overall pressure drop.
Horizontal Select either the horizontal distance or length to specify the distance covered by
distance the flowline from start to end.
Measured
distance
Elevation Change in elevation between the start and end of the flowline object. Enter a
difference negative value for a downhill flowline, or a positive value for an uphill flowline.
Elevation changes are relative to the object itself and not influenced by adjacent
flowlines.

Heat transfer data properties

Property Description
Ambient Ambient temperature for the fluid surrounding the flowline.
temperature
U Value type Heat transfer coefficient (U Value) is a measure of thermal property of pipe
(with/without coating) and surrounding material. In simple mode, a known
overall heat transfer coefficient is used. Available options are: Insulated,
Coated, Bare (in air), Bare (in water), and User supplied.
Heat transfer Based on selected U value type, the corresponding pre-defined heat transfer
coefficient coefficient is filled in. Enter a value if you have selected U value type as User
supplied.
Inside film Click the appropriate option to either Include the Inside film coefficient (within
coefficient the supplied heat transfer coefficient above) or Calculate separately.
Calculation is performed based on selected methods (under Home »
Simulation settings » Heat transfer tab)

Flowline schematic

Property Description
Geometry For a typical land flowline, the geometry profile is a plot of horizontal distance
profile (plot) versus elevation, where horizontal distance is the primary axis (X-axis).
However, if you select a subsea flowline, the configuration changes to depth as
primary axis (Y axis) versus horizontal distance.

Build physical models


146
PIPESIM User Guide

Property Description
Ambient Similar to a geometry profile, for a land flowline, ambient temperature is plotted
temperature against horizontal distance (X axis). For a subsea flowline, the ambient
(plot) temperature is plotted against depth (Y axis).
Data view By default, the flowline geometry and ambient temperature profile is displayed
button (plot) graphically. A table control button at the bottom right of the plot allows you to
switch to a tabular view of data. When in tabular view, a chart shaped button
allows you to switch back to plot view
Flowline start This is a read only field that indicates the starting point of the flowline in the
at model and thus indicates the orientation (profile direction) of the flowline in the
network.
Flip geometry Flipping the geometry will swap the start and end nodes for flowlines. The start
node defines the flowline orientation and is also indicated by a triangular arrow
situated on the flowline object on the network diagram or well surface equipment
tab.
The flipping behavior is slightly different depending on whether the survey data
is populated from GIS or not. If the survey data is manually specified, flipping
the geometry enables a convenient means of swapping the start and end nodes
for a given profile, saving the user from having to invert the order of entries in a
survey table if the original direction was incorrect. If the GIS mode is selected, in
addition to swapping the start and end nodes, the survey is inverted as well
such that the elevations associated with the geographic locations defined are
correctly preserved. For cases where flowlines are created by importing
shapefiles, the flowline orientations are arbitrarily assigned. Thus, when the
Populate from GIS map option is enabled, flipping the geometry will not
change the numerical simulation results (in contrast to flipping manually defined
profiles).

Note: The pipe geometry should not be confused with flow direction reported by
the simulation results. The flow direction (forward or reverse) is reported relative
to the branch inlet-outlet, not relative to the pipeline orientation. Branches may
contain multiple flowlines (with potentially different geometries and by
convention, the branch inlet-outlet is reflected in the name (eg. J1_J2) where J1
is in the inlet. For boundary nodes that contain the name of the boundary, source
and production well branch inlets are always at the fluid entry whereas for sinks
and injection wells the branch outlets are always at the fluid delivery.

For more information, see Typical Values (p.652) and Heat Transfer Coefficient (p.560).

Related links:
Environmental properties (p.239)
Flowline - detailed model properties - general tab (p.148)
Pipeline comparison: land, subsea, and riser (p.152)

Build physical models


147
PIPESIM User Guide

Flowline - detailed model properties - general tab


Detailed mode allows modeling complex variation in flowline geometry and also exposes detailed
heat transfer calculation including modeling for pipe coatings, and so forth. One of the most
important features of detailed flowline is populating data directly from the GIS map elevation
services.

Detailed mode properties

Property Description
Name Name of the flowline.
Active Select this check box to activate the flowline so that it will be used during
simulation. Clear the check box to deactivate. Inactive flowlines are treated as
connectors and do not cause a pressure drop.
Environment Sets the type of flowline to Land (atmospheric data used) or Subsea
(oceanic data used). In the network diagram, active land flowlines are
displayed in black. Active subsea flowlines are dark blue.
Mode To switch to the detailed model, click Detailed. Click Simple to return to the
simple model (the detailed data will be deleted).
Override global Defines environmental data such as local ambient temperature.
environment data

General tab - pipe data properties

Property Description
Inside diameter Inside diameter for the flowline. Only one diameter can be configured per
flowline
Wall thickness Select the appropriate property, and then enter either the wall thickness or the
Outside diameter outside diameter of the flowline, excluding any coatings.
Roughness Enter the typical value for the absolute pipe roughness based on the material
type. The default value is 0.001 inches (0.0254 mm).

Note: If there is any change in flowline inside diameter, wall thickness, or roughness along the
flowpath, add a second flowline object.

General tab - profile data properties

Property Description
Populate from Values for Measured distance and elevation are populated directly from the
GIS map map data, if the model is configured accordingly on the map.
Distance Click to calculate Horizontal distance or Measured distance to enter data.
The unknown will be calculated geometrically. The distance here refers to the
cumulative distance as you go along the flowline in the direction of its
orientation

Build physical models


148
PIPESIM User Guide

Property Description
Vertical Distance Absolute elevation of each flowline profile data point. For a land flowline,
(subsea elevation is the only option. These elevation/dept values are relative to the
environment) flowline starting node and are not influenced by any other data. The vertical
distance selection option is available for subsea flowline only. It allows you to
choose either elevation or depth.
Profile Table The table column options appear based on selected distance options. Specify
cumulative data in the direction of profile in the increasing order of horizontal/
measured distance and the corresponding elevation/depth at each point

Flowline schematic
As you enter flowline data, you will notice a set of plots displaying geometric profile (distance vs.
elevation/depth) and the profile of ambient temperature (against distance/depth). The plot
orientation changes based on the flowline environment (land/subsea).

Property Description
Geometry For a typical land flowline, the geometry profile is a plot of horizontal distance
profile (plot) vs. elevation, where horizontal distance is the primary axis (X-axis). However, if
you select a subsea flowline, the configuration changes to depth as primary axis
(Y axis) vs. horizontal distance.
Ambient Similar to the geometry profile, for a land flowline, ambient temperature is
temperature plotted against horizontal distance (X axis). For a subsea flowline, the ambient
(plot) temperature is plotted against depth (Y axis).
Data view By default, flowline geometry and ambient temperature profile are displayed
button (plot) graphically. A table control button at the bottom right of the plot allows you to
switch to tabular view of data. When in tabular view, a chart shaped button
allows you to switch back to plot view.
Flowline start This is a read only field that indicates the starting point of the flowline in the
at model and thus indicates the orientation (profile direction) of the flowline in the
network.
Flip geometry Flipping the geometry will swap the start and end nodes for flowlines. The start
node defines the flowline orientation and is also indicated by a triangular arrow
situated on the flowline object on the network diagram or well surface equipment
tab.
The flipping behavior is slightly different depending on whether the survey data
is populated from GIS or not. If the survey data is manually specified, flipping
the geometry enables a convenient means of swapping the start and end nodes
for a given profile, saving the user from having to invert the order of entries in a
survey table if the original direction was incorrect. If the GIS mode is selected, in
addition to swapping the start and end nodes, the survey is inverted as well
such that the elevations associated with the geographic locations defined are
correctly preserved. For cases where flowlines are created by importing
shapefiles, the flowline orientations are arbitrarily assigned. Thus, when the
Populate from GIS map option is enabled, flipping the geometry will not

Build physical models


149
PIPESIM User Guide

Property Description
change the numerical simulation results (in contrast to flipping manually defined
profiles).

Note: The pipe geometry should not be confused with flow direction reported by
the simulation results. The flow direction (forward or reverse) is reported relative
to the branch inlet-outlet, not relative to the pipeline orientation. Branches may
contain multiple flowlines (with potentially different geometries and by
convention, the branch inlet-outlet is reflected in the name (eg. J1_J2) where J1
is in the inlet. For boundary nodes that contain the name of the boundary, source
and production well branch inlets are always at the fluid entry whereas for sinks
and injection wells the branch outlets are always at the fluid delivery.

For more information, see Typical Values (p.652).

Related links:
Environmental properties (p.239)
Flowline - detailed model properties - heat transfer tab (p.150)
Pipeline comparison: land, subsea, and riser (p.152)

Flowline - detailed model properties - heat transfer tab


After you enter the detailed properties on the General tab, enter the detailed properties on the
Heat transfer tab.

Heat transfer tab properties (multiple U value input method)

Property Description
U Value input Overall heat transfer coefficient (U value)
method Specify
Select this option to enter a single U value if it is known.
Calculate
Select this option when the heat transfer coefficient of the surrounding
medium is not known. A heat balance is performed using heat transfer
coefficients calculated from supplied data describing coatings, burial
conditions, and ambient fluid properties.
U Value type Select the pipe type: Insulated, Coated, Bare (in air), Bare (in water), or User
supplied.
Heat transfer Based on selected U value type, a corresponding pre-defined heat transfer
coefficient coefficient is supplied. Enter a value if you have selected U value type as User
supplied.

Build physical models


150
PIPESIM User Guide

Property Description
Inside film Click the appropriate option to either Include the inside film coefficient (within
coefficient the supplied heat transfer coefficient above), or choose to Calculate
separately. Calculation is performed based on selected methods (under
Home » Simulation settings » Heat transfer tab).
Ambient This table appears only if the override global environmental data is checked.
temperature Depending on the flowline environment, the column option changes. For a
typical land flowline, you get a table of horizontal distance vs. ambient
temperature but for a subsea flowline the table option is depth vs. ambient
temperature.

Heat transfer tab - thermal data properties (calculate U value input method)

Property Description
Pipe conductivity Thermal conductivity of the pipe material
Ground conductivity Thermal conductivity of the ground. Used when pipe is partially or fully
buried in the ground.
Pipe burial depth The burial depth refers to the depth of the centerline of the pipe with
respect to ground surface. Burial data takes into account pipe as well as
coating layers (if any). If left blank, pipe is assumed to be elevated above
ground. A zero depth indicates half-buried pipe.
Wind speed (land Wind speed is populated from global environment data but can be
environment) overridden here.
Environmental data This table appears only if the override global environmental data is
table checked. For a land environment, you can enter ambient temperature
against horizontal distance. However, for a subsea flowline, an additional
column to specify current velocity appears.

Heat transfer tab - pipe coating details properties (calculate U value input method)

Property Description
Pipe coating You can add multiple layers of coating. For each coating layer, following data is
details needed:
• Thermal conductivity of the coating layer
• Thickness of the coating layer
• Description (for reference purposes only)
Overall outside Outside diameter of pipe and coating layers. This value is used to display pipe
diameter cross section schematic underneath
Pipe cross- This schematic underneath the coating table displays:
section • Pipe cross-section showing pipe and coating layers in different colors
schematic
• Pipe burial display (for a partially buried pipe, it will display sections of pipe
below and above ground)

Build physical models


151
PIPESIM User Guide

Property Description
• Environment (sky blue for a land environment and dark blue for subsea
environment).

For more information, see Heat Transfer Coefficient (p.560) and Internal Fluid Film Heat Transfer
Coefficient (p.563).

Related links:
Add connections (p.193)
Flowline - detailed model properties - general tab (p.148)
Manage flowlines and risers (p.373)

Pipeline comparison: land, subsea, and riser


This table describes the attributes for each type of pipeline.

Build physical models


152
PIPESIM User Guide

Attribute Riser Subsea flowline Land flowline


Geometry Cannot be flipped. A Can be flipped. Can be flipped.
check box is available to
mark downcomers.
GIS Cannot use GIS to Cannot use GIS to capture Can use GIS to capture the
capture pipeline pipeline geometry profile.The geometry profile. The
geometry profile. ambient temperature and ambient temperature data on
current velocity table on the the Heat transfer tab does
Heat transfer tab does not not change. Ambient
change. Ambient temperatures temperatures for the GIS
and current velocities for the profile points are calculated
GIS profile points are by interpolation based on
calculated by interpolation available data using the
based on the available data interpolation method for land
using the interpolation method flowline (see interpolation
for subsea flowline (see method).
interpolation method).
Ambient Indexed on depth/ Indexed on depth/elevation. Indexed on horizontal
temperature elevation. The table has The table has to be monotonic distance. The table has to be
and current to be monotonic on on depth. Use of depth is monotonic on horizontal
velocity data (if depth. Use of depth is recommended. distance.
applicable) recommended.
Interpolation of Interpolation linearly Interpolation linearly between Interpolation linearly
ambient between two points two points provided. between two points
temperature provided. Interpolation Interpolation linearly outside the provided. Interpolation with
and current linearly outside the range of points provided. the constant last value
velocity data (if range of points provided. outside the range of points
applicable) provided.
Related links:
Flowline - simple model properties (p.144)
Flowline - detailed model properties - general tab (p.148)
Riser - simple model properties (p.174)
Riser - detailed model properties - general tab (p.177)

Generic equipment properties


You can use generic equipment properties to model any object that imparts a pressure and/or
temperature change to the flowing stream at any point in the model.

Property Description
Name Name of the generic equipment object

Build physical models


153
PIPESIM User Guide

Property Description
Active Select the Active check box to activate the generic equipment so that it will be used
during simulation. Clear the check box to deactivate and it will be bypassed during
simulation.

General properties

Property Description
Route Select one of the following thermodynamic routes to calculate fluid temperature
change resulting from changes in pressure:
Isenthalpic
constant enthalpy (the default option)
Isentropic
constant entropy
Isothermal
constant temperature
Pressure Select one of the following pressure change options:
Discharge Pressure
A fixed flowing fluid discharge pressure. Pressure at the outlet. Specifying the
discharge pressure is discouraged, particularly in network simulations, as this
specification often creates pressure discontinuities. It is intended to be used
only when the downstream branch is a terminating branch and not pressure
specified.
Pressure differential
Pressure gain (positive) or loss (negative). In a network model, this is assumed
to follow the branch's flow direction, so if the branch flow reverses, this
property changes sign.
Pressure ratio
Ratio of discharge pressure to the inlet pressure.
Temperature Select one of the following temperature change options:
Temperature differential
Temperature increase (positive) or decrease (negative) across the equipment.
Discharge Temperature
Fixed flowing fluid outlet temperature.
Duty
Power required to change the temperature and/or pressure of the fluid. If this is
specified, the corresponding fluid enthalpy change is calculated and added to
that resulting from any pressure change using the Route. The outlet
temperature is then adjusted accordingly.

Build physical models


154
PIPESIM User Guide

Note: If Delta Pressure or Pressure Ratio is specified without the Discharge properties,
PIPESIM* uses the thermodynamic Route to calculate the fluid outlet temperature. Isenthalpic is
the most appropriate route when you want to simulate chokes, predict Joule-Thompson cooling
across pressure reduction valves, and so on.

Related links:
Add surface equipment using the well editor (p.126)
Add surface equipment using the network diagram (p.137)

Generic pump properties


The basic pump model uses centrifugal pump equations to determine the relationship between
inlet pressure and temperature, outlet pressure and temperature, flowrate, shaft power, hydraulic
power, and efficiency.

Property Description
Name Name of the pump.
Active Select this check box to activate the pump so that it will be used during simulation.
Clear the check box to deactivate.

Operation parameters

Property Description
Discharge Pressure at the outlet. Specifying the discharge pressure is discouraged,
pressure particularly in network simulations, as this specification often creates pressure
discontinuities. It is intended to be used only when the downstream branch is a
terminating branch and not pressure specified.
Pressure Pressure change across the pump.
differential
Pressure ratio Discharge pressure/suction pressure ratio (Pout/Pin).
Power Shaft power required to increase the pressure of the fluid.
Route Adiabatic (default)
The pump follows an adiabatic (constant enthalpy) process. This is available
for modeling with both black oil and compositional fluid.
Mollier
The pump follows an isentropic (no change in entropy) process. This is
available only for compositional models.
Isothermal
The pump follows an isothermal (no change in temperature) process. This is
available for modeling with both black oil and compositional fluids.

Build physical models


155
PIPESIM User Guide

Property Description
Efficiency Efficiency of the pump.
Use curves Specifies whether to use data from the Pump catalog. When selected, the
performance data properties section appears so you can select a pump from the
catalog.

Note: The four basic pump parameters (discharge pressure, pressure differential, pressure ratio,
and power) indicate upper limits. Whenever more than one of these parameters are supplied,
Pump performance will be controlled by the most limiting of these parameters.

Use curves
When you select the Use curves check box, the Performance data properties section appears.
You can select the manufacturer and a model from the catalog; all other values are populated from
the Pump catalog.
Performance data has the following tabs:
General
selection from catalog, operating data and tuning
Table
displays catalog performance data in tabular format
Curve
graphically displays the catalog performance data

Performance data properties - general tab

Property Description
Manufacturer Selectable from the catalog.
Model (Catalog value) Pump model name.
Min flowrate (Catalog value) Minimum recommended flowrate. The performance curve
can be constructed below this value, but warning messages are shown.
Max flowrate (Catalog value) Maximum recommended flowrate. The performance curve
can be constructed above this value, but warning messages are shown.
Base speed (Catalog value) Speed at which the performance curve is defined. To
change the value for simulation purposes, enter the operating speed or
operating frequency.
Base stages (Catalog value) Number of stages for which the performance curve is
defined. This can be changed for the simulation.
Number of stages (Catalog value) A discreet set of stages is stored in the catalog. The pump
performance curve is adjusted based on the actual number of stages and
speed used during simulation.
Operating frequency Specify one of these values (the other value is then calculated).

Build physical models


156
PIPESIM User Guide

Property Description
Operating speed
Head factor Multiplier that adjusts the pump head (pressure differential) to account for
wear and other inefficiencies.
Viscosity correction Catalog performance data are typically generated with water as test fluid.
The Viscosity correction takes into account the correction applied to the
performance curve based on actual fluid being pumped.

Performance data properties - table tab

Property Description
Flowrate (Calculated value) Fluid flowrate measured at actual pressure and temperature
conditions
Head (Calculated value) Specifies the pressure differential across the pump in units of
length of fluid column.
Efficiency (Catalog value) Specifies the efficiency of the pump.

For more information, see Centrifugal Pumps and Compressors (p.493).

Related links:
Add items to the pump catalog (p.25)

Heat exchanger properties


Use a heat exchanger to model a device that transfers heat from one liquid to another without
allowing them to mix. This results in a fluid temperature change and sometimes a small pressure
change.

Property Description
Name Name of the heat exchanger.
Active Select this check box to activate the heat exchanger so that it will be used during
simulation. Clear the check box to deactivate.

Operation parameters

Property Description
Pressure Select one of the following pressure change options:
Discharge pressure
Pressure at the outlet. Specifying the discharge pressure is discouraged,
particularly in network simulations, as this specification often creates pressure
discontinuities. It is intended to be used only when the downstream branch is a
terminating branch and not pressure specified.

Build physical models


157
PIPESIM User Guide

Property Description
Pressure differential
Pressure change across the heat exchanger
Temperature Select one of the following temperature change options:
Temperature differential
Temperature increase (positive) or decrease (negative) across the heat
exchanger
Discharge temperature
A fixed flowing fluid outlet temperature
Duty
Power required to achieve the desired change in fluid temperature and
pressure.

Related links:
Add surface equipment using the well editor (p.126)
Add surface equipment using the network diagram (p.137)

Injection point properties


You can use a fluid injection point to inject fluid anywhere in the system. Injectors are commonly
used to model chemical injection (for example, methanol) or riser-based gas.

Property Description
Name Name of the injection point.
Active Select this check box to activate the injection point so that it will be used during
simulation. Clear the check box to deactivate.

General properties

Property Description
Temperature Temperature of the incoming fluid at the injection point. Injected fluid will mix with
the flowing fluid and resultant temperature will be calculated.
Flowrate Incoming liquid, gas or mass flowrate for the injection stream

Fluid model properties

Property Description
Fluid model Select a predefined fluid to be injected. You can also edit selected fluid or
create a new fluid.
Override phase ratios You can override phase ratio for selected fluid.
Gas ratio Select the appropriate gas ratio type and enter a value.

Build physical models


158
PIPESIM User Guide

Property Description
Water ratio Select the appropriate water ratio type and enter a value.

Note: The injected fluid type must be consistent with the main fluid type (black oil or compositional)
set in the model.

Related links:
Create or edit fluid models (p.195)

User defined equipment


PIPESIM supports many types of equipment that can be inserted into a flow path to model devices
that affect the fluid (flowrate, pressure, temperature and enthalpy). Examples include pumps,
compressors, heaters, multipliers, chokes, etc.
If you want to model certain specialized or proprietary devices not currently supported by PIPESIM,
you can create a Dynamically Linked Library (DLL) to achieve this. Such devices may include jet
pumps, multiphase boosters, valves, etc.
Self-documenting code templates written in c++ and Fortran are provided in the .. \Program Files
\Schlumberger\PIPESIM201x.x\Developer Tools\User Equipment directory created during the PIPESIM
installation.

Register user defined equipment


1. On the Workspace tab, click Options.
2. In the left pane, click Plugins.
3. Click Register.
4. Browse to and select the desired user equipment DLL.
5. Select a user equipment or flow correlations DLL.
6. Click Open.
The user equipment DLL with relevant information is added to the list of plugins.

Use user defined equipment


Depending on the type of user equipment created, you can add a user defined equipment to the
PIPESIM model from one of three possible locations:
• Surface equipment(network or well editor)
• Downhole equipment (well editor)
• Artificial lift (well editor)
Depending on the specific configuration options defined for the user equipment, you can specify
settings and input variables in the properties editor of the user equipment. Additionally, you may
sensitize on numerical input parameters while running certain single branch tasks (such as PT
Profile, System Analysis, Nodal Analysis). Results may be viewed in both tabular and graphical
form by inspecting the System node result tables and System plots respectively.

Build physical models


159
PIPESIM User Guide

Related links:
Plugins (p.9)

Multiphase boosters
A multiphase booster is a piece of equipment that is able to boost the production or injection of a
mixed fluid stream (liquid & gas) by adding kinetic energy or pressure. The incoming fluid at the
suction is directly boosted to the required discharge pressure without physically separating the
liquid and gas phases and the discharge fluid is exported via a multiphase export line.
Multiphase boosting technology (p.499) was ground-breaking when introduced because it enables
the boosting of a multiphase fluid stream over long distances without the need for separation first.
Multiphase boosters have been critical to the successful development of many offshore fields
because they greatly reduce the footprint by eliminating the need for conventional separation and
processing equipment offshore.
PIPESIM supports the following Multiphase booster types:
• Generic multiphase boosters (p.160)
• OneSubsea multiphase booster (p.166)
From the Insert tab, you can add a multiphase booster to the single branch or network. Double-
clicking on the booster launches its editor; and you can select the booster type as Generic
multiphase booster or OneSubsea multiphase booster.

Related links:
Multiphase boosting technology (p.499)
Generic multiphase boosters (p.160)
OneSubsea multiphase booster (p.166)

Generic multiphase boosters


For the purposes of simulation, the generic multiphase booster model treats the multiphase pump
as a single-phase liquid pump and gas compressor operating in parallel.
The power calculations are based on splitting the multiphase fluid into its constituent liquid and gas
phases at booster suction and calculating the shaft power required to raise the pressure of the
liquid phase using conventional pump theory and the shaft power required to raise the pressure of
the gas phase using conventional compressor theory. The total shaft power required by the
multiphase booster is the sum of the two computed shaft powers. Due to the limiting assumptions
of this approach, the use of the generic multiphase pump model is recommended only for
preliminary analysis and to benchmark the multiphase booster power requirement.
The generic booster uses pump and compressor efficiencies to calculate the shaft power.
Generally, even when realistic values for pump and compressor efficiency are used, the calculated
power from the generic booster model will be underestimated. The generic booster will provide a
'best case' estimate for the multiphase boosting power which will typically be lower than the power
requirement for a specifically designed multiphase booster (up to 100% lower is possible). This is
why the generic booster model should be used for initial screening purposes only; and with
recommended pump and compressor efficiency values of 75% or values obtained from the field.

Build physical models


160
PIPESIM User Guide

Refer to the Guide to multiphase booster efficiencies (p.513) for general recommendations for
booster efficiencies.

Add a generic multiphase booster


1. In network-centric mode, click the Insert tab. (In well-centric mode, click the Surface
equipment sub-tab, and then click the Insert tab).
2. In the Internal nodes group, drag the Multiphase booster icon to the location on the
schematic where you want to place it.
3. Double-click the multiphase booster object to open its editor (or right-click on it, and then click
Edit).
4. Enter the name of the booster.
5. Select or clear the Active checkbox to indicate if the booster is turned on or off during the
simulation.
6. Select the Booster type as Generic multiphase booster.
7. Enter the upper limits for one or more of the Operation Parameters described below.

Property Description
Discharge Pressure at the booster outlet
pressure Specifying the discharge pressure is discouraged, particularly in network
simulations, as this specification often creates pressure discontinuities. It is
intended to be used only when the downstream branch is a terminating branch
and not pressure specified (when left blank, the default is 20,000 psia).
Pressure Pressure differential across the multiphase booster (when left blank, default is
differential 10,000 psia)
Pressure ratio Ratio of discharge pressure to suction pressure (when left blank, default is
1,000)
Power Power available for the multiphase booster (when left blank, default is
unlimited)

Note:
• The four basic booster parameters (Discharge pressure, Pressure differential, Pressure
ratio, and Power) indicate their upper limits for scenarios where more than one of these
parameters is supplied.
You may enter any combination of these parameters or none at all. The simulation will
determine the most limiting of these parameters and this will control the booster
performance.
• When Discharge pressure, Pressure ratio, or Pressure differential is specified, PIPESIM
calculates the required power for multiphase boosting. Alternatively, when Power is
specified, PIPESIM calculates the pressure differential (or pressure ratio or discharge
pressure) that can be developed by the booster. When more than one of these parameters

Build physical models


161
PIPESIM User Guide

are specified, PIPESIM determines the most limiting one (i.e. the one which gives the
smallest pump differential pressure) during the course of the simulation, and recalculates
the other parameters based on the limiting parameter.
• The default values for all parameters are unrealistically high; this ensures that each
parameter will not be the limit on pump performance, unless the user supplies a lower, more
realistic value. If none of the parameters are specified, the limit of pump performance will
usually be the speed, and which will in this case be 100%. If not, then the differential
pressure (DP) will be the limit for the specific pump model.

8. Modify the pump and compressor efficiencies preferably using appropriate field values. In the
absence of field efficiencies, use the recommended values in Guide to multiphase booster
efficiencies (p.513).

Property Description
Pump efficiency Efficiency of the pump
The default value is 100%.
Compressor efficiency Efficiency of the compressor
The default value is 100%.

Generic multiphase booster simulation results


The table below outlines the results that can be generated from running the most common
simulation tasks on a model that includes one or multiple generic multiphase boosters.

Task Results Steps to view results Result details


P/T profile, Profile Profile results » Show plot Pressure profile showing the pressure
Nodal results boost provided by the generic
analysis, and (plot) multiphase booster
System Profile Profile results » Show Row details showing simulation results
analysis results for each generic multiphase booster
grid » Expand all » Scroll
(row including:
to multiphase booster
details) • Limiting variable
rows
• Pressure ratio (discharge pressure/
suction pressure)
• Differential pressure
• Power
• Outlet/discharge pressure
• Differential temperature
• Route
• Compressor power
• Compressor efficiency
• Pump power

Build physical models


162
PIPESIM User Guide

Task Results Steps to view results Result details


• Pump efficiency
• Gas volume fraction (GVF)
• Total volumetric flowrate

Note: The row details for route are


typically polytropic which implies that a
polytropic compression was
performed. A polytropic compression
follows the polytropic route,

and can be used to model constant


pressure

, constant temperature

, constant enthalpy

, and constant volume changes

, as well as intermediate routes.


PIPESIM uses a value of

that is a function of the efficiency

and the specific heat ratio

System P/T profile and System System results plot can be configured
results Analysis to show the following generic
(plot) multiphase booster system variables, if
System results » Show
available:
plot » Double-click on the
• Average fluid density
plot » Select any axis to
display any of the generic • Delta (differential) pressure
multiphase booster • Delta (differential) enthalpy
system variables
• Delta (differential) temperature
Nodal analysis
• Discharge pressure
System results » Double- • Pump Efficiency
click on the plot » Select
• Compressor Efficiency

Build physical models


163
PIPESIM User Guide

Task Results Steps to view results Result details


any axis to display any of • Pump power
the generic multiphase • Compressor power
booster system variables
• Total power
• Suction GVF (Gas Volume
Fraction)
• Suction pressure
• Suction Total Vol. Flowrate
System P/T profile and System System results grid can be configured
results Analysis to show the same generic multiphase
(grid) booster system variables as System
System results » Show
results (plot) above
grid » Branch » Select
columns to add any of the
generic multiphase
booster system variables
Nodal analysis
System results » Select
columns to add any of the
generic multiphase
booster system variables
System P/T profile and System Row details showing simulation
results Analysis results for each generic multiphase
(row booster. Same variables as Profile
System results » Show
details) results (row details) above
grid » Node » Expand
all » Scroll to multiphase
booster rows
Nodal analysis
Not applicable
Output To generate the output Scroll through the report to the node
summary summary report, go to position(s) for the generic multiphase
Workspace » Options » booster(s) in your model and view the
Advanced » Select Show same row detail information as Profile
results (row details) and System
engine output files
results (row details) above
checkbox » Run the
task » Click the Output
summary tab
Output To generate the output Scroll through the report to the node
details details report, go to position(s) for the generic multiphase
Workspace » Options » booster(s) in your model and view the
same row detail information as Profile

Build physical models


164
PIPESIM User Guide

Task Results Steps to view results Result details


Advanced » Select Show results (row details) and System
engine output files results (row details) above
checkbox » Run the
task » Click the Output
details tab
Network Profile Profile results » Show Pressure profile showing the pressure
Simulation results plot » Select branches boost provided by the generic
(plot) multiphase booster
with the generic
multiphase boosters
Profile Profile results » Show Row details showing simulation
results grid » Select branches results for each generic multiphase
(row booster. Same variables as Profile
with the generic
details) results (row details) for P/T profile,
multiphase boosters » Nodal analysis and System analysis
Expand all » Scroll to tasks above
multiphase booster rows
Node/ Node/branch results » System results grid can be configured
branch Branch » Select columns to show the same generic multiphase
results booster system variables as System
to add any of the generic
(grid) results (plot) for P/T profile, Nodal
multiphase booster
analysis and System analysis tasks
system variable
above
Node/ Node/branch results » Row details showing simulation
branch Node » Expand all » results for each generic multiphase
results booster. Same variables as Profile
Scroll to multiphase
(row results (row details) for P/T profile,
booster rows
details) Nodal analysis and System analysis
tasks above
Output Same as P/T profile, Nodal analysis, and System analysis tasks
summary
Output Same as P/T profile, Nodal analysis, and System analysis tasks
details

Related links:
Multiphase boosters (p.160)
Guide to multiphase booster efficiencies (p.513)
OneSubsea multiphase booster (p.166)
Multiphase boosting technology (p.499)
Add surface equipment using the well editor (p.126)
Add surface equipment using the network diagram (p.137)

Build physical models


165
PIPESIM User Guide

OneSubsea multiphase booster


The OneSubsea multiphase booster (formerly called FRAMO 2009 Multiphase Booster) is based
on helico-axial Multiphase boosting technology (p.499), which involves kinetic energy being added
to the fluid as it flows horizontally through a series of pump stages consisting of a rotating helical-
shaped impeller and a stationary diffuser. The helico-axial booster is a rotodynamic pump that is a
hybrid between a centrifugal pump and an axial compressor. It is able to pump larger fluid volumes
than positive displacement pumps (e.g. twin screw pumps), which is one of the reasons it is
deployed in a majority of offshore and subsea applications.
There are 13 booster models available with the OneSubsea multiphase booster option in PIPESIM.
They are listed below. Each booster model is modeled in PIPESIM using its unique performance
curve provided by OneSubsea. The OneSubsea pump performance curves are stored as data files
in the Framo pump folder in the PIPESIM installation directory ( C:\Program Files\Schlumberger
\PIPESIM\Data\framo09) . To add new booster models provided by OneSubsea, refer to the topic
Add new OneSubsea booster performance curvesThere are thirteen OneSubsea booster models
available with the OneSubsea multiphase booster option in PIPESIM*. The data files for these
pump performance curves are stored in the Framo® pump folder in the PIPESIM installation
directory..
Each OneSubsea booster model is classified based on its nominal capacity and the maximum
pressure differential it can achieve. The nominal capacity is the theoretical volumetric rate that the
booster can deliver when operating at 100% speed, 0% gas volume fraction (GVF) and zero
differential pressure (i.e. there is no internal leakage). The nominal capacity depends on the
suction pressure and fluid properties.
The quickest way to determine the appropriate OneSubsea multiphase booster is to first model the
system using a Generic multiphase boosters (p.160) based on expected operating conditions,
inspect the summary or output file to determine the total volumetric flowrate at the suction. The
next step is to select the OneSubsea booster model that can handle the rate from the list below
and replace the generic multiphase booster in the model, with it.

OneSubsea Booster Models

Pump Impeller Diameter Nominal Capacity Maximum DP


mm in m3/hr m3/day BBL/d bar psi
OneSubsea Helico-Axial 310 12.2 250 6000 37739 180 2611
310-250/180
OneSubsea Helico-Axial 310 12.2 400 9600 60382 180 2611
310-400/180
OneSubsea Helico-Axial 310 12.2 500 12000 75478 45 653
310-500/45
OneSubsea Helico-Axial 310 12.2 500 12000 75478 180 2611
310-500/180
OneSubsea Helico-Axial 310 12.2 600 14400 90573 120 1740
310-600/120
OneSubsea Helico-Axial 310 12.2 800 19200 105669 45 653
310-700/45

Build physical models


166
PIPESIM User Guide

Pump Impeller Diameter Nominal Capacity Maximum DP


OneSubsea Helico-Axial 310 12.2 800 19200 105669 120 1740
310-800/120
OneSubsea Helico-Axial 310 12.2 900 21600 135860 45 653
310-900/45
OneSubsea Helico-Axial 310 12.2 1100 26400 166051 45 653
310-1100/45
OneSubsea Helico-Axial 310 12.2 1100 26400 166051 120 1740
310-1100/120
OneSubsea Helico-Axial 360 14.2 1200 28800 181146 38 551
360-1200/38
OneSubsea Helico-Axial 360 14.2 1500 36000 226433 38 551
360-1500/38
OneSubsea Helico-Axial 360 14.2 1800 43200 271719 38 551
360-1800/38

Note: The numbers in the booster model name refer to the impeller diameter (mm), nominal
capacity (m3/hr), and Max. dP (bar), respectively.

Add a OneSubsea multiphase booster


1. In network -centric mode, click the Insert tab. (In well-centric mode, click the Surface
equipment tab, and then click the Insert tab).
2. In the Internal nodes group, drag the Multiphase booster icon to the location on the
schematic where you want to place it.
3. Double-click the multiphase booster object to open its editor (or right-click on it, and then click
Edit).
4. Enter the name of the booster.
5. Select or clear the Active checkbox to indicate if the booster is turned on or off during the
simulation.
6. Select the Booster type as OneSubsea multiphase booster.
7. Enter the upper limits for one or more of the Operation Parameters described below.

Property Description
Discharge Pressure at the booster outlet
pressure Specifying the discharge pressure is discouraged, particularly in network
simulations, as this specification often creates pressure discontinuities. It is
intended to be used only when the downstream branch is a terminating branch
and not pressure specified (when left blank, the default is 20,000 psia).
Pressure Pressure differential across the multiphase booster (when left blank, default is
differential 10,000 psia)

Build physical models


167
PIPESIM User Guide

Property Description
Pressure ratio Ratio of discharge pressure to suction pressure (when left blank, default is
1,000)
Power Power available for the multiphase booster (when left blank, default is unlimited
but may be constrained by the selected pump model)

Note:
• The four basic booster parameters (Discharge pressure, Pressure differential, Pressure
ratio, and Power) indicate their upper limits for scenarios where more than one of these
parameters is supplied.
You may enter any combination of these parameters or none at all. The simulation will
determine the most limiting of these parameters and this will control the booster
performance.
• When Discharge pressure, Pressure ratio, or Pressure differential is specified, PIPESIM
calculates the required power for multiphase boosting. Alternatively, when Power is
specified, PIPESIM calculates the pressure differential (or pressure ratio or discharge
pressure) that can be developed by the booster. When more than one of these parameters
are specified, PIPESIM determines the most limiting one (i.e. the one which gives the
smallest pump differential pressure) during the course of the simulation, and recalculates
the other parameters based on the limiting parameter.
• The default values for all parameters are unrealistically high; this ensures that each
parameter will not be the limit on pump performance, unless the user supplies a lower, more
realistic value. If none of the parameters are specified, the limit of pump performance will
usually be the speed, and which will in this case be 100%. If not, then the differential
pressure (DP) will be the limit for the specific pump model.

8. Modify the OneSubsea Booster properties, as needed.

Property Description
Model OneSubsea booster model
Select one of 13 available booster models.
Tuning factor Model linear multiplier on calculated pump differential pressure used to
match field operating conditions
Allowable range is from 0.7 to 1.5.
Number of pumps Number of identical OneSubsea multiphase boosters operating in parallel
in parallel (equal flow split between pumps)
Allowable range is from 1 to 999999
Speed limit Maximum speed limit for the pump
Allowable range is from 0 to 100%
Recirculation flow Quantity of flow in recirculation to maintain the required minimum flowrate
rate through the booster

Build physical models


168
PIPESIM User Guide

Property Description

Note: If the flowrate through the booster is below the minimum recirculation
flowrate specified, PIPESIM automatically calculates the difference and
adds it to the pump flowrate to ensure that the minimum recirculation
flowrate constraint for the pump is honored and it can operate safely.

Add new OneSubsea booster performance curves


There are thirteen OneSubsea booster models available with the OneSubsea multiphase booster
option in PIPESIM*. The data files for these pump performance curves are stored in the Framo®
pump folder in the PIPESIM installation directory.
1. Copy the data files provided by OneSubsea to the Framo folder in the PIPESIM installation
directory (for a default installation, C:\Program Files\Schlumberger\PIPESIM
\Data\framo09).
2. Open the file pipesim_framo.xml in the same directory with a text editor and follow the
instructions in the file to update the index of the booster data files to reference the new files.
3. Add a OneSubsea multiphase booster to your model and select one of the new boosters from
the updated model list.

OneSubsea Multiphase Booster Simulation Results


The table below outlines the results that can be generated from running the most common
simulation tasks on a model that includes one or more OneSubsea multiphase boosters.

Task Results Steps to view results Result details


P/T profile, Profile Profile results » Show plot Pressure profile showing the
Nodal results pressure boost provided by the
analysis, and (plot) OneSubsea multiphase booster
System Profile Profile results » Show grid » Row details showing simulation
analysis results results for each OneSubsea
Expand all » Scroll to
(row multiphase booster including:
multiphase booster rows
details) • Selected OneSubsea booster
model
• Speed
• Limiting variable (differential
pressure, power, or speed)
• Pressure ration (discharge
pressure/suction pressure)
• Differential pressure
• Total power (power per booster *
no. of boosters in parallel)
• Outlet/discharge pressure

Build physical models


169
PIPESIM User Guide

Task Results Steps to view results Result details


• Differential temperature
• Gas volume fraction (GVF)
• Total volumetric flowrate
System P/T profile and System System results plot can be
results Analysis configured to show the following
(plot) OneSubsea multiphase booster
System results » Show plot »
system variables, if available:
Double-click on the plot »
• Delta (differential) pressure
Select any axis to display any
of the OneSubsea multiphase • Delta (differential) temperature
booster system variables • Discharge pressure
Nodal analysis • Error number
System results » Double- • Maximum delta (differential)
click on the plot » Select any pressure limit
axis to display any of the • Maximum discharge (Outlet)
OneSubsea multiphase pressure limit
booster system variables
• Maximum pressure ratio limit
• Maximum speed limit (%)
• Minimum flowrate
• Number of parallel pumps
• Power
• Recirculating flow
• Speed
• Suction gas density
• Suction gas flowrate
• Suction GVF (Gas Volume
Fraction)
• Suction liquid density
• Suction liquid flowrate
• Suction pressure
• Suction total vol. flowrate
System P/T profile and System System results grid can be
results Analysis configured to show the same
(grid) OneSubsea multiphase booster
System results » Show
system variables as System results
grid » Branch » Select (plot) shown above
columns to add any of the
OneSubsea multiphase
booster system variables

Build physical models


170
PIPESIM User Guide

Task Results Steps to view results Result details


Nodal analysis
System results » Select
columns to add any of the
OneSubsea multiphase
booster system variables
System P/T profile and System Row details showing simulation
results Analysis results for each OneSubsea
(row multiphase booster
System results » Show
details) Same variables as Profile results
grid » Node » Expand all »
(row details) shown above
Scroll to multiphase booster
rows
Nodal analysis
Not applicable
Output To generate the output Scroll through the report to the node
summary summary report, go to positions for the OneSubsea
Workspace » Options » multiphase boosters in your model
Advanced » Select Show and view the same row detail
information as Profile results (row
engine output files
details) and System results (row
checkbox » Run the task » details) shown above
Click the Output summary
tab
Output To generate the output details Scroll through the report to the node
details report, go to Workspace » positions for the OneSubsea
Options » Advanced » Select multiphase boosters in your model
and view the same row detail
Show engine output files
information as Profile results (row
checkbox » Run the task » details) and System results (row
Click the Output details tab details) above
Auxiliary To view the auxiliary results for The following auxiliary results are
results one or more OneSubsea available.
(p.264) multiphase boosters: OneSubsea performance plot
1. Ensure that the OneSubsea The OneSubsea performance plot is
booster is active by double- a plot of differential pressure versus
clicking on it and selecting its total volumetric flowrate for the
Active checkbox. specific OneSubsea multiphase
2. Run a P/T profile, Nodal booster selected, operating at the
analysis or System analysis specific conditions defined in the
task (with sensitivities, if model which include suction
desired). pressure, gas volume fraction
(GVF), liquid density, and liquid

Build physical models


171
PIPESIM User Guide

Task Results Steps to view results Result details


The Auxiliary results viscosity. It displays the following
tab is automatically information.
generated. • Operating point
3. Click on the Auxiliary • Limiting variable (could be
results tab. differential pressure, power or
4. Under Case, click on a speed)
sensitivity case. • Speed lines and their annotations
5. Under Report object, Click • Power lines and their annotations
a OneSubsea booster.
• Min. speed line
The booster performance plot
and row details will display if the • Max speed line
simulation was successful. • Min. power line
Click on each sensitivity case • Max. power line
and each booster to cycle • Min. flowrate line
through the simulation results.
OneSubsea Operating Point Row
Details
The following booster operating
point details are displayed to the
right of the performance plot.
• Selected OneSubsea booster
model
• Speed
• Limiting variable (Differential
pressure, power, or speed)
• Pressure ratio (discharge
pressure/suction pressure)
• Differential pressure
• Total power (Power per booster *
no. of boosters in parallel)
• Outlet/discharge pressure
• Differential temperature
• Gas volume fraction (GVF)
• Total volumetric flowrate
Network Profile Profile results » Show plot » Pressure profile showing the
simulation results Select branches with the pressure boost provided by the
(plot) OneSubsea multiphase OneSubsea multiphase booster
boosters

Build physical models


172
PIPESIM User Guide

Task Results Steps to view results Result details


Profile Profile results » Show grid » Row details showing simulation
results Select branches with the results for each OneSubsea
(row OneSubsea multiphase multiphase booster
details) boosters » Expand all » Same variables as Profile results
Scroll to multiphase booster (row details) for P/T profile, Nodal
rows analysis, and System analysis tasks
above
Node/ Node/branch results » System results grid can be
branch Branch » Select columns to configured to show the same
results OneSubsea multiphase booster
add any of the OneSubsea
(grid) system variables as System results
multiphase booster system
(plot) for P/T profile, Nodal analysis,
variable
and System analysis tasks above
Node/ Node/branch results » Row details showing simulation
branch Node » Expand all » Scroll to results for each OneSubsea
results multiphase booster
multiphase booster rows
(row Same variables as Profile results
details) (row details) for P/T profile, Nodal
analysis, and System analysis tasks
above
Output Same as P/T profile, Nodal analysis, and System analysis tasks
summary
Output Same as P/T profile, Nodal analysis, and System analysis tasks
details
Auxiliary Not available
results

Related links:
Auxiliary results tab (p.264)
Multiphase boosters (p.160)
Multiphase boosting technology (p.499)
Generic multiphase boosters (p.160)
Add surface equipment using the well editor (p.126)
Add surface equipment using the network diagram (p.137)
FRAMO 2009 (Optional) (p.770)

Multiplier/adder properties
A Multiplier/Adder device increases or decreases the flowrate, but does not change the fluid
properties.

Build physical models


173
PIPESIM User Guide

Property Description
Name Name of the multiplier or adder.
Active Select this check box to activate the multiplier or adder so that it will be used during
simulation. Clear the check box to deactivate.

General properties

Property Description
Function Add
This is the default option. Increases or decrease the flowrate, but does not change
the fluid properties.
Select a flowrate type from the Flowrate list.
Multiply
Click this option to multiply, rather, than add. Multipliers are typically used to model
the effect of identical parallel lines in single branch tasks.
Enter a multiplication factor in the Multiplier field.
Flowrate Options for flowrate types are Liquid, Gas, and Mass. You can add (a positive value)
or remove (a negative value) liquid, gas or mass. However, an added (or removed)
phase does not change phase ratio of the fluid as all three phases are added/removed
in the same proportion.
Multiplier The multiplication factor is always positive. A factor above 1 indicates increased flow
while below 1 indicates decreased flow.

Related links:
Add surface equipment using the well editor (p.126)
Add surface equipment using the network diagram (p.137)

Riser - simple model properties


You can define a riser in a simple model (with basic minimum data) or a detailed model (to capture
detailed profile as well as heat transfer calculations). The property pane and the parameter
displayed will depend on the options that you choose.
Simple model
Use this default mode if the riser has a simple geometry (a vertical pipe or inclined pipe
with constant inclination angle) and you want to perform a simplistic heat transfer
calculation using the known heat transfer coefficient.
Detailed model
Allows you to capture complex riser geometry and at the same time, you will be able to
perform detailed heat transfer calculation including pipeline insulation.

Build physical models


174
PIPESIM User Guide

Riser properties

Property Description
Name Name of the riser
Active Select this check box to activate the riser so that it will be used during
simulation. Active risers are displayed in light green. Clear the check box to
deactivate. Inactive flowlines are treated as connectors and do not cause a
pressure drop.
Mode Based on data availability and need, you can switch between Simple and
Detailed mode. Detailed mode has an additional tab for detailed heat transfer
modeling.
To switch to the detailed model, click Detailed. Click Simple to return to the
simple model (the detailed data will be deleted).
Override global By default, a riser uses global environment data (e.g., ambient temperature,
environmental wind, and current data, etc). If checked, it will use environmental data
data configured locally to the selected riser.

Pipe data properties

Property Description
Inside diameter Inside diameter for the riser
Wall thickness Select and specify either wall thickness or outside diameter (excluding any
Outside diameter coatings)
Roughness Enter the typical value for the absolute pipe roughness based on the material
type. The default value is 0.001 inches (0.0254 mm).

Note: If there is any change in the riser inside diameter, wall thickness, or roughness along the
pipeline, add a second riser object.

Platform data properties

Property Description
Platform height (above Platform height above the water surface. A vertical pipe section will be
waterline) created with air as the ambient fluid.

Profile data properties

Property Description
Horizontal distance Select the appropriate property to specify the distance covered by the riser.
Measured distance
Seabed depth Distance from water surface to seabed.

Build physical models


175
PIPESIM User Guide

Property Description
Use as downcomer Select this check box if the riser is to be used as a downcomer in which case
fluids are transported from the platform to the seabed. This selection will set
the start point of the profile at the top of the air section as indicated by a
large blue circle on the riser schematic.

Note: Typically a riser is assumed to start from the seabed and end at the platform. Total height of
the riser is calculated by adding the platform height (section of riser in air) and the seabed depth
(section of the riser in water). For modeling purposes, if a riser is completely under water, specify 0
for platform height. Similarly, if a riser is fully in air, specify 0 for seabed depth.

Heat transfer data properties

Property Description
Surface temperature Ambient air temperature (a fixed temperature used for air section only)
Seabed temperature Seabed water temperature. Variable temperature used for water
section
U Value type air section Overall heat transfer coefficient (U value) for air section. Available
options are: Insulated, Coated, Bare (in air) and User supplied.
U Value air section Used to calculate heat transfer for the riser section above the water
surface.
U Value type water Overall heat transfer coefficient (U value) for water section. Available
section options are: Insulated, Coated, or User supplied.
U Value water section Used to calculate heat transfer for the riser section in the water.
Inside film coefficient You can include the Inside film coefficient (within the supplied heat
transfer coefficient above), or choose to calculate separately.
Calculation is performed based on selected method (under Home »
Simulation settings » Heat transfer tab ).

Note: The water section temperature profile will be a linear gradient between Seabed
temperature and Surface temperature.

Riser schematic

Property Description
Geometry profile For a riser, the geometry profile is a plot of riser depth versus horizontal
distance.
Ambient Similar to geometry profile, ambient temperature is also plotted against
temperature (plot) depth.
Data view button By default the riser geometry and ambient temperature profiles are displayed
(plot) graphically. A table control button at the bottom right of the plot allows you to

Build physical models


176
PIPESIM User Guide

Property Description
switch to a tabular view of the data. When in tabular view, a chart shaped
button allows you to switch back to plot view.
Riser starts at This is a read only field that indicates the starting point of the riser in the
model and thus indicates the orientation (profile direction) of the riser in the
network. The riser schematic in the editor will display a large blue circle to
indicate the starting point in the profile data.

For more information, see Typical Values (p.652), Heat Transfer Coefficient (p.560), and Internal
Fluid Film Heat Transfer Coefficient (p.563).

Related links:
Environmental properties (p.239)
Riser - detailed model properties - general tab (p.177)
Pipeline comparison: land, subsea, and riser (p.152)

Riser - detailed model properties - general tab


Detailed model allows modeling complex variations in riser geometry and also exposes detailed
heat transfer calculations including modeling for pipe insulation.
Simple model
Use this default mode if the riser has a simple geometry (a vertical pipe or inclined pipe
with constant inclination angle) and you want to perform a simplistic heat transfer
calculation using the known heat transfer coefficient.
Detailed model
Allows you to capture complex riser geometry and at the same time, you will be able to
perform detailed heat transfer calculation including pipeline coating.

Riser properties

Property Description
Name Name of the riser
Active Select this check box to activate the riser so that it will be used during
simulation. Active risers are displayed in light green. Clear the check box to
deactivate. Inactive flowlines are treated as connectors and do not cause a
pressure drop.
Mode Based on data availability and need, you can switch between Simple and
Detailed mode. Detailed mode has an additional tab for detailed heat transfer
modeling.
To switch to the detailed model, click Detailed. Click Simple to return to the
simple model (the detailed data will be deleted).

Build physical models


177
PIPESIM User Guide

Property Description
Override global By default, a riser uses global environment data (for example, ambient
environmental temperature, wind, and current data, etc). If checked, it will use environmental
data data configured locally to the selected riser.

General tab - pipe data properties

Property Description
Inside diameter Inside diameter for the riser.
Wall thickness Select and specify either wall thickness or the outside diameter of the riser,
Outside diameter excluding any coatings.
Roughness Enter the typical value for the absolute pipe roughness based on the material
type. The default value is 0.001 inches (0.0254 mm).

Note: If there is any change in riser inside diameter, wall thickness, or roughness along the
flowpath, add a second riser object.

General tab - platform data properties

Property Description
Platform height (above Platform height above the water surface. A vertical pipe section will be
waterline) created with air as the ambient fluid.

General tab - profile data properties

Property Description
Use as Select this check box if the riser is to be used as a downcomer in which case
downcomer fluids are transported from the platform to the seabed. This selection will set the
start point of the profile at the top of the air section as indicated by a large blue
circle on the riser schematic.
Distance Select either Horizontal distance or Measured distance based on data that you
want to enter. The unknown will be calculated geometrically.
Depth MSL Mean sea level depth of each riser profile data point
Profile Table Based on selected distance, enter the appropriate data for distance and depth
in each row. The distance here refers to the cumulative distance as you go
along the riser in the direction of its orientation.

Riser schematic

Property Description
Geometry profile For a riser, the geometry profile is a plot of riser depth vs horizontal distance.
(plot)

Build physical models


178
PIPESIM User Guide

Property Description
Ambient Similar to geometry profile, ambient temperature is also plotted against
temperature (plot) depth.
Data view button By default riser geometry and ambient temperature profile are displayed
(plot) graphically. A table control button at the bottom right of the plot allows you to
switch to a tabular view of data. When in tabular view, a chart shaped button
allows you to switch back to plot view.
Riser start at This is a read only field that indicates the starting point of the riser in the
model and thus indicates the orientation (profile direction) of the riser in the
network. The riser schematic in the editor will display a large blue circle to
indicate the starting point in the profile data.

For more information, see Typical Values (p.652).

Related links:
Environmental properties (p.239)
Riser - detailed model properties - heat transfer tab (p.179)
Pipeline comparison: land, subsea, and riser (p.152)

Riser - detailed model properties - heat transfer tab


You can model a simple heat transfer using a known single value of heat transfer coefficient that is
applied over the entire length of riser. However, if you choose to calculate heat transfer coefficient,
you can model the effect of insulation and heat transfer with the surrounding water.

Heat transfer tab - heat transfer properties (multiple U value input method)

Property Description
U Value input Overall heat transfer coefficient (U value)
method Specify
Select this option to enter a single U value if it is known.
Calculate
Select this option when the heat transfer coefficient of the surrounding
medium is not known. A heat balance is performed using heat transfer
coefficients calculated from supplied data describing coatings, burial
conditions, and ambient fluid properties.
Inside film You can either Include the Inside film coefficient (within the supplied heat
coefficient transfer coefficient above), or choose to calculate separately. Calculation is
performed based on selected methods (under Home » Simulation settings »
Heat transfer tab).

Build physical models


179
PIPESIM User Guide

Heat transfer tab - thermal data - air section properties (multiple U value input method)

Property Description
Surface temperature Ambient temperature (air section)
U Value type air section Overall heat transfer coefficient (U value) for the riser section above the
water surface. Options are: Bare (in air), Coated, Insulated, or User
supplied.
U Value air section Used to calculate outside heat transfer for the riser section above the
water surface.

Heat transfer tab - thermal data - (specify U value option)

Property Description
U Value type water section Overall heat transfer coefficient (U value) for the riser section in the
water. Options are: Bare (in water), Coated, Insulated, or User
supplied.
U Value water section Used to calculate heat transfer for the riser section in the water.
Depth MSL Mean sea level depth.
Ambient water temperature Surrounding water temperature for the riser at the entered Depth
MSL.

The heat transfer coefficient is calculated from entered pipe and conductivity data. Enter the
following information to compute the overall heat transfer coefficient.

Properties associated with calculate U option

Property Description
Pipe conductivity Thermal conductivity of the pipe material
Surface temperature Ambient air temperature
Wind speed Average velocity of the surrounding air

Heat transfer tab - thermal data (specify U value option)

Property Description
Depth MSL Mean sea level depth.
Ambient water temperature Surrounding water temperature for the riser at the entered Depth
MSL.
Current velocity Average velocity of the surrounding water at each Depth MSL.
Thermal data table for water This table appears only if you have checked the option to override
section global environmental data.

Build physical models


180
PIPESIM User Guide

Heat transfer tab - pipe coating details (calculate U value option)

Property Description
Pipe coating You can add multiple layers of pipe coatings. For each coating layer, specify
details the following:
• Thermal conductivity of the coating material
• Thickness of the coating layer
• Description (for reference purposes only)
Overall outside The outside diameter of the pipe and coating layers. This value is calculated
diameter based on user supplied pipe diameter and coating thicknesses.
Pipe cross section This schematic underneath the coating table displays a Pipe cross-section
schematic showing pipe and coating layers in different colors.

For more information, see Heat Transfer Coefficient (p.560) and Internal Fluid Film Heat Transfer
Coefficient (p.563).

Related links:
Add connections (p.193)
Riser - detailed model properties - general tab (p.177)
Manage flowlines and risers (p.373)

Three phase separator


A separator is a cylindrical or spherical vessel used to separate oil, gas, and water phases from the
incoming mixed fluid stream.
In a 3-phase separator all three phases (oil, gas, and water) are separated and discharged from
three separate outlets and thus these separated streams follow different branches in a network. On
the other hand, in a typical well-centric mode, only one of the outlet streams can be considered for
onward flow modeling and assigned as product stream; the remaining streams cannot be
configured and are discarded.

Graphical representation
A 3-phase separator has 4 ports; one for the feed stream (left) and three for the separated outlet
streams (right). All three outlet ports must be connected in a valid network. The outlets of the
separator icon on the network diagram are color coded.

Build physical models


181
PIPESIM User Guide

Output Product stream


Red Gas (the top outlet port of 3-phase separator)
Green Oil (the middle outlet port of 3-phase separator)
Blue Water (the bottom outlet port of 3-phase separator)
Table 2.10: Key to Outputs

The editor displays all available properties.

Three-phase separator properties

Property Description
Name Name of the three-phase separator.
Active Select this check box to activate the three-phase separator so that it will be used
during simulation. Clear the check box to deactivate. An inactive separator does not
separate and acts like a simple junction.

Three-phase separator general properties

Property Description
Product stream Select the phase to keep.
Gas/Oil Amount of gas removed from the incoming stream. For example, a 90% gas/oil
Efficiency efficiency indicates that 90% of the free gas at the separator condition (pressure
and temperature) will be removed from the separator and sent to the gas outlet
branch.
Water/Oil Amount of water removed. For example, 90% water/oil efficiency indicates that
Efficiency 90% of the water will be removed from the separator and sent to the water
outlet branch.
Separator Operating pressure refers to pressure set at the separator. If this is not set, it
pressure will be calculated. Specifying the separator pressure is discouraged, particularly
(optional) in network simulations, as this specification often creates pressure
discontinuities. It is intended to be used only when the downstream branch is a
terminating branch and not pressure specified.

Build physical models


182
PIPESIM User Guide

Note: For network separators, there will be a pressure discontinuity between the separator and the
separated branch inlet. This represents the pump, compressor, or choke required to adjust the
stream's pressure to that pressure necessary to balance the remainder of the network.

Related links:
Two phase separator (p.183)

Two phase separator


A separator is a cylindrical or spherical vessel used to separate phases from the incoming mixed
fluid stream. A two-phase separator separates gas from liquid or water from the hydrocarbons (gas
and/or oil). To split all three phases, use a three-phase separator instead.
A two phase separator can be used in either single branch or network models. In a single branch,
one of the outlet streams is discarded as waste. In a network model, the second outlet stream
forms a second branch in a network.

Graphical representation
A two-phase separator has three ports; one for the feed stream (left) and two for the separated
outlet streams. If only one of the outlet ports of a 2-phase separator is connected to a branch
exiting separator, it is treated as a single-branch separator. However, if both outlet ports are
connected, it becomes a network separator. The outlets of the separator icon on the network
diagram are color-coded.

Output Product stream


Red Gas (always takes the top outlet port)
Yellow Hydrocarbons (gas and oil) (always takes the top outlet port)
Aqua Liquid (oil plus water) (always takes the bottom outlet port)
Blue Water (always takes the bottom outlet port)
Table 2.11: Key to Outputs

The editor displays all available properties.

Two-phase separator properties

Property Description
Name Name of the two-phase separator
Active Select this check box to activate the two-phase separator so that it will be used during
simulation. Clear the check box to deactivate. An inactive separator does not separate
and acts like a simple junction.

Build physical models


183
PIPESIM User Guide

Two-phase separator general properties (single branch model)

Property Description
Production Stream Select the phase that you want to keep (the continuous stream).
Discarded Stream Select the phase to remove (if a 2-phase separator is used in a single branch
like well stream).
Discontinuous Phase that is separated from the production stream and branched out from
stream the main branch. However, network simulation tracks this phase to the
connected branch and sink.
Efficiency Amount of material removed from the production stream. For example, 90%
efficiency indicates that 90% of the discarded/discontinuous stream is
separated.
Separator Operating pressure refers to pressure set at the separator. This parameter
pressure (optional) appears only if a two-phase separator is part of a network with both
production and discontinuous branches connected. Specifying the separator
pressure is discouraged, particularly in network simulations, as this
specification often creates pressure discontinuities. It is intended to be used
only when the downstream branch is a terminating branch and not pressure
specified.

Note: For network separators, there will be a pressure discontinuity between the separator and the
separated branch inlet. This represents the pump, compressor, or choke required to adjust the
stream's pressure to that pressure necessary to balance the remainder of the network.

Related links:
Add surface equipment using the well editor (p.126)
Add surface equipment using the network diagram (p.137)
Three phase separator (p.181)

Source and junctions “treated as source” properties


A source is a point where fluid enters the network. It represents a generic fluid entry point such as
a tie-in to a separate pipeline or field and should be placed upstream of other components. You
can add multiple sources in a network to model multiple entry points.
On the other hand, a junction is a simple node that is used to connect multiple branches in a
network. A junction itself has no associated physical characteristics such as pressure drop and
temperature change. However, junction allows mixing of multiple fluids at a common pressure and
the temperature at the junction represents the combined stream temperature.
While source can be added only at the boundary of a network, a junction can be converted as a
source anywhere in a network to simulate (single branch operations) and analyze a branch in the
middle of the network. When converted as a source, a junction represents all the properties that
are used to model a source. Treating a junction as a source does not affect the network simulation
tasks.

Build physical models


184
PIPESIM User Guide

Use the Source object to specify explicit upstream boundary conditions of pressure and
temperature. For example, use Source to emulate input boundary flow conditions for the following:
• Wellhead or manifold conditions in a subsea production flowline system
• Export flow conditions from an offshore platform
The following table describes the properties for sources and junctions treated as sources.

Source properties for sources and junctions treated as sources

Property Description
Name Name of the source or junction that is being treated as a source.
Treat as Applies to junctions only. Select this check box to treat the junction as a source.
source When checked, the property editor adds parameters to model source properties.
Also, the junction appears on the network as a bigger circle with a dark blue color.
Active Indicates whether the source is active. An inactive source blocks the source and
connected branch in the network. Note that the active check box does not appear
for a junction or a junction treated as a source.

Pressure/flowrate boundary conditions

Property Description
PQ curve By default a source requires a fixed pressure and/or fixed flowrate boundary
(checkbox) condition. When you select the PQ curve option, you can model a PQ curve
(typically wellhead performance curve). Additional tabs appear to record PQ
table (Table tab) and display PQ-curve (Curve tab).
Temperature Temperature at the source. (Always required)
Pressure Fluid pressure at the source. (Appears when PQ curve is unchecked)
Flowrate Fluid flowrate at the source. (Appears when PQ curve is unchecked)

PQ curve
When you select the the PQ curve check box, the Table and Curve tabs appear.

Property Description
PQ type (Table tab) Flowrate basis for the PQ curve. The options are liquid flowrate, gas
flowrate, or mass flowrate.
PQ Table (Table tab) Enter pressure vs. flowrate relationship in the table.
PQ Curve (Curve tab) Graphically displays the PQ curve.

Note: The unknown solution point (pressure or flowrate) will be interpolated or extrapolated during
iteration based on nearest supplied data points, provided the extrapolation does not lead to a
negative pressure. It is recommended to supply enough data points to cover the expected solution
and solution accuracy.

Build physical models


185
PIPESIM User Guide

Fluid model properties

Property Description
Fluid model Define a fluid model for the source by using one of the following ways:
• Selecting a predefined fluid from the fluid dropdown list
• Creating a new fluid specific to the selected source
You can edit a selected fluid to change properties or simply override the phase
ratio.
Override phase Select this check box if you want to override the phase ratio of a selected fluid.
ratios
Gas ratio If you have checked override, select the gas phase ratio type and specify a
value.
Water ratio If you have checked override, select the water phase ratio type and specify a
value.

Note: You can also create a new fluid or edit the properties of a defined fluid.

Configure junctions as sources


Treating a junction as a source allows the junction to act as a source for a single branch simulation
task performed on any branch exiting the junction. For the purpose of network simulation, this
junction (converted to source) will continue to function like a junction.
1. Identify the branch that you want to simulate and select the appropriate junction upstream of
intended flow path.
2. Display the junction properties by completing one of the following actions:
• On the Surface equipment tab of the well editor, click on the junction object on the surface
schematic.
• Click the junction object name listed at the top of the Wellbore schematic.
• Double-click the junction object name in the Inputs pane for network centric mode.
• Right-click the junction object name in the Inputs pane and click Edit.
• On the network diagram, double-click the junction object.
The junction properties display on the Surface equipment tab or in the appropriate editor
window.
3. Select the Treat as source check box.
4. Configure the source properties as needed.
5. Click Close.

Build physical models


186
PIPESIM User Guide

Convert junctions to wells, sources, sinks, and equipment

Note: PIPESIM provides the ability to convert junctions to wells, sources, sinks, and other
equipment. This feature is to support to process of automatically creating networks from shapefiles,
due to the current limitation that wells and other equipment cannot be imported from the shapefile.

1. To convert a junction, click it in the network in the GIS map view, logical view or in the Inputs
pane.
2. Use the Right-mouse-button (RMB) on the selected junction and select Convert from the option
list.
An additional context-sensitive option list displays with the possible objects that could be placed
at the selected junction based on the number of flowlines connected to it. It is based on the
logic below.

Junction Context
Conversion options 1 junction 1 junction connected 1 junction 1 junction
connected to 1 to 2 flowlines connected to 3 connected to 4
flowline flowlines flowlines
Source x
Sink x
Well x
Heat Exchanger x
Compressor x
Expander x
Generic Equipment x
Injection Point x
Multiplier/Adder x
User Equipment x
Choke x
Generic Pump x
Multiphase Booster x
Two-Phase Separator x x
3. Choose the object you would like to convert the junction to from the list. Repeat this process for
individual junctions in your network until it is a correct representation of what you would like to
simulate.
The PIPESIM junction conversion feature is irreversible (for example, after converting a junction
to a well, source, sink or other equipment), you cannot convert the object back to a junction. To
forestall any issues that may arise from this, make a copy of the model before converting the
junctions or exit the workspace without saving, after you have converted the junctions.

Build physical models


187
PIPESIM User Guide

Related links:
Create or edit fluid models (p.195)

Configure wellstream outlet or inlet conditions


Within the Well editor, use the Wellstream outlet conditions tab to specify boundary
conditions for the wellstream outlet. You may optionally provide boundary conditions for use in
network simulations with boundary conditions specified at the surface (wellstream outlet). The fluid
model defined represents the full wellstream fluid mixture to account for gas lift injection, multiple
completions, and so forth.
Often with a large network, a facility engineer focused on analyzing the network may not be
interested in modeling the entire well for multiple reasons (uncertainty of well data, faster
simulation, simplified network, etc.) and may want to simulate the network using the surface
measurements at the wells (typically at wellhead) as the boundary. By assigning a Wellstream
Outlet (for a production well) and/or Wellstream Inlet (for an injection well), you can perform such
analysis.
This wellstream outlet (or wellstream inlet in case of an injection well), virtually replaces the entire
well upstream (or downstream, for an injection well) of this point and uses a representative
condition (pressure, temperature and fluid) to simulate the resultant simplified network, and is
typically located at the point of measurement. In case of a single branch involving an injection well,
you can use the Wellstream Inlet conditions to define the boundary conditions and fluid associated
with the surface injection source.
By default, the wellstream outlet/inlet is placed at the wellhead, but you can change the location to
any other point on the well branch where surface measurements are available. A small orange
block shown below indicates the location of the wellstream outlet for a production well.

Wellstream outlet at wellhead

Wellstream outlet at choke outlet

Wellstream outlet at end of flowline

Wellstream outlet/inlet requires all the parameters you would specify to a generic source in
PIPESIM. These are:

Build physical models


188
PIPESIM User Guide

Wellstream outlet and inlet conditions properties

Property Description
PQ Curve By default a source requires a fixed pressure and/or fixed flowrate boundary
(checkbox) condition. When you select the PQ curve option, you can model a PQ curve
(typically wellhead performance curve). Additional tabs appear to record PQ
table (Table tab) and display PQ-curve (Curve tab).

Note: PQ Curves are used to represent the deliverability of a wellstream outlet/


inlet for network simulation tasks only. For single-branch simulation tasks, the
PQ curve is ignored and the single-value source pressure and/or rate defined in
the simulation task is used instead.

Temperature The fluid temperature at the wellstream outlet/inlet.


Pressure Fluid pressure at the wellstream outlet/inlet.
( Appears when PQ curve is unchecked)
Flowrate Fluid flowrate (liquid, gas or mass) at the wellstream outlet/inlet. (Appear when
PQ curve is unchecked)

Note: You can also create a new fluid or edit the properties of a defined fluid.

PQ curve properties - table tab

Property Description
PQ type Flowrate basis for the PQ curve. Options are liquid flowrate, gas flowrate
or mass.
PQ Table (Table tab) Enter pressure and flowrate relationship in the table.
PQ Table (Curve tab) Graphically displays the PQ curve

Fluid model properties

Property Description
Fluid model Define a fluid model for the wellstream outlet/inlet to represent the fluid
mixture at this point.
Override phase Select this check box if you want to override the phase ratio of selected fluid.
ratio
Gas ratio If you have checked override, select the gas phase ratio type and specify a
value.
Water ratio If you have checked override, select the water phase ratio type and specify a
value.

Build physical models


189
PIPESIM User Guide

Note: You can also create a new fluid or edit the properties of a defined fluid.

Set wellstream outlet


This wellstream outlet (applies to a production well) virtually replaces the entire well upstream of
this point and uses a representative condition (pressure, temperature and fluid) to simulate the
resultant simplified network. By default wellhead is treated as wellstream outlet. However, you can
assign any other surface equipment or connection as wellstream outlet.
1. Perform one of the following tasks:
• In the well-centric mode, go to surface equipment tab and on the surface schematic right
click on any object (wellhead, other equipment or connection except junction) and select Set
as Wellstream Outlet.
• In the network-centric mode, right click on any object (wellhead, other equipment or
connection except junction) in the well branch and select Set as Wellstream Outlet.
Your wellstream outlet is now set and is displayed on the object with a orange box attached
to the object.
2. To view and configure the properties of wellstream outlet, open well editor and select the
wellhead at the surface schematic under surface equipment tab of well editor.
Property pane for wellstream outlet appears underneath the surface schematic.
3. Configure wellstream outlet conditions and assign a fluid model.

Note: The Wellstream outlet conditions tab properties are optional, except when running a network
simulation with boundary conditions associated with surface conditions.

Set wellstream inlet


This wellstream inlet (applies to an injection well), virtually replaces the entire well downstream of
this point and uses a representative condition (pressure, temperature and fluid) to simulate the
resultant simplified network. In case of a single branch operation, you can use the Wellstream Inlet
conditions to define the boundary conditions and fluid associated with the surface injection source.
1. Perform one of the following tasks:
• In the well-centric mode, go to surface equipment tab and on the surface schematic right
click on any object (wellhead, other equipment or connection except junction) and select Set
as Wellstream Inlet.
• In the network-centric mode, right click on any object (wellhead, other equipment or
connection except junction) in the well branch and select Set as Wellstream Inlet.
Your wellstream outlet is now set and is displayed on the object with a orange box attached to
the object.
2. To view and configure the properties of wellstream inlet, open the well editor and select the
wellhead at the surface schematic under the surface equipment tab of well editor.
Property pane for wellstream inlet appears underneath the surface schematic.
3. Configure wellstream inlet conditions and assign a fluid model.

Build physical models


190
PIPESIM User Guide

Related links:
Create or edit fluid models (p.195)

View surface equipment properties


You can view properties for the various surface equipment objects associated with a well.
1. To view properties for a surface equipment object, complete one of the following actions:
• On the Surface equipment tab of the well editor, click on an equipment object or
connection within the surface schematic.
• Click an object name listed at the top of the Wellbore schematic.
• (Network-Centric Mode) Double-click an object name in the Inputs pane.
• (Network-Centric Mode) Right-click an object name in the Inputs pane and click Edit.
• (Network-Centric Mode) On the network diagram, double-click an equipment object.
• On the network diagram, right click an object and click Edit.
The specific equipment properties display on the Surface equipment tab or in the appropriate
editor window.

Related links:
Add surface equipment using the well editor (p.126)
Add surface equipment using the network diagram (p.137)

Engine Keyword Tool


You can insert the engine keywords tool in a well or as surface equipment. The Engine Keyword
Equipment writes to the engine input file the keywords inline and entered by you. Engine keywords
may also be entered for all single branches or for the entire network under Home » Simulation
settings » Advanced » Engine keywords. Refer to the Advanced properties (p.9) topic for more
details.
To use the Engine keywords tool, perform the following steps:
1. Double click a well to open the Well Editor.
2. Drag and drop the Engine keywords equipment on the well.
The Downhole equipment tab is active to include the engine keywords parameters.
3. Click the Downhole equipment tab and update (if necessary) the engine keywords
parameters.

Property Description
Name Name of the engine surface equipment
Active You can specify if the unit is active or not
Measured depth The depth of the equipment in the well

Build physical models


191
PIPESIM User Guide

Property Description

Note: The Measured depth parameter is only available in the Well Editor.

Engine keywords Enter the keyword used by the engine


4. For more information, see Keyword Reference (p.677).

Related links:
Advanced properties (p.9)
Add downhole equipment (p.61)
Add surface equipment using the network diagram (p.137)

2.2.5 Create a network model from a GIS shapefile automatically

Note:
• PIPESIM currently only supports shapefiles with coordinates referenced to EPSG:4326, known
as the World Geodetic System (WGS) 1984 or WGS84. Shapefiles with coordinates referenced
to other coordinate reference systems must be de-projected to EPSG:4326 coordinates using
standard desktop GIS software such as ArcGIS for Desktop or QGIS, before importing them
into PIPESIM to create networks.
• PIPESIM currently only supports the automatic creation of flowlines from polyline shapefile
features. Wells and other equipment cannot yet be automatically created from point and
polygon shapefile features. However, PIPESIM will automatically add junctions between
flowlines when the network is created and provides the ability to convert these junctions to
wells, sources, sinks and other equipment. Refer to the topic Converting Junctions to Wells,
Sources, Sinks and Equipment for additional details.
• PIPESIM supports the creation of networks from a shapefiles only in new workspaces (for
example, it does not support incremental network creation). You will get an error message if
you attempt to import a network into a workspace that already has any kind of equipment.

1. Go to the Home tab, in the Viewers and results group, select GIS map.
2. From the active Insert tab, click Import network and browse to the location of the shape files.
3. Select the main shape file with the *.shp extension and click Open.
The *.dbf and *.prj files must also be present in the same location. For more information,
refer to GIS Shapefile Basics (p.384).
The Import network dialog box opens where you can map the attributes in the shape file (if
available) to the PIPESIM properties required for simulation. They are the Flowline name, Pipe
Inside Diameter, Pipe wall thickness and Pipe roughness. The Import dialog box also enables
you to define other global environmental and flowline settings for the entire network that will be
imported. This is to speed up the facilitate network creation and process.

Build physical models


192
PIPESIM User Guide

4. In the Shapefile property column, Map the available flowline name attribute in the shapefile to
the PIPESIM flowline name by selecting it from the Options list. If there is no Flowline name
attribute in the shapefile, leave the default [Create New] option. PIPESIM will automatically
create new names for each imported flowline.
The attribute options available in the options list for each Shapefile property are type-specific
(for example, Flowline name) will display only the text attributes in the shapefile, while Pipe ID,
wall thickness and roughness will display only numeric attributes.
5. Map the Shapefile property attributes for Pipe Inside Diameter, Pipe wall thickness, and Pipe
roughness, if available. If any one or all of these properties are unavailable in the shapefile,
check the Override box and manually enter these values. The manual values will be assigned
to every flowline created from the shapefile.
6. The Air temperature, Wind speed, Soil type and Soil conductivity values in the Global
environment settings are the default values under Home in the Data group, select Simulations
settings and click the Environmental tab in the workspace itself. You may leave the default
values or change them by checking the Update global environment settings and entering your
preferred values. All flowlines created will be assigned these values and the global
environmental settings under Simulation settings will also be updated with these values.
7. The Flowline settings section also displays the default values. You may modify the heat
transfer properties for the flowlines, if desired.
The recommendation is to limit the use of the feature to automatically create networks from
shapefiles, to onshore environments only, because risers cannot currently be created from
shapefile features.
8. Click OK to complete the import network process. The created network appears on the GIS
map layer. PIPESIM will create a flowline for every polyline feature and automatically insert
junctions between consecutive polylines, where they share an endpoint.
9. Capture the elevation profiles for the imported network by using the steps from Capturing
Elevation (p.398). Alternatively, you can manually enter the elevation profiles for each flowline
in the Logical view of the Flowline editor by unchecking the Populate from GIS map box.
10.Complete the network creation process by manually converting individual junctions to wells,
sources, sinks and other equipment. For more information, see Converting Junctions to Wells,
Sources, Sinks and Equipment.

Related links:
Create or edit a network model (p.131)
Use the GIS map (p.392)

2.2.6 Add connections


In network-centric mode, the connection objects are contained in the Connections group located
on the Insert tab. Connection objects are used to connect two node objects. The node objects
must have already been added to the model to be connected. Use a connector (a zero-length
flowline) to connect two equipment objects that have no significant pressure or temperature
change between them.

Build physical models


193
PIPESIM User Guide

1. Perform one of the following actions:


• On the Insert tab in the Connections group, click Connector.
• On the Insert tab in the Connections group, click Flowline.
• On the Insert tab in the Connections group, click Riser.
2. On the network diagram, hover the mouse pointer over the first object to be connected. A small
square appears on the object.
3. Click the object, and then click the second object (representing the end point).

Note: A small

appears when the pointer is near the target; a small

appears when it is not close enough.

Either a connector (

), a flowline, or riser appears, connecting the two objects.


4. Double-click either the flowline or the riser, and then enter the properties in the corresponding
editor to define the flowline or riser profile (distance and elevation) by using either the simple
model or the detailed model.

Note: A connector has no configurable properties.

Related links:
Flowline - simple model properties (p.144)
Flowline - detailed model properties - general tab (p.148)
Flowline - detailed model properties - heat transfer tab (p.150)
Flowline overview
Riser - simple model properties (p.174)
Riser - detailed model properties - general tab (p.177)
Riser - detailed model properties - heat transfer tab (p.179)
Riser overview

Build physical models


194
PIPESIM User Guide

3
Create or edit fluid models
Fluid modeling is a fundamental aspect of multiphase flow simulation. Before running any
simulations, you need to create one or more fluid models. Fluid models are used to describe phase
behavior and provide physical and transport properties of the fluid required for any simulation run.
PIPESIM* supports several types of fluids. After you select a fluid type on the Home tab, all the
objects within the model automatically use that fluid type. Even though you can store multiple types
of fluids within an object, PIPESIM only displays the one you selected on the Home tab and uses it
in simulation. These fluid types are currently available:

Fluid Type Description


Black Oil Black oil fluids are modeled as three phases: oil, gas, and water. The amount of
each phase is defined at stock tank conditions by specifying gas and water
phase ratios, typically the gas/oil ratio (GOR) and the watercut. Properties at
pressures and temperatures other than stock tank are determined by
correlations. Water is assumed to remain in the liquid phase. The key property
for determining the phase behavior of hydrocarbons is the solution gas/oil ratio,
which is used to calculate the amount of the gas dissolved in the oil at a given
pressure and temperature.
Compositional Compositional fluid refers to a fluid made up of a number of components. These
fluid can be real molecules, such as methane, ethane, or water, known as library
components, or user-defined pseudo-components that represent the properties
of several molecules known as petroleum fractions. The Flash packages
available in PIPESIM include ECLIPSE 300, GERG, and Multiflash.

Note: When the Multiflash package is chosen in the Compositional fluid mode,
the fluid definition is done using the PIPESIM interface (Multiflash "native").
However, when the MFL File mode is chosen, the fluid definition is done using
files generated by launching the Multiflash interface (Multiflash MFL file). Refer
to the section Multiflash in Compositional Fluid mode ("native") vs Multiflash
MFL files (p.195) for more details on these two options.

A compositional fluid can be defined within PIPESIM and written to a PVT file.

Create or edit fluid models


195
PIPESIM User Guide

Fluid Type Description


PVT File PVT files are generated from a third-party PVT simulator such as Calsep's
PVTSim, KBC's Multiflash™, GUTS, DBR Solids, and OLI's ScaleChem. The
PVT simulator writes a data file that is stored externally to PIPESIM in an ASCII
file. When properties are required at a specific pressure and temperature (PT),
the data file will be interrogated, and interpolation (or extrapolation) used to find
the properties at the required PT point. You may define only one PVT fluid per
model.
MFL File MFL files are generated from KBC's Multiflash software, a 3rd-party PVT flash
package available as a separate licensed module in PIPESIM. Multiflash
enables full phase behavior modeling of multiphase fluids and solids using
standard models with petroleum fluid characterization. You may define a new
MFL fluid (p.205) or edit existing MFL fluid files (p.205) by launching the
Multiflash interface from PIPESIM or simply use existing MFL files (p.205) by
pointing to their locations. Multiple MFL files can be defined in one PIPESIM
model and mapped to different sources and wells in the Fluid Manager,
however care must be taken to ensure that the models and components are
consistent across all MFL files. Refer to the section Ensuring consistency
among multiple fluid files in a PIPESIM network model (p.214), for more details.

Related links:
Define black oil fluids (p.196)
Define compositional fluids (p.205)
Create/define a new mfl fluid (p.205)
Display phase envelopes for compositional fluid or mfl file (p.228)
Override fluid phase ratios (p.230)
Import a PVT file (p.232)
Manage fluids (p.12)

3.1 Define black oil fluids


Black oil fluids are modeled as three phases: oil, gas, and water. The amount of each phase is
defined at stock tank conditions by specifying gas and water phase ratios, typically the gas/oil ratio
(GOR) and the watercut. Properties at pressures and temperatures other than stock tank are
determined by empirical correlations. Water is assumed to remain in the liquid phase. The key
property for determining the phase behavior of hydrocarbons is the solution gas/oil ratio, which is
used to calculate the amount of the gas dissolved in the oil at a given pressure and temperature.
You can create a new fluid using the global Fluid manager or using the Fluid model tab that
appears whenever source properties (completions, injection points, and generic sources) are
defined.
1. On the Home tab, click Fluid manager and select Black oil fluid from the options list as the
global fluid option in the model.

Create or edit fluid models


196
PIPESIM User Guide

The Fluid manager opens.


2. On the Fluids tab, click New (+) at the bottom left corner of the fluid table.
3. Perform one of the following actions:
• To initialize a fluid description using an existing template, click Template and select the one
of the predefined fluids from the list, and then click OK. The new fluid is added to the fluid
table.
• To create a new fluid model without a template, click New, and then click OK.
The Fluid editor window opens.
4. Edit the fluid Name, and enter a Description.
5. Double-click on the appropriate row in the fluid table to open the Fluid editor window, and
define the fluid properties.
6. Perform one of the following actions to save the fluid:
• Click Close and the fluid is saved in the Fluid manager.
• To save the fluid as a template, create a meaningful title and click Save as template, and
then click OK.

Note: The fluid template option is useful when other fluid sources have similar fluids with little or no
variation in properties, correlations, or calibration. The fluid is added to the Fluid templates
catalog and is available in the New fluid window the next time you create a new fluid.
If only the phase ratios (such as watercut/GOR) vary by source, you do not need to create a fluid
template. Instead, change the phase ration overrides on the Fluid mapping tab.

7. To map the defined fluid to one or more fluid sources, click the Fluid mapping tab, and
associate fluids and sources.
8. On the Fluid mapping tab, you may optionally override phase ratios for specific fluid sources
by selecting the Override Phase Ratios check box and specifying the phase ratio type and
value for individual sources.
This method is convenient to reuse defined fluid models for wells or completions associated
with a common fluid, but exhibit different phase ratios due to effects such as coning or exposure
of perforations across contact depths.

Related links:
Properties tab (p.122)
Calibration properties (p.203)
Thermal properties (p.204)

3.1.1 Properties tab


This topic describes the stock tank properties and contaminant fractions properties for black oil
fluids.

Create or edit fluid models


197
PIPESIM User Guide

Stock tank properties

Property Description
Watercut The following options are available to define water content:
GWR Watercut
WGR
Volume % aqueous phase in the total liquid phase at standard
conditions. Typically used when the fluid is predominantly liquid.
GWR
Gas/water ratio at stock tank conditions. Typical for a Gas-water system
when water is the primary phase.
WGR
Water/gas ratio at stock tank conditions. Typically used for fluid where
gas is the predominant phase.
GLR Total gas ratio of the fluid (includes associated and free gas)
GOR The following options are available to define a gas phase in a typical
LGR petroleum fluid:
OGR
GLR
Gas/liquid ratio at stock tank conditions
GOR
Gas/oil ratio at stock tank conditions
LGR
Liquid/gas ratio at stock tank conditions. Typically used when gas is the
predominant phase.
OGR
Oil/gas ratio at stock tank conditions. Typically used when gas is the
predominant phase.
Gas specific Stock tank gas specific gravity (MWt/28.97)
gravity Default value is 0.64.
Water specific Stock tank water specific gravity (default value: 1.02).
gravity
APl gravity Oil phase density at stock tank condition can be defined as API gravity
DOD (141.5/SGL)-131.5. The API gravity default is 30.
Or, you may enter the dead oil density (DOD). The DOD default is 54.7 lb/ft3
or 876 kg/m3.

Contaminant mole fractions


Contaminants are used to improve the accuracy in calculating the compressibility factor (Z factor)
used in the gas equation of state (PV=ZnRT). The CO2 fraction is also used for corrosion
calculations.

Create or edit fluid models


198
PIPESIM User Guide

You can add and track the following gas contaminants in a black oil fluid:

Contaminant Description
CO2 fraction Carbon dioxide
H2S fraction Hydrogen sulfide
N2 fraction Nitrogen
H2 fraction Molecular hydrogen
CO fraction Carbon monoxide

Related links:
Define black oil fluids (p.196)

3.1.2 Viscosity properties


Viscosity is a measure of the fluid's internal resistance to flow. The viscosity of a crude oil is
impacted by several factors like composition, pressure and temperature conditions as well as
presence of dissolved gas.
• Presence of dissolved gas lightens the crude oil and reduces its viscosity.
• As the oil is compressed, viscosity increases.
Below the bubble point, the effect of gas dissolving in oil dominates, and the saturated viscosity
decreases with pressure. However, at the bubble point pressure, all the available gas has
dissolved in the oil.
For pressures above the bubble point, the oil is undersaturated (no more free gas is available).
With increasing pressure, viscosity increases.

Undersaturated oil viscosity


For pressures above the bubble point, there is no vapor phase. The oil is undersaturated because
more gas could be dissolved in the oil, if the gas were available.

Property Description
Correlation Correlations available for calculating undersaturated oil viscosity are:
• None
• Vasquez & Beggs
• Kouzel
• Khan
• De Ghetto
• Hossein
• Elsharkawy
• Bergman & Sutton

Create or edit fluid models


199
PIPESIM User Guide

Property Description
• Petrosky-Farshad
These correlations cover a wide range of crude oil types. For more detail on these
including formulation and applicability, see the Technical Description section of the
PIPESIM Online help.

Note: If you select None as the undersaturated oil viscosity method, the
undersaturated oil viscosity is assumed to be the same as the saturated live oil
viscosity at the same temperature and pressure.

Par A The Kouzel correlation exposes these parameters for tuning. The default values
Par B (0.239 and 0.01638) are suggested.

For more information, see Undersaturated Oil Viscosity. (p.599)

Live oil viscosity


Live oil is above stock tank pressure and contains dissolved gas.

Property Description
Correlation Correlations available for calculating live oil viscosity are:
• Beggs & Robinson
• Chew & Connally
• Khan
• De Ghetto
• Hossein
• Elsharkawy
• Petrosky-Farshad
These correlations cover a wide range of crude oil types. For more detail on these
including formulation and applicability, see the Technical Description section of the
PIPESIM Online help.

For more information, see Live Oil Viscosity Correlations. (p.597)

Dead oil viscosity


Dead oil is oil at stock tank pressure or oil with no dissolved gas; for example, an oil in which gas
has been removed by a separator and pumped through an export line.

Property Description
Correlation Correlations available for calculating dead oil viscosity are:
• Beggs & Robinson

Create or edit fluid models


200
PIPESIM User Guide

Property Description
• Glaso
• Kartoatmodjo
• De Ghetto
• Hossein
• Elsharkawy
• Petrosky-Farshad
• User 2-point
• User Table
These correlations cover a wide range of crude oil types. For more detail on
these including formulation and applicability, see the technical section of
PIPESIM Online help.

Note: To display dead oil viscosity calculated by any of these correlations,


specify two measured temperatures from the correlation drop-down selector.
Viscosities calculated by the selected correlation will be displayed.

User 2 Point Instead of using one of the listed correlations, you can enter measured viscosity
viscosity lab data at two temperatures.
Temperature (1st), Temperature (2nd) measured temperature points
Viscosity (1st), Viscosity (2nd), corresponding measured viscosities

Note: Viscosities at all other temperatures will be calculated by the curve fitting
between these two data points.

User-defined Similar to 2-point viscosity data; however ,a viscosity table is used when you
table have three or more lab measurement data points.

For more information, see Dead Oil Viscosity. (p.595)

Oil-water mixtures
An emulsion is a mixture of two immiscible liquids. One phase (the dispersed phase) is carried as
droplets in the other (the continuous phase). In oil/water systems at low watercuts, oil is usually the
continuous phase. As watercut increases, there is a point where phase inversion occurs, and water
becomes the continuous phase. This point is the watercut cutoff, and it typically occurs between
55% and 70% watercut. The viscosity of the mixture is usually highest at and just below the cutoff.
Emulsion viscosities can be many times higher than the viscosity of either phase alone.

Create or edit fluid models


201
PIPESIM User Guide

Property Description
Emulsion Liquid viscosity and oil/water emulsions methods. Based on the method you
Viscosity selected, you might need to enter values for some properties. Examples:
method Set to viscosity of the continuous phase
The liquid viscosity equals the oil viscosity when the watercut is equal to or less
than the cutoff; otherwise, it equals the water viscosity.
Volume ratio of oil and water viscosities
The mixture viscosity equals the volume ratio of the oil and water viscosities.
PIPESIM* Original Woelflin 1942 Loose Emulsion
Use the original Woelflin Loose Emulsion correlation when the watercut is equal
to or less than the cutoff; otherwise, set it equal to the water viscosity above.
Woelflin (p.664) 1942 Loose Emulsion
Use the Loose Emulsion correlation at watercuts below the cutoff; otherwise, set
it to the water viscosity above it.
Woelflin 1942 Medium Emulsion
Use the Medium Emulsion correlation at watercuts below the cutoff; otherwise,
set it to the water viscosity above it.
Woelflin 1942 Tight Emulsion
Use the Tight Emulsion correlation at watercuts below the cutoff; otherwise, set
it to the water viscosity above it.
Brinkman (p.664) 1952
Use Brinkman 1952 correlation. This method generally predicts elevated liquid
viscosities on either side of the cutoff.
Vand (p.664) 1948, Vand coefficients
Use Vand correlation with Vand's coefficients. This method generally predicts
elevated liquid viscosities on either side of the cutoff.
Vand (p.664) 1948, Barnea & Mizrahi coefficients
Use Vand correlation with Barnea & Mizrahi coefficients. This method generally
predicts elevated liquid viscosities on either side of the cutoff.
Vand (p.664) 1948, user-defined coefficients
Use Vand correlation with coefficients that you selected for tuning. This method
predicts liquid viscosities on either side of the cutoff. Based on your choice of
coefficients, the results can yield elevated or depressed viscosities.
Richardson (p.664) 1958
Enter two coefficients, one is for oil in water and the other is for water in oil. This
method predicts liquid viscosities on either side of the cutoff. Based on your
choice of coefficients, the results can yield elevated or depressed viscosities.
Leviton and Leighton (p.664) 1936
Use Leviton and Leighton correlation. This method generally predicts elevated
liquid viscosities on either side of the cutoff.

Create or edit fluid models


202
PIPESIM User Guide

Property Description
User-defined table
Enter a table of the Watercut and Viscosity ratio or emulsion viscosity.
Watercut Perform one of the following actions:
cutoff • Click Calculate to use the Brauner-Ullman (p.664) method.
• Click Specify and enter a watercut cutoff percent (%) or fraction (fract.).
The default method is Specify. A typical value is between 55% and 70%; the
default value is 60%.

Related links:
Liquid viscosity and oil/water emulsions (p.635)

3.1.3 Calibration properties


Black Oil fluid models use a set of empirical correlations to calculate various properties like
viscosity, bubble-point pressure, density, and so forth. In many cases, these calculated properties
do not match the values measured at lab. Calibration is required to improve the accuracy of the
fluid property calculations by adjusting the correlations to match measured data obtained by
laboratory analysis.
The bubble-point pressure is one of the most important parameters in black oil fluid modeling as
most of the fluid properties and choices of correlation change above and below this point. The
bubble point refers to the pressure and temperature conditions at which all the available gas are
fully dissolved in the oil. A slight drop in pressure (assuming constant temperature) will result in the
first bubble of gas coming out of oil phase and as pressure drops further, more and more gas will
come out of solution. Oil above the bubble point is referred as under-saturated oil as the amount of
gas dissolved is always less than what it could dissolve. On the other hand, oil below the bubble
point is referred to as saturated oil. Oil with no dissolved gas is referred to as dead oil.
If the calibration data is omitted, PIPESIM will calibrate on the basis of oil and gas gravity alone.
To calibrate a black oil fluid, add measured data and corresponding pressure and temperature
conditions.

Property Description
Density Property above the bubble point.
OFVF Density
Mass per unit of volume
OFVF (Oil formation volume factor)
Ratio of the liquid volume at reservoir conditions to that at stock tank
conditions
Pressure Measured pressure
Temperature Measured temperature

Create or edit fluid models


203
PIPESIM User Guide

Property Description
Correlation Fixed correlation
Table 3.1: Calibration Above the Bubble Point

Property Description
Sat. Gas Quantity of gas that dissolves in the oil and saturates it at a given
pressure and temperature, such as reservoir conditions.
Pressure Pressure at the bubble point
Temperature Temperature at the bubble point
Solution Gas correlation List of available correlations
Table 3.2: Calibration at the Bubble Point

Property Description
Density Property at or below the bubble point.
OFVF Density
mass per unit of volume
OFVF (Oil formation volume factor)
ratio of the liquid volume at reservoir conditions to that at stock tank
conditions
Live Oil Viscosity Viscosity of oil containing dissolved gas
Gas viscosity Viscosity of free gas
Gas Z gas compressibility factor
Pressure Measured pressure
Temperature Measured temperature
Correlations List of available correlations
Table 3.3: Calibration At or Below the Bubble Point

For more information, see Gas Compressibility (p.601), Oil Formation Volume Factor for Saturated
Systems (p.592), and Live Oil Viscosity Correlations (p.597).

Related links:
Oil formation volume factor (p.592)
Gas viscosity (p.604)

3.1.4 Thermal properties


The following table describes the thermal property options which primarily influence heat transfer
calculations.

Create or edit fluid models


204
PIPESIM User Guide

Property Description
Specific heat Specific heat capacity data is required for the calculation of fluid
capacity enthalpies. Application has default values of specific heat capacities for all
three phases (oil, gas and water). You can override these.
Thermal conductivity
Enthalpy calculation Method to use for the enthalpy calculation:
method • Method1983
• Method2009
The black oil fluid model makes some approximations in the entropy
balance, based on the thermodynamic behavior of typical hydrocarbon
fluids.
Specific latent heat of (Only available with Method2009) Amount of heat required to convert unit
vaporization mass of a liquid into the vapor without a change in temperature.

For more information, see 2009 Method (p.606) and 1983 Method (p.607).

Related links:
Define black oil fluids (p.196)

3.2 Define compositional fluids


Compositional fluid modeling involves defining mole fractions for each individual molecular
component or petroleum fraction. Equations of state are used to flash the fluid (calculate vapor-
liquid equilibrium) and determine thermodynamic and transport properties. Compositional fluid
modeling is generally regarded as the most accurate approach, especially for wet gas, condensate
and volatile oil systems which require more rigorous heat transfer calculations and more accurate
phase fractions.
Creating a compositional fluid is a two-stage process.
• Define (or update) the global component list and model settings.
• Specify the composition for each individual fluid source.
1. Define (or update) the global component list and model settings.
a. On the Home tab, click Fluid manager and select Compositional fluid from the option list
as the global fluid option in the model.
The Fluid manager opens.
b. Select the components that are present by selecting the check boxes next to the component
names.
c. To define petroleum fractions (pseudo-components), click New and specify the name and
properties of the pseudo-component.
Depending on the flash package, certain minimum properties are required (as indicated with
the red boxes). Once these properties have been supplied, all other properties are

Create or edit fluid models


205
PIPESIM User Guide

calculated. Additional properties may be entered unless the field is marked as read only in
which case this value is always calculated.
d. To specify user-defined binary interaction coefficients, check the Override binary
interaction coefficients in the Models section. This will display a tabular view of the binary
coefficients for the default BIP set for the PVT package, which can then be edited for
example, Oil and gas 4 for Multiflash. If you would like to override the values of another BIP
set, uncheck the Override binary interaction coefficients box, change the BIP set and
then check the Override box again.

Note: The only binary interaction coefficients you can modify are for the ECLIPSE 300 and
Multiflash PVT packages. The GERG-2008 flash package uses NIST-REFPROP for calculation of
transport properties, and REFPROP limits certain components from being used in combination.
You may switch flash packages even after fluid models have been defined. However, due to
differences in component libraries, petroleum fraction definitions, and limitations with component
combinations (GERG-2008), some aspects of the fluid definition may not fully convert. Please refer
to the Message center to view any issues encountered during the conversion process.

2. Specify the composition for each individual fluid source.


You may define compositional fluid models for individual sources once the global component
list and model properties has been specified. You may apply these fluid models to one or more
fluid sources entering at each sources that supply flow to the system. Each fluid consists of a
set of mole fractions that specify the composition of the total stream, regardless of any phase
split the composition may exhibit at any pressure and temperature.
You can create a new fluid using the global Fluid manager or using the Fluid model tab that
appears whenever source properties (completions, injection points, and generic sources) are
defined.
a. On the Home tab, click Fluid manager and select Compositional fluid from the option list.
The Fluid manager opens.
b. To create a new compositional fluid, perform one of the following actions:
• In the Fluid manager , on the Fluids tab, click New (+).
• On the Inputs pane, right-click Fluids, and then click New.
• From within a completion, injection point, or generic source properties editor, on the
Fluids tab, click New.
The Fluid editor window opens.
c. Edit the fluid Name, and enter a Description.
d. Specify the mole fractions for the fluid.
As you enter the mole fractions, a phase envelope representing the fluid displays the fluid
properties at standard conditions.
e. To view the phase compositions and properties at conditions of interest, enter Pressure and
Temperature in the Flash/Tune fluid section.
f. To calculate a composition to match measured phase ratios, click Specify and enter the
observed gas and water ratios.

Create or edit fluid models


206
PIPESIM User Guide

• Compare the phase envelope of the tuned fluid relative to the original one. Also, look at
the phase compositions and properties associated with the tuned fluid.
• To update the fluid composition to the values calculated to achieve the match, click
Apply tuned results to fluid.

Notes:
• The methods used to match phase ratios require that components be initially present in
some amount to achieve the match. For example, if no water is present in the fluid, a
composition corresponding to a non-zero watercut cannot be calculated. Likewise, if
hydrocarbon liquid is present, no solution will be calculated if, for example, the only
hydrocarbon component defined is methane. Also, consider that there is no unique
phase composition to match specified gas and water ratios. The method PIPESIM uses
minimizes the sum residual errors for all components present. This approach is generally
satisfactory for fine-tuning phase ratios to match observed data so long as the original
composition is based on the laboratory analysis of a representative fluid sample obtained
in the field.
• If you are using Multiflash and have a Multiflash Hydrates license and water and light
gases in your composition, the Hydrate formation curve will automatically appear on the
phase diagram

g. Click Close to save the new fluid.


h. To map the defined fluid to one or more fluid sources, click the Fluid mapping tab, and
associate fluids and sources.
i. On the Fluid mapping tab, you may optionally override phase ratios for specific fluid
sources by selecting the Override Phase Ratios check box and specifying the phase ratio
type and value for individual sources.
This method is convenient to reuse defined fluid models for wells or completions associated
with a common fluid, but exhibit different phase ratios due to effects such as coning or
exposure of perforations across contact depths. The same method used to tune individual
compositional fluid models is automatically applied.
For more information, see the list of REFPROP and GERG-2008 component restrictions and
Compositional Fluid Modeling (p.614) in the Technical Description.

Related links:
Salinity models (p.199)
Binary interaction parameter (BIP) sets (p.92)
Display phase envelopes for compositional fluid or mfl file (p.228)

3.2.1 Viscosity properties


Viscosity is a measure of the fluid's internal resistance to flow. The viscosity of a crude oil is
impacted by several factors like composition, pressure and temperature conditions as well as
presence of dissolved gas.

Create or edit fluid models


207
PIPESIM User Guide

• Presence of dissolved gas lightens the crude oil and reduces its viscosity.
• As the oil is compressed, viscosity increases.
Below the bubble point, the effect of gas dissolving in oil dominates, and the saturated viscosity
decreases with pressure. However, at the bubble point pressure, all the available gas has
dissolved in the oil.
For pressures above the bubble point, the oil is undersaturated (no more free gas is available).
With increasing pressure, viscosity increases.

Oil-water mixtures
An emulsion is a mixture of two immiscible liquids. One phase (the dispersed phase) is carried as
droplets in the other (the continuous phase). In oil/water systems at low watercuts, oil is usually the
continuous phase. As watercut increases, there is a point where phase inversion occurs, and water
becomes the continuous phase. This point is the watercut cutoff, and it typically occurs between
55% and 70% watercut. The viscosity of the mixture is usually highest at and just below the cutoff.
Emulsion viscosities can be many times higher than the viscosity of either phase alone.

Property Description
Emulsion Liquid viscosity and oil/water emulsions methods. Based on the method you
Viscosity selected, you might need to enter values for some properties. Examples:
method Set to viscosity of the continuous phase
The liquid viscosity equals the oil viscosity when the watercut is equal to or less
than the cutoff; otherwise, it equals the water viscosity.
Volume ratio of oil and water viscosities
The mixture viscosity equals the volume ratio of the oil and water viscosities.
PIPESIM* Original Woelflin 1942 Loose Emulsion
Use the original Woelflin Loose Emulsion correlation when the watercut is equal
to or less than the cutoff; otherwise, set it equal to the water viscosity above.
Woelflin (p.664) 1942 Loose Emulsion
Use the Loose Emulsion correlation at watercuts below the cutoff; otherwise, set
it to the water viscosity above it.
Woelflin (p.664) 1942 Medium Emulsion
Use the Medium Emulsion correlation at watercuts below the cutoff; otherwise,
set it to the water viscosity above it.
Woelflin (p.664) 1942 Tight Emulsion
Use the Tight Emulsion correlation at watercuts below the cutoff; otherwise, set
it to the water viscosity above it.
Brinkman (p.664) 1952
Use Brinkman 1952 correlation. This method generally predicts elevated liquid
viscosities on either side of the cutoff.

Create or edit fluid models


208
PIPESIM User Guide

Property Description
Vand (p.664) 1948, Vand coefficients
Use Vand correlation with Vand's coefficients. This method generally predicts
elevated liquid viscosities on either side of the cutoff.
Vand (p.664) 1948, Barnea & Mizrahi coefficients
Use Vand correlation with Barnea & Mizrahi coefficients. This method generally
predicts elevated liquid viscosities on either side of the cutoff.
Vand (p.664) 1948, user-defined coefficients
Use Vand correlation with coefficients that you selected for tuning. This method
predicts liquid viscosities on either side of the cutoff. Based on your choice of
coefficients, the results can yield elevated or depressed viscosities.
Richardson (p.664) 1958
Enter two coefficients, one is for oil in water and the other is for water in oil. This
method predicts liquid viscosities on either side of the cutoff. Based on your
choice of coefficients, the results can yield elevated or depressed viscosities.
Leviton and Leighton 1936
Use Leviton and Leighton correlation. This method generally predicts elevated
liquid viscosities on either side of the cutoff.
User-defined table
Enter a table of the Watercut and Viscosity ratio or emulsion viscosity.
Watercut Perform one of the following actions:
cutoff • Click Calculate to use the Brauner-Ullman method.
• Click Specify and enter a watercut cutoff percent (%) or fraction (fract.).
The default method is Specify. A typical value is between 55% and 70%; the
default value is 60%.

Related links:
Liquid viscosity and oil/water emulsions (p.635)

3.2.2 Salinity models


PIPESIM provides the option to define a "Salt component" as part of a Compositional fluid. This is
a useful feature to model the effect of salt on hydrate inhibition and its depression of the freezing
point and vapour pressure of water. In PIPESIM, the salt component cannot be explicitly (or
manually) defined. It can only be defined in one of two ways:
• Compositional fluid mode: You may choose one of two Salinity model options: Ion Analysis or
Total Dissolved Solids (TDS) to define a Salt component when creating a Compositional fluid.
• MFL file mode: You may define a Salt component when creating an MFL fluid in the Multiflash
interface using the Inhibitor Calculator. Refer to the Multiflash Help for details.

Create or edit fluid models


209
PIPESIM User Guide

The Salt component is a pseudo-component defined with a certain number of moles that
represents the NaCl equivalence of the salinity defined by the specified TDS or Ion Analysis data.
Choosing a Salinity model and entering its associated data will do the following.
• Add "Water" and the "Salt component" to the global component list
• Calculate the moles of the "Salt component" which is the moles of NaCl in an aqueous solution
that is equivalent to the aqueous solution defined by the specified TDS or Ion Analysis data

Define a salt component in compositional fluid mode using a salinity model


The steps below outline the procedure.
1. Set the Fluid mode for the workspace to Compositional, from the Fluid Manager and select
the global Salinity model option: TDS or Ion Analysis from the option list in the Component/
model settings tab. This will automatically add a read-only Salt component and Water to the
component list. Add the remaining components to the Component list by checking the boxes
beside them.

Note:
• The Salinity model option "None" implies that no Salt Component will be added to the
Compositional fluid. This is the default.
• The Salinity model selection is a global setting. All compositional fluids created in the
workspace will only be able to use the chosen salinity model.

2. On the Fluids tab, click New (+) at the bottom left corner of the Fluids table. Double-click the
row of the newly-created fluid to launch the Fluid editor. A new tab, Salinity Analysis, appears
next to the Viscosity tab in the Fluid editor.

Note: The Salinity analysis tab will appear in the Fluid editor only when the Salinity model
option is set to either TDS or Ion analysis.

3. Click the Composition tab and enter the value for the Moles of all components except the Salt
Component, which is read-only. By default, the Salt Component molar composition will be blank
until a Salt component is calculated from the Salinity analysis tab.
4. Click the Salinity Analysis tab and enter the required Salinity information for the previously-
selected Salinity model option: TDS or Ion Analysis, by overriding the default zero values.

Note:
• The required data for the Ion analysis option is: Cation and Anion concentration from a lab-
measured brine analysis (at least 1 of each must be specified) and Brine density*.
• The required data for the TDS option is: TDS from a lab-measured brine analysis and Brine
density*.
• *Brine density: For both the TDS and Ion analysis options, the default calculated brine
density may be used or a measured density/salinity may be entered. PIPESIM also provides
the option to convert measured salinity at standard conditions to measured density. To do

Create or edit fluid models


210
PIPESIM User Guide

this, choose Measured salinity (standard conditions) as the Brine density option, enter
the salinity value and then select Measured density from the option list. The converted
density value will be displayed.

5. If all the required data has been correctly entered, the Salt component moles in the Salinity
analysis tab will be computed and automatically updated in the Composition tab.
The phase envelope will also be regenerated and the phase compositions and phase properties
from the flash conditions will be automatically updated to reflect the calculated salt component
molar composition. You may observe the impact of the salt on the hydrate and water lines on the
phase envelope.

Note: There are several errors that may cause the Salt component moles to fail to calculate.
These errors will trigger red validation boxes in the data fields with validation issues and will
display clear mouse-over messages indicating the problems. The validation messages will also
appear in the Message center. Once all the validation issues are resolved, the Salt component
moles will be successfully computed.

Import PIPESIM classic models with compositional fluids including a salt


component
PIPESIM Classic (2012 and previous) supports three (3) Salinity model options:
• TDS
• Ion Analysis
• Salt Analysis
The new PIPESIM only supports TDS and Ion Analysis. When PIPESIM Classic models with Salt
Analysis data are imported in the new PIPESIM, the global Salinity model option under
Component/model settings in the Fluid manager, will be set to "None," and the data will not be
imported. For Classic models with other salinity models (TDS and Ion Analysis ), the data will be
imported. PIPESIM Classic models with multiple compositional fluids defined with a mix of different
Salinity models, will be imported, with the exception of data associated with the Salt Analysis
model type. For this special import case, the supported data (i.e. associated with the TDS and Ion
Analysis options only) will be imported, but the global Salinity model option will be set to "None."
To view the imported data, simply choose the supported Salinity model with data, from the global
Salinity model list. This is because only 1 global Salinity model may be defined for the entire
workspace. You will have to decide on one Salinity model option and enter the required data for
the same salinity model type for all the compositional fluids you choose to model with a Salt
component. Clear and descriptive messages related to the outcome of the salinity model import will
be displayed in the Message center.

Related links:
Define compositional fluids (p.205)

Create or edit fluid models


211
PIPESIM User Guide

3.2.3 Binary interaction parameter (BIP) sets


Binary interaction parameters ( BIPs) are adjustable factors, which are used to alter the predictions
from a model until the predictions match experimental data as closely as possible. BIPs are usually
generated by fitting experimental VLE or LLE data to the model in question. BIPs apply between
pairs of components, although the fitting procedure may be based on both binary and multi-
component phase equilibrium information.
Different PVT packages have different BIP sets as outlined below. All BIP sets can be overridden
in PIPESIM except the GERG BIP set.

BIP Set Multiflash E300 GERG


OilGas1 x BIP's are not exposed in the PIPESIM interface and cannot be
OilGas2 x overridden.

OilGas3 x
OilGas4 x
PVTi x

Multiflash BIP sets


The interaction parameters in OILGAS1 were from the correlation recommended by Nishumi et al.
They correlated parameters between all the light gases and hydrocarbons up to Decane. However,
when these were used in the prediction of hydrate dissociation temperatures for systems
containing a significant amount of condensate or crude, it became apparent that neither the bubble
or dew points nor the hydrate dissociation temperatures were being predicted accurately.
After further investigation new correlations contained in OILGAS2 based on BIPs recommended by
Whitson for Methane with heavy hydrocarbons were introduced. The new correlations provide
heavy hydrocarbon interaction parameters for Ethane to Pentane, all of which were previously set
to zero. For systems containing Methane and alkanes up to C10 there is no major difference
between OILGAS1 and OILGAS2 BIP sets, but after C10 OILGAS1 parameters decrease rapidly in
value, reaching negative values after C16. In contrast, the values of OILGAS2 parameters continue
to increase gently with increasing carbon number.
OILGAS3 and OILGAS4 were later introduced and the only difference is in the parameters for
MEG/alkanes for the RKSA-info (hydrate) model. The newer parameters predict a lower (correct)
solubility for MEG in heavy hydrocarbons but are less accurate for the solubility of hydrocarbons in
MEG. We would generally recommend the use of the latest parameters, OILGAS4.

Related links:
Define compositional fluids (p.205)

3.2.4 E300 thermal coefficients


Thermal coefficients are the coefficients used in the following equations to calculate the Specific
Heat Capacity, Enthalpy and Entropy for individual components when the E300 PVT package is
selected. The thermal coefficients can be viewed for a component in a defined compositional fluid
by double-clicking on the component to launch the component editor and expanding the thermal

Create or edit fluid models


212
PIPESIM User Guide

coefficients header. They are read-only fields that are populated only when the E300 package is
selected. The properties (specific heat capacity, enthalpy & entropy) of the fluid mixture are then
calculated as a weighted average of the property values of the individual components.

Specific heat capacity

Enthalpy

Entropy

Where
Cp = Specific Heat Capacity, J/mol K
H = Enthalpy, J/mol
S = Entropy, J/mol K
T = Temperature, Kelvin
C0 = Coefficient 0, J/(mol )
C1 = Coefficient 1, J/(mol K)
C2 = Coefficient 2, J/(mol K2)
C3 = Coefficient 3, J/(mol K3)
C4 =Coefficient 4, J/(mol K4)
C5 = Coefficient 5, J/(mol K5)
C6 = Coefficient 6, J/mol K

3.3 Multiflash in the compositional fluid mode (native) vs.


Multiflash MFL files
PIPESIM enables two options for using the Multiflash package:

Package Type Description


Multiflash in the This option is enabled when you set the fluid mode to Compositional fluid
Compositional and choose Multiflash as the PVT package. With this option, the entire fluid
definition is done at a global level using the PIPESIM interface. The models
selected (equation of state, viscosity, BIP set, etc.) are applied to all individual

Create or edit fluid models


213
PIPESIM User Guide

Package Type Description


Fluid mode fluids defined in the model. The models available with this option are a subset
("native") of the full extent of the models available with the Multiflash MFL files option,
which gives you access to the standalone Multiflash program directly.
Multiflash MFL This option is enabled when the fluid mode is set to MFL file. The fluid
files definition is done using files generated by launching the Multiflash interface
(Multiflash MFL file). This option gives you access to the full extent of the
models available in Multiflash and is the required option for wax and
asphaltene thermodynamics. For complete details about defining and
managing MFL files in PIPESIM, refer to the sections Creating/Defining a new
MFL fluids (p.205), Using existing MFL fluid files (p.205), Editing an MFL fluid
file (p.205), and Availability of Multiflash models in PIPESIM using the MFL
file fluid mode option . (p.214)

Related links:
Create/define a new mfl fluid (p.205)

3.4 Ensure consistency among multiple fluid files in a


PIPESIM network model
PIPESIM supports the ability to map a single MFL file to a workspace or multiple MFL files to
different wells and sources in a single workspace. When a single MFL file is mapped in the
PIPESIM workspace, all the information in the MFL file including the defined models (equation of
state, viscosity, thermal conductivity, surface tension, etc.) and any tuning that was done to match
experimental data, will be honored (used) by PIPESIM during the simulation.
However, when multiple MFL files are mapped in the same workspace, the models defined in the
MFL files (i.e. equations of state, viscosity, thermal conductivity, surface tension, etc.); in addition
to any tuning done to match experimental data, will be ignored and PIPESIM will use its default
models as defined in the table below during the simulation. For this reason, it is strongly
recommended that a single MFL file be mapped to a PIPESIM workspace.
If multiple MFL files must be mapped to a single PIPESIM workspace, in addition to the limitations
mentioned above, care must be taken to ensure that the models and components are consistent
across all MFL files i.e. the fluid characterization is consistent across the various fluid files to
ensure reasonable simulation results for network models.
Here are a few guidelines to follow when using multiple fluid files in a single PIPESIM network
model:
• All fluid files should have the same template of components

Note: Some components may be set to have zero number of moles in the different fluids, but
the component set should be the same across all fluids.

Create or edit fluid models


214
PIPESIM User Guide

• All fluid files should be characterized to the same number of pseudo-components and use the
same correlations and methods to estimate the properties of the pseudo-components (for
example, critical properties, acentric factors, omegas, etc.).
• All fluid files should be defined with the same Binary Interaction Parameter (BIP) set.
• It is recommended that you designate one MFL file as the master MFL file using the
PROCOPTIONS (p.824) keyword to ensure that all component properties and fluid tuning
information are taken from the master file and applied to all the other MFL files in the model.
This requires that all fluids in the model be defined with MFL files that have the same set of
components and component properties i.e. the files should only differ from one another in the
mole ratios of each component. If the PROCOPTIONS keyword is not used, PIPESIM will
arbitrarily select one of the MFL files to be the master.

Note:
• PIPESIM can currently use tuned data in one (1) MFL fluid file in the workspace. If you tune the
models (EOS, Viscosity, etc.) to match experimental data for example, viscosity, density, etc., in
the Multiflash interface, it is strongly recommended that you use only one MFL file (the one with
the tuned data) in the workspace. If you use multiple MFL files with tuned data in the PIPESIM
workspace, the tuned data in only one of the MFL files will be used in the PIPESIM simulation
run.
• When a single MFL file is mapped in the PIPESIM workspace, all the information in the MFL file
including the defined models (equation of state, viscosity, thermal conductivity, surface tension,
etc.) and any tuning information is honored by PIPESIM during the simulation. However, when
multiple MFL files are mapped in the PIPESIM workspace, PIPESIM will ignore the models
configured in the MFL files and use the following defaults.

Mapping of Multiflash equations of state to the PIPESIM


equivalents when multiple MFL files are used
Multiflash model name Available in PIPESIM model name
PIPESIM?
RKS Yes 3-parameter Soave-Redlich-Kwong (1972)*
RKS (Advanced) Yes 3-parameter Soave-Redlich-Kwong (1972)*
RKSA (Infochem) Yes 3-parameter Soave-Redlich-Kwong (1972) with
NRTL mixing rule
PR Yes 3-parameter Peng-Robinson (1976)*
PR (Advanced) Yes 3-parameter Peng-Robinson (1976)
PR78 Yes 3-parameter Peng-Robinson Corrected (1978)*
PR78 (Advanced) Yes 3-parameter Peng-Robinson Corrected (1978)
CPA-Infochem Yes Cubic Plus Association (CPA)

Create or edit fluid models


215
PIPESIM User Guide

Multiflash model name Available in PIPESIM model name


PIPESIM?
RKS API Version No **defaults to 3-parameter Peng-Robinson
(1976)
PSRK No **defaults to 3-parameter Peng-Robinson
(1976)
PSRK-NRTL No **defaults to 3-parameter Peng-Robinson
(1976)
ZJ EoS No **defaults to 3-parameter Peng-Robinson
(1976)
RKS-HVP No **defaults to 3-parameter Peng-Robinson
(1976)
PR-HVP No **defaults to 3-parameter Peng-Robinson
(1976)
*PIPESIM automatically upgrades the Multiflash model to this option.
**PIPESIM automatically defaults the Multiflash model to this option.
Table 3.4: Cubic Equations of State

Multiflash model name Available in PIPESIM model name


PIPESIM?
BWRS Yes Benedict-Webb-Rubin-Starling (BWRS)
LK No **defaults to 3-parameter Peng-Robinson
(1976)
LKP No **defaults to 3-parameter Peng-Robinson
(1976)
PC-SAFT No Problem: Not reading MFL file with this EOS
currently
Simplified PC-SAFT No Problem: Not reading MFL file with this EOS
currently
**PIPESIM automatically defaults the Multiflash model to this option.
Table 3.5: Non-Cubic Equations of State

Multiflash model name Available in PIPESIM model name


PIPESIM?
CSMA Yes Multi-reference fluid corresponding states
(CSMA)
Steam tables (IAPWS-95) Yes Problem: Not reading MFL file with this EOS
currently
GERG-2008 No **defaults to 3-parameter Peng-Robinson
(1976)

Create or edit fluid models


216
PIPESIM User Guide

Multiflash model name Available in PIPESIM model name


PIPESIM?
GERG-2008 (Infochem) No **defaults to 3-parameter Peng-Robinson
(1976)
CO2 high accuracy model No **defaults to 3-parameter Peng-Robinson
(1976)
**PIPESIM automatically defaults the Multiflash model to this option.
Table 3.6: Corresponding States models (CSMA)

Mapping of Multiflash transport models to the PIPESIM equivalents


when multiple MFL files are used

Note: The Multiflash option to include Diffusion coefficients in the transport model calculations
(viscosity, thermal conductivity and surface tension) is currently not supported by PIPESIM.

Multiflash model name Available in PIPESIM? PIPESIM model name


Pedersen Yes Pedersen
Pedersen + Twu Yes Pedersen or Pedersen & Twu
LBC Yes Lohrenz-Bray-Clark
SuperTRAPP Yes SuperTRAPP
Mixing rules No **defaults to Lohrenz-Bray-Clark
None **defaults to Lohrenz-Bray-Clark
**PIPESIM automatically defaults the Multiflash model to this option.
Table 3.7: Viscosity models

Multiflash model name Available in PIPESIM? PIPESIM model name


MCS Yes Macleod-Sugden 1-phase
Sutton Yes Sutton
LGST No **defaults to Macleod-Sugden
Mixing rules No **defaults to Macleod-Sugden
None No **defaults to Macleod-Sugden
**PIPESIM automatically defaults the Multiflash model to this option.
Table 3.8: Surface Tension models

Multiflash model name Available in PIPESIM? PIPESIM model name


CLS Yes CLS
SuperTRAPP No **default to CLS

Create or edit fluid models


217
PIPESIM User Guide

Multiflash model name Available in PIPESIM? PIPESIM model name


Mixing rules No **default to CLS
**PIPESIM automatically defaults the Multiflash model to this option.
Table 3.9: Thermal conductivity

Related links:
PROCOPTIONS: Master MFL file for mixing (optional but recommended) (p.824)
Create/define a new mfl fluid (p.205)

3.5 Create/define a new mfl fluid


1. On the Home tab, select MFL file from the Fluid manager option list as the global fluid option
in the model.
The Fluid manager opens.
2. On the Fluids tab, click New (+) at the bottom left corner of the Fluids table.
3. Click New… to launch the Multiflash application.

Note: An alternative workflow for Steps 2 & 3 is to right-click Fluids in the Inputs pane and
click New… Click New… again to launch the Multiflash application. (This applies only if a
PIPESIM layout is chosen which displays the Inputs pane).

4. Refer to the Multiflash Help to define the fluid composition, equation of state and to set all the
required parameters for the fluid. QC the fluid in Multiflash by generating and reviewing the
phase envelope and doing various flashes and reviewing the results.
5. Save the problem setup in Multiflash as an MFL file and close the Multiflash interface. This will
populate the File path in the PIPESIM interface with the location of the fluid file you just
created.

Note: Starting with PIPESIM 2014, MFL files are handled slightly different from older PIPESIM
versions. MFL files are actually imported into the PIPESIM model and the PIPESIM model can
be run without having physical copies of the MFL files on the machine. The MFL file path
mentioned is provided is simply for reference purposes. As such, even if the MFL file is
removed from this location, the PIPESIM model will still run with the imported MFL fluid.
Similarly, any changes to the MFL file in the file path will not be reflected in the PIPESIM model
unless the MFL file is re-imported.

6. Click OK.
7. Double-click the row of the newly-created fluid in the Fluids tab to visualize the fluid
composition, equation of state, viscosity model and phase envelope. Click Close twice to exit
the Fluid manager and continue with the model.

Create or edit fluid models


218
PIPESIM User Guide

Note:
• An alternative workflow for Step 7 if the fluid was created from the Inputs pane is to expand
the Fluids list in the Inputs pane and double-click the fluid you just created to visualize its
details. Click Close to exit and continue with the model.
• The EOS and viscosity models displayed are the equivalent PIPESIM options and may differ
from the ones chosen in the Multiflash interface. Refer to the Availability of Multiflash Models
in PIPESIM using MFL file fluid mode option (p.214) section for additional details.

8. Repeat Steps 2-7 to create new MFL fluid files for the workspace OR include additional existing
MFL files by browsing to their locations by following steps 3-5 of the Importing existing MFL
fluid files (p.205) topic.
9. Click the Fluid mapping tab in the Fluid manager and map all the wells and sources in the
workspace to the defined MFL fluid files.
Multiple MFL files can be defined in one PIPESIM model and mapped to different sources and
wells in the Fluid Manager, however care must be taken to ensure that the models and
components are consistent across all MFL files.

Note: PIPESIM can currently use tuned data in one (1) MFL fluid file in the workspace. If you tune
the models (EOS, Viscosity, etc.) to match experimental data for example, viscosity, density, etc.,
in the Multiflash interface, it is strongly recommended that you use only one MFL file (the one with
the tuned data) in the workspace. If you use multiple MFL files with tuned data in the PIPESIM
workspace, the tuned data in only one of the MFL files will be used in the PIPESIM simulation run.
For more information, see Ensuring consistency among multiple fluid files in a PIPESIM network
model (p.214).

Related links:
Multiflash in the compositional fluid mode (native) vs. Multiflash MFL files (p.195)
Ensure consistency among multiple fluid files in a PIPESIM network model (p.214)
Import existing MFL fluid files (p.205)
View wax or asphaltene curves on phase envelopes (p.92)
Edit a MFL fluid file (p.205)
Availability of Multiflash models in PIPESIM using the MFL file fluid mode option (p.214)
Multiflash phases supported in PIPESIM (p.214)
Display phase envelopes for compositional fluid or mfl file (p.228)

3.5.1 Import existing MFL fluid files


1. On the Home tab, select MFL file from the Fluid manager option list as the global fluid option
in the model.
The Fluid manager opens.

Create or edit fluid models


219
PIPESIM User Guide

2. On the Fluids tab, click New (+) at the bottom left corner of the Fluids table.

Note: An alternative workflow for Step 2 is to right-click Fluids in the Inputs pane and click
New… (This applies only if a PIPESIM layout is chosen which displays the Inputs pane).

3. Click … to browse to the location of the MFL file to be imported. Select the file and click Open.
This will populate the File path in the PIPESIM interface with the location of the fluid file you just
selected.
4. Click OK.
5. Double-click the row of the newly-created fluid in the Fluids tab of the Fluid Manager to
visualize the fluid composition, equation of state and viscosity models and phase envelope.
Click Close twice to exit the Fluid Manager and continue with the model.

Note:
• An alternative workflow for Step 5 (if the fluid was created from the Inputs pane) is to
expand the Fluids lists in the Inputs pane and double-click the fluid you just created to view
its details. Click Close to exit and continue with the model.
• The EOS and viscosity models displayed are the equivalent PIPESIM options and may differ
from the ones chosen in Multiflash interface. Refer to the Availability of Multiflash models in
PIPESIM using the MFL fluid file option (p.214) section for additional details.

6. Repeat Steps 2-5 to import additional existing MFL files into the workspace OR create new MFL
files by following steps 2-5 in the Creating/Defining a new MFL fluid (p.205) topic.
7. Click the Fluid mapping tab in the Fluid manager and map all the wells and sources in the
workspace to the defined MFL fluid files.
Multiple MFL files can be defined in one PIPESIM model and mapped to different sources and
wells in the Fluid Manager, however care must be taken to ensure that the models and
components are consistent across all MFL files.

Note: PIPESIM can currently use tuned data in one (1) MFL fluid file in the workspace. If you tune
the models (EOS, Viscosity, etc.) to match experimental data for example, viscosity, density, etc.,
in the Multiflash interface, it is strongly recommended that you use only one MFL file (the one with
the tuned data) in the workspace. If you use multiple MFL files with tuned data in the PIPESIM
workspace, the tuned data in only one of the MFL files will be used in the PIPESIM simulation run.
For more information, see Ensuring consistency among multiple fluid files in a PIPESIM network
model (p.214).

Related links:
Create/define a new mfl fluid (p.205)

Create or edit fluid models


220
PIPESIM User Guide

3.5.2 View wax or asphaltene curves on phase envelopes


Waxes are complex mixtures of solid hydrocarbons that freeze (solidify) out of crude oils if the
temperature is low enough - below the critical wax deposition temperature. They are formed from
normal paraffins (n-paraffins) and isoparaffins and naphthenes, if present.
Asphaltenes are defined as the fraction of crude oil that is insoluble in n-alkanes (for example, n-
heptane or n-pentane) but soluble in aromatic solvents such as benzene and toluene. They are
extremely complex mixtures whose molecular structure is difficult to determine because the
molecules tend to stick together in solution. They do not have a specific chemical formula but are
generally made up of large rings of aromatic molecules consisting of carbon, hydrogen, sulfur,
oxygen and nitrogen.
The Wax precipitation line and Asphaltene precipitation envelope can only be visualized in
PIPESIM using Multiflash MFL fluid files. The requirements for displaying these precipitation lines
on the PIPESIM phase envelope are outlined below.

Requirements for display of wax precipitation line on phase envelope


• The Coutinho model for the precipitation of the Wax phase must be used in conjunction with the
RKSA equation of state for the phase equilibria of the other phases (This is done by choosing
Waxes or Combined Solids in the Model set when defining the fluid in Multiflash).
• Composition of Live Oil or Stock Tank Oil from a gas chromatography analysis, entered under
Select > PVT Lab. Input (if measured n-paraffin distribution is not available) or Select > PVT
Input with n-paraffin (if measured n-paraffin distribution is available).
• The wax content must be provided in Multiflash when defining the fluid using any one of the
following options:
• Enter a lab-measured n-paraffin distribution under Select > PVT Input with n-paraffin(Most
accurate and recommended
• Enter a Total Wax content under Select > PVT Lab. Input. In this case, the n-paraffin
distribution will be estimated by Multiflash based on the provided total wax content using the
Coutinho & Daridon method
• Check the box Estimate Wax Content under Select > PVT Lab. Input. Multiflash will
estimate both the total wax content and the n-paraffin distribution. The wax content will be
estimated empirically and the n-paraffin distribution will be estimated using the Coutinho &
Daridon method (Least accurate and not recommended).
• Optional Tuning Data for improving wax prediction accuracy
• Measured Bubble Point(s) (under Tools » Matching » Bubble Point / GOR in Multiflash
• Measured Wax Appearance Temperatures at corresponding pressures (under Tools >
Matching > Wax Phase in Multiflash).
• Measured amounts of precipitated wax at corresponding pressures and temperatures (under
Tools > Matching > Wax Phase in Multiflash)

Create or edit fluid models


221
PIPESIM User Guide

Requirements for display of asphaltene precipitation envelope on phase


envelope
• The version of the RKSA equation of state that includes association terms for Asphaltene-
Asplatene and Asphaltene-Resin interactions must be defined (This is done by choosing
Asphaltenes or Combined Solids in the Model set when defining the fluid in Multiflash).
• Composition of Live Oil or Stock Tank Oil from a gas chromatography analysis, entered under
Select > PVT Lab. Input (for asphaltene precipitation only) or Select > PVT Input with n-
paraffin (for both asphaltene and wax precipitation, if measured n-paraffin distribution is
available for the wax).
• The amount of asphaltene in the oil and the ratio of resins to asphaltene, using any one of the
following options in Multiflash:
• Lab-measured, complete SARA analysis for example, Amount of Saturates, Aromatics,
Resins and Asphaltenes (Most accurate and recommended).
• Amount of Resins and Asphaltenes, as measured in the lab
• Check the box Estimate RA (Resin-Asphaltene ratio) under Select > PVT Lab. Input or
Select > PVT Input with n-paraffin. Checking this box will cause Multiflash to estimate the
resin-asphaltene ratio using proprietary methods. (Least accurate and not recommended).
• Optional Tuning Data for improving asphaltene prediction accuracy
• Measured Bubble Point(s) (under Tools > Matching > Bubble Point / GOR in Multiflash)
• All of the following (if available) under Tools > Matching > Asphaltene Phase in
Multiflash):
• Measured Asphaltene Onset Pressures for Live Oil, ideally at two different temperatures
(Most accurate, recommended)
• Measured Amount of n-Heptane required for the Onset of Asphaltene precipitation for the
Dead Oil (Most accurate, recommended in addition to (Measured Asphaltene Onset
Pressures for Live Oil) if available)
• Reservoir pressure and temperature (Least accurate, should be provided if (i) and (ii) are
not available).

Use MFL files with wax and asphaltene phases


Once the MFL fluid file has been created to meet the Requirements for Display of Wax
Precipitation Line on Phase Envelope or Requirements for Display of Asphaltene Precipitation
Envelope on Phase Envelope, you may incorporate it in your PIPESIM workspace by following the
steps in any of the following workflows; Create/define a new MFL fluid (p.205), Import existing MFL
fluid file (p.205), and Edit a MFL fluid file (p.205), which will also guide you on how to visualize the
phase envelope, equation of state and viscosity model in the PIPESIM interface. You can also
report and plot the following wax and asphaltene system and profile variables after adding them to
the report template under Home » Simulation » Output variables:
• Wax formation temperature (profile): This is the wax precipitation temperature along the profile.
• Wax sub-cooling delta temperature (profile): This is the wax precipitation temperature minus the
fluid temperature along the profile. A negative wax sub-cooling delta temperature indicates that

Create or edit fluid models


222
PIPESIM User Guide

the fluid is warmer than the wax formation temperature and there is no risk of forming wax.
Conversely, a positive value indicates there is tendency for wax to form at that location.
• Maximum wax subcooling temperature difference (system): This is the maximum value of the
wax sub-cooling delta temperature and pinpoints the location in the entire system that is at the
greatest risk of forming wax, if it is a positive value.
• Asphaltene formation temperature (profile): This is the asphaltene precipitation temperature
along the profile.

Related links:
Create/define a new mfl fluid (p.205)

3.5.3 Edit a MFL fluid file


1. On the Home tab, select MFL file from the Fluid manager option list as the global fluid option
in the model.
The Fluid manager opens.
2. If the MFL fluid you want to edit already exists in the workspace, use either of the following
options to edit it and jump to step 5:
• In the Fluids tab of the Fluid manager double-click the row of the fluid you want to edit in
the Fluids list.
• Expand the Fluids list in the Inputs pane and double-click the fluid you want to edit. ( This
applies only if a PIPESIM layout is chosen which displays the Inputs pane).
3. If the MFL fluid you want to edit does not already exist in the PIPESIM workspace, browse to
the location of the MFL file by using either of the options below and continue with step 4.
• Launch the Fluid manager and click New (+) on the Fluids tab.
• Right-click Fluids in the Inputs pane and click New...
4. Click … to browse to the location of the MFL file to be edited. Select the file and click Open.
This will populate the File path in the PIPESIM interface with the location of the fluid file you just
selected.
5. Click Edit to launch the Multiflash interface and modify the fluid as desired.
6. When the editing is complete, you have two options for saving the updated MFL file in the
Multiflash interface:
• Save Problem Setup As: This option is used to save the file to a different name and/or a
different location. If you save the file with the same name and to the same location, this is
equivalent to the Save Problem setup (below). Saving the file with a different name or to a
different location will update the File path in the PIPESIM interface when you close the
Multiflash interface. If you edit a pre-existing MFL fluid in your workspace and save the
updated MFL file with a different name and/or to a different location with this option, the File
path in PIPESIM will be updated once you close the Multiflash interface, and the updated
MFL file will overwrite the pre-existing PIPESIM fluid and the fluid name will be changed to
match the updated MFL file name. The phase envelope, models and composition may
change in the PIPESIM interface to reflect the changes you made. If there was no pre-

Create or edit fluid models


223
PIPESIM User Guide

existing fluid in your workspace, then the edited MFL file will be imported as a new fluid into
PIPESIM.
• Save Problem Setup: This option is used when you want to make changes to the fluid
defined in an MFL file but retain the same MFL file name and file location. If you edit a pre-
existing MFL fluid in your workspace and save the updated MFL file with this option, when
you close the Multiflash interface, the File path in PIPESIM will remain unchanged but the
updated MFL file will overwrite the pre-existing PIPESIM fluid and the phase envelope,
displayed models and composition may change depending on your modifications. If there
was no pre-existing fluid in your workspace, then the edited MFL file will be imported as a
new fluid into PIPESIM.
7. Click Close or OK.
Multiple MFL files can be defined in one PIPESIM model and mapped to different sources and
wells in the Fluid Manager, however care must be taken to ensure that the models and
components are consistent across all MFL files.

Note: PIPESIM can currently use tuned data in one (1) MFL fluid file in the workspace. If you tune
the models (EOS, Viscosity, etc.) to match experimental data for example, viscosity, density, etc.,
in the Multiflash interface, it is strongly recommended that you use only one MFL file (the one with
the tuned data) in the workspace. If you use multiple MFL files with tuned data in the PIPESIM
workspace, the tuned data in only one of the MFL files will be used in the PIPESIM simulation run.
For more information, see Ensure consistency among multiple fluid files in a PIPESIM network
model (p.214).

Related links:
Create/define a new mfl fluid (p.205)

3.5.4 Availability of Multiflash models in PIPESIM using the MFL file fluid
mode option
Multiflash is a 3rd party flash package that enables full phase thermodynamic modeling of
multiphase fluids and solids using standard and state-of-the-art models. Multiflash incorporates an
extensive suite of equations of state for advanced flashes and viscosity, interfacial tension and
thermal conductivity models for the prediction of transport properties. Multiflash enables flashes
that can result in up to 7 separate phases simultaneously including gas, liquid, water, ice, hydrates,
wax and asphaltene.
PIPESIM supports the ability to map a single MFL file to a workspace or multiple MFL files to
different wells and sources in a single workspace. When a single MFL file is mapped in the
PIPESIM workspace, all the information in the MFL file including the defined models (equation of
state, viscosity, thermal conductivity, surface tension, etc.) and any tuning that was done to match
experimental data, will be honored (used) by PIPESIM during the simulation.
However, when multiple MFL files are mapped in the same workspace, the models defined in the
MFL files (i.e. equations of state, viscosity, thermal conductivity, surface tension, etc.); in addition
to any tuning done to match experimental data, will be ignored and PIPESIM will use its default

Create or edit fluid models


224
PIPESIM User Guide

models as defined in the table below during the simulation. For this reason, it is strongly
recommended that a single MFL file be mapped to a PIPESIM workspace.
If multiple MFL files must be mapped to a single PIPESIM workspace, in addition to the limitations
mentioned above, care must be taken to ensure that the models and components are consistent
across all MFL files. Refer to the section Ensure consistency among multiple fluid files in a
PIPESIM network model (p.214), for more details.

Mapping of Multiflash equations of state to the PIPESIM equivalents when


multiple MFL files are used

Multiflash model name Available in PIPESIM model name


PIPESIM?
RKS Yes 3-parameter Soave-Redlich-Kwong (1972)*
RKS (Advanced) Yes 3-parameter Soave-Redlich-Kwong (1972)*
RKSA (Infochem) Yes 3-parameter Soave-Redlich-Kwong (1972) with
NRTL mixing rule
PR Yes 3-parameter Peng-Robinson (1976)*
PR (Advanced) Yes 3-parameter Peng-Robinson (1976)
PR78 Yes 3-parameter Peng-Robinson Corrected (1978)*
PR78 (Advanced) Yes 3-parameter Peng-Robinson Corrected (1978)
CPA-Infochem Yes Cubic Plus Association (CPA)
RKS API Version No **defaults to 3-parameter Peng-Robinson
(1976)
PSRK No **defaults to 3-parameter Peng-Robinson
(1976)
PSRK-NRTL No **defaults to 3-parameter Peng-Robinson
(1976)
ZJ EoS No **defaults to 3-parameter Peng-Robinson
(1976)
RKS-HVP No **defaults to 3-parameter Peng-Robinson
(1976)
PR-HVP No **defaults to 3-parameter Peng-Robinson
(1976)
*PIPESIM automatically upgrades the Multiflash model to this option.
**PIPESIM automatically defaults the Multiflash model to this option.
Table 3.10: Cubic Equations of State

Multiflash model name Available in PIPESIM model name


PIPESIM?
BWRS Yes Benedict-Webb-Rubin-Starling (BWRS)

Create or edit fluid models


225
PIPESIM User Guide

Multiflash model name Available in PIPESIM model name


PIPESIM?
LK No **defaults to 3-parameter Peng-Robinson
(1976)
LKP No **defaults to 3-parameter Peng-Robinson
(1976)
PC-SAFT No Problem: Not reading MFL file with this EOS
currently
Simplified PC-SAFT No Problem: Not reading MFL file with this EOS
currently
**PIPESIM automatically defaults the Multiflash model to this option.
Table 3.11: Non-Cubic Equations of State

Multiflash model name Available in PIPESIM model name


PIPESIM?
CSMA Yes Multi-reference fluid corresponding states
(CSMA)
Steam tables (IAPWS-95) Yes Problem: Not reading MFL file with this EOS
currently
GERG-2008 No **defaults to 3-parameter Peng-Robinson
(1976)
GERG-2008 (Infochem) No **defaults to 3-parameter Peng-Robinson
(1976)
CO2 high accuracy model No **defaults to 3-parameter Peng-Robinson
(1976)
**PIPESIM automatically defaults the Multiflash model to this option.
Table 3.12: Corresponding States models (CSMA)

Mapping of Multiflash transport models to the PIPESIM equivalents when


multiple MFL files are used

Note: The Multiflash option to include Diffusion coefficients in the transport model calculations
(viscosity, thermal conductivity and surface tension) is currently not supported by PIPESIM.

Multiflash model name Available in PIPESIM? PIPESIM model name


Pedersen Yes Pedersen
Pedersen + Twu Yes Pedersen or Pedersen & Twu
LBC Yes Lohrenz-Bray-Clark
SuperTRAPP Yes SuperTRAPP

Create or edit fluid models


226
PIPESIM User Guide

Multiflash model name Available in PIPESIM? PIPESIM model name


Mixing rules No **defaults to Lohrenz-Bray-Clark
None **defaults to Lohrenz-Bray-Clark
**PIPESIM automatically defaults the Multiflash model to this option.
Table 3.13: Viscosity models

Multiflash model name Available in PIPESIM? PIPESIM model name


MCS Yes Macleod-Sugden 1-phase
Sutton Yes Sutton
LGST No **defaults to Macleod-Sugden
Mixing rules No **defaults to Macleod-Sugden
None No **defaults to Macleod-Sugden
**PIPESIM automatically defaults the Multiflash model to this option.
Table 3.14: Surface Tension models

Multiflash model name Available in PIPESIM? PIPESIM model name


CLS Yes CLS
SuperTRAPP No **default to CLS
Mixing rules No **default to CLS
**PIPESIM automatically defaults the Multiflash model to this option.
Table 3.15: Thermal conductivity

Related links:
Create/define a new mfl fluid (p.205)

3.5.5 Multiflash phases supported in PIPESIM


PIPESIM currently supports the following Multiflash phases:
• Gas
• Liquid
• Water
• Hydrate I
• Hydrate II
• Wax
• Asphaltene

Create or edit fluid models


227
PIPESIM User Guide

Related links:
Create/define a new mfl fluid (p.205)

3.6 Display phase envelopes for compositional fluid or mfl


file
When working with compositional fluid models or models with MFL files, you will find it helpful to
display phase envelopes and fluid properties associated with individual sources and wells using
the Phase envelope viewer. This is useful for quickly inspecting fluid models associated with
source branches (wells, generic sources, and junction sources). Additionally, after running a
simulation task, you may view the simulated flowing pressure/temperature profile superimposed on
a phase envelope for each source branch.
1. On the Home tab, in the Data group, click Fluid manager, and then select MFL file or
Compositional.
The Fluid manager opens.
2. Create the fluids and map them to the wells and/or sources in your model.
Refer to the topic Define compositional fluids (p.205) for more details on creating compositional
fluids, and Create/define a new MFL fluid (p.205) for more details on creating MFL files.
3. Exit the Fluid manager.

Note: Phase envelopes can be displayed for individual fluids or for the objects (wells and sources)
that the fluids are mapped to.

4. Display the phase envelop by performing one of the following actions:


• If you are in the Well perspective and have only one well in your workspace, on the Home
tab, in the Viewers and results group, and click Phase envelope.
You do not have to select the well object to display the phase envelope for the fluid mapped
to it. The fluid's phase envelope displays because in the well perspective, when there is only
1 well, it is already pre-selected.
• To display a phase envelope for a source with an associated compositional or MFL fluid,
click on the source, and then on the Home tab, in the Viewers and results group, click
Phase envelope.
• If you have multiple wells in the workspace, to display the phase envelope for another well
that is not currently selected, navigate to the well of interest, ensure that it has a mapped
fluid, and then on the Home tab, in the Viewers and results group, click Phase envelope.
The Phase envelope displays for the fluid associated with the selected well.

Note:
• For compositional fluids, the flash results are displayed in addition to the phase envelope.
The flash results consist of the flash conditions (pressure and temperature) and the fluid
properties, phase compositions, and phase properties at those flash conditions. By default,

Create or edit fluid models


228
PIPESIM User Guide

the flash conditions are taken as the inlet pressure and temperature for the network. You
can change the flash conditions to any other values and the fluid will be flashed and the
results updated for the new conditions.
• For MFL fluid files, only the phase envelope is displayed. It is currently not possible to flash
MFL files within the PIPESIM* interface, so no flash results can be viewed.

5. Optional: To flash a fluid at other conditions of interest, and display the detailed fluid property
information, perform one of the following actions. The flash results will be automatically re-
calculated and updated. The option to flash a fluid is currently only available for compositional
fluids.
• On the Phase envelope tab, under Condition, enter a Pressure and Temperature.
• In the phase envelope, right-click a point of interest, and then click Flash at this point.
6. Optional: In the Network perspective, to view a phase envelope for objects that have fluids
mapped to them (such as wells and sources), in the Inputs pane, select the well or source that
has the mapped fluid, then on the Home tab, in the Viewers and results group, click Phase
envelope.
The fluid's phase envelope displays along with the flash conditions (pressure and temperature),
and the fluid properties, phase compositions, and properties at those flash conditions.
7. Optional: In the Network perspective, to view a phase envelope for a fluid, in the Inputs pane,
select the fluid, then on the Home tab, in the Viewers and results group, click Phase envelope.

Note:
• For multilayer wells with multiple fluids assigned to the layers, the phase envelope viewer
displays a series of tabs, one for each fluid mapped to each separate completion.
• The Phase envelope button is inactive (appears grey) if you do not have a fluid selected, or
if the well or source you selected does not have a mapped fluid.

8. To display the simulated flowing pressure or temperature profile in the phase envelope,
complete the process of building the network and run a simulation task, and then perform one
of the following actions depending on the selected Perspective.
• In the Network perspective, click the well or source object, and then on the Home tab, in the
Viewers and results group, click Phase envelope.
• In the Well perspective, navigate to the well, and then on the Home tab, in the Viewers and
results group, click Phase envelope.
The phase envelope display with the simulated flowing pressure-temperature (PT) profile
from the last simulation task superimposed on it.

Note:
• The simulated flowing pressure-temperature (PT) profile can be viewed on the phase
envelope only when a well or source is selected; not flowlines or any other objects.

Create or edit fluid models


229
PIPESIM User Guide

• For simulation tasks involving sensitivities, only the final sensitivity case is displayed on the
phase envelope.

Tip: When viewing results of a network simulation on a phase envelope, dock the phase envelope
on one side of the screen by dragging the Phase envelope tab to position it beside the network
diagram. Click the individual well and source objects on the network diagram or Inputs pane and
view the updated phase envelope and superimposed simulated flowing pressure temperature
profile for each selected object.

Related links:
Define compositional fluids (p.205)
Create/define a new mfl fluid (p.205)

3.7 Override fluid phase ratios


It is common that single fluid models are available that represent production from multiple fluid
sources. For example, a fluid analysis may be performed based on fluid obtained from the
separator which is supplied with fluids from multiple sources, each having different phase ratios. In
these situations, you may define a single fluid to be mapped to multiple fluid sources and override
the phase ratios for the individual sources.
• By overriding phase ratios on the Fluid mapping tab in the Fluid manager
• By defining phase ratio overrides in the fluid tabs associated with individual fluid sources
Fluid override options vary by object type. All the objects with a fluid model assigned allow
overriding the phase ratio. However, with vertical completions, you may define a phase-ratio
versus draw down table to account for coning effects of water and gas phases. For all cases, the
impact is specific to that object only. That is, other objects sharing the same fluid are not affected.
1. On the property pane of a specific object, select one of the following override methods:

Object Type Override Options


Vertical completion Click the appropriate override method:
None
no override option is selected
Phase ratio
override phase ratios
Define coning
define a coning table (vertical completion only)
Horizontal completion Click the appropriate override method:
None
no override option is selected

Create or edit fluid models


230
PIPESIM User Guide

Object Type Override Options


Phase ratio
override phase ratios
Gas lift injection No phase ratio override is applicable.
Generic source Select the Override phase ratios check box to enter phase ratio
Junction source overrides.

Fluid Injection
2. If you selected Override phase ratios, perform the following actions:
a. Select one of the following values for gas phase:
• GLR
• GOR
• LGR
• OGR
b. Select one of the following ratio types and override values:
• Watercut
• GWR
• WGR
3. If you selected Define coning, complete the following coning data:
a. Enter the Coned gas specific gravity value.
b. Enter the coning table values for each flowrate row you want to enter.

Note:
• Phase ratio overrides associated with fluid sources may also be overridden by simulation tasks.
Overriding phase ratios using simulation tasks will not affect the overrides associated with
model objects unless you click Publish Boundary Conditions on the network simulation
Parameters tab.
• Overriding phase ratios for black oil fluids will also affect fluid properties that are dependent on
phase ratios, such as viscosity. Also, remember that any calibrations previously made based on
the original phase ratio will still be applied, but may no longer be valid. For compositional fluids,
overriding the phase ratio will result in an adjusted molar composition, similar to the tuning
operation used in the fluid definition.
• Phase ratios cannot be overridden when MFL files or PVT files are used in the workspace.

Related links:
Create or edit fluid models (p.195)

Create or edit fluid models


231
PIPESIM User Guide

3.8 Import a PVT file


A pressure-volume temperature (PVT) file describes the behavior of a fluid through the properties
table written in a specific file format supported by PIPESIM*. You can define only one PVT fluid per
model due to the limitation that tabular fluid representations cannot be accurately mixed. The PVT
file that you import is saved in a PIPESIM model until you import a different PVT file.
1. On the Home tab, click Fluid manager and select PVT file from the option list as the global
fluid option in the model.
2. Perform one of the following actions:
• On the Home tab, click Fluid manager, and then on the Fluids tab, click New (+).
• On the Inputs pane, right-click Fluids, and then click New.
3. On the new fluid window, click ... to import and browse to the location of the PVT file and then
click Open. Click OK to finish the import.
The new fluid is displayed in the Fluid manager window and on the Inputs pane.
4. If you want to view the current associations for the fluid, click the Fluid mapping tab.

Note: Models imported from PIPESIM 2012 or previous versions may contain several PVT file
associations: one each at the global, branch, and completion levels, so long as compositional
specifications are present. PIPESIM 2013 only allows a single PVT file to be associated with a
model.
Only the PVT file associated at the global level in the imported model is associated with models
that you import.

Related links:
Create or edit fluid models (p.195)

Create or edit fluid models


232
PIPESIM User Guide

4
Run simulations
You can perform nodal analysis, reservoir simulation, and use other analytical tools (such as
pressure/temperature (P/T) profiles, VFP tables, and network simulation) to calculate the
distribution of flowrates, temperatures, and pressures throughout the system and plan new field
developments.

Related links:
Configure simulation settings (p.233)
Run a P/T profile (p.264)
Run a nodal analysis (p.271)
Create a VFP table (p.286)
Run a network simulation (p.248)
Run a system analysis (p.280)
Run data matching (p.289)
Run gas lift diagnostics (p.334)
Design an ESP (p.301)
Manage results (p.369)
Run a perforation design (p.39)

4.1 Configure simulation settings


You can configure simulation settings for the entire network or well model. You can also apply local
overrides to some simulation settings, such as flow correlation and heat transfer options.

Note: The fields for each tab may be slightly different depending on whether you are using
network-centric mode or well-centric mode.

1. On the Home tab, in the Settings group, click Simulation.

Run simulations
233
PIPESIM User Guide

2. Click the tab for the category that you want to configure.
• To configure flow correlation and heat transfer options for the entire network or well model,
click Use global.
• To configure flow correlation and heat transfer options for individual flowlines, risers and
wells, click Use local. The content changes to a tabular format.
3. Configure the appropriate properties on each tab.
4. To change the global default values for the entire branch, update the Default row as necessary.
5. Click Close.

Related links:
Flow correlation properties (p.234)
Heat transfer properties (p.237)
Erosion/corrosion properties (p.237)
Environmental properties (p.239)
Output variables properties (p.240)
Advanced properties (p.9)
Override the default value in specific rows (p.247)

4.1.1 Flow correlation properties


Use the Flow correlations tab to set flow correlation options at the global level or at local levels. If
you set flow correlation options at the local level, the source, correlation, friction factor, and holdup
factor appear as individual columns for both vertical and horizontal geometries.

Property Description
Name Name of the individual wellbore, flowline, or riser for which the setting is
applied. This field appears only when the Use local branch correlation option
is selected. This value cannot be changed.
• Source Defines the global, vertical, or horizontal source of the correlation.
• Vertical Baker Jardine
multiphase Developed by Schlumberger (originally Baker Jardine) and tested
source extensively. This value is the default source selection.
• Horizontal Neotec
multiphase
The Neotec flow correlations were developed by a company called Neotec
source
based in Calgary. Neotec was formed in 1972 by Gary Gregory and Khalid
Aziz, professors at the University of Calgary who specialized in Multiphase
Flow research. Neotec developed several software applications used in
the oil and gas industry, including WELLFLO, PIPEFLO and FORGAS. In
2010, Neotec was acquired by SPT Group and became part of
Schlumberger in 2012 when Schlumberger acquired SPT Group.

Run simulations
234
PIPESIM User Guide

Property Description
OLGAS
Based in large part on data from the SINTEF multiphase flow laboratory
near Trondheim, Norway. The OLGA-S mechanistic models are applicable
for all inclination angles, pipe diameters and fluid properties. The 2-phase
model considers gas-liquid flow. The 3-phase model considers gas-oil-
water flow.
TUFFP Unified
Developed by the Tulsa University Fluid Flow Projects (TUFFP) research
consortium. The models are applicable for all inclination angles, pipe
diameters and fluid properties. The 2-phase model considers gas-liquid
flow. The 3-phase model considers gas-oil-water pipe flow.
LedaFlow PM
The LedaFlow Point Model is the steady-state version of the transient
model developed by SINTEF in collaboration with Total and
ConocoPhillips and commercialized by Kongsberg. It is applicable for all
inclination angles, pipe diameters and fluid properties. The 2-phase model
considers gas-liquid flow. The 3-phase model considers gas-oil-water flow.
Tulsa (Legacy 1989)
Developed by the University of Tulsa, USA, and last modified by Professor
Jim Brill, February 1989. The code is usually of academic quality and may
return errors. No modifications have been made to accommodate extreme
conditions or ensure mathematical stability. These models are included
only for the purpose of validating calculations against publications and
other simulators using the same code. Not recommended for general use.
• Correlation Select the appropriate global, vertical, or horizontal correlation method.
• Vertical Available correlation methods depend on the source selected.
multiphase
correlation
• Horizontal
multiphase
correlation
• Friction factor One of two factors used to adjust the friction and holdup prediction of a
• Vertical particular flow correlation. The default value is 1.
multiphase
friction factor Note: A linear relationship is used for the friction pressure drop. For example,
if you set the friction factor to 0.5, the friction element of pressure drop
• Horizontal
computed by the correlation is halved. The two factors are used often as
multiphase
calibration factors when a good match to field data cannot be obtained by any
friction factor
other method. Changing these factors affects the results. Use with caution.

• Holdup factor One of two factors used to adjust the friction and holdup prediction of a
particular flow correlation. The default value is 1.

Run simulations
235
PIPESIM User Guide

Property Description
• Vertical
multiphase Note: A non-linear relationship is used to calculate the liquid holdup from the
holdup factor value predicted by the correlation. The default value is 1. The two factors are
• Horizontal used often as calibration factors when a good match to field data cannot be
multiphase obtained by any other method. Changing these factors affects the results. Use
holdup factor with caution.

Swap angle Angle at which vertical correlations are used instead of horizontal correlations.
For angles less than or equal to 45°, horizontal correlations are used. For
angles greater than 45°, vertical correlations are used.

Single phase Based on the flow correlation selected, you may need to enter a drag factor,
correlation flow efficiency, or C factor (see SP factor). Single phase flow is assumed if the
liquid volume fraction is less than .0001 or greater than .99.
SP factor Single phase factor that represents a drag factor, flow efficiency, or C factor for
the single phase correlation selected.
Override Select this check box to override global values set for the branch. Appears
only when the Use local branch correlation option is selected.

For more information, see Flow regimes (p.403), Horizontal multiphase flow correlations (p.405),
Vertical multiphase flow correlations (p.410), Friction and holdup factors (p.418), Single phase
flow correlations (p.418), and Swap angle (p.423).

Run simulations
236
PIPESIM User Guide

Related links:
Override the default value in specific rows (p.247)

4.1.2 Heat transfer properties


Use the Heat transfer tab to specify the heat transfer calculation methods used for flowlines.

Property Description
Name Name of the individual wellbore, flowline, or riser for which the setting is applied.
This field appears only when the Use local heat transfer option is selected.
Pipe burial Model to use for pipeline heat transfer calculations. The calculations use the
method burial configuration of the pipe (fully buried, partially buried, or fully exposed) and
give different U-value results based on the model selected. The options, in
decreasing order of accuracy, are:
• 2009 Method (default)
• 2000 Method
• 1983 Method
All options produce identical results for a fully exposed pipeline, but the results
are different for a fully buried or partially buried pipe.
Inside film Inside film coefficient (IFC) calculation model for heat loss calculations.
coefficient • Kaminsky model
method
• Kreith combined Reynolds number model (default)
U-value Multiplier for user entered U-values in heat loss calculations. This is particularly
multiplier useful when performing a temperature match. The default value is 1.
Override Select this check box to override global values set for the branch. Appears only
when the Use local heat transfer option is selected.

Note: When this check box is selected, you can change the Pipe burial method,
Inside file coefficient method, and U-value multiplier.

For more information, see 2009 Method (p.606), 1983 Method (p.607), Internal fluid film heat
transfer coefficient (p.563), Kreith (p.566), and Kaminsky (p.569).

Related links:
Override the default value in specific rows (p.247)

4.1.3 Erosion/corrosion properties


PIPESIM has several models to predict erosion and corrosion in the piping system and report
important parameters for analysis and prediction.
The following results are reported:

Run simulations
237
PIPESIM User Guide

• Erosion velocity - The maximum allowable erosion velocity.


• Erosion velocity ratio – A ratio of fluid velocity over maximum allowable erosion velocity
predicted by selected erosion model. Values greater than 1.0 indicate erosion risk.
• Corrosion rate (where applicable) – An indication of the rate of loss of pipe material due to
corrosion.
These parameters are calculated at every segment/node and reported under node result tables
and profile plots. Also, branch level maximum values are reported under branch result tables and
system plots.
Follow these steps to model erosion and corrosion in PIPESIM:
1. Go to the Home » Data group » Simulation settings.
2. In the Simulation dialog box, select the Erosion/Corrosion tab and specify related properties
as indicated in the tables below.

Property Description
Erosion model By default, API 14 E is selected with its default properties. The API 14 E is
the only available option through the user interface. This model comes from
the American Petroleum Institute, Recommended Practice 14 E, to predict
solid free erosion only.
Erosion velocity Also referred as C-factor and is applicable to API 14 E model. This constant
constant depends on several factors like pipe material, fluid properties, etc. and can
(dimensional) be user defined.
The default value of erosion velocity constant is: 122 kg 0.5m -0.5s-1(SI units);
100 lbm 0.5ft -0.5s-1 (field units)
Table 4.1: Erosion options

Property Description
Corrosion The only available option is the de Waard (1995) corrosion model that calculates
model corrosion rate caused by presence of CO 2 dissolved in water.
The concentration of CO 2 and Water are obtained from the fluid properties
definition (black oil, compositional or ScaleChem generated PVT files). If either
CO 2 or Water is absent in the fluid, the resulting corrosion rate reported will be
zero.
Corrosion A multiplier, C c, to correct for inhibitor efficiency, or to match the field data.
efficiency
Actual pH: Options are to specify or calculate. When calculated, PIPESIM will calculate the
pH as a function of CO 2 fugacity and temperature. If the pH is known, it may be
specified. However, this is recommended only for analysis over a narrow range of
pressures and temperatures.
Table 4.2: Corrosion options

Run simulations
238
PIPESIM User Guide

Related links:
Configure simulation settings (p.233)

4.1.4 Environmental properties


Use the Environmental tab to define environmental conditions used for heat transfer calculations.
By setting the conditions to be defined in one place, the information can be used by multiple wells,
flowlines, and pipes. Optionally, for individual flowlines and risers, this data may be ignored by
selecting override environmental data for individual flowline and riser objects.

General data
Atmospheric pressure displays the read-only air pressure value that is used to convert from
gauge to absolute pressures.

Air data

Property Description
Temperature Air temperature. This value is used for heat transfer calculations for flowlines in a
land environment. Because the ambient temperature is constant for the system
being modeled in most cases, setting a global value allows you to conveniently
model the effects across the system. This value may be easily modified to
account for diurnal or seasonal variations in air temperature to analyze the
effects on pipeline hydraulics and compressor performance.
Wind speed Velocity of air used for heat transfer calculations. The default value (8.43 ft/s or
2.57 m/s) equals 5 knots (which, in meteorological terms, corresponds to a light
breeze.
Atmospheric The atmospheric pressure specification is used when converting from gauge to
pressure absolute units. The default value is based on standard conditions.
Changing the reference atmospheric pressure is most commonly performed
when modeling low pressure gas systems at higher elevations, and pressure
data is entered in gauge units.

Note: If you change the atmospheric pressure and your chosen display unit for
pressure is in gauge units, all pressure entries will update to reflect this change. If
your chosen display unit is in absolute units, all pressure entries will remain
unchanged.

Soil data

Property Description
Soil type One of various soil types may be selected if the soil conductivity is not known.
The default value, Moist Clay, is common in onshore fields. However, for
offshore applications, the conductivity is generally higher and a type such as

Run simulations
239
PIPESIM User Guide

Property Description
Deepwater Gulf of Mexico may be more appropriate. This data has been
compiled from various sources by Neotec.
Soil Representative soil conductivity for each soil type you chose. The property may
conductivity be specified by setting the Soil type to User defined.

Metocean data
Metocean data is used to define seawater temperature and current velocity as a function of depth.
For cases where measured data is not available, typical data representing several active
development areas are provided based on the analysis of data published by several publically
available sources including NORA, SIMORC, and NOAA. Seawater temperature data near the
surface (up to about 100 feet below sea level) will vary by season, and the typical data presented
tends to represent winter conditions which are more conservative for flow assurance studies
involving solids predictions.

Note: The data presented represent typical conditions. Actual conditions may vary significantly.
Therefore, for detailed flow assurance studies, specify measured data as User defined.

Related links:
Flowline - simple model properties (p.144)
Flowline - detailed model properties - general tab (p.148)
Riser - simple model properties (p.174)
Riser - detailed model properties - general tab (p.177)
Configure simulation settings (p.233)

4.1.5 Output variables properties


The Output variables tab contains various lists of simulation output variables. Each selected
variable is available to be tabulated or plotted after running a simulation.

Note: Each template has specific associated variables. You can create a new report template with
different variables.

Property Description
Report Select a report template from the available report templates. PIPESIM provides
template the following predefined templates:
• Gas Field
• Well Performance
• Flow Assurance
• Large Network

Run simulations
240
PIPESIM User Guide

Property Description

Note: Predefined templates cannot be deleted or renamed.

Selected Click to toggle the display between selected variables and the complete list of all
variables associated with the report template.
Profile Click to display a list of profile variables associated with the report template.
System Click to display a list of system variables associated with the report template.
unlabeled Type part or all of the variable name to find a specific variable in the complete
search field list.

Related links:
Manage output variable report templates (p.241)

Manage output variable report templates


Each report template has specific output variables associated with it. If you want to customize the
output variables list and reuse the customized list later in other workspaces, you can create a new
report template by copying a predefined template and updating its properties, delete a template, or
rename a template.
1. On the Home tab, in the Data group, click Simulation settings, and then click the Output
variables tab.
2. In the Report template list, select the template that most closely resembles the one you want
to create, and then click Clone.
3. Enter a New name for the template (you can use spaces and special characters), and then
click OK.
4. Click Selected until the display shows the complete list of all variables associated with the
report template.
5. Click either Profile or System to display the appropriate variable types in the list.
6. Perform the following actions:
• To add a variable to the template, select the check box in its Selected column.
• To remove a selected variable, clear the check box.
7. To rename a custom report template, perform the following actions:
a. In the Report template list, select the custom template, and then click Rename.
b. Enter a New name for the template (you can use spaces and special characters), and then
click OK.

Note: You cannot rename a default report template.

8. To rename a custom report template, perform the following actions:

Run simulations
241
PIPESIM User Guide

a. In the Report template list, select the custom template, and then click Delete.
b. To confirm that you want to delete the template, click Yes.

Note: You cannot delete a default report template.

9. Click Close.

Related links:
Output variables properties (p.240)

4.1.6 Advanced properties


Use the Advanced tab to configure additional calculation options and specify keyword input.

Pipe segmentation data

Property Description
Max. report Optionally specify the maximum report interval length to generate profile
interval length results at shorter distances along the pipe segment.
Print computation Select this check box to report the results for each computation segment.
segment results This report may include very short pipe segments if required for the solution
to converge or the option to use additional short segments across nodes, if
selected.
Computation You may specify the number of computational segments the engine uses per
segments per report interval. This action is similar to specifying the Max. computation
report interval segment length; however, the specification is relative to the report interval
(either automatically set by the engine or user specified) rather than explicit.
This option may be helpful when analyzing results associated with specific
pipe segments that are reported.
Max. computation Initial maximum segment length to be used by the program. Regardless of
segment length pipe length, data is calculated for sections of the given length. For example, if
you specify 100ft, data is calculated for 10 segments of a 1000-foot-long pipe,
or for 200 segments of a 20,000-foot-long pipe.
To obtain a converged solution, PIPESIM may further subdivide the segment.
Additional short Adds short (one foot) segments to the start and end of each pipe section.
segments across This feature ensures the reported fluid properties and flowrates are calculated
nodes at an almost identical temperature and pressure to that reported at the node.
(In fact, the fluid properties are calculated at segment average pressure and
temperature.)
Enabling this parameter minimizes the discrepancies caused by this
mismatch; however, this does effect run time. To disable this feature, clear
the check box.

Run simulations
242
PIPESIM User Guide

Compositional flashing options


Compositional flashing options control the way fluid properties are calculated. It is only applicable
to compositional fluid models and MFL files.
The options are:
• Temperature energy balance: - Controls the Temperature-Energy Balance. These values are
used to maintain the temperature/enthalpy/entropy balance of the fluid.
• Physical properties: - Controls determination of transport Physical properties (PP). These are
the values required to perform the multiphase fluid flow and heat transfer calculations, and
include phase volume fractions, densities, viscosities, heat capacities and surface tensions.

Note: The Interpolate, Hybrid, and Rigorous parameters apply to Temperature energy
balance and Physical properties options.

Properties Description
Interpolate This option uses interpolation between physical properties determined by in a
predefined grid of temperature and pressure points.
Hybrid This option is a compromise between speed and accuracy, which assumes that
properties will change more rapidly when close to a phase boundary.
Interpolation is performed whenever the grid points comprising a rectangle all
show the presence of the same phases. For example, if all four (4) points in the
rectangle have some oil, some gas, and no water, then you can assume the
rectangle lies entirely within the 2-phase region of the hydrocarbon phase
envelope, so interpolation is appropriate. If however one, two, or three of the
points have no oil, then clearly the hydrocarbon dew point line crosses the
rectangle, so a rigorous flash is required.
Rigorous This option enables rigorous flash calculations at all times. This will produce the
most accurate results, through will significantly increase runtimes.

Note: For those requiring more accuracy, the recommended setting (that is the greatest
increase in accuracy for the smallest effect on performance) is Physical Properties = Hybrid
and Temperature Energy balance = Interpolate. This option typically increases runtime 2-4
fold compared to using the Interpolate option, though this depends on the number of flash
calculations required in the proximity of phase boundaries.

• In most simulations, for every PP flash that is performed, there are about 5 to 10 TH flashes,
thus the TH flashes will have the greatest effect on speed and run time. The inaccuracies of
TH interpolated flashes are usually minimal.
• The speed impact of each choice will obviously depend on the composition, and the phase
behavior in the PT region of interest. As a rough guide, taking the base case as
interpolation, swapping just the PP flashes to "rigorous" will multiply your run time by about
4. With TH flashes also "rigorous", run time will probably increase at least 20 fold. Use of the
'compromise' choices will be faster.

Run simulations
243
PIPESIM User Guide

• Single component system: - Controls "one component" behavior. Can be enabled or


disabled by you through following options. If enabled, the fluid is assumed to consist entirely
of one component molecule, and hence does not exhibit a classical phase envelope when
graphed on axes of pressure versus temperature. Salient Examples of such systems are
pure water or steam, pure Carbon Dioxide, pure methane, and so on. One component, if
enabled, forces the engine to use enthalpy as master and force a pressure-enthalpy flash.
• Yes - One component system is enabled.
• No - One component system is disabled.
• Auto - If the composition contains a single component, 'One component' behavior is
automatically enabled. If multiple components are detected, 'One component' behavior is
disabled.

Note: When Modeling single component systems, you should set both flash options to
Hybrid or Rigorous.

Network solver options


The Network Solver options control the method and accuracy of the network simulation.

Property Description
Network Automatic
solver For this release, the Standard method will always be applied if "Automatic"
method is selected. In future releases, the option will automatically select the most
appropriate method to use.
Standard
The default method used to perform the network simulation. In general, this
method will be the fastest but may fail to find a solution for some models and
settings. If this method fails to find a solution, use the Advanced method.
Advanced
This method uses additional information and calculations to perform the
network simulation and; therefore, will be more reliable but may require more
simulation time. If the Standard method fails to find a solution, consider using
this method.
Max. number The solver will iterate solution values until the model converges within the user
of network specified tolerance. If the solver has not found a solution within the specified
solver tolerance after reaching the max. number of network solver iterations, the
iterations simulation will stop and the best unconverged solution will be reported.

Note: A larger number will not reduce performance when a solution is possible. It
will however take longer to return the best unconverged result when no solution
can be found.

Run simulations
244
PIPESIM User Guide

Property Description
Network The average relative error of the pressure and mass flow rate equations used to
solution determine the converged solution. These equations are different between the
tolerance Standard and Advanced methods and have been scaled to give approximately
similar errors in average node properties when converged to the same tolerance.
Max number The maximum number of iterations in which to try and determine a solution. The
of network simulation will stop after this number of iterations unless the tolerance has been
solver met. The default value is 100.
iterations
Network This option defines the solution tolerance for the network solver. A network has
solution converged when the pressure balance and mass balance at each node is within
tolerance the specified tolerance. The calculated pressure at each branch entering and
leaving a node is averaged. The default value is .01 (1%).

Miscellaneous options

Property Description
Thermal This feature specifies how the engine will determine the ambient temperature as
interpolation a function of distance along pipe segments. For well deviation surveys, flowlines
method and risers, the ambient temperature for each specified survey point (distance or
depth) will be interpolated from the ambient temperatures specified in the Heat
Transfer data. However, the calculation engine often adds shorter computation
segments during the simulation run. These options apply only to these
computation segments, as opposed to user-defined survey points.
Interpolate
This method will interpolate the value for ambient temperature for all
computation segments. Interpolate is the default method for newly-created
models and is generally recommended.
Step function
This method will use the ambient temperature from the previously-defined
survey point for all computation segments until the next defined survey point
is used. This method is discouraged, particularly for wells, as this is not
often representative of actual conditions.
Automatic
This method will interpolate the value for ambient temperature for
computation segments associated with wells, and apply a step-function to
determine the ambient temperature value for flowlines and risers. This
method is the default method for models imported from PIPESIM* 2012 and
previous versions as it mostly closely replicates (though does not exactly
match) the default methods for these versions.

Note: The Step-function method in PIPESIM 2012 and previous versions


behaves differently than the method in PIPESIM 2013 and later versions. With

Run simulations
245
PIPESIM User Guide

Property Description

PIPESIM 2012, the step-function method would reset the ambient temperature
only when a new temperature is specified in the ambient temperature table.
Starting with PIPESIM 2013, the ambient temperature reset at the end of the
user-defined (that is. not computation) segment to the interpolated value based
on the specified ambient temperatures.
For example, for a pipe with five survey points and differing ambient
temperatures specified at the start and end of the pipe, PIPESIM 2012 will only
use the first value for the entire length of the pipe, whereas PIPESIM 2013 will
interpolate the ambient temperature and apply it to these five points.

ESP slippage ESP Slippage factor is used to de-rate pump operating speed. The specified
factor operating frequency (Hz) of the motor in the ESP property pane is multiplied by
this factor and converted to display operating speed of the pump (c/min).
The default value of .9722 will result in a speed of 3500 RPM for a frequency of
60 Hz.
Ignore This option allows you to turn-off validation errors that prevent invalid entries in
validation fields so that you can run a simulation task.
errors

Engine keywords
Engine keywords can be used to generate PIPESIM input language for the engine/solver for
features that may not have exposed to the user interface or to perform advanced tasks.
There are 2 ways to enter keywords in PIPESIM:
1. Using the Engine Keywords Tool (EKT) object: An engine keyword tool (p.69) can be inserted
as a downhole object or as part of the surface network, to enter keywords at a specific location
in the production or injection path.
2. Under the general simulation settings: Keywords can be entered in the Engine keywords
section under Home » Simulation settings » Advanced. Keywords can be entered as single
branch or network keywords, as described below.

Property Description
Single When entering keywords in this area, the PIPESIM engine uses the associated
branch values specified for all single branches in the network.
keywords Single branch keywords applies to well or branch while performing single branch
tasks like PT Profile, Nodal Analysis, System Analysis, VFP Table, etc.
Network Network keyword is applied to the whole network and impacts results of Network
keywords Simulation.
(top) Location of the keyword depends on the type of keywords used. Network (top)
keywords are written at the top of the *.TNT file and therefore should be
information that are not part of a typical *.TNT file, else the keywords will be

Run simulations
246
PIPESIM User Guide

Property Description
replaced by information found elsewhere. Example could be keyword that prints
additional heat transfer output data, etc.

Note: It is recommended not to use both single branch and network keywords in
the same model.

Network Network (bottom) keywords are written at the bottom of the *.TNT file and therefore
keywords works by overriding any existing keyword that may be present elsewhere in the
(bottom) *.TNT file. Example could be using Steam keywords that overrides any fluid
information we may have in the *TNT file.

For more information, see keywords from the PIPESIM engine keyword tool (EKT) (p.677) and
COMPOSITION: compositional fluid specification (p.817).

Related links:
Engine Keyword Tool (p.69)
Configure simulation settings (p.233)

4.1.7 Override the default value in specific rows


You can override simulation settings in specific rows.

Note: The fields for each tab may be slightly different depending on whether you are using
network-centric mode or well-centric mode.

1. On the Home tab, in the Data group, click Simulation.


2. Click the tab for the category that you want to configure.
3. In the row that you want to change, select the Override check box.
Many of the properties that could not be changed become editable. For example, you can
select a different Vertical multiphase correlation method.
4. Change the values in that row as necessary.
5. To reapply global simulation settings to specific rows, in the row that you want to change, clear
the check box in the Override column.
All the values for that row return to the global setting.
6. To reapply global simulation settings to all rows, perform the following actions:
a. Click Apply global flow correlations to all or Apply global heat transfer options to all.
b. To apply the default settings to all branches, overwriting any values previously entered, click
Yes.
7. Click Close.

Run simulations
247
PIPESIM User Guide

Related links:
Configure simulation settings (p.233)
Flow correlation properties (p.234)
Heat transfer properties (p.237)

4.1.8 Enter sensitivity ranges


You can use the Sensitivity range dialog box to quickly enter a range of sensitivity values for
the parameter that you are sensitizing on in the task simulation.

4.2 Run a network simulation


Run a network simulation to calculate the distribution of flowrates, temperatures, and pressures,
and other properties throughout the system. You can run the simulation using either known or
hypothetical conditions. To run a network simulation, your network must include at least one
source and one sink or injection well.
1. Verify that the network includes at least one source (well, source, or junction treated as source)
and one sink or injection well.
2. Review and resolve any error messages in the Message center pane or in the Validation
pane.
3. On the Home tab, in the Settings group, click Simulation to configure the simulation settings.
4. Perform one of the following actions:
• On the Home tab, in the Tasks group, click Network simulation.
• In the Tasks pane, double-click Network simulation.
5. Click the Parameters tab.
6. Enter a name and description for the simulation.
7. On the Parameters tab, review or edit the simulation parameters in the data table.
8. In the Boundary conditions check area, perform the following actions:
a. If you want to refresh the table with data from the network objects, click Populate from
model. If you want to update the network objects with the current data in table, click Update
back to model.
b. If the Required number of boundary conditions does not match the Supplied number
(indicating that boundary conditions are missing or incorrect), review and resolve the error
messages that appear. When all required boundary conditions are supplied, the Run and
Restart buttons become available.
9. Perform one of the following actions to simulate the model:
• Click Run.
The simulation uses the initial pressure and flowrate estimates. Use this option if this is the
initial run, or if wells have been added to the model since the last run.
• Click Restart.

Run simulations
248
PIPESIM User Guide

The simulation uses the final results from the last run for the initial guess, shortening the
simulation time. You can use this option if no wells, flowlines, or any other objects have
been added to the model since the last run.

Note: When the simulation is complete, the Run and Restart buttons become available again.

10.Perform one of the following actions to simulate the model:


• If the simulation fails, review and resolve the error messages in the Message center pane
or in the status bar.
• If the simulation completed successfully, view the simulation results by clicking the Node/
Branch results tab or the Profile results tab.

Note: If you want to access simulation results from multiple studies in one place, view the
results from the Results tab.

Important: If you must terminate a simulation in progress, always click Stop. Do not simply close
the Network simulation window. Clicking Stop deletes temporary files and frees disk space.

Related links:
Configure simulation settings (p.233)
Boundary conditions (p.249)
Rate constraints (p.249)
Node/branch results tab properties - network simulation (p.253)
Profile results tab properties - network simulation (p.254)

4.2.1 Boundary conditions


Network simulation requires boundary conditions to be provided at boundary objects so that the
system can be solved. Boundary conditions are configured differently depending on the simulation
task.
Sources
Wells, completions within wells (in a multilayer well, each completion is a separate
source), source objects, and injection points
Sinks
Sink objects and injection wells
1. The total number of P/Q specifications - pressure (P), flowrate (Q), or PQ table - must equal the
number of boundary nodes.
2. All sources must have at least one specified boundary condition, which can be P, Q, P+Q, or
PQ table. EXCEPTION: All injection points must have at least one specified boundary condition,
which must be flowrate (Q).
3. All sources must have temperature specified.

Run simulations
249
PIPESIM User Guide

4. Sinks can have pressure or flowrate data.


5. Sources and sinks can have two boundary conditions, as long as rule 1 is satisfied.
6. At least one supplied boundary condition within the model must be pressure (or a PQ curve). In
other words, you cannot specify flowrate as the condition for all boundary nodes.

Differences between single-layer and multi-layer wells in network simulation


Single-layer well
You can specify pressure or flowrate. The algorithm used by PIPESIM calculates reservoir
pressure if you specify flowrate. Flowrate is calculated if you specify pressure.
Multi-layer well
You must specify the pressure at each layer (completion). PIPESIM will calculate the
producing rates for the individual completions.

Network simulation properties


In the Parameters tab, enter the data used to run a network simulation on the selected network.
To run the simulation, the data must meet the boundary conditions requirements.

Property Description
Object filter In the Object filter list, select one of the following filters to display only objects
of the selected type:
• All
• Well
• Source
• Sink
• Injection point
• Zone
Location of Click the appropriate option to specify whether to include the well models in the
Well Boundary simulation run.
Conditions Reservoir
When selected, the Completion and Zone columns appear in the table and
boundary conditions are associated with the reservoir.
Surface
When selected, boundary conditions are associated with the wellstream
outlet conditions defined for the production wells or the wellstream inlet
conditions defined for the injection wells. The Completion and Zone
columns disappear because they pertain only to reservoir conditions.
Override By default, this check box is not selected, and the simulation uses the phase
phase ratios ratios from the assigned fluids. If you want to modify the phase ratios for the
simulation, select the check box, and then enter the new values in the following
columns:

Run simulations
250
PIPESIM User Guide

Property Description
• Gas ratio type
• Gas ratio
• Water ratio type
• Water ratio
Table 4.3: Parameters Tab Properties - Global Settings

Property Description
Name Displays the name of the network object.
Type Displays the type of network object. Network simulations may include wells,
sources, injection points, sinks, and zones.
Completion Displays the name of the well completion. This column appears when you
select Reservoir as the Well BC location.
Active Select this check box to include the network object in the simulation scenario.
To exclude the object from the simulation, clear the check box.
Pressure (P) You can enter the pressure for the network object. If you do not specify a value,
it will be calculated.
Rate type If entering a flowrate, select the type of material in the flowline (Liquid, Gas, or
Mass).
Flowrate (Q) You can enter the flowrate for the network object. If you do not specify a value,
it will be calculated.
Temperature You must enter the inlet temperature associated with the fluid source.
Zone Displays zone parameters, which are optionally used to consolidate boundary
conditions for any completions defined within the zone. This column appears
when you select Reservoir as the Well BC location.
PQ Table When this check box is selected, the simulation uses the PQ curve defined for
the source. If you select the check box and the source has no defined PQ
curve, an error will appear in the Boundary conditions check area.
Gas ratio type If you selected the Override phase ratios check box, select one of the
following gas ratio types:
GLR
Gas/liquid ratio
GOR
Gas/oil ratio
LGR
Liquid/gas ratio
OGR
Oil/gas ratio

Run simulations
251
PIPESIM User Guide

Property Description
Gas ratio Enter the ratio value and units of measure for the selected Gas ratio type.
Water ratio type If you selected the Override phase ratios check box, select one of the
following water ratio types:
GWR
Gas/Water Ratio
WGR
Water/Gas Ratio
Watercut
Ratio of water present in an overall liquid volume
Water ratio Enter the ratio value and units of measure for the selected Water ratio type.
Table 4.4: Parameters Tab Properties - Table Columns

Synching boundary conditions with the model


The first time you open the Network simulation window, boundary condition data (such as
reservoir and sink pressures) are automatically retrieved from the model. If you make changes to
the model (for example, to run other simulation studies) and want to refresh the data in the
Boundary Conditions tab, click Reset boundary conditions. If you want to update model
properties with the boundary conditions defined in the network simulation task, click Publish
boundary conditions.

Related links:
Run a network simulation (p.248)

4.2.2 Rate constraints


To enter maximum flowrate constraints:
1. Select the Rate Constraint tab in the network simulation task.
2. Specify the maximum flowrate limits for the desired rate types and branches.
Branches that have flowrate constraints defined must contain one or more chokes. When the
network solves, the constraint is met by adjusting the bean size of the choke. If more than one
choke is present in the branch, the most downstream choke in the branch is adjusted. If you want
the choke to only be active if the flow rate exceeds the limit, fully open the choke in the model.
One or more flowrates constraints may be defined for each branch for the following rate types:
• Gas
• Liquid
• Oil
• Water
• Mass

Run simulations
252
PIPESIM User Guide

For cases where multiple rate constraints are defined, the most limiting constraint is applied such
that all constraints are honored. If the flow rate is below the defined limit, the choke operates at its
specified bean size (for example, no adjustment is applied). If the flow rate is above the limit, the
bean size is decreased by the engine such that the flow rate limit is achieved. The modified bean
size is reported in the output results.
You may not specify flowrate constraints associated with rate specified objects as these values will
create a conflict.

Note: Over constraining the network may prevent the simulation from converging on a result. For
models containing separators, certain configurations will effectively rate specify the streams
leaving the separator and therefore cannot be rate specified themselves. More specifically, do not
place rate constraints on a sink or injection well downstream of the discontinuous stream leaving
the separator. Additionally, for separators that have a pressure specification, do not place a rate
constraint on any sink or injection well downstream of the separator.

Related links:
Run a network simulation (p.248)

4.2.3 Node/branch results tab properties - network simulation


The Node/Branch results tab displays network simulation results in two modes: Node or Branch.
Node
In this display mode, objects with no associated physical dimensions are shown. These
include sources, sinks, equipment, and completions. You can show all equipment types, or
filter the results table to show only a specific equipment type (such as chokes,
compressors, or pumps). You can also select the columns to be shown in the results table.
After selecting the desired columns, you can expand the rows to display additional
information about particular objects.

Property Description
Display mode Click Node or Branch to switch the display mode.
Equipment In the list, click All to show all network objects in the results
filter table, or click a single equipment type for display.
Select Click this button to open the Select columns window where
columns you can select the columns to be shown in the results table.
The available properties correspond to the system variables
selected in the Output variables tab (located in the
Simulation settings window).
Expand all Click on a row in the results table to show detailed results for
certain individual objects.
Click the Expand all button to show or hide detailed information
for all network objects in the results table.

Run simulations
253
PIPESIM User Guide

Property Description
For example, a compressor row expands to display data such
as pressure difference and differential temperature. (Some
object types, such as junctions, sinks and wellheads, do not
expand.)

Branch
In this display mode, individual branches that comprise various objects (such as flowlines
and equipment) may be shown. Branch results are used to display the inlet and outlet
conditions of the branch, as well as minimum and maximum values. You can also select
the columns to be shown in the results table.

Property Description
Display Click Node or Branch to switch the display mode.
mode
Select Click this button to open the Select columns window where
columns you can select the columns to be shown in the results table.

Note: For branch results, the available columns are fixed and
not associated with the results configurable from the Output
variables tab (located in the Simulation settings window).

Related links:
Output variables properties (p.240)

4.2.4 Profile results tab properties - network simulation


The Profile results tab displays the results as a function of distance along a specific network
branch in tabular or graphical format.
You can also filter the results table to show specific branches (for example, typing well will display
all branches that contain well in the name).
You can also select the columns to be shown in the results table. After selecting the desired
columns, you can expand the rows to display additional information about particular network
objects.

Property Description
Show grid Click this option to display the simulation profile results in a table.
Show plot Click this option to display the simulation profile results as a graphical plot. If you
want to view plots for all branches at once, click the upper-left hand corner of the
table. Double-click the plot to configure it.
Select Click this button to open the Select columns window, where you can select the
columns columns to be shown in the results table.

Run simulations
254
PIPESIM User Guide

Property Description
The available properties correspond to the profile variables selected in the Output
variables tab (located in the Simulation settings window).
Expand all Click this button to show or hide detailed information for all network objects in the
results table.
For example, a compressor row expands to display data such as pressure
difference and power required. (Some object types, such as junctions, sinks and
wellheads, do not expand.)

Note: Click on a row in the results table to show detailed results for certain
individual objects.

Related links:
Output variables properties (p.240)

4.2.5 Improve network simulation performance


In general, Performance is a trade-off between speed and accuracy. When dealing with models
that are taking too long to run, there are several approaches that can be taken to improve the
network speed. Improving the speed may compromise the accuracy and you may need to reverse
some of the changes outlined in the approaches below to restore the appropriate level of accuracy,
once you have fine-tuned the model.

Approaches for improving network speed


• Approach 1: Change the PIPESIM execution and reporting settings
• Approach 2: Make high and low-level changes to the PIPESIM model

Note: After using the approaches above to improve the network speed and fine-tune the model, it
is important that you carefully reverse some/all of the changes, in order to regain accuracy.

Approach 1: Change the PIPESIM execution and reporting settings


The options outlined below do not modify the model but attempt to reduce the engine workload to
improve speed. You may need to do some trial-and-error to determine which one, or combination
of options below, is best for speeding up your model.

Option Details
Increase the no. PIPESIM has introduced a parallelized network solver where you can run
of allocated network simulations with multiple processors to increase the speed.
processors How do I do this?

Run simulations
255
PIPESIM User Guide

Option Details
Go to Workspace » Options » Advanced » Engine Options. Increase the
Number of processes for Network engine. For more information, see
Advanced Options (p.9).
License You may experience delays in running simulations if a network license server
checkout at is being used due to communication latency. By checking out available
startup licenses at startup, network latency is eliminated allowing faster performance
when running simulation tasks or editing compositional fluid models.
How do I do this?
Go to Workspace » Options » Advanced, then under LICENSING, select At
startup (faster).
Decrease the Decreasing the verbosity level will reduce the amount of output displayed in the
verbosity level engine console during simulation.
How do I do this?
Go to Workspace » Options » Advanced » Engine Options. Decrease the
Network verbosity level. 0 is minimal, 1 is default and higher generally
increases the amount of output.
Restart the Restarting a network simulation, as opposed to running it, increases the
simulation network speed. This option uses a restart file to initialize the simulation by
using the results from the previous simulation as estimates for the unknown
variables. This is most effective when you are running many similar scenarios
with only small variations. If minor changes (such as flow rates, pipe
dimensions, etc.) have been made to a network, use the Restart function.
However, if structural changes (such as new pipes, wells deleted, inactive
branches reactivated, etc.) have been made, run the model from scratch, by
clicking Run instead.
How do I do this?
If you have not run the model at all, launch the Network simulation task and run
it to generate restart files. To run subsequent simulations faster, after minor
changes have been made to the model as described above, launch the
Network simulation task and click Restart. For more information, see Restart
Simulation (p.261).
Do not display Choosing not to display the engine console window during the simulation
engine console should increase the network speed.
window How do I do this?
Go to Workspace » Options » Advanced » Engine Options. Uncheck the
Show engine console box.
Do not generate Choosing not to generate the engine output files after the simulation is
engine output complete, should increase the network speed.
files How do I do this?

Run simulations
256
PIPESIM User Guide

Option Details
Go to Workspace » Options » Advanced » Engine Options. Uncheck the
Show engine output files box.
Run the model How do I do this?
locally Save the model to the local PC rather than to a Network drive. This will
eliminate any potential network delays. Also use a local PIPESIM license file,
rather than a network license, if possible.

Approach 2: Make high and low-level changes to the PIPESIM model


The following options will increase the simulation speed, but may sacrifice accuracy in doing so.
Use these options to fine-tune the model, but reverse them to get more accuracy, once this is
done. You may need to do some trial-and-error to determine which one, or combination of options
below, is best for speeding up your model. The high level changes are easy to reverse, the low
level changes might require a bit more work to reverse.

Option Level of Details


Change
Increase the High and PIPESIM solves the network using an iterative approach. It stops the
Tolerance Low calculation when the iterative error is less than a given tolerance.
Thus, the specified tolerance has a direct impact on the number of
iterations and the time taken to achieve an acceptable result. The
default tolerance is 1% (0.01). Increasing the tolerance will increase
the speed but will compromise the accuracy.

Note: The results with tolerance greater than 2% are not


recommended.

How do I do this?
For a network model, go to Home » Simulation settings »
Advanced Engine Options and enter a higher value for the
Network solution tolerance.
Specify flow Low Specifying flow rates as the boundary conditions at inlet nodes
rate as the inlet usually result in faster performance.
boundary How do I do this?
conditions
For a network model, launch the Network simulation task. Delete
the pressure boundary conditions for inlet nodes (wells and sources)
and enter flow rate boundary conditions instead, but ensure that at
least 1 pressure is specified to satisfy the criteria required for the
network to solve.
Change the High and The Moody friction factor is calculated as part of the multiphase
calculation Low pressure drop calculations (vertical and horizontal) when the single
method for the phase flow correlation option is set to Moody or Cullender-Smith. For
Moody friction more information, see Single Phase Flow Correlations. (p.418)

Run simulations
257
PIPESIM User Guide

Option Level of Details


Change
factor to There are three (3) options for the Moody fiction factor calculation. In
Approximate increasing order of accuracy, they are: Approximate/Moody (refer to
the Moody paper (p.664)), Explicit/Sonnad (refer to the Sonnad and
Goudar paper) (p.664), and Implicit/Iterative (Colebrook-White
equation or Moody chart). The default option is Explicit. Changing the
calculation method to Approximate will increase the speed but
decrease the accuracy.
How do I do this?
Go to Home » Simulation settings » Advanced » Engine
Keywords and enter the following lines of PIPESIM keywords in the
Network keywords (bottom)field. This will add the keywords to the
bottom of the engine network file.
OVERRIDE
SPHASE MOODYCALC = APPROXIMATE
Decrease the High and PIPESIM divides pipes into shorter segment lengths to do the
number of Low pressure drop calculations. The greater the pipe segmentation, the
segments per better the accuracy, but the slower the performance. The default
pipe length number of segments per pipe length in PIPESIM is 4. Decreasing
this number to 3, for example, will speed up the simulation.
Decreasing it to 2 will further speed up the simulation, but the
answers may become more unstable. Furthermore, if when using the
user-specified number of segments, PIPESIM encounters
discontinuities, it will override the specification and this will ultimately
slow down the simulation.
How do I do this?
Go to Home » Simulation settings » Advance » Pipe
Segmentation Data and enter a value less than the default value of
4, in the Computation segments per report intervalfield.
For the single branch model, enter a value less than the default value
of 4, in the Segments per pipe length field.
For the network model, click the Option Control tab and follow the
previous step.
Deactivate the High PIPESIM calculates fluid properties at the average pressure and
option to temperature for each segment. The average values for these
include short properties may not be representative for the beginning and end of
segments the segment (for example, the nodes), particularly if the segment is
long and there are significant changes in pressure and temperature
across it. PIPESIM resolves this by adding short 1 foot segments at
both ends of each segment, by default. This will ensure accurate
values at the start and end of each node are reported, but it also
slows down the engine. If you are not interested in the exact values

Run simulations
258
PIPESIM User Guide

Option Level of Details


Change
at the beginning and end of each node, or are performing some fine
tuning, you may deactivate this option to speed up the simulation.
How do I do this?
Go to Home » Simulation settings » Advanced » Pipe
Segmentation Data, and uncheck the box Additional short
segments across nodes.
Changing the High In the Compositional fluid mode, the fluid is flashed for the
Flashing temperature energy balance and for the calculation of the fluid
Settings physical properties, but depending on the option chosen in PIPESIM,
this can be a computationally expensive process. To speed up the
network simulation, change the flashing option for Temperature
energy balance and Physical properties, to a faster, but less
accurate one, as described below.
PIPESIM has 3 flashing options for Temperature energy balance
and Physical properties. In order of increasing accuracy but
decreasing network speed, they are:
• Interpolate (fastest): This option uses interpolation between
physical properties determined by a predefined grid of
temperature and pressure points.
• Hybrid: This is a compromise between speed and accuracy, which
assumes that properties will change more rapidly when close to a
phase boundary. Interpolation is performed whenever the grid
points comprising a rectangle all show the presence of the same
phases. For example, if all 4 points in the rectangle have some oil,
some gas, and no water, then we assume the rectangle lies
entirely within the 2-phase region of the hydrocarbon phase
envelope, so interpolation is appropriate. If however one, two or
three of the points have no oil, then clearly the hydrocarbon dew
point line crosses the rectangle, so a rigorous flash is required.
• Rigorous (slowest): Interpolation never occurs. Properties are
obtained by rigorous flashing at every required pressure and
temperature. This is the slowest, but the most accurate method.
For more information, see Advanced Properties (p.9).
How do I do this?
Go to Home » Simulation settings » Advanced » Compositional
Flashing Options, and select the fastest flashing option for
Temperature energy balance and Physical properties.
Switch to a Low Generally, black oil fluid models run faster than compositional fluid
Black Oil fluid models. However, Compositional fluid models are more accurate,
model particularly when dealing with gas condensates and volatile oils. If
your model does not undergo a lot of compositional or phase

Run simulations
259
PIPESIM User Guide

Option Level of Details


Change
changes and/or the difference in results between running the
simulation in black oil vs. compositional mode is minimal, then it
would be reasonable to run the model in black oil mode to speed up
the simulation.
How do I do this?
If you have a compositional fluid model, change it to Black Oil by
selecting Home » Fluid manager. Select Black Oil from the option
list and enter the required values.
Changing Flow Low Changing flow correlations is another way of speeding up
Correlations simulations, but this option should be used with great caution. Flow
correlations should be chosen based on their ability to reproduce/
match the flowing pressures, holdups, etc. observed in the field.
However, if different correlations yield similar (accurate) results but
varying simulation speeds, then it would be reasonable to choose the
flow correlation that yields the fastest simulation speed. The native
Baker Jardine and Neotec package is the fastest. 3rd party flow
correlations, specifically the 3-phase mechanistic flow correlations,
will typically be the slowest, but most accurate.
How do I do this?
Change the flow correlations under Home » Simulation settings »
Flow correlations.
Avoid loops in Low Loops in the network require PIPESIM to do extra checks to ensure
the network overall consistency (for example, elevation difference). Avoid loops
topology where possible to speed up the performance.
Follow these High and • Try to split the model into smaller networks, which can be solved
general tips Low independently, before linking them all together. (This helps in
troubleshooting the model.)
• When first building the model, leave out equipment such as
compressors and separators, then incorporate them one at a time.
(Again, this helps troubleshooting.)
• When using a compressor or pump, define it initially with a Delta P
rather than with a power or user curve. It can be changed as
required later. Also, avoid defining a compressor with discharge
pressure, as this can have the effect of over-constraining a
system.
• Try to avoid unnecessary nodes in a network, as this increases
the computing time required to solve it.
• Avoid dangling or redundant branches.
• If the sinks are flow rate specified, and are consistently being
reported at atmospheric pressure upon simulation (see messages

Run simulations
260
PIPESIM User Guide

Option Level of Details


Change
in engine window), try changing the boundary condition to an
outlet pressure to see what flow rate can be achieved.
• When first attempting to solve a large network, increase the
convergence tolerance to 5% and check the validity of the results.
The tolerance can later be reduced and the model restarted.
• If a branch appears to be behaving strangely, or is ill-conditioned,
split it into smaller segments. This aids troubleshooting and
improves continuity along the branch.
• If the program crashes part way through an iteration with "file
open" or "macopen" errors, this is due to the processor running
out of memory. Simply restart the model; the program will start
from where it left off. Use the PIPESIM toolbar Restart button in
this case.
• Try to avoid having long flowlines and risers in the same branch.

Related links:
Reversing the changes made to PIPESIM models to optimize their simulation performance (p.263)
PIPESIM differences from other simulators (p.262)
Restart simulation (p.261)

Restart simulation
The restart information is only available between simulation runs in the same application session,
or if you save the model. The results in the restart file can be reused as initial estimates for a
subsequent simulation, if the new simulation is launched by restarting the model (as opposed to
rerunning it).
The restart file results will be used as initial estimates, instead of the PIPESIM default estimates
(Production/injection well static pressure = 5,000 psia, Source/sink/node pressure = 1,000 psia &
Flowrate = 10 lb/s). Restarting the model is a good option for increasing network speed, and is
most effective when you are running many similar scenarios with only small variations. If minor
changes (such as flow rates, pipe dimensions etc.) have been made to a network, use the Restart
function. However, if structural changes (such as new pipes, wells deleted, inactive branches
reactivated, etc.) have been made, run the model from scratch, instead. For more information, see
Improve network simulation performance (p.255).
To restart a model:
1. Launch the Network simulation task and click Run to run the simulation (if the model has not
been run at all).
2. Make the minor changes you want to make to the model, as described above.
3. Re-launch the Network simulation task and click Restart to initialize the simulation.

Run simulations
261
PIPESIM User Guide

The Restart function, by default, restarts the model by keeping all deactivated branches
permanently deactivated. So if you deactivate a branch, run the model, and reactivate the branch
again before using the Restart function, the deactivated branch remains deactivated.

Note:
• If the model has changed significantly (for example, a well was added, or a branch or node
was de- or re-activated), the use of the Restart function may actually slow down the
simulation.
• If minor changes have been made to a network (for example, a flow rate or pipe dimension
change), Restart should provide a faster convergence than a normal run.
• The Restart function is particularly useful to continue a simulation from where it left off, in
the following scenarios: if the program crashes part way through an iteration; if the model
does not solve in the allowed number of iterations; or if the run is terminated prematurely by
user intervention or some other system error.

Related links:
Improve network simulation performance (p.255)

PIPESIM differences from other simulators


It is important to understand how PIPESIM works in order to assess its performance in comparison
with other network simulators, which may or may not appear to be faster. PIPESIM differs from
other simulators in the following ways:
• PIPESIM is a multiphase flow simulator. Other simulators with apparent faster performance
may be single-phase simulators, which cannot capture important multiphase effects.
• PIPESIM can model general networks including loops and crossovers. Other simulators may be
limited to solving gathering networks only (multiple sources, 1 sink).
• PIPESIM does not require (good) initial estimates at each source and sink, which may be a
requirement for other simulators.
• PIPESIM does not require (good) internal node estimates, which may be a requirement for
other simulators.
• The tolerance in PIPESIM may be defined differently from other simulators.
• PIPESIM performs a rigorous heat balance, which may not be the case for other simulators.
• Other simulators may have to define the fluid composition for each branch in the model at the
start of the simulation, before the flow rates are known! This is not a PIPESIM requirement.
• PIPESIM rigorously checks for network inconsistencies, for example elevation mismatches,
prior to the simulation, which is a step other simulators may skip.
• Other simulators may need to have non-return valves placed in lines to indicate the direction of
flow. This is not a PIPESIM requirement.

Run simulations
262
PIPESIM User Guide

• PIPESIM has a strong and rigorous fluid Compositional PVT characterization supported by the
Multiflash package, which is also embedded in OLGA, allowing better alignment and transition
from steady-state to transient workflows.
• PIPESIM includes more PVT correlations for heavy oil characterization.
• PIPESIM includes a comprehensive list of flow correlations; single-phase, multiphase, empirical
and state-of-the-art mechanistic flow correlations such as the OLGA-S correlations.
• PIPESIM has more engineering tools for flow assurance analysis (hydrates, asphaltenes, wax).
• PIPESIM data matching is more rigorous as the (U value and pressure hydraulics) are
simultaneously tuned to give a more accurate thermo-hydraulic representation of the system
being modeled.

Related links:
Improve network simulation performance (p.255)

Reversing the changes made to PIPESIM models to optimize their simulation


performance
After using the approaches above to optimize the network performance and fine-tune the PIPESIM
model, it is important that you carefully reverse some/all of the above changes in order to regain
accuracy. A subset of some (not all) of the changes that may need to be reversed are outlined
below:
• Tolerance:Restore the default tolerance of 1%. Generally, increasing the tolerance above the
default value of 1% will increase network speed but decrease accuracy. Decreasing the
tolerance to 0.1% or lower will significantly increase the simulation time.
• Moody friction factor: Change the Moody friction factor calculation method back to the default,
EXPLICIT, or the most accurate method, IMPLICIT. Do this by replacing the keyword
APPROXIMATE, which was recommended in the previous section to speed up the
performance, with EXPLICIT or IMPLICIT (Refer to the previous section for Help with entering
the keywords correctly).
• Boundary conditions: Enter the appropriate boundary conditions that are fit for purpose.
• Extra one foot segments: Reactivate the option to add extra one foot segments under
Simulation settings » Advanced.
• Flashing settings:If working with a Compositional fluid, select a more accurate flashing option;
Rigorous or Hybrid. For more information, see Improving Network Simulation Performance
(p.255).
• Flow correlations:Select the flow correlations that most closely reproduce the rates,
pressures, holdups, etc. recorded in the field.
• Loops: Enter accurate and representative topology for the loops in the network.

Related links:
Improve network simulation performance (p.255)

Run simulations
263
PIPESIM User Guide

4.3 Run a P/T profile


Use the pressure/temperature profile (P/T profile) task to generate pressure and temperature
profiles as a function of distance or elevation along the defined single-branch flow path.
1. (Network-centric mode) On the network diagram, or in the Inputs pane, select the well or
source where the analysis will start. (Well-centric mode) No selection is required.
2. Perform one of the following actions:
• On the Home tab, in the Tasks group, click P/T profile.
• In the Tasks pane, double-click P/T profile.
3. On the Parameters tab, enter the properties, including the branch endpoint, the calculated
variable, and any sensitivity variables.
4. Click Run.
To monitor simulation progress, check the message center or progress monitor.
5. View the profile results by clicking the System results tab or the Profile results tab.

Related links:
P/T profile parameters tab (p.265)

4.3.1 System results tab properties


The System results tab displays task results in two modes: Node or Branch. This tab displays the
range of calculated results when the profile includes sensitivity data. You can also select the
columns to be shown in the results table. You can also expand the rows to display additional
information for completions and equipment objects.

Node display mode properties

Property Description
Show grid Click this option to display the system profile results in a table.
Show plot Click this option to display the system profile results as a graphical plot.
Double-click the resulting plot to configure it.
Display mode Click Node or Branch to switch the display mode.
Equipment filter In the list, click All to show all network objects in the results table, or click a
single equipment type for display.
Select columns Click this button to open the Select columns window where you can select
the columns to be shown in the results table.
Expand Click this button to show or hide detailed information for all network objects in
the results table.
For example, a compressor row expands to display data such as pressure
difference and differential temperature. (Some object types, such as junctions,
sinks, and wellheads, do not expand.)

Run simulations
264
PIPESIM User Guide

Property Description

Note: You may also click on a row in the results table to show detailed results
for certain individual objects.

unlabeled Enter part or all of the name of a case, equipment, or equipment type to filter
search field the rows to show specific cases.
Case (column) Name of the sensitivity case.

Branch display mode properties

Property Description
Show grid Click this option to display the system profile results in a table.
Show plot Click this option to display the system profile results as a graphical plot.
Double-click the resulting plot to configure it.
Display mode Click Node or Branch to switch the display mode.
Select columns Click this button to open the Select columns window where you can
select the columns to be shown in the results table.
unlabeled search Enter part or all of the name of a case, equipment, or equipment type to filter
field the rows to show specific cases.
Case (column) Name of the sensitivity case.

4.3.2 P/T profile parameters tab


Enter the properties for the pressure/temperature profile (P/T profile) task, including the branch
endpoint, the calculated variable, and any sensitivity variables.

General properties
In this area, enter the endpoint that defines the selected branch for the P/T Profile.

Property Description
Branch start The well, source, or junction (if treated as a source) selected when the task was
started. You cannot change this value.
Branch end The default value is the junction farthest from the selected Branch start. To change
the Branch end, select the endpoint of the selected branch from the list. Setting the
endpoint at an object (for example, a flowline) includes that object in the simulation.

Default profile plot properties


In this area, define the X and Y axes that will appear by default on the Profile plot tab, which
displays the results of the P/T Profile task. Double-click the resulting plot to configure it.

Run simulations
265
PIPESIM User Guide

Property Description
Elevation vs. pressure Plots the elevation change against pressure. Subsurface
elevations are expressed as negative values.
Elevation vs. temperature Plots the elevation change against temperature.
Pressure vs. total distance Plots pressure against total distance. This setting is selected
automatically for source models.
Temperature vs. total distance Plots temperature against total distance.

Calculated variable properties


In this area, specify one of three key variables (inlet pressure, outlet pressure, or flowrate) as the
calculated variable. The calculated variable is derived from the other two values.
To specify a calculated variable other than inlet pressure, outlet pressure, or flowrate, click
Custom. You can select a single custom variable related to any object within the branch being
evaluated by the P/T profile.

Property Description
Inlet pressure To calculate the inlet pressure, enter both outlet pressure and any flowrate.
Outlet pressure To calculate the outlet pressure, enter both inlet pressure and any flowrate. The
inlet pressure is determined by the pressure at the start node.
Liquid flowrate Select the flowrate (liquid, gas, or mass) to be calculated. To calculate the
Gas flowrate flowrate, enter both inlet pressure and outlet pressure. The inlet pressure is
determined by the pressure at the start node.
Mass flowrate
Custom To calculate a custom variable, click Custom and then enter inlet pressure,
outlet pressure, and flowrate. The inlet pressure is determined by the pressure
at the start node.

Custom variable properties


If you want to specify inlet pressure, outlet pressure, and flowrate (all three), you must also specify
how to achieve the specified outlet pressure by defining a custom variable. A custom variable is a
user-defined variable whose value is calculated to match the specified conditions.
Select an object and a variable whose value will have an effect on the system outlet pressure. For
example, in a production well model, a choke positioned at the wellhead may have Bean size as
the variable. You can select any object and variable, as long as they have an effect on the system
hydraulics.
You must specify the allowable maximum and minimum values for the variable, and the
proportionality relationship (whether an increase in the variable's value causes an increase or a
decrease in outlet pressure).
• If you select Direct, the outlet pressure is assumed to be directly proportional to the variable,
and will increase when the variable increases (for example, the choke bean diameter).
• If you select Inverse, the outlet pressure is assumed to be inversely proportional to the
variable, and will decrease when the variable increases. As an example, consider the watercut

Run simulations
266
PIPESIM User Guide

of a black oil fluid in a production well: as watercut increases, the well's static delta pressure
increases, and therefore its outlet pressure decreases.

Note: For some object and variable choices, proportionality can be difficult to predict. For example,
if the tubing inside diameter (ID) is used as a variable in an oil production well, you would expect
outlet pressure to increase as diameter increases from a small initial value. However, once
diameter exceeds a certain critical value, the well will probably suffer from excessive liquid holdup,
causing the outlet pressure to decrease. In this situation, the simulation may have two solutions:
one with a small ID, and another with a much larger ID. In this case, the choice of proportionality
relationship lets you pick the solution you want. However, the simulation may have no solution; this
happens if the specified outlet pressure is too great.

Property Description
Object This list contains all objects within the selected branch, plus any tubulars or
completions defined for included wells. Select the object for which you want to
adjust a variable to affect the calculated flowrate.
Variable This list contains all calculated variables, including custom variables, associated
with the selected object. Select a variable for which you will specify minimum and
maximum values in the flowrate calculation. (When you select a variable, the Min
value, Max value, and Proportionality fields appear.)
Min value Enter the minimum allowable value for the variable.
Max value Enter the maximum allowable value for the variable.
Proportionality Determines whether an increase in the variable’s value causes an increase or
decrease in outlet pressure. Select one of the following options:
Direct
Outlet pressure is assumed to be directly proportional to the variable,
increasing as the variable increases; for example, the behavior of the choke
bean diameter.
Inverse
Outlet pressure is assumed to be inversely proportional to the variable,
decreasing as the variable increases. For example, as the watercut of a black
oil fluid in a production well increases, the well’s static delta pressure
increases and its outlet pressure decreases.

Sensitivity data properties


In this area, you can modify a variable to determine its specific effect over a range of values.
Sensitivity data overrides existing information for the selected variable.

Property Description
Item Select System Data, Fluid Data, or any system component for which you want to
specify a range of variables.

Run simulations
267
PIPESIM User Guide

Property Description

Note: If the selected branch contains more than one fluid, you cannot select Fluid
Data as the sensitivity item.

Variable Select a variable associated with the selected item for which you will specify a range of
values. When you select a sensitivity variable, the Range button appears above the
value range table, which may be useful for quickly defining a set of evenly spaced
values.
Range 1. Click Range.
2. Specify the Start and End values and the Step increment between those two
values.
3. Click OK.
The results appear in the values table (limited to 50 rows)
You can also complete the values table manually. To add a new row of data, click the
New(+) button; or simply type a number, and then press ENTER to move to the next
row. To delete a row, right-click the row, and then click Delete.

When entering sensitivity data, you can use sensitivity variables to adjust the desired flowrate.

Item Variables
Fluid Data • API Gravity
(available unless the selected branch • Gas Specific Gravity
contains more than one fluid) • Gas-Oil Ratio (GOR)
• Watercut
• Water Specific Gravity
System Data • Gas flowrate
(always available) • Inlet pressure
• Liquid flowrate
• Mass flowrate
• Outlet pressure
All objects within the selected branch, plus All calculated or custom variables associated with
any defined tubulars or completions for the selected object.
included wells

Related links:
Run a P/T profile (p.264)

4.3.3 Auxiliary results tab

Run simulations
268
PIPESIM User Guide

Auxiliary results are additional results that are generated as part of certain simulation tasks for
specific objects in the model. Currently, the Auxiliary results tab will only appear when a
Nodal analysis, P/T profile, or System analysis task is run with one or multiple active Onesubsea
multiphase boosters in the model. The following auxiliary results are available for the OneSubsea
Multiphase Booster:
• OneSubsea booster performance plot
• OneSubsea operating point row details
Refer to the OneSubsea multiphase booster simulation results table for more details.

Related links:
OneSubsea booster performance plot (p.269)
OneSubsea operating point row details (p.270)
OneSubsea Multiphase Booster Simulation Results

OneSubsea booster performance plot


A booster performance plot is created for each OneSubsea multiphase booster and for each
sensitivity case, if the simulation of the task was successful. It is a plot of differential pressure
versus total volumetric flowrate for the specific OneSubsea multiphase booster selected, operating
at the specific conditions defined in the model which include suction pressure, gas volume fraction
(GVF), liquid density and liquid viscosity. It displays the actual operating point from the simulation
and enables you to understand where the booster is operating in the envelope and evaluate
opportunities for optimizing the booster performance. It is important to note that a given
performance plot is valid only for the operating conditions it was generated for.
The performance plot is shown below.

Run simulations
269
PIPESIM User Guide

It displays the following four different operating points to illustrate various scenarios the booster
may be operating under.
• A – The pump is operating unconstrained. Pump speed is 100%.
• B – The pump is limited by a speed constraint. Additionally, since the operating point falls to the
left of the minimum flowrate line, some fluid is being recirculated.
• C – The pump is limited by a constraint on pressure differential. Pump speed is reduced.
• D – The pump is limited by power available. Pump speed is reduced.

Related links:
Auxiliary results tab (p.264)
OneSubsea operating point row details (p.270)
OneSubsea Multiphase Booster Simulation Results

OneSubsea operating point row details


The following booster operating point details are displayed to the right of the performance plot, if
the simulation was successful.
• Selected OneSubsea booster model
• Speed
• Limiting variable (Differential pressure, power, or speed)

Run simulations
270
PIPESIM User Guide

• Pressure ratio (discharge pressure/suction pressure)


• Differential pressure
• Total power (Power per booster * no. of boosters in parallel)
• Outlet/discharge pressure
• Differential temperature
• Gas volume fraction (GVF)
• Total volumetric flowrate

Related links:
Auxiliary results tab (p.264)
OneSubsea booster performance plot (p.269)
OneSubsea Multiphase Booster Simulation Results

4.4 Run a nodal analysis


Nodal analysis is a methodology that views the total producing system as a group of components
potentially encompassing the reservoir, completions, tubing and surface equipment, restrictions,
flow lines, and risers. An improper design of any one component, or a mismatch of components,
adversely affects the performance of the entire system. The chief function of a system-wide
analysis is to increase well rates. It identifies bottlenecks and serves as a framework for the design
of efficient field-wide production systems. Together with reservoir simulation and analytical tools,
nodal analysis is commonly used in planning new field developments.
• Estimate production potential of an oil/gas well.
• Identify system bottlenecks, such as skin (inflow) and plugged tubing (outflow), and assist in
remedial action.
• Optimize system design, such as completion design or determining tubing size.
• Determine status of the well, whether it is stable or unstable.
• Identify flow assurance issues, if any (by combining other modules in PIPESIM*).
• Quantify the benefits of artificial lift.
• Analyze abnormal flow restrictions in an existing system.
Nodal analysis points are used to split the system into two parts for analysis—an inflow and an
outflow. The nodal point can be placed between any two equipment objects or at any point along
the tubing or casing in a well so long as it is located at or above the uppermost completion.
Typically, nodal analysis is performed at the following locations:
• Bottomhole—with the nodal point placed between the completion and the tubing
• Wellhead—upstream of any wellhead equipment—with the nodal point placed between the
tubing and the equipment
• Wellhead—downstream of any wellhead equipment—with the nodal point placed between the
equipment and the following object (flowline, riser, and so on)

Run simulations
271
PIPESIM User Guide

• Riser base—with the nodal point placed between the flowline and the riser
Operating points
An operating point (sometimes called the solution node) is defined as the condition where
the pressure differential upstream (inflow) and downstream (outflow) of the nodal point is
zero. The operating point is represented graphically by the intersection of the inflow and
outflow performance curves. It is possible to infer the system flowrate geometrically from
the line intersections alone; however, it is more accurate and far safer to calculate the
flowrate by simulating the system end-to-end. The resulting pressure and flowrate appears
on the nodal analysis graph as an operating point. This explicit calculation ensures the
inflow and outflow fluid properties and temperature are identical, which eliminates the
possibility of a mismatch and consequent error in answer interpretation.
Operating points are generated for each permutation from the lists of inflow and outflow
sensitivity variables. However, it is possible to set sensitivities so some combinations are
invalid. Invalid sensitivities do not generate operating points. For example, if you set both
inflow and outflow sensitivity to the fluid watercut, most permutations are invalid, because
the fluid at the intersection cannot have two different values for watercut. Valid
intersections are clearly distinguishable from the invalid ones. Operating points are
generated for valid combinations.
Sometimes the displayed operating point does not coincide with the geometric intersection
(which is always caused by the outflow fluid properties or temperature not matching that of
the operating point). Use this mismatch as an alert to a problem or condition that requires
your attention.
1. Select a well or source.
2. Perform one of the following actions:
• On the Home tab, in the Tasks group, click Nodal analysis.
• In the Tasks pane, double-click Nodal analysis.

Note: If the Nodal analysis task is launched and a nodal point has not been identified, you will be
prompted to insert one automatically at the bottomhole or wellhead. Nodal points imported from
earlier versions of PIPESIM* will have the same name, and all points will be active.

3. Enter a name and description for the task.


4. Define the properties for the nodal analysis.
5. Click Run.

Note: You can stop a running nodal analysis by clicking Stop.

6. View the results by clicking the System results tab or the Profile results tab.

Note: You can use simulation settings to select output variables.

Run simulations
272
PIPESIM User Guide

Related links:
Nodal analysis properties (p.273)
Add a nodal point (p.275)
Nodal analysis results tab properties (p.277)

4.4.1 Nodal analysis properties


Define the properties for a nodal point and the associated nodal analysis task.

Property Description
Branch Wells
start starts at well completion(s)
Generic Source
starts at source
Nodal point Lists defined nodal points. If there are multiple defined nodal points, you must select
a specific nodal point from the drop-down menu.
If there are no defined nodal points, when you click Nodal analysis, you are
prompted to define a nodal point at the bottomhole (mid-perforation for a single
point completion, mid-perforation of the uppermost perforation in the case of a
multilayer well, or the top depth of the topmost layer in the case of a distributed
completion) or at the wellhead.

Note: For a nodal analysis performed on surface facilities using a generic source,
the nodal point must be predefined.

Branch end The default value is the junction farthest from the selected Branch start. To change
the Branch end, select the endpoint of the selected branch from the list. Setting the
endpoint at an object (for example, a flowline) includes that object in the simulation.
Outlet Pressure that exists at the end of the last object in the model. For example:
pressure Vertical Completion with tubing, choke, flowline, and riser
outlet pressure is at the top of the riser.
Vertical Completion with tubing and choke
outlet pressure is downstream of the choke
Source with flowline
outlet pressure is at the end of the flowline
Source with tubing and vertical completion
outlet pressure is the static reservoir pressure (injection well)
Table 4.5: General Properties

Run simulations
273
PIPESIM User Guide

Property Description
Override phase ratios Select this check box to show user-editable gas ratio and water ratio
properties in the table.
Inflow Name of the flow source.
Active Select this check box to specify that the well inflow object is active.
Pressure Pressure in the inlet. If multiple completions are present in production
wells, you must specify the pressure for each completion individually.
Temperature Temperature at the inlet. If multiple completions are present in production
wells, you must specify the temperature for each completion individually.
Gas ratio type Valid types are GLR, GOR, LGR, OGR.
Gas ratio Gas ratio and units of measure.
Water ratio type Valid types are GWR, Watercut, and WGR.
Water ratio Water ratio and units of measure.
Table 4.6: Inlet Conditions Group

Property Description
Inflow Each value produces one inflow curve.
sensitivity
Item Object on which sensitivity is being performed, such as System Data, Completion,
Fluid Data, or Equipment Objects.
Variable Variable being defined. The list of variables depends on which object was chosen.
Range Optional method to generate by entering evenly-spaced sensitivity values. The
Step value increments the Start value and each successive value by that number
until the End value is reached. For example, a Start value of 0, an End value of
20, and a Step value of 5 generates 0, 5, 10, 15, and 20.
1. Click Range.
2. Specify the Start and End values and the Step increment between those two
values.
3. Click OK.
The results appear in the values table (limited to 50 rows)
Values Sensitivity values. Each value produces one inflow or outflow curve.
You can complete the values table manually instead of using the Range method.
To add a new row of data, click the New(+) button; or simply type a number, and
then press ENTER to move to the next row. To delete a row, right-click the row,
and then click Delete.
Units Units of measure for the variable.

Run simulations
274
PIPESIM User Guide

Property Description
Outflow Each value produces one outflow curve. Item and variables work the same as with
sensitivity inflow.
Table 4.7: Sensitivities Group

Property Description
Flowrate Max liquid flowrate
Maximum liquid flowrate to be used when generating the outflow curves.
Max gas flowrate
maximum gas flowrate to be used when generating the outflow curves
Max mass flowrate
maximum mass flowrate to be used when generating the outflow curves
If this property is left blank, the outflow curves extend to the maximum absolute
open flow potential (AOFP) of the inflow curves or to the Max outflow pressure
value, whichever is smaller.
Max outflow Maximum pressure to be used when generating the outflow curves. If supplied,
pressure the outflow curves extends to this pressure or to the maximum rate, whichever
gives the smallest curve.
If this property is left blank, PIPESIM* uses a default value that is calculated at
run-time. The default is double the maximum pressure in any of the inflow curves.
Inflow points Number of points on each inflow curve. Default = 30, maximum 100.
Outflow Number of points on each outflow curve. Default = 30, maximum 200.
points
Limit inflow Rate limit option for the inflow curves.
curves Select the check box to constrain the inflow curves to the maximum flowrate on
the outflow curves. Clear the check box to allow the inflow curves to extend to the
AOFP (the rate where the curve meets the X axis).
Limit outflow Pressure limit option for the outflow curves.
curves Select the check box to limit the outflow curves to the Max inflow pressure
(usually the reservoir pressure). Clear the check box to allow the outflow curves to
extend to the flowrate limit.
Table 4.8: Plot Options Group

Related links:
Run a nodal analysis (p.271)

4.4.2 Add a nodal point


The nodal point defines where the system is broken into two parts for the nodal analysis operation.
The parts break around a particular (solution) point and then PIPESIM* computes the inflow to and
outflow from that point separately. You can add a nodal point in a well or network diagram.

Run simulations
275
PIPESIM User Guide

1. Perform one of the following actions:


• For nodal points in the wellbore, in the Inputs pane, double-click the well to edit, and then
on the Insert tab in the Downhole equipment group, drag the Nodal point icon to the
appropriate location on the Wellbore schematic.
• For surface equipment, on the Insert tab in the Others group, click Nodal point and then
click in the desired object to add the nodal point to the upstream side of the object.
• To add nodal points to objects in the network diagram, right-click the object, and then click
Add nodal analysis point.
2. To add another nodal point, repeat step 1.
3. For nodal points within wells, the measured depth may be adjusted by dragging the triangular
handle at the point of attachment to the tubing or casing, or by editing the depth directly in the
downhole equipment tab
4. Edit the properties for each nodal point.
Scenarios
Nodal points defined in wellbores are either associated with the tubing (light blue) or casing (dark
blue). This distinction enables provides the user with additional flexibility to determine the nodal
analysis point location for complex flowpaths.

Scenario Diagram
Combined tubing-annulus flowpath
In this example, one tubing nodal point and
one casing nodal point are defined. If you
select the casing nodal point in the nodal
analysis task, the operating point will occur at
the location of the casing point, where the
fluids are flowing downwards towards the
bottom of the tubing. If you select the tubing
nodal point in the nodal analysis task, the
operating point will occur where fluids are
flowing upwards in the tubing, some distance
above the bottom of the tubing section.
Invalid nodal points
In this example, there are two casing nodal
points, neither of which is positioned within
the flowpath and, therefore, they cannot be
used. Any nodal points present that are not
within the flowpath specified are shown in the
validation pane, although this will not prevent
you from running a nodal analysis task on
another valid point if one is defined.

Run simulations
276
PIPESIM User Guide

Scenario Diagram
Tubing + annulus flow
For wells producing up both the tubing and
the annulus, you can only select the tubing
nodal point for the simulation task. Selection
of the tubing nodal point will split the flow
across the entire tubing-annulus flowpath at
the same depth. The casing nodal point is
invalid in this case.

Annulus flow only


In cases of annulus flow only, you must define
and select the casing nodal point for nodal
analysis tasks.

Related links:
Run a nodal analysis (p.271)

4.4.3 Nodal analysis results tab properties


After you successfully run a nodal analysis, the System results and Profile results tabs are
visible in the Nodal analysis window and on the Results tab.
System results
plots the inflow, outflow, intersection point, liquid loading line, and any other additional
information (such as the bubble point, maximum drawdown line, inversion point and
erosional velocity line, and units of measure) that you set.
Profile results
shows solution point pressure and flow for all operating points in tabular or plot format.
Expand the table to view equipment result details.
You can also select the columns to be shown in the results table and on the plot. After selecting
the desired columns, you can expand the rows to display additional information about particular
data types.

Run simulations
277
PIPESIM User Guide

Property Description
Bubble point Plots the bubblepoint pressure as a function of flowrate for oil-based systems
only

Note:
• The rate slightly influences the temperature at the nodal point which results in
a slight change in bubblepoint pressure as a function of rate.
• This option is not available for cases run with sensitivities.

View Overlays an operating envelope on the nodal analysis plot


operating The operating envelope is determined by the following boundaries:
envelope
• Upper Pressure: Inlet (typically reservoir) pressure
• Lower Pressure: Limit defined in "Maximum drawdown line" option
• Upper Rate: Lowest value of either Erosional Velocity Limit (line corresponding
to an EVR of 1, or AOFP (Absolute Open Flow Potential)
• Lower Rate: Highest value of either outflow curve inversion point or liquid
loading limit (for gas wells)

Note: This option is not available for cases run with sensitivities.

Maximum Plots a line corresponding to the maximum drawdown pressure specified. Default
drawdown value corresponds to a drawdown resulting in a flowrate 80% of AOFP
line
Select Click this button to open the Select columns window, where you can select the
columns columns to be shown in the results table.
Table 4.9: System Results Tab

Note: If you run sensitivity, you do not have the above options.
To open the Edit chart/series dialog box so you can change chart attributes, double-click the
chart.

Property Description
Show grid Click this option to display the detailed profile in grid (tabular) format.
Show plot Click this option to display a graphical plot of each solution point.
Equipment filter In the list, click All to show all network objects in the results table, or click a
single equipment type for display.
Select columns Click this button to open the Select columns window, where you can
select the columns to be shown in the results table.

Run simulations
278
PIPESIM User Guide

Property Description
Expand all Click this button to show or hide additional information about certain types of
network objects in the results table.
unlabeled search Enter part or all of the name of a case, equipment, or equipment type to find
field specific nodal analysis cases.
Table 4.10: Profile Results Tab

Related links:
Run a nodal analysis (p.271)

4.4.4 System results tab properties


The System results tab displays task results in two modes: Node or Branch. This tab displays the
range of calculated results when the profile includes sensitivity data. You can also select the
columns to be shown in the results table. You can also expand the rows to display additional
information for completions and equipment objects.

Node display mode properties

Property Description
Show grid Click this option to display the system profile results in a table.
Show plot Click this option to display the system profile results as a graphical plot.
Double-click the resulting plot to configure it.
Display mode Click Node or Branch to switch the display mode.
Equipment filter In the list, click All to show all network objects in the results table, or click a
single equipment type for display.
Select columns Click this button to open the Select columns window where you can select
the columns to be shown in the results table.
Expand Click this button to show or hide detailed information for all network objects in
the results table.
For example, a compressor row expands to display data such as pressure
difference and differential temperature. (Some object types, such as junctions,
sinks, and wellheads, do not expand.)

Note: You may also click on a row in the results table to show detailed results
for certain individual objects.

unlabeled Enter part or all of the name of a case, equipment, or equipment type to filter
search field the rows to show specific cases.
Case (column) Name of the sensitivity case.

Run simulations
279
PIPESIM User Guide

Branch display mode properties

Property Description
Show grid Click this option to display the system profile results in a table.
Show plot Click this option to display the system profile results as a graphical plot.
Double-click the resulting plot to configure it.
Display mode Click Node or Branch to switch the display mode.
Select columns Click this button to open the Select columns window where you can
select the columns to be shown in the results table.
unlabeled search Enter part or all of the name of a case, equipment, or equipment type to filter
field the rows to show specific cases.
Case (column) Name of the sensitivity case.

4.4.5 Auxiliary results tab


Auxiliary results are additional results that are generated as part of certain simulation tasks for
specific objects in the model. Currently, the Auxiliary results tab will only appear when a
Nodal analysis, P/T profile, or System analysis task is run with one or multiple active Onesubsea
multiphase boosters in the model. The following auxiliary results are available for the OneSubsea
Multiphase Booster:
• OneSubsea booster performance plot
• OneSubsea operating point row details
Refer to the OneSubsea multiphase booster simulation results table for more details.

Related links:
OneSubsea booster performance plot (p.269)
OneSubsea operating point row details (p.270)
OneSubsea Multiphase Booster Simulation Results

4.5 Run a system analysis


Set up a system analysis to determine the performance of a given system by sensitizing on various
operating conditions or object properties. You can generate performance curves for the system by
varying sensitivity variables in groups (change-in-step) or by applying permutations to individual
sensitivity variables. The ability to perform analysis by combining sensitivity variables in different
ways makes the system analysis operation a very flexible tool for analyzing a large range of
operating conditions.
1. Click on a well or source.
2. On the Home tab, in the Tasks group, click System analysis.
3. Define the calculated variables.

Run simulations
280
PIPESIM User Guide

4. Configure the sensitivity variables.


5. Click Run.
To monitor processing progress, check the progress monitor. When processing is complete, the
Stop button appears dimmed.
6. View the profile results by clicking the System results tab or the Profile results tab.

Related links:
System analysis properties (p.281)

4.5.1 System analysis properties


Enter the properties for the system analysis, including the branch endpoint, the calculated variable,
and any sensitivity variables.

General properties

Property Description
Branch start The well, source, or junction (if treated as a source) selected when the task was
started. You cannot change this value.
Branch end The default value is the junction farthest from the selected Branch start. To change
the Branch end, select the endpoint of the selected branch from the list. Setting the
endpoint at an object (for example, a flowline) includes that object in the simulation.

Calculated variable properties

Property Description
Inlet pressure To calculate the inlet pressure, enter both outlet pressure and any flowrate.
Outlet pressure To calculate the outlet pressure, enter both inlet pressure and any flowrate. The
inlet pressure is determined by the pressure at the start node.
Liquid flowrate Select the flowrate (liquid, gas, or mass) to be calculated. To calculate the
Gas flowrate flowrate, enter both inlet pressure and outlet pressure. The inlet pressure is
determined by the pressure at the start node.
Mass flowrate
Custom To calculate a custom variable, click Custom and then enter inlet pressure,
outlet pressure, and flowrate. The inlet pressure is determined by the pressure
at the start node.

Custom variable properties


If you want to specify inlet pressure, outlet pressure, and flowrate (all three), you must also specify
how to achieve the specified outlet pressure by defining a custom variable. A custom variable is a
user-defined variable whose value is calculated to match the specified conditions.
Select an object and a variable whose value will have an effect on the system outlet pressure. For
example, in a production well model, a choke positioned at the wellhead may have Bean size as

Run simulations
281
PIPESIM User Guide

the variable. You can select any object and variable, as long as they have an effect on the system
hydraulics.
You must specify the allowable maximum and minimum values for the variable, and the
proportionality relationship (whether an increase in the variable's value causes an increase or a
decrease in outlet pressure).
• If you select Direct, the outlet pressure is assumed to be directly proportional to the variable,
and will increase when the variable increases (for example, the choke bean diameter).
• If you select Inverse, the outlet pressure is assumed to be inversely proportional to the
variable, and will decrease when the variable increases. As an example, consider the watercut
of a black oil fluid in a production well: as watercut increases, the well's static delta pressure
increases, and therefore its outlet pressure decreases.

Note: For some object and variable choices, proportionality can be difficult to predict. For example,
if the tubing inside diameter (ID) is used as a variable in an oil production well, you would expect
outlet pressure to increase as diameter increases from a small initial value. However, once
diameter exceeds a certain critical value, the well will probably suffer from excessive liquid holdup,
causing the outlet pressure to decrease. In this situation, the simulation may have two solutions:
one with a small ID, and another with a much larger ID. In this case, the choice of proportionality
relationship lets you pick the solution you want. However, the simulation may have no solution; this
happens if the specified outlet pressure is too great.

Property Description
Object This list contains all objects within the selected branch, plus any tubulars or
completions defined for included wells. Select the object for which you want to
adjust a variable to affect the calculated flowrate.
Variable This list contains all calculated variables, including custom variables, associated
with the selected object. Select a variable for which you will specify minimum and
maximum values in the flowrate calculation. (When you select a variable, the Min
value, Max value, and Proportionality fields appear.)
Min value Enter the minimum allowable value for the variable.
Max value Enter the maximum allowable value for the variable.
Proportionality Determines whether an increase in the variable’s value causes an increase or
decrease in outlet pressure. Select one of the following options:
Direct
Outlet pressure is assumed to be directly proportional to the variable,
increasing as the variable increases; for example, the behavior of the choke
bean diameter.
Inverse
Outlet pressure is assumed to be inversely proportional to the variable,
decreasing as the variable increases. For example, as the watercut of a black
oil fluid in a production well increases, the well’s static delta pressure
increases and its outlet pressure decreases.

Run simulations
282
PIPESIM User Guide

Sensitivity configuration properties

Property Description
X-axis Click the desired model object from the drop-down list.
Variable Select a variable associated with the selected model for which you will specify a range
of values. When you select a sensitivity variable, the Range button appears above the
value range table, which may be useful for quickly defining a set of evenly spaced
values.
Range 1. Click Range.
2. Specify the Start and End values and the Step increment between those two
values.
3. Click OK.
The results appear in the values table (limited to 50 rows)
You can also complete the values table manually. To add a new row of data, click the
New(+) button; or simply type a number, and then press ENTER to move to the next
row. To delete a row, right-click the row, and then click Delete.
Table 4.11: X-axis Properties

Item Variables
Active Select this check box to activate the variable so that it will be used during simulation.
Clear the check box to deactivate.
Variable Click the desired model object from the drop-down list.
Range 1. Click Range.
2. Specify the Start and End values and the Step increment between those two
values.
3. Click OK.
The results appear in the values table (limited to 50 rows)
You can also complete the values table manually. To add a new row of data, click the
New(+) button; or simply type a number, and then press ENTER to move to the next
row. To delete a row, right-click the row, and then click Delete.
Table 4.12: Additional Sensitivity Variables

If one or more sensitivity variables are defined, choose how these should be combined with the X-
axis, by clicking one of the following options:
Permuted
Runs a case for every combination of X-axis and all sensitivity variables. This option
produces a plot with the most lines (and takes the longest time to run).
Change in step with Variable 1
Runs a case for every combination of X-axis and Variable 1, with the remaining sensitivity
variables following Variable 1 in step. This option produces a plot with the number of lines
equal to the number of Variable 1 values.

Run simulations
283
PIPESIM User Guide

Change in step with X-axis


Runs a case for every X-axis variable value, with all sensitivity variables following the X-
axis in step. This option produces a plot with just one line (and takes the least time to run).

Related links:
Run a system analysis (p.280)

4.5.2 System results tab properties - system analysis


The System results tab displays system analysis results in two modes: Node or Branch. This tab
displays the range of calculated results when the profile includes sensitivity data. You can also
select the columns to be shown in the results table. After selecting the desired columns, you can
expand the rows to display additional information for completions and equipment objects.

Node display mode properties

Property Description
Show grid Click this option to display the system analysis results in a table.
Show plot Click this option to display the system analysis results as a graphical plot.
Double-click the resulting plot to configure it.
Display mode Click Node or Branch to switch the display mode.
Equipment filter In the list, click All to show all network objects in the results table, or click a
single equipment type for display.
Select columns Click this button to open the Select columns window where you can select
the columns to be shown in the results table.
Expand all Click this button to show or hide detailed information for all network objects in
the results table.
For example, a compressor row expands to display data such as pressure
difference and power required. (Some object types, such as junctions, sinks,
and wellheads, do not expand.)

Note: You may also click on a row in the results table to show detailed results
for certain individual objects.

unlabeled search Enter part or all of the name of a case, equipment, or equipment type to filter
field the rows to show specific cases.
Case (column) Name of the sensitivity case.

Branch display mode properties

Property Description
Show grid Click this option to display the system analysis results in a table.

Run simulations
284
PIPESIM User Guide

Property Description
Show plot Click this option to display the system analysis results as a graphical plot.
Double-click the resulting plot to configure it.
Display mode Click Node or Branch to switch the display mode.
Select columns Click this button to open the Select columns window where you can select
the columns to be shown in the results table.
unlabeled search Enter part or all of the name of a case, equipment, or equipment type to filter
field the rows to show specific cases.
Case (column) Name of the case or case group.

4.5.3 Profile results tab properties - system analysis


The Profile results tab displays the calculated results of the system analysis. You can also select
the columns to be shown in the results table. After selecting the desired columns, you can expand
the rows to display additional information for completions and equipment objects.

Property Description
Show grid Click this option to display the system analysis results in a table.
Show plot Click this option to display the system analysis results as a graphical plot.
Double-click the resulting plot to configure it.
Equipment filter In the list, click All to show all network objects in the results table, or click a
single equipment type for display.
Select columns Click this button to open the Select columns window where you can select
the columns to be shown in the results table.
Expand all Click this button to show or hide detailed information for all network objects in
the results table.
For example, a compressor row expands to display data such as pressure
difference and power requirement. (Some object types, such as junctions,
sinks, and wellheads, do not expand.)

Note: You may also click on a row in the results table to show detailed results
for certain individual objects.

unlabeled Enter part or all of the name of a case, equipment, or equipment type to filter
search field the rows to show specific cases.
Case (column) Name of the case or case group.

4.5.4 Auxiliary results tab


Auxiliary results are additional results that are generated as part of certain simulation tasks for
specific objects in the model. Currently, the Auxiliary results tab will only appear when a
Nodal analysis, P/T profile, or System analysis task is run with one or multiple active Onesubsea

Run simulations
285
PIPESIM User Guide

multiphase boosters in the model. The following auxiliary results are available for the OneSubsea
Multiphase Booster:
• OneSubsea booster performance plot
• OneSubsea operating point row details
Refer to the OneSubsea multiphase booster simulation results table for more details.

Related links:
OneSubsea booster performance plot (p.269)
OneSubsea operating point row details (p.270)
OneSubsea Multiphase Booster Simulation Results

4.6 Create a VFP table


Generally, reservoir simulators do not take into account the pressure changes occurring in tubing,
wellbore, or surface equipment. The VFP tables task simulates the wellbore hydraulics for a wide
range of conditions and writes that data in tabular format to a file that can be used with a reservoir
simulator. When simulating a reservoir, it is often necessary to generate VFP curves to supply the
simulator with the necessary data to enter bottomhole pressure as a function of various
parameters, such as flowrate, phase ratios, and surface pressure. PIPESIM* creates tabular data
in the format specific to the selected reservoir simulator.
• ECLIPSE*/INTERSECT
• PORES
• VIP
• COMP4
• MoRes (Shell's In-house simulator)
To generate tables, PIPESIM uses all combinations of the variables that you enter.
1. Create and save the well performance model.
2. Select a well, source, or junction source.
3. Perform one of the following actions:
• On the Home tab, in the Tasks group, click VFP tables.
• In the Tasks pane, double-click VFP tables.
4. Enter a description, which can be alphanumeric and can contain spaces and special characters.
5. Enter the General properties.
6. Enter the Settings properties.

Note: To create a temperature VFP table in addition to the pressure VFP table, select the Include
temperature check box (ECLIPSE/INTERSECT only).

7. Enter values for the sensitivity properties:

Run simulations
286
PIPESIM User Guide

• Flowrate
• Gas ratio
• Water ratio
• System outlet pressure
• Gas lift injection properties for wells with a single gas lift injection point (multiple gas lift
injection points are not supported for VFP tables)

Note: For VFP tables created using a black oil fluid model, if gas lift is applied, the quantity can be
any of the following:
• the injection rate of lift gas
• the ratio of injected gas to liquid production
• the ratio of injected plus produced gas to liquid production
For compositional VFP tables, the gas lift variable is restricted to the injection rate of lift gas.

8. Click Run.
When the run is complete, the VFP table tab and the VFP table (with temperature) tab appear
next to the Parameters tab. These tabs contain the PIPESIM* generated data in the format
specific to the selected reservoir simulator.
9. View and analyze the results.

Note: If you want to view the last generated VFP table, on the Home tab, in the Viewers group,
click Results. The most recent run for each study appears in the table, with VFPTables in the Task
type column.

10.Save the VFP table to a file.

Related links:
VFP table properties (p.287)
Save a VFP table to a file (p.289)

4.6.1 VFP table properties


Define the properties to create a VFP table file.

Property Description
Branch start Wells
starts at the uppermost well completion
Generic Source
starts at source

Run simulations
287
PIPESIM User Guide

Property Description
Junction Source
starts at junction source
Branch end The default value is the junction farthest from the selected Branch start. To
change the Branch end, select the endpoint of the selected branch from the list.
Setting the endpoint at an object (for example, a flowline) includes that object in the
simulation.

Note: You can choose any node in the branch as the Branch end.

Table 4.13: General Properties

Property Description
Reservoir Available simulators are:
simulator • ECLIPSE*/INTERSECT
• Pores
• VIP
• Comp4
• MoRes
Table number Creates a VFP table. The reservoir simulator uses the table number in the
simulation. When you save the file, PIPESIM* also uses the table number as
part of the file name.
To view the last table generated, click the Home tab, and then click Results.
Include (ECLIPSE/INTERSECT simulators only) Generates a temperature VFP table
temperature in addition to the pressure VFP table.
Bottomhole (ECLIPSE/INTERSECT simulators only) Enters the depth of bottomhole from
datum depth the reference depth in your ECLIPSE/INTERSECT model. The input value
cannot be negative. If Bottomhole datum depth is left blank, the default VFP
output value is the total elevation change from inlet to outlet.
Table 4.14: Settings Properties

Property Description
Flowrate Type of flow. Valid values are Liquid flowrate and Gas flowrate.
Gas ratio GOR, GLR, OGR, or OLR.
Water ratio Watercut, WGR, or GWR.
System outlet (Production well) Pressure that exists at the end of the last object in the
pressure model.

Run simulations
288
PIPESIM User Guide

Property Description

Note: For injection wells, the property name is System inlet pressure.

Range 1. Click Range.


2. Specify the Start and End values and the Step increment between those
two values.
3. Click OK.
The results appear in the values table (limited to 50 rows)
You can also complete the values table manually. To add a new row of data,
click the New(+) button; or simply type a number, and then press ENTER to
move to the next row. To delete a row, right-click the row, and then click
Delete.
Item (available Select the gas lift component for which you want to specify a range of
only if a gas lift variables.
exists)
Variable (available Select a variable associated with the selected item for which you will specify
only if a gas lift a range of values. When you select a sensitivity variable, the Range button
exists) appears above the value range table, which may be useful for quickly
defining a set of evenly spaced values.
Table 4.15: Sensitivity Properties

Related links:
Create a VFP table (p.286)

4.6.2 Save a VFP table to a file


To a VFP table in a reservoir simulator, save the table to a file.
1. Create the VFP table.
2. Click the VFP table tab or the VFP table (with temperature) tab.
3. Right-click within the table, and then click Save as.
4. Navigate to the directory in which to store the file, and enter the file name.
5. Click Save.
The file is ready to use in the reservoir simulator.

Related links:
Create a VFP table (p.286)

4.7 Run data matching

Run simulations
289
PIPESIM User Guide

You can run the data matching task to tune or mathematically regress selected flow correlations
and/or heat transfer models, to match measured flowing survey data available in the Survey data
catalog (p.34). This is to improve the accuracy and predictability of the flow correlations for the
pressure drop calculations and heat transfer models for the temperature calculations. The data
matching task can be run on a single branch only which could be a well, well and flowlines, or a
source connected to a flowline.
Before you tune the flow correlations to match the flowing pressures and optionally holdup in the
survey data, it is important to examine the default flow correlations and regression parameters. Go
to Home » Simulation settings » Flow correlations. You will observe the default or selected
vertical and horizontal flow correlations and the default or specified values for vertical and
horizontal regression parameters (holdup and friction factors). The uncalibrated flow correlations
have default holdup and friction factors of 1, in PIPESIM. When you run the data matching task you
will have the option to select the flow correlations you want to tune to match the survey data
(flowing pressures and optionally, holdup) and the regression parameters you want to tune to
achieve this match. These factors (holdup and friction factors) are tuned by the task for the
selected flow correlations to adjust the gravitational and frictional components, respectively, of the
pressure drop equation, to match the measured survey data. The holdup and friction factors are
adjusted to match measured flowing pressures and holdup, if the data is available. Once the data
matching task is complete, a calibrated flow correlation case (vertical and/or horizontal) can be
selected and populated back to the workspace. This action of populating the selected calibrated
correlation(s) from the task updates the Simulation settings dialog box with the selected
calibrated flow correlations and tuned holdup and friction factors.
Similarly, just as the measured flowing pressures and holdups can be matched, measured flowing
temperatures can also be simultaneously matched in the data matching task. Matching the flowing
temperatures is optional. If selected in the data matching task, it involves tuning the U-value
multiplier (a multiplier applied to the overall heat transfer coefficient) for the selected heat transfer
models to achieve the match. The default value in the simulation settings (Home » Simulation
settings » Heat transfer) for the uncalibrated heat transfer model is 1. When the data matching
task is complete and pressure and temperature have been matched, the process of selecting the
calibrated models and populating them and their associated tuned factors back to the workspace,
will also update the Heat transfer simulation settings dialog box, in addition to the flow
correlation settings mentioned previously.
1. To launch the task for a specific branch in the Network schematic, first select the well or
source.
The Data matching task becomes active.
2. On the Home tab, in the Tasks group, click Data matching.
In the Data matching dialog box, under the General group, the Branch start field displays the
model object you selected in Step 1.
3. Select the Branch end from the drop-down list.
The Branch end selection determines which objects are considered in the task as indicated in
the following table, and affects the fields that are displayed in the Data matching dialog box.

Run simulations
290
PIPESIM User Guide

Scenario Objects in the single branch Tune vertical* Tune horizontal*


correlations correlations
1 Well only X
2 Flowline only X
3 Well and flowlines X X

Note:
• *The determination of which flow correlation type is tuned for each object (well or flowline)
depends on the specified swap angle and the deviation survey or profile of the object.
I•f you select a junction that includes both a well and flowlines in the flowpath (Scenario 3), you can
run the task for the entire branch in any of 3 ways:
• Tune only the selected vertical flow correlations for the vertical objects in the flowpath.
• Tune only the selected horizontal flow correlations for the horizontal objects in the
flowpath.
• Tune the selected vertical flow correlations for the vertical objects and the selected
horizontal flow correlations for the horizontal objects in the flowpath.

4. Perform one of the following steps to select the survey that you want to tune the flow
correlations to match:
• Scenario 1: Map a well survey by selecting it from the Well survey data drop-down list.
• Scenario 2: Map a flowline survey by selecting it from the Flowline survey data drop-down
list.
• Scenario 3: Map a well survey and a flowline survey by selecting them from the Well survey
data and Flowline survey data drop-down list, respectively.

Note: The Well survey data drop-down list automatically filters the survey data catalog to display
only surveys that have the type set to Well. Similarly, the Flowline survey data drop-down list
automatically filters the survey data catalog to display only surveys that have the type set to
Flowline. Also, you can click the ellipsis button to browse the survey data catalog.

Once the survey is mapped, the survey flowrate is automatically mapped in the Calculated
Variable group. You can override this value. However, if you do override it, it is important to enter
the measured flowrate that corresponds to the mapped survey data or you will introduce an
inconsistency that will cause inaccurate task results.

Note: If you map a well and flowline survey that have different flowrates, the survey flow rate for
the object in the branch start is automatically assigned in the Calculated Variable group. This is
stated in the Message center.

5. Optional: Under Calculated Variable, change the default Inlet pressure and Outlet pressure
options.

Run simulations
291
PIPESIM User Guide

Outlet pressure is selected by default; and, the Inlet pressure values are automatically
populated from the source or well that you selected in Step 1.
6. Optional: If the well or source in your selected branch does not have a mapped fluid, create the
fluid models (p.195), and then map them.
7. Optional: If you modified the fluid ratios in the Fluid manager or in the Completions tab, or
the Inlet pressure associated with the well or source, click Reset boundary conditions to
refresh the interface and see the new fluid ratios.
The fluid ratios are populated from the Fluid manager and displayed in the task interface only for
black oil and compositional fluids. When multiflash MFL fluid files and PVT files are used, the fluid
ratios are used by the task but are not displayed in the task window.

Note: The fluid ratios used by the task are those defined in the Fluid manager, not in the Survey
data dialog box accessed from the survey data catalog.

8. Under Regression Parameter Setup, tune and regress the parameters to match pressure,
temperature, and liquid holdup.

Note:
• By default, the five regression parameters are selected when you first launch the data
matching task. The vertical and horizontal holdup and friction factors have red validation
boxes indicating that you need to select flow correlations. When you select your first vertical
correlation or horizontal correlation, the red validation boxes for the vertical or horizontal
regression parameters disappear.
• The holdup and friction factors are tuned to match the measured flowing pressure and liquid
holdup simultaneously, if the data are available. The regression algorithm only considers
liquid holdup, not gas or water holdups.
• The U value multiplier is tuned to match flowing temperature. If you do not want to match
flowing temperatures, or do not have any temperature data in your selected survey, clear
the U value multiplier checkbox. The task will run using the default or specified U value in
the simulation settings.

9. Modify the min and max ranges for the friction and holdup factor regression parameters to
reasonable values.

Note: Care must be taken when selecting the ranges for the regression parameters to ensure that
reasonable regression results are obtained and that the final calibrated model can be trusted for
future predictions of the pressure and temperature losses. Generally, ±20% of the default value of
1 is the recommended range for the pressure regression parameters. If the calibration results in
tuned regression parameters that are significantly outside this recommended ±20% range, it may
be an indication that there are errors with the PVT or with the measured flowing pressure and
temperature data. It could also simply be attributed to the inherent limitations with multiphase flow
correlations.

10.Select vertical and/or horizontal flow correlations as appropriate for the scenario in your
selected single branch (Scenario 1, 2, or 3 as described in Steps 3 and 4).

Run simulations
292
PIPESIM User Guide

Note:
• If you have only vertical components in your selected branch (Scenario 1), select only the
vertical holdup and friction factor checkboxes, and select only vertical flow correlations for
the regression to match the measured flowing pressures. PIPESIM will not prevent you from
choosing horizontal flow correlations in this scenario. The task will run, because it is a
regression algorithm, but will give inaccurate results because of the illogical scenario you
configured. This also applies for the converse case where you have only horizontal
components in your selected branch (Scenario 2) but choose vertical regression parameters
and vertical flow correlations.
• If you have both vertical and horizontal components in your selected branch, you have the
option of selecting vertical and horizontal regression parameters as well as vertical and
horizontal flow correlations for the regression. Alternatively, you may decide to tune only the
vertical flow correlations to match the measured flowing pressures for the vertical
component in your branch. This may be because you only have survey data for your vertical
well, for example. In this scenario, the regression will tune only the selected vertical
correlations and use the default horizontal correlation in the simulation settings for all
combinations based on your selected vertical flow correlations. This also applies for the
converse scenario, i.e. if you decide to tune only the horizontal flow correlations to match
the measured flowing pressures for the horizontal components in your selected branch.

11.Under Heat Transfer Options, choose the heat transfer models to be used for the temperature
calculations when the task is run.
By default, it is automatically populated with the selected heat transfer models under Simulation
settings » Heat transfer. You can override this default selection by selecting Override heat
transfer options.

Note: If the selected branch in the task has a well and flowline(s), the following additional heat
transfer options will be exposed and available for you to override: Inside film coefficient method
for the flowline, and Pipe burial method.

12.Optional: Modify the RMS Weight Factors.


The RMS weight factors are used to calculate the Root Mean Squared error between the
measured values for pressure, temperature, and liquid holdup; and the calculated/predicted
values from the selected flow correlations and heat transfer model, using the equations below.
By changing the RMS weight factor, you can weight the calibration more heavily towards the
parameter that is more important for you to match e.g. Pressure. PIPESIM will minimize the
total RMS error term.
13.Modify the swap angle (p.423), as desired.
The swap angle is used by the simulator to determine whether a horizontal or vertical flow
correlation should be used for each pipe section in the flow path. It is automatically populated in
the task from Simulation settings » Flow correlations.

Run simulations
293
PIPESIM User Guide

14.Click Run.
To monitor simulation progress, check the message center or progress monitor.
15.Review the profile results.
The survey data is automatically plotted along with the profile results for the initial and
calibrated version of each flow correlation case. Each case is a combination of the selected
vertical correlation (VC) and/or horizontal correlation (HC). The flow correlation names are
abbreviated in the case selector on the left, but you may hover over each case to see a tooltip
with the full name of the correlation. The case name also includes the RMS.
16.Visually assess the quality of the flowing pressure match.

Run simulations
294
PIPESIM User Guide

Note: The case name only shows the vertical or horizontal flow correlation name if it was selected
for the regression.

17.Double-click Profile results to configure it to display flowing temperature and holdup to visually
assess the quality of the matches.
18.Click the Results summary tab.
The grid summarizes the regression results for all cases defined based on the combinations of
selected vertical and horizontal flow correlations. The flow correlation cases are sorted from
best to worst, i.e. in order of increasing calibrated total RMS. The grid properties are described
below.

Property Description
Vertical Selected vertical flow correlation on Data matching tab if vertical flow
multiphase correlations were selected for tuning, or default or specified vertical flow
correlation correlation in Simulation settings » Flow correlations, if no vertical flow
correlations were selected in the data matching task
Horizontal Selected horizontal flow correlation on Data matching tab if horizontal flow
multiphase correlations were selected for tuning, or default or specified horizontal flow
correlation correlation in Simulation settings » Flow correlations, if no horizontal flow
correlations were selected in the data matching task
(Calibrated) Calibrated vertical friction factor
vertical
friction factor Note:

• This column will display the calibrated value of the vertical friction factor if
the vertical friction factor was selected for tuning under Regression
Parameter Setup. If not, it will display the default or specified value of
vertical hold up factor in Simulation settings » Flow correlations, and the
column header will not display Calibrated.
• When Use local option is selected Simulation settings » Flow
correlations, in certain instances, the column will be hidden. The display
rules outlined above apply for all regression parameters; vertical and
horizontal holdup and friction factors, as well as the U value multiplier.

(Calibrated) Calibrated vertical holdup factor


vertical Refer to the notes for the calibrated vertical friction factor as these rules also
holdup factor apply for calibrated vertical holdup factor.
(Calibrated) Calibrated horizontal friction factor
horizontal Refer to the notes for the calibrated vertical friction factor as these rules also
friction factor apply for calibrated horizontal friction factor.

Run simulations
295
PIPESIM User Guide

Property Description
(Calibrated) Calibrated horizontal holdup factor
horizontal Refer to the notes for the calibrated vertical friction factor as these rules also
holdup factor apply for calibrated horizontal holdup factor.
(Calibrated) U Calibrated U value multiplier
value
multiplier Note:
• This column displays the calibrated value of the U value multiplier if the U
value multiplier was selected for tuning under Regression Parameter
Setup. If not, this column displays the default or specified value of the
vertical hold up factor in Simulation settings » Heat transfer, and the
column header will not display Calibrated.
• When Use local is selected in the Simulation settings dialog box for
heat transfer, in certain instances, the column may be hidden.

Initial Calculated root mean squared error for the pressure for the initial (uncalibrated)
pressure flow correlation case using the following equation
RMS

Calibrated Calculated root mean squared error on the pressure for the calibrated flow
pressure correlation case
RMS
Initial Calculated root mean squared error on the temperature for the initial
temperature (uncalibrated) flow correlation case using the following equation
RMS

Calibrated Calculated root mean squared error on the temperature for the calibrated flow
temperature correlation case
RMS
Initial holdup Calculated root mean squared error for the liquid holdup for the initial
RMS (uncalibrated) flow correlation case using the following equation

Run simulations
296
PIPESIM User Guide

Property Description
Calibrated Calculated root mean squared error on the liquid holdup for the calibrated flow
holdup RMS correlation case
Initial total Calculated root mean squared error for the overall pressure, temperature, and
RMS liquid holdup match for the initial (uncalibrated) flow correlation case using the
following equation

Calibrated Calculated root mean squared error for the overall pressure, temperature and
total RMS liquid holdup match for the calibrated flow correlation case
Status Status of the regression for the flow correlation case. The possibilities are
Optimized, Unconverged, and Ill-conditioned (p.372)
Select Checkbox to select the calibrated model you would like to populate back to
Simulation settings in the workspace
19.In the Select column, select the check box for the case with the lowest calibrated total RMS
and move your mouse to hover over the Publish calibrated models button.
A tooltip displays a message indicating exactly what information will be published to the
workspace. They include the vertical and horizontal flow correlations, calibrated holdup and
friction factors, calibrated U-value multiplier, fluid ratios (for Black Oil and Compositional fluids),
and heat transfer models.
20.Click Publish calibrated models to complete the process.
21.On the Home tab, in the Data group, click Simulation settings, then on the Flow correlations
tab, verify that the selected calibrated flow correlation case and tuned vertical holdup and
friction factors were correctly populated.

Note: The process of publishing the calibrated models to the workspace switches the option from
Use global to Use local. This is to enable the calibrated results to be published locally only to the
objects in the branch that was selected when the task was run. This also applies to the Heat
transfer. To extend the calibration results to other branches, you must manually select the same
flow correlations and heat transfer model from the task for each object and enter the calibration
factors for them.

22.On the Home tab, in the Data group, click Simulation settings, click the Flow correlations tab,
and then verify that the calibrated heat transfer model and tuned U value multiplier were
correctly populated.
The model is now calibrated and can be used for analyzing various scenarios.

Note: The calibrated model is only valid for as long as the single branch (well, flowline, well and
flowlines), fluid, and producing conditions are the same as when the survey data (used for the
calibration) was acquired. If any of these conditions change, for example, the water cut increases
significantly, the calibrated model and tuned regression parameters are no longer valid. If updated

Run simulations
297
PIPESIM User Guide

flowing pressure, temperature, and holdup data are available, the model must be re-calibrated by
re-running the data matching task to match this data.

Related links:
Manage the survey data catalog (p.34)
Create or edit fluid models (p.195)
Swap angle (p.423)
Heat transfer properties (p.237)
Ill-conditioned simulations (p.372)
Data matching properties (p.298)

4.7.1 Data matching properties


General properties
In this area, enter the endpoint that defines the selected branch for the Data matching task.

Property Description
Branch start The well, source, or junction (if treated as a source) selected when the task was
started. You cannot change this value.
Branch end The default value is the junction farthest from the selected Branch start. To
change the Branch end, select the endpoint of the selected branch from the list.
Setting the endpoint at an object (for example, a flowline) includes that object in
the simulation.
Default profile Elevation vs. pressure
plot Plots the elevation change against pressure. Subsurface elevations are
expressed as negative values.
Elevation vs. temperature
Plots the elevation change against temperature.
Pressure vs. total distance
Plots pressure against total distance. This setting is selected automatically
for source models.
Temperature vs. total distance
Plots temperature against total distance.
Well Survey Name of the survey created for the data matching task.
data:
Flowline survey Name of the flowline associated with the survey.
data:

Run simulations
298
PIPESIM User Guide

Calculated variable properties


In this area, specify one of three key variables (inlet pressure, outlet pressure, or flowrate) as the
calculated variable. The calculated variable is derived from the other two values.

Property Description
Inlet pressure To calculate the inlet pressure, enter both outlet pressure and any flowrate.
Outlet pressure To calculate the outlet pressure, enter both inlet pressure and any flowrate. The
inlet pressure is determined by the pressure at the start node.
Liquid flowrate Select the flowrate (liquid, gas, or mass) to be calculated. To calculate the
Gas flowrate flowrate, enter both inlet pressure and outlet pressure. The inlet pressure is
determined by the pressure at the start node.
Mass flowrate

Fluid ratio
In this area, the calculated values for GLR and WaterCut parameters match the values in the Fluid
Manager for the following fluid types: black oil and compositional.

Note: These fields are read only.

Property Description
GLR: Gas/liquid ratio
WaterCut: Volume % aqueous phase in the total liquid phase at standard conditions. Typically
used when the fluid is predominantly liquid.

Regression parameter setup

Property Description
Vertical Coefficient applied to the frictional term of the pressure drop equation for all vertical
friction components in the selected branch (i.e. pipe segments with inclinations > swap
factor angle) that is tuned for the selected flow correlations; to match measured flowing
pressure and liquid holdup data. Select the check box to enable this parameter only
if vertical flow paths are present in the selected branch, and if measured flowing
pressure and or liquid holdup data are available in the survey mapped to the task.
Specify a minimum and maximum value for this parameter which will be honored
during the regression.
Vertical Coefficient applied to the gravitational term of the pressure drop equation for all
holdup vertical components in the selected branch (i.e. pipe segments with inclinations >
factor swap angle) that is tuned for the selected flow correlations; to match measured
flowing pressure and liquid holdup data. Select the check box to enable this
parameter only if vertical flow paths are present in the selected branch, and if
measured flowing pressure and or liquid holdup data are available in the survey
mapped to the task. Specify a minimum and maximum value for this parameter
which will be honored during the regression.

Run simulations
299
PIPESIM User Guide

Property Description
Horizontal Coefficient applied to the frictional term of the pressure drop equation for all
friction horizontal components in the selected branch (i.e. pipe segments with inclinations
factor < swap angle) that is tuned for the selected flow correlations to match measured
flowing pressure and liquid holdup data. Select the check box to enable this
parameter only if horizontal flow paths are present in the selected branch, and if
measured flowing pressure and or liquid holdup data are available in the survey
mapped to the task. Specify a minimum and maximum value for this parameter
which will be honored during the regression.
Horizontal Coefficient applied to the gravitational term of the pressure drop equation for all
holdup horizontal components in the selected branch (i.e. pipe segments with inclinations
factor < swap angle) that is tuned for the selected flow correlations to match measured
flowing pressure and liquid holdup data. Select the check box to enable this
parameter only if horizontal flow paths are present in the selected branch, and if
measured flowing pressure and or liquid holdup data are available in the survey
mapped to the task. Specify a minimum and maximum value for this parameter
which will be honored during the regression.
U Value Coefficient applied to the U-value of the heat transfer model that is tuned for the
multiplier selected branch to match measured flowing temperature data. Select the check
box to enable this parameter if measured flowing temperature data is available in
the survey mapped to the task. Specify a minimum and maximum value for this
parameter which will be honored during the regression.

Note: Care must be taken when selecting the ranges for the friction and holdup factor regression
parameters to ensure that reasonable regression results are obtained and that the final calibrated
model can be trusted for future predictions of the pressure and temperature losses. Generally,
±20% of the default value of 1 is the recommended range for the pressure regression parameters.
If the calibration results in tuned regression parameters that are significantly outside this
recommended ±20% range, it may be an indication that there are errors with the PVT or with the
measured flowing pressure and temperature data. It could also simply be attributed to the inherent
limitations with multiphase flow correlations.

RMS weight factor

Property Description
Pressure: Weighting factor for pressure match.
Temperature: Weighting factor for temperature match.
Liquid holdup: Weighting factor for liquid holdup match. For more information, see Friction and
holdup factors. (p.418)

Heat transfer options


In this area, specify one of three key variables (inlet pressure, outlet pressure, or flowrate) as the
calculated variable. The calculated variable is derived from the other two values.

Run simulations
300
PIPESIM User Guide

Property Description
Override heat Overrides global values set for the branch.
transfer options:
Pipe burial Model to use for pipeline heat transfer calculations. The calculations use the
method: burial configuration of the pipe (fully buried, partially buried, or fully exposed)
and give different U-value results based on the model selected. The options,
in decreasing order of accuracy, are:
• 2009 Method (default)
• 2000 Method
• 1983 Method
All options produce identical results for a fully exposed pipeline, but the
results are different for a fully buried or partially buried pipe.
Inside film Inside film coefficient (IFC) calculation model for heat loss calculations.
coefficient • Kaminsky model
method:
• Kreith combined Reynolds number model (default)

Flow correlations
In this area, set flow correlation options at the global level or at local levels. If you set flow
correlation options at the local level, the source, correlation, friction factor, and holdup factor
appear as individual columns for both vertical and horizontal components.

Property Description
Swap angle The multiphase flow correlations used to predict the pressure loss and holdup are
split into two categories: vertical and horizontal. Each category lists the correlations
that are appropriate for that type of flow.
By default the selected vertical correlation is used in the situation where the tubing/
pipe is at an angle greater than 45 degrees from the 0 degree axis. For angles less
than or equal to 45 degrees, the selected horizontal correlation is used. This angle
can be changed.

Related links:
Run data matching (p.289)

4.8 Design an ESP


ESP Design task allows you to select suitable ESPs from the database and performs necessary
calculations to determine the number of stages required to achieve target flowrate under given
well, fluid and operating conditions. Multiple operations are performed as part of well's ESP design
to calculate and report well performance before and after an ESP is installed.
PIPESIM is primarily configured to perform single ESP Design and pump selection. However, you
may design and select pumps in tandem by performing successive design steps.

Run simulations
301
PIPESIM User Guide

Prerequisites:
• Well is completely defined with all the components and properties are required.
• One or more fluid models are defined and each completion of a well is mapped to a fluid.
1. Click ESP design from the Tasks in a Well-centric workspace. In Network-centric mode,
select the well and then click ESP Design to open the ESP Design Task.
2. Under Boundary Conditions, specify all the required data.

Parameter Description
Branch end By default, this field is populated as the wellstream outlet that is set in the model.
You can change the branch end to any other object in the well branch.
Outlet pressure You must specify this value.
Reservoir Represents pressure of the reservoir and populated directly from the base model.
Pressure You can update the value.
Reservoir Represents temperature of the reservoir and populated directly from the base
Temperature model. You can update the value.
Phase ratios Ratio type displayed here are GOR and Water Cut only. If the base fluid is defined
with other ratio types, necessary calculation will be performed in the background to
display GOR and WC.

Note: The phase ratio will be displayed for black oil or compositional fluid types
only.

Also, you will be allowed to modify the phase ratio for the design. In case of PVT
and MFL fluid, the phase ratio options will be hidden.
Note: For multilayer wells, the display of Inlet pressure, Inlet Temperature, and Phase ratio are
provided in a tabulated form showing all layers. All edited values of the base model properties are
local to the task (for example, it does not update the base model). When all the required data is
populated, a nodal plot is generated to display Initial Nodal Result for the base model (before the
ESP design). This Nodal plot considers the Nodal Analysis point to be at the Design intake depth.
Any changes in the boundary condition data will re-run Nodal analysis to refresh the plot.

3. Specify Design Criteria.


4. Click ... under pump selection group to open pump selection menu.
5. View/specify pump filtering option to control pump list under display.
6. Select a suitable pump from the pump selection table and click OK to exit pump selection
window and go back to the task window.
7. Click Run.
Results tab displays once Run is performed to populate the results.

Note:

Run simulations
302
PIPESIM User Guide

• The initial nodal analysis run considers a virtual nodal analysis point at pump intake. The
inflow includes the flowpath from reservoir to the pump intake including a separator if
defined. The outflow includes the section from the pump (including the pump) and all
components downstream including any surface equipment present. Note that outflow fluid
does not include separated/discarded gas.
• Initial nodal analysis does not include any existing ESP(s) if the design option is Replace all
ESP(s).
• Required pressure reported at the bottom of the plot is the difference between outflow and
inflow pressure from the initial nodal run.
• Intake gas volume fraction represents the value of the fluid entering pump intake (leaving
out separated gas that gets discarded). The gas volume fraction reported in ESP Design
represents the original fluid before separation.
• Pump selection triggers a PT Profile run to estimate and report fluid flowrate at pump
intake condition - liquid rate, gas rate (excluding separated/discarded gas) and total rate.
• Running the design task will create: (a) special nodal plot (with nodal point at pump
discharge), (b) Nodal analysis (with nodal point at bottomhole) and (c) P-T Profile.

Run simulations
303
PIPESIM User Guide

Parameter Description
Target Must be smaller than the maximum delivery predicted by the displayed inflow curve (@
production rate pump intake). Target rate is blank by default. Once you set a value of target rate, the
initial nodal plot displays a dotted vertical line at the target rate.
Design Option Controls how the new ESP is added to the base well. Options are to Add a new ESP
(p.79) or Replace existing ESP.

Note:
• (a) If the base well has no ESP, display is a read only option Add a new ESP
• (b) If the base well has one or more existing ESPs, show the default option as
Replace existing ESP(s). The design process must replace all existing ESPs
by the new ESP at specified pump intake depth.
• c) In case of b), you should be able to select the option Add a new ESP. The
design process will add a new ESP in addition to existing ESP(s).

Pump Intake The default option is to populate the depth as the bottom MD of the tubing or top of the
Depth topmost completion; whichever comes later in the intended flow path. You should be
able to edit it though ensuring the pump intake depth to be downstream of any
existing/active completion. (validation is optional).
Design 60 Hz shown as default. You may edit this value.
Frequency
Gas separator Unchecked by default. If checked, the separation efficiency default value is 100%. You
can change the value of separation efficiency.
Note: If the design option is Add a new Pump, the initial Nodal plot considers all the existing
ESPs in the well as part of the base model. However, if you select Replace existing ESP(s), the
base nodal analysis does not consider existing ESP(s) in analysis. Any changes in the Design
option (if allowed) or separator property should re-run nodal analysis to refresh initial nodal plot.
When all the required data is populated, a nodal plot is generated to display the Initial Nodal Result
for the base model (before the ESP design). This Nodal plot considers the Nodal Analysis point to
be at the Design intake depth. Any changes in the boundary condition data will re-run Nodal
analysis to refresh the plot.

Related links:
ESP design task parameters (p.304)
Tapered ESP design (p.86)

4.8.1 ESP design task parameters


The following tables explain the parameter options for the ESP Design task.

Run simulations
304
PIPESIM User Guide

Pump selection
The Pump selection and Performance tuning options are hidden if any data under the
Boundary Conditions or Design Criteria section is missing. Once data is complete, Pump
selection is enabled. Tuning factors appear after the pump is selected.

Parameter Description
Pump By default it is blank or empty, (for example, no pump is selected). The ...
command allows you to select the pump.
Stage by Allows staging calculation. It is checked by default. You can uncheck it. [not
Stage recommended]
calculation
Derating These are tuning factors for catalog pump performance curve. Head, Rate and
factors Power can be adjusted by the supplied factor (by default these are all 1, for
example, no tuning). You can change these.
Viscosity Viscosity correction is applied to the pump performance using one of the
correction/ selected models for correction factor. Model options (displayed once viscosity
correction correction is checked) depend on selected pump manufacturer: - If the selected
factor pump is REDA, viscosity correction models are - REDA, TURZO, CENTRILIFT
(default) - If selected pump is Centrilift - Centrilift (default) and Turzo - For all
other pumps - Turzo is the only option available/selected.

Note: Viscosity correction factor is applied during the simulation. Catalog


performance plot does not correct for viscosity. Clicking pump selection should
run a PT profile at design rate to calculate intake rates for liquid and gas phases
to aid pump selection.

Pump selection interface


The Pump selection interface pops up when the control button "..." is clicked under the Pump
selection. The window should display all the pump that is fit for purpose and filtered based on
following criteria.

Parameter Description
Casing ID Read only display of Casing ID from the base model at the location of
wellbore where pump is intended. The displayed pump must fit into the
casing with minimum equipment clearance provided by the user. (OD of
displayed pump < Casing ID - 2*Equipment clearance).
Equipment Represents minimum clearance between casing inside wall and ESP
Clearance outside wall (assuming the pump is concentric with the casing).
Design flowrate Read only field (for display only) - same as Design production rate (stock
tank conditions).
Design frequency Read only field (for display only). The pump selection table displays all
flowrates adjusted to this speed.

Run simulations
305
PIPESIM User Guide

Parameter Description
Intake Liquid Rate Read only value for liquid (including dissolved gas) flowrate at pump intake
condition.
Intake Gas Rate Read only value for free gas flowrate at pump intake condition after
separation (separated gas is assumed to be discarded).
Intake Total Rate Read only value of total fluid rate (liquid with dissolved has + free gas) at
pump intake condition. This rate is used for pump filtering based on rate
criteria.
Show Checked by default. This means all pumps displayed in pump table (see
recommended next section) fit into the casing (with given equipment clearance) and also
pumps satisfy the recommended flowrate range for total fluid at intake conditions.
If unchecked, the rate filter is disabled; all pumps that fit into the casing are
displayed.
Pump selection You can select any row in the pump table. Click OK to display the selected
controls pump on the main task window or Cancel to ignore the selection.

Pump table
The Pump table is displayed after filtering with the following column options.

Parameter Description
Casing ID Read only display of Casing ID from the base model at the location of
wellbore where pump is intended. The displayed pump must fit into the
casing with minimum equipment clearance provided by the user. (OD of
displayed pump < Casing ID - 2*Equipment clearance).
Equipment Represents minimum clearance between casing inside wall and ESP
Clearance outside wall (assuming the pump is concentric with the casing).
Design flowrate Read only field (for display only) - same as Design production rate (stock
tank conditions).
Design frequency Read only field (for display only). The pump selection table displays all
flowrates adjusted to this speed.
Intake Liquid Rate Read only value for liquid (including dissolved gas) flowrate at pump intake
condition.
Intake Total Rate Read only value of total fluid rate (liquid with dissolved has + free gas) at
the pump intake condition. This rate is used for pump filtering based on
rate criteria.
Show recommended Checked by default. This means all pumps displayed in pump table (see
pumps next section) fit into the casing (with given equipment clearance) and also
satisfy the recommended flowrate range for total fluid at intake conditions.
If unchecked, rate filter is disabled; all the pumps that fits into casing are
displayed.
Manufacturer ESP Pump Manufacturer. These are REDA, ODI, ESP, etc.

Run simulations
306
PIPESIM User Guide

Parameter Description
Model ESP Pump Model (every manufacturer has a list of models as stored in the
database).
Series ESP Pump series (every model has a series that reflects the size of the
pump). A higher series represents larger OD of the pump.
Min. flowrate Recommended minimum flowrate for the pump operation.
Max flowrate Recommended maximum flowrate for the pump operation.
Efficiency at design Efficiency of the pump at the design flowrate.
condition

Note: The pump can operate outside of recommended range. However the efficiency will be
undetermined.

Plots on task » esp design


The plot area displays multiple plots. Initially, when the task is launched the only tab displayed in
the plot area is Base/Initial Nodal Analysis with/without the plot depending on whether the data is
complete or not. Once the pump is selected, other plot tabs appear. The Nodal Plot is a Nodal
Analysis plot generated with a Nodal point at pump intake.

Parameter Description
Initial Nodal Analysis Displays the Nodal Analysis Plot for the base model before the ESP
Design.
Required DP at the Displayed at the bottom of the plot and indicates the pressure
design rate differential between inflow and outflow at the design rate.
Intake gas volume Displayed at the bottom of the plot. This value is the gas volume
fraction fraction reported after discarding the separated gas, if any.
Catalog Performance Populated after pump is selected. The catalog curve displayed takes
Curve into account derating factors (head, rate and power) but no viscosity
correction. (The design rate series line shown here is total volumetric
rate at intake conditions.)
Catalog Variable Speed Performance curve (tuned with derating factors) displayed for variable
Curve speeds.

Run/stop command
The Run command performs ESP design taking all the data in the Parameter tab. The Run button
is active only if the required data is complete. The Stop command stops the task. Once the run is
complete, additional tabs appear - The Engine console tab displays the engine log and the
Results tab displays the results of ESP design.

Results
The Result tab displays the following results (including key input parameters):

Run simulations
307
PIPESIM User Guide

Parameter Description
Design Design flowrate and design frequency as specified as input.
parameters
Operating Operating conditions (Operating flowrate, Outlet pressure and Total dynamic
conditions head) are the values considering calculated stages (rounded off to nearest
integer value)
Intake conditions (Pump intake pressure, intake liquid rate, intake gas volume fraction) refer to
conditions at the pump intake (suction)

Note: Gas volume fraction is the free gas after separated gas is discarded.

Pump Simulated result across pump. There are: Selected pump, Stages (nearest
parameters integer), Speed (pump rpm), efficiency, power, head, differential pressure,
discharge pressure and fluid temperature rise across pump

Plot
The following plots are produced:

Parameter Description
ESP Well A variation of Nodal Analysis - multispeed performance for the ESP that
Performance shows discharge pressure at various speeds, pump suction pressure,
bubble point pressure, gas volume fraction, etc.
Actual pump Catalog curve corrected for the actual number of stages, all derating
performance curve factors applied, viscosity correction factors applied, and fluid properties
at operating conditions. This curve reflects tabulated results for head,
power and efficiency at the operating point.
Well nodal analysis Nodal analysis plot including the ESP along with the bubble point line
superimposed.
Well P-T Profile Pressure-temperature profile showing both pressure and temperature
against elevation.

For more information, see Electrical submersible pumps (ESP) (p.517).

Related links:
Design an ESP (p.301)

4.8.2 Tapered ESP design


A tapered ESP refers to multiple ESP's in the same well. A tapered electric submersible pump
(ESP) is mainly used to pump wells with a high gas-oil ratio. Free gas is separated and vented
using a shroud or gas separator. Alternatively, it is compressed using a tapered larger-than-normal
pump or specially designed gas handler below the normal pump. Another scenario could be

Run simulations
308
PIPESIM User Guide

unavailability of required number of stages in the inventory for the intended ESP pump. A second
ESP can then be used to provide additional states as required.
Although the PIPESIM ESP Design task is configured to calculate required number of stages that
provides the required total pressure differential for the well at given operating conditions, tapered
design can be done through the following steps.
1. Perform the ESP Design as you would normally for a single ESP design (p.301) to calculate the
required number of stages for the first ESP and Install the pump in the well.
2. Return to the Well editor and under the Artificial Lift tab select the ESP you have installed in
step 1. Edit the property by changing the number of stages to a lower value.
3. Return to the ESP Design and repeat the ESP design task after performing the following
actions:
a. Change the Design option as Add new ESP
b. Ensure the depth is changed to a new value.
c. Select a different pump as required.
As you have lowered the number of stages for the first pump, the new design will calculate the
number of stages required for the second ESP to achieve the additional pressure differential
and thereby meet the original total differential pressure requirement.
4. Install the second ESP.
5. Repeat steps 2 and 3 to add additional ESP’s as required.

Note: PIPESIM performs hydraulic calculations for the ESP without considering the length of the
ESP equipment. For better accuracy, be careful in estimating the depth of subsequent ESP by
taking into account of the length of ESP stages you have already installed.

For more information, see Electrical submersible pumps (ESP) (p.517).

Related links:
Design an ESP (p.301)

4.9 Run gas lift tasks


Gas lift is the process of raising or lifting fluid from a well by injecting gas down the well through the
tubing, casing, annulus, or riser. Injected gas aerates the fluid to make it exert less pressure than
the formation does; the resulting higher formation pressure forces the fluid out of the wellbore. Gas
may be injected continuously or intermittently, depending on the producing characteristics of the
well and the arrangement of the gas lift equipment.

Related links:
Run deepest injection point (p.310)
Run gas lift response (p.314)
Run gas lift design (p.318)

Run simulations
309
PIPESIM User Guide

Run gas lift diagnostics (p.334)


Gas lift (p.524)

4.9.1 Run deepest injection point


You can run a deepest injection point simulation to calculate the deepest point of injection (DIP) for
a gas lift well based on the injection gas rate, surface pressure, and other parameters.
The deepest injection point task requires a production well with or without valves.
Once the DIP is found, PIPESIM generates a pressure versus depth curve for the calculated flow
rate.
1. Select the well.
2. On the Home tab, in the Tasks group, click Gas lift, and then click Deepest injection point.
3. Under Boundary Conditions, enter the Production outlet pressure, and edit the remaining
values as needed.

Parameter Description
Branch end Well name of the selected production well (uneditable)
Calculated Impacts how the production profile is calculated
variable Calculated variable options:
• Injection gas pressure
• Injection gas rate
• Production rate
• Reservoir pressure: This option is available only for one active
completion well.
Production Represents the pressure at the branch end (wellhead)
outlet pressure You must specify this value.
Reservoir Represents the pressure of the reservoir and is populated directly from the
pressure base model
• This value is initially taken from the completion.
• You can update the value.
Reservoir Represents the temperature of the reservoir and is populated directly from the
temperature base model
• This value is initially taken from the completion.
• You can update the value.
GOR These values are populated from the base model mapped completion fluid. If
Watercut the completion is defined with a different phase ratio type, the software
converts the data to the equivalent GOR or Watercut.
You can update these values.

Run simulations
310
PIPESIM User Guide

Parameter Description

Note: For multilayer wells, the Reservoir Pressure, Reservoir Temperature,


GOR, and Watercut fields are shown in a table that displays values for each
completion in a separate row. All edited values of the base model properties
are local to the task (for example, it does not update the base model).

Target Desired delivery rate of the gas


production rate You must specify this value. The entered value must be smaller than the
maximum delivery predicted by the displayed inflow curve at the pump intake.

Note: This option is available for all Calculated variable options excluding the
Production rate option.

4. Under Injection Parameters, enter the required data based on the selected Calculated
variable.

Parameter Description
Operating Maximum available injection pressure to be used for the design calculation
injection You must specify this value.
pressure

Note: This option is available only for the following Calculated variable
options: Injection gas rate, Production rate, and Reservoir pressure.

Surface injection Surface temperature of the injection gas


temperature This value is used to determine the injection gas temperature profile.
You must specify this value.
Target injection Target injection gas flowrate for design
rate This value is used to calculate the production pressure curve and the
operating valve sizing.
You must specify this value.

Note: This option is not available for the following Calculated variable
option: Injection gas rate.

Gas specific Specific gravity of the injection gas


gravity • Initially, this value is populated from the injection gas property (BO) or
flash result.
• This value is editable.

Run simulations
311
PIPESIM User Guide

5. Under Calculation Options, select the Injection gradient option.

Parameter Description
Injection Injection gradient used to determine the calculation of the injection pressure
gradient profile
Injection gradient options:
Include friction losses
This option lowers the injection pressure profile by taking into account
friction losses.
Static gradient
This option does not account for frictional losses in the annulus.
6. Under Spacing Control, enter the required data.

Parameter Description
Gas injection Gas injection depth options:
depth Optimum depth
Deepest location in the well where the injection pressure exceeds the
production pressure by the minimum valve injection DP (provided that the
maximum injection depth is not limited by a packer)
This uneditable value is automatically selected if the well has gas lift ports.
Valve depth
If the well has an existing valve, PIPESIM will identify the deepest valve
where the injection pressure exceeds the production pressure by the
minimum valve injection DP (provided that the maximum injection depth is
not limited by a packer)
This option is available only if the well has gas lift valves.
Maximum Depth (true vertical) taken as the maximum depth for port or valve placement in
injection TVD the spacing calculations
Normally this value should be about 100 ft above the packer depth.
Minimum Minimum difference between injection and production pressure required for port
valve or valve placement
injection DP Ports or valves will not be placed deeper if the pressure difference is less than
this value.
7. Click Run.
To monitor simulation progress, check the message center or progress monitor.
8. Optional: After the simulation completes, click the Engine console tab and view the direct
output of the gas lift DIP calculations.
9. Click the DIP results tab, and then view the simulation results in the grid, plot, and plot table.

Run simulations
312
PIPESIM User Guide

Related links:
DIP results tab properties (p.313)

DIP results tab properties


The DIP results tab displays a formatted result of the gas lift deepest injection point simulation.

Field Description
Casing head pressure Operating injection pressure measured at the casing head
Total injection gas rate Target total injection gas rate measured at standard condition
Liquid flow rate at Produced liquid flow rate measured at the stock tank condition
outlet
Reservoir pressure Static reservoir pressure
DIP Deepest point of injection (DIP) represents the deepest location in the
wellbore where the gas can be injected at the given production and
injection conditions
This value indicates the optimum location of the operating valve.

Element Description
Vertical axis True vertical depth of the well
Horizontal axis Pressure value
Horizontal line DIP indicator

Run simulations
313
PIPESIM User Guide

Related links:
Run deepest injection point (p.310)

4.9.2 Run gas lift response


You can run a gas lift response simulation to determine the performance of the well under gas lift.
The gas lift response task requires a production well with or without valves.
1. Select the well.
2. On the Home tab, in the Tasks group, click Gas lift, and then click Gas lift response.
3. Under Boundary Conditions, edit the values as needed.

Parameter Description
Branch end Well name of the selected production well (uneditable)
Production Represents the pressure at the branch end (wellhead)
outlet pressure
Reservoir Represents the pressure of the reservoir and is populated directly from the
pressure base model
• This value is initially taken from the completion.
• You can update the value.
Reservoir Represents the temperature of the reservoir and is populated directly from the
temperature base model
• This value is initially taken from the completion.
• You can update the value.
GOR These values are populated from the base model mapped completion fluid. If
Watercut the completion is defined with a different phase ratio type, the software
converts the data to the equivalent GOR or Watercut.
You can update these values.

Note: For multilayer wells, the Reservoir Pressure, Reservoir Temperature,


GOR, and Watercut fields are shown in a table that displays values for each
completion in a separate row. All edited values of the base model properties
are local to the task (for example, it does not update the base model).

4. Under Injection Parameters, enter the required data, and edit other values as needed.

Parameter Description
Surface injection Surface temperature of the injection gas
temperature This value is used to determine the injection gas temperature profile.
You must specify this value.

Run simulations
314
PIPESIM User Guide

Parameter Description
Operating Maximum available injection pressure to be used for the design calculation
injection pressure You must specify this value.
This option is available only when you select Minimum valve injection DP
in the second sensitivity table.
Gas specific Specific gravity of the injection gas
gravity • Initially, this value is populated from the injection gas property (BO) or
flash result.
• This value is editable.
5. Under Calculation Options, select the Injection gradient option.

Parameter Description
Injection Injection gradient used to determine the calculation of the injection pressure
gradient profile
Injection gradient options:
Include friction losses
This option lowers the injection pressure profile by taking into account
friction losses.
Static gradient
This option does not account for frictional losses in the annulus.
6. Under Depth Control, enter the required data.

Parameter Description
Gas injection Gas injection depth options:
depth Optimum depth
Deepest location in the well where the injection pressure exceeds the
production pressure by the minimum valve injection DP (provided that the
maximum injection depth is not limited by a packer)
This uneditable value is automatically selected if the well has gas lift ports.
Valve depth
If the well has an existing valve, PIPESIM will identify the deepest valve
where the injection pressure exceeds the production pressure by the
minimum valve injection DP (provided that the maximum injection depth is
not limited by a packer)
This option is available only if the well has gas lift valves.
Maximum Depth (true vertical) taken as the maximum depth for port or valve placement in
injection TVD the spacing calculations

Run simulations
315
PIPESIM User Guide

Parameter Description
Minimum Minimum difference between injection and production pressure required for port
valve or valve placement
injection DP Ports or valves will not be placed deeper if the pressure difference is less than
this value.
This option is available only when you select Surface gas injection pressure in
the second sensitivity table.
7. In the first Gas lift data sensitivity table, enter the sensitivities for the Target injection gas
rate.
These sensitivities are displayed on the X axis of the gas lift response plot.
8. In the second Gas lift data sensitivity table, select one of the following injection types, and then
enter the sensitivities for it.
• Surface gas injection pressure
• Minimum valve injection DP
9. Click Run.
To monitor simulation progress, check the message center or progress monitor.
10.Optional: After the simulation completes, click the Engine console tab and view the direct
output of the gas lift response calculations.
11.Click the Gas lift response results tab, and then view the simulation results in the table,
plot, and plot table.

Related links:
Gas lift response results tab properties (p.316)

Gas lift response results tab properties


The Gas lift response results tab displays a formatted result of the gas lift response
simulation.

Case table
The Case table includes a row for each sensitivity defined for the gas lift response simulation.
You can select a row to view the simulation results in a grid, plot, or table. You can view case
results individually, or for all cases at the same time.

Gas lift response table


The gas lift response table lists information for each case you selected in the Case table and
displayed on the plot.

Parameter Description
Case Sensitivity value for the case displayed on the plot
CHP Casing head pressure

Run simulations
316
PIPESIM User Guide

Parameter Description
Qgi Gas injection flowrate
Ql Liquid flowrate
DIP Deepest point of injection (DIP) represents the deepest location in the wellbore
where the gas can be injected at the given production and injection conditions
This value indicates the optimum location of the operating valve.

Gas lift response plot


In the gas lift response plot, the corresponding DIP and liquid production rate are plotted for each
selected case (sensitivity) against the gas lift injection rate.

Note: Although you can select multiple cases to display on the plot at the same time, the design
curves for each case use the same colors as defined in the plot legend.

Element Description
Vertical axis Liquid production rate
Horizontal axis Gas injection rate
The steps on this axis correspond to the sensitivity range entered in the Target
injection gas rate Sensitivity Data table in the Gas lift response tab.

You can click View data in a table to view the data displayed in the plot in a table format.

Run simulations
317
PIPESIM User Guide

Related links:
Run gas lift response (p.314)

4.9.3 Run gas lift design


You can use the Gas lift design dialog box to create a detailed design of the location and type
of valves to insert into the tubing to maximize the potential of the well.
Gas lift design requires a production well.
1. Select the well.
2. On the Home tab, in the Tasks group, click Gas lift, and then click Gas lift design.
3. Under Boundary Conditions, enter the required data.

Parameter Description
Branch end Well name of the selected production well (uneditable)
For more information, refer to Surface piping and equipment handling (p.535).
Calculated Impacts how the production profile is calculated
variable Calculated variable options:
• Production rate
• Reservoir pressure: This option is available only for one active
completion well.
• Injection gas rate
• Injection gas pressure
Production Represents the pressure at the branch end (wellhead)
outlet pressure You must specify this value.
Unloading Minimum possible production (wellhead) pressure during unloading
outlet pressure • This value is used only for placement of the top valve.
• If you do not enter a value, the software uses the Production outlet
pressure for unloading.
Reservoir Represents the pressure of the reservoir and is populated directly from the
pressure base model
• This value is initially taken from the completion.
• You can update the value.
Reservoir Represents the temperature of the reservoir and is populated directly from the
temperature base model
• This value is initially taken from the completion.
• You can update the value.
GOR These values are populated from the base model mapped completion fluid. If
Watercut the completion is defined with a different phase ratio type, the software
converts the data to the equivalent GOR or Watercut.

Run simulations
318
PIPESIM User Guide

Parameter Description
You can update these values.

Note: For multilayer wells, the Reservoir Pressure, Reservoir Temperature,


GOR, and Watercut fields are shown in a table that displays values for each
completion in a separate row. All edited values of the base model properties
are local to the task (for example, it does not update the base model).

4. Under Injection Parameters, enter the required data.

Parameter Description
Operating Maximum available injection pressure to be used for the design calculation
injection pressure
Kickoff pressure Maximum possible injection pressure to kick off the well
• This value is used for top valve placement only.
• If you do not enter a value, the software uses the Operating
injection pressure.
For more information, refer to IPO surface close kickoff pressure
handling (p.535).
Surface injection Surface temperature of the injection gas
temperature This value is used to determine the injection gas temperature profile.
Target injection Target injection gas flowrate for design
rate This value is used to calculate the production pressure curve and the
operating valve sizing.
Gas specific Specific gravity of the injection gas
gravity • Initially, this value is populated from the injection gas property (BO) or
flash result.
• This value is editable.
5. Under Calculation Options, enter the required data.

Parameter Description
Production Flowing production pressure curve used for calculations during design
pressure curve Production pressure model
This option uses the object flowing pressure gradient calculated with the
PIPESIM model (assuming the target injection gas rate is injected at the
operating valve location).
Injection gradient Injection gradient used to determine the calculation of the injection pressure
profile
Injection gradient options:

Run simulations
319
PIPESIM User Guide

Parameter Description
Include friction losses
This option lowers the injection pressure profile by taking into account
friction losses.
Static gradient
This option does not account for frictional losses in the annulus.
Top valve unload Temperature used for calculation across the top valve
temperature Top valve unload temp options:
• Production
• Ambient
• Injection

Note: You can select different Top valve and Other valves options.

Lower valves Temperature used for calculation across other valves


unload Other valves unload temp options:
temperature
• Production
• Ambient
• Injection

Note: You can select different Top valve and Other valves options.

Minimum Calculates the unloading liquid and gas injection rates for the unloading
unloading liquid valves
rate This option is only available when Calculate production rate is selected for
the Solution point.
6. Under Spacing Control, enter the required data.

Parameter Description
Design Mandrel spacing used for valves
spacing Design spacing options:
New spacing
Calculates a new mandrel spacing for the well as part of the gas lift design
and overwrites (without prompting) any existing valve settings
Current spacing
Uses the existing mandrel spacing as defined in the PIPESIM model and
calculates the appropriate valve parameters
This option is not available if the well does not have gas lift valves or ports.

Run simulations
320
PIPESIM User Guide

Parameter Description
For more information, refer to Known valve spacing handling (p.536).
Design Spacing method for the gas lift design
spacing Design spacing method options:
method
IPO surface close
Uses a user-specified fixed surface close (injection) pressure drop between
valves
For more information, refer to IPO surface close (p.527).
IPO PT Min/Max
Uses a calculated surface close (injection) pressure drop between valves
(with a user-specified minimum)
For more information, refer to IPO PT min/max (p.538).
PPO design
Uses a transfer gradient based on user-entered surface offset and operating
valve DP values
This option is normally used for gas lift designs with production pressure
operated (PPO) valves.
Top valve Basis for spacing the top unloading valve
location Top valve location options:
Assume liquid to surface
Assumes that liquid is present in the wellbore to the surface
Specify liquid level
Liquid level top in the wellbore
Specify the top value in the Liquid level top field. This TVD value is
measured from the wellhead.
Use calculated liquid level
PIPESIM calculates the liquid level top
For more information, refer to Liquid level condition handling (p.537).
Liquid level This option is only available when Specify liquid level is selected for the Top
top valve location.
Maximum Depth (true vertical) taken as the maximum depth for valve placement in the
injection spacing calculations
TVD Normally this value should be about 100 ft above the packer depth.
Enable When selected, controls the bracketing interval for placement of bracketing valves
bracketing based on the entered Bracketing spacing distance (TVD)
This option is only available when New spacing is selected.

Run simulations
321
PIPESIM User Guide

Parameter Description
When you run the gas lift design task with bracketing enabled, you will get
additional spacing beyond the operating valve until the maximum depth is
reached. These locations are placed with dummy valves.
Unloading Gradient of the well fluid for unloading and spacing calculation
gradient The Unloading gradient, Minimum valve injection DP, and Minimum valve
spacing fields work in tandem.
After you enter the Unloading gradient, you can enter one of the remaining
values and the software automatically calculates the other one as follows:
• After entering the Minimum valve injection DP value, the software
calculates the following equation: Minimum valve spacing = Minimum
Valve injAfter entering the Minimum valve spacing value,
the software calculates the following equation: Minimum
valve injection DP = Minimum Valve spacing x Unloading
gradient ection DP/Unloading gradient
• After entering the Minimum valve spacing value, the software calculates
the following equation: Minimum valve injection DP = Minimum
Valve spacing x Unloading gradient
Minimum Minimum difference between injection and production pressure required for valve
valve placement
injection DP Valves will not be placed deeper if the pressure difference is less than this value.
When you enter the Unloading gradient and the Minimum valve spacing, the
software automatically calculates this value.
Minimum Minimum distance for valve spacing (TVD)
valve Valves will not be placed deeper if they are spaced closer than this value.
spacing
When you enter the Unloading gradient and the Minimum valve injection DP,
the software automatically calculates this value.
For more information, refer to Minimum valve spacing handling (p.537).
7. Under Design Bias, enter the required data.
The available options in this group are determined by the Design spacing method option that
you selected in the Spacing Control group.
IPO surface close options

Parameter Description
Surface close DP Safety factor for IPO surface close valves only
The value is the surface close (injection) pressure drop for each successive
valve down hole to ensure the valve above closes.
For more information, refer to IPO surface close (p.527).
Locating DP at Minimum limit for the surface close (injection) pressure drop for each
valve location successive valve down hole to ensure the valve above closes

Run simulations
322
PIPESIM User Guide

Parameter Description
Transfer factor Safety factor used for injection pressure operated valves
options Transfer factor options options:
% difference between pProd and pInj
Percentage of the difference between the production pressure and
injection pressure at each valve location
Specify the percentage or fraction value in the Transfer factor field.
%pProd
Percentage of the production pressure
Specify the percentage or fraction value in the Transfer factor field.
Adjust operating Value that lowers the calculated test rack opening pressure for the operating
valve Ptro valve
This field is not displayed when using an orifice as the operating valve.
Use orifice as Select to use a value that places an orifice at the operating valve location
operating valve instead of a gas lift valve
Override orifice Select to override the coefficient of discharge for the orifice
CD Clear to use the coefficient of discharge from the catalog

IPO PT Min/Max options

Parameter Description
Minimum Safety factor for IPO PT Min/Max valves only
surface open The value is the minimum limit for the surface close (injection) pressure drop
DP for each successive valve down hole to ensure the valve above closes.
For more information, refer to IPO PT min/max (p.538).
Locating DP at Safety factor normally used for both injection pressure operated and
valve location production pressure operated valves
This is an offset from the injection pressure line to the start of the transfer
(unloading) line at each valve location. Default value for injection pressure
operated valves is 50 psi. and default for production pressure operated valves
is 100 psi.
Transfer factor Safety factor used for injection pressure operated valves
options Value added to wellhead pressure to determine the starting point of the
transfer gradient
Transfer factor options options:
% difference between pProd and pInj
Percentage of the difference between the production pressure and
injection pressure at each valve location
Specify the percentage or fraction value in the Transfer factor field.

Run simulations
323
PIPESIM User Guide

Parameter Description
%pProd
Percentage of the production pressure
Specify the percentage or fraction value in the Transfer factor field.
Adjust Value that lowers the calculated test rack opening pressure for the operating
operating valve valve
Ptro This field is not displayed when using an orifice as the operating valve.
Use orifice as Select to use a value that places an orifice at the operating valve location
operating valve instead of a gas lift valve
Override orifice Select to override the coefficient of discharge for the orifice and enter the value
CD in the Orifice discharge coeff field
Clear to use the coefficient of discharge from the catalog

PPO design options

Parameter Description
Transfer grad. Value added to wellhead pressure to determine the starting point of the transfer
offset options gradient
The PPO design spacing method uses a transfer gradient line drawn from the
surface to the operating valve location.
Transfer grad. offset options:
Surface offset %
Percentage of the difference between the operating production (wellhead)
pressure and the surface injection pressure
Surface offset DP
DP value added to the wellhead pressure
Transfer grad. Percentage of the difference between the operating production (wellhead)
surface offset pressure and the surface injection pressure
Transfer grad. Percentage of the difference between the injection pressure and the production
operating valve pressure at the operating valve location
DP
Locating DP at Safety factor normally used for both injection pressure operated and production
valve location pressure operated valves
This is an offset from the injection pressure line to the start of the transfer
(unloading) line at each valve location. Default value for injection pressure
operated valves is 50 psi. and default for production pressure operated valves
is 100 psi.
Operating Operating valve options:
valve options

Run simulations
324
PIPESIM User Guide

Parameter Description
Use orifice
Select to use a value that places an orifice at the operating valve location
instead of a gas lift valve
The Override orifice CD and Orifice discharge coeff fields are used with
the Use orifice option.
Use IPO valve
Select to use a value that lowers the calculated test rack opening pressure
for the operating valve
The Adjust operating valve Ptro is used with the Use IPO valve option.
Override • Select to override the coefficient of discharge for the orifice and enter the
orifice CD desired value in the Orifice discharge coeff field
• Clear to use the coefficient of discharge from the catalog
This field is only available when Use orifice is selected for the operating valve
option.
8. Under Valve Temperature Correction, enter the required data.

Parameter Description
Test rack Temperature that is maintained in the test rack and used to calibrate the PPO-N
temperature valve at the test rack and calculate Ptro
This option is not available for PPO-S valves.
Generally, the temperature is maintained at 60° F using a water bath. However,
in some circumstances the temperature may not be controlled. In this case, the
temperature is typically ambient temperature in the shop.
Nitrogen Nitrogen temperature correction factor (Ct) used to more accurately calculate
temp. valve dome pressures
correction For a nitrogen-charged valve dome, as the temperature condition changes, the
dome pressure will vary
DAK-Sutton (default)
The DAK-Sutton (2014) method is more rigorous. Sutton tuned the
coefficients in the original Dranchuk & Abou-Kassem (DAK) Equation of
State for gas to match pure nitrogen properties calculated by REFPROP.
The resulting modification allows accurate calculation of nitrogen gas
compressibility for pressures up to 15,000 psia and temperatures up to 400º
F.
Winkler-Eads
The Winkler-Eads (1989) method is a composite of two empirical curve fit
equations to match Nitrogen Z factor measured data. The first equation is
valid up to 1238 psia and the second equation is valid over the range of 1238
psia to 3000 psia, with temperature ranges up to 300º F. Despite these

Run simulations
325
PIPESIM User Guide

Parameter Description
limitations, Sutton (2014) reported that the Winkler-Eads method gives
reasonable results up to 5000 psia and 400º F.
The correction factor provided by Wrinkler-eades provides a way to convert
the dome pressure at the valve depth to the equivalent test rack opening
pressure (Ptro) and vice-versa.
9. Under Valve Selection Filter, select a valve from the gas lift valve catalog, and edit the
properties as needed.

Note: If the valve that you need to use is not in the catalog, you can use the Catalogs option on
the Home tab in the Application options group to add the valve to the catalog.

Parameter Description
Manufacturer Valve maker (for example: Bompet, Daniel, Hughes, Macco, SLB (Camco),
SLB (Merla), Weatherford)
Valve type The available valve types are determined by the selected Design spacing
method value.
Valve type options:
• IPO: Inject-pressure-operated gas lift valve that is designed in a way
that the casing pressure is acting on the larger area of the bellows and
thus are primarily sensitive to the casing pressure. The drop in casing
pressure which occurs during unloading is used to close the valves in
the correct sequence.
• PPO-N: Production Pressure Operated Valve that uses a nitrogen
charged dome as the loading element to cause the valve to close.
Most gas lift equipment manufacturers use a valve setting temperature
base of 60 degrees for nitrogen charged gas lift valves. The valve is
submerged in a 60 degrees F water bath to ensure a constant nitrogen
temperature in the dome of each valve during the test rack setting
procedure.
• PPO-S: Production Pressure Operated Valve with a spring to pre-load
the bellows and hold the valve stem on the port (for example, a spring
is used as the loading element to cause the valve to close).
This type of value is also called a PPO unbalanced spring valve. The
advantage of this type of PPO valve is that there are no temperature
effects to consider when setting the valves opening pressure.
Valve size Valve outer diameter
Valve series Series name or number
Minimum port Minimum valve port (orifice) diameter
size
10.Click Run.

Run simulations
326
PIPESIM User Guide

To monitor simulation progress, check the message center or progress monitor.


11.Optional: After the simulation completes, click the Engine console tab and view the direct
output of the gas lift design calculations.
12.Click the Design results tab, and then view the simulation results in the grid, plot, and plot
table.
The Design results tab includes an Enable redesign option. If you are not satisfied
The plot shows the valve properties including vertical depth location, pressure values,
temperature, and open/close status.
13.Optional: Select Enable redesign.
This allows you to tweak the valve depth, valve temperature (this impacts the test rack opening
pressure computation), valve selection, or specific combinations of these. For more information
on redesign, see
14.Optional: To install the gas lift valves created by the design simulation into the well model, click
Install Design.
In the well model, the software deletes all existing injection ports or valves and installs the new gas
lift valves. The Well editor displays the following updates:
• In the wellbore diagram, all existing ports or valves are deleted, and the new gas lift valves
are inserted.
• In the Artifical lift tab, the following updates are displayed:
• For wells that had injection ports, under Gas Lift, the Fixed injection ports option is
cleared, and Injection valve system is selected.
• The Gas Lift table lists the new valves and displays the valve information from the
design results, including the MD and Ptro values where applicable.
• Under Valve Performance Data, the Test rack temperature value and Nitrogen temp.
correction option are updated where applicable.

Related links:
Manage the gas lift valve catalog (p.26)
IPO surface close (p.527)
IPO PT min/max (p.538)
PPO design (p.527)
Design results tab properties (p.313)
Gas lift redesign (p.331)

Design results tab properties


The Design results tab displays a formatted result of the gas lift design simulation. The tab
displays the computed DIP, calculated production and injection profile results, and production rate
and gas lift injection rates in a tabular or plot format.

Run simulations
327
PIPESIM User Guide

Results grid
When you select Show grid, the Design results tab displays fields and a table that include
valve spacing, valve depth, and pressure computation results across all valves.

Field Description
Casing head pressure Operating injection pressure measured at the casing head
Total injection gas rate Target total injection gas rate measured at standard condition
Liquid flow rate at outlet Produced liquid flow rate measured at the stock tank condition
Reservoir pressure Static reservoir pressure

The results table displays the user-input or software-calculated gas lift valve parameters and
results.

Note: The table displays default columns. You can click Select columns to toggle the columns
displayed in the table.

Column Description
TVD True vertical depth (TVD) of the valve
MD Measured depth of the valve
Series Series name or number of the valve
Port size Valve port (orifice) diameter
Popr Operating pressure – Operating injection pressure at the valve location
Pinj Injection pressure – Maximum available injection pressure to be used for
the design calculation
Pprod Production pressure – Pressure used in the design calculation
Qgiv Gas rate – Pressure at the branch end (wellhead)
Pv-open Valve opening pressure
• IPO valves – pressure in the casing at the instance before the valve
opens from its closed position
• PPO valves – pressure in the tubing at the instance before the valve
opens from its closed position
Pv-close Valve closing pressure
• IPO valves – pressure in the casing at the instance before the valve
opens from its closed position
• PPO valves – pressure in the tubing at the instance before the valve
opens from its closed position
Ps-open Valve opening surface pressure – casing head pressure corresponding to
the valve opening pressure at the valve location

Run simulations
328
PIPESIM User Guide

Column Description
Ps-close Valve closing surface pressure – casing head pressure corresponding to
the valve closing pressure at the valve location
Pdome Dome pressure – pressure exerted on the bellow due to the nitrogen
charge in the dome of the valve
Ptro Test rack opening pressure – opening pressure required to open the valve
at the test rack condition
Temperature Temperature of the produced fluid at the valve depth
Status Valve status (open, close, throttling)
Actual unloading Gas rate to unload the section of the tubing above the valve
gas injection rate
Actual unloading Liquid rate to unload the section of the tubing above the valve
liquid rate
Ppmax Maximum production pressure at the valve

Design plots
The design plot graphically shows the user-input or software-calculated gas lift valve parameters
and results.

Run simulations
329
PIPESIM User Guide

IPO surface close plot

IPO PT Min/Max

Run simulations
330
PIPESIM User Guide

Element Description
Horizontal axis Pressure value
Horizontal line Valve depth
• Open valve – green line
• Closed valve – red line
Dot Pressure point
• Opening pressure at valve depth – green dot
• Closing pressure at valve depth – red dot
• Dome pressure at valve depth – blue dot

You can click View data in a table to view the data displayed in the plot in a table format.

Related links:
Run gas lift design (p.318)

Gas lift redesign


The objective of gas lift design is to find the best location for unloading valves and operating
valves. PIPESIM uses several standard published methods to perform spacing calculations. These
methods use several design biases (safety factors) to ensure that the location of the valves are
best suited for efficiently unloading the well under given operating conditions. One of the key
objectives of gas lift design is to place the operating valve close to the optimum depth as obtained
through a DIP (deepest injection point) algorithm. Therefore, proper estimation of design bias is
essential.
Having performed design with the best known data and design bias, there are limitations or
restrictions that a gas lift design engineer may be subjected to. For example:
• Operating valve depth may not be at the deepest injection location
• Well construction may prevent placing gas lift mandrel at a certain depth
• Tubing tally limits the placement of mandrel valves at a depth that the design recommended
• Lack of valves in the inventory may prevent installing certain valves at a given depth
• A DTS survey (temperature measurement) may exist for the well that you want to use for
accurately calibrating valves
The gas lift redesign option provides the ability to eliminate the limitations listed above. When you
use the redesign option, you can modify the initial design by tweaking one or more variables as
shown below.

CAUTION: While the PIPESIM interface provides the flexibility to change several other design
parameters, including but not limited to boundary conditions, injection parameters, computation
options, spacing options, design bias, etc, it is advised to not make significant changes to these

Run simulations
331
PIPESIM User Guide

parameters during redesign. If you need to make significant changes to these parameters, it is best
to run a new design task.

Redesign options

Option Description/recommendation
Depth Allows you to change the depth suggested by the initial design to accommodate
restrictions to place the valve at a certain depth and account for the tubular
configuration in the wellbore.
After the initial design is performed, you can change one or more valve depths
and then re-run the design task to get pressure computations

Important: You should only use the Depth redesign option to make minor
adjustment in depths. Major adjustments in depth may severely undermine the
unloading capability of the well.

Temperature The temperature at valve locations plays a major role during design for all bellow
operated valves. These temperatures are used to convert the valve dome
pressure to the test rack opening pressure using correction models available in
PIPESIM. After the initial design is performed, you can change the temperature at
each valve location to get an accurate prediction of the test rack opening pressure
for the valve pressure setting.

Important: You should temperature redesign if accurate temperature


measurements are available at the valve location.

Valve The design algorithm recommends the best valve size based on the valve depth
and unloading needs. However, ports are only available in certain standard sizes
and may be oversized or undersized for the unloading. You can use the Valve
redesign option to change one or more valves of the same type, and also remove
the restriction to use a particular series of ports.

Important: Ports size at one or more valves may be changed to accommodate


user-specific valve inventory. If available in the catalog, it is recommended to use
the same size of port from a different series or manufacturer.

Redesign options and combinations

Option Description/recommendation
Depth Performs redesign with the user-specified depth
Valve selection and pressure computations are performed as part of
redesign.

Run simulations
332
PIPESIM User Guide

Option Description/recommendation
Depth and Depth
Temperature Performs redesign with the user-specified depth
Valve selection and pressure computations are performed as part of
redesign.
Temperature
Test rack opening pressure computations are performed using user-
specified temperatures.
Valve Full design is performed and valves are selected from the user-specified list
of valves. The design will determine the valve to select for a given depth.
Depth and Valve When depth and valves are both fixed, valve selection computation is
skipped. Specific valves are placed at specified depths. Pressure
computations are performed as part of redesign.
Depth, When depth and valves are both fixed, valve selection computation is
Temperature, and skipped. Specific valves are placed at specified depths. Pressure
Valve computations are performed as part of redesign.
Test rack opening pressure computations are performed using user-
specified temperatures.

Related links:
Run gas lift redesign (p.333)

Run gas lift redesign


You can use the Enable redesign option to tweak the valve depth, valve temperature (this impacts
the test rack opening pressure computation), valve selection, or a specific combination of these
items and then re-run the gas lift design task.
Run the gas lift design task.
1. On the Design results tab, select Enable redesign.
2. On the Gas lift design tab, select the desired Redesign options:
• Depth only
• Depth and Temperature
• Depth and Valve
• Depth, Temperature, and Valve
• Valve only
Selecting an option displays a table with columns for editing the listed values.

Selected Result
option
Depth Displays an MD column that lists editable valve depths

Run simulations
333
PIPESIM User Guide

Selected Result
option
The depths listed in the table are taken from the Design results tab MD
column in the results grid.

Note: Typically, you will make only minor adjustments.

Temperature Displays a Temperature column that lists editable valve temperatures


The temperatures listed in the table are taken from the Design results tab Tv
column in the results grid. The temperature is determined from the Top valve
unload temperature and Lower valves unload temperature options selected
on the Gas lift design tab.

Note: The Temperature option is only available when you select the Depth
option.

Valve Displays a Valve column that lists the valve types (manufacturer) that PIPESIM
selected from the database when you ran the gas lift design task
You can click the Use catalog button to select another valve type from the
database. The database selections are automatically filtered based on the Valve
type listed in the Valve Selection Filter group (IPO, PPO-N, or PPO-S).

Note:
• When you select only the Valve option, the redesign task will select the
best valve type for a specific depth based on port sizing calculations.
• When you select the Depth and Valve options, known valves are placed
at the specified depths. No sizing computation is performed.

3. Click Run.

Related links:
Gas lift redesign (p.331)

4.9.4 Run gas lift diagnostics


You can run a gas lift diagnostics to evaluate the performance of the gas lift well. The software
calculates (simulates) the status and actual throughput for each valve based on given well
boundary conditions and injection gas parameters, and calculates the production rate for the well.
Gas lift diagnostics requires a production well with injection valves (not fixed injection ports).

Run simulations
334
PIPESIM User Guide

The valve status can be closed, throttling, or fully open. The valve performance characteristics take
into account the throttling response of the valves. The throttling response is based on the bellows
load rate of the valves.
The diagnostic simulation is iterative. The throughput of each valve depends on the simulated
injection and production pressures (in addition to valve parameters). However, the simulated
production pressure itself depends on the throughput of each valve at the valve depth. Therefore
the system is solved iteratively.
1. Select the well that has gas lift valves installed.
2. On the Home tab, in the Tasks group, click Gas lift, and then click Gas lift diagnostics.
3. Under Boundary Conditions, enter the required data.

Parameter Description
Branch end By default, this field is populated as the wellstream outlet that is set in the
model
You can change the branch end to any other object in the well branch.
Outlet pressure Represents the pressure at the branch end
You must specify this value.
Reservoir Represents the pressure of the reservoir and is populated directly from the
Pressure base model
You can update the value.
Reservoir Represents the temperature of the reservoir and is populated directly from
Temperature the base model
You can update the value.
GOR If the base fluid is defined with other ratio types, necessary calculation will be
Watercut performed in the background to display GOR and WC

Note: The phase ratio will be displayed for black oil or compositional fluid
types only.

Also, you can modify the phase ratio for the design. In case of PVT and MFL
fluid, the phase ratio options are hidden.
4. Under Injection Parameters, modify the required data. Some of these values are populated
directly from the well editor Artificial lift tab.

Parameter Description
Diagnostics Fixed injection pressure
type When the injection gas surface pressure is given, calculates the valve
status (open, closed, or throttling) and the injection rate per valve (when
open)

Run simulations
335
PIPESIM User Guide

Parameter Description
Fixed injection rate
When the total injection rate is given, calculates the valve status injection
rate per valve (if open) and surface injection pressure
Fixed injection pressure and injection rate
When the surface injection pressure is given, and the total injection rate is
given, calculates the valve status (open, closed, or throttling) and the
injection rate per valve
This is a solution to match the given injection pressure and injection rate
by tuning valve performance.
Throttling Injection gradient used to determine the calculation of the injection pressure
profile
Injection gradient options:
Include friction losses
This option lowers the injection pressure profile by taking into account
friction losses.
Static gradient
This option does not account for frictional losses in the annulus.
Surface Gas lift injection surface pressure
injection
pressure
Surface Surface temperature of the injection gas
injection
temperature
Minimum valve Minimum difference between injection and production pressure required for
injection DP valve placement
Valves can not be placed deeper if the pressure difference is less than this
value.
Gas specific Injection gas specific gravity
gravity This is used to determine the injection gas pressure profile.

Note: This field is not displayed if you selected a fluid model for the Gas
Properties on the Artificial lift tab when a compositional fluid is selected for
the injection gas.

Injection Injection gradient used to determine the calculation of the injection pressure
gradient profile
Injection gradient options:

Run simulations
336
PIPESIM User Guide

Parameter Description
Include friction losses
This option lowers the injection pressure profile by taking into account
friction losses.
Static gradient
This option does not account for frictional losses in the annulus.

Note:
• To populate the well editor Artificial lift tab with the values you entered on the Gas lift
diagnostics dialog box, click Publish boundary conditions.
• To repopulate the Gas lift diagnostics dialog box with the default properties taken
from the well editor Artificial lift tab, click Reset boundary conditions.

5. Optional: Under Sensitivity Data, enter the properties. Sensitivity data overrides existing
information for the selected variable.

Property Description
Item Select the system component for which you want to specify a range of variables.
• Completion
• Tubing
• System data
• Gas lift data
Variable Select a variable associated with the selected item for which you will specify a range of
values. When you select a sensitivity variable, the Range button appears above the
value range table, which may be useful for quickly defining a set of evenly spaced
values.
Range a. Click Range.
b. Specify the Start and End values and the Step increment between those two
values.
c. Click OK.
The results appear in the values table (limited to 50 rows)
You can also complete the values table manually. To add a new row of data, click the
New(+) button; or simply type a number, and then press ENTER to move to the next
row. To delete a row, right-click the row, and then click Delete.
6. Click Run.
To monitor simulation progress, check the message center or progress monitor.
7. After the simulation completes, view the profile results by clicking the System results tab or the
Profile results tab.

Run simulations
337
PIPESIM User Guide

8. Click the Diagnostics results tab, and then view the simulation results in the grid, plot, and
plot table.
9. Optional: If you ran a Fixed injection pressure and injection rate diagnostics task, you can
update the tuning factor in the well model with the value the software automatically calculated
during the simulation as follows:
a. Click the Diagnostics results tab.
b. In the upper-left table in the tab, in the Select column, select the radio button for the listed
tuning factor.
c. Click Publish to Model.
In the well editor Artificial lift tab, under Valve Performance Data, the Tuning factor
value is automatically updated.
If you run a Fixed injection pressure or Fixed injection rate diagnostics task for the same
well, the tuning factor calculated by the previous Fixed injection pressure and injection rate
diagnostics task is used.

Related links:
Diagnostics results tab properties (p.313)
Add a gas lift injection valve (p.73)

System results tab properties


The System results tab displays task results in two modes: Node or Branch. This tab displays the
range of calculated results when the profile includes sensitivity data. You can also select the
columns to be shown in the results table. You can also expand the rows to display additional
information for completions and equipment objects.

Node display mode properties

Property Description
Show grid Click this option to display the system profile results in a table.
Show plot Click this option to display the system profile results as a graphical plot.
Double-click the resulting plot to configure it.
Display mode Click Node or Branch to switch the display mode.
Equipment filter In the list, click All to show all network objects in the results table, or click a
single equipment type for display.
Select columns Click this button to open the Select columns window where you can select
the columns to be shown in the results table.
Expand Click this button to show or hide detailed information for all network objects in
the results table.
For example, a compressor row expands to display data such as pressure
difference and differential temperature. (Some object types, such as junctions,
sinks, and wellheads, do not expand.)

Run simulations
338
PIPESIM User Guide

Property Description

Note: You may also click on a row in the results table to show detailed results
for certain individual objects.

unlabeled Enter part or all of the name of a case, equipment, or equipment type to filter
search field the rows to show specific cases.
Case (column) Name of the sensitivity case.

Branch display mode properties

Property Description
Show grid Click this option to display the system profile results in a table.
Show plot Click this option to display the system profile results as a graphical plot.
Double-click the resulting plot to configure it.
Display mode Click Node or Branch to switch the display mode.
Select columns Click this button to open the Select columns window where you can
select the columns to be shown in the results table.
unlabeled search Enter part or all of the name of a case, equipment, or equipment type to filter
field the rows to show specific cases.
Case (column) Name of the sensitivity case.

Profile results tab properties


The Profile results tab displays the calculated results of the profile task. You can also select the
columns to be shown in the results table. After selecting the desired columns, you can expand the
rows to display additional information about particular data types.

Property Description
Show grid Click this option to display the system profile results in a table.
Show plot Click this option to display the system profile results as a graphical plot.
Double-click the resulting plot to configure it.
Equipment filter In the list, click All to show all network objects in the results table, or click a
single equipment type for display.
Select columns Click this button to open the Select columns window where you can select
the columns to be shown in the results table.
Expand all Click this button to show or hide detailed information for all network objects in
Collapse all the results table.
For example, a compressor row expands to display data such as pressure
difference and differential temperature. (Some object types, such as junctions,
sinks, and wellheads, do not expand.)

Run simulations
339
PIPESIM User Guide

Property Description

Note: You may also click on a row in the results table to show detailed results
for certain individual objects.

unlabeled search Enter part or all of the name of a case, equipment, or equipment type to filter
field the rows to show specific cases.
Case (column) Name of the sensitivity case.

For more information, see Flow regimes (p.403).

Diagnostics results tab properties


The Diagnostics results tab displays a formatted result of the gas lift diagnostics simulation.

Case table
The Case table includes a row for each sensitivity defined for the gas lift diagnostics simulation.
For each sensitivity, the flowrate is listed.
You can select a row to view the simulation results in a grid, plot, or table. You can only view
results for one case at a time.

Field Description
Case Lists the type of sensitivity and the value entered on the Gas lift diagnostics
tab
This column is available for all gas lift diagnostics types: Fixed injection pressure,
Fixed injection rate, Fixed injection pressure and injection rate
Publish Select and click Publish tuning factor to update the tuning factor in the well model
with the value listed in the Tuning factor field.

Note: This option is only available for a Fixed injection pressure and injection rate
simulation.

Tuning Factor/multiplier to the Thornhill-Craver equation that adjusts the performance of the
factor valve (valve throughput)
The software automatically calculates this value during the simulation.

Note: This option is only available for a Fixed injection pressure and injection rate
simulation.

Results grid
When you select Show grid, the Diagnostics results tab displays the calculated parameters
at the well level for the selected case (sensitivity).

Run simulations
340
PIPESIM User Guide

Field Description
Casing head pressure Operating injection pressure measured at the casing head
Total injection gas rate Target total injection gas rate measured at standard condition
Liquid flow rate at outlet Produced liquid flow rate measured at the stock tank condition
Tuning factor Factor/multiplier to the Thornhill-Craver equation that adjusts the
performance of the valve (valve throughput)

The results table displays the user-input or software-calculated gas lift valve parameters and
results for the selected case (sensitivity).

Note: The table displays default columns. You can click Select columns to toggle the columns
displayed in the table.

Column Description
TVD True vertical depth (TVD) of the valve
MD Measured depth of the valve
Name Name of the valve
Series Series name or number of the valve
Port size Valve port (orifice) diameter
Injection pressure Pressure used in the design calculation
Production Pressure at the branch end (wellhead)
pressure
Gas rate Maximum amount of gas that can be injected through all valves
Opening pressure • IPO valves – pressure in the casing at the instance before the valve
opens from its closed position
• PPO valves – pressure in the tubing at the instance before the valve
opens from its closed position
Closing pressure • IPO valves – pressure at the instance the valve is about to close from its
open position
• PPO valves – tubing pressure at the instance valve is about to close
from its open position
Dome pressure Pressure exerted on the bellow due to the nitrogen charge in the dome of
the valve
Ptro Test rack opening pressure
Temperature Temperature of the produced fluid at the valve depth
Flow status Throttling status of IPO and PPO valves
Flow status options:
• Throttling: Indicates that the effective pore area is less than the actual
pore area

Run simulations
341
PIPESIM User Guide

Column Description
• Orifice: Indicates that the pore area is open allowing full flow
Valve status Valve status of IPO and PPO valves
Valve status options:
• Open
• Closed
For more information, refer to Valve status (p.556).

Diagnostics plot
The diagnostics plot graphically shows the production and injection pressure profiles and the
temperature profiles simulation results for the selected case (sensitivity).

Element Description
Vertical axis True vertical depth of the well
Horizontal axis Pressure value

Run simulations
342
PIPESIM User Guide

Element Description
Horizontal line Valve depth
• Open valve – green line
• Closed valve – red line
Dot Pressure point
• Opening pressure at valve depth – green dot
• Closing pressure at valve depth – red dot
• Dome pressure at valve depth – blue dot

You can click View data in a table to view the data displayed in the plot in a table format.

Related links:
Run gas lift diagnostics (p.334)

4.10 Run a perforation design


You can run a penetration and entrance hole perforation design task to model perforating
performance in reservoir rocks. This allows you to optimize the well completion efficiency by
comparing a variety of gun/charge configurations under different reservoir conditions.
Perforation design requires a detailed wellbore with all required properties defined on the
Tubulars tab of the Well editor.

Note: Changing the required properties on the Tubulars tab dynamically updates the properties
displayed on the Wellbore data tab on the Perforation design dialog box.

1. Select the well.


2. On the Home tab, in the Tasks group, click Perforation design.
3. Optional: On the Job info tab, enter the information that will be listed on the perforation
design report.

Parameter Description
Well Name of the well selected for the perforation design task
The value is editable.
Field Name of the hydrocarbon field in the subsurface
Country Government-controlled area of land where the field and well are located
You can leave this field blank, or select a country from the list.
Generated by User name associated with the logged on Windows® user
The value is editable.
Generated for Name of the company or person for whom the report is created

Run simulations
343
PIPESIM User Guide

Parameter Description
Use current date/time Prints the current date and time on the report when selected
Clear the checkbox to select a specific date and time.
4. Click the Wellbore tab, and then enter the required data.
a. Under Completion, enter the Completion depth.

Note:
• To use the completion depth defined for the selected well, click Completion in the drop-
down list. The Completion depth field is automatically populated with the depth entered
on the Completions tab in the Well editor for the well.
• You can select Completion for an Open hole section of the wellbore only if the open
hole section has tubing.

b. Under Wellbore, enter the Wellbore fluid type, and then edit the default Wellbore fluid
density value if necessary.
The cross section diagram displays the fluid color.

Parameter Description
Wellbore Fluid present in the wellbore
fluid type Based on the selected fluid type, the software automatically updates the
Wellbore fluid density and the fluid color in the cross section diagram.
Wellbore Fluid density automatically populated from the selected Wellbore fluid type
fluid density This value is editable in the following range: 0.083452 - 417.27.
• A typical value is 8.35 ppg for fresh water.
• Brine and mud are heavier, while air is much lighter (2.0 ppg or less).
• The effect on charge performance associated with a change in the
wellbore fluid density is usually small relative to other wellbore and
formation properties. In most cases, the default liquid or gas density
should be adequate.
c. Optional: Under Tubulars, in the table, select the Position option for each casing, liner, and
tubing. If you selected the Positioned or NotPositioned option, enter the Stand-off or
collar OD value.
For each tubular, its position and annulus material color is displayed on the cross section diagram.
The table lists only the casings, liners, and tubings that meet the following conditions:
• The tubulars exist in the wellbore at the entered Completion depth.
• The tubulars have all required properties and annulus materials defined on the
Tubulars tab in the Well editor.
Open hole sections that have tubing are not listed in the Tubulars table. Instead, the table lists
only the tubing inside the open hole section.

Run simulations
344
PIPESIM User Guide

Property Description
Borehole Drilled hole diameter of the outermost casing or open hole in the wellbore
diameter This value is automatically populated from the Borehole diameter field in the
Tubulars tab.

Note: Open hole wellbores are listed in the Wellbore tab only if the open hole
has tubing.

Name Name of the casing, liner, or tubing object


ID Inner diameter of the casing, liner, or tubing object
Wall Thickness of the casing, liner, or tubing wall
thickness If the wall thickness is entered, the outside diameter is calculated based on the
inner diameter (ID) and the wall thickness.
Density Material density for the casing, liner, or tubing in mass per unit of volume
Grade Strength rating for the casing, liner, or tubing object
Position Placement of the casing, liner, or tubing in the wellbore
Position options:
• Positioned – Places the tubular the distance between the inner tubular
and the tubular that envelops it. When you enter a value in this field, the
Stand-off or collar OD field becomes active.
• Centralized – Places the tubular in the center of the tubular that
encloses it
When you use this position, casing collars play no part in determining
the position of the tubular string relative to the containing tubular string.
• FlushJoint – Assumes that the inner tubular is at maximum eccentricity
within the containing pipe, the limit being determined by the contact
made by the casing outer diameter with the inner diameter of the
enveloping pipe. There is no casing collar to prevent contact between
the surfaces of the two pipes.
• NotPositioned – Assumes that the inner tubular is at maximum
eccentricity within the containing pipe, the limit being determined by the
contact made by the casing collar outer diameter with the inner diameter
of the enveloping pipe. In the absence of casing centralizers, this
position is most likely to occur in practice. When you enter a value in
this field, the Stand-off or collar OD field becomes active.
Stand-off or Distance between the inner tubular OD and the surrounding tubular ID
collar OD
Annulus Material between successive casings, liners, or tubings or between the outermost
material casing, liner, tubing and the borehole

Run simulations
345
PIPESIM User Guide

Property Description
Annulus Mass per unit volume of the annulus material
density
5. Click the Rock data tab, and then enter the required data.
a. Enter Reservoir Data properties.

Property Description
Primary fluid type Predominate formation/flowing fluid options:
• Oil – 1, 2, or 3 phase oil, water, and/or gas
• Water – 1 phase water (brine) without gas
• Gas – 1 phase dry gas
Pore pressure Average pore pressure at the depth of completion
b. Enter Rock Data properties.

Property Description
Rock type Formation rock type options:
• Sandstone (p.359)
• Limestone (p.359)
• Dolomite (p.359)
• Shale
• Coal
The selected rock type affects the default porosity, and the initial calculation of
formation bulk density and compressive rock strength.
Bulk density Formation bulk density
Porosity Porosity value used in the calculation of bulk density and rock compressive
strength
Rock strength Average unconfined compressive strength
Vertical stress Total vertical stress at the depth of completion
c. Enter Damaged Zone properties.

Property Description
Diameter Radial zone around the wellbore that is damaged, usually by drilling fluids
Perforation productivity is usually best achieved by selecting a charge capable of
penetrating past the wellbore damage zone under downhole conditions.
The diameter is measured from the outer wellbore casing, not from the center of the
wellbore.
6. Click the Gun systems tab, and then add gun systems by performing the following steps.

Run simulations
346
PIPESIM User Guide

a. In the table, click New (+).


The gun table includes a default gun system. When you click New (+), another default gun
system is added. The new gun is automatically selected in the table.
The cross section diagram displays the gun location, extent, and charge locations of the
selected gun.
b. Edit the gun system by selecting the Gun position and Stand-off value, or by clicking the
Use catalog ellipsis button to select a gun system from the catalog.

Parameter Description
Gun type Description of the carrier
Charge type Type of charge used in the selected gun
Gun position Position of the gun in the cross section diagram
Gun position options:
• Centered – the gun is centralized in the inner tubular string
• Eccentered – this gun position is the opposite of the Positioned case.
This is the default position for most gun systems. For deviated and
horizontal wellbores, the software places the gun on the low side of the
smallest (inner most) tubular string.
You can specify the gun-to-casing clearance between the eccentered
gun and the inner casing.
• Positioned – the gun is positioned against the side of the tubular (e.g.,
by magnets). The software places the gun against the side of the
smallest (inner most) casing.
You can specify the gun-to-casing clearance between the positioned
gun and the inner casing.
Stand-off Positions the gun the entered distance from the tubing
This option is available only for Positioned or Eccentered guns.
Use catalog Opens the Gun catalog dialog box for adding a gun from the database
button

Note:
• You can add multiple gun systems.
• You can use the right-click Delete option to delete a gun system from the table, including
the default gun system. However, the table must have at least one gun system.

7. In the gun systems table, select a gun system to highlight it, and then edit the gun data as
needed.
a. Enter Carrier data properties.

Run simulations
347
PIPESIM User Guide

Parameter Description
Gun system Gun carrier and charge
Hardware type Gun system model
Open perforations Perforations open to flow
Shot density Number of shots per unit length
Rotation-offset Degree of rotation applied to all guns in the front end
The gun phasing can be rotated in 1° increments clockwise with 0° defined
as the high side of the wellbore.
Phasing Angle between the perforations
The angle decides the number of penetration channels and EH diameters in
the simulation.
b. View and enter Charge data properties.

Parameter Description
Charge weight Mass of a single perforating charge in grams (uneditable)
Penetration model Material where the gun test was performed
Penetration model options:
• Rock
• Concrete
c. Enter API test data properties.

Parameter Description
API test data American Petroleum Institute identification string
19B->RP43 Converts API 19B Section 1 test results to equivalent API RP43 results.
You can input a factor that will be added to API 19B test results for the
penetration estimations.
This option is only available for concrete penetration models.
API penetration Depth of penetration results into concrete based on the referenced API test
edition
API entrance hole Entrance hole results into concrete based on the referenced API test edition
8. Click Run.
To monitor simulation progress, check the message center or progress monitor.
9. Optional: After the simulation completes, click the Engine console tab and view the direct
output of the perforation calculations.
10.Click the Results tab, and then review the perforation design report.
You can use the toolbar buttons to perform the following actions as needed:
• Scroll a multi-page report

Run simulations
348
PIPESIM User Guide

• Modify the page setup


• Toggle the print preview mode
• Print the report to the selected printer
• Export the report in the following formats:
• Acrobat® (PDF) file
• PowerPoint® Presentation (PPTX)
• Web Archive (MHTML)
• Word Document (DOCX)
• XPS Document (XPS)
Perforation design reports are also available in the Results manager for each well and study
that you used to run a perforation design simulation.
11.Optional: Depending on your perforation design simulation, use one of the following steps to
update the well model with completion information from the perforation design results, including
gun data.

Note: All gun data entered on the tab Skin tab in the Well editor Completions tab are for the
first gun listed in the Gun systems table. If you want to update the well model with gun information
for a gun listed below the first gun, you must delete all guns preceding it in the table so that the gun
you want to use is in the first position, and then re-run the simulation.

• To install a new completion in a vertical or horizontal well model, on the Results tab, click
Install completion.
• To update an existing Darcy IPR completion in a vertical well model, click Update
completion.
• To update an existing non-Darcy IPR completion in a vertical well model and convert it to a
Darcy completion, click Update completion, and then click Yes on the warning message.
• To update an existing Joshi/Babu distributed IPR completion in a horizontal well model, click
Update completion.
• To update an existing non-Joshi/Babu distributed IPR completion in a horizontal well model
and convert it to a Joshi/Babu completion, click Update completion, and then click Yes on
the warning message.

Related links:
Select a gun system (p.350)
Perforation design (p.355)
Job info (p.355)
Wellbore (p.356)
Rock data (p.358)
Gun systems (p.363)

Run simulations
349
PIPESIM User Guide

Perforation design results report (p.365)


Add casing and tubing to a detailed wellbore schematic (p.54)
Completion updates to well models (p.350)

4.10.1 Select a gun system


When you add a gun system to a perforation design task, the default gun system is added. You
can replace this default gun by selecting a gun system from the gun catalog.
1. On the Perforation design dialog box, in the Gun systems tab, in the gun table, select the
gun that you want to replace.
2. In the rightmost column in the table, click the Use gun catalog ellipsis button.
The Gun catalog opens and is automatically filtered to include only guns that fit inside the
tubing of the well you selected for the perforation design task.
3. Select the gun, and then click OK.
On the Perforation design dialog box, in the Gun systems tab, the new gun is selected in the
gun table. The gun system properties are displayed under the Carrier Data, Charge Data, and
API Test Data groups.

Related links:
Gun system properties (p.48)
Gun systems (p.363)

4.10.2 Completion updates to well models


After you run a perforation design simulation, you can update the well model used in the simulation
with the completion data in the perforation design results.

Installing a new completion in a vertical well model


When you install a new completion in a vertical well model, the software updates the following
information:
• In the Well editor, in the Completions tab, the completion is added to the table.
• The new completion is displayed on the wellbore diagram.
• In the Completions tab, the following values are entered.

Completions tab Option Value or option


location
Completions table IPR model Darcy
Completions table Middle MD Completion depth value entered in the Perforation
design dialog box Wellbore tab
Reservoir tab Reservoir Pore pressure value entered in the Perforation
pressure design dialog box Rock data tab

Run simulations
350
PIPESIM User Guide

Completions tab Option Value or option


location
Skin tab Completion Perforated
method
Skin tab Mechanical skin Calculate
Skin tab Skin method • McLeod – Selected for asymmetric phase angles
• Karakas/Tarig – Selected for symmetric phase
angles
Skin tab Perforation Shot density value for the first gun listed in the table in
density the Perforation design dialog box Gun systems tab
Skin tab Phase angle Phasing angle for the first gun listed in the table in the
Perforation design dialog box Gun systems tab
• For symmetric phase angles: Karakas/Tarig is
selected
• For asymmetric phase angles: McLeod is selected
Skin tab Length Total pen. (average) value for case 1 (gun 1) in the
Perforating systems table in the Perforation Design
Results report
Skin tab Perforation EH Dia. (average) for case 1 (gun 1) in the Perforating
Diameter systems table in the Perforation Design Results report

Note: When the well model contains multiple casings at


the perforation depth, the EH Dia. average of the
outermost casing is chosen.

Skin tab Damaged Zone Damaged Zone Diameter value entered in the
Diameter Perforation design dialog box Rock data tab

Installing a new completion in a horizontal well model


When you install a new completion in a horizontal well model, the software updates the following
information:
• In the Well editor, in the Completions tab, the completion is added to the table.
• The new completion is displayed on the wellbore diagram.
• In the Completions tab, the following values are entered.

Completions tab Option Value or option


location
Completions table IPR model Joshi (Steady State) or Babu and Odeh (Pseudo-
Steady State)

Run simulations
351
PIPESIM User Guide

Completions tab Option Value or option


location
Completions table Top MD Completion depth value entered in the Perforation
design dialog box Wellbore tab

Note: You must manually enter the Bottom MD value in


the Completions table.

Reservoir tab Reservoir Pore pressure value entered in the Perforation


pressure design dialog box Rock data tab
Skin tab Completion Perforated
method
Skin tab Mechanical skin Calculate
Skin tab Perforation Shot density value for the first gun listed in the table in
density the Perforation design dialog box Gun systems tab
Skin tab Length Total pen. (average) value for case 1 (gun 1) in the
Perforating systems table in the Perforation Design
Results report
Skin tab Perforation EH Dia. (average) for case 1 (gun 1) in the Perforating
Diameter systems table in the Perforation Design Results report
Note: When the well model contains multiple casings at
the perforation depth, the EH Dia. average of the
outermost casing is chosen.
Skin tab Damaged Zone Damaged Zone Diameter value entered in the
Diameter Perforation design dialog box Rock data tab

Updating an existing Darcy IPR completion in a vertical well model


When you update an existing Darcy IPR completion in the well, the software updates the following
values in the Well editor Completions tab:

Completions tab Option Value or option


location
Skin tab Skin method • McLeod – Selected for asymmetric phase angles
• Karakas/Tarig – Selected for symmetric phase angles
Skin tab Perforation Shot density value for the first gun listed in the table in the
density Perforation design dialog box Gun systems tab
Skin tab Phase angle Phasing angle for the first gun listed in the table in the
Perforation design dialog box Gun systems tab
• For symmetric phase angles: Karakas/Tarig is selected
• For asymmetric phase angles: McLeod is selected

Run simulations
352
PIPESIM User Guide

Completions tab Option Value or option


location
Skin tab Length Total pen. (average) value for case 1 (gun 1) in the
Perforating systems table in the Perforation Design
Results report
Skin tab Perforation EH Dia. (average) for case 1 (gun 1) in the Perforating
Diameter systems table in the Perforation Design Results report
Note: When the well model contains multiple casings at the
perforation depth, the EH Dia. average of the outermost
casing is chosen.

Updating an existing non-Darcy IPR completion in a vertical well model and


converting it to a Darcy completion
When you update an existing non-Darcy IPR completion in the well and convert it to a Darcy
completion, the software updates the following values in the Well editor Completions tab:

Completions tab Option Value or option


location
Completions IPR model Darcy
table
Skin tab Skin method • McLeod – Selected for asymmetric phase angles
• Karakas/Tarig – Selected for symmetric phase angles
Skin tab Perforation Shot density value for the first gun listed in the table in the
density Perforation design dialog box Gun systems tab
Skin tab Phase angle Phasing angle for the first gun listed in the table in the
Perforation design dialog box Gun systems tab
• For symmetric phase angles: Karakas/Tarig is selected
• For asymmetric phase angles: McLeod is selected
Skin tab Length Total pen. (average) value for case 1 (gun 1) in the
Perforating systems table in the Perforation Design
Results report
Skin tab Perforation EH Dia. (average) for case 1 (gun 1) in the Perforating
Diameter systems table in the Perforation Design Results report
Note: When the well model contains multiple casings at the
perforation depth, the EH Dia. average of the outermost
casing is chosen.
Skin tab Damaged Zone Damaged Zone Diameter value entered in the
Diameter Perforation design dialog box Rock data tab

Run simulations
353
PIPESIM User Guide

Updating an existing Joshi/Babu distributed IPR completion in a horizontal


well model
When you update an existing Joshi/Babu distributed IPR completion in the well, the software
updates the following values in the Well editor Completions tab:

Completions tab Option Value or option


location
Skin tab Skin method • McLeod – Selected for asymmetric phase angles
• Karakas/Tarig – Selected for symmetric phase angles
Skin tab Perforation Shot density value for the first gun listed in the table in the
density Perforation design dialog box Gun systems tab
Skin tab Phase angle Phasing angle for the first gun listed in the table in the
Perforation design dialog box Gun systems tab
• For symmetric phase angles: Karakas/Tarig is selected
• For asymmetric phase angles: McLeod is selected
Skin tab Length Total pen. (average) value for case 1 (gun 1) in the
Perforating systems table in the Perforation Design
Results report
Skin tab Perforation EH Dia. (average) for case 1 (gun 1) in the Perforating
Diameter systems table in the Perforation Design Results report
Note: When the well model contains multiple casings at the
perforation depth, the EH Dia. average of the outermost
casing is chosen.

Updating an existing non-Joshi/Babu distributed IPR completion in a


horizontal well model and converting it to a Joshi/Babu completion
When you update an existing non-Joshi/Babu distributed IPR completion in the well and convert it
to a Joshi/Babu completion, the software updates the following values in the Well editor
Completions tab:

Completions tab Option Value or option


location
Completions IPR model Joshi (Steady State) or Babu and Odeh (Pseudo-Steady
table State)
Skin tab Skin method • McLeod – Selected for asymmetric phase angles
• Karakas/Tarig – Selected for symmetric phase angles
Skin tab Perforation Shot density value for the first gun listed in the table in the
density Perforation design dialog box Gun systems tab
Skin tab Phase angle Phasing angle for the first gun listed in the table in the
Perforation design dialog box Gun systems tab

Run simulations
354
PIPESIM User Guide

Completions tab Option Value or option


location
• For symmetric phase angles: Karakas/Tarig is selected
• For asymmetric phase angles: McLeod is selected
Skin tab Length Total pen. (average) value for case 1 (gun 1) in the
Perforating systems table in the Perforation Design
Results report
Skin tab Perforation EH Dia. (average) for case 1 (gun 1) in the Perforating
Diameter systems table in the Perforation Design Results report
Note: When the well model contains multiple casings at the
perforation depth, the EH Dia. average of the outermost
casing is chosen.
Skin tab Damaged Zone Damaged Zone Diameter value entered in the
Diameter Perforation design dialog box Rock data tab

Related links:
Add completions (p.86)
Run a perforation design (p.39)

4.10.3 Perforation design


The perforation design task is used to model perforating performance in reservoir rocks.
Perforation design allows you to optimize the well completion efficiency by comparing a variety of
gun/charge configurations under different reservoir conditions.
Casing, cement, and formation information is combined with wellbore geometry and completion
fluid characteristics. This information is matched with the gun system’s performance characteristics
and positioning data to predict perforating performance under the specified conditions. You can
match well parameters with available perforating gun systems to create a customized well
development plan.
Formation penetration characteristics for charges are estimated by a novel model that was
developed with rigorous laboratory tests for each individual charge in various rocks, and under
downhole conditions rather than resulting from surface concrete results. To aid in the selection
process, perforation design can model several combinations of formation, well, and perforating gun
and charges.

Related links:
Run a perforation design (p.39)

4.10.4 Job info


You use the Job info tab on the Perforation design dialog box to enter well location
information and report generation data for the perforation design task. After you run the perforation

Run simulations
355
PIPESIM User Guide

design task, you can create a report that lists the information entered in the Location Info and
Report Data fields.

Parameter Description
Well Name of the well selected for the perforation design task
The value is editable.
Field Name of the hydrocarbon field in the subsurface
Country Government-controlled area of land where the field and well are located
You can leave this field blank, or select a country from the list.
Generated by User name associated with the logged on Windows® user
The value is editable.
Generated for Name of the company or person for whom the report is created
Use current date/time Prints the current date and time on the report when selected
Clear the checkbox to select a specific date and time.

Related links:
Run a perforation design (p.39)

4.10.5 Wellbore
The Wellbore tab displays properties for the well that you selected for the perforation design task.
When you modify the editable Wellbore and Tubulars properties, the cross section diagram
displays your changes.

Completion

Property Description
Completion Point where the riser is exposed to the wellbore
Completion depth Depth for a single point or distributed completion

Wellbore

Property Description
Wellbore Fluid present in the wellbore
fluid type Based on the selected fluid type, the software automatically updates the Wellbore
fluid density and the fluid color in the cross section diagram.
Wellbore Fluid density automatically populated from the selected Wellbore fluid type
fluid density This value is editable in the following range: 0.083452 - 417.27.

• A typical value is 8.35 ppg for fresh water.


• Brine and mud are heavier, while air is much lighter (2.0 ppg or less).

Run simulations
356
PIPESIM User Guide

Property Description
• The effect on charge performance associated with a change in the wellbore
fluid density is usually small relative to other wellbore and formation properties.
In most cases, the default liquid or gas density should be adequate.

Tubulars

Property Description
Borehole Drilled hole diameter of the outermost casing in the wellbore
diameter This value is automatically populated from the Borehole diameter field in the
Tubulars tab.
Name Name of the casing, liner, or tubing object
ID Inner diameter of the casing, liner, or tubing object
Wall Thickness of the casing, liner, or tubing wall
thickness If the wall thickness is entered, the outside diameter is calculated based on the
inner diameter (ID) and the wall thickness.
Density Material density for the casing, liner, or tubing in mass per unit of volume
Grade Strength rating for the casing, liner, or tubing object
Position Placement of the casing, liner, or tubing in the wellbore
Position options:
• Positioned – Places the tubular the distance between the inner tubular and
the tubular that envelops it. When you enter a value in this field, the Stand-off
or collar OD field becomes active.
• Centralized – Places the tubular in the center of the tubular that encloses it
When you use this position, casing collars play no part in determining the
position of the tubular string relative to the containing tubular string.
• FlushJoint – Assumes that the inner tubular is at maximum eccentricity within
the containing pipe, the limit being determined by the contact made by the
casing outer diameter with the inner diameter of the enveloping pipe. There is
no casing collar to prevent contact between the surfaces of the two pipes.
• NotPositioned – Assumes that the inner tubular is at maximum eccentricity
within the containing pipe, the limit being determined by the contact made by
the casing collar outer diameter with the inner diameter of the enveloping
pipe. In the absence of casing centralizers, this position is most likely to occur
in practice. When you enter a value in this field, the Stand-off or collar OD
field becomes active.
Stand-off or Distance between the inner tubular OD and the surrounding tubular ID
collar OD
Annulus Material between successive casings, liners, or tubings or between the
material outermost casing, liner, tubing and the borehole

Run simulations
357
PIPESIM User Guide

Property Description
Annulus Mass per unit volume of the annulus material
density

Related links:
Run a perforation design (p.39)

4.10.6 Rock data


You use the Rock data tab on the Perforation design dialog box to define the properties for
rock data parameters. These properties affect both the charge performance and well productivity.

Reservoir data

Property Description
Primary fluid type Predominate formation/flowing fluid options:
• Oil – 1, 2, or 3 phase oil, water, and/or gas
• Water – 1 phase water (brine) without gas
• Gas – 1 phase dry gas
Pore pressure Average pore pressure at the depth of completion

Rock data
Values in Rock Data fields that are displayed in blue font are default values. You can edit these
values.

Property Description
Rock type Formation rock type options:
• Sandstone
• Limestone
• Dolomite
• Shale
• Coal
The selected rock type affects the default porosity, and the initial calculation of
formation bulk density and compressive rock strength.
Bulk density Formation bulk density
Porosity Porosity value used in the calculation of bulk density and rock compressive
strength
Rock strength Average unconfined compressive strength
Vertical stress Total vertical stress at the depth of completion

Run simulations
358
PIPESIM User Guide

Damaged zone

Property Description
Diameter Radial zone around the wellbore that is damaged, usually by drilling fluids
Perforation productivity is usually best achieved by selecting a charge capable of
penetrating past the wellbore damage zone under downhole conditions.
The diameter is measured from the outer wellbore casing, not from the center of the
wellbore.

Related links:
Sandstone table (p.359)
Limestone table (p.359)
Dolomite table (p.359)

Sandstone table
The sandstone table displays the mechanical properties for typical rocks used in laboratory
experiments. You can use this information as reference for entering sandstone properties on the
Rock data tab when you are running a perforation design task.

Rock type Origin Description Bulk Grain Porosity Gas Unconfined Unconfined
density density % permeability strength Young's
g/cc g/cc MD psi Modulus
psi
Crab Tennessee Light gray, 2.42 – 2.63 – 6.6 – 8.7 0.11 – 0.14 20,000 – 3.24 x 106 –
Orchard very fine 2.47 2.65 30,000 6.14 x 106
grained,
compact
quartzose
sandstone
with tightly
interlocking
texture
Colorado 2.43 8.6 0.93 27,000
Tan
Nugget Northern Jurassic, 2.37 – 2.63 – 9.4 – 0.46 – 1.04 16,000 – 4.66 x 106 –
Utah fine- 2.38 2.65 10.6 18,500 5.9 x 106
grained,
nonporous,
quartzose
with silica
cement

Run simulations
359
PIPESIM User Guide

Rock type Origin Description Bulk Grain Porosity Gas Unconfined Unconfined
density density % permeability strength Young's
g/cc g/cc MD psi Modulus
psi
Colton Central Green River 2.29 – 2.65 – 6.6 – 0.1 – 2.0 7,600 – 2.8 x 106 –
Utah Eocene, 2.38 2.70 14.8 12,700
Graywacke, 6.0 x 106
typical of
deep
reservoir
rocks, gray
colored,
bedded
Torrey Central Very fine- 2.20 – 2.68 – 13 – 16 0.4 – 3.7 5,040 – 1.1 x 106 –
Buff Utah grained, 2.39 2.72 11,000
lithic 2.6 x 106
arkose,
sub-angular
mono-
crystalline
quartz with
dolomite
Torrey Central Red, very 13 – 16 0.2 – 0.9 10,400
Red Utah fine-grained
and thinly
bedded
sandstone
Berea Ohio Light gray, 2.10 – 2.64 – 19 – 21 20 – 315 5,870 – 1.58 x 106 –
fine- 2.23 2.66 9,310 1.9 x 106
grained,
massive,
porous
sandstone,
cemented
to partially
interlocking
texture of
sub-angular
to round
quartz
grains
Toupe 20.2 100 8,300
Carbon Utah 2.25 – 2.65 – 12.2 – 42 7,200 –
Tan 2.38 2.70 17.7 8,300

Run simulations
360
PIPESIM User Guide

Rock type Origin Description Bulk Grain Porosity Gas Unconfined Unconfined
density density % permeability strength Young's
g/cc g/cc MD psi Modulus
psi
Berea Buff Ohio 2.09 – 2.64 – 21.6 36 – 350 3,800 1.9 x 106
2.14 2.66
Castlegate Western Weak 1.93 – 2.63 – 27.0 – 400 – 1400 1,060 – 0.25 x 106 –
Colorado porous, 2.22 2.66 29.2 2,100 0.30 x 106
friable
sandstone
Saltwash Central Gray, 2.06 – 20.7 – 440 – 800 2,000 0.22 x 106 –
North Utah porous, 2.10 22.3 0.79 x 106
friable,
weak
sandstone
Saltwash Southern Yellow, very 1.84 31.4 1500 200 – 400 0.01 x 106 –
South Utah porous, 0.6 x 106
very friable,
very weak
sandstone

Related links:
Rock data (p.358)

Limestone table
The limestone table displays the mechanical properties for typical rocks used in laboratory
experiments. You can use this information as reference for entering limestone properties on the
Rock data tab when you are running a perforation design task.

Rock Origin Description Bulk Grain Porosity Gas Unconfined Unconfined


type density density % permeability strength Young's
g/cc g/cc MD psi Modulus
psi
Carthage Missouri Light uniform 2.65 2.67 – 1.1 – 1.9 0.002 16,000 – 4.6 x 106 –
Marble or gray, fine- 2.70 20,000
Burlington grained 6.8 x 106
Limestone compact
limestone
containing
numerous
fossil shell
fragments,
cemented,

Run simulations
361
PIPESIM User Guide

Rock Origin Description Bulk Grain Porosity Gas Unconfined Unconfined


type density density % permeability strength Young's
g/cc g/cc MD psi Modulus
psi
crystalline
texture
Lueders Texas Permian fine- 2.19 2.70 18.9 0.8 7,000 2.4 x 106
Limestone grained,
grayish tan,
microscopically
homogeneous
and isotropic
limestone
Indiana or Indiana Very light 2.21 2.70 19.0 0.5 – 6.0 6,000 4 x 106
Bedford grayish buff,
Limestone slightly porous,
oolithic,
bioclastic
limestone
Austin Texas White and 1.96 – 2.7 – 23.0 – 3.0 2,000 – 1.75 x 106
Chalk porous, re- 2.66 2.9 29.0 3,600
crystalized,
fossiliferous,
interbedded
chalks and
marls

Related links:
Rock data (p.358)

Dolomite table
The dolomite table displays the mechanical properties for typical rocks used in laboratory
experiments. You can use this information as reference for entering dolomite properties on the
Rock data tab when you are running a perforation design task.

Rock Origin Description Bulk Grain Porosity Gas Unconfined Unconfined


type density density % permeability strength Young's
g/cc g/cc MD psi Modulus
psi
Bonne Missouri Yellowish 2.66 2.90 8.2 – 8.9 5 x 10-5 24,700 – 8.0 x 106 –
Terre buff, extra 25,500
Dolomite fine- 8.3 x 106
grained,

Run simulations
362
PIPESIM User Guide

Rock Origin Description Bulk Grain Porosity Gas Unconfined Unconfined


type density density % permeability strength Young's
g/cc g/cc MD psi Modulus
psi
compact
dolomite
Narrow to
very fine
calcite-filled
fractures,
vugular,
fractured

Related links:
Rock data (p.358)

4.10.7 Gun systems


You use the Gun systems tab to add, define, or edit the properties for a gun system added to the
wellbore casing or tubing during the perforation design task.

Gun system table

Parameter Description
Gun type Description of the carrier
Charge type Type of charge used in the selected gun
Gun position Position of the gun in the cross section diagram
Gun position options:
• Centered – the gun is centralized in the inner casing or tubular string
• Eccentered – this gun position is the opposite of the Positioned case. This
is the default position for most gun systems. For deviated and horizontal
wellbores, the software places the gun on the low side of the smallest (inner
most) tubular string.
You can specify the gun-to-casing clearance between the eccentered gun
and the inner casing.
• Positioned – the gun is positioned against the side of the tubular (e.g., by
magnets). The software places the gun against the side of the smallest (inner
most) casing.
You can specify the gun-to-casing clearance between the positioned gun and
the inner casing.
Stand-off Positions the gun the entered distance from the tubing

Run simulations
363
PIPESIM User Guide

Parameter Description
This option is available only for Positioned or Eccentered guns.
Use catalog Opens the Gun catalog dialog box for adding a gun from the database
button

Carrier data options

Parameter Description
Gun system Gun carrier and charge
Hardware type Gun system model
Open perforations Perforations open to flow
Shot density Number of shots per unit length
Rotation-offset Degree of rotation applied to all guns in the front end
The gun phasing can be rotated in 1° increments clockwise with 0° defined
as the high side of the wellbore.
Phasing Angle between the perforations
The angle decides the number of penetration channels and EH diameters in
the simulation.

Charge data options

Parameter Description
Charge weight Mass of a single perforating charge in grams (uneditable)
Penetration model Material where the gun test was performed
Penetration model options:
• Rock
• Concrete

API test data options

Parameter Description
API test data American Petroleum Institute identification string
19B->RP43 Converts API 19B Section 1 test results to equivalent API RP43 results.
You can input a factor that will be added to API 19B test results for the
penetration estimations.
This option is only available for concrete penetration models.
API penetration Depth of penetration results into concrete based on the referenced API test
edition
API entrance hole Entrance hole results into concrete based on the referenced API test edition

Run simulations
364
PIPESIM User Guide

Related links:
Run a perforation design (p.39)
Select a gun system (p.350)

4.10.8 Perforation design results report


After you run a perforation design task, the Results tab displays a Perforation Design Results
report. This report lists the input data used to run the simulation, the gun details, and the
perforation results. The report footer includes the name and location of the model file used for the
perforation design task, and the PIPESIM version number.

General data
Under General Data, the report lists the information entered in the Perforation design tab in
the Job info tab.

Note: Some fields may be empty if the user did not enter information in them before running the
perforation design task.

Field Description
Well name Name of the well selected for the perforation design task
Field name Name of the hydrocarbon field in the subsurface
Country Government-controlled area of land where the field and well are located
Report Date Date and time entered for the report
Generated by User name associated with the logged on Windows® user
Generated for Name of the company or person for whom the report was created

Completion
Under Completion, the report lists the completion information for the well used in the perforation
design task.

Field Description
Completion Field that indicates which completion was used for the perforation design task
• When Completion is listed in the field, the user used the completion depth
defined for the selected well model (the value entered on the
Completions tab in the Well editor).
• When this field is empty, the user manually entered a depth in the
Completion depth field on the Wellbore tab.
Completion Completion depth for a single point or distributed completion
depth
Borehole Diameter of the borehole (drilled hole) outside of the casing and cement
diameter

Run simulations
365
PIPESIM User Guide

Field Description
This value is populated from the Tubulars tab Borehole diameter field for
the selected casing in a detailed wellbore.
Wellbore fluid Fluid present in the wellbore
type This value is populated from the Wellbore tab.
Wellbore fluid Fluid density automatically populated from the selected Wellbore fluid type
density in the Wellbore tab

Tubulars
The Tubulars table lists information about the casings, liners, and tubings for the well used in the
perforation design task. These casings, liners, and tubings are listed under Tubulars on the
Wellbore tab.

Field Description
Name Type of tubular included in the perforation design simulation (Casing, Tubing, or
liner)
Outer Size of the outside diameter of the casing, liner, or tubing
Diameter
Weight Weight per foot of the casing, liner, or tubing
Grade Strength rating for the casing, liner, or tubing material
Inner Inside diameter of the casing, liner, or tubing
Diameter
Position Placement of the casing, liner, or tubing in the wellbore
Position options:
• Positioned – The tubular is placed the user-entered distance between the
inner tubular and the tubular that envelops it. The entered distance is listed in
the Stand-off or collar OD field.
• Centralized – The tubular is placed in the center of the tubular that encloses
it.
• FlushJoint – This option assumes that the inner tubular is at maximum
eccentricity within the containing tubular, the limit being determined by the
contact made by the casing outer diameter with the inner diameter of the
enveloping tubular. There is no casing collar to prevent contact between the
surfaces of the two tubulars.
• NotPositioned – This option assumes that the inner tubular is at maximum
eccentricity within the containing tubular, the limit being determined by the
contact made by the casing collar outer diameter with the inner diameter of
the enveloping tubular. In the absence of casing centralizers, this position is
most likely to occur in practice. The Stand-off or collar OD field lists the
entered distance.

Run simulations
366
PIPESIM User Guide

Field Description
Stand-off or Distance between the inner tubular OD and the surrounding tubular ID
collar OD
Annulus Material between successive casings, liners, or tubings or between the
material outermost casing, liner, tubing and the borehole
Type Type of annulus material in the listed casing, liner, or tubing
Density Material density for the listed casing, liner, or tubing in mass per unit of volume

Rock data
Under Rock data, the report lists the rock data information that affected the charge performance
and well productivity in the perforation design simulation results.

Field Description
Rock type Rock type that affects the default porosity, and the initial calculation of
formation bulk density and compressive rock strength
Porosity Porosity value used in the calculation of bulk density and rock
compressive strength
Bulk density Formation bulk density
Primary fluid type Predominate formation/flowing fluid
Rock strength (UCS) Average unconfined compressive strength
Vertical stress Total vertical stress at the depth of completion
Pore pressure Average pore pressure at the depth of completion
Damaged zone Radial zone around the wellbore that is damaged, usually by drilling
diameter fluids

Perforating system
The Perforating System table lists perforation information about each gun selected in the
Perforation design tab in the Gun systems tab.

Field Description
Cases Gun used in the perforation design simulation
Guns are listed in the order they appear in the gun system table in the Gun
systems tab.
Phasing angle Angle between the perforations
The angle decides the number of penetration channels and entrance hole
(EH) diameters in the simulation.
Shot density Number of shots per unit length
Gun Position Position of the gun inside the inner casing or tubing
Gun position options:

Run simulations
367
PIPESIM User Guide

Field Description
• Centered – the gun is centralized in the inner casing or tubular string
• Eccentered – this gun position is the opposite of the Positioned case.
This is the default position for most gun systems. For deviated and
horizontal wellbores, the software places the gun on the low side of the
smallest (inner most) tubular string.
• Positioned – the gun is positioned against the side of the tubular (e.g., by
magnets). The software places the gun against the side of the smallest
(inner most) casing.
Stand-Off Positions the gun the entered distance from the tubing
This option is available only for Positioned or Eccentered guns.
Total pen. Average of the total penetration length through all casings and tubings in the
(average) wellbore and into the formation across all phase angles
Formation pen. Average of the total penetration length into the formation across all phase
(average) angles
Formation Dia. Diameter of the penetration hole in the formation averaged across all phase
(average) angles
EH Dia. Casing entrance hole diameter of the phasing angle averaged across all
(average) phase angles
Area open to Total area open to flow created by the entrance hole
flow (AOF)

Gun systems
The Gun systems table lists information about each gun selected in the Perforation design
tab in the Gun systems tab.

Field Description
Cases Gun used in the perforation design simulation
Guns are listed in the order they appear in the gun system table in the Gun
systems tab.
Gun type Description of the gun carrier
Charge weight Weight of the explosive charge
Gun OD Size of the outer diameter of the gun
API penetration Depth of penetration results into concrete based on the referenced API test
edition
API entrance hole Entrance hole results into concrete based on the referenced API test edition
API test edition Version number for the tested gun
Penetration model Material where the gun test was performed
Penetration model options:

Run simulations
368
PIPESIM User Guide

Field Description
• Rock
• Concrete

Penetration table
The Penetration table lists penetration information for a gun system at each phase angle, and
displays the average values in the last row of the table. For each gun system used in the
perforation design simulation, a separate table is generated.

Parameter Description
Angle Angle at which the gun penetration occurs based on the phasing
angle
Clearance Difference in the diameter between the perforation gun system and
the tubular that houses it
Total penetration Total penetration length through all casings and tubings in the
wellbore and into the formation
Formation penetration Total penetration length into the formation
length
Formation pen. diameter Diameter of the penetration hole in the formation
Casing EH diameter Casing entrance hole diameter
Perf. tunnel area Area of the tunnel created by the perforation
Perf. tunnel volume Volume of the tunnel created by the perforation

Related links:
Run a perforation design (p.39)

4.11 Manage results


Result files may become quite large, and therefore are not included in the main .pips workspace
file. Instead, the result files are referenced by the workspace file. Whenever you run a simulation
task, PIPESIM* creates a results directory named modelname.pipr in the same root path as
your model file. Results are stored in a database file created inside this directory. If you use
multiple studies, multiple database files will be created inside this directory, and each is named to
correspond with the study name.
The .pips workspace file will manage the studies and task configurations so that the same
results may be generated as long as the underlying model data has not been changed. For
example, the Send feature (accessible from Workspace » Help) will attach a .pips file
(generally under 1 MB) to an email, but will not send model results. The recipient can regenerate
the results by rerunning the tasks.
PIPESIM 2013 introduced the study concept that allows you to archive the results of multiple
simulation runs without having to save separate versions of the model in separate directories. This

Run simulations
369
PIPESIM User Guide

approach makes it easier to manage models and associated results without creating multiple
models files with different settings and revisions.
When you run a simulation task , it produces a result record with the following context:
• Study
• Entity (source object or start node)
• Task
Study
A study is effectively a container for task configurations, references to the entities involved
in the task, and the results which are produced. All workspaces are initialized with a
default study named Study 1. You can rename the default study and create others. By
partitioning task references and results into studies, you can investigate multiple simulation
scenarios for cases where a sensitivity analysis is insufficient. Such cases may use
different fluid models, simulation methods, and inactive equipment.
• Users are always functioning within a study as one or more studies must exist within a
workspace.
• A single entity may produce results referenced by multiple studies.
• Each study may contain multiple tasks, but each task has exactly one task
configuration per entity.
• Many users will operate within the default study only.
You can access the current study on the Home tab in the Studies group. Any simulation
task run will be associated with this study. To add a new study, on the Home tab in the
Studies group, click Study » New Study (+). You can also change the active study by
clicking Study » studyname .
Entity
The entity is the model object or start node associated with the tasks and results. It may
include:
Networks
A network may include wells, sources, sinks, equipment, flowlines, and so forth.
Wells
Includes the wellbore model and any surface equipment defined leading up to the
defined wellstream outlet (defaulted at wellhead, but user configurable to potentially
include surface equipment).
Sources
A generic source is considered an entity. A generic source may have equipment
attached to it, though is not included as part of the source entity. Additionally, for
special cases, internal network junctions may be treated as sources to model internal
network branches, such as trunk lines. For the purposes of task context, each task run
on a source entity contains a reference to the terminal point of the branch extending
from the source.

Run simulations
370
PIPESIM User Guide

Task
Simulation tasks reference entities, contain configuration information (boundary conditions,
task options), and produce results when executed. These tasks include Network
Simulation, PT Profile, System Analysis, Nodal Analysis and VFP tables.
A study can have only one simulation task configuration (and result set) as rerunning a
simulation task will reset the task configuration and overwrite the result record.

Related links:
Run a P/T profile (p.264)
Run a nodal analysis (p.271)
Create a VFP table (p.286)
Run a network simulation (p.248)
Run a system analysis (p.280)
Launch the results viewer (p.371)

4.11.1 Launch the results viewer


The Results manager viewer allows you to browse all results generated from a workspace.
1. On the Home tab, in the Viewers and results group, click Results manager.
2. Perform one of the following actions:
• To display results in the Results tab, click a row. The results appear below the table.
• To display results in a separate window, double-click a row, or right-click a row and then
click Show results.

Note: You can open multiple result records for side-by-side comparison.

Property Description
Current selection Click this button to filter the results table to display only results associated
with the current selected entities.

Note: You automatically toggle the current selection when you right-click on
a model object and click Show results.

Current study Click this button to show results associated with the current (active) study.
unlabeled filter box Enter text into the filter box to find specific entries containing this text (for
example, Nodal).
Date Date and time the task was run.
Study Name of the study associated with the result record.
Task name Name of the task provided by the user.

Run simulations
371
PIPESIM User Guide

Property Description
Task type Type of the task run (for example, Network Simulation or Nodal Analysis).
Start node Name of the entity associated with the simulation task (for example, well or
source).
Status Status of the task (Completed, Running, Unconverged).
Description A description of the task (if provided).

Related links:
Run a P/T profile (p.264)
Run a nodal analysis (p.271)
Create a VFP table (p.286)
Run a network simulation (p.248)
Run a system analysis (p.280)
Run data matching (p.289)
Run gas lift tasks (p.309)
Run a perforation design (p.39)

4.12 Ill-conditioned simulations


The model and boundary conditions need to be critically examined to understand the reason the
simulation is ill-conditioned and whether the results are acceptable or not.

The message concerning "ill-conditioned" is a generalized explanation of why PIPESIM cannot


converge to provide the exact requested outlet pressure.
It "guesses" successive values for inlet pressure or flowrate, and adjusts this guess to converge on
the required outlet pressure. The problem with this scheme is that DP is ill-conditioned in the
direction of flow. For example, in models, the iterations stagnate because successive flowrate
guesses become extremely close to one another, but nevertheless exhibit extremely large changes
in outlet pressure. Eventually, the guesses are so close they become indistinguishable from each
other, when expressed as the maximum precision for a floating point number in the computer
(approximately 16 significant figures). When this happens (or is approached to the specified
tolerance), PIPESIM terminates the iterations. This is sensible because the value that you
requested for calculation, for example, flowrate, has indeed been calculated to greater than 10
significant figures.
Ill-conditioned cases are most often encountered where numerical discontinuities occur at some
point in the flow profile; such is seen with flow-pattern transitions and abrupt water-oil phase
inversions that result in discontinuous pressure gradient calculations between iterations.

Related links:
Run data matching (p.289)

Run simulations
372
PIPESIM User Guide

5
Manage model data
You can create, edit, or delete your model data (such as equipment items, templates, flowline and
riser connections, fluids, and zones) by using the catalogs and the data managers available from
the Home tab.
1. On the Home tab, in the Application options group, click Catalogs to manage equipment or
template from catalogs.
2. On the Home tab, in the Data group, click Flowline manager to manage flowline and riser
connections.
3. On the Home tab, in the Data group, click Fluid manager to manage fluids.
4. On the Home tab, in the Data group, click Zone manager to manage zones.

Related links:
Manage the catalogs (p.21)
Manage flowlines and risers (p.373)
Manage fluids (p.12)
Manage zones (p.375)

5.1 Manage flowlines and risers


The Flowline manager provides a table-view summary of all flowlines and risers in a network
diagram. Flowlines are used to model horizontal or near-horizontal flow while risers are used to
model vertical or near-vertical flow in offshore environments.
1. On the Home tab, in the Data group, click Flowline manager.
2. To edit flowline or riser properties, perform one of the following actions:
• Click a table cell, and then enter the new value. You can edit limited properties in the
Flowline manager.
• Double-click the row number of a flowline to edit the flowline in the Flowline editor (all
properties).

Manage model data


373
PIPESIM User Guide

• Double-click the row number of a riser to edit the riser in the Riser editor (all properties).

Related links:
Flowline - simple model properties (p.144)
Flowline - detailed model properties - general tab (p.148)
Flowline - detailed model properties - heat transfer tab (p.150)
Riser - simple model properties (p.174)
Riser - detailed model properties - general tab (p.177)
Riser - detailed model properties - heat transfer tab (p.179)
Add connections (p.193)

5.2 Manage fluids


Use the global Fluid manager to create or edit fluids. The Fluid manager provides a table-view
summary of all fluids entering the system at each inflow source. All fluids listed in the Fluid
manager are of the type selected on the Home tab in the Fluid mode group. You may switch back
and forth between fluid types, but you cannot mix fluid types for simulation purposes.

Fluids
On the Fluids tab in the Fluid Manager, you may perform the following actions:
1. Create a new fluid by clicking New (+) below the last row.
2. Delete a fluid by right-clicking on the row and clicking Delete.
3. Edit a limited set of fluid properties from directly within the table, including fluid name,
description, phase-ratio types and values.
4. Open the Fluid editor for more detailed editing of fluids by double-clicking the row
associated with the fluid.

Fluid mapping
The Fluid mapping tab allows you to associate the defined fluids with sources and completions in
the model. You can associate every source in the model with a single fluid, associate each source
with its own individual fluid, or any combination therein. For example, for fields where different
groups of wells or completion layers are associated with different fluid models, you can easily
manage how these are mapped.
• From the fluid mapping table, for any source listed in the table, click Fluid to associate a fluid to
a source.
• If you wish to override the phase ratio for a specific source, select the Override phase ratios
check box to make the phase ratio types and values editable.

Manage model data


374
PIPESIM User Guide

Gas ratio type


Select the phase ratio: Gas/Liquid Ratio (GLR), Gas/Oil Ratio (GOR), Liquid/Gas Ratio
(LGR), or Oil/Gas Ratio (OGR).
Gas ratio
Enter the value of the phase ratio (defined by the ratio type).
Water ratio type
Select the phase ratio: Watercut, Gas/Water Ratio (GWR), or Water/Gas Ratio (WGR).
Water ratio
Enter the value of the phase ratio (defined by the ratio type).

Note: Clearing this box will return the phase ratio to the value associated with the base fluid as
shown on the list on the Fluids tab.

• To display mappings only for the selected sources or fluids, click Current selection.
• To display mappings for wellstream outlets, click Wellstream outlet. You only need to define
fluids for wellstream outlets if you intend to run a network simulation task using surface
boundary conditions.

Tip: To quickly assign a single fluid to all sources in the model, click the fluid for the top row and
press F3.

Component/models settings (compositional fluid mode only)


You can select the PVT package, methods, and components that are used by all compositional
fluids on the Component/models settings tab.

Related links:
Create or edit fluid models (p.195)

5.3 Manage zones


Use the Zone manager to create or edit zones or to delete zones. Defining zones is optional;
however, it is useful for aggregating certain reservoir properties shared by individual completions
across a large number of wells. Pressure, temperature, and fluid models are currently associated
with zones.
After you create zones, you can reference the zones on the Completions tab in the Well
editor. When you are running network simulations to study the effects of changing reservoir
conditions (pressure and fluid properties), you can conveniently change these values for a small
number of zone objects rather than for a large number of individual completions.

Manage model data


375
PIPESIM User Guide

Note: Currently, no correction is made for pressure and temperature differences as a function of
data depth for individual wells.

1. On the Home tab, in the Data group, click Zone manager.


2. Perform one of the following actions:
• To edit an existing zone, go to step 3.
• To create a new zone, click New (+) and then go to step 3.
3. Enter a Name for the zone.
4. Select the appropriate Zone material (shale, sand, water, or unknown).
5. Enter the Pressure and Temperature, as measured from the zone midpoint (depth corrections
are not applied).
6. Select an existing Fluid.
7. Perform any of the following actions:
• To deactivate the zone, double-click the row number of the zone to open the Zone editor
and clear the Active check box.
• To edit the fluid selected for the zone, double-click the row number of the zone to open the
Zone editor and click Edit.
• To create a new fluid for the zone, double-click the row number of the zone to open the
Zone editor and click New.
The following example shows a shale zone that is 350 feet thick.

Related links:
Create or edit fluid models (p.195)
Associate zones with completions (p.125)
Run a network simulation (p.248)

Manage model data


376
PIPESIM User Guide

6
Work with the GIS map
You can use the Geographic Information System (GIS) Map in PIPESIM* to build and visualize
your wells and surface pipelines alongside cultural data from a wide variety of sources in
geographic context.
Additionally, you can quickly define accurate profiles for flowlines through digitization and
automatic population of elevation data at configurable intervals, resulting in more accurate
calculation of pressure losses in pipelines and better assessment of where liquid is collecting in
lines to help predict corrosion hot spots and identify pigging locations. This approach may avoid
errors associated with manual data entry and ensure that there are no elevation mismatches for
adjacent flowlines or in looped systems.
Some of the GIS data formats supported in PIPESIM include:
• Shapefile, an Esri file-based vector format
• ArcGIS Server, an Esri server-based tiled or dynamic imagery format
• Web Map Service (WMS), an Open Geospatial Consortium (OGC) server-based dynamic
imagery format

Related links:
Choose a basemap (p.377)
Navigate the GIS map (p.379)
Zoom to bookmarks (p.381)
Work with layers (p.383)
Use the GIS map (p.392)

6.1 Choose a basemap


After you open the GIS Map, you should choose a basemap. A basemap serves as a backdrop
against which all other data is displayed and determines how data added to the map view are
projected. PIPESIM* comes pre-configured with a set of basemaps provided through Esri's ArcGIS
Online service. You can unlock additional basemaps provided through Microsoft Bing Maps service

Work with the GIS map


377
PIPESIM User Guide

via a Bing Maps key. Furthermore, you can add custom basemaps by connecting to internally or
externally facing ArcGIS Servers or WMS map services.
1. To select one of the Esri ArcGIS Online gallery basemaps, on the Home tab, in the Viewers
and results group, click GIS map.
2. On the Format tab, in the Layers group, click Basemaps, and then click any of the available
basemaps to select it as the basemap for the workspace.
Esri Basemaps
Esri basemaps are included as part of the PIPESIM Base License and include:
• Delorme
• National Geographic
• Ocean
• World Satellite (default basemap)
• World Street
• World Topographic

Note: To display a basemap in PIPESIM, it must have been published having Web mercator as its
coordinate reference system (EPSG:3857 or ESRI:102100). This is to ensure that geographic data
from different sources line up properly when overlaid on the GIS map and to avoid geodetic error
that can be introduced when invoking on-the-fly re-projection.

Related links:
Add bing basemaps (p.378)
Use map services (p.386)

6.1.1 Add bing basemaps


To choose from one of the available Bing Maps basemaps, you must first obtain a valid Bing Maps
key and supply it to PIPESIM*.
See Get a bing maps key for information on obtaining a valid key.
1. On the Workspace tab, click Options, click GIS map, and then enter your Bing key in the field
provided.
Your Bing key provides access to the following additional basemaps:
• Bing Aerial with Labels
• Bing Road Map
• Bing Aerial Map
2. To verify that the Bing Maps basemaps have been unlocked successfully, perform the following
steps:
a. On the Home tab, in the Viewers and results group, click GIS map.
b. On the Format tab, in the Layers group, click Basemaps.

Work with the GIS map


378
PIPESIM User Guide

Icons for the newly added basemaps should appear in the User defined (Application) section.
Providing a Bing Maps key also unlocks the Go to location feature and enables geocoding of
street addresses to geographic locations.

Note: In some cases, Bing Maps basemaps may provide higher resolution imagery with faster load
and response times than the default gallery basemaps, serving as a more suitable default when
working with the GIS map.

Related links:
Zoom to a geographic location or address (p.380)

6.2 Navigate the GIS map


After selecting a basemap, you need to determine where in geographic space to place an existing
network or create a new network.
You can navigate to a desired location using the tools provided on the Format tab in the Zoom
group, the Navigation widget located in the lower left-hand corner of the map, or via a
combination of mouse movements and keystrokes while directly interacting with the map.
There are multiple ways to specify the viewable area of your GIS map, including:
• Panning and zooming to an area
• Specifying geographic coordinates
• Geocoding an address
• Zooming to a bookmark

Related links:
Pan and zoom to your map area (p.379)
Zoom to a geographic location or address (p.380)
Zoom to bookmarks (p.381)

6.2.1 Pan and zoom to your map area


There are several ways to move from one area to another on the GIS map.
1. On the Home tab, in the Viewers and results group, click GIS map.
2. To zoom to the smallest area (extent) that will fit all objects defined on the map: On the Format
tab, in the Zoom group, click Zoom to fit.
3. To pan across the map: Press the CTRL key and then drag across the map using the left
mouse button.
4. To use the Navigation widget in the lower-left corner:
• Move the size slider up or down to increase or decrease the zoom level.

Work with the GIS map


379
PIPESIM User Guide

• Drag the circular compass to change the map orientation.


• To change the map orientation so North is at the top, click the Reset North button (which is
located between the size slider and circular compass).
5. To zoom to a specific layer on the map:
a. On the Format tab, in the Layers group, click Layers to view the layers on the map.
b. Click to select the layer, and then click Zoom to fit.
6. To use the Overview inset window to adjust the center of the map view:
a. On the Format tab, in the Show/hide group, select Overview.
The Overview inset window displays in the upper-right corner of the GIS map. A red box
with a small plus sign (+) marks the area of the map you are viewing.
b. In the Overview inset window, drag the red + to a new location.
The map is re-centered at that location.
c. To close the inset window: On the Format tab, in the Show/hide group, clear the Overview
check box.

Related links:
Navigate the GIS map (p.379)

6.2.2 Zoom to a geographic location or address


You can quickly zoom to a specified map coordinate or address.
1. On the Home tab, in the Viewers and results group, click GIS map.
2. On the Format tab, in the Zoom group, click Go to location.
3. Perform one of the following actions:
• Select Coordinate and supply geographic coordinates in the Longitude/X and Latitude/Y
fields.
Example: For a location with the longitude 95.3631° W and latitude 29.7631° N, enter the
values -95.3631 and 29.7631, respectively. Note that longitude coordinates west of the
prime meridian and latitude coordinates south of the equator are expressed as negative
values.
• Select Address and enter an address (available only with a valid Bing Maps key).
Example: 5599 San Felipe, Houston, Texas, 77056
4. Click Apply to zoom to and create placemarks on the map for additional locations, or OK to
close the window.
The following table summarizes the various navigation controls available and where they can be
accessed:

Work with the GIS map


380
PIPESIM User Guide

Format tab Navigation Map Format tab Format tab

Zoom group Widget Show/Hide Layers


group group

Edit Layers
Go to location X
Rotate/Reset North X
Pan N, E, S, or W CTRL via Overview
+Drag left Map
mouse
Full extent X X
Zoom in/Zoom out X X Scroll
mouse
wheel
Zoom area X
Zoom to fit X
Zoom to selected X X
Previous zoom/Next X
zoom

Note: In the GIS map, geographic positions (longitude and latitude) are always referenced relative
to the World geodetic system (WGS) 1984 ellipsoid (EPSG:4326). This ellipsoid, in turn, serves as
the datum for the Web mercator projected coordinate reference system (EPSG:3857 / ESRI:
102100) required of all basemaps.

Related links:
Add bing basemaps (p.378)
Navigate the GIS map (p.379)

6.3 Zoom to bookmarks


Bookmarks make it easy to return to locations that you refer to often. PIPESIM* provides a few
example bookmarks to illustrate their usage. Also, you can create your own bookmarks for
locations of interest to you.
1. On the Home tab, in the Viewers and results group, click GIS map.
2. On the Format tab, in the Zoom group, click Bookmarks.
3. Perform one of the following actions:
• To zoom to a defined bookmark, perform one of the following actions:
• Click one of the built-in bookmarks.

Work with the GIS map


381
PIPESIM User Guide

• If you have previously defined a bookmark, you can select it from the User-defined list.
The map zooms to the extent defined by the bookmark selected.
• To create a new bookmark, click Add bookmark, enter a Name and Description for the
bookmark, and then click OK.
• You can rename or delete a bookmark by right-clicking the bookmark and clicking Delete.

Related links:
Import a bookmark file (p.382)

6.3.1 Import a bookmark file


A bookmark file can be used to import previously created bookmarks.
1. On the Home tab, in the Viewers and results group, click GIS map.
2. On the Workspace tab, click Options.
3. Click GIS map.
4. Click the browse button for Bookmarks file and enter the file name.
Example: Major_oil_fields.xml
5. Click Open.
To verify that the bookmarks have imported successfully, on the Format tab, in the Zoom
group, click Bookmarks to view the imported bookmarks.

Related links:
Create a custom bookmark file (p.382)

Create a custom bookmark file


You can create a file that contains a set of bookmarks for geographic extents of interest to you.
1. Create a new text file and save it with an extension of xml for example, MyBookmarks.xml.
2. Open the file in a text editor.
3. The first line in your file should have the <Bookmarks> tag.
4. For each bookmark entry in your file, add a new tag based on this example:

<Bookmark Name=”My First Bookmark” Description=”Description of my first


bookmark” CrsId=”4326” Minx=”-10.0” Miny=”-10.0” Maxx=”10.0” Maxy=”10.0”/>

Parameter Description
Name Required.
Description Optional.
Crsld Required. Must be "4326" as shown above, corresponding with World geodetic
system (WGS) 1984

Work with the GIS map


382
PIPESIM User Guide

Parameter Description
Minx Required.
Miny Define the geographic extent being bookmarked according to the lateral units
Maxx defined by the specified CrsId. For the WGS84 geographic coordinate system
(CrsId = "4326"), X and Y represent longitude and latitude in decimal degrees,
Maxy respectively.
5. The last line in your file should have the </Bookmarks> tag.

Example
This example illustrates a complete bookmark file containing three bookmarks.

<Bookmarks>
<Bookmark Name=”Gulf of Mexico” CrsId=”4326” Minx=”-99.58” Miny=”17.27”
Maxx=”-79.83” Maxy=”33”/>
<Bookmark Name="North Sea" CrsId="4326" Minx="-4.42" Miny="51.4"
Maxx="11.67” Maxy=”63.82" />
<Bookmark Name="Teapot Dome" CrsId="4326" Minx="-106.24157"
Miny="43.24099" Maxx="-106.12088" Maxy="43.30976" />
</Bookmarks>

Related links:
Import a bookmark file (p.382)

6.4 Work with layers


The first or bottom-most layer in the GIS map is the basemap layer, which defines the coordinate
reference system of the map as Web Mercator (EPSG:3857 or ESRI:102100) and serves as a
backdrop against which other layers can be added.
Some of the other layer types that can be added on top of the basemap layer include:
Map cache
A cached representation of satellite imagery tiles extracted from the Esri ArcGIS Online
World Imagery service which can be used when a live network connection is unavailable.
Map service layer
A dynamic (ArcGIS Server or WMS) or tiled (ArcGIS Server) representation of a map
accessible through a service endpoint.
Shapefile layer
A graphic representation of the vector geometry (point, polyline or polygon) and textual
representation of the associated attributes from an Esri-compatible shapefile on disk.
Each layer has properties that are dependent on its type. By making changes to the properties, you
can:
• Improve layer visibility through show and hide operations and transparency adjustments
• Display attributes as map tips that display when hovering the mouse over displayed features

Work with the GIS map


383
PIPESIM User Guide

• Change display properties such as color


• Change label properties such as visibility, color, position, and font
The last or top-most layer in the GIS map is the network layer which is composed of network
components and connections between these components.

Note: The basemap layer cannot be deleted, but can be turned off if not needed, for example, due
to the presence of other layers that provide geographic context.

Related links:
GIS shapefile basics (p.384)
Use shapefiles (p.385)
Use map services (p.386)
Use a map cache (p.390)
Change the display options (p.391)

6.4.1 GIS shapefile basics


A shapefile is a file based vector data format that facilitates exchange of geospatial information
with other Geographic Information System (GIS) systems. Each row within a shapefile represents a
single feature or logical entity and consists of the geometric description of this entity and
associated attribute information. Geometries are defined as points, polylines (composed of paths)
or polygons (composed of rings) and can represent a variety of features such as wells, flowlines,
lease blocks and political boundaries. Attributes can be numeric (integer or floating point), textual,
or in date/time format.
In order for a shapefile to be loaded successfully, four necessary component files having the same
filename must be present within the same folder, differentiated by file extension and contents:
• The main shapefile (*.shp) containing geometric definitions of features
• The shape index file (.shx) used for efficient loading of geometric features within the main
shapefile
• The attribute file (.dbf) containing a dBase table of attributes related to geometric features
within the main shapefile
• The projection file (.prj) containing a well-known text (WKT) string defining the coordinate
reference system in which the geometric features within the main shapefile have been persisted
Shapefiles can be created programmatically or using any standard desktop GIS software such as
ArcGIS for Desktop or QGIS.
References
• Wikipedia
• Esri shapefile technical description

Work with the GIS map


384
PIPESIM User Guide

GIS Shapefile Feature Types


In PIPESIM*, three types of features or shapes are supported within shapefiles:
• Point: A geographic point consisting of a single (X, Y) coordinate pair.
• Polyline: One or more paths, each containing an ordered set of two or more geographic points
defined by (X, Y) coordinate pairs.
• Polygon: One or more rings, each containing an ordered set of three or more geographic
points that form a closed geometry and are defined by (X, Y) coordinate pairs.

Note:
• In contrast to basemaps, map caches and map service layers, all shapefiles in PIPESIM must
have a coordinate reference system of World geodetic system 1984 (WGS84) (EPSG:4326).
• Only Point, Polyline and Polygon shapefiles are supported for visualization: Multipoint and
Multipatch shapefiles are not supported.
• Only Polyline shapefiles are supported for automatic network creation: networks cannot be
automatically created from Point, Polygon, Multipoint or Multipatch shapefiles.
• Shapefiles having measurement or height attributes (M-Aware or Z-Aware) can be read by
PIPESIM, but only (X, Y) coordinates are preserved: M and Z coordinates are discarded and
ignored for the purposes of visualization and are not used as a substitute for elevation values
obtained via the elevation capture operation.

Related links:
Use shapefiles (p.385)
Capture elevations (p.398)

6.4.2 Use shapefiles


A shapefile is a file based vector data format that facilitates exchange of geospatial information
with other Geographic Information System (GIS) systems. PIPESIM supports three types of
shapefiles: point, polyline, and polygon.
See GIS shapefile basics (p.384) for an introduction to the shapefile format.
1. On the Home tab, in the Viewers and results group, click GIS map.
2. To add a shapefile to the GIS map as a graphic layer, perform the following actions:
a. On the Format tab, in the Layers group, click Layers, and then click Shapefile.
b. Select a shapefile (.shp), and then click Open. You can also drag the file directly onto the
map from Windows Explorer.
3. After you add a shapefile to the map, you can select display options and adjust the
transparency by performing the following actions:
a. To select a layer for editing, perform one of the following actions:

Work with the GIS map


385
PIPESIM User Guide

• On the Format tab, in the Layers group, click Layers, right-click a shapefile name, and
click Edit.
• Right-click the map background, and then click Edit.
b. To change the layers displayed on the map, select or clear the layer check boxes.
c. To change the transparency of a layer, perform the following actions:
1. On the left pane of the layer editor, select the layer.
2. On the right, move the Transparency slider to the left to make the layer more opaque, or
to the right to make it more transparent.
d. To change the color of a layer, select a new Color and Outline color if applicable.

Related links:
Work with layers (p.383)
GIS shapefile basics (p.384)

6.4.3 Use map services


You can add custom map services to the list of services provided in the basemap gallery.
PIPESIM* provides ArcGIS Server tiled and dynamic map services and Web Map Service (WMS)
dynamic map services.
1. To enable display of map services within the map view and configure a map service, perform
the following actions:
a. Click Workspace » Options » GIS map » Map service layers.
b. Click New and enter the specifications for the map service.
• To add an ArcGIS Server tiled or dynamic map service, provide the name and URL.
• To add a Web Map Service (WMS) dynamic map service, provide the name, URL,
coordinate reference system (CRS), layer name(s), version and image format (.png
or .jpeg).
Additional custom map services can be created, cloned, edited, or deleted before switching to the
GIS map view.

Note: If the custom ArcGIS Server map service provided is publicly accessible or has been
secured using Windows Authentication, a username and password should not be provided using
the corresponding map services properties fields. However, if the service has been secured using
HTTP or token-based authentication, a username and password must be provided using the
corresponding map service properties fields.

2. To activate a map service for display within the GIS map of the currently active workspace,
perform the following actions:
a. On the Home tab, in the Viewers and results group, click GIS map.
b. On the Format tab, in the Layers group, click Layers, and then click Map service.
c. Click the map service of interest, and then click OK.

Work with the GIS map


386
PIPESIM User Guide

The map view resizes automatically to the extent of the selected map service layer.

Related links:
Network prerequisites (p.387)
Obtain WMS parameters (p.388)

Network prerequisites
In order to successfully connect to and leverage web services in the GIS map, you must configure
Internet Explorer, proxy server, and firewall settings on the network where PIPESIM* will be
executed.

Internet explorer settings


On the Internet Explorer Local Area Network (LAN) Settings dialog box (accessed
from Internet Explorer » Settings » Internet Options » Connections » LAN settings), set the
following Automatic configuration options:
• Select the Automatically detect settings check box
• Clear the Use automatic configuration script check box
Purpose: Allows the proxy server on your company intranet to see the credentials of the currently
logged in Windows user and to grant or deny permission to access the following network resources
from within PIPESIM:
• ArcGIS Server or Web Map Service (WMS) servers on the company intranet
• ArcGIS Server, Web Map Service (WMS), Bing Maps or Geonames servers on the external
Internet

Proxy server settings


The following domain names must be unblocked / opened for access:
• http://services.arcgisonline.com
Purpose: Used for ArcGIS Server tiled and dynamic map services, including the default
basemaps in the GIS map gallery
• http://dev.virtualearth.net
Purpose: Used for Bing Maps tiled map services and geocoding services, enabled when a valid
Bing key has been provided
• https://secure.geonames.net
Purpose: Used for Geonames elevation capture services

Firewall settings
The following IP addresses must be unblocked / opened for access:

176.9.107.169 176.9.39.79 178.63.52.141 178.63.92.242 188.40.33.19


188.40.55.18 188.40.62.8 199.189.87.43 199.189.87.89 199.217.116.173

Work with the GIS map


387
PIPESIM User Guide

199.217.119.198 209.126.105.58 5.9.152.54 5.9.41.208 69.64.43.233


69.64.51.148 78.46.40.212 88.198.40.75 88.198.66.142

Purpose: Used for load balancing of requests made to Geonames elevation capture services

Note: In PIPESIM 2013, the Geonames domain name used for elevation capture was http://
ws.geonames.net, whereas in PIPESIM 2014, this has been upgraded to the secure https://
secure.geonames.net. Proxy servers may need to be updated to reflect this change. Furthermore,
the list of IP addresses used by Geonames for elevation capture has been updated to include the
following additional address in PIPESIM 2014: 209.126.105.58. Firewalls may need to be updated
to reflect this change.

Related links:
Use map services (p.386)

Obtain WMS parameters


To successfully connect to a custom Web Map Service (WMS), you must have the name, URL,
coordinate reference system (CRS), layer names, version, and image format (.png or .jpg). If
these parameters are not readily available, perform a Get Capabilities request to the WMS
service.

Example WMS map service URL

http://mrdata.usgs.gov/services/ca

1. Assuming that the above URL points to the WMS service of interest, append the following tags
to the URL:

?request=getcapabilities&service=WMS

to produce the following Get Capabilities request URL:

http://mrdata.usgs.gov/services/ca?request=getcapabilities&service=WMS

2. Copy this URL into your browser and press ENTER.


Either an XML file will appear within the browser or a file will be downloaded to disk. If a file is
downloaded to disk, open it with a text editor.
3. Search the file for a section that shows a version number appearing as 1.0.0, 1.1.0, 1.1.1, or
1.3.0.
In this example, the version appears as 1.1.1 in the following tag:

<WMT_MS_Capabilities version="1.1.1">

Enter this value as the Version.


4. Search the file for a <GetMap> section under which several <Format> tags may appear.

Work with the GIS map


388
PIPESIM User Guide

In this example, these tags appear as the following:

<Format>image/png</Format>
<Format>image/jpeg</Format>
<Format>image/gif</Format>
<Format>image/png; mode=8bit</Format>
<Format>application/x-pdf</Format>
<Format>image/svg+xml</Format>
<Format>image/tiff</Format>
<Format>application/vnd.google-earth.kml+xml</Format>
<Format>application/vnd.google-earth.kmz</Format>

If only a .png or .jpg format tag appears, enter that value as the Format.
In this example, because both the .png or .jpg format tags appear, you can choose either
value.

Note: In cases where the map service represents a basemap spanning the full extent of the
world, .jpg will usually be the preferred choice as it produces smaller, highly compressed images
that transmit faster than the equivalent .png requests. In cases where the map service represents
features of interest that are to be overlaid on an existing basemap or displayed using
transparency, .png would be the preferred choice, as .jpg images do not support these
features.

5. Search the file for the first <Layer> tag. This layer is the main layer, under which sub-layers
may be defined. Under this <Layer> tag is a <Name> tag.
In this example, the name appears as:

California_Geology

Enter this value as the Layers and all the sub-layers will be added automatically.
Alternatively, you can add only the sub-layers of interest by entering them as comma-separated
values. If you are entering comma-separated values, ensure no spaces exist between the
names or the layers may not be accepted.
In this example, you could enter California_Lithology,California_Faults to display
only these two sublayers.
6. Search in the same <Layer> tag for <SRS> tags.
In this example, these tags appear as:

<SRS>EPSG:4267</SRS>
<SRS>EPSG:4269</SRS>
<SRS>EPSG:4326</SRS>
<SRS>EPSG:3857</SRS>
<SRS>EPSG:900913</SRS>
<SRS>EPSG:102113</SRS>

If a SRS entry for 3857 or 102100 can be found, set the CRS parameter to this value. If a SRS
entry for 3857 or 102100 cannot be found, then PIPESIM cannot support this map service, as
PIPESIM can only display Web Mercator (EPSG: 3857 or ESRI:102100) map services.

Work with the GIS map


389
PIPESIM User Guide

7. After providing a name for the service, such as "My Map Service", the resulting parameters for
this example service would be:

Field Value
Type WMS
Name My Map Service
Url http://mrdata.usgs.gov/services/ca
CRS 3857
Layers California_Geology
Version 1.1.1
Format png
8. Click OK to add the service to the list of available map services.

Related links:
Use map services (p.386)

6.4.4 Use a map cache


You can create a cached representation of a subset of the Esri World Satellite imagery basemap
on disk to enable use of the GIS map in situations where network connectivity is slow, unreliable or
unavailable altogether (offline).
1. On the Format tab, in the Layers group, click Basemaps, and then click ESRI World Satellite
Map.
2. On the GIS map, use the navigation controls to zoom to the desired cache extent.

Note: Only the tiles visible in the current map extent are cached; any tiles falling outside of the
visible extent are not saved to disk.

3. On the Format tab, in the Utilities group, click Download map cache.

Note: If the current map extent exceeds the maximum allowable cache area, a prompt will appear
to zoom to the maximum allowable cache area. Once zoomed to this area, click Download map
cache to create a map cache.

If your map extent fits within the allowable cache area, a meter at the bottom of the window shows
the progression of the cache download request and allows cancellation if needed. The progress is
dependent on the extent of the cache area requested and connection speed.
4. Once prompted that the cache has downloaded successfully, click Yes to save the map cache.
Saving the map cache will have the effect of:
• Adding the map cache layer on top of the existing basemap and enabling it for display

Work with the GIS map


390
PIPESIM User Guide

• Writing the map cache (a MapFoundationConfiguration.xml file along with


associated imagery tiles) to disk in the user's temp folder. The path is %Temp%/
MapCache/Cach_cache_id
• When zooming to the full extent of the map, a globe icon will appear representing the
cached area. Zoom to the area by clicking this icon.

Note: Only one map cache may be present within a PIPESIM workspace at any given time: any
subsequent download map cache requests will have the effect of replacing previously cached data.
The maximum allowable cache area is 100 square miles (approximately 256 square kilometers)
and maximum duration at which a cache may be kept is 90 days: once a cache has expired, it
must be re-created using a live network connection. When working offline, shapefile layers will
remain visible alongside cached imagery provided the shapefile still exists on disk in the location
where it was first referenced. However, basemaps from Esri, Bing Maps or custom map services
will not be visible as these require a live network connection.

Related links:
Work with layers (p.383)

6.4.5 Change the display options


You can change the appearance of layers by changing the settings for map tips. You can also
change the appearance of the labels on the GIS map by changing properties such as label
visibility, color, position, and font. The basemap layer does not have display properties you can
change.

Note: If you are displaying well clusters, you cannot show map tips.

1. On the Home tab, in the Viewers group, click Map.


2. To enable map tips:
a. On the Format tab, in the Layers group, click Basemaps, and then click the layer for which
you want to add map tip information.
b. Double-click the map to open the Edit layer window.
c. On the right pane, under Layer, select the Map Tip check box.
d. Click Close to save your selection and close the window.
e. To view a map tip, place the pointer over an object in the network.
The map tip is displayed.
3. To hide the map tips from layers you added:
a. Double-click the map to open the Edit layer window.
b. Clear the Map Tip check box, and then click Close.
4. To change the transparency of the layer:

Work with the GIS map


391
PIPESIM User Guide

a. Double-click the map to open the Edit layer window.


b. Move the Transparency slider to the preferred setting.
You can view the change in the layer as you move the slider.
5. To change the label display properties:
a. Double-click the map to open the Edit layer window.
b. In the left pane, select the layer with display properties you want to change.
The properties you select display immediately on the GIS window.
c. The following display properties for labels are displayed on the right pane, under Label.
Make selections for the map:

Label Description
Label Select or clear this check box to show or hide the label.
Color Make new selections in these fields to change the font attributes for the label. A halo is
Fields a white glow behind the label text.

Font
Style
Size
Halo
Position Make new selections in these fields to change the position of the label relative the area
Offset associated with it.

d. Click Close to save your selections.

Related links:
Work with layers (p.383)

6.5 Use the GIS map


For models built and edited on the GIS map canvas, the same objects will appear on the schematic
canvas. Newly-inserted objects on either canvas will be placed at roughly the same relative
location on the other canvas. While moving objects on the GIS canvas define locations and,
therefore, pipe geometries, you may arrange objects anyway you want on the schematic canvas
without impacting the flowline profiles.

Related links:
Create a new network model on the GIS map manually (p.393)
Locate a previously built schematic network on the GIS map (p.393)
Move the entire network to a new map location (p.394)
Display object clusters (p.394)

Work with the GIS map


392
PIPESIM User Guide

Capture elevations (p.398)


ASTER and SRTM elevation data sources (p.49)
Change the PIPESIM data source for GIS elevation data capture (p.49)
View profile direction (p.398)
Edit equipment locations (p.399)
Create a network model from a GIS shapefile automatically (p.50)
Use additional functions within the GIS map (p.401)

6.5.1 Create a new network model on the GIS map manually


You can construct PIPESIM* models directly on the GIS map canvas. Building a network model on
the GIS map canvas is very similar to building a network on the schematic canvas with the
exception that flowlines can be digitized with multiple points.
1. Open a model in network mode, and on the Home tab, in the Viewers group, click Map and
then zoom to the desired network extent.
2. On the Insert tab, click the objects you want to create and click the map canvas to insert them.
To insert multiple objects hold the SHIFT key down while clicking the map.
3. To begin digitizing a flowline, on the Home tab, in the Connections group, click Flowline and
then click on a starting node object (boundary or internal node) to define the start point of the
flowline.
4. To digitize the flowline, click the points on the flowpath.
5. To end the flowline, click on a second node object
6. You can refine the digitized points by inserting or removing additional nodes.

Related links:
Use the GIS map (p.392)

6.5.2 Locate a previously built schematic network on the GIS map


You can assign a physical location to a model that was originally built on the schematic diagram or
imported from earlier versions of PIPESIM* or PIPEFLO.
1. Open a model in network mode, and on the Home tab, in the Viewers group, and click Map.
The Zoom to a network extent window is displayed. Do not click OK yet.
2. On the Format tab, click one of the options in the Zoom group to select an appropriate map
area for your model. The options you have include the following choices:
• Click Go to location and enter map coordinates or a physical address.
• Use one of the zoom functions in the Zoom group.
• Select a Bookmark.
• Use the directional guide in the lower-left corner to zoom into an area.
• In the Show/hide group, click Overview to reposition the center of your map.

Work with the GIS map


393
PIPESIM User Guide

3. In the Utilities group, click Relocate network.


The model is relocated to the map area that you set up.

Related links:
Use the GIS map (p.392)

6.5.3 Move the entire network to a new map location


You can easily change the physical location of a model.
1. On the Home tab, in the Viewers group, click Map.
2. On the Format tab, click one of the options in the Zoom group to select a new map area for
your model. The options you have include the following choices:
• Click Go to location and enter map coordinates or a physical address.
• Use one of the zoom functions in the Zoom group.
• Select a Bookmark.
• Use the directional guide in the lower-left corner to zoom into an area.
• In the Show/hide group, click Overview to reposition the center of your map.
3. In the Utilities group, click Relocate network.
The model is relocated to the map area that you set up.

Related links:
Use the GIS map (p.392)

6.5.4 Display object clusters


The only way to view the exact physical location of objects that are linked by connectors is to view
the network diagram in cluster mode.
Surface equipment may be connected using either connectors or flowlines. Connectors convey
fluid between objects but do not represent any physical distance and no hydraulic calculations are
performed. Connectors are commonly used to connect chokes to wellheads and for surface
equipment in close proximity such as separators, pumps, compressors and heat exchangers.
While flowlines can also be used across short distances, you might find that the icons for a group
of objects positioned closely together may appear cluttered when zoomed out and might make it
difficult to view result annotations.
The only way to view the exact physical location of objects that are linked by connectors is to view
the network diagram in cluster mode. In cluster mode, one of the objects in the group is
automatically designated as the anchor object which can be identified by the location of the cluster
when the cluster mode is toggled. The anchor object for wells connected to chokes will always be
the well, but the anchor object for other facilities may vary.
The true geographic location of flowlines entering and leaving clusters can only be visualized in
cluster mode. Additionally, elevation points can only be viewed in cluster mode.

Work with the GIS map


394
PIPESIM User Guide

1. On the Home tab, in the Viewers group, click Map.


2. On the Format tab, in the Show/hide group, select Cluster.
The clusters are shown as a circle, and the number of objects within a cluster is shown in the
circle.
3. To turn off cluster mode, clear the Cluster check box.
To illustrate the usage of clusters, consider the field processing facility shown below consisting of a
separator connected to a pump, compressor and heat exchanger. The equipment may be
positioned and visualized easily in non-cluster mode (6.1 (p.395)); however, only the true map
locations of the objects can be seen in cluster mode (6.2 (p.396)). In this example, the pump
serves as the anchor object for the cluster.

Figure 6.1. Processing Facility in Non-cluster Mode

Work with the GIS map


395
PIPESIM User Guide

Figure 6.2. Processing Facility in Cluster Mode

Related links:
Use the GIS map (p.392)

6.5.5 ASTER and SRTM elevation data sources


There are two (2) sources available for elevation data capture in PIPESIM. They are:
• Shuttle Radar Topography Mission (SRTM)
• Advanced Spaceborne Thermal Emission and Relection Radiometer (ASTER)
services. The elevation data for both sources is hosted by Geonames, http://www.geonames.org.
The following table covers the details about each source.

Advanced Spaceborne Thermal Shuttle Radar Topography Mission (SRTM)


Emission and Reflection
Radiometer (ASTER)
Source Ministry of Economy, Trade, and United States National Geospatial Intelligence
Industry (METI) of Japan and the Agency (NGA) and United States National
Unitd States National Aeronautics Aeronautics and Space Administration
and Space Administration (NASA) (NASA)

Work with the GIS map


396
PIPESIM User Guide

Advanced Spaceborne Thermal Shuttle Radar Topography Mission (SRTM)


Emission and Reflection
Radiometer (ASTER)
Date June 2009 February 2000
Version V1 V4.1
Resolution 30 meters (1 arcsecond) 90 meters (3 arcseconds)
Coverage 83 degrees N to 60 degrees N to
83 degrees S latitude 56 degrees S latitude
URL http://asterweb.jpl.nasa.gov/ http://www2.jpl.nasa.gov/srtm/
gdem.asp
Notes The data has been processed by CGIAR to
contain SRTM data where available and
GTOPO30 elsewhere (for example, in areas
over water bodies, mountainous regions and
desert regions where small holes were
present in the original data provided by
NASA). For more info, visit this link.

Related links:
Use the GIS map (p.392)

6.5.6 Change the PIPESIM data source for GIS elevation data capture
There are two (2) ways to change the elevation data source.
OPTION 1
1. From the Home tab, click GIS map to open the map canvas.
2. Go to the Format tab. In the Elevation group, from the Data source, select either SRTM or
ASTER from the dropdown menu
3. Create or import the network.
4. Capture the elevations by following the steps in Capture elevations (p.398).
OPTION 2
1. Go to the Workspace tab and select Options, then GIS map.
2. For the Default elevation source, select either SRTM or ASTER from the option list.
3. Return to the Home tab, click GIS map to open the map canvas.
4. Create or import the network.
5. Capture the elevations by following the steps in Capture elevations (p.398).

Related links:
Use the GIS map (p.392)

Work with the GIS map


397
PIPESIM User Guide

6.5.7 Capture elevations


When you draw a flowline on the GIS map canvas, you implicitly define the x-y (lat-long) locations
for the flowline. To obtain elevation profiles, you can easily capture elevation data to define
detailed flowline profiles quickly.
There are two (2) sources available for elevation data capture in PIPESIM: SRTM and ASTER
services. For more information about these services, see ASTER and SRTM elevation data
sources. (p.49)

Note: To access the elevation data service, you need an Internet connection.

If the labels for objects in your well or network display object names, you must first change a
setting in the map layer. Double-click the map to open the Edit layer window, and then in the
Label section change the Fields selection from Names to Elevation.
1. On the Home tab, in the Viewers group, click Map.
2. On the Format tab, in the Elevation group, enter the desired distance for interval and the
maximum number of points.
If you are in cluster mode, red points along the flowlines will indicate the sampling interval.
If the number of maximum points times the interval is less than the total distance, the allotted
number of elevation points will be spaced equidistant from the two end points of the connection.
3. Click Capture Elevation.
The elevation point intervals will change from red to green to indicate elevation data has been
successfully captured. If you move an object attached to a flowline, the points on that object will
turn red to indicate that the elevation data for that flowline is no longer valid and the elevation
needs to be recaptured.
4. To view the captured elevation profiles, double-click a flowline from the network diagram or the
Inputs pane.

Related links:
GIS shapefile basics (p.384)
Use the GIS map (p.392)

6.5.8 View profile direction


Show arrows on the model to indicate the profile direction for flowlines and risers in the displayed
map area that specify the start and end points and order of the profile data.
1. On the Home tab, in the Viewers group, click Map.
Because the GIS map will capture elevation at the true physical locations, this setting is more
relevant in the schematic view where it is used to ensure that the start and end point references
are correct relative to the order of the data entered in the table.
2. On the Format tab, in the Show/hide group, select Profile direction.

Work with the GIS map


398
PIPESIM User Guide

3. To hide the arrows, clear the Profile direction check box.

Related links:
Use the GIS map (p.392)

6.5.9 Edit equipment locations


You can view and edit the latitudinal and longitudinal coordinates for each node object in your
model, including the elevation if this attribute has been captured.
1. On the Home tab, in the Viewers group, click Map.
2. On the Format tab, in the Utilities group, click Equipment locations.
The Equipment locations window displays the x-y (lat-long) locations for equipment in the
displayed map area.
3. Click Close.
The Equipment locations table is also very convenient for initially defining equipment
locations—if coordinates are available—and for renaming objects.

Related links:
Use the GIS map (p.392)

6.5.10 Create a network model from a GIS shapefile automatically

Note:
• PIPESIM currently only supports shapefiles with coordinates referenced to EPSG:4326, known
as the World Geodetic System (WGS) 1984 or WGS84. Shapefiles with coordinates referenced
to other coordinate reference systems must be de-projected to EPSG:4326 coordinates using
standard desktop GIS software such as ArcGIS for Desktop or QGIS, before importing them
into PIPESIM to create networks.
• PIPESIM currently only supports the automatic creation of flowlines from polyline shapefile
features. Wells and other equipment cannot yet be automatically created from point and
polygon shapefile features. However, PIPESIM will automatically add junctions between
flowlines when the network is created and provides the ability to convert these junctions to
wells, sources, sinks and other equipment. Refer to the topic Converting Junctions to Wells,
Sources, Sinks and Equipment for additional details.
• PIPESIM supports the creation of networks from a shapefiles only in new workspaces (for
example, it does not support incremental network creation). You will get an error message if
you attempt to import a network into a workspace that already has any kind of equipment.

1. Go to the Home tab, in the Viewers and results group, select GIS map.
2. From the active Insert tab, click Import network and browse to the location of the shape files.
3. Select the main shape file with the *.shp extension and click Open.

Work with the GIS map


399
PIPESIM User Guide

The *.dbf and *.prj files must also be present in the same location. For more information,
refer to GIS Shapefile Basics (p.384).
The Import network dialog box opens where you can map the attributes in the shape file (if
available) to the PIPESIM properties required for simulation. They are the Flowline name, Pipe
Inside Diameter, Pipe wall thickness and Pipe roughness. The Import dialog box also enables
you to define other global environmental and flowline settings for the entire network that will be
imported. This is to speed up the facilitate network creation and process.
4. In the Shapefile property column, Map the available flowline name attribute in the shapefile to
the PIPESIM flowline name by selecting it from the Options list. If there is no Flowline name
attribute in the shapefile, leave the default [Create New] option. PIPESIM will automatically
create new names for each imported flowline.
The attribute options available in the options list for each Shapefile property are type-specific
(for example, Flowline name) will display only the text attributes in the shapefile, while Pipe ID,
wall thickness and roughness will display only numeric attributes.
5. Map the Shapefile property attributes for Pipe Inside Diameter, Pipe wall thickness, and Pipe
roughness, if available. If any one or all of these properties are unavailable in the shapefile,
check the Override box and manually enter these values. The manual values will be assigned
to every flowline created from the shapefile.
6. The Air temperature, Wind speed, Soil type and Soil conductivity values in the Global
environment settings are the default values under Home in the Data group, select Simulations
settings and click the Environmental tab in the workspace itself. You may leave the default
values or change them by checking the Update global environment settings and entering your
preferred values. All flowlines created will be assigned these values and the global
environmental settings under Simulation settings will also be updated with these values.
7. The Flowline settings section also displays the default values. You may modify the heat
transfer properties for the flowlines, if desired.
The recommendation is to limit the use of the feature to automatically create networks from
shapefiles, to onshore environments only, because risers cannot currently be created from
shapefile features.
8. Click OK to complete the import network process. The created network appears on the GIS
map layer. PIPESIM will create a flowline for every polyline feature and automatically insert
junctions between consecutive polylines, where they share an endpoint.
9. Capture the elevation profiles for the imported network by using the steps from Capturing
Elevation (p.398). Alternatively, you can manually enter the elevation profiles for each flowline
in the Logical view of the Flowline editor by unchecking the Populate from GIS map box.
10.Complete the network creation process by manually converting individual junctions to wells,
sources, sinks and other equipment. For more information, see Converting Junctions to Wells,
Sources, Sinks and Equipment.

Related links:
Create or edit a network model (p.131)
Use the GIS map (p.392)

Work with the GIS map


400
PIPESIM User Guide

6.5.11 Use additional functions within the GIS map


Several additional functions are available within the GIS map.

Related links:
Show the map legend (p.401)
Measure distance and area (p.401)
Print the map (p.402)

Show the map legend


On the GIS map, the legend displays for the area you are viewing.
1. On the Home tab, in the Viewers and results group, click GIS map.
2. On the Format tab, in the Show/hide group, select Legend.
The legend displays layers, network components and associated symbols for the currently
displayed map. When in cluster mode, an associated cluster symbol appears.
3. To hide the legend, clear the Legend check box.

Related links:
Use additional functions within the GIS map (p.401)

Measure distance and area


You can measure distance and area on any basemap within the GIS map. The measure area tool,
for example, may be useful in quickly estimating the drainage area of a well for entry into the Darcy
IPR model.
1. On the Home tab, in the Viewers and results group, click GIS map.
2. To measure the distance between geographic points on the GIS map:
a. On the Format tab, in the Utilities group, click Measure line.
b. Click on the basemap to begin measuring, and click one or more times if needed to add
points of inflection to the line measured.
c. To complete the line measurement, double click on the basemap.
The distance measured by your line displays in the status bar in the lower-left corner of the
application.
3. To measure an area:
a. On the Format tab, in the Utilities group, click Measure area.
b. Click on the basemap to begin measuring, and click one or more times if needed to add
points of inflection to the area measured.
c. To complete the area measurement, double click on the basemap.
The area measured by your shape displays in the status bar in the lower-left corner of the
application.

Work with the GIS map


401
PIPESIM User Guide

4. To remove the line or shape from the GIS map, on the Format tab, in the Utilities group, click
Clear Graphics.

Note: Distance measurements are performed in geographic space using Vincenty's formula which
honors the World geodetic system 1984 (WGS84) ellipsoid underlying the Web mercator basemap
and avoids the distortion that can occur when such measurements are performed in projected
space. This means that the distance measured is actually the shortest path on the WGS84
ellipsoid between the points of inflection digitized (curved lines on a flat map) rather than the
loxodrome or rhumb line connections between these points of inflection (straight lines on a flat
map) which would appear to be measured based on the straight lines drawn on the map. Area
measurements, however, are not performed in geographic space, but rather performed in projected
space and then applied a correction factor to account for the projection error. One must ensure that
polygons digitized on the map for area calculation are simple (non-self-intersecting), otherwise
errors may result.

Related links:
Use additional functions within the GIS map (p.401)

Print the map


You can print the displayed map area.
1. On the Home tab, in the Viewers and results group, click GIS map, and then use the
navigation controls to zoom to the desired print extent.
2. To print the currently visible extent, perform one of the following actions:
• On the Format tab, in the Utilities group, click Print.
• Right-click the map, and then click Print.
3. Select print options, and then click Print.
The currently visible map extent is printed.

Related links:
Use additional functions within the GIS map (p.401)

Work with the GIS map


402
PIPESIM User Guide

7
Technical Description
This section of the User Guide provides additional details and references on the theory and
methods implemented in PIPESIM.
• Flow Models (p.403)
• Completion (IPR) Models (p.431)
• Equipment (p.481)
• Heat Transfer Models (p.560)
• Fluids Models (p.581)

7.1 Flow models


7.1.1 Flow regimes
Flow regimes classification for vertical two phase flow
The general problem of predicting the pressure drop for the simultaneous flow of gas and liquid is
complex.
The problem consists of being able to predict the variation of pressure with distance along the
length of the flow path for known conditions of flow. Multiphase vertical flow can be categorized
into four different flow patterns or flow regimes, consisting of bubble flow, slug flow, slug-mist
transition (churn) flow and mist flow.
A typical example of bubble flow is the liberation of solution gas from an undersaturated oil at and
above the point in the flow path where its bubble point pressure is reached.
In slug flow, both the gas and liquid phases significantly contribute to the pressure gradient. the
gas phase exists as large bubbles almost filling the pipe and separated by slugs of liquid. In
transition flow, the liquid slugs between the gas bubbles essentially disappear, and at some point
the liquid phases becomes discontinuous and the phase becomes continuous.
The pressure losses in transition (churn) flow are partly a result of the liquid phase, but are more
the result of the gas phase. Mist flow is characterized by a continuous gas phase with liquid

Technical Description
403
PIPESIM User Guide

occurring as entrained droplets in the gas stream and as a liquid film wetting the pipe walls. A
typical example of mist flow is the flow of gas and condensate in a gas condensate well.
PIPESIM Vertical Flow correlations

Bubble Slug Churn Annular/Mist

Flow regimes classification for horizontal two phase flow


Prediction of liquid holdup is less critical for pressure loss calculations in horizontal flow than for
inclined or vertical flow, although several correlations will require a holdup value for calculating the
density terms used in the friction and acceleration pressure drop components. The acceleration
pressure drop is usually minor and is often ignored in design calculations; however, PIPESIM
includes them.
As in the vertical flow, the two-phase horizontal flow can be divided into the following flow regimes:
Stratified Flow (smooth, wavy), Intermittent Flow (plug and slug) and Distributed Flow (bubble and
mist).
PIPESIM Horizontal Flow correlations

Stratified

Technical Description
404
PIPESIM User Guide

Slug

Bubble

Annular

See also: Flow regimes (p.403),

7.1.2 Horizontal multiphase flow correlations

The following horizontal multiphase flow correlations are available:

Baker Jardine (BJA) correlation


Baker Jardine (p.664) (now Schlumberger) has developed a correlation for two phase flow in gas-
condensate pipelines. This model represents no major advance in theory, but rather a
consolidation of various existing mechanistic models, combined with a modest amount of
theoretical development and field data testing. The model uses the Taitel Dukler flow regime map
and a modified set of the Taitel Dukler momentum balance to predict liquid holdup. The pressure
loss calculation procedure is similar in approach to that proposed by Oliemans, but accounts for
the increased interfacial shear resulting from the liquid surface roughness. The BJA correlation is
used for pressure loss and holdup with flow regime determined by the Taitel Dukler correlation.
The BJA correlation has been developed specifically for applications involving low liquid/gas ratios,
for example gas/condensate pipelines with a no-slip liquid volume fraction of lower than 0.1.

Beggs and Brill original


ORIGINAL: The original Beggs and Brill (p.665) correlation is used for pressure loss and liquid
holdup. Flow regime is determined by either the Beggs and Brill or Taitel Dukler correlation. The
Beggs and Brill correlation was developed following a study of two-phase flow in horizontal and
inclined pipes. The correlation is based upon a flow regime map which is first determined as if the
flow was horizontal. A horizontal holdup is then calculated by correlations, and this holdup is
corrected for the angle of inclination. The test system included two 90 ft long acrylic pipes, winched
to a variable elevation in the middle, so as to model incline flow both upwards and downwards at
angles of up to 90°.

Technical Description
405
PIPESIM User Guide

Beggs and Brill revised


REVISED: As above except that the revised version of the Beggs and Brill correlation is used, with
rough pipe friction factors, holdup limits and corrective constants as proposed by Palmer (p.672)
and Payne (p.673). The following enhancements to the original method are used; (1) an extra flow
regime of froth flow is considered which assumes a no-slip holdup, (2) the friction factor is changed
from the standard smooth pipe model, to utilize a single phase friction factor based on the average
fluid velocity.

Dukler, (AGA) and Flanigan


The AGA and Flanigan correlation was developed for horizontal and inclined two phase flow of
gas-condensate gathering systems. The Taitel Dukler flow regime map is used which considers
five flow regimes, stratified smooth, stratified wavy, intermittent, annular dispersed liquid, and
dispersed bubble. The Dukler (p.667) equation is used to calculate the frictional pressure loss and
holdup, and the Flanigan (p.668) equation is used to calculate the elevational pressure differential.

Dukler, (AGA) and Flanigan (Eaton Holdup)


As above but with liquid holdup calculated according to the Eaton (p.667) correlation. The Eaton
liquid holdup correlation is based on a study performed on 2 in. and 4 in. steel pipe using water
and natural gas as test fluids. Test pressures ranged from 305 to 865 psia and liquid holdup
measurements ranged from .006 - 0.732.

Eaton-Oliemans
The Eaton, Oliemans combination of methods uses the correlation developed by Eaton et al (1967)
to predict liquid holdup and the Oliemans Pressure Drop Calculations correlation (1976) to predict
frictional pressure losses. This set of correlations has been found to be reliable for gas-condensate
systems in which the liquid loading varies from very small amounts to levels high above that which
is normally found in gas gathering systems. Additionally, while the Eaton method tends to over-
predict liquid holdup, the results for crude oil systems are generally reasonable. Note that since the
Eaton et al correlation does not incorporate elevation change in its computation of liquid holdup,
hydrostatic pressure losses can be significantly underestimated in cases of low flow rates over hilly
terrain. For downhill flow, pressure recovery is based on the gas density, unlike the Baker Jardine
version of the Oliemans model which uses mixture density for downhill pressure recovery.
The Oliemans correlation was developed following the study of large diameter condensate
pipelines. The flow regime is predicted using the Taitel Dukler flow regime map, and a simple
model, which obeyed the correct single phase flow limits was introduced to predict the pressure
drop. The model was based on a limited amount of data from a 30-in, 100-km pipeline operating at
pressures of 100 barg or higher.

Hughmark-Dukler
The Hughmark (1962) (p.669) / Dukler et al (1964) (p.667) method is the procedure that was
recommended by the AGA /API (1970). This approach uses the Dukler model for pressure loss
calculations and the Hughmark model for liquid holdup calculations.
The use of the Hughmark (1962) liquid volume fraction correlation for pipelines is somewhat
anomalous since it was originally based solely on data for flow in vertical pipes. Hughmark did

Technical Description
406
PIPESIM User Guide

however, compare its predictions with some limited data from horizontal pipes and found the
agreement to be reasonable. Since then, a number of studies (Dukler et al, 1964; Mandhane et al,
1975; Gregory, 1975; Gregory and Fogarasi, 1985) have confirmed it to be one of the better
correlations for pipeline applications. For downhill flow, pressure recovery is based on the gas
density.
It can generally be expected to give reasonable pressure drop and liquid holdup results for gas-
crude oil pipelines. This procedure is not recommended however for gas-condensate systems,
where the Hughmark correlation generally predicts excessive liquid holdups; errors of up to 600%
have been observed.

LEDA
The Leda Point Model (PM) (http://www.kongsberg.com/ledaflow) is a mechanistic model
applicable for all inclination angles, pipe diameters and fluid properties. The 2-phase model
considers gas-liquid flow whereas the 3-phase model considers gas-oil-water flow.
The 3-phase Leda PM considers 9 fields in the mass (continuity) equations (oil, gas, water, oil in
gas and water, gas in oil and water, water in oil and gas). Separate momentum equations are
solved for oil, gas and water.
The 2-phase Leda PM considers 4 fields in the mass (continuity) equations (liquid, gas, liquid in
gas and gas in liquid. Separate momentum equations are solved for gas and liquid phases. The
flow regimes predicted by LedaPM are stratified smooth flow, stratified wavy flow, slug flow,
annular and bubbly flow. The Leda 2-phase model uses the liquid viscosity associated with the
fluid model defined in PIPESIM. The Leda 3-phase model assumes that the liquid viscosity is equal
to that of the continuous phase; liquid viscosity options defined with the PIPESIM fluid model are
ignored. The continuous phase is determined by the Brauner-Ullman (p.665) inversion criteria.
The Leda Point Model is the steady-state version of the transient model developed by SINTEF in
collaboration with Total and ConocoPhillips and commercialized by Kongsberg. The model has
been calibrated against data collected at the SINTEF Multiphase Flow Laboratory near Trondheim
Norway. Over 10,000 experimental data points have been collected for single-phase, two-phase
(oil-water, water-gas) and three-phase (oil-water-gas) flow. Pipe diameters ranging from 4-12”
were used at pressures up to 90 barg. The models have been validated with field data supplied by
ConocoPhillips and Total.

Minami and Brill


The Minami and Brill correlation calculates liquid holdup though does not predict flow regime or
pressure gradient. The experimental holdup data was obtained by passing spheres through a
1,333 ft long 3 steel horizontal pipe and measuring the liquid volumes removed. Holdup
measurements ranged from .001 to .44. Fluids used in the experiment included air, kerosene and
water with the liquid viscosities ranging from .6 cp to 2 cp.
Two correlations were proposed. The first (BRIMIN1) is valid for all ranges of liquid holdup; the
second (BRIMIN2) is strictly for wet gas pipelines (holdup < .35).
The Minami and Brill (p.671) holdup correlations can be used with any correlation except
Mukherjee and Brill, No Slip, TUFFP, LEDA, and OLGA. To activate the Minami and Brill
correlation, enter the appropriate engine keyword under Setup » Engine Options (for example,
hcorr holdup = brimin1)

Technical Description
407
PIPESIM User Guide

Mukherjee and Brill


The Mukherjee and Brill (p.671) correlation is used for Pressure loss, Holdup and Flow Map. Note:
selection of alternative flow maps and/or holdups will cause unpredictable results. The Mukherjee
and Brill correlation was developed following a study of pressure drop behavior in two-phase
inclined flow. The test facility consisted of a U-Shaped pipe that was inclinable +/-90º. Each leg of
the U section was 56 ft with 22 ft entrance lengths and a 32 ft test sections on both sides. Fluids
were air, kerosene and lube oil with liquid viscosities ranging from .9 to 75 cp. Approximately 1000
pressure drop measurements and 1500 liquid holdup measurements were obtained from a broad
range of oil and gas flows.
For bubble and slug flow, a no-slip friction factor calculated from the Moody diagram was found
adequate for friction head loss calculations. In downhill stratified flow, the friction pressure gradient
is calculated based on a momentum balance equation for either phase assuming a smooth gas-
liquid interface. For annular-mist flow, a friction factor correlation was presented that is a function
of holdup ratio and no-slip Moody friction factor. Results agreed well with the experimental data
and correlations were further verified with Prudhoe Bay and North Sea data.

NOSLIP correlation
The NOSLIP correlation assumes homogeneous flow with no slip between the phases. Fluid
properties are taken as the average of the gas and liquid phases and friction factors are calculated
using the single phase MOODY correlation.

OLGAS 2-phase / OLGAS 2000 3-phase


The OLGAS mechanistic models are applicable for all inclination angles, pipe diameters and fluid
properties. The 2-phase Bendiksen (p.665) model considers gas-liquid flow, whereas the 3-phase
model considers gas-oil-water flow.
This model employs separate continuity equations for gas, liquid bulk and liquid droplets, which are
coupled through interphase mass transfer. Two momentum equations are solved: one applied to
the combined balance for the gas and liquid droplets, if present, and a separate momentum
equation for the liquid film. OLGAS considers four flow regimes: stratified, annular, slug and
dispersed bubble flow; and uses a unique minimum slip criteria to predict flow regime transitions.
The OLGA 2-Phase model uses the liquid viscosity model defined within the PIPESIM fluid
property definition. The 3-Phase model uses the Pal and Rhodes emulsion correlation to calculate
liquid viscosity based on the oil and water viscosities defined with the PIPESIM fluid model
definition; liquid viscosity options defined with the PIPESIM fluid model are ignored.
OLGAS is based in large part on data from the SINTEF multiphase flow laboratory near
Trondheim, Norway. The test facilities were designed to operate at conditions that approximated
field conditions. The test loop is 800 m long and 8 inches in diameter. Operating pressures
between 20 and 90 barg were studied. Gas superficial velocities of up to 13 m/s, and liquid
superficial velocities of up to 4 m/ s were obtained. In order to simulate the range of viscosities and
surface tensions experienced in field applications, different hydrocarbon liquids were used (naptha,
diesel, and lube oil). Nitrogen was used as the gas. Pipeline inclination angles between 1° were
studied in addition to flow up or down a hill section ahead of a 50m high vertical riser. Over 10,000
experiments were run on this test loop during an eight year period. The facility was run in both
steady state and transient modes.

Technical Description
408
PIPESIM User Guide

Oliemans
The Oliemans (p.672) correlation was developed following the study of large diameter condensate
pipelines. The flow regime is predicted using the Taitel Dukler flow regime map, and a simple
model, which obeyed the correct single phase flow limits was introduced to predict the pressure
drop. The model was based on a limited amount of data from a 30-in, 100-km pipeline operating at
pressures of 100 barg or higher.

TUFFP unified mechanistic model (2-phase and 3-phase)


The TUFFP Unified Mechanistic Model is the collective result of many research projects performed
by the Tulsa University Fluid Flow Projects (TUFFP) research consortium. The model determines
flow pattern transitions, pressure gradient, liquid holdup and slug characteristics. A 2-phase
version is available for gas-liquid flow [Zhang et.al, development (p.675) and validation (p.675)]
and a 3-phase version is available for gas-oil-water pipe flow [Zhang and Sarica (p.676)]. The
model is valid for all inclination angles, pipe diameters and fluid properties.
The principle concept underlying the model is the premise that slug flow shares transition
boundaries with all the other flow patterns. The flow pattern transition from slug flow to stratified
and/or annular flow is predicted by solving the momentum equations for slug flow. The entire film
zone is treated as the control volume and the momentum exchange between the slug body and the
film zone is introduced into the combined momentum equation. This approach differs from
traditional methods of using separate models for each transition. The advantage of a single
hydrodynamic model is that the flow pattern transitions, slug characteristics, liquid holdup and
pressure gradient are implicitly related.
The 3-phase model contains separate momentum balances for the gas, oil and water phases. The
model determines whether the oil and water phases are separated or fully mixed. If the phases are
separated, individual phase viscosities are used. If the phases are fully mixed, the liquid viscosity
can be determined either by the method within the TUFFP model (emul default option) or
overridden (emul override option) by the liquid viscosity method defined with the PIPESIM fluid
model, which is useful when rheology data are available. In the latter case, for black oil fluid
models, selecting the Brinkman emulsion viscosity method with the Brauner-Ullman watercut cutoff
method will replicate the method used within the TUFFP model. For the 2-phase (gas-liquid)
model, the liquid viscosity from PIPESIM is always used, so the emulsion options defined in the
PIPESIM fluid definition always apply.
The closure relationships included in the model are based on focused experimental research
programs at University of Tulsa and elsewhere. As new and improved closure relationships
become available, the TUFFP Unified Model is updated and validated.

Note: The TUFFP Unified 2-Phase Model v 2007.1 is no longer supported in PIPESIM. Upon
import, TUFFPU2P is used instead.

Xiao
The Xiao comprehensive mechanistic model was developed as part of the TUFFP research
program. It was developed for gas-liquid two-phase flow in horizontal and near horizontal pipelines.
The model first predicts the existing flow pattern, and then calculates flow characteristics, primarily
liquid holdup and pressure drop, for the stratified, intermittent, annular, or dispersed bubble flow

Technical Description
409
PIPESIM User Guide

patterns. The model was tested against a pipeline data bank. The data bank included large
diameter field data culled from the AGA multiphase pipeline data bank, and laboratory data
published in literature. Data included both black oil and compositional fluid systems. A new
correlation was proposed which predicts the internal friction factor under stratified flow. The former
has the advantage of making the film friction sensitive to both the gas and liquid velocities making
the model as a whole more interconnected and a better holdup predictor. The Xiao et al. model is
valid for all fluid types and pipe inclinations between -15º C and +15º C relative to horizontal.

Xiao (film modified)


The Xiao mechanistic model was developed as part of the TUFFP research consortia at the
University of Tulsa (p.675). The standard implementation was modified in the stratified flow pattern
to produce a second method called Xiao film modified. Unlike the Baker-Jardine implementation
(which is based on the TUFFP version of the code, yet also contains a film modification), the
Neotec version was coded independently and therefore the numerical methods and film
modification approach are slightly different.
The modification consists of using the Ouyang and Aziz (p.672) two-phase correlation for film wall
friction instead of the more traditional single phase correlation. The former has the advantage of
making the film friction sensitive to both the gas and liquid velocities making the model as a whole
more interconnected and a better holdup predictor. The Xiao et al. model is valid for all fluid types
and pipe inclinations between -15degC and +15degC relative to horizontal.

7.1.3 Vertical multiphase flow correlations


Setup » Flow Correlations
See also: Flow regimes (p.403), Suggested flow correlation (p.416)
The flow correlations available are affected by the Moody friction Factor calculation method option.
By default, PIPESIM uses the Sonnad (p.674) explicit Moody friction factor calculation method.
The following vertical multiphase flow correlations are available:

Ansari
The Ansari mechanistic model was developed as part of the Tulsa University Fluid Flow Projects
(TUFFP) research program. A comprehensive model was formulated to predict flow patterns and
the flow characteristics of the predicted flow patterns for upward two-phase flow. The
comprehensive mechanistic model is composed of a model for flow pattern prediction and a set of
independent models for predicting holdup and pressure drop in bubble, slug, and annular flows.
The model was evaluated by using the TUFFP well databank that is composed of 1775 well cases,
with 371 of them from Prudhoe Bay data.

Aziz, Govier, and Fogarasi


The Aziz, Govier, and Fogarasi model was developed especially for wellbore pressure drop
calculations for upward flow in production wells. The flow regime (for example, annular-mist, slug,
etc.) is determined using the correlation of Govier and Aziz (1972). The flow pattern is predicted
first, and then a corresponding correlation is used to calculate liquid holdup and frictional pressure
loss. The Duns and Ros method is used for holdup and pressure calculations in the annular mist
flow regime as recommended in the published work.

Technical Description
410
PIPESIM User Guide

The correlation of Aziz, Govier, and Forgasi is used for pressure loss, holdup, and flow regime.
The Govier, Aziz, and Fogarasi correlation was developed following a study of pressure drop in
wells producing gas and condensate. Actual field pressure drop versus flowrate data from 102
wells with gas-liquid ratios ranging from 3,900 to 1,170,000 scf/bbl were analyzed in detail. The
phase conditions in the well bore were determined by standard flash calculations. Pressure-
gradient data for flow under single-phase conditions were compared with conventional predictions,
and found generally to confirm them. For the test in which two-phase conditions were predicted
throughout the well bore, the field data were compared with several wholly empirical prediction
methods, with a previously proposed method, and with a new prediction method partly based on
the mechanics of flow. The new prediction method incorporates an empirical estimate of the
distribution of the liquid phase between that flowing as a film on the wall and that entrained in the
gas core. It employs separate momentum equations for the gas-liquid mixture in the core and for
the total contents of the pipe.

Note: This method tends to overpredict the minimum stable flow rate (minimum rate to lift liquids)
and thus can overpredict pressure losses, especially for gas-water wells. Consider the Gregory
method instead.

Beggs and Brill original


ORIGINAL: The Original Beggs and Brill (p.665) correlation is used for pressure loss and holdup.
Flow regime is determined by either the Beggs and Brill or Taitel Dukler correlation. The Beggs
and Brill correlation was developed following a study of two-phase flow in horizontal and inclined
pipes. The correlation is based upon a flow regime map which is first determined as if the flow was
horizontal. A horizontal holdup is then calculated by correlations, and this holdup is corrected for
the angle of inclination. The test system included two 90 ft long acrylic pipes, winched to a variable
elevation in the middle, so as to model incline flow both upwards and downwards at angles of up to
90°.

Beggs and Brill revised


REVISED: As above except that the revised version of the Beggs and Brill correlation is used, with
rough pipe friction factors, holdup limiters and corrective constants as proposed by Palmer (p.672)
and Payne (p.673). The following enhancements to the original method are used; (1) an extra flow
regime of froth flow is considered which assumes a no-slip holdup, (2) the friction factor is changed
from the standard smooth pipe model, to utilize a single phase friction factor based on the average
fluid velocity.

Duns and Ros


The Duns and Ros correlation is used for pressure loss and holdup with flow regime determination
by either the Duns and Ros (p.667) or the Taitel (p.675) Dukler (p.667) correlations. The Duns
and Ros correlation was developed for vertical flow of gas and liquid mixtures in wells. Equations
were developed for each of three flow regions, (I) bubble, plug and part of froth flow regimes, (II)
remainder of froth flow and slug flow regimes, (III) mist flow regime. These regions have low,
intermediate and high gas throughputs respectively. Each flow region has a different holdup
correlation. The equations were based on extensive experimental work using oil and air mixtures.

Technical Description
411
PIPESIM User Guide

Gomez
The Gomez mechanistic flow model was developed at The University of Tulsa (p.668), and the
code written by Neotec based on the published work.
The Gomez et al. model is valid for all fluid types and inclinations between 0 and 90degrees.
(Recommended for 30-90 degrees).

Note: The Gomez model generally causes very slow runtimes.

Gomez enhanced
The standard Gomez et al. implementation was modified by Neotec to produce the Gomez et al.
enhanced method.
The modification consists of using the Oliemans (p.672) liquid entrainment correlation for vertical
annular mist flow instead of the standard Wallis correlation. Even though the Oliemans correlation
was developed using low pressure, mainly water-air, small diameter data, it does a good job of
smoothing the response surface around the slug to annular mist transition region where the Gomez
et al. correlation shows unusual behavior. This improves the statistical performance of this method
in simulations of gas-lift wells as shown by Adames (p.664). The result is an improved method that
works well for all types of wells.

Note: The Gomez model generally causes very slow runtimes.

Govier and Aziz


The correlation of Aziz, Govier, and Forgasi (p.664) is used for pressure loss, holdup, and flow
regime. The Govier, Aziz, and Fogarasi correlation was developed following a study of pressure
drop in wells producing gas and condensate. Actual field pressure drop versus flowrate data from
102 wells with gas-liquid ratios ranging from 3,900 to 1,170,000 scf/bbl were analyzed in detail.
The phase conditions in the well bore were determined by standard flash calculations. Pressure-
gradient data for flow under single-phase conditions were compared with conventional predictions,
and found generally to confirm them. For the test in which two-phase conditions were predicted
throughout the well bore, the field data were compared with several wholly empirical prediction
methods, with a previously proposed method, and with a new prediction method partly based on
the mechanics of flow. The new prediction method incorporates an empirical estimate of the
distribution of the liquid phase between that flowing as a film on the wall and that entrained in the
gas core. It employs separate momentum equations for the gas-liquid mixture in the core and for
the total contents of the pipe.

Gray
The Gray Vertical Flow correlation is used for pressure loss and holdup. This correlation was
developed by H E Gray of Shell Oil Company for vertical flow in gas and condensate systems
which are predominantly gas phase. Flow is treated as single phase, and dropped out water or
condensate is assumed to adhere to the pipe wall. It is considered applicable for vertical flow
cases where the velocity is below 50 ft/s, the tube size is below 3.5 in, the condensate ratio is
below 50 bbl/mmscf, and the water ratio is below 5 bbl/mmscf.

Technical Description
412
PIPESIM User Guide

Gray modified
As above, but with the following modifications: (1) Actual Reynolds number used (Gray Original
assumed Reynolds number to always be 1 million), and (2) Pseudo-roughness is constrained to be
less than the pipe radius.

Gregory
The Gregory et al model (1989) is a modification of the Aziz, Govier, and Fogarasi (1972) method
(described in Aziz, Govier, and Fogarasi (p.664)). The Gregory et al model uses the Govier and
Aziz flow pattern map (1972) except for the transition from annular-mist flow to froth flow. The
transition between annular-mist (stable flow) and froth flow (unstable flow) is computed using the
technique proposed by Turner et al (1969). Turner et al postulated that the minimum gas velocity
required to lift liquids would correspond to the terminal velocity of the largest stable liquid droplet
that would form. The Gregory model uses the procedure recommended by Coleman which does
not include the 20% increase in velocity added by Turner. If the gas velocity (superficial gas
velocity divided by the gas volume fraction in the input stream) is larger than the velocity expressed
in the equation below, the flow pattern will be annular-mist, otherwise froth flow will be assumed.

where

gas-liquid surface tension (dynes/cm)

droplet drag coefficient

liquid density (lbm/ft3)

gas density (lbm/ft3)

velocity at the boundary between froth and annular-mist (ft/s)

liquid input volume fraction


The rest of the calculations are the same as for the Aziz, Govier, and Fogarasi method (described
in Aziz, Govier, and Fogarasi), with the exception that the parameter

(required for froth flow calcuations) is computed as shown in the following equation:

Technical Description
413
PIPESIM User Guide

A default value of 0.44 (which corresponds to a spherical droplet shape) is provided for the droplet
drag coefficient. Additionally, the Gray modified method for pressure drop is used instead of the
Duns and Ros method in the annular-mist regime.

Hagedorn and Brown


The correlation of Hagedorn and Brown (p.669) is used for pressure loss and holdup. While the
Hagedorn and Brown correlation does not predict flow pattern, the flow pattern as predicted by
Orkiszewski is reported. The Duns and Ros flow pattern prediction can also be reported. Neither of
these flow pattern prediction methods affects any of the calculations. The Hagedorn and Brown
correlation was developed following an experimental study of pressure gradients occurring during
continuous two-phase flow in small diameter vertical conduits. A 1,500 ft experimental well was
used to study flow through 1 in., 1.25 in., and 1.5 in. nominal size tubing. Air was the gas phase
and four different liquids were used: water and crude oils with viscosities of about 10, 30 and 110
cp. Liquid holdup was not directly measured, rather a pseudo liquid-holdup value was determined
that matched measured pressure gradients.
Further work by Brill and Hagedorn have led to two modifications: (1) If the Griffith and Wallis
criteria predicted the occurrence of bubble flow, the Griffith bubble-flow method should be used to
predict pressure gradient, and (2) If the predicted liquid holdup is less than the no-slip liquid
holdup, then the no-slip liquid holdup is used.
All of the correlations involve only dimensionless groups, which is a condition usually sought for in
similarity analysis but not always achieved.

Mukherjee and Brill


The Mukerjee and Brill (p.671) correlation is used for Pressure loss, Holdup and flow map. Note:
selection of alternative flow maps and/or holdups will cause unpredictable results. The Mukherjee
and Brill correlation was developed following a study of pressure drop behavior in two-phase
inclined flow. For bubble and slug flow, a no-slip friction factor calculated from the Moody diagram
was found adequate for friction head loss calculations. In downhill stratified flow, the friction
pressure gradient is calculated based on a momentum balance equation for either phase assuming
a smooth gas-liquid interface. For annular-mist flow, a friction factor correlation was presented that
is a function of holdup ratio and no-slip Moody friction factor. Results agreed well with the
experimental data and correlations were further verified with Prudhoe Bay and North Sea data.

NOSLIP correlation
The NOSLIP correlation assumes homogeneous flow with no slip between the phases. Fluid
properties are taken as the average of the gas and liquid phases and friction factors are calculated
using the single phase MOODY correlation. Note: selection of alternative flow maps and/or holdups
will cause unpredictable results.

OLGAS 2-phase/OLGAS 3-phase


The OLGAS mechanistic models are applicable for all inclination angles, pipe diameters and fluid
properties. The 2-phase Bendiksen (p.665) model considers gas-liquid flow, whereas the 3-phase
model considers gas-oil-water flow.

Technical Description
414
PIPESIM User Guide

This model employs separate continuity equations for gas, liquid bulk and liquid droplets, which are
coupled through interphase mass transfer. Two momentum equations are solved: one applied to
the combined balance for the gas and liquid droplets, if present, and a separate momentum
equation for the liquid film. OLGAS considers four flow regimes: stratified, annular, slug and
dispersed bubble flow; and uses a unique minimum slip criteria to predict flow regime transitions.
The OLGA 2-Phase model uses the liquid viscosity model defined within the PIPESIM fluid
property definition. The 3-Phase model uses the Pal and Rhodes emulsion correlation to calculate
liquid viscosity based on the oil and water viscosities defined with the PIPESIM fluid model
definition; liquid viscosity options defined with the PIPESIM fluid model are ignored.
OLGAS is based in large part on data from the SINTEF multiphase flow laboratory near
Trondheim, Norway. The test facilities were designed to operate at conditions that approximated
field conditions. The test loop is 800 m long and 8 inches in diameter. Operating pressures
between 20 and 90 barg were studied. Gas superficial velocities of up to 13 m/s, and liquid
superficial velocities of up to 4 m/ s were obtained. In order to simulate the range of viscosities and
surface tensions experienced in field applications, different hydrocarbon liquids were used (naptha,
diesel, and lube oil). Nitrogen was used as the gas. Pipeline inclination angles between 1° were
studied in addition to flow up or down a hill section ahead of a 50m high vertical riser. Over 10,000
experiments were run on this test loop during an eight year period. The facility was run in both
steady state and transient modes.

LEDA 2-phase/3-phase
The (Leda Point Model (PM)) is a mechanistic model applicable for all inclination angles, pipe
diameters and fluid properties. The 2-phase model considers gas-liquid flow whereas the 3-phase
model considers gas-oil-water flow.
The 3-phase Leda PM considers 9 fields in the mass (continuity) equations (oil, gas, water, oil in
gas and water, gas in oil and water, water in oil and gas). Separate momentum equations are
solved for oil, gas and water.
The 2-phase Leda PM considers 4 fields in the mass (continuity) equations (liquid, gas, liquid in
gas and gas in liquid. Separate momentum equations are solved for gas and liquid phases. The
flow regimes predicted by LedaPM are stratified smooth flow, stratified wavy flow, slug flow,
annular and bubbly flow. The Leda 2-phase model uses the liquid viscosity associated with the
fluid model defined in PIPESIM. The Leda 3-phase model assumes that the liquid viscosity is equal
to that of the continuous phase; liquid viscosity options defined with the PIPESIM fluid model are
ignored. The continuous phase is determined by the Brauner-Ullman (p.665) inversion criteria.
The Leda Point Model is the steady-state version of the transient model developed by SINTEF in
collaboration with Total and ConocoPhillips and commercialized by Kongsberg. The model has
been calibrated against data collected at the SINTEF Multiphase Flow Laboratory near Trondheim
Norway. Over 10,000 experimental data points have been collected for single-phase, two-phase
(oil-water, water-gas) and three-phase (oil-water-gas) flow. Pipe diameters ranging from 4-12”
were used at pressures up to 90 barg. The models have been validated with field data supplied by
ConocoPhillips and Total.

Orkiszewski
The Orkiszewski (p.672) correlation is used for pressure loss, holdup, and flow regime. The
Orkiszewski correlation was developed for the prediction of two phase pressure drops in vertical

Technical Description
415
PIPESIM User Guide

pipe. Four flow regimes were considered, bubble, slug, annular-slug transition, and annular mist.
The method can accurately predict, to within 10%, the two phase pressure drops in naturally
flowing and gas lifted production wells over a wide range of well conditions. The precision of the
method was verified when its predicted values were compared against 148 measured pressure
drops. Unlike most other methods, liquid holdup is derived from observed physical phenomena,
and is adjusted for angle of deviation.

TUFFP unified mechanistic model (2-phase and 3-phase)


The TUFFP Unified Mechanistic Model is the collective result of many research projects performed
by the Tulsa University Fluid Flow Projects (TUFFP) research consortium. The model determines
flow pattern transitions, pressure gradient, liquid holdup and slug characteristics. A 2-phase
version is available for gas-liquid flow Zhang et.al, development (p.675) and validation (p.675)]
and a 3-phase version is available for gas-oil-water pipe flow [Zhang and Sarica (p.676)]. The
model is valid for all inclination angles, pipe diameters and fluid properties.
The principle concept underlying the model is the premise that slug flow shares transition
boundaries with all the other flow patterns. The flow pattern transition from slug flow to stratified
and/or annular flow is predicted by solving the momentum equations for slug flow. The entire film
zone is treated as the control volume and the momentum exchange between the slug body and the
film zone is introduced into the combined momentum equation. This approach differs from
traditional methods of using separate models for each transition. The advantage of a single
hydrodynamic model is that the flow pattern transitions, slug characteristics, liquid holdup and
pressure gradient are implicitly related.
The 3-phase model contains separate momentum balances for the gas, oil and water phases. The
model determines whether the oil and water phases are separated or fully mixed. If the phases are
separated, individual phase viscosities are used. If the phases are fully mixed, the liquid viscosity
can be determined either by the method within the TUFFP model (emul default option) or
overridden (emul override option) by the liquid viscosity method defined with the PIPESIM fluid
model, which is useful when rheology data are available. In the latter case, for black oil fluid
models, selecting the Brinkman emulsion viscosity method with the Brauner-Ullman watercut cutoff
method will replicate the method used within the TUFFP model. For the 2-phase (gas-liquid)
model, the liquid viscosity from PIPESIM is always used, so the emulsion options defined in the
PIPESIM fluid definition always apply.
The closure relationships included in the model are based on focused experimental research
programs at University of Tulsa and elsewhere. As new and improved closure relationships
become available, the TUFFP Unified Model is updated and validated.

Note: The TUFFP Unified 2-Phase Model v 2007.1 (available in PIPESIM 2012 and previous) is no
longer supported in PIPESIM. Upon import, TUFFP version 2011.1 is used instead.

7.1.4 Suggested correlations


Use the Flow correlations tab to set flow correlation options at the global level or at local levels. If
you set flow correlation options at the local level, the source, correlation, friction factor, and holdup
factor appear as individual columns for both vertical and horizontal components.

Technical Description
416
PIPESIM User Guide

If no production data are available, Schlumberger have found the following to give satisfactory
results based on previous studies using field data:
Single phase system
Moody (p.419)
Vertical oil well
OLGA-S (p.414), Hagedorn and Brown (p.414), Gregory, TUFFP
Highly deviated oil well
OLGA-S (p.414), Hagedorn and Brown (p.414), Duns and Ros (p.411), TUFFP
Gas/condensate well
OLGA-S (p.414), Hagedorn and Brown (p.414), Gregory, TUFFP
Oil pipelines
OLGA-S (p.414), Oliemans (p.409), TUFFP
Gas/condensate pipelines
OLGA-S (p.414), Baker Jardine (p.405), TUFFP

Correlation Vertical and Highly Vertical Gas/ Oil Gas/


Predominantly Deviated Condensate Pipelines CondensatePipelines
Vertical Oil Oil Wells Wells (p.410) (p.405) (p.405)
Wells (p.410) (p.410)
Duns and Ros yes yes yes no no
Orkiszewski yes no yes no no
Hagedorn and yes no yes no no
Brown
Beggs and Brill yes yes yes yes yes
Revised
Beggs and Brill yes yes yes yes yes
Original
Mukherjee and yes yes yes yes yes
Brill
Govier, Aziz yes yes yes no no
and Forgasi
NoSlip yes yes yes yes yes
OLGAS yes yes yes yes yes
Ansari yes no yes no no
BJA for no no yes no yes
Condensates
AGA and no no no no yes
Flanigan
Oliemans no no no yes yes

Technical Description
417
PIPESIM User Guide

Gray no no yes no no
Gray Modified no no yes no no
Xiao no no no yes yes
LEDA yes yes yes yes yes
TUFFP yes yes yes yes yes
Gregory yes no yes no no

7.1.5 Friction and holdup factors


These two factors can be used to adjust the friction and holdup prediction of a particular flow
correlation. By default these factors are 1.
A linear relationship is used for the friction pressure drop. Setting the friction factor to 0.5, for
example, will mean that the friction element of pressure drop computed by the correlation will be
halved.

A non-linear relationship is used to calculate the liquid holdup H L from the value predicted by the
correlation H Lc :

H L = f H ⋅ H Lc + (1 − f H ) ⋅ H Lc
2
Eq. 7.1

This ensures that the liquid holdup is sensible 0 ≤ H L ≤ 1 when 0 ≤ f H ≤ 2.


These factors are often used as calibration factors when a good match to field data cannot be
obtained by any other method. Changing these factors will affect the results and should be
undertaken with care.

7.1.6 Single phase flow correlations


See also: SPHASE Single Phase Flow Options (p.730)
The steady-state pressure gradient in single phase sections is given by the equation:

dp
dL
=
dp
dL ( ) elev .
+ ( dLdp ) fric .
+ ( dLdp )
acc .
Eq. 7.2

where elevation, friction and acceleration components of the pressure drop are:

( dLdp ) elev .
= − ρg sin θ Eq. 7.3

( dLdp ) fric .
= −
fρv
2D
Eq. 7.4

( dLdp ) acc .
= − ρv
dv
dL
Eq. 7.5

where

Technical Description
418
PIPESIM User Guide

f is the friction factor dimensionless


ρ is the fluid density lb / ft
3

v is the fluid velocity ft / s


g is the gravitational acceleration ft / s
2

θ is the angle of the pipe to the horizontal degrees


D is the pipe diameter ft
L is the length of the pipe ft

There are a number of different ways of calculating the friction factor, which usually depends on
the Reynolds number:
ρvD
Re = Eq. 7.6
μ
where:

μ is the fluid viscosity lb / ft ⋅ s

Moody (default for liquid or gas)


See Sonnad and Goudar paper (p.674) and Moody paper (p.671) for more technical details.

For laminar flow (Re < 2000) 64


f Lam =
Re
For turbulent flow (Re > 4000) 1
f Turb
1/2 = a ln ( qc + δ )
For transition flow (2000 ≤ Re ≤ 4000) (Re − Remin )( f Turb − f Lam )
f = + f Lam
(Remax − Remin )
where:

f Turb is the Moody friction factor


Re is the Reynolds Number
a 2
is
ln (10)
ϵ is the pipe roughness
D is the pipe diameter
b ϵ /D
is
3.7

Technical Description
419
PIPESIM User Guide

c
is ( ln5.02
(10)
)Re
s is bc + ln (c)
q
is s s /(s +1)
z
is ln ( gq )
g
( qc )
is bc + ln

is (
g +1)
δ g
z

The friction factor is interpolated in the transition region (2000 < Re < 4000). The limits for the
transition zone and the interpolation method can be reset by the user.
The various friction factor calculation methods available are:

Friction Factor Approximation used Equation


Calculation method
EXPLICIT or SONNAD Sonnad 2007 linear
approximation (default)
f Turb
1
1/2 = a ln ( qc + δ )

( )
APPROXIMATE or Moody 1947 6 1/3
MOODY approximation ϵ 10
f Turb = 0.0055 1 + 20000 +
D Re
IMPLICIT or ITERATIVE Colebrook-White
equation (Moody chart)
f Turb
1
1/2 = 1.74 − 2log10
( 2ϵ
D
+
18.7
Re f Turb
1/2
)
AGA (for gas)
The AGA friction factor is the same as the Moody friction factor at high and low Reynolds numbers,
but differs in between:

For laminar flow (Re < 1000) 64


f =
Re
For transition flow

(1000 < Re < 4


c2 3.7D
c1 ϵ
( ) /
1 c1
log10 ( 3.7 D
ϵ )) f
1
1/2 = 2c1log
10 ( Re c1
2 c
2
f
1/2
)

Technical Description
420
PIPESIM User Guide

For turbulent flow


c2 3.7D
1
1/2 = 2log10 ( 3.7ϵ D ) = 1.74 − 2log ( 2Dϵ )
10
(Re > 4
c ϵ ( )
1 c1
/ log10( 3.7D
ϵ )) f
1

where:

c1 = 0.98 is the drag factor

c2 = 10
0.15 is a constant

Cullender and Smith (for gas)


The total pressure drop can be calculated from

dp pdown − pup
=
dL L
where:
2 2
2
pdown − a
pup =
b
where:
2 2 2
2
25 f qvG T̄ ZG (b − 1)
a = 5
0.0375(12 D )

b = exp ( 0.0375 γG L
T̄ ZG
)
f is the Moody friction factor dimensionless
L is the pipe length ft
pdown is the downstream pressure psi

pup is the upstream pressure psi

qvG is the stock tank gas volume flow rate scf / day

T̄ is the average temperature °R


ZG is the gas compressibility factor dimensionless

γG is the gas specific gravity dimensionless

Technical Description
421
PIPESIM User Guide

Other friction pressure drops for gas


The friction pressure drop can be calculated from

( dLdp ) fric .
=
pdown − pup
L
where:

( )( )
2 a4 1/a3
2 2
T̄ ZG L ps 1 qvG γG
pup − pdown = ⋅ ⋅
5280 Ts a1 η (12 D )a5

where:

L is the pipe length ft


pdown is the downstream pressure psi

pup is the upstream pressure psi

ps is the stock tank pressure psi

qvG is the stock tank gas volume flow rate scf / day

T̄ is the average temperature °R


Ts is the stock tank temperature °R

ZG is the gas compressibility factor dimensionless

γG is the gas specific gravity dimensionless

η is a flow efficiency factor dimensionless

and the constants are given by

a1 a3 a4 a5
Panhandle A 435.87 0.5394 0.4604 2.618
Panhandle B 737.00 0.5100 0.4900 2.530
Weymouth 433.50 0.5000 0.5000 2.667

Hazen-Williams (for liquid water)


The friction pressure drop can be calculated from:

( )
1.85

( )
dp
dL fric .
=
0.015 ρm
144(12 D )
4.87 ⋅
qvL
c
Eq. 7.7

Technical Description
422
PIPESIM User Guide

where:

c is the pipe condition factor

qvL is the liquid volume flow rate bbl / day

ρm is the mixture density lb / ft


3

7.1.7 Swap angle


The multiphase flow correlations used to predict the pressure loss and holdup are split into two
categories: vertical and horizontal. Each category lists the correlations that are appropriate for that
type of flow.
By default the selected vertical correlation is used in the situation where the tubing/pipe is at an
angle greater than 45 degrees from the 0 degree axis. For angles that are less than or equal to 45
degrees, the selected horizontal correlation is used. This angle can be changed.

Related links:
Run data matching (p.289)

7.1.8 deWaard (1995) corrosion model


The de Waard model (p.666) predicts the corrosion rate of carbon steel in the presence of water
and CO2. The model was developed primarily for use in predicting corrosion rates in pipelines

Technical Description
423
PIPESIM User Guide

where CO2 is present in a vapor phase. The model has not been validated at high pressures where
CO2 is entirely in the liquid phase. Corrosion rate is calculated as a function of:
• Temperature
• Pressure
• Mol% CO2
• Wt% Glycol (Multiflash and ScaleChem only)
• Liquid velocity
• Pipe Diameter
• pH
The model accounts for the flow-independent kinetics of the corrosion reaction as well as the flow-
dependent mass transfer of dissolved CO2 using a resistance model. Additionally, effects of
protective scale at high temperatures are considered in addition to glycol inhibition.

Note: The equations that follow are based on the de Waard 1995 model (p.666). This model is a
revision to the de Waard 1991 model (p.667). Some of the equations below appear only in the
original paper].

General Equation

CcFsFg
Vcor =
1 1 Eq. 7.8
+
Vr Vm

CO2 Partial Pressure/Fugacity

(mole % CO2 * Ptotal )


pCO2 = Eq. 7.9
100

1.4
log ( f CO 2) = log ( pCO2) + (.0031 − )P
t + 273

Reaction Rate term (Vr)


1119
log (Vr ) = 4.93 − + 0.58log ( fCO2) − .34( pH act − pH CO 2) Eq. 7.10
T

pH
By default, the correlation assumes that the actual pH of the water is affected strictly by the
presence of CO2. However, the user may specify the actual pH of a water sample that accounts for
the additional presence of electrolytes and dissolved FeCO3 liberated from the pipe wall. Since pH
is dependent on pressure and temperature, care must be taken when specifying this value. If a
ScaleChem generated PVT file is used, the actual pH is taken from the ScaleChem fluid
description.

Technical Description
424
PIPESIM User Guide

pH CO 2 = 3.82 + .00384t − 0.5log ( fCO2) Eq. 7.11

pHact = assumed to equal pHco 2 unless user specified or ScaleChem PVT file is used

Mass Transfer rate term (Vm)


0.8
UL
Vm = 2.45 0.2 fCO2 Eq. 7.12
d

Effect of Temperature (protective scale)


2400
Ts = Eq. 7.13
6.7 + 0.44log ( fCO2)

(if T > Ts)

1 1
log (Fs ) = 2400 − Eq. 7.14
T Ts
Else,
Fs = 1 Eq. 7.15

Glycol Reduction Effect

log F g = 1.6 log (W % ) − 2 Eq. 7.16

Where W% is the weight percent of water in a water-glycol mixture (100% water results in a factor
of 1.0). The Glycol component is only available when using Multiflash (MEG or DEG) or with
ScaleChem (MEG).

Variable Units Description Default Acceptable Variable


Input Range Source
Vcor (mm/yr) corrosion rate calc
T temperature pipesim

t temperature pipesim

pCO2 atm partial pressure of CO2 calc


fCO2 atm, fugacity of CO2 calc
mol%CO2 — mol % CO2 (comp, BO, pipesim
ScaleChem PVT file)
Ptotal atm pressure pipesim
pHact — actual pH of the system pHco2 1.0–10.0 user spec

Technical Description
425
PIPESIM User Guide

Variable Units Description Default Acceptable Variable


Input Range Source
pHCO2 — pH of dissolved CO2 in pure water calc
UL m/s liquid velocity pipesim
d m/s pipe diameter pipesim
W% fraction Weight percent water in a water- 100 pipesim
glycol mixture
Ts Vcor inversion temperature calc

Fs — scaling factor calc


Cc — multiplier to correct for inhibitor 1 0.1–10.0 user spec
efficiency or match to field data

7.1.9 Cunliffe's method for ramp up surge


When the flow rate into a pipeline increases, the overall liquid holdup typically decreases because
the gas can more efficiently sweep out the liquid phase. When a rate increase (ramp-up) occurs,
the liquid volume in the pipeline is accelerated resulting in a surge. A ramp-up operation is
illustrated in the figure below.

PIPESIM predicts the liquid surge rate using Cunliffe's Method. Cunliffe's Method predicts the
liquid surge rate due to an overall gas rate change for condensate pipelines. This method is
particularly useful for estimating liquid handling capacity for ramp-up (increasing gas rate) cases.
As the gas rate increases, the total liquid holdup in the line will drop owing to less slippage
between the gas and liquid phases. The liquid residing in the line is therefore accelerated to the
equilibrium velocity at the final gas rate and thus expelled at a rate higher than the final equilibrium
liquid rate for the duration of the transition period. The transition period is assumed to be equal to
the residence time at the final gas rate, that is, the time it takes the liquid to travel from one end of
the line to the other.
The average liquid rate during the transition period can be determined as follows:

(H L Ti − HL
Tf
)
qL = qL +
T i tr

Technical Description
426
PIPESIM User Guide

qL = qG ( LGR out )
t i

HL
Tf
tr =
qL
i
where:

liquid rate during the transition period


qL
T
initial liquid rate
qL
i
total liquid holdup volume in line - initial gas rate
qG = H L
i T
total liquid holdup volume in line - final gas rate
HL
Tf

LGR out liquid/gas ratio at outlet pressure (assumed constant)

tr liquid residence time (at final flowrate)

Note: The total liquid holdup volume in the line is provided in the summary output report. Cunliffe
tested this method with field measurements for a 67 mi. 20 in. pipeline with an average operating
pressure of 1300 psig and an LGR of 65 bbl/MMscf. He found that the change in condensate flow
rate can be predicted to within 15% using this method.

Reference: Cunliffe, R.: "Prediction of Condensate Flow Rates in Large Diameter High Pressure
Wet Gas Pipelines", APEA Journal (1978), 171-177.

7.1.10 Liquid by sphere (Sphere Generated Liquid Volume, SGLV)


During a pigging operation, a solid object of diameter slightly less than that of the pipeline is sent
through the line to push out liquids and debris. As a pipeline is pigged (refer to the figure below), a
volume of liquid builds up ahead of the pig and is expelled into the slug catcher as the pig
approaches the exit.

Technical Description
427
PIPESIM User Guide

PIPESIM considers that the pig travels at the mean fluid velocity. It uses the liquid holdup in the
pipeline to calculate the volume of liquid that will be swept along in front of the pig as it moves. This
calculation is reported as the sphere generated liquid volume (SGLV). Two approaches are
available in PIPESIM for calculating SGLV:
1. SGLV Modified: This method was introduced in PIPESIM 2015 and is the new PIPESIM default.
The SGLV Modified method is consistent with the method used in PIPEFLO and is the method
recommended by Shell.
2. SGLV Original: This is the only method available in PIPESIM versions older than PIPESIM
2015.1 and PIPESIM 2012.3.
Calculations using the SGLV Modified method will result in SGLV values slightly less than those
predicted using the SGLV Original method. The two approaches PIPESIM uses for evaluating
SGLV are steady-state approximations of pigging, which is a transient operation.

SGLV Modified (Default)


This method compares the steady-state liquid production when a pig is transiting a pipeline, with
the liquid holdup volume or liquid inventory in the pipeline. If the steady state liquid production is
less than the liquid holdup, liquid will accumulate in front of the pig. This difference between the
liquid holdup in the pipe and the steady state liquid production while the pig is transiting the pipe, is
the surge volume associated with the pig or the sphere generated liquid volume. It is evaluated
with the equation below.

The modified SGLV method is the default in PIPESIM 2015.1 and 2012.3 and newer versions.
However, the original SGLV method can be accessed using the SGLV ORIGINAL (p.722)
keyword. The sphere transit time and sphere dumping time can now also be requested as output
variables.

Technical Description
428
PIPESIM User Guide

SGLV Original
The liquid holdup throughout the pipe is divided into two notional fractions, the 'moving' and the
'static'. Since the liquid normally flows slower than the gas, the division will normally result in a
positive value for both of these volumes. (If the pipe goes downhill the liquid often flows faster, so
the 'static' will be negative in these sections, but this does not affect the equation.) If the fluid's
phase split is assumed to be constant throughout the pipe, the size of the slug that issues when
sphered can be calculated using the following formula:

SGLV = ( TPVSLV
− MLV )
× MLV + SLV Eq. 7.17

where:
SGLV is Sphere Generated Liquid Volume
SLV is Static Liquid Volume in pipe
MLV is Moving Liquid Volume in pipe
TPV is Total Pipeline Volume

Note: SLV + MLV = Total pipeline holdup, which PIPESIM calculates and writes to the summary
output.

The slug of liquid starts to be produced from the pipe outlet when the pipe is full of liquid from its
exit, back along to the position of the sphere. The liquid in the slug comprises 2 notional fractions:
firstly, the entire SLV in the pipe, and secondly, the portion of the MLV that lies between the sphere
and the outlet. Now, the maximum volume available for the SLV to occupy in the pipe is TPV -
MLV. Dividing the actual SLV by this maximum value gives us the position of the sphere in the pipe
as a value between 0 and 1, where 0 is the outlet. Multiplying the total MLV by the sphere position
gives us the portion of the total MLV that is entrained in the slug, so adding this to the SLV gives
the total slug volume or the total sphere generated liquid volume (SGLV).
The liquid holdup is calculated from the integration of the predicted holdup from the selected
Multiphase Flow Correlation (MFC) along the entire pipeline length. The pipeline is simulated in
segments, each of which has a length and cross sectional area, which multiplied together yields
the segment volume. The MFC calculates a value for holdup in the range 0 to 1 for each segment,
which when multiplied by the segment volume gives the holdup for each segment. The holdups for
all the pipe segments are added together to determine the total holdup for the pipeline as reported
in the summary file.
When a sphere is introduced into the pipeline, PIPESIM assumes it travels at the mean fluid
velocity; as a result of this, a liquid slug will gather in front of the sphere made up of "all the liquid
that is flowing slower than the mean fluid velocity in the pipeline at any given point". Thus the
crucial value that determines Sphere Generated Liquid Volume (SGLV) is the Slip Ratio (SR)
between the fluid phases, which is the average velocity of the fluid divided by the velocity of the
liquid. If the liquid and gas move at the same speed, the slip ratio will be 1, that is there is 'no slip'
between the phases. In this scenario, no liquid will accumulate in front of the sphere, so the SGLV
will be zero. Normally the liquid flows slower than the gas, i.e. the slip ratio is greater than 1, so
"some" of the liquid in the pipeline accumulates in front of the sphere to form the SGLV. The only
way that "all" of the liquid in the pipeline accumulates to form the SGLV, is if the liquid velocity is

Technical Description
429
PIPESIM User Guide

zero, i.e. the slip ratio is infinite. This cannot happen in a steady-state reality, so the SGLV is
always smaller than the total liquid holdup.
One complicating factor is that there will be a significant time lag between the time the slug of liquid
swept up by the sphere begins to emerge from the pipe outlet and the time the sphere itself
emerges. The slug will thus be composed of the liquid that accumulated in front of the sphere as it
traveled along the pipeline, plus the normal liquid production of the system. This total volume is the
value required to size the slug catcher, which is why we report it as "Volume by sphere".
To determine the sizes of terrain slugs or slugs from start-up, it is necessary to use a dynamic
multiphase flow simulator such as OLGA.
Related links:
SLUG Slug Calculation Options (Optional) (p.722)

7.1.11 Liquid loading


Critical unloading velocity
The critical unloading velocity is defined as the minimum gas velocity required to lift liquid droplets
out of a gas well. Lower flowing gas velocities will result in liquid loading in the well. The critical
unloading velocity is predicted by Turner’s Equation.
0.25
N σ ( ρ L − ρG )
vt = Eq. 7.18
(CD ρG
25 0.5
)
where

is the gas phase density lb / ft


3
ρg

ρ L is the liquid phase density lb / ft


3

σ is the interfacial tension dynes / cm


vt is the terminal velocity of liquid droplet ft / s

θ is pipe angle from vertical °


CD is the drag coefficient dimensionless

N is a constant dimensionless

The values of N and CD are given in the following table for Turner's model and various others:

Model N CD
Turner (1969) 1.56 0.44
Coleman (1991) 1.3 0.44

Technical Description
430
PIPESIM User Guide

Nossier II (2000) 1.482 0.2


Li (2002) 0.724 1.0

Combining N and CD , and discounting Turner's "built-in" 20% "correction factor" gives a constant
of 1.593. The correction factor is split out into the E term below.

Turner's equation (general)


Turner's Equation (General Form):
0.25
(
1.593 E σ ρ L − ρG )
vt = Eq. 7.19
0.5
ρG
Where E is the correction (efficiency) factor. The values of E for Turner's model and various others
are given in the following table:

Model E
Turner (1969) 1.2
Coleman (1991) 1.0
Nossier II (2000) 1.391
Li (2002) 0.454

Critical gas rate


The critical gas rate is the minimum gas rate required to prevent liquid loading.

7.2 Completion (IPR) models


7.2.1 Inflow performance relationships for vertical completions
Inflow performance relationships (IPRs) have been developed to model the flow of fluids from the
reservoir, through the formation, and into the well. They are expressed in terms of the well static
(or reservoir) pressure Pws , the well flowing (or bottom hole) pressure Pwf , and flowrate Q .
Typically, volume flow rates are proportional to the pressure drawdown:

QV ∝ (Pws − Pwf ) Eq. 7.20

For liquid IPRs the stock tank liquid rate is roughly proportional to the volume flow rate at well
conditions, and this form of the equation is used:

QL ∝ (Pws − Pwf ) Eq. 7.21

For gas IPRs the stock tank flow rates are roughly proportional to the volume flow rate at reservoir
conditions times the average reservoir pressure:

Technical Description
431
PIPESIM User Guide

(Pws + Pwf )
QG ∝ Qv ⋅
2
( 2 2
∝ Pws − Pwf ) Eq. 7.22

See also Vertical Completion Options (p.89), Multilayer Completions (p.122)


PIPESIM offers a comprehensive list of IPR options, for both oil and gas reservoirs, as follows:

IPR Oil reservoirs Gas and Gas Multi-rate test


Condensate (p.122)
Reservoirs
Backpressure Equation (p.436) Yes Yes
Fetkovich (p.435) Yes Yes
Hydraulically fractured (p.94) Yes Yes
IPR Table (p.449) Yes
Jones / Forchheimer (p.435) Yes Yes Yes
Pseudo Steady State Equation / Darcy Yes Yes
(p.437)
Transient (p.444) Yes Yes
Vogel (p.433) Yes
Well PI (Productivity Index) (p.432) Yes Yes Yes

The Well PI (p.432), Pseudo Steady State (p.437) and Transient (p.444) liquid IPRs can be
combined with a Vogel (p.433) IPR to model flow at pressures below the bubble point; see bubble
point correction (p.450) .

Related links:
Vertical completions overview (p.88)

Productivity index (PI)


PI is one of a number of methods that can be used to specify the Inflow performance relationship
(p.431) (IPR) for a completion. It can be regarded as a simplified version of the Pseudo-steady
state (p.437) or Transient (p.444) IPRs.

Liquid PI
The (straight line) productivity index relationship for liquid reservoirs is perhaps the simplest and
most widely used IPR equation. It states that rate is directly proportional to pressure drawdown
between the bottom hole and the reservoir.

QL = J L ⋅ ( pws − pwf ) Eq. 7.23

where:

QL is the stock-tank oil rate

Technical Description
432
PIPESIM User Guide

pws is the well static (or reservoir) pressure

pwf is the well flowing (or bottom hole) pressure

J L is the liquid productivity index.

Below bubble point correction


The liquid PI equation can be combined with a Vogel equation (p.433) to model inflows when the
bottom hole pressure is below the bubble point, see, Bubble point correction. (p.450)

Gas PI
For gas reservoirs a non-linear relationship is used:

( 2
QG = J G ⋅ pws − pwf
2
) Eq. 7.24

where:

QG is the stock-tank gas rate

pws is the well static (or reservoir) pressure

pwf is the well flowing (or bottom hole) pressure

J G is the gas productivity index

Vogel's equation
Vogel's (1968) (p.675) equation is one of a number of methods that can be used to specify the
Inflow Performance Relationship (p.431) (IPR) for a completion. It was developed to model
saturated oil wells. Vogel's equation is a best-fit approximation of numerous simulated well
performance calculations. Vogel's work considers only the effect of rock and fluid properties on
saturated systems. The Vogel relation does not account for high-velocity-flow effects that may exist
in high-rate wells, see the Fetkovich equation (p.435).
Vogel's equation is:

( ( ) ( ))
2
pwf pwf
Q = Qmax 1 − (1 − C ) −C Eq. 7.25
pws pws

Where

Q is the liquid flow rate (STB/D or m3/d)

Technical Description
433
PIPESIM User Guide

Qmax is the absolute open hole flow potential, that is the liquid flow rate when the bottom hole
pressure is zero

pwf is the well flowing (or bottom hole) pressure (psia or bara)

pws is the well static (or reservoir) pressure (psia or bara)

C is the Vogel coefficient.

The Vogel equation has the following properties:

Q = Qmax at pwf = 0

Q=0 at pwf = pws

∂Q Qmax ⋅ (1 + C ) at pwf = pws


Productivity index = −
∂ pwf pws

Related links:
Vogel's reservoir properties (p.90)

Technical Description
434
PIPESIM User Guide

Fetkovich's equation
Fetkovich's equation is one of a number of methods that can be used to specify the Inflow
Performance Relationship (p.431) (IPR) for a completion. The Fetkovich equation is a development
of the Vogel equation (p.433) to take account of high velocity effects.

( ( ))
2 n
Pwf
Q = Qmax 1 − Eq. 7.26
Pws

Where

Q is the liquid flow rate (STB/D or m 3/d)

Qmax is the absolute open hole flow potential, that is the liquid flow rate when the bottom hole
pressure is zero

pwf is the well flowing (or bottom hole) pressure (psia or bara)

pws is the well static (or reservoir) pressure (psia or bara)

n is the Fetkovich exponent.

Related links:
Fetkovich's reservoir properties (p.91)

Jones' equation
Jones' equation (p.669) is one of a number of methods that can be used to specify the Inflow
performance relationship (p.431) (IPR) for a completion. It is similar to the PI (p.432) method but
contains an extra term to model turbulence.

Jones equation for gas inflow


The Jones equation for gas reservoirs is :
2 2 2
Pws − Pwf = AQG + BQG Eq. 7.27

where

QG is the stock-tank gas rate

pws is the well static (or reservoir) pressure

pwf is the well flowing (or bottom hole) pressure

Technical Description
435
PIPESIM User Guide

A ≥ 0 is the turbulence coefficient


B ≥ 0 is the laminar coefficient

In the case when A = 0 the Jones equation is the same as the gas PI (p.433) equation with
/
productivity index J G = 1 B . Values of B > 0.05 (psi2/MMscf/d) indicate low permeability or the
presence of skin damage .

Jones equation for liquid inflow


Jones proposed the equation for gas flow, but it can also be used to model oil wells. However the
Fetkovich equation (p.435) can also be used for saturated oil wells and is the recommended
method for IPRs in reservoirs producing below the bubble point.
The Jones equation for liquid reservoirs is :
2
Pws − Pwf = AQL + BQL Eq. 7.28

where

QL is the stock-tank oil rate

In the case when A = 0 the Jones equation is the same as the Liquid PI (p.432) equation with
productivity index J L = 1 B /
Forchheimer equation
Forchheimer, 1901 (p.668) gave an equation for non-Darcy flow in the reservoir, which is
essentially the same as the Jones equation (p.436) for liquid inflow.

Related links:
Forchheimer's equation (p.93)

Back pressure equation


The Back Pressure Equation is one of a number of methods that can be used to specify the Inflow
performance relationship (p.431) (IPR) for a completion.
The Back Pressure Equation was developed by Rawlins and Schellhardt (1935) (p.673) after
testing 582 wells. The equation is typically applied to gas wells although its application to oil wells
has also been proven. If correlations already exist for oil wells, use the Back Pressure Equation on
gas wells only. The equation has the following form:

( 2
QG = C ⋅ Pws − Pwf )
2 n
Eq. 7.29

where

Technical Description
436
PIPESIM User Guide

QG is the gas flow rate (MMscf/d) (m3/d),

pws is the well static (or reservoir) pressure (psia) (bara)

pwf is the well flowing (or bottom hole) pressure (psia) (bara)

C is the back pressure constant (MMscf/d/(psia2)n) (m3/d/(bar 2) n)

n is the dimensionless back pressure exponent

The back pressure exponent, n , which ranges between 0.5 and 1.0, accounts for high velocity flow
(turbulence). When n = 1 the back pressure equation is the same as the gas PI (p.433) equation.
The back pressure constant, C , represents reservoir rock and fluid properties, flow geometry and
transient effects.
The parameters C and n must be obtained by multi-rate testing (p.122) of the well. Since

( 2
log QG = log C + n ⋅ log Pws − Pwf
2
) Eq. 7.30

2 2
A plot of flow rate QG versus pws − p on a log-log scale will give a line with slope n and
wf
intercept C . To avoid unit conversion problems when obtaining the parameters, check that the
slope has a value between 0.5 and 1.0. If n is less than 0.5, this implies that the reservoir
stabilization conditions are slow, or that liquid has accumulated in the wellbore (in gas condensate
wells). The value of n can be greater than 1.0 if liquid is removed from the well during testing, or by
removing drilling or stimulation fluids. Also, changes in well capacity during isochronal testing will
cause a wider scatter of data points. This might be the result of liquid accumulation or cleaning of
the wells.

Related links:
Backpressure's reservoir properties (p.92)

Pseudo Steady State Equation / Darcy Equation


The pseudo steady state IPR (p.431) equation (PSS), is derived from the equation for single phase
Darcy flow into a well. A number of versions of the equation can be used (some require keywords
(p.739)):
• for liquid flow the PSS equation is written in terms of the stock tank liquid (p.440) flow rate
• this can be optionally combined with a Vogel formula for pressures below the bubble point
(p.441).
• the liquid flow can be modelled using a two phase version of the radial flow equations for oil
and water (p.441)
• for gas flow the PSS is written in terms of the stock tank gas (p.441) flow rate

Technical Description
437
PIPESIM User Guide

• a version using the gas pseudo pressure (p.442) (more accurate for high pressure
systems).
• the PSS expressed in terms of reservoir flow (p.438) rates can be used for either liquid or gas
flow.
• the liquid flow can be modelled using a two phase version of the reservoir flow equations for
oil and water (p.440)

Reservoir flow
The pseudo steady state equation, like the transient IPR (p.444), is calculated by solving the
radial, single phase, Darcy flow into a well. It applies for relatively long times, after the well has
passed through the transient stage. The solution is given by Dake 1978 (p.666):

QR Φ = M Φ ⋅ T ⋅ (Pws − Pwf ) Eq. 7.31

where the PSS transmissibility term is defined by:


2 πkh
T =
C1 ln ()
re
rw
− 0.75 + S
Eq. 7.32

Where:

QR Φ is the volume flow rate at RB / d or


reservoir conditions of phase Φ MCF / d

MΦ is the mobility of phase Φ 1 / cp

pws is the average reservoir pressure psia

pwf is the bottom hole pressure psia

k is the formation permeability mD


h is the formation thickness ft

rw is the wellbore radius ft

re is the drainage radius ft

S is the skin

C1 is a conversion factor depending


on the flow units

Technical Description
438
PIPESIM User Guide

2
14.7 ⋅ 0.3048 ⋅ 5.61458 ⋅ 10
−3 If the flow is in RB / d
C1 = −10 = 2 π ⋅ 141.2
86400 ⋅ 10

14.7 ⋅ 0.3048
2 If the flow is in
C1 = −10 MCF / d
86400 ⋅ 10

Note:

• The constant 0.75 comes from using the average reservoir pressure pws = p̄ . A similar formula
can be derived using the pressure at the drainage radius pws = p (re ), but the value 0.75 is
replaced by 0.5.
• The effective drainage radius may be explicitly specified or calculated based on the shape
factor and the reservoir area.

The phase mobility is defined in terms of the phase relative permeability and viscosity:

For single phase flow the relative permeability is kr Φ = 1, and the inflow equation simplifies to :

1
QR Φ = ⋅ T ⋅ ( Pws − Pwf ) Eq. 7.33
μΦ
This version of the PSS IPR can be used for liquid or gas inflow.
For multiphase inflow, the total inflow can be written as the sum of the phase inflows:

QR = QRO + QRW + QRG Eq. 7.34

This can be rearranged to give:

QR = M ⋅ T ⋅ (Pws − Pwf ) Eq. 7.35

Where the total mobility is defined by

Technical Description
439
PIPESIM User Guide

M = MO + MW + MG Eq. 7.36

Oil and water flow


A two phase version of the multiphase inflow equation can be used to model liquid inflow.

QRL = ( krO
μO
+
krW
μW
) ⋅ T ⋅ (Pws − Pwf ) Eq. 7.37

The relative permeabilities can be determined from permeability tables (p.480).

Injection
The reservoir injection flow equation is similar to the PSS production IPR:

QR = M I ⋅ T ⋅ (Pwf − Pws ) Eq. 7.38

Here however, the mobility term represents the mobility of the fluid in the reservoir, rather than that
of the injection fluid, and the properties of the fluid in the target reservoir must be specified in the
fluid model assigned/mapped to the completion being injected into, if different from the injection
fluid. In production, the fluid being produced is the same as that moving through the reservoir. In
injection systems, the two fluids may be different and in this case, two fluids must be defined; the
injection fluid mapped to the injection source, and the reservoir fluid mapped to the completion. In
this scenario, we would expect different flow rates if gas is injected into a liquid filled reservoir
versus a gas filled reservoir. If the injection fluid does differ from the reservoir fluid, then the
injection mobility will change with time, as the reservoir fluid changes.

Note: For an injection well, the fluid properties used in the IPR equation (gas compressibility factor,
viscosity, formation volume factor, etc.) are evaluated at the flowing bottomhole temperature (i.e.
upstream of the flow into the completion) and the average of the static reservoir pressure and
flowing bottomhole pressure.

Stock tank liquid flow


The pseudo steady state equation can be expressed in stock tank flow rates. For liquid flow, the
/
stock tank flow rate QL = QR BL is given by

2 πkh ( pws − pwf )


QL =
C1 μ L BL ln () re
rw
− 0.75 + S
Eq. 7.39

QL is the liquid flowrate STB / d

BL is the liquid volume formation factor RB / STB

μ L is the liquid viscosity at reservoir conditions cp

Technical Description
440
PIPESIM User Guide

Below bubble point correction


The pseudo steady state equation can be combined with a Vogel equation (p.433) to model inflows
when the bottom hole pressure is below the bubble point, see, Bubble point correction. (p.450)

Oil and water flow


The two phase version (p.440) of the reservoir liquid flow equation can also be written in terms of
stock tank liquid flow rate:

QL = QR / BL = QRO / BL + QRW / BL Eq. 7.40

Stock tank gas flow


This pseudo steady state equation can be expressed in stock tank flow rates. For gas flow, the
formation volume factor can be expressed in terms of pressure and temperature
V ZRT Ps
BG = = ⋅ . The reservoir pressure is taken to be the average pressure in the
Vs P Zs RT s
pws + pwf
reservoir: P = , which gives a stock tank flow rate QG = QR / BG :
2
2 πkh pws − pwf ( 2 2
)
QG =
C2 μG TZ ln () re
rw
− 0.75 + S + DQG
Eq. 7.41

• The quadratic term in pressure arises from a combination of the pressure difference and the
reservoir average pressure term

(pws
2
− pwf ) = (p
2
ws )(
− pwf ⋅ pws + pwf . )
• The constant term arises from a combination of the conversion factor and stock tank properties

2C1Zs P
s
C2 = .
Ts
• The skin has been modified to include a flow rate dependent term.

QG is the gas flowrate MSCF / d

BG is the gas volume formation factor CF / SCF

μG is the gas viscosity at reservoir conditions cp

S is the constant skin

Technical Description
441
PIPESIM User Guide

DQ is the near wellbore turbulence factor or rate


dependent skin

T is the reservoir temperature o


R

Z is the reservoir compressibility factor

Ps is the stock tank pressure 14.7 psi

Ts is the stock tank temperature 519.67 R


o

Zs is the stock tank compressibility factor 1

2
2 ⋅ 14.7 ⋅ 0.3048
2 is a constant, arising from conversion factors
C2 = −10 = 2 π ⋅ 1422 and stock tank properties
86400 ⋅ 10 ⋅ 519.67

Gas pseudo pressure


Dake 1978 (p.666) gives another version of the Pseudo steady state IPR for gas inflow, that is
more accurate for large drawdowns, based on work by Al-Hussainy et al (p.664):

( )
2 πkh m pws − m pwf ( )
QG =
C2T ln ()
re
rw
− 0.75 + S + DQG
Eq. 7.42

Here the gas pseudo pressure is given by:

m( p ) = 2 ∫ μ pZ d p
G
Eq. 7.43

Technical Description
442
PIPESIM User Guide

Figure 7.1. Shape Factors


Technical Description
443
PIPESIM User Guide

See Earlougher (1977) (p.667) for reference.

Transient IPR
The transient IPR (p.431) equation, is derived from the equation for single phase Darcy flow into a
well. A number of versions of the equation can be used (some require keywords (p.754)):
• for liquid flow the transient IPR is written in terms of the stock tank liquid (p.446) flow rate
• this can be optionally combined with a Vogel formula for pressures below the bubble point
(p.447).
• the liquid flow can be modelled using a two phase version of the radial flow equations for oil
and water (p.447)
• for gas flow the transient IPR is written in terms of the stock tank gas (p.447) flow rate
• a version using the gas pseudo pressure (p.448) (more accurate for high pressure
systems).
• the transient IPR expressed in terms of reservoir flow (p.444) rates can be used for either liquid
or gas flow.
• the liquid flow can be modelled using a two phase version of the reservoir flow equations for
oil and water (p.446)

Reservoir flow
The transient IPR, like the pseudo steady state IPR (p.437), is calculated by solving the radial,
single phase, Darcy flow into the well. It applies for relatively small times, before the well has
reached the pseudo steady state. A similarity solution is given by Dake 1978 (p.666):

QR Φ = M Φ ⋅ T ⋅ (Pws − Pwf ) Eq. 7.44

where the transient IPR transmissibility is defined by:


2 πkh
T =
1 4kt Eq. 7.45
C1 ln ( 2 )+S
2 C0 γθμCr w

QR Φ is the volume flow RB / d or MCF / d


rate at reservoir
conditions of phase
Φ

MΦ is the mobility of 1 / cp
phase Φ

pws is the average psia


reservoir pressure

pwf is the bottom hole psia


pressure

t time hours

Technical Description
444
PIPESIM User Guide

k is the formation mD
permeability

h is the formation ft
thickness

rw is the wellbore ft
radius

S is the skin

θ is the reservoir
porosity

C is the total 1 / psi


compressibility of
the reservoir and
the reservoir fluids

γ is a constant equal γ = e 0.5772 = 1.781


to the exponential
of Euler's constant

C0 is a conversion 2
14.7 ⋅ 0.3048 ⋅ 10
−3
factor C0 = −10
10 ⋅ 3600

C1 is a conversion
factor depending
on the flow units
2
14.7 ⋅ 0.3048 ⋅ 5.61458 ⋅ 10
−3 If the flow is in
C1 = −10 = 2 π ⋅ 141.2 RB / d
86400 ⋅ 10

14.7 ⋅ 0.3048
2 If the flow is in
C1 = −10
MCF / d
86400 ⋅ 10

The transient IPR equation can be written in similar terms to the pseudo steady state IPR (p.437)
by defining a radius
2 4kt
r = Eq. 7.46
C0 γθμC
2 πkh
T =
r Eq. 7.47
C1 ln ( )+S
rw

Technical Description
445
PIPESIM User Guide

The phase mobility is defined in terms of the phase relative permeability and viscosity:

kr Φ
MΦ = Eq. 7.48
μΦ

kr Φ is the relative permeability for phase Φ

μΦ is the viscosity of phase Φ at reservoir conditions cp

For single phase flow the relative permeability is kr Φ = 1, and the inflow equation simplifies to :

1
QR Φ = ⋅ T ⋅ ( Pws − Pwf ) Eq. 7.49
μΦ
This version of the transient IPR can be used for liquid or gas inflow.
For multiphase inflow, the total inflow can be written as the sum of the phase inflows:

QR = QRO + QRW + QRG Eq. 7.50

This can be rearranged to give:

QR = M ⋅ T ⋅ (Pws − Pwf ) Eq. 7.51

Where the total mobility is defined by

M = MO + MW + MG Eq. 7.52

Oil and water flow


A two phase version of the multiphase inflow equation can be used to model liquid inflow.

QRL = ( krO
μO
+
krW
μW
) ⋅ T ⋅ (Pws − Pwf ) Eq. 7.53

The relative permeabilities can be determined from permeability tables (p.480).

Stock tank liquid flow


This transient IPR equation can be expressed in stock tank flow rates. For liquid flow, the stock
tank flow rate QL = QR BL is given by /
2 πkh ( pws − pwf )
QL =
1 4kt Eq. 7.54
C1 μ L BL ln ( 2 )+S
2 C0 γθ μ L Cr w

QL is the liquid flowrate STB / d

Technical Description
446
PIPESIM User Guide

BL is the liquid volume formation factor RB / STB

μ L is the liquid viscosity cp

The equation can be written using base 10 logarithms, since


4x 4x 4
ln = ln 10 ⋅ log = 2.302 ⋅ (log x + log ) = 2.302 ⋅ (log x − 3.23):
C0 γ C0 γ C0 γ

2 πkh ( pws − pwf )


QL =
kt S Eq. 7.55
1.151 ⋅ C 1 μ L BL log ( 2) − 3.23 +
1.151
θ μ L Crw

Below bubble point correction


The transient IPR equation can be combined with a Vogel equation (p.433) to model inflows when
the bottom hole pressure is below the bubble point, see, Bubble point correction. (p.450)

Oil and water flow


The two phase version (p.446) of the reservoir liquid flow equation can also be written in terms of
stock tank liquid flow rate:

QL = QR / BL = QRO / BL + QRW / BL Eq. 7.56

Stock tank gas flow

V ZRT Ps
This transient IPR equation can be expressed in stock tank f BG = = ⋅ low
Vs P Zs RT s
rates. For gas flow, the formation volume factor can be expressed in terms of pressure and
temperature: . The reservoir pressure is taken to be the average pressure in the reservoir:
pws + pwf
P= , which gives a stock tank flow rate QG = QR / BG :
2
2 2
2 πkh ( pws − pwf )
QG =
1 4kt Eq. 7.57
C2 μG TZ ln ( 2 ) + S + DQG
2 C0 γθ μG Cr w
• The quadratic term in pressure arises from a combination of the pressure difference and the
average pressure term pws − pwf( 2
) = (p
2
ws )(
− pwf ⋅ pws + pwf . )

Technical Description
447
PIPESIM User Guide

• The constant term arises from a combination of the conversion factor and stock tank properties
2C1Zs P
s
C2 = .
Ts
• The skin has been modified to include a flow rate dependent term.

QG is the gas flowrate MSCF / d

BG is the gas volume formation factor CF / SCF

μG is the gas viscosity cp

S is the constant skin

DQ is the near wellbore turbulence factor or rate


dependent skin

T is the reservoir temperature o


R

Z is the reservoir compressibility factor

Ps is the stock tank pressure 14.7 psi

T s is the stock tank temperature


o
519.67 R

Zs is the stock tank compressibility factor 1

C2 is a constant, arising from conversion For MSCF / d :


factors and stock tank properties 2 2
2 ⋅ 14.7 ⋅ 0.3048
C2 = −10 = 2 π ⋅ 1422
86400 ⋅ 10 ⋅ 519.67

The equation can also be written using base 10 logarithms:


2 2
2 πkh ( pws − pwf )
QG =
kt S + DQG Eq. 7.58
1.151 ⋅ C 2 μG TZ log ( ) − 3.23 +
2
θ μG Cr w 1.151

Gas pseudo pressure


Dake 1978 (p.666) gives another version of the Pseudo steady state IPR for gas inflow, that is
more accurate for large drawdowns, based on work by Al-Hussainy et al (p.664):

Technical Description
448
PIPESIM User Guide

( )
2 πkh m pws − m pwf ( )
QG =
1 4kt Eq. 7.59
C2T ln ( 2 ) + S + DQG
2 C0 γθ μG rw
Here the gas pseudo pressure is given by:

m( p ) = 2 ∫ μ pZ d p
G
Eq. 7.60

Time to pseudo steady state solution


According to Dake 1978 (p.666), the solution to the well inflow equations changes from transient
to pseudo steady state (p.437) when the dimensionless time tDA is given by

kt
tDA = > 0.1 Eq. 7.61
C0 θμCA
2
Writing A = πre , where re is the drainage radius of the reservoir, the time when the pseudo steady
state (p.437) solution becomes applicable is
2
θμCre
t pss = (0.1 ⋅ π ⋅ C0) ⋅ Eq. 7.62
k
A warning will be issued if the time t exceeds this value.

Data File
Enter an IPR in table form (Flowrate versus Pressure) rather than using an IPR (p.431) equation.
This feature is currently only available by using an EKT or in expert mode.
Place the EKT (Spanner icon) between the completion and the tubing and enter the IFPTAB
(p.745) data.
Example:

! n liq pwf gor wcut


ifptab 0 0 3000 986 0
ifptab 0 1000 2990 986 2.0
ifptab 0 2699 2920 1096 2.2
ifptab 0 6329 2800 2540 2.8
ifptab 0 7288 2600 2980 3.9
ifptab 0 8082 2400 3370 5.6
ifptab 0 8805 2003 3770 8.0
ifptab execute

Note: The GOR and water cut values are optional.

All IPR data associated with the completion will be ignored.

Technical Description
449
PIPESIM User Guide

Bubble Point Correction


The Productivity index (p.432), Pseudo steady state (p.437) and Transient (p.444) IPRs for liquid
inflow can be modified to use a form of Vogel's equation (p.433) below the bubble point
( pwf < pbp ). This allows the effects of gas break-out to be modelled.

( ( ) ( ))
2
pwf pwf
Q − Qbp = Qmax 1 − (1 − C ) −C Eq. 7.63
pbp pbp

Where

Q is the liquid flow rate (STB/D or m3/d)

Qbp is the flow at the bubble point flow

Qbp Pbp is the absolute open hole flow potential, that is the liquid flow rate
Qmax = ⋅ when the bottom hole pressure is zero
1+C P − P
ws bp

pbp is the bubble point pressure (psia or bara)

pwf is the well flowing (or bottom hole) pressure (psia or bara)

pws is the well static (or reservoir) pressure (psia or bara)

C is the Vogel coefficient.

The Vogel equation has been shifted to match a linear IPR above the bubble point:

Q = Qbp at pwf = pbp

∂Q Qmax ⋅ (1 + C ) Qbp at pwf = pbp


Productivity index = − = −
∂ pwf pbp pws − pbp

This correction only works if the bubble point pressure is less than the static (reservoir) pressure,
pbp < pws .

Technical Description
450
PIPESIM User Guide

Vertical Well Skin Factor


The skin factor S is used in the pseudo steady state (p.437) and transient (p.444) IPRs to
represent friction caused by damage to the formation close to the well (mechanical skin) and the
effects of high flow (dynamic skin).

S = SM + D ⋅ Q Eq. 7.64

Related links:
Skin components (p.101)
Vertical completion skin table (p.103)
Skin options properties (p.104)
Darcy's skin properties - openhole (p.105)
Darcy's skin properties - openhole gravel packed (p.107)
Darcy's skin properties - perforated (p.109)
Darcy's skin properties - perforated and gravel packed (p.109)
Darcy's skin properties - frac packed (p.113)

Mechanical skin factor


The pseudo steady state (p.437) and transient (p.444) IPRs are derived from Darcy's equation for
a homogenous reservoir with a vertical completion. The mechanical skin can be used to represent

Technical Description
451
PIPESIM User Guide

friction terms arising from any departure from this idealized model. The mechanical skin has a
number of separate components:

SM = S pp + S θ + Sd + Sg + S p + S f Eq. 7.65

Different components are used in different completion types:

Open Open hole Perforated Gravel Packed Frac Pack


hole gravel pack & Perforated

S pp partial penetration Yes Yes Yes Yes Yes


(p.455)

S θ deviation (p.455) Yes Yes Yes Yes Yes

Sd damaged zone Yes Yes Yes Yes Included in S f


(p.456)

Sg gravel pack (p.456) Yes Yes Included in S f

S p perforated well Yes Yes Included in S f


(p.457)

S f frac pack (p.461) Yes

Related links:
Skin components (p.101)
Vertical completion skin table (p.103)
Skin options properties (p.104)
Darcy's skin properties - openhole (p.105)
Darcy's skin properties - openhole gravel packed (p.107)
Darcy's skin properties - perforated (p.109)
Darcy's skin properties - perforated and gravel packed (p.109)
Darcy's skin properties - frac packed (p.113)

Dynamic skin factor


The pseudo steady state (p.437) and transient (p.444) IPRs are derived from Darcy's equation for
a homogenous reservoir with a vertical completion. The dynamic skin can be used to represent
friction terms arising from turbulence in the flow entering the well. The dynamic skin has a number
of separate components:

D = Dd + Dr + D + Dc + D f Eq. 7.66
g
Different components are used in different completion types:

Open hole Open hole Perforated Gravel Packed & Frac


gravel pack Perforated Pack

Technical Description
452
PIPESIM User Guide

Dd damaged zone Yes Yes Yes Yes

Dr reservoir Yes Yes Yes Yes

Ds gravel pack screen Yes

Dg gravel pack Yes

Dc crushed zone Yes Yes

D f frac pack Yes

Formulas for these skin components can be found in Golan and Whitson (1986) (p.668). The
damaged zone, reservoir and gravel pack screen dynamic skins all use the same formula DG for
gas flow and the same formula for liquid flow DL :

Dd = { DG (rw , rd , βd )
DL (rw , rd , βd )
Eq. 7.67

Dr = { DG (rd , rr , βr )
DL (rd , rr , βr )
Eq. 7.68

Ds = { DG (rs , rw , βs )
DL (rs , rw , βs )
Eq. 7.69

The general gas flow dynamic skin term is given by:

( )
k ⋅ h ⋅ γG 1 1
DG (rin , rout , β ) = 2.222 ⋅ 10
−18
⋅β⋅ 2 ⋅ − Eq. 7.70
h c ⋅ μG rin rout
The general liquid flow dynamic skin term is given by:

( )
k ⋅ h ⋅ ρ L ⋅ BL 1 1
DL (rin , rout , β ) = 1.635 ⋅ 10
−16
⋅β⋅ 2 ⋅ − Eq. 7.71
h c ⋅ μL rin rout
The gravel pack dynamic skin for gas flow is given by:

−13
k ⋅ h ⋅ γG ⋅ L pack
Dg = 2.45 ⋅ 10 ⋅ βg ⋅ 4 Eq. 7.72
(2r p) 2
⋅ n p ⋅ μG

The gravel pack dynamic skin for liquid flow is given by:

Technical Description
453
PIPESIM User Guide

k ⋅ h ⋅ ρ L ⋅ BL ⋅ L
−11 pack
Dg = 1.8 ⋅ 10 ⋅ βg ⋅ 4
Eq. 7.73
(2r p) 2
⋅ np ⋅ μL

The crushed zone dynamic skin for gas flow is given by:

−15
k ⋅ h ⋅ γG
Dc = 3.84 ⋅ 10 ⋅ βc ⋅ 2 2
Eq. 7.74
L p ⋅ n p ⋅ r p ⋅ μG
The crushed zone dynamic skin for liquid flow is given by:

Dc = 0 Eq. 7.75

The frac pack dynamic skin is given as the sum of the tunnel and annulus terms:

D f = Dt + Da Eq. 7.76

The frac pack dynamic skin annulus term uses the same general formula as used for the damaged
zone, reservoir and gravel pack screens:

Da = { DG (rs , rc , βs )
DL (rs , rc , βs )
Eq. 7.77

The frac pack dynamic skin tunnel term for gas flow:

−18
k ⋅ h ⋅ γG ⋅ L tun
Dt = 2.222 ⋅ 10 ⋅ βs ⋅ 4 ⋅

( )
4
rp Eq. 7.78
2
⋅ den shot ⋅ μG
12
The frac pack dynamic skin tunnel term for liquid flow:

k ⋅ h ⋅ ρ L ⋅ BL ⋅ L
−16 tun
Dt = 1.635 ⋅ 10 ⋅ βs ⋅ 4.

( )
4 Eq. 7.79
rp 2
⋅ den shot ⋅ μ L
12

Related links:
Skin components (p.101)
Vertical completion skin table (p.103)
Skin options properties (p.104)
Darcy's skin properties - openhole (p.105)
Darcy's skin properties - openhole gravel packed (p.107)
Darcy's skin properties - perforated (p.109)

Technical Description
454
PIPESIM User Guide

Darcy's skin properties - perforated and gravel packed (p.109)


Darcy's skin properties - frac packed (p.113)

Partial penetration skin


Brons and Marting (p.665) (1961) (quoted in Golan and Whitson (p.668)) expressed the effect of
partial penetration and limited entry as a skin factor :

S pp = ( h
L )
− 1 ln
h
rw
( ) kr
kz
−Y Eq. 7.80

with
2 3 L
Y = 2.948 − 7.363 X + 11.45 X − 4.675 X and X =
h
h Reservoir Thickness

rw Wellbore Radius

kr Reservoir Permeability

kz Completion Vertical Permeability

L Completion Open Interval or Perforated Interval

The skin factor is dimensionless. The equation for the skin factor involves ratios of permeability
and ratios of length. It is assumed the same units (e.g. md) are used for all permeability terms, and
the same units are used for all lengths (e.g. feet).

Related links:
Skin components (p.101)

Deviation skin
Cinco et al. (p.666) (1975) approximate the pseudo-skin factor caused by the slant of a well as :

( ) ( ) ( )
′ 2.06 ′ 1.865
θ θ h kr
Sθ = − − log 10 Eq. 7.81
41 57 100rw kz

θ is measured in degrees:

kz
tan ( θ ′ ) = ⋅ tan( θ ) Eq. 7.82
kr

h Reservoir Thickness

Technical Description
455
PIPESIM User Guide

rw Wellbore Radius

kr Reservoir Permeability

kz Completion Vertical Permeability

0 < θ < 75 deviation from vertical in degrees


o

The skin factor is dimensionless. The equation for the skin factor involves ratios of permeability
and ratios of length. It is assumed the same units (e.g. md) are used for all permeability terms, and
the same units are used for all lengths (e.g. feet).

Damaged zone skin


The effect of formation damage on productivity was treated analytically by Muskat (p.672) (1937).
Hawkins (p.669) (1956) translated the Muskat Model of a near wellbore altered permeability into
the following expression for the skin factor :

Sd = ( )
kr
ka
− 1 ln (d )
a
dw
Eq. 7.83

da Damaged Zone Diameter

dw Wellbore Diameter

kr Reservoir Permeability

ka Damaged Zone Permeability

The skin factor is dimensionless. The equation for the skin factor involves ratios of permeability
and ratios of length. It is assumed the same units (e.g. md) are used for all permeability terms, and
the same units are used for all lengths (e.g. feet).

Gravel pack skin


Two different formula are used in PIPESIM. The skin factor is dimensionless. The equations for the
skin factor involves ratios of permeability and ratios of length. It is assumed the same units (e.g.
md) are used for all permeability terms, and the same units are used for all lengths (e.g. feet).

Open hole gravel pack skin


Assuming a radial flow through formation and gravel, the contribution to the skin is expressed as:

Sg =
kr
kg
⋅ ln ( )
rev
rs
Eq. 7.84

Technical Description
456
PIPESIM User Guide

rev Reservoir Drainage Radius

rs Screen Radius

kr Reservoir Permeability

kg Gravel Permeability

Compare this with the Annulus skin (p.463) for a Frac Pack.

Gravel pack skin


Applying Darcy's law for linear flow in packed perforations for the steady state skin term due to
gravel pack gives :

where

lt = lt + ric − rs

Compare this with the Gravel skin (p.463) for a Frac Pack.

Perforated well skin

McLeod model
McLeod (p.457) (1983) used a model of a “horizontal microwell” with formation damage around it
as an analogy to a perforation surrounded by a crushed zone. He quantified the effect of the
crushed zone as the following skin factor :

Technical Description
457
PIPESIM User Guide

Compacted or crushed zone

Sp =
np ⋅ L
1

h
lp
⋅ (
kr

kc ka
kr
) (
⋅ ln
dc
dp
) Eq. 7.85

where:

h Reservoir Thickness
L Completion Open Interval or Perforated Interval

n p Perforation Density

l p Depth of Penetration (or perforation length)

dc Compacted Zone Diameter

d p Perforation Diameter

kr Reservoir Permeability

kc Compacted Zone Permeability

ka Damaged Zone Permeability

Karakas model
Karakas and Tariq (p.669) (1991) have developed a semi analytical solution for the calculation of
the perforation skin effect. Depending on the size of the damaged zone and the length of the
perforation , the well radius and the perforation length, or their modified value are used in the
model .
The thickness of the damaged zone is :
1
la = (d − dw ) Eq. 7.86
2 a
For perforation sitting inside the damaged zone :

}

rw = rw

if l p ≤ la Eq. 7.87
lw = lw
For perforations extending beyond the damaged zone

Technical Description
458
PIPESIM User Guide

( )
}

ka
rw = rw + 1 − la
kr
if l p > la Eq. 7.88

lp = lp − 1 − ( ) ka
kr
la

rw Wellbore Radius (dw / 2)



rw Wellbore Radius or modified Wellbore Radius

l p Perforation Length or modified Perforation Length
The perforation skin effect is divided into the following components :

Horizontal component of the skin

( )

rw
Sh = ln ′
Eq. 7.89
rwc
where
′ ′ ′
rwc = α ( φ ) rw + l p Eq. 7.90

φ Phase Angle
α ( φ ) Function of phase angle φ (see table 7.1 (p.460))
Well bore skin

rw
Sw = c1exp c2 Eq. 7.91
(l p′ + rw′ )
with

c1 = c1( φ ) and c2 = c2( φ ) Functions of the phase angle φ (see table 7.1 (p.460))

Vertical skin
A B −1 B
Sv = 10 H n Rn Eq. 7.92

with

1 kr
Hn = ′
n p l p kz

Rn =
npd p
4
1+
kz
kr
( )
Technical Description
459
PIPESIM User Guide

A = a1( φ ) × log 10Rn + a2( φ )

B = b1( φ )Rn + b2( φ )

a1( φ ), a2( φ ), b1( φ ) and b2( φ ) functions of phase angle φ (see table 7.1 (p.460))

The equation 7.92 (p.459) is valid for H n ≤ 10 and Rn ≥ 0.01

Crushed zone effect

Sck =
1
n p l p kc
′ ( )(
kr
− 1 ln
dc
dp
) Eq. 7.93

The combined skin effect caused by perforations added to the crushed zone effects is given by :

St = Sh + Sw + Sv + Sck Eq. 7.94

If the perforations go beyond the damaged zone, the total perforation skin is the sum of these four
contributions :

St = St for l p > la Eq. 7.95

Damaged zone effect


For perforations within damaged zone, the skin caused by the combined effects of perforations and
damage is :

St = ( )( )
kr
ka
− 1 ln
da
dw
+
kr
ka
(St′ + S x ) for l p ≤ l a
Eq. 7.96
da
S x = S x (r ) and r =
dw + 2l p
r Ratio of the damaged zone diameter over the penetration zone diameter
S x (r ) function of r (see table 7.2 (p.461))

φ (degre) 45 60 90 120 180 360 (0)


α 0.860 0.813 0.726 0.648 0.500 0.250
a1 − 1.788 − 1.898 − 1.905 − 2.018 − 2.025 − 2.091

a2 0.2398 0.1023 0.1038 0.0634 0.0943 0.0453

b1 1.1915 1.3654 1.5674 1.6136 3.0373 5.1313

b2 1.6392 1.6490 1.6935 1.7770 1.8115 1.8672

Technical Description
460
PIPESIM User Guide

−5 −4 −3 −3 −2 −1
c1 4.6 × 10 3.0 × 10 1.9 × 10 6.6 × 10 2.6 × 10 1.6 × 10

c2 8.791 7.509 6.155 5.320 4.532 2.675

Table 7.1: Karakas and Tariq Skin Correlation Coefficients

r = da / (dw + 2l p ) S x
18.0 0.000
10.0 − 0.001
2.0 − 0.002
1.5 − 0.024
1.2 − 0.085
Table 7.2: Skin caused by boundary effect, 180 degree phasing

Frac pack skin


The Frac Pack Skin is calculated only in association with a case hole gravel pack. If the gravel
pack is not defined the Frac Pack Skin is 0.
Pucknell and Mason (p.673) (1992) give a review of the contributions to the skin in a cased hole
gravel pack completion.

S f = Shf + S ff + Scf + San + Stg

Shf Hydraulic fracture (p.461)

S ff Fracture face skin (p.462)

Scf Choke fracture skin (p.463)

San Annulus skin (p.463)

Stg Tunnel gravel skin (p.463)

The skin factor is dimensionless. The equations for the skin factor involves ratios of permeability
and ratios of length. It is assumed the same units (e.g. md) are used for all permeability terms, and
the same units are used for all lengths (e.g. feet).

Hydraulic fracture
The following model is also applied in IPR Model “Hydraulic Fracture”.
Hydraulic fracture is characterized by its length, capacity or conductivity and related equivalent skin
effect. Prats (p.673) (1961) introduced the concept of effective wellbore radius, providing pressure
profiles in a fractured reservoir as functions of the fracture half-length and a relative capacity. He
provided a graph relating the effective well radius and the capacity. Cinco-Ley et al. (p.666) (1978,
1981a) (see also Economides et al. (p.667) 1994) introduced the fracture conductivity instead,

Technical Description
461
PIPESIM User Guide

which is proportional to the inverse of the capacity, and provided an alternative graph relating the
fracture conductivity to the skin. The following correlations are derived from Cinco-Ley and
Samaniego graph.
Dimensionless fracture conductivity:

kp ⋅ w f
F cd = Eq. 7.97
kr ⋅ x f
Pseudo-skin factor for a well with a finite-conductivity vertical fracture

{
( )
− 0.7205 * ln F cd + 1.6368 if F cd < 1
3.0386 − 2.349exp ( − 0.511 F cd )
′ −0.909
Shf = if 1 ≤ F cd < 1000 Eq. 7.98

0.692 if F cd ≥ 1000
and the hydraulic skin is given by:


Shf = Shf − ln ( )
xf
rw
Eq. 7.99

x f Fracture Half Length

w f Fracture Width

kr Reservoir Permeability

k p Proppant Permeability

rw Wellbore Radius

Damaged hydraulic fracture performance can deviate substantially from undamaged fracture. Two
types of damage are considered: fracture face (p.462) and choke fracture (p.463).

Fracture face skin


Cinco-Ley and Samaniego (p.666) (1981b) quantified the damage that may develop on the
fracture face, by a skin effect of the form

S ff =
π waf
2

xf

kr
kaf
−1( ) Eq. 7.100

waf Depth of Damage (normal to the fracture face) is very thin (0.2 ft or less)

kaf Frac Face Damage Permeability

Technical Description
462
PIPESIM User Guide

Choke fracture skin


Damage at the connection between the fracture and a well is referred to as a choke. Different to
the fracture face skin, the damaged zone is within the fracture. Romero et al. (p.674) (2002)
express the extra pressure drop in the fracture in term of a skin effect:

Scf = π ⋅
xcf
xf
⋅ ( kr
kcf

kr
kp
) Eq. 7.101

xcf Choke Length

kcf Frac Choke Permeability

Annulus skin
Between the casing internal radius and the screen outer radius, assuming a radial flow through the
gravel the contribution to the skin is expressed as:

San =
kr
⋅ ln (d )ic
Eq. 7.102
kg ds

dic Casing Internal Diameter

ds Screen Diameter

kg Gravel Permeability

Gravel skin in tunnel


If a perforation is not defined, a default perforation diameter and a default perforation density are
set (equal to 0.5 inches and 4 shots/ft respectively) for the calculation of the Frac Pack Skin. If the
perforation tunnels through the casing and cement, where the most significant pressure drops
usually occur, the skin component is:

kr lt
Stg = 2 ⋅ ⋅ 2
Eq. 7.103
kg np ⋅ r p

lt Tunnel length

n p Perforation Density

r p Perforation radius

Technical Description
463
PIPESIM User Guide

7.2.2 Inflow Performance Relationships for Horizontal Completions


Theory
The main purpose of drilling horizontal wells is to enhance production. There are also many
circumstances that lead to drilling horizontal wells (Cooper, 1988):
Thin reservoirs
The increased area of contact of the horizontal well with the reservoir is reflected by the
productivity index (PI). Typically, the PI for a horizontal well may be increased by a factor
of 4 when compared to a vertical well penetrating the same reservoir.
Heterogeneous reservoirs
When irregular reservoirs exist, the horizontal well can effectively intersect isolated
productive zones which might otherwise be missed. A horizontal well can also intersect
vertical natural fractures in a reservoir.
Reduce water/gas coning
A horizontal well provides minimum pressure drawdown, which delays the onset of
water/gas breakthrough. Even though the production per unit well length is small, the long
well length provides high production rates.
Vertical permeability
If the ratio of vertical permeability to horizontal permeability is a high, a horizontal well may
produce more economically than a vertical well.

Related links:
Horizontal completion skin table (p.104)
Skin options properties - horizontal distributed (p.104)
Joshi/babu and odeh skin properties - perforated (p.105)
Joshi/babu and odeh skin properties - perforated and gravel packed (p.105)
Joshi/babu and odeh skin properties - openhole (p.119)
Joshi/babu and odeh skin properties - openhole gravel packed (p.107)

Pressure drop
Effect of pressure drop on productivity
In many reservoir engineering calculations, the horizontal wellbore is treated as an infinite
conductivity fracture, that is the pressure drop along the well length is negligible. However, in
practice, there must be a pressure drop from the toe (tip-end) of the horizontal wellbore to the heel
(producing-end) so as to maintain fluid flow within the wellbore (see Figure 1).
Dikken (1989), Folefac (1991) and Joshi (1991) have addressed the effect of wellbore pressure
gradient on horizontal well production performance.

Technical Description
464
PIPESIM User Guide

Figure 7.2. Along-hole pressure gradient of a horizontal well (Joshi, 1991)

Dikken (p.667) (1990) and Folefac (p.668) (1991) contend that the assumption of constant
pressure wellbore is reasonable for single phase laminar flow but is no longer valid when turbulent
or multiphase flow occurs. Folefac (1991) showed that a typical well with the following properties:
ρo = 800 kg/m3; μ = 1.0 cp; d = 0.1968 m; and Q = 5000 RB/d gives a N RE of 4000 which is well
above the turbulence transition limit of 2000. In most practical situations, Dikken (1990) asserts
that horizontal wells will exhibit non-laminar flow. In addition, the pressure drop will be even greater
when multiphase flow exists.
Joshi (p.669) (1991), thus, asked the question: What is the magnitude of the wellbore pressure
drop as compared to pressure drop from the reservoir to the wellbore? If the wellbore pressure
drop is significant as compared to the reservoir drawdown, then the reservoir drawdown, and
consequently, the production rate along the well length will change. Thus, there is a strong
interaction between the wellbore and the reservoir. The reservoir flow and wellbore equations must
be solved simultaneously as shown in Figure 2.

Technical Description
465
PIPESIM User Guide

Figure 7.3. Schematic of reservoir and flow relationship (Joshi, 1991)

The coupled equations were solved by Dikken (1990) analytically by simplified boundary
conditions, notably, no inflow from the toe-end. Folefac (1991) used a Black Oil type model that
involved a finite volume technique.
Folefac (1991) concluded that the well length, wellbore diameter and perforated interval had the
most profound effect on the level of pressure drop in the wellbore. Folefac (1991) pointed out that
the wellbore pressure profile is non-linear with respect to the well length. This is because the
mixture momentum equation has a non-linear term in velocity, the friction force. This in turn will
result in an uneven drawdown in the reservoir that is otherwise considered homogenous.
Furthermore, Folefac (1991) showed that as the wellbore radius increased from 64.5 mm (2.5") to
114.3 mm (4.5"), the rate at which pressure dropped along the wellbore became nearly constant.
This is mainly due to the turbulent flow being converted to laminar flow by drilling a larger size hole.
Joshi (1991) mentions other situations where wellbore pressure drop is considerable:
• High flowrates of light oil (10,000 to 30,000 RB/d)
• High viscous crudes (heavy oils and tar sands)
• Long well lengths
The wellbore pressure drop effects well deliverability and in turn influences well completion and
well profile design. The need to accurately calculate well flowrates and wellbore pressures is
therefore, essential.
Joshi (1991) lists a few remedies to minimize high wellbore pressure drops:
• Drilling a larger diameter hole would dramatically reduce the pressure drop. The reason being
that for single phase flow, D P a 1/d5. For example, Joshi (1991), states " for a given production
rate, by increasing the well diameter twofold, the pressure drop can be reduced at least thirty-
two fold".

Technical Description
466
PIPESIM User Guide

• Varying the shot density of a cemented hole or the slot size of a slotted liner would control
production rates and minimize pressure drop along the wellbore
• Gravel packs are used in high permeability reservoirs. If the well is completed with a slotted
liner, the slots should be placed as far apart as possible. Joshi (1991) states that "this will let
the gravel pack act as a choke and facilitate maintaining minimum pressure drop across the
well length".
Therefore, by selecting the appropriate well geometry, hole size and length, wellbore pressure
drops can be minimized.

Single phase pressure drop


Assuming that the horizontal wellbore can be treated as a horizontal pipe, the single phase flow
pressure drop calculation for oil flow can be written as follows:

(
Δ p = 1.14644 × 10
−5
) fρq 2 L 5 Eq. 7.104
D
where,
Δ p is pressure drop, psia
f is Moody's friction factor, dimensionless
ρ fluid density, gm/cc
q is flowrate at reservoir conditions, RB/d
L is horizontal length, ft
D is internal diameter of pipe, inches
For gas flow, however, the pressure drop calculations are more complex. This is due to friction
which could change the temperature of the gas as it travels through the wellbore. Moreover,
density and viscosity are strong functions of gas pressure and temperature. This would result in a
changing pressure drop per foot length of a well along the entire well length. The Weymouth
equation for dry gas is the simplest equation to estimate pressure drop in a horizontal pipe

qg = 15320
( 2
p1 − p2 D
2
) 16
3
Eq. 7.105
γg TZL
where

qg is gas flowrate, scfd

p1 is pipe inlet pressure, psia

p2 is pipe outlet pressure, psia


L is pipe length, miles
T is average temperature, oR
Z is average gas compressibility factor

Technical Description
467
PIPESIM User Guide

D is pipe diameter, in
γg gas specific gravity
Also, several multiphase correlations (Brill, 1988) are applicable for a single phase flow of either oil
or gas.

Multiphase pressure drop


There is very little discussion on multiphase pressure drop in horizontal wells. Folefac (1991)
studied the effect of two phase flow (hydrocarbon liquid and water are treated as one phase with
identical velocity but averaged properties). The pressure drop along the horizontal wellbore was
similar to that for single phase flow. However, the pressure drop was higher than for single phase
flow for the same volume of fluid intake.
For a horizontal pipe, numerous multiphase flow correlations have been discussed by Brill (p.665)
(1988). Slip velocities between phases make these equations more complex than single phase
flow equations. In general, Joshi (1991) states that, "different multiphase correlations may give
different values of the pressure drop". The various correlations should be compared with actual
pressure drop data. However, measuring the pressure at both ends of a horizontal well and
calibrating the data is very difficult. There is a definite need for further study on multiphase flow in
horizontal wells.

Inflow production profiles


Horizontal wellbore pressure drops also depend upon the type of fluid inflow profiles. Figure 3
shows some horizontal well fluid inflow profiles. On the basis of well boundary condition and
reservoir heterogeneity, several profiles are possible. Joshi (1991) examined the effect of different
fluid entry profiles on the wellbore pressure drop. Depending on the type of profile, Joshi concluded
that the total pressure drop varied from 6 psi to 14.5 psi but it was not large enough to effect the
wellhead pressure.

Technical Description
468
PIPESIM User Guide

Figure 7.4. Horizontal well inflow profiles (Joshi, 1991)

Steady-state productivity
The simplest form of horizontal well productivity calculations are the steady-state analytical
solutions which assume that the pressure at any point in the reservoir is constant over time.
According to Joshi (1991), even though very few reservoirs operate under steady-state conditions,
steady state solutions are widely used because:
Analytical derivation is easy.

Technical Description
469
PIPESIM User Guide

The concepts of expanding drainage boundary over time, effective wellbore radius and shape
factors allows the conversion to either transient or pseudo-steady state results to be quite
straightforward.
Steady-state mathematical results can be verified experimentally.
Giger (1984), Economides (1989), Mukherjee (1988) and numerous others have developed
solutions to predict steady-state productivity. Most are similar in form to the equation given by
Joshi (1988) who simplified the 3-D Laplace equation (Δp=0) by coupling two 2-D problems. This
was based on the assumption that a horizontal well drains an ellipsoidal volume around the
wellbore of length L as shown below.

Figure 7.5. Horizontal Well Drainage Pattern

For isotropic reservoirs kh = kv

kh h Δ p
qh =

( )
2 2

( )
a + a − ( L / 2) h h Eq. 7.106
141.2 μ o Bo ln + ln
L /2 L 2rw
and
0.5

( )
4

a= ( L2 ) 0.5 + 0.25+
2reh
L
Eq. 7.107

where

qh is the flowrate STB / d

a is half the major axis of the drainage ellipse ft


Δ p is the pressure drop psi
L is the horizontal well length ft
h is reservoir height ft
rw is the wellbore radius ft

Technical Description
470
PIPESIM User Guide

reh is the effective drainage radius of horizontal well ft

μo is the oil viscosity cp

Bo is the oil volume formation factor RB / STB

kh is the horizontal permeability mD

If the length of the horizontal well is significantly longer than the reservoir height, that is L >> h,
then the second term in the denominator of the 7.106 (p.470) equation is negligible and the
solution simplifies to

kh h Δ p
qh =
4r eh Eq. 7.108
141.2 μ o Bo ln
L
Muskat (p.672) (1937) suggested a simple transformation to account for permeability anisotropy.
An effective permeability, keff , is defined as

keff = kv kh Eq. 7.109

To account for vertical anisotropy, the reservoir thickness can be modified as follows

kh
h =h Eq. 7.110
kv
In addition, the influence of well eccentricity (distance from the center of the reservoir in the vertical
plane) was also implemented. Thus, equation 7.106 (p.470) was transformed as follows

kh h Δ p
qh =

( ( ))
2 2
a + a − ( L / 2) 2 h h Eq. 7.111
141.2 μ o Bo ln +β ln
L /2 L 2r w
where

kh
β= Eq. 7.112
kv
Productivity comparisons of a horizontal well to that of a vertical well can easily be made by using
the 7.111 (p.471) equation. In converting the productivity of a horizontal well into that of an
equivalent vertical well, an effective wellbore radius can be calculated, rw,eff

rw ,eff = rw exp ( − S ) Eq. 7.113

Technical Description
471
PIPESIM User Guide

The effective wellbore radius is defined as the theoretical well radius which will match the
production rate. Joshi (1991) assumed equal drainage volumes, reh = rev , and equal productivity
indices, J h = J v to give the following for an anisotropic reservoir

( L2 )
r
rw ,eff =
1−( ) +
L
2
βh
βh Eq. 7.114
a 1+ L
2a rw

In this way, controlling parameters like well length, permeability and formation thickness can be
used to screen potential candidates for further simulation studies.
Renard (p.674) (1990) studied the effect of formation damage around the wellbore and modified
the steady-state equation to include skin. Renard (1990) concluded that due to the lower
productivity index per unit length in horizontal wells, the effect of skin damage is not as pronounced
as it is in vertical wells. Celier et al. (p.666) (1989) came to the same conclusion with respect to
the effect of non-Darcy flow.

Pseudo-steady state productivity


It is often desirable to calculate productivity from a reservoir with unique boundary conditions, such
as a gas cap or bottom water drive, finite drainage area, well location, and so on. In these
instances pseudo-steady state equations are employed. Pseudo-steady state or depletion state
begins when the pressure disturbance created by the well is felt at the boundary of the well
drainage area

Pseudo-steady state productivity


Dake (p.666) (1978) and Golan (p.668) (1986) describe the pseudo-steady state flow of an ideal
fluid (liquid) in a closed circular drainage area. Rearranging the equation gives the familiar vertical
well productivity
khΔp
qv =
2.2458 A Eq. 7.115
141.2 μo Bo ln ( 2 ) + S + Sm + Dqv
CArw
where

qv is the flowrate STB / d

Δ p is the pressure drop between the reservoir and the wellbore psi
Sm is the mechanical skin factor due to drilling and completion related well damage

S is the skin due to perforations, partial penetration and stimulation

CA is the shape factor

Dqv is the near wellbore turbulence factor or rate dependent skin

Technical Description
472
PIPESIM User Guide

μo is the oil viscosity cp

Bo is the oil volume formation factor RB / STB

k is the formation permeability mD


h is the formation thickness ft
A is the drainage area ft
2

rw is the wellbore radius ft

reh is the drainage radius ft

The above equation can be reduced to the following single-phase pseudo-steady state equation for
oil flow (assuming S = 0, Sm = 0 and Dqv = 0),

kh Δ p
qv =
141.2 μo Bo ln ( )
reh
rw
− 0.75
Eq. 7.116

The equation is for a vertical well which is located in the center of a circular drainage area.
Fetkovich (p.667) (1985) wrote the shape factor in terms of an equivalent skin. This skin was
expressed by choosing a reference shape factor of a well at the center of circular drainage area

CAref
SCA = ln Eq. 7.117
CA
The horizontal well shape factor depends on the following:
• drainage area shape,
• well penetration.

• dimensionless well length, L D =


2h( )
L kv
kh

L is the length of the horizontal well ft


h is the formation thickness ft
kv is the vertical permeability mD

kh is the horizontal permeability mD

Joshi (p.669) (1991) explains that the well performance approaches a fully penetrating infinite-
conductivity fracture when the horizontal well length is sufficiently long, i. e. L D > 10.

Technical Description
473
PIPESIM User Guide

Babu (p.664) (1989), Goode (p.668) (1989) and Mutalik (p.672) (1988) have developed methods
to calculate pseudo-steady state productivity for single phase flow in horizontal wells. Shape
factors were used to arbitrarily locate the well within a rectangular bounded drainage area and the
reservoir was bounded in all directions. Mutalik's model assumed the horizontal well as an infinite
conductivity well (i.e. the wellbore pressure drop is negligible). Babu's model assumed uniform-flux
boundary condition. Goode's model used an approximate infinite conductivity solution where the
constant wellbore pressure is estimated by averaging the pressure values of the uniform-flux
solution along the well length. Goode (1989) also considered the effects of completion type on
productivity. Their model allowed for cased completion, selectively perforated completion, external
casing packers to selectively isolate the wellbore and slotted liner completion with selectively
isolating zones.
Babu (1989) developed a physical model consisting of a well drilled in a box-shaped drainage
volume, parallel to the y direction (see figure 7.6 (p.474)).

Figure 7.6. Babu and Odeh physical model

The derived pseudo-steady productivity equation is


−3
7.08 × 10 b k x k z Δ p
qh =
μo Bo ln ( )
A1
rw
+ ln CH − 0.75 + SR
Eq. 7.118

where

b is extension of the drainage volume in the direction along the well axis Oy ft

SR is the skin factor due to partial penetration

Technical Description
474
PIPESIM User Guide

CH is the geometric shape factor defined by Babu (1989)

k x is the permeability along the x-axis mD

kz is the permeability along the z-axis mD

A1 is the drainage area in the vertical plane


2
ft

rw is wellbore radius ft

The validation rules for Babu and Odeh IPR model are:
• 1. Heel location (X position) must be from 0.0 to ReservoirXDim. In the original publication (see
Babu and Odeh 1989), the requirement in the x-direction for the second case considered is that
heel location (X position) must be from ReservoirXDim * 0.25 to ReservoirXDim * 0.75. While
this requirement is not enforced in this product, user should take caution when operating
outside of the requirement.
• 2. Heel location (Y position) + well length must be less than or equal to the reservoir Y
dimension. Also, heel location (Y position) must be greater than or equal to zero.
• 3. Heel location (Z position) + well radius must be less than or equal to the reservoir thickness.
Also, heel location (Z position) must be greater than or equal to well radius.
The equation 7.118 (p.474) is derived from a very complex general solution. It requires the
calculation of CH and S R . The geometric shape factor accounts effect of permeability anisotropy,
well location and relative dimensions of the drainage volume. The skin accounts for the restricted
entry associated with the well length. Babu (1989) reported an error of less than 3% when
compared to the more rigorous solution.

Technical Description
475
PIPESIM User Guide

Figure 7.7. Shape Factors


Technical Description
476
PIPESIM User Guide

See Earlougher (1977) (p.667) for reference.

Solution gas-drive IPR


Cheng (1990), Joshi (1991) and Bendakhlia (1989) have studied the inflow performance
relationship (IPR) for solution gas-drive reservoirs. Bendakhlia followed the same approach used
by Vogel for vertical wells and developed the following equation:
2 n
q0
q0,max
= 1−V ( ) pwf
pR
−1−V ( )
pwf
pR
Eq. 7.119

The equation can be used under the assumptions of Vogel's original IPR correlation. The
parameter V and n were correlated as a function of recovery factor.

Horizontal gas wells


The preceding sections have dealt with oil flow. However, horizontal wells are also appropriate for
gas reservoirs. For example, in high-permeability gas reservoirs wellbore turbulence limits the
deliverability of a vertical well. The most effective way, according to Joshi (p.669) (1991), to
reduce gas velocity around the wellbore is to reduce the amount of gas production per unit well
length which can be accomplished by horizontal wells. Joshi (1991) describes two methods for the
relationship between pressure and flowrate.
The gas flowrate is proportional to the pressure square terms.
Al-Hussainy et al. (p.664) (1966) defined a pseudo-pressure m(p). The gas flowrate is directly
proportional to the pseudo-pressures which is defined as
p
m( p ) = ∫ p0
2 pdp
μ p )z ( p )
(
Eq. 7.120

A comparison of the two methods was done by Joshi (1991). Below reservoir pressures of 2500
psia, either method can be employed. However, above 2500 psia, the pseudo-pressure should be
used.

Steady state gas flow equation


The steady-state equation for gas flow is
−4
7.027 × 10 kh h pe − pwf ( 2
)
2

qh =
μZT ln ( ) reh
rw

Eq. 7.121

where

qh is the gas flowrate mmscf / d

pe is the pressure at external radius psia

Technical Description
477
PIPESIM User Guide

pwf is the wellbore flowing pressure psia

kh is the horizontal permeability mD

h is the reservoir height ft


reh is the drainage radius ft

rw
′ is the effective wellbore radius ft

μ is the average viscosity cp


Z is the average compressibility factor
T is the reservoir temperature o
R

Pseudo steady state gas flow equation


The pseudo-steady state gas flow equation can be written as follows (Joshi, 1991)
−4
( 2
7.027 × 10 kh pr − pwf
2
)
qh =
reh Eq. 7.122
μZT ln − 0.75 + S + Sm + Sca − C + Dqh
rw
where

2.222 × 10 ( γG kahβ )
−15

D= 2 Eq. 7.123
μ pwf rw h p

In equation 7.123 (p.478), the high velocity flow coefficient is given by:
10 −1.1045
β = 2.73 × 10 ka Eq. 7.124

where

qh is the gas flowrate mmscf / d

pr is the average reservoir pressure psia

pwf is the wellbore flowing pressure psia

S is the negative skin factor due to horizontal well (or well stimulation)

Sm is the mechanical skin damage

Sca is the shape related skin factor

C is the shape factor conversion constant

Technical Description
478
PIPESIM User Guide

k is the permeability mD
h is the reservoir height ft
reh is the drainage radius ft

rw is the wellbore radius ft

μ is the average viscosity cp


Z is the average compressibility factor
T is the reservoir temperature o
R

μ pwf is the gas viscosity at well flowing conditions cp

β is the high velocity flow coefficient 1 / ft


γG is the gas specific gravity dimensionless

hp is the perforated interval ft

ka is the permeability in the near wellbore region mD

The equation 7.122 (p.478) is based upon circular drainage area as a reference area. In this
equation, Dqh is the turbulence term, also called turbulence skin, or rate dependent skin factor .
(see Joshi (p.669) (1991), Brown (p.665) (1984) and Golan and Whitson (p.668) (1986)). This
term accounts for the extra pressure drop in the near wellbore region due to high gas velocity. This
term was neglected when dealing with oil flow. In addition, the term makes the solution of 7.122
(p.478) iterative.
The equation 7.124 (p.478) is given in Golan and Whitson (p.668) (1986)

Conclusions
The following can be concluded from this review:
The assumption of constant pressure drop in the wellbore is no longer valid, especially for long well
lengths and when turbulent/multiphase flow occurs.
More realistic production geometries are being used in the existing models to calculate horizontal
well productivity.
Existing models need to be verified and validated with actual field data. The absence of case
studies in the literature is indicative of the 'tight-hole' status of most horizontal well projects.

Distributed productivity index method

for liquid reservoirs


Q = J (Pws − Pwf ) L Eq. 7.125

Technical Description
479
PIPESIM User Guide

for gas reservoirs

( 2
Q = J Pws − Pwf L
2
) Eq. 7.126

where J is the distributed productivity index.

7.2.3 Oil / water relative permeability tables


( ) ( )
A table of oil and water relative permeabilities as functions of water saturation (kro Swat , krw Swat )
can be defined in conjunction with the Pseudo steady-state (p.437) or Tranisent (p.444) liquid IPRs
for vertical completions or the Steady state (p.469) or Pseudo-steady state (p.472) Liquid IPRs for
horizontal completions.
If the reservoir water saturation is known, the water cut of the fluid flowing into the well can be
calculated:

Qw krw (Swat ) / μw
WCUT = 100 ⋅ = 100 ⋅ Eq. 7.127
Qo + Qw kro (Swat ) / μo + krw (Swat ) / μw
Alternatively, if the water cut is known, the water saturation can be found by solving the same
equation for the water saturation, Swat .
The oil and water inflows can then calculated separately using the relevant liquid IPR equation and
summed to give the liquid flow rate.

Keywords
Data is entered, in keyword mode, using the Additional engine keyword feature (p.677). Use the
PERMTAB (p.753) keyword to define the table. Use the LAYER keyword to define the reservoir
water saturation, if required.
See also Other IPR methods (p.431)

7.2.4 Coning
In order to simulate gas and/or water breakthrough from the reservoir, flowrate-dependent values
of GOR and watercut may be entered. In a homogeneous reservoir, analysis of the radial flow
behavior of reservoir fluids moving towards a producing well shows that the rate dependent
phenomenon of coning may be important. The effect of increasing fluid velocity and energy loss in
the vicinity of a well leads to the local distortion of a gas-oil contact or a water-oil contact. The gas
and water in the vicinity of the producing wellbore can therefore flow towards the perforation. The
relative permeability to oil in the pore spaces around the wellbore decreases as gas and water
saturation increase. The local saturations can be significantly different from the bulk average
saturations (at distances such as a few hundred meters from the wellbore). The prediction of
coning is important since it leads to decisions regarding:
• Preferred initial completions
• Estimation of cone arrival time at a producing well
• Prediction of fluid production rates after cone arrival

Technical Description
480
PIPESIM User Guide

• Design of preferred well spacing

7.3 Equipment
7.3.1 Chokes, valves and fittings
Choke
A choke is a mechanical device that limits the flow rate through the pipe. The fluid velocity
increases through the constriction and for compressible fluids can reach the sonic velocity. As the
pressure difference across the choke increases the flow velocity increases too. At the point the
velocity becomes sonic, the flow is said to be critical, and is independent of the down stream
pressure. See Brill and Mukerjee (p.671) (1999) for a detailed description of flow through chokes
and restrictions.

Technical Description
481
PIPESIM User Guide

Figure 7.8. Typical flow-pressure relationship for a choke

The choke is modeled by splitting the flow into two regimes:

flow is subcritical P < P


crit down < Pup q < qcrit
flow is critical 0 < P down < Pup q = qcrit

where

Pup is the upstream pressure


/ 2
psi or lbf in N /m
2

Pdown is the downstream pressure psi or lbf / in N /m


2 2

is the critical (downstream) pressure psi or lbf / in N /m


2 2
Pcrit
q is the flow rate lb / s kg / s
qcrit is the critical flow rate lb / s kg / s

The choke performance is determined by the following:


1. The choke geometry and fluid properties
2. The subcritical flow correlation
3. The critical pressure ratio
4. The critical flow correlation

Choke geometry
The main choke parameters are:

Technical Description
482
PIPESIM User Guide

dup upstream diameter in

dbean constriction (bean) diameter in

cv flow coefficient (used in the Ashford & Pierce (p.484) correlation)

cvL liquid flow coefficient (used in the Mechanistic (p.486) correlation)

cvG gas flow coefficient (used in the Mechanistic (p.486) correlation)

cd discharge coefficient (used for calculating the flow coefficients)

The flow coefficients can either be specified or calculated from the discharge coefficient:

cd
cv = 4
Eq. 7.128
1− δ
where:

dbean is the diameter ratio dimensionless


δ=
dup

Subcritical flow correlations


There are essentially two subcritical flow models used in PIPESIM, the Mechanistic (p.486)
correlation and Ashford and Pierce (p.484) (1975) correlation . A third correlation API-14B (p.487)
is a modification of the Mechanistic correlation

Critical pressure ratio


For single phase liquids, the sonic velocity is high and flow is always subcritical. For single phase
gas flow and multiphase flow, the critical pressure is given by

Pcrit = CPR ⋅ Pup Eq. 7.129

The value of the critical pressure ratio CPR can be set by the user or calculated (p.487).

Critical flow correlations

A critical flow correlation can be used to set the critical flow rate qcrit . There is a danger that this will
not match the subcritical flow at the critical pressure ratio. PIPESIM therefore adjusts the
subcritical flow correlation to ensure the flow is correct at the critical pressure. To do this it first
calculates the subcritical flow at the critical pressure:

qlim = qsub(Pup , Pdown ) evaluated at Pdown = Pcrit

Technical Description
483
PIPESIM User Guide

The choke downstream pressure is then calculated from the subcritical correlation using the
( )
upstream pressure and a scaled flow rate qlim/ qcrit q . This matching can be turned off, in which
case the critical flow correlation is ignored when calculating the pressure drop, although it is used
for reporting purposes.
One of twelve correlations of four distinct types can be selected for the critical flow:
1. Mechanistic (p.488), API-14B (p.488)
2. Ashford Pierce (p.488), A-P Tulsa, Poettmann-Beck (p.488)
3. Omana (p.488)
4. Achong (p.489), Baxendale (p.489), Gilbert (p.489), Pilehvari (p.489), Ros (p.489), User
defined (p.489)

Engine keywords
See Choke keyword (p.756)

Choke subcritical flow correlations


Two subcritical flow correlations, Ashford-Pierce (p.484) and Mechanistic (p.486) are available. A
third, API 14B (p.487) is a version of the mechanistic correlation.

Ashford-Pierce
Ashford-Pierce (1975) (p.664) give the following equation for oil flow rate through a choke:
2
c1cv (64dbean ) (
1 − ε + RL 1 − ε
k
)/k γo + c3 γG Rs + F wo γw
1 Eq. 7.130
qo = ⋅ Pup ⋅ −1/ γ ⋅ ⋅
c2 1 + RL ε Bo + F wo γo + c3 γG R + F wo γw
where

Bo is the oil formation factor volume factor bbl / STB

c1 = 3.51 is a constant

c2 = 198.6 is a constant

c3 = 0.000217 is a constant

cv is the flow coefficient

dbean is the bean diameter 1 / 64 in

γ −1 dimensionless
k=
γ
F wo is the upstream water to oil ratio

Technical Description
484
PIPESIM User Guide

Pup is the upstream pressure

Pdown is the downstream pressure

qo is the oil flow rate at standard conditions bbl / d

Rs is the upstream gas oil ratio scf / STB

R is the gas oil ratio at standard conditions scf / STB

T up Zup (R − Rs ) is the upstream gas liquid ratio dimensionless


RL =
198.6 Pup

Pdown is the pressure ratio dimensionless


ε=
Pup

Cp is the ratio of specific heats dimensionless


γ=
CV

γo is the upstream oil specific gravity dimensionless

γG is the upstream gas specific gravity dimensionless

γw is the upstream water specific gravity dimensionless

The Ashford and Pierce formula is based on the following assumptions:


• polytropic expansion of gas-liquid mixture
• equal gas and liquid velocities at the throat
• incompressible liquid phase
• liquid dispersed in a continuous gas phase
• negligible friction losses

Recommended values for the flow coefficient cv are:

diameter in 1/64 in d
bean
8 0.125 1.2
12 0.1875 1.2
20 0.3125 0.976
24 0.375 0.96
32 0.5 0.95

Technical Description
485
PIPESIM User Guide

Mechanistic correlation
The pressure drop across the choke is given by the weighted average of the liquid and gas phase
pressure drops:

ΔP = λ L ⋅ Δ pL + λG ⋅ Δ pG Eq. 7.131

The liquid phase pressure drop is given by Bernouilli's equation:


2

( )
ρn v
ΔpL = Eq. 7.132
2⋅c c ⋅Z
vL L

The gas phase pressure drop is given by Bernouilli's equation:


2

( )
ρn v
Δ pG = Eq. 7.133
2⋅c
cvG ⋅ Z
G

q is the mixture velocity through ft / s m/s


v= the choke
Abean ⋅ ρ
n

q is the mass flow rate lb / s kg / s


π ⋅ dbean
2 is the choke area at the ft
2
m
2

Abean = constriction
4
is the no-slip density lb / ft kg / m
3 3
ρn = λ L ⋅ ρ L + λG ⋅ ρG

λ L and λG are the liquid and gas phase


flowing fractions
are the liquid and gas phase lb / ft kg / m
3 3
ρ L and ρG
densities

Z L = 1 and are the liquid and gas


compressibilities
4
0.41 + 0.35 δ ΔP
ZG = 1 − ⋅
γ Pup
c is a conversion factor for c = 144 ⋅ g c=1
engineering units
lb / ( ft ⋅ s ) / psi
2

Total pressure drop for the two-phase system is therefore:


2
ρn ⋅ v λL λG
ΔP = ⋅ + Eq. 7.134
2⋅c 2 2
(cvL ⋅ ZL ) (cvG ⋅ ZG )

Technical Description
486
PIPESIM User Guide

API 14-B formulation


The API 14-B formulation is similar to the mechanistic formulation, with the addition of the following
assumptions:
1. Liquid flow through the choke is incompressible. The discharge coefficient is constant with a
value of

cvL = 0.85.
2. Subcritical gas flow through the choke is adiabatic and compressible. The discharge coefficient
is constant with a value of

cvG = 0.9.

Choke critical pressure ratio


The critical pressure ratio CPR is used to determine the downstream pressure when critical flow
occurs in the choke. You can set a value of CPR or it can be calculated, either from the single-
phase gas formula (used with the Mechanistic subcritical flow correlation) or using the Ashford and
Pierce formula (used with the Ashford and Pierce subcritical flow correlation).

Single phase gas critical pressure ratio


For a single phase gas flow, the critical pressure is given as a function of the specific heat ratio:
γ
2 γ −1
CPR = Eq. 7.135
γ +1

/
The value of γ = CP CV is calculated by the program, but can be overridden by the user. For
diatomic gases (for example air) γ ≈ 1.4 and CPR = 0.53

Ashford and Pierce critical pressure ratio

∂ qo
Ashford-Pierce (1975) (p.664) give the critical flow condition = 0 at ε = CPR . 7.130 (p.484) for
∂ε
qo and simplifying gives:

∂ 1 − ε + RL 1 − ε ( k
)/k
=0 Eq. 7.136
∂ε 1 + RL ε
−1/ γ

This can be manipulated to give an equation for ε = CPR :


γ
−1/ γ 2
2 RL
(1 + RL ε ) =
γ
⋅ε
− γ +1
( (
⋅ 1 − ε + RL ⋅ 1 − ε
k
) / k) Eq. 7.137

Technical Description
487
PIPESIM User Guide

Choke critical flow correlations


The following choke correlations are available:

Ashford and Pierce / Sachdeva / Poetmann-Beck


The Ashford-Pierce (1975) (p.664) critical flow can be obtained by evaluating 7.130 (p.484) at
ε = CPR , determined from 7.137 (p.487). The stock tank critical oil flow rate takes the form:
2
c1cv (64dbean ) 1 − ε + RL 1 − ε ( k
)/k γo + c3 γg Rs + F wo γw
1 Eq. 7.138
qo = ⋅ Pup ⋅ −1/ γ ⋅ ⋅
c2 1 + RL ε Bo + F wo γo + c3 γg R + F wo γw
The Sachdeva (p.664) critical flow correlation takes a similar form:

2 RL + 0.76 1
qo = 0.858cv (64dbean ) ⋅ Pup ⋅ ⋅
RL + 0.56 Bo + F wo
Eq. 7.139
1
⋅ 2 −1
(62.4( γo + c3 γg R + Fwo γw )) + (62.4( γo + c3 γg Rs + Fwo γw ))
The Poetmann-Beck (p.673) critical flow correlation takes a similar form:

RL + 0.766 1 ρ L + R L ρG
qo = 88992 ⋅ 9273.6 ⋅ 0.4513 ⋅ Abean ⋅ Pup ⋅ ⋅
RL + 0.5663 5.61 ρ L + 0.0765 γG R 3 Eq. 7.140
ρ + R L ρG
2 L

Mechanistic / API14B
The critical mass flow rate can be found by inverting the 7.134 (p.486) and evaluating it at the
critical value of the pressure drop:

2 g ⋅ ρn ⋅ Δ P
q = Abean
λL λG Eq. 7.141
c1 ⋅ 2 + 2
(cvL ⋅ ZL ) (cvG ⋅ ZG )
(
ΔP = 1 − CPR Pup ) Eq. 7.142

The API14B critical flow uses the mechanistic critical flow formula, with cvL = 0.85 and cvG = 0.9

Omana correlation
The Omana (p.672) correlation gives a formula for the stock tank critical liquid flow rate:
−0.657
qL = 1.953 × 10 ⋅ σ L
−3 −1.245
⋅ ρL
1.545
(
⋅ 1 + RL ) 1.8
⋅ dbean ⋅ ρG
−3.49 3.19
⋅ Pup Eq. 7.143

where:

Technical Description
488
PIPESIM User Guide

σ surface tension at upstream conditions (dynes/cm)

Gilbert, Ros, Baxendall, Achong, Pilehvari and user defined correlations


The equations proposed by Gilbert, Ros, Baxendall, Archong and Pilehvari (Ghassan (p.668)) for
stock tank critical liquid flow are all of the form:
c 1/e
Pup ⋅ (64dbean )
qL = Eq. 7.144
b
a ⋅ GLR

where
GLR - producing gas liquid ratio (scf/STB)
a, b, c - empirical coefficient given below

Correlation a b c e
Achong 3.82 0.650 1.88 1
Baxendall 9.56 0.546 1.93 1
Gilbert 10 0.546 1.89 1
Pilehvari 46.67 0.313 2.11 1
Ros 17.4 0.5 2.00 1

Users can also define their own parameters for this formula by using engine keywords (p.756). For
example:

CHOKE CCORR=USER a=0.1 b=0.546 c=1.89 e=1.0 ADJUSTSC dbean = 3

Keywords can be entered in the GUI by replacing the choke with an Engine Keyword Tool (p.69).

Flow control valves mechanistic theory


PIPESIM's mechanistic choke equation is based on the theory for subcritical flow (see Brill and
Mukherjee, 1969).

Subcritical flow
The mass flow rate is given in terms of the pressure drop as follows:

2gρ ns Δ P
Qsc = 12 Abean
fL fG Eq. 7.145
2 + 2
(Z L cL ) (ZG cG )
where:

f L and f G are the liquid and gas phase fraction

Technical Description
489
PIPESIM User Guide

cL and cG are the liquid and gas flow coefficient

Abean is the choke cross-section

ΔP is the pressure drop, which is given by:


ΔP = f L ΔP L + f G ΔP G Eq. 7.146

and

( )
2
1 q
ΔP L = Eq. 7.147
2 g ρns (12Z L cL Abean)

( )(
2
1 q
ΔP G = Eq. 7.148
2 g ρns 12Z L cL Abean )

where

ZL = 1 is the liquid compressibility factor

ZG = ZG (k , DP , Pup ) is the gas compressibility factor

ρns = f L ρ L + f G ρG is the no slip density

Critical flow
The critical mass flow is given by the subcritical correlation evaluated at the critical pressure drop:

(
ΔP crit = Pup 1 − CPR ) Eq. 7.149

where CPR is the critical pressure ratio.

Fittings
The pressure drop across a fitting is given by the Crane Technical Paper 410 (p.666):
2
ρ ⋅v
ΔP = K ⋅ Eq. 7.150
2⋅c

K is a dimensionless friction factor or resistance


v is the fluid velocity ft / s m/s
ρ is the fluid density lb / ft kg / m
3 3

c is a conversion factor for engineering units c = 144 ⋅ g lb / ( ft ⋅ s ) / psi c = 1


2

Technical Description
490
PIPESIM User Guide

The velocity of the fluid in the fitting depends on the internal diameter of the fitting where the
velocity is measured. If the fitting has two internal diameters, d1 and d2, the velocities are related
by:
2 2
ρ1 ⋅ π ⋅ d1 ⋅ v1 ρ2 ⋅ π ⋅ d2 ⋅ v2
Eq. 7.151
= =q
4 4
For incompressible fluids the density can be taken as constant and the velocities are inversely
proportional to the square of the diameters. Therefore the pressure drop can be written in terms of
either velocity:
2 2
ρ ⋅ v1 ρ ⋅ v2
Eq. 7.152
ΔP = K 1 ⋅ = K2 ⋅
2⋅c 2⋅c
The fitting resistances are related by:
1
K2 = 4 ⋅ K1 Eq. 7.153
δ

/
and δ = d1 d2 is the ratio of the internal diameters.

Comparison with the choke model


The fitting can be modeled as a choke (p.481) using a mechanistic sub-critical (p.486) liquid flow
correlation. The choke diameter is taken as the minimum diameter of the fitting d1 and the flow
coefficient is calculated from the fitting resistance at d1:

1
cv = Eq. 7.154
K1

Resistance calculation
The fitting resistance K can be specified by the user. Since it is a function of the internal diameter,
d , this value must also be specified to allow the velocity to be calculated correctly.
The fitting resistance can also be calculated by PIPESIM using formulae from the Crane Technical
Paper 410 (p.666). The resistance is a function of the fitting type, the pipe nominal diameter, d N
the internal diameter, d2 and the diameter of any constriction, d1. These Crane Technical Paper
410 (p.666) formula can be written as:

K 1 = a1 ⋅ f T (d N ) + a2 ⋅ 0.5 ⋅ 1 − δ ( 2
) + a ⋅ (1 − δ )
3
2 2
Eq. 7.155

The first term a1 ⋅ f T represents friction due to the shape of the pipe fitting, the second term
a2 ⋅ 0.5 ⋅ (1 − δ ) is the resistance due to sudden contraction through any constriction in the fitting
2

Technical Description
491
PIPESIM User Guide

2 2
and the third term a3 ⋅ 1 − δ ( ) is the resistance due to sudden expansion after a constriction. The

constants a1, a2 and a3 depend on the fitting type and are given by:

Fitting a1 a2 a3
Check Swing Valve Conventional 100 0 0
Check Swing Valve Clearway 50 0 0
Standard 90 degree Elbow 30 0 0
Standard 45 degree Elbow 16 0 0
Standard 90 degree Short Radius Elbow 14 0 0
Standard 90 degree Long Radius Elbow 12 0 0
Tee - Flow through run 20 0 0
Tee - Flow through branch 60 0 0
Check Lift Globe Valve 600 δ δ
Globe Valve Conventional 340 δ δ
Angle Valve Conventional 150 δ δ
Globe Valve Y-Pattern 55 δ δ
Check Lift Angle Valve 55 δ δ
Gate Valve θ < 45
o 8 θ θ
1.6 ⋅ sin 2.6 ⋅ sin
2 2
o
Gate Valve 45 < θ < 180
o 8 θ 1
sin
2
Ball Valve θ < 45
o 3 θ θ
1.6 ⋅ sin 2.6 ⋅ sin
2 2
o
Ball Valve 45 < θ < 180
o 3 θ 1
sin
2

The friction factor f T , depends on the nominal size of the pipe:

Nominal size d N (inch) f T


1/2 .027
3/4 .025
1 .023
1 1/4 .022
1 1/2 .021

Technical Description
492
PIPESIM User Guide

2 .019
2 1/12, 3 .018
4 .017
5 .016
6 .015
8 - 10 .014
12 - 16 .013
18 - 24 .012

7.3.2 Compressors, pumps, and expanders


Centrifugal pumps and compressors

Centrifugal pumps and compressors are described by curves of head and efficiency as functions of
the flow rate for a given speed:

Head (q , N c ) = Head c (q ) Eq. 7.156


η (q , Nc ) = ηc (q ) Eq. 7.157

where:

Head is the head ft ⋅ lbf / lb Nm / kg

Technical Description
493
PIPESIM User Guide

η is the efficiency, expressed as a fraction, 0 < η ≤ 1


q is the flow rate lb / s kg / s
Nc is the compressor speed for the curve

The fan laws can be used to determine the head and efficiency for speeds N that differ from the
curve speed :

( ) ( )
2
N q
Head (q , N ) = Head c Eq. 7.158
Nc N / Nc

η (q , N ) = η c (q
N / Nc ) Eq. 7.159

The change in pressure of the fluid and the power needed to run the pump or compressor can be
determined from the head and efficiency:

ΔP = Pout − Pin = c1 ⋅ Head ⋅ ρ Eq. 7.160


c2 ⋅ q ⋅ Head
Power = Eq. 7.161
η
where

ρ (Pin , T in ) + ρ (Pout , T out ) is the average density lb / ft kg / m


3 3

ρ =
2
Pin is the suction pressure
/ 2
psi or lbf in N /m
2

is the discharge pressure psi or lbf / in N /m


2 2
Pout

T in is the suction temperature o


R K

T out is the discharge temperature o


R K

Power is the power required by the hp W


pump or compressor

( )
c1 is a conversion factor for 1 in
2
engineering units
144 ft

c2 is a conversion factor for 1 hp


engineering units 550 ft ⋅ lbf / s

The outlet temperature depends on how much of the pump energy is transferred to the fluid. Three
different models can be used:

Technical Description
494
PIPESIM User Guide

( ) )
Adiabatic Route: γ −1
T in Pout γ
ΔT = T out − T in = ⋅ −1 Eq. 7.162
η Pin

( ) )
Polytropic Route: n −1
Pout n
ΔT = T out − T in = T in ⋅ −1 Eq. 7.163
Pin

Mollier Route (Isentropic): S ( P , T ) = S ( P , T ) Eq. 7.164


out out in in

where

γ (Pin , T in ) + γ (Pout , T out ) is the average value of γ


γ =
2
Cp is the ratio of specific heats
γ=
CV

n (Pin , T in ) + n (Pout , T out ) is the average value of n


n =
2
n γ is the polytropic coefficient
=η⋅
n−1 γ −1
S is the specific entropy BTU J
o
lb ⋅ F kg ⋅ K

Note that:
• Only a fraction η of the power is converted to head. When using the adiabatic route, the energy
that is not converted to head is assumed to be converted to fluid heat. The usual adiabatic
temperature increase is multiplied by a factor 1 / η ≥ 1.
n
• The polytropic route PV = constant can be used to model constant pressure (n = 0) , constant
temperature (n = 1) , constant enthalpy (n = γ ) and constant volume (n = ∞ ) changes as well
as intermediate routes. PIPESIM uses a value of n that is a function of the efficiency ( η ) and
the specific heat ratio ( γ ). This value can only be used when η > ( γ − 1) / γ .
• In the special case when the efficiency η = 1, the polytropic coefficient equals the specific heat
ratio n = γ and the polytropic and adiabatic formulas are the same.
• The Mollier Route can only be used in compositional models, the PIPESIM blackoil model does
not calculate entropy.

Engine keywords
See compressor keywords (p.763).

Technical Description
495
PIPESIM User Guide

Reciprocating compressor operation


This graph shows how the reciprocating compressor will operate for various field deliverabilities:

Note the following:


1. If the field deliverability falls below the minimum compressor flowrate, recycle mode will be
invoked. Due to the low pressure operation in this region, it may be necessary to add a reverse
block to the branch containing the compressor.
2. If the field deliverability falls below the minimum suction pressure of the compressor, no solution
is possible.

Note: This occurrence may be identified using FPT with an event conditional on the minimum
rate through the compressor. To limit the flowrate through a compressor, place a choke in the
branch upstream and specify a maximum gas constraint in FPT.

3. Always run the network model in Wells Offline mode, with no reverse blocks set.

Technical Description
496
PIPESIM User Guide

Expanders

Expanders are modeled in a similar way to centrifugal compressors (p.493), except they work in
reverse. Fluid flows through the expander and power is extracted. As with compressors, expanders
can be described by curves of head and efficiency as functions of the flow rate for a given speed:

Head (q , N c ) = Head c (q ) Eq. 7.165


η (q , Nc ) = ηc (q ) Eq. 7.166

where:

Head is the head ft ⋅ lbf / lb Nm / kg


η is the efficiency, expressed as a fraction, 0 < η ≤ 1
q is the flow rate lb / s kg / s
Nc is the expander speed for the curve

The fan laws can be used to determine the head and efficiency for speeds N that differ from the
curve speed :

( ) ( )
2
N q
Head (q , N ) = Head c Eq. 7.167
Nc N / Nc

η (q , N ) = η c (q
N / Nc ) Eq. 7.168

Technical Description
497
PIPESIM User Guide

The change in pressure of the fluid and the power needed to run the pump or compressor can be
determined from the head and efficiency:

ΔP = Pin − Pout = c1 ⋅ Head ⋅ ρ Eq. 7.169


Power = c2 ⋅ η ⋅ q ⋅ Head Eq. 7.170

where

ρ (Pin , T in ) + ρ (Pout , T out ) is the average density lb / ft kg / m


3 3

ρ =
2
Pin is the suction pressure
/ 2
psi or lbf in N /m
2

is the discharge pressure psi or lbf / in N /m


2 2
Pout

T in is the suction temperature o


R K

T out is the discharge temperature o


R K

Power is the power extracted by the hp W


expander

( )
c1 is a conversion factor for 1 in
2
engineering units
144 ft

c2 is a conversion factor for 1 hp


engineering units 550 ft ⋅ lbf / s

The outlet temperature depends on how much of the energy is removed from the fluid. Three
different models can be used:

( ) )
Adiabatic Route: γ −1
Pout γ
ΔT = T out − T in = η ⋅ T in ⋅ −1 Eq. 7.171
Pin

( ) )
Polytropic Route: n −1
Pout n
ΔT = T out − T in = T in ⋅ −1 Eq. 7.172
Pin

Mollier Route (Isoentropic): S ( P , T ) = S ( P , T ) Eq. 7.173


out out in in

where

γ (Pin , T in ) + γ (Pout , T out ) is the average value of γ


γ =
2

Technical Description
498
PIPESIM User Guide

Cp is the ratio of specific heats


γ=
CV

n (Pin , T in ) + n (Pout , T out ) is the average value of n


n =
2
n 1 γ is the polytropic coefficient
= ⋅
n−1 η γ −1
S is the specific entropy BTU J
o
lb ⋅ F kg ⋅ K

Notes:
• Only a fraction η of the head is converted to power. When using the adiabatic route, the energy
that is not converted to power is assumed to be converted to fluid heat. The usual adiabatic
temperature decrease is multiplied by a factor η ≤ 1.
n
• The polytropic route PV = constant can be used to model constant pressure ( n = 0), constant
temperature ( n = 1), constant enthalpy ( n = γ ) and constant volume ( n = ∞ ) changes as well
as intermediate routes. PIPESIM uses a value of n that is a function of the efficiency ( η ) and
the specific heat ratio ( γ ). This value can only be used when η < γ / ( γ − 1).
• In the special case when the efficiency η = 1, the polytropic coefficient equals the specific heat
ratio n = γ and the polytropic and adiabatic formulas are the same.
• The Mollier Route can only be used in compositional models; the PIPESIM blackoil model does
not calculate entropy.

Engine keywords
See expander keywords (p.767)

7.3.3 Multiphase boosting technology

Multiphase boosting technology (also referred to as multiphase pumping technology) for the oil and
gas industry has been in development since the early 1980s, and is now rapidly gaining
acceptance as a tool to optimize multiphase production systems (Oxley, Ward and Derks 1999).
Multiphase boosting has been recognized as a vital technology, preferable to the standard
approach of separation, gas compression, liquid pumping and the use of dual flow lines back to the
host facility. It is particularly beneficial for the development of satellite fields. Multiphase boosting
enables the full (non-separated) well stream to be boosted in a single machine, thus greatly
simplifying the production system, resulting in significant cost savings that in many scenarios, have
made the development of marginal fields, economic.

Technical Description
499
PIPESIM User Guide

Since 1990, thousands of multiphase boosters have been installed worldwide, with the vast
majority of the installations based onshore or offshore topsides. Over the years, the development
of multiphase boosting has led to two categories of commercial boosters:
Positive Displacement
The most common types are the Twin screw type & Progressive cavity type multiphase
boosters.
Rotodynamic
The most common type is the Helico-axial type multiphase booster.
The figure below depicts the difference between multiphase boosting technology and the more
traditional technology of separation, pumping and compression.

Traditional Multiphase Production approach


• The incoming fluid is separated into its constituent
liquid and gas phases.
• The separated liquids are pumped up to the required
pressure and exported via the liquid export line.
• Separated gas is compressed up to the required
pressure and exported via the gas export line.

Alternative Multiphase Production approach


• The incoming fluid is separated into its constituent
liquid and gas phases.
• The separated liquids are pumped up to the required
pressure and separated gas is compressed up to the
required pressure.
• The two phases are recombined and exported using a
multiphase export line.

Multiphase Boosting
• The incoming fluid is directly boosted up to the
required pressure without separation of the gas and
liquid phases.
• It is exported using a multiphase export line.

Multiphase boosters are pumps/compressors that can accommodate fluids ranging from 100%
liquid to 100% gas, and anywhere in between. Although commonly referred to as multiphase
pumps, the terminology used in this document is 'multiphase booster' to recognize the fact that
100% gas can also be handled by this equipment (albeit with some restrictions, as outlined in later
sections of this topic).

Technical Description
500
PIPESIM User Guide

Multiphase boosters are used primarily for the following reasons:


Production Enhancement
Multiphase boosting helps to accelerate and/or increase hydrocarbon production by
lowering backpressure on wells.
Pressure Boosting
Multiphase boosting increases fluid pressure thus enabling the transportation of
multiphase fluids over long distances. It also helps to move fluids from low pressure
systems to higher pressure systems.
In many cases, Multiphase boosters will deliver the combined benefit of production enhancement
and pressure boosting. For example, lowering the backpressure on a well by using a multiphase
booster may increase the rate and simultaneously supply the fluid at a higher pressure at the
flowline inlet.
To demonstrate the principle of multiphase boosting, take the example of a well which is connected
using a flowline and riser to the inlet separator on the host facility, as in the following diagram.

If the Wellhead is selected as the node, the inflow would represent the P-Q (pressure-flowrate)
relationship from the reservoir up to the wellhead and the outflow would represent the P-Q
relationship downstream of the wellhead, including the multiphase booster, flowline and riser. Both
Inflow and Outflow are represented in the Systems plot. The point of intersection of the two curves
is the system operating point, for example, the flowing wellhead pressure and production rate the
system would operate at. In this example, there is no intersection point, which indicates that the
system would not produce at these conditions.

Technical Description
501
PIPESIM User Guide

Production system analysis: THP curve and outflow curve

For this example, you can see from the Production System Analysis graphic that the system is
incapable of producing naturally. From the THP curve, it is clear that if the back pressure on the
well could be lowered, production could be restored. Assuming that you could install a booster
directly downstream of the wellhead, that would provide a pressure 'boost' of 1000 psi to the well
fluids, the outflow curve could be lowered as shown in the figure below. The system would now
produce 134 lb/s (32,412 stb/d of liquid) at a flowing wellhead pressure of 1554 psia. In this
example, multiphase boosting has transformed a dead well to one that produces over 30, 000 stb/d
of fluid.
Production system analysis: the effect of multiphase boosting visualized

Technical Description
502
PIPESIM User Guide

Through the type of analysis outlined above, the effect of multiphase boosting on a production
system can be easily evaluated, and the requirements of the multiphase booster such as power
requirement, speed, etc. can be determined.

Positive displacement multiphase pumps


Positive displacement type pumps work by transferring a definite amount of fluid through a
pumping chamber operating at a particular speed. As the fluid is passed from the suction side to
the discharge end, differential pressure is added hydrostatically rather than dynamically, which
results in these pumps being less sensitive to fluid density than rotodynamic type pumps. This
feature makes positive displacement type pumps more attractive for surface installations than
rotodynamic type pumps. This is primarily because fluids at surface conditions are at lower
pressures and temperatures and tend to have higher gas fractions and a greater tendency for
density change than fluids at subsea conditions (Butler 1999).
There are four (4) types of Positive displacement pumps: Twin Screw, Progressive Cavity (Single
Screw), Piston & Diaphragm, but commercial development has focused mainly on the Twin Screw
and Progressive Cavity types.
The majority of positive displacement type multiphase boosters on the market are of the Twin
screw type, and they will be the primary focus of this topic.

Technical Description
503
PIPESIM User Guide

Twin screw type


The twin screw type booster, also referred to as two-spindle screw pump, works on the basis of
fluid carried between the screw threads of two intermeshing feed screws and displaced axially as
the screws rotate and mesh. The fluid is split into two inlets on opposite sides of the pumps. This
equalizes stresses associated with slugging and better enables this type of pump to handle
fluctuating inlet conditions. The fluid passes through a chamber created by the twin interlocking
screws and moves along the length of the screws to the outlet at the top of the pump. The
volumetric rate pumped depends on the screw pitch, diameter and rotational speed.
The following figure shows an example of a twin screw type pump.

It should be noted that, unlike screw type compressors, the volume of the chambers is not reduced
from pump suction to pump discharge, for example, there is no in-built compression in the twin
screw type multiphase boosters. Pressure buildup in the twin screw type multiphase booster is
entirely based on the fact that a definite amount of fluid is delivered into the outlet system with
every revolution of the feed screws, and the pressure developed at pump discharge is solely the
result of resistance to flow in the outlet system. Additionally, as the fluid makes its way from suction
to discharge, gas is compressed and liquid slips back, resulting in a reduction in the volumetric
efficiency of the pump. This is due to the development of a pressure gradient across the moving
chambers from pump discharge to suction, which causes an internal leakage in the pumping
elements. This internal leakage/slip causes the pump net flow to be less than its theoretical
capacity, as demonstrated in the pump performance curves shown below.

Technical Description
504
PIPESIM User Guide

As can be seen from the typical pump performance curves above, pump flow rate is dependent on
pump differential pressure: the higher the pump differential pressure, the higher the internal
leakage, and thus the lower the pump flow rate.
The theoretical capacity of the pump, i.e. the flow rate if no internal leakage is present; is the flow
rate at zero pump differential pressure. For the pump represented in the pump performance curves
above, its theoretical capacity is 500 m3/h. The difference between the theoretical flow rate and the
actual flow rate, is the internal leakage, also called 'pump slip'. As an example, for the pump
represented in the GVF=0% pump performance curve, the actual flow rate for a pump differential
pressure of 40 bar, would be 400 m3/h, and the pump slip would be 100 m3/h (for example, 500 -
400). Given the relative insensitivity of flow rate to differential pressure, especially at higher GVFs,
the twin screw multiphase booster is sometimes referred to as a 'constant flow rate' pump. The
twin screw pump is good for handling GVFs up to 98% at suction conditions and is the preferred
technology for high viscosity fluids.

Technical Description
505
PIPESIM User Guide

It can be seen from the pump performance curves that pump flow rate is dependent on GVF, but
GVF has minimal impact on pump shaft power.
The pump performance curves may suggest that there is an unlimited variety of twin screw
multiphase pumps available for an unlimited number of DP-Q (differential pressure - flow
rate)combinations; however, in practice, there are several physical limitations that restrict pump
options, as below:
• Pump differential pressure is typically limited to 70 bar to avoid excessive deflection of feed
screws and possible contact between rotating screws and stator housing
• Pump flow rate (i.e. total volumetric flow rate at pump suction) is presently limited to
approximately 2000 m3/h per pump
• Gas volume fraction at pump suction is typically limited to 95% maximum (for GVF > 95%,
some form of liquid recirculation is typically required to maintain GVF at suction at 95%
maximum)
• Pump inlet pressure and outlet pressures are restricted by casing design pressure and seal
design pressure

Progressive cavity type


The progressive cavity type pump (also known as single-rotor screw pump) operates on the basis
of an externally threaded screw, also called rotor, turning inside an internally threaded stator. It is
the same artificial technology used in wells for production enhancement that was adapted for
surface multiphase pumping.

As with the screw type pump, as the rotor rotates within the stator, chambers are formed and filled
with fluid that progress from the suction side of the pump to the discharge side of the pump. The
continuous seal line between the rotor and the stator helix keeps the fluid moving steadily at a fixed
flow rate proportional to the pump rotational speed. Application of the progressive cavity type pump
for multiphase boosting has been less widespread than the twin screw type multiphase booster,
and flow rates and differential pressures are typically lower than those achievable with the twin
screw type (< 30,000 bbl/d total volume).
An example of a progressive cavity type pump for multiphase applications is Moyno's R&M Tri-
Phaze® System, which is considered one of the largest; capable of transferring multiphase flows
up to 29,000 bbl/day (192 m3/h) at differential pressures up to 300 psi (20.7 bar). Progressive
cavity pumps can tolerate high solids content and can be adapted to deliver higher flow rates and
differential pressures by installing them in series or parallel arrangements, which increases the
complexity (Mirza 1999).

Technical Description
506
PIPESIM User Guide

Given the wider operating range and greater popularity of twin screw pumps in the oil and gas
industry, PIPESIM has chosen to focus its modeling capabilities in the positive
displacementcategory of multiphase boosters, on twin screw pumps.

Rotodynamic multiphase pumps


Rotodynamic type pumps work by adding kinetic energy to the fluid, which is then converted to
pressure, thus boosting the fluid. The actual increase in pressure is directly proportional to the
density of the pumped fluid, for example, the higher the fluid density, the higher the pressure
increase. Because of this, dynamic type pumps are more sensitive to fluid density than positive
displacement type pumps, and tend to be used in applications with lower maximum gas volume
fractions; for example, in subsea applications.
The commercial development of dynamic type multiphase boosters has been focused on the
helico-axial type, based on helico-axial hydraulics developed and licensed by Institute François du
Petrole (IFP). For very high gas volume fractions (GVF > 95%), the contra-rotating axial (CRA)
machine was specially developed; originally by Framo Engineering AS and Shell.
The design of the helico-axial type pump has also concentrated on its driver mechanism. For
subsea use, there are electric motor driven units as well as hydraulic turbine driven units. For
onshore or offshore topsides applications, other driver types can also be used.

Helico-axial type
The helico-axial type multiphase booster features a number of individual booster stages, each
consisting of an impeller mounted on a single rotating shaft, followed by a fixed diffuser. In
essence, the impeller imparts kinetic energy to the fluid, which is converted to pressure in the
diffuser. The diffuser homogenizes the fluid and redirects it to the next impeller stage. This
interstage mixing prevents separation of the gas-oil mixture, enabling stable pressure-flow
characteristics and increased overall efficiency. The impeller blades have a typical helical shape,
and the profile of the open type impeller and diffuser blade arrangement are specifically designed
to prevent the separation of the multiphase mixture inside the pump (de Marolles and de Salis,
1999).
Helico-axial pumps are able to pump large fluid volumes compared to positive displacement
pumps, which is the reason they are installed in the majority of offshore and subsea applications.
They can also handle limited amounts of sand but are more prone to stresses associated with
slugging. They are good for handling GVFs up to 95%.
The following figure shows a vertically-configured helico-axial pump and a close-up of four
individual stages.

Technical Description
507
PIPESIM User Guide

The boosting capabilities of the helico-axial type pump are a function of GVF at suction, suction
pressure, speed, number of impeller stages and impeller size.

Technical Description
508
PIPESIM User Guide

As can be seen from the above figure, the pressure boosting capability drastically reduces with
increasing GVF. Also, for lower speeds or a reduced number of stages, the pressure boosting
capability will be less than the maximum shown in the figure. For a given pump with a given
number of stages, speed and impeller diameter, pump performance curves can be provided as
shown in the figure. These curves are valid for a given GVF at suction, suction pressure and fluid
density only. New performance curves will have to be generated for conditions differing from those
represented in a specific set of performance curves.

Technical Description
509
PIPESIM User Guide

Practical operating limits of the helico-axial type multiphase booster are (Siep-RTS 1998):
• Pump differential pressure typically limited to 70 bar
• Pump flow rate (for example, total volumetric flow rate at pump suction) presently limited to
approximately 1500 m3/h per pump
• Gas volume fraction at pump suction typically limited to 95% maximum
• Pump inlet pressure, 3.4 bara minimum
• Pump outlet pressure restricted by casing design pressure and seal design pressure

Contra-rotating axial type


The CRA operates on the basis of axial compressor theory, but rather than having one rotor and a
set of stator vanes, the CRA employs two contra-rotating rotors. The inner rotor consists of several
stages mounted on the outside of an inner cylinder. The outer rotor consists of several stages on
the inside of a concentric, larger diameter cylinder.

Technical Description
510
PIPESIM User Guide

The exact mechanism underlying pressure buildup inside the CRA compressor is not yet fully
understood, nor are there sufficiently mature design rules available for the scale-up of CRA
performance to larger flow rates.
CRA can handle flow rates of the same order of magnitude as the helico-axial type multiphase
booster, however they can achieve significantly lower differential pressures (maximum 20 bar) and
efficiencies (approximately 25%) than conventional boosting systems.
Given the wider operating range and greater popularity of helico-axial multiphase boosters in the
oil and gas industry, PIPESIM currently focuses its modeling capabilities in the rotodynamic
category of multiphase boosters, on the helico-axial type.

Alternative multiphase production approach


The alternative multiphase production approach described in the figure can also be modeled in
PIPESIM. This is done using the generic booster option, which splits the fluid into liquid and gas;
and pumps the liquid and compresses the gas. Efficiency values for the compressor have been
obtained from field data and are available in the help system.

Wet gas compressors


Wet Gas Compressors are a special category of multiphase booster that are used for well streams
with high gas volume fractions and small amounts of liquid. Multiphase pumps operating under
these conditions are termed "wet gas compressors."
These well streams are often found in marginally economic fields where optimizing production and
minimizing cost are critical targets.
The same guidelines that are used to design a multiphase pump, apply for wet gas compression
service. But special attention must be paid to the design of the wet gas compression service, to

Technical Description
511
PIPESIM User Guide

ensure it can handle thermal expansion, quick temperature changes, as well as high equipment
temperature due to compression heat generated.
Wet gas compressors can handle GVF's greater than 98% and small volumes of low viscosity
fluids. The excessive heat generated by the compression of mostly gas in the well stream often
necessitates the installation of a product cooler. PIPESIM currently cannot model Wet gas
compressors, but support will provided for this option in the near future.

References
Subsea Development from Pore to Process, Oilfield Review, Volume 17, Issue 1, Publication Date:
3/1/2005, Amin Amin, Mark Riding, Randy Shepler, Eric Smedstad Schlumberger and John
Ratulowski Shell.

Technical Description
512
PIPESIM User Guide

Related links:
Multiphase boosters (p.160)
Generic multiphase boosters (p.160)
OneSubsea multiphase booster (p.166)

Guide to multiphase booster efficiencies


Tables 1 and 2 gives guidelines on the (pump and compressor) efficiencies to enter in the generic
multiphase booster module, when the generic model is needed to simulate a Helico-Axial Booster
(p.513) or Twin Screw Booster (p.513).

Related links:
Generic multiphase boosters (p.160)

Helico-axial
The following table gives guidelines on the efficiencies to enter in the generic multiphase booster
module to simulate a Helico-Axial multiphase booster.

FLUID GVF (%) APPROXIMATE PUMP APPROXIMATE COMPRESSOR


EFFICIENCY (%) EFFICIENCY (%) (see 2) (p.514)
0 (see 1) (p.514) 10 10-100
10 50 20 -100
20 40 60-100
30 40 80-100
40 30-40 80-100
50 40(50) (see 3) (p.514) 40 (20) (see 3) (p.514)
60 40(50) (see 3) (p.514) 30(20) (see 3) (p.514)
70 30 60
80 30 50
90 20 70
100 10 100
Table 7.3: Helico-Axial Multiphase Booster

Related links:
Generic multiphase boosters (p.160)

Twin screw
The following table gives guidelines on the efficiencies to enter in the generic multiphase booster
module to simulate a Twin Screw multiphase booster.

Technical Description
513
PIPESIM User Guide

FLUID GVF (%) APPROXIMATE PUMP APPROXIMATE COMPRESSOR


EFFICIENCY (%) EFFICIENCY (%) (see 2) (p.514)
0 5 20 -100
10 30 20 -100
20 30 70 -100
30 30 80 -100
40 30 90
50 40(50) (see 3) (p.514) 40(20) (see 3) (p.514)
60 40 50
70 30 70
80 20 60
90 10 30
100 (see 4) (p.514) 10 100
Table 7.4: Twin Screw Multiphase Booster

See also the Twin screw curve format description.

Notes:
1. Helico-Axial multiphase booster not recommended for pure liquid operations.
2. When using fluids with high liquid content the compressor efficiency has little effect as long as
the compressor efficiency is within the range indicated.
3. Two sets of pump and compressor efficiencies are valid for fluids with these gas volume
fractions.
4. Twin screw multiphase booster not recommended for pure gas operations

Related links:
Generic multiphase boosters (p.160)

7.3.4 Artificial lift


Progressive cavity pump (PCP)
General
Progressive Cavity Pumps (PCP’s) are a special type of rotary positive displacement pump
sometimes referred to as “single-screw pumps”. Unlike ESP’s, PCP performance is based on the
volume of fluid displaced and not on the pressure increase dynamically generated through the
pump. PCP’s are an increasingly common form of artificial lift for low- to moderate-rate wells,
especially onshore and for heavy (solid laden) fluids.

Technical Description
514
PIPESIM User Guide

Invented in the late 1920’s by Rene Moineau, PCP’s were not used in the oilfield until the late
1970’s. Their use is becoming increasingly common for low- to moderate- rate onshore wells,
particularly for heavy-oil and sand-laden fluids. (See SPE Production Engineering Handbook
(p. 0 ).)
PCP systems have several advantages over other lift methods:
• Overall high energy efficiency (typically 55-75%)
• Ability to handle solids
• Ability to tolerate free gas
• No valves or reciprocating parts
• Good resistance to abrasion
• Low internal shear rates (limits fluid emulsification through agitation)
• Relatively lower power costs (prime mover capacity fully utilized)
• Relatively simple installation and operation (low maintenance)
• Low profile surface equipment and noise levels
Limitations of PCP systems include:
• Maximum production rates of approximately 5000 BPD
• The maximum installation depth is about 4,500 ft.
• Maximum operating temperature of approximately 300 º F.
• Corrosive fluids may damage elastomer and result in higher slippage
• Pump stator may sustain permanent damage if run dry even for short periods
• Rod sting and tubing wear can be problematic for directional and horizontal wells (though
downhole drives can be used to avoid this)

Principle of operation
PCP’s are most commonly driven by surface mounted electrical motors (Figure 7.9 (p.516)),
although downhole electric and hydraulic drive systems are available.
A PCP is comprised of two helical gears, a steel rotating gear called the rotor (“internal gear”) and
a stationary gear called the stator (“external gear”), which is commonly made of elastomer but may
be steel as well. The rotor is positioned inside the stator and rotates along the longitudinal axis
(Figure 7.9 (p.516)):

Technical Description
515
PIPESIM User Guide

Figure 7.9. PCP Pump Illustration

The volume between the stator and rotor forms a sealed cavity that trap the fluid and as the rotor
turns this cavity “progresses” the fluid from the inlet to the outlet of the pump. The volume of the
cavity and the rotational speed (N) determine the flow rate achieved by the pump.
The volume of the cavity may be calculated based on geometric parameters. The volume of the
cavity is defined by the diameter of the rotor (Dr ) times the stator pitch length (Ls ) times the
eccentricity (e). The eccentricity is defined as the distance between the centerlines of the major
and minor diameters of the rotor.
Therefore, the flow rate through the pump can be expressed as:
Q = 4eDrLsN
In field units, Ps , e and D are in feet and N in revolutions per-minute to give a rate in ft3/min.
Multiply by 256.46 to convert to BPD. (See Bellarby (p. 0 ).) The geometric parameters required
for this calculation vary considerably among vendors and are generally not published.
Hydraulic power can then be calculated by:

Technical Description
516
PIPESIM User Guide

Hhp = 1.7 X 10-5 Δ PQ


Where Δ P is the pressure differential across the pump (psi) and Q is rate (BPD).
In practice, the clearance between the rotor and stator are not perfect due mainly to deformation of
the elastomeric stator as a function of pressure, temperature, and wear. This causes some of the
fluid to slip back into preceding cavities. Slip increases with increasing pressure and number of
stages. Higher viscosity fluids exhibit less slip.
For simulation purposes, PCP performance curves are generally used. While the format of
performance curves varies by vendor, PIPESIM has adopted the format suggested by ISO 15136-1
(2009) (p. 0 ). PIPESIM provides performance curves from several vendors based on reference
conditions (generally water at standard conditions). While catalog performance curves for
rotodynamic-type pumps (such as ESP’s) are generally consistent with field performance, PCP
performance curves vary considerably based on the operating conditions (pressure and
temperature) as well as the fluid properties. Therefore, the catalog curves available from within
PIPESIM should only be used for preliminary analysis. It is common for PCP’s to undergo “bench
tests” to generate performance curves for specific pumps at intended operating conditions. It is
therefore recommended that these curves be used for more detailed simulation studies.

Viscosity effects
PIPESIM has the option to apply a viscosity correction to reduce slippage effects for higher
viscosity fluids. The method of Karassik et al. (p. 0 ) is used.

qv 2 (1)
v1
= Eq. 7.174
qv 1 v2

Where v = the kinematic viscosity, SSU (Saybold Seconds Universal)

q = the slippage, (BPD)

The range of kinematic viscosity is 100 to 10,000 SSU for this viscosity correction. If the reference
fluid is water with kinematic viscosity of about 32 SSU, the equation reduces to:

32 (2)
qs (v 2) = q Eq. 7.175
v 2 s (curve )

Note: SSU is a viscosity unit that is equal to the measure of the time that 60 cm3 of oil takes to
flow through a calibrated tube at a controlled temperature. This should not be confused with the
dynamic (absolute) viscosity, unit of cp or Pa•s.

Electrical submersible pumps (ESP)


General
The electric submersible pump (ESP) is perhaps the most versatile of the artificial lift methods. The
ESP comprises a down hole pump, electric power cable, motor and surface controls. In a typical

Technical Description
517
PIPESIM User Guide

application, the down hole pump is suspended on a tubing string hung on the wellhead and is
submerged in the well fluid. The pump is close-coupled to a submersible electric motor that
receives power through the power cable and surface controls.
ESPs are used to produce a variety of fluids and the gas, chemicals and contaminants commonly
found in these fluids. Aggressive fluids can be produced with special materials and coatings. Sand
and similar abrasive contaminants can be produced with acceptable pump life by using modified
pumps and operation procedures.
ESPs usually do not require storage enclosures, foundation pads, or guard fences. An ESP can be
operated in a deviated or directionally drilled well, although the recommended operating position is
in a vertical section of the well.
The ESP has the broadest producing range of any artificial lift method ranging from 100 b/d of total
fluid up to 90,000 b/d.
ESPs are currently operated in wells with bottom hole temperatures up to 350 degree Fahrenheit.
Operation at elevated ambient temperatures require special components in the motor and power
cables of sustained operation at high temperatures, and have efficiently lifted fluids in wells deeper
than 12,000 ft. System efficiency ranges from 18 to 68%, depending on fluid volume, net lift and
pump type.

ESP system components: motor


The ESP system's prime mover is the submersible motor. The motor is a two-pole, three-phase,
squirrel-cage induction type. Motors run at a nominal speed of 3,500 rev/min in 60-Hz operation.
Motors are filled with a highly refined mineral oil that provides dielectrical strength, bearing
lubrication and thermal conductivity. The design and operation voltage of these motors can be as
low as 230 volt or as high as 4,000 volt. Amperage requirement may be from 17 to 110 amps. The
required horsepower is achieved by simply increasing the length of the motor section. The motor is
made up of rotors, usually about 12 to 18 inches (300-460 mm) in length that are mounted on a
shaft and located in the electrical field (stator) mounted within the steel housing. The larger single
motor assemblies will approach 33 feet (10 m) in length and will be rated up to 400 horsepower,
while tandem motors will approach 90 feet (27.5 m) in length and will have a rating up to 750
horsepower. The rotor is also composed of a group of electromagnets in a cylinder with the poles
facing the stator poles. The speed at which the stator field rotates is the synchronous speed, and
can be computed from the equation:
120 f
v= Eq. 7.176
M
Where: v is speed in rev/min, f is frequency in cycles/sec and M is number of magnetic poles.
The number of poles the stator contains is determined by the manufacturer. Therefore to change
the speed of the stator magnetic field, the frequency will have to change.
Heat generated by the motor is transferred to the well fluid as it flows past the motor housing.
Because the motor relies on the flow of well fluid for cooling, a standard ESP should never be set
at or below the well perforations or producing interval, unless the motor is shrouded.
Motors are manufactured in four different diameters (series) 3.75, 4.56, 5.40 and 7.8 in. Thus
motors can be used in casing as small as 4.5 in. 60-Hz horsepower capabilities range from a low of
7.5 hp in 3.75-in series to a high of 1,000 hp in the 7.38-in series.

Technical Description
518
PIPESIM User Guide

Motor construction may be single section or several "tandems" bolted together to reach a specific
horsepower. Motors are selected on the basis of the maximum diameter that can be run easily in a
given casing size.

ESP system components: pumps


The ESP is a multistage centrifugal pump. Each stage of a submersible pump consists of a rotating
impeller and a stationary diffuser. The pressure-energy change is accomplished as the liquid being
pumped surrounds the impeller. As the impeller rotates it imparts two rotating motion components
to the liquid: one is in a radial direction outward from the center of the impeller (centrifugal force),
the other motion moves in a direction tangential to the outside diameter of the impeller. The
resultant of these two components is the actual direction of flow. The type of stage used
determines the rate of fluid production. The number of stages determines the total design head
generated and the motor horsepower required. The design falls into one of two general categories:
the smaller flow pumps are generally of radial flow design. As the pumps reach design flows of
approximately 1,900 B/D,the design change to a mixed flow.
The impellers are of a fully enclosed curved vane design, whose maximum efficiency is a function
of the impeller design and type and whose operating efficiency is a function of the percent of
design capacity at which the pump is operated. The mathematical relationship between head,
capacity, efficiency and brake horse power is expressed as:

qv Hγ
Power = Eq. 7.177
η
Where: qv is the volume flow rate, H is the head, γ is the fluid specific gravity and η is the pump
efficiency
The discharge rate of a submersible centrifugal pump depends on the rotational speed (rpm), size
of the impeller, impeller design, number of stages, the dynamic head against which the pump is
operating and the physical properties of the fluid being pumped. The total dynamic head of the
pump is the product of the number of stages and the head generated by each stage.
"Bolt-on" design makes it possible to vary the capacity and total head of a pump by using more
than one pump section. However, large-capacity pumps typically have integrated head and bases.

Pump selection
Select Artificial Lift » ESP » ESP Design and use the Pump Selection tab . The tab has two
sections, Pump Design Data and Pump Parameters. Select a pump based on certain design
criteria.

Pump design data


Design Production rate
Desired flowrate through the pump in stock-tank units. The actual flowing quantity will be
computed.
Design Outlet Pressure
the required outlet pressure of the PIPESIM model when the pump is installed. It is
recommended to only model the well, and no associated flowline or riser, while designing
the ESP system. In this case the outlet pressure would then be the wellhead pressure

Technical Description
519
PIPESIM User Guide

Static Reservoir Pressure


If you entered a value previously, that value is preserved. However, if this field is empty,
the value is taken from the PIPESIM model.
Water cut
If you entered a value previously, that value is preserved. However, if this field is empty,
the value is taken from the PIPESIM model.
GOR (or GLR)
If you entered a value previously, that value is preserved. However, if this field is empty,
the value is taken from the PIPESIM model.
Pump Depth
The depth at which the pump is to be installed. This is taken from the PIPESIM model if a
pump is already installed or can be entered.
Casing ID
The casing size that the pump has to fit into. Usually 3.38 to 11.25 in.
Design Frequency
The frequency/speed that the pump is expected to run at.
Gas Separator Efficiency
The efficiency of the gas separator if installed.
Head factor
Allows the pump efficiency to be factored (default = 1).
Viscosity Correction
All pump performance curves are based on water systems, this option will correct for oil
viscosity.
Select Pump
Will use the available data to select suitable pumps from the database. The pump intake
conditions will first be computed. The resulting pump list can be sorted by efficiency or
Maximum flowrate by selecting the column header. The Manufactures to select from can
be filtered. Errors in the simulation (p.524).

Pump parameters
Calculate
Calculate pump performance at the conditions specified. Errors in the simulation (p.524)
Stage-by-stage
Perform the stage calculations on a stage-by-stage basis. Default = stage-by-stage.
Selected Pump
The pump selected, by the user, from the design data
No. of Stages required
The computed number of stages for this pump under these conditions.

Technical Description
520
PIPESIM User Guide

Pump efficiency @ Design rate


The efficiency of the pump at the design production rate
Pump power required
The power required for this pump to deliver the required flowrate.
Pump intake pressure
The computed pump intake pressure.
Pump discharge pressure
The computed pump discharge pressure.
Head required
The computed pump head required
Liquid density
The computed liquid density at the pump intake
Free gas fraction at inlet conditions
The computed gas fraction.
Pump performance plot
plot performance curves at different speeds
Pump curves
plot standard performance curves
Install pump
Install the pump into the tubing of model. This will replace any existing ESP but not gas lift
valves.
See also: Select a motor (p.518), Select a cable (p.523)

Motor selection
This can only be performed after a pump has been selected.
Select Artificial Lift » ESP » ESP Design and use the Motor/Cable Selection tab.
Name of the selected Pump
Selected from the Pump tab.
No. of stages
Computed.
Pump efficiency
Computed
Pump power required
Computed.
Select Motor
The resulting motor list can be sorted by power, voltage, current, etc. by selecting the
column header. Errors (p.517).

Technical Description
521
PIPESIM User Guide

Various parameters associated with the motor will be computed and displayed at both 60Hz and
the initially entered Design Frequency.
NP [Name Plate] Power
NP [Name Plate] Voltage
NP [Name Plate] Current
See also: Select a pump (p.519), Select a cable (p.523)

ESP database
To simulate an ESP, PIPESIM maintains a database of manufacturers and models from which the
user can select. For each model the diameter, minimum and maximum flowrate and base speed
are provided. A plot of the ESP's performance is also available. If the required ESP is not in the
database, you can easily enter the basic data required for it into the database using Data » New
ESP/Pump/Compressor. See Data/newESP-pump-compressor.

Selection
When modeling an ESP, it is important that the correct size (expected design flowrate and physical
size) ESP is used. A search facility is available, based on these two parameters, to select the
appropriate ESP from the database. The search can, if required, be restricted to a particular
manufacturer. Pumps that meet the design criteria will be listed.

Stage-by-stage modeling
Stage-by-stage modeling is selected by selecting the checkbox next to the calculate button.
Alternatively by inserting Engine Keywords (PUMP STAGECALCS) (p.786) into the model, using
the EKT.

Install a pump
Once the ESP manufacturer and model (p.518) has been selected from the database of common
ESP's (p.522) some parameters can be altered. The performance curves for each model are
(normally) based on a Speed of 60Hz and 1 stage.

Design data
Speed
The actual operating speed of the ESP
Stages
The actual number of stages of the ESP
Head factor
Allows the efficiency to be factored (default = 1)

Calculation options
Viscosity Correction
Allow a viscosity correction factor to be applied to take account of changes to the fluid
viscosity by the pressure and temperature.

Technical Description
522
PIPESIM User Guide

Gas Separator present


Allow a gas separator to be added (automatically) with an efficiency: Separator efficiency -
efficiency of an installed gas separator (default = 100% if installed)
Performance table
The data used to predict the performance of the ESP
Standard Curves
The standard performance curves for the ESP - can be printed/exported
Variable Speed Curves
Variable speed curves at 30 - 90 Hz.- can be printed/exported

ESP design
The ESP option is selected from the Artificial Lift menu. To design an ESP the following stages are
required:
Select a pump (p.519)
Select a motor (p.518)
Select a cable (p.523)
The ESP should then be installed, added into the tubing, at the required depth. This can either be
performed manually or by using the Install button. Installing automatically removes any existing
ESPs in the tubing. However, any gas lift values or injections points are not removed.
See also: ESP [Reda] website

ESP system components: cable


Cable Selection can be determined after a Pump and motor have been selected.
1. Motor/Cable Selection tab
2. Cable Selection
3. Select Cable
Cable Length
The length of the cable, can be modified
NP Current @ Design Frequency
The [Name Plate] Current at the design frequency. Cannot be changed.
Computed values

Selected Cable
Cable length
Voltage drop
Downhole voltage
Surface voltage

Technical Description
523
PIPESIM User Guide

Total System KVA


Design Report
Display a report that details all the selected components of the ESP system.

Errors
Occasionally a pump may not be able to be determined and a Convergence error will be reported.
There could be a number of reasons for such an error and the user is advised to view the output
report.
Common problems:
1. The system cannot reach the outlet pressure specified. Try increasing the outlet pressure.

Gas lift
The operation of a continuously lifted gas lift well is very similar to that of a naturally flowing well.
Gas is continuously injected into the tubing through a gas lift valve at a fixed depth. The only
difference between this type of operation and a naturally flowing well is that the gas-liquid ratio
changes at some point in the tubing for the gas lift well.
The following image shows a gas lifted well and the related downhole equipment.

Technical Description
524
PIPESIM User Guide

Related links:
Run gas lift tasks (p.309)

Gas lift injection


The basic goal behind gas lift injection in oil wells is to lower the density of the produced fluid in the
tubing. This results in a reduction of the elevational component of the pressure gradient above the
point of injection and a lower bottomhole pressure. Lowering the bottomhole pressure increases
reservoir drawdown and, thus, the production rate.

Technical Description
525
PIPESIM User Guide

The depth at which the operating gas lift valve can be located depends on the available gas
injection pressure. The more pressure available, the deeper the injection point can be. Also, as the
depth of the injection gas is increased, less injection gas is required to achieve the same
bottomhole pressure.
The figure below (Pressure profile of a gas lifted well) illustrates the concept of a continuous gas lift
well in terms of the pressure values, pressure gradients, well depth, and depth of injection. With
the available flowing bottomhole pressure and the natural flowing gradient (dp/xz)b, the reservoir
fluids would ascend only to the point indicated by the projection of the pressure profile in the well.
This would leave a partially filled wellbore.

Figure 7.10. Pressure profile of a gas lifted well

Addition of gas at the injection point reduces the pressure gradient (dP/dz)a, allowing the fluids to
be lifted to the surface. The intersection of the casing pressure gradient with the lower tubing

Technical Description
526
PIPESIM User Guide

pressure gradient (dP/dz)b is shown as the balance point. However, due to the pressure loss
across the lift valve, the valve must be located at an injection depth higher than the balance point.
The flow rate is shown at the intersection of the bottomhole flowing pressure and the (sideways
projected) IPR curve.
Other valves are required above the working valve to unload the well.
In terms of the overall pressure gradient, the trade-off to the increased presence of gas is an
increased frictional pressure gradient. As shown in the figure below (Gas lift vs. liquid production)
as the rate of injection gas increases, a point is reached where the benefits of reducing the
elevational gradient equals the drawback of increasing the frictional gradient.

Figure 7.11. Gas lift vs. liquid production

A further increase of injection gas has a detrimental effect on the overall production rate. This point
is called the optimal unconstrained gas-lift injection rate and, for individual wells, is relatively easy
to calculate.
If a long horizontal flowline is used to connect the wellhead to the delivery point, the frictional
effects of the gas are more pronounced, resulting in a lower optimal gas lift value.

Gas lift design


PIPESIM provides three tasks for gas lift design simulations: two design methods for wells with
IPO valves, and one design method for wells with PPO valves.

IPO surface close


When you enter data in the Gas lift design dialog box and run a gas lift design simulation
using the IPO surface close method, the PIPESIM engine calculates Mandrel spacing and valve
sizing. The IPO surface close method uses a user-specified fixed surface close (injection) pressure
drop between valves.
The PIPESIM engine performs the following steps.

Technical Description
527
PIPESIM User Guide

1. As the starting point for the spacing calculation, the engine calculates the Deepest point of
Injection (DIP) and gets results that it uses as the starting point for the spacing calculation.

2. The engine locates the top valve using an unloading gradient line from the wellhead to the point
where the line meets the casing pressure line.
3. The engine reads the depth of valve 1 (the top valve).
4. The engine calculates the required gas to unload a section of the tubing above valve 1.
5. Based on the calculated gas rate, the engine computes the required port size using the
Thornhill-Craver equation.

Technical Description
528
PIPESIM User Guide

6. The engine performs the following pressure calculations at the top valve depth:
• Opening pressure
• Dome pressure
• Closing pressure
• Spread

Note: The opening pressure for the top valve is equal to the casing pressure at the valve depth.

7. The engine draws a line parallel to the CHP line from the wellhead to the packer.
This line passes through the closing pressure location for valve 1.
8. The engine locates the second valve based on the gradient line starting from the transfer point
at the top valve depth underneath the CHP line within the Locating DP margin.

Technical Description
529
PIPESIM User Guide

9. The engine draws a line parallel to the surface close location for valve 1 by using the known
surface closing pressure DP (Surface Close DP).
10.The engine draws a line at the second valve depth that goes to the surface close pressure for
valve 1.

Technical Description
530
PIPESIM User Guide

11.The engine repeats spacing for other valves in the same way until the maximum depth is
reached.

Note: Maximum depth is determined by the deepest injection point computation performed at the
starting point of the design.

At each valve location, the engine computes the gas rate to unload the section of the tubing
above the valve, computes the port size, using the Thornhill-Craver equation, and selects the
valve from the gas lift valve DP in PIPESIM.
After selecting each valve, the engine performs the following pressure computations at the valve
12.
depth:
• Opening pressure
• Dome pressure
• Closing pressure
• Spread

Note:
• While performing pressure calculations for the top valve, the engine uses the known valve
opening pressure to compute the remaining pressures.

Technical Description
531
PIPESIM User Guide

• For the remaining valves, the engine uses the known closing pressure to calculate the dome
and opening pressure at each valve depth.
• For IPO surface close design, the surface closing pressure drops between valves are fixed
as the user entered in the gas lift design task (value entered in the Surface close DP field in
the Design Bias group in the Gas lift design dialog box.

For information on how the engine calculates valve pressures, refer to Pressure computations for
IPO valves (p.533).

Technical Description
532
PIPESIM User Guide

Related links:
Run gas lift design (p.318)

Pressure computations for IPO valves


The PIPESIM engine uses mathematical equations to compute the opening, dome, and closing
pressures for the IPO valves used in gas lift design simulations.

Opening, dome and close pressures


The engine calculates the pressures for the IPO valves.

• Opening pressure (Pv) – pressure in the casing at the instance before the valve opens from its
closed position. Force balance results in a closed valve condition.
The PIPESIM engine uses the following equation to calculate the opening pressure:

• Dome pressure (Pd) – pressure exerted on the bellow due to the nitrogen charge in the dome of
the valve.
The engine uses the following equation to calculate the dome pressure:

• Closing pressure (Pvc) – pressure at the instance valve is about to close from its open position.
Force balance results in an open valve condition.

Technical Description
533
PIPESIM User Guide

• Spread – difference between the opening pressure and the closing pressure at the valve
location (use the equation on slide 23 in both topics)

Ptrd
The engine calculates the ptrd and spread for the IPO valves
• Ptrd is the valve dome pressure at the test rack condition entered by the user in the Gas lift
design dialog box.
The engine can derive Ptrd for each valve by using the dome pressure and temperature at the
valve depth as well as the test rack temperature.

Technical Description
534
PIPESIM User Guide

IPO surface close kickoff pressure handling


The kickoff pressure is the maximum possible injection pressure to kick off the well.
You can use the following information to determine the value to enter for the top valve placement.

Surface piping and equipment handling


The PIPESIM engine calculates the IPO design based on surface equipment location.

Technical Description
535
PIPESIM User Guide

Known valve spacing handling


The PIPESIM engine determines valve spacing differently if you entered a value in the Current
field on the Gas lift design dialog box.

Technical Description
536
PIPESIM User Guide

Minimum valve spacing handling


The PIPESIM engine determines the minimum distance for valve spacing (TVD) differently if you
entered a value in the Minimum valve spacing field on the Gas lift design dialog box.

Liquid level condition handling


The PIPESIM engine calculates the top valve location based on the location of the liquid relative to
the surface.

Technical Description
537
PIPESIM User Guide

IPO PT min/max
When you enter data in the Gas lift design dialog box and run a gas lift design simulation
using the IPO PT Min/Max Design spacing method option, the PIPESIM engine calculates
Mandrel spacing and valve sizing. The IPO PT Min/max method uses a calculated surface close
(injection) pressure drop between valves (with a user-specified minimum).
The PIPESIM engine performs the following steps.
1. As the starting point for the spacing calculation, the engine calculates the Deepest point of
Injection (DIP) and gets results that it uses as the starting point for the spacing calculation.

2. The engine locates the top valve using an unloading gradient line from the wellhead to the point
where the line meets the casing pressure line.
3. The engine reads the depth of valve 1 (the top valve).
4. The engine calculates the required gas to unload a section of the tubing above valve 1.
5. Based on the calculated gas rate, the engine computes the required port size using the
Thornhill-Craver equation.

Technical Description
538
PIPESIM User Guide

6. The engine performs the following pressure calculations at the top valve depth:
• Opening pressure
• Dome pressure
• Closing pressure
• Spread

Note: The opening pressure for the top valve is equal to the casing pressure at the valve depth.

7. In order to locate the second valve, the engine determines the transfer point that is to the right
of the tubing pressure at the valve 1 location by the Transfer DP margin. This is called Pp-min
at the top valve location.
a. From this point, the engine draws a static gradient line that crosses the injection pressure
line. A Locating DP margin is set to identify the location on the static gradient line to the left
of the injection pressure line.

Technical Description
539
PIPESIM User Guide

b. From this point, a dotted line is drawn that connects the THP and the intersection of this
dotted line with the depth line of the top valve. This is identified as Pp-max at the top valve
location.
c. Based on Pp-min and Pp-max at the top valve location, the engine calculates the production
pressure effect (PPE) using the following three equations:

8. The engine computes the surface opening pressure for valve 2 using the following equations:

Technical Description
540
PIPESIM User Guide

Note:
• The surface opening pressure Pso@L1 for valve 1 is the same as CHP.
• The Locating DP intersecting static gradient line is not the valve depth.

9. Once the Pso at valve 2 is known, the engine draws a line parallel to the CHP line as shown in
the image. The point where the Pso @ L2 line crosses the static gradient line, the engine draws
a static gradient line that crosses the injection pressure line. A Locating DP margin is set to
identify the location on the static gradient line to the left of the injection pressure line. This
location is identified as the depth for valve 2. This intersection point is also the opening
pressure for valve 2.

Technical Description
541
PIPESIM User Guide

10.The engine then calculates the operating pressure at the valve 2 location by using the following
formula:

Note: The engine uses the following equation to calculate the operating pressure for all
subsequent valves.

a. The engine calculates the required gas to unload a section of the tubing above valve 2.
b. Based on the calculated gas rate, the engine computes the required port size.

Technical Description
542
PIPESIM User Guide

11.The engine repeats Step 7 – Step 10 to locate and size valve 3 and all remaining valves until
the maximum depth is reached.

Note:
• While the engine used the CHP line as a reference for Locating DP for valves 1 and 2, the
engine uses the Pso @ L2 line as the reference point for locating valve 3. For the valve 4
location, the engine uses Pso @ L3 as the reference point. The engine uses this process for
the remaining valves.
• The engine uses the following equations:

• The engine computes the Pso @ L3 line using the same formula used to calculate Pso @ L2
The engine continues this computation for all remaining valves.

12.After selecting each valve, the engine performs the following pressure computations at the
valve depth:
• Opening pressure
• Dome pressure
• Closing pressure
• Spread

Note:
• While performing pressure calculations for a valve, the engine uses the known valve
opening pressure to compute the remaining pressures.
• For the IPO PT Min/max design, the engine calculates the surface closing pressure drops
between valves during the design. However, you can control this by specifying the minimum
value in the Gas lift design dialog box Design Bias group Minimum Surface open DP
field.

Related links:
Run gas lift design (p.318)

Technical Description
543
PIPESIM User Guide

Pressure computations for IPO valves


The PIPESIM engine uses mathematical equations to compute the opening, dome, and closing
pressures for the IPO valves used in gas lift design simulations.

Opening, dome and close pressures


The engine calculates the pressures for the IPO valves.

• Opening pressure (Pv) – pressure in the casing at the instance before the valve opens from its
closed position. Force balance results in a closed valve condition.
The PIPESIM engine uses the following equation to calculate the opening pressure:

• Dome pressure (Pd) – pressure exerted on the bellow due to the nitrogen charge in the dome of
the valve.
The engine uses the following equation to calculate the dome pressure:

• Closing pressure (Pvc) – pressure at the instance valve is about to close from its open position.
Force balance results in an open valve condition.

Technical Description
544
PIPESIM User Guide

• Spread – difference between the opening pressure and the closing pressure at the valve
location (use the equation on slide 23 in both topics)

Ptrd
The engine calculates the ptrd and spread for the IPO valves
• Ptrd is the valve dome pressure at the test rack condition entered by the user in the Gas lift
design dialog box.
The engine can derive Ptrd for each valve by using the dome pressure and temperature at the
valve depth as well as the test rack temperature.

Technical Description
545
PIPESIM User Guide

PPO design
When you enter data in the Gas lift design dialog box and run a gas lift design simulation
using the PPO design method, the PIPESIM engine calculates Mandrel spacing and valve sizing.
The PPO method uses a transfer gradient line as the design production pressure line. This method
is normally used for gas lift designs with production pressure operated (PPO) valves.
The PIPESIM engine performs the following steps.
1. As the starting point for the spacing calculation, the engine calculates the Deepest point of
Injection (DIP) and gets results that it uses as the starting point for the spacing calculation. The
engine locates the top valve using an unloading gradient line from the wellhead to the point
where the line meets the casing pressure line.
2. The engine draws the transfer gradient line starting from the surface Offset to the operating
valve DP.
3. The engine locates the top valve using an unloading gradient line from the wellhead to the point
where the line meets the casing pressure line.

Technical Description
546
PIPESIM User Guide

4. The engine reads the depth of valve 1 (the top valve).


5. The engine calculates the required gas to unload a section of the tubing above valve 1.
6. Based on the calculated gas rate, the engine computes the required port size using the
Thornhill-Craver equation.

Technical Description
547
PIPESIM User Guide

7. The engine performs the following pressure calculations at the top valve depth:
• Opening pressure
• Dome pressure
• Closing pressure
• Spread

Note: The opening pressure for the top valve is equal to the casing pressure at the valve depth.

8. The engine locates the second valve based on the gradient line starting from the transfer point
at the intersection of the top valve depth with the transfer gradient line and locates the valve
where the gradient line meets the CHP line within the Locating DP margin.

Technical Description
548
PIPESIM User Guide

9. The engine repeats spacing for other valves in the same way until the maximum depth is
reached.

Note: Maximum depth is determined by the deepest injection point computation performed at the
starting point of the design.

At each valve location, the engine computes the gas rate to unload the section of the tubing
above the valve, computes the port size, using the Thornhill-Craver equation, and selects the
valve from the gas lift valve DP in PIPESIM.
10. selecting each valve, the engine performs the following pressure computations at the valve
After
depth:
• Opening pressure
• Dome pressure
• Closing pressure
• Spread

Note:
• While performing pressure calculations for the valves, the engine uses the transfer line
pressure at the valve location as the valve opening pressure at the valve depth.
• Based on the opening pressure, the engine calculates the dome and closing pressure at
each valve depth.

Technical Description
549
PIPESIM User Guide

For information on how the engine calculates valve pressures, refer to Pressure computations for
PPO valves (p.533).

Related links:
Run gas lift design (p.318)

Pressure computations for PPO valves


The PIPESIM engine uses mathematical equations to compute the opening, dome, and closing
pressures for the PPO valves used in gas lift design simulations.

Technical Description
550
PIPESIM User Guide

Transfer gradient
The transfer gradient line is also referred to as the design production line.

The engine calculates the transfer gradient top and bottom locations and the slope of the line using
the following three equations. This gradient line is used for PPO design spacing calculations.

Technical Description
551
PIPESIM User Guide

• Transfer gradient top – wellhead location of the transfer gradient line

• Transfer gradient bottom – operating valve location of the transfer gradient line

• Transfer gradient slope – slope of the transfer gradient line

Opening, dome and close pressures


The engine calculates the pressures for the PPO valves.

• Opening pressure (Pv) – pressure in the tubing at the instance before the valve opens from its
closed position
Force balance results in a closed valve condition. Opening pressure is taken directly from the
transfer gradient line. The PIPESIM engine uses the following equation to calculate the opening
pressure:

• Dome pressure (Pd) – pressure exerted on the bellow due to the nitrogen charge in the dome of
the valve
The engine uses the following equation to calculate the dome pressure:

• Closing pressure (Pvc) – tubing pressure at the instance the valve is about to close from its
open position
Force balance results in an open valve condition.

Technical Description
552
PIPESIM User Guide

add the image below on slide 20 also update the IPO topic with this

• Spread – difference between the opening pressure and the closing pressure at the valve
location (use the equation on slide 23 in both topics)

Ptrd
The engine calculates Ptrd for the PPO valves.
• Ptrd is the valve dome pressure at the test rack condition entered by the user in the Gas lift
design dialog box.
The engine can derive Ptrd for each valve by using the dome pressure and temperature at the
valve depth as well as the test rack temperature.

The engine calculates Ptrd based on the Wrinkler-Eads equation for nitrogen temperature
correction.

Technical Description
553
PIPESIM User Guide

Ptro
The engine calculates Ptro for the PPO valves.
• Ptro is the opening pressure required to open the valve at the test rack condition. Force balance
results in a closed valve at the test rack condition.

Gas lift instability


Unstable operational conditions may occur in a continuous gas lift well because the characteristics
of the system mean that small perturbations can degenerate into huge oscillations in the flow
parameters. Therefore, a clearly defined mechanism is required to show the relative importance of
the different factors involved, to help to assure stable flow conditions at the design phase, or to
decide what to do to stabilize an unstable gas lift well.

Technical Description
554
PIPESIM User Guide

Unified instability criteria were developed by Alhanati et al. (1993) for continuous gas lift wells to
overcome drawbacks in previous developments. The unified criteria can be used for all possible
flow regimes for the gas-lift valve and surface gas injection choke. The unified criteria were
developed using a number of simplifying assumptions, so are not highly accurate or applicable to
every type of instability experienced in a gas lift installation. However, they cover a number of
common cases encountered in the industry and certainly indicate what can be done to improve
operating instability.
For the Alhanati factors to be computed, the well model must have the following:
• Well IPR (p.431) modeled by the PI (p.432) method
• Casing (p.52) inside diameter is set. The simple or detailed tubing model can be used.
• Valve port diameter (p.70) set. The operating Gas Lift Valve Port (Orifice) Diameter.
• Surface injection pressure set. This is the gas lift injection surface pressure, upstream of the
surface injection choke (which must be set higher than the internally calculated casing head
pressure).
• To ensure accurate results from the Alhanati instability check, the model should be developed
only to the well head.

Note: The factors will not be computed if data is missing or incorrect.

From this data the well model automatically calculates the steady state casing and tubing
pressures. The Gas Lift performance curve should then be developed as normal; the Alhanati
factors C1 and C2 are automatically generated. For stable gas lift operations, both these factors
must be greater than zero.
To view the Alhanati factors (C1 and C2) graphically (using the system plot), select:
• X-axis: Total Injection Gas
• Left Y-axis: Alhanati Criterion 1
• Right Y-axis: Alhanati Criterion 2. For stable gas lift operations, both these factors must be
greater than zero
If the graphical display is empty, this implies that one or more of the above data items is missing/
incorrect.

Related links:
Add a gas lift injection port (p.71)

Assumptions of the alhanati model


The model assumes:
• Constant pressure at the gas injection manifold, which is upstream of the surface injection
choke
• Adiabatic flow through the choke.
In the unified criteria, two sets of criteria were defined, namely C1 and C2, and both must be
greater than zero for stable gas lift operation.

Technical Description
555
PIPESIM User Guide

( )
C2 = F 1
γν
μν
+
γν
Fc
Eq. 7.178

where

(q fo + qGo) ⋅ At Pco
F3 = ⋅ Eq. 7.179
( p f − pG ) ⋅ g q fo
(ZT )c
μch = Eq. 7.180
(ZT )m
Nomenclature

At Cross sectional area of tubing in


2

g Acceleration due to gravity ft / s


2

Pco Steady state casing pressure psia

Pg

Pf

q fo Steady state reservoir fluids flow rate stbd

qGo Steady state injected gas flow rate mmscf

γ Gas expansion factor


T Temperature °F
Z gas compressibility factor

subscripts

ν gas lift valve


ch gas injection choke
t tubing
c casing
m manifold

Valve status
When you run a gas lift design or gas lift diagnostics task, the PIPESIM engine calculates the valve
status (open or closed) for IPO valves, PPO nitrogen-charged valves, and PPO spring-loaded
valves.

Technical Description
556
PIPESIM User Guide

IPO valves
For IPO bellow-operated valves, the engine determines the valve status as shown in the image
below. As displayed in the upper left pink shaded area of the graph, the valve remains closed if the
production pressure (Pp ) is higher than the injection pressure (Pi ). For the region on the graph
where Pi > Pp , as Pi increases beyond Pvo , the valve opens (as shown in the green shaded area
on the graph). In the transition region (TRANS), displayed in the grey color, the valve is assumed
to be closed.

PPO nitrogen-charged valves


For PPO nitrogen-charged valves, the engine determines the valve status as shown in the image
below. As displayed in the upper left pink shaded area of the graph, the valve remains closed if the
production pressure (Pp ) is higher than the injection pressure (Pi ). For the region on the graph
where Pi > Pp , as Pp increases beyond Pvo , the valve opens (as shown in the green shaded area
on the graph). In the transition region (TRANSITION), displayed in the grey color, the valve is
assumed to be open.

Technical Description
557
PIPESIM User Guide

PPO spring-loaded valves


For PPO spring-loaded valves, the engine determines the valve status as shown in the image
below. As displayed in the upper left pink shaded area of the graph, the valve remains closed if the
production pressure (Pp ) is higher than the injection pressure (Pi ). For the region on the graph
where Pi > Pp , as Pp increases beyond Pvo , the valve opens (as shown in the green shaded area
on the graph).

Technical Description
558
PIPESIM User Guide

7.4 Heat transfer models


7.4.1 Energy equation for steady-state flow
PIPESIM uses the first law of thermodynamics to perform a rigorous heat transfer balance on
each pipe segment. The first law of thermodynamics is the mathematical formulation of the
principle of conservation of energy applied to a process occurring in a closed system (a system of
constant mass m). It equates the total energy change of the system to the sum of the heat added
to the system and the work done by the system. For steady-state flow, it connects the change in
properties between the streams flowing into and out of an arbitrary control volume (pipe segment)
with the heat and work quantities across the boundaries of the control volume (pipe segment). For
a multiphase fluid in steady-state flow, the energy equation is given by:

(
Δ H+
1 2
)
v + gz dm = ∑ δQ − δW s
2 m
Eq. 7.181

where the specific enthalpy:


H = U + PV Eq. 7.182
is a state property of the system since the internal energy U the pressure P and the volume V are
state properties of the system.
It is clear from the left-hand side of equation 7.181 (p.559), that the change in total energy is the
sum of the change in enthalpy energy,
Δ H dm = Δ (U + PV )dm Eq. 7.183

Technical Description
559
PIPESIM User Guide

the change in gravitational potential energy:


ΔEP = Δ ( gz )dm Eq. 7.184

and the change in total kinetic energy (based on the mixture velocity vm)

ΔE K = Δ ( 12 v )dm ≈ 0
2
m
Eq. 7.185

which is assumed to be negligible.


On the right-hand side of equation 7.181 (p.559), ∑ δQ includes all the heat transferred to the
control volume (pipe segment) and δW s represents the shaft work, that is work transmitted across
the boundaries of the control volume (pipe segment) by a rotating or reciprocating shaft.

7.4.2 Overall heat transfer coefficient


Steady state heat transfer between the fluid inside a pipe (flowline, riser or tubing) and its
surroundings occurs due to the difference between the bulk fluid temperature T b and the ambient
temperature T a. In the case of a flowline or riser, the ambient temperature is the temperature of the
ambient fluid (air or water) moving above the mud line. In the case of a tubing, the ambient
temperature is the ground temperature at a distance far from the well, given by the geothermal
gradient at the tubing depth. The rate at which heat is transferred depends on various thermal
resistances such as:
• Inside fluid film (which is used to model heat transfer between a moving fluid and the pipe wall)
• Wax layers on the inside of the pipe wall
• Pipe wall and surrounding layers (for example coatings, fluid-filled annuli)
• Ground and surrounding medium (air or sea)
The heat transfer Q can be expressed as:

Resistances in series
For resistances in series, (for example pipe coatings, see Fig 7.12 (p.561)) the temperature
difference can be written as the sum of the temperature differences across each resistance:

T a − T b = Σ ΔT i Eq. 7.186
i

Therefore

Technical Description
560
PIPESIM User Guide

1 A 1
= − ∑ ΔT i = ∑ Eq. 7.187
U Q i i hi

Here h i is the heat transfer coefficient for resistance i given by:


1 A
= − ΔT i Eq. 7.188
hi Q

Figure 7.12. Pipeline and Layers

Resistances in parallel
For resistances in parallel, (for example partially buried pipes, see Fig 7.13 (p.562)) the overall
heat transfer can be written as the sum of the heat transfer through each resistance:

Q = ∑ Qi = ∑ U i A(T b − T a) Eq. 7.189


i i

Therefore the overall heat transfer coefficient can be found by summing the heat transfer
coefficients for each resistance in parallel:

U = ∑ Ui Eq. 7.190
i

Technical Description
561
PIPESIM User Guide

Figure 7.13. Burial configurations

Heat transfer models


Heat transfer models are required for:
• radial heat transfer between a moving fluid and the pipe wall, see Inside film coefficient
(p.563).
• radial heat transfer through a conductive layer (p.573), such as internal wax layers, the pipe
wall and insulation.
• radial heat transfer through a convective layer (p.574), such as a fluid-filled annulus.
• heat transfer through the ground
• between the pipe and the surface for buried and partially buried horizontal flowlines
(p.576)
• radially, between the pipe and the far field geothermal temperature gradient for vertical wells
(p.580)
• heat transfer through the ambient fluid
• between the ground and the ambient fluid for buried and partially buried horizontal flowlines
• between the pipe and the ambient fluid for partially buried and fully exposed horizontal
flowlines

Technical Description
562
PIPESIM User Guide

• between the pipe and the ambient fluid for fully exposed vertical risers

Reference diameter for overall heat transfer coefficient


By default in PIPESIM, all Heat Transfer Coefficients (including local Inside, Outside, and Wall
Coefficients, as well as the Overall Heat Transfer Coefficient) are referenced to the pipe outside
diameter (and outside area), in keeping with the industry standard for heat exchanger design.
However, the default reference diameter can be changed from the pipe outside diameter to a user-
specified diameter using the HEAT HTCRD (p.792) keyword, which can either be entered in the
Engine Keyword Tool (p.69) section or using an Engine Keyword Tool (EKT). This will override the
default basis for all the reported heat transfer coefficients to the user-specified diameter, for all
pipes in the workspace. This can be useful for direct comparison with Heat Transfer Coefficients
which are reported by some other flow assurance software on an inside diameter and area basis
(for example, OLGA, PIPEFLO).
Related links:
HEAT (p.792)
Engine Keyword Tool (p.69)
Inside fluid film heat transfer coefficient (p.563)
Conductive heat transfer coefficients (p.573)
Annulus and outside convective heat transfer coefficients (p.574)
Heat transfer between a horizontal flowline and the ground surface (p.576)
Heat transfer between a vertical well and the surrounding rock (p.580)

7.4.3 Inside fluid film heat transfer coefficient


This inside film heat transfer coefficient accounts for resistance to heat flow between the bulk of
the fluid and the inside of the pipe wall. It is one component of the Overall Heat Transfer
Coefficient (U), which is used to calculate the heat transfer rate, Q. The inside fluid film heat
transfer coefficient consists of convection from the fluid to the pipe wall. There are 3 types of
convection mechanism depending on the nature of the flow; forced, free/natural and mixed
convection, as described below. Usually, one convection mechanism will dominate, which is
determined by the Reynolds number and Grashof number. However, in some instances, mixed
convection may occur.

Reynolds Number
The Reynolds number is a dimensionless number calculated as the ratio of the inertial forces to the
viscous forces acting on the fluid.

Technical Description
563
PIPESIM User Guide

Grashof Number
The Grashof number is a dimensionless number calculated as the ratio of the buoyancy forces to
the viscous forces acting on a fluid.

Forced Convection
Fluid flow, and subsequent convective heat transfer, is caused by external means such as a fan or
pump or differential pressure. It is correlated with the Reynold's number. Forced convection
dominates when Gr/Re2 « 1 i.e. inertial forces on the fluid are much greater than buoyancy forces.
The Forced Convection Nusselt number (p.565) is thus a function of Reynold's number and
Prandtl number. PIPESIM has two models for calculating the forced convection heat transfer
coefficient; Kreith and Kaminsky. For each model, there are different forms of the Nusselt number
correlation that are used depending on the type of flow; laminar, transition or turbulent flow for both
the Kreith and Kaminsy models, and the ratio of the pipe length to diameter i.e. short duct, medium
duct and long duct, specifically for the Kreith model.

Free/Natural Convection
Fluid flow, and subsequent convective heat transfer, is induced by buoyancy forces which are due
to density differences caused by temperature differences in the fluid. Free convection can occur
even when fluids are at rest. It is correlated with the Grashof number. Free convection dominates
when Gr/Re2 » 1 i.e. buoyancy forces on the fluid are much greater than inertial forces. The

Technical Description
564
PIPESIM User Guide

Natural Convection Nusselt number (p.571) is thus a function of Grashof's number and Prandtl
number.

Mixed Convection
This is a combination of forced and free convection where the fluid is in motion and forced
convection is either aiding or opposing natural convection. The combined effects of free and forced
convection (i.e. mixed convection) should be considered when Gr/Re2 ≈ 1.
The type of convection mechanism is important because it determines which Nusselt number
correlation PIPESIM will use to calculate the inside film heat transfer coefficient. PIPESIM
considers that only one convection mechanism will dominate at one time; forced or natural i.e. it
does not account for the mixed convection scenario.
For most PIPESIM cases, forced convection will dominate internal heat transfer and a Nusselt
number correlation will be selected as described above; the exact equation used will depend on
whether the Kreith or Kaminsky model is selected, and whether the forced flow is laminar, turbulent
or in the transition region. For the Kreith model specifically, the Nusselt number correlation is
selected based on an additional parameter; the ratio of the pipe length to the pipe diameter.
For the less common PIPESIM cases where inside natural convection may dominate internal
convective heat transfer, an inside film natural convection Nusselt number is also computed. In
these cases, PIPESIM compares these two competing convection mechanisms; Forced and
Natural convection, and then sets the Inside Fluid Film Heat Transfer Coefficient equal to the
higher of these values.
Related links:
Inside forced convection (p.565)
Inside natural convection (p.571)
HEAT (p.792)
Conductive heat transfer coefficients (p.573)
Annulus and outside convective heat transfer coefficients (p.574)
Heat transfer between a horizontal flowline and the ground surface (p.576)
Heat transfer between a vertical well and the surrounding rock (p.580)

Inside forced convection

Forced convection heat transfer inside a pipe occurs when the fluid flow is induced by external
means such as a fan or pump or differential pressure. It is correlated with the Reynold's number.
Forced convection dominates when Gr/Re2 « 1 i.e. inertial forces on the fluid are much greater
than buoyancy forces.
A number of inside film coefficient (IFC) correlations for forced convection were added over time to
the legacy PIPESIM engine. Several of those legacy correlations are no longer used. However,
these may still be accessed using the HEAT (p.792) keyword for compatibility with historic work.
PIPESIM has two models for computing the Inside Forced Convective Heat Transfer Coefficient:

Technical Description
565
PIPESIM User Guide

• Kreith method (p.566) (Default method. Uses mixture values for the multiphase properties to
evaluate Reynolds number, etc.)
• Kaminsky method (p.569) (Recommended for cases with a stratified multiphase flow regime,
because of enhanced prediction of the Inside Fluid Film Forced Convective Heat Transfer
Coefficient)
PIPESIM will calculate the Inside Film Forced and Inside Film Natural Convective heat transfer
coefficients and will set its Inside Fluid Film Heat Transfer Coefficient to the higher of these two
values.
Related links:
Inside fluid film heat transfer coefficient (p.563)
Inside natural convection (p.571)
HEAT (p.792)
Conductive heat transfer coefficients (p.573)
Annulus and outside convective heat transfer coefficients (p.574)
Heat transfer between a horizontal flowline and the ground surface (p.576)
Heat transfer between a vertical well and the surrounding rock (p.580)

Kreith
This is the default method in PIPESIM.
Kreith (averaged) mixture properties
For cases with multiphase flow, the Kreith method uses mixture properties for a pseudo single-
phase, based on the local (slip-flow) liquid holdup. These properties are calculated as follows.

First, liquid and gas Reynolds numbers are calculated based on the superficial velocities vSL and
vSG :

ρ L vSL D
ReSL = Eq. 7.191
μL

ρG vSG D
ReSG = Eq. 7.192
μG
where ρ is the density, μ the viscosity, D the pipe diameter and the subscripts L and G refer to
the liquid and gas phase properties.
A total Reynolds number is then obtained:

ReTOTAL = ReSL + ReSG Eq. 7.193

A Prandtl number is then calculated using fluid mixture properties:

Technical Description
566
PIPESIM User Guide

μmc p
m Eq. 7.194
Prm =
km

where c p is the specific heat capacity, k the thermal conductivity, and Μ the viscosity, and the
subscript m refers to the mixture.
The mixture thermal conductivity is given by:
1
km =
HL (1 − H L ) Eq. 7.195
+
kL kg
and the mixture heat capacity:
Cp = H L Cp
m L
( )
+ 1 − H L Cp
G
Eq. 7.196

where H is the holdup.

Kreith single-phase nusselt number relations


In both single-phase and multiphase cases, PIPESIM's Kreith inside fluid film coefficient is based
on the following methods for prediction of the inside film Nusselt Number.

For turbulent flow (ReTOTAL ≥ 6000 ):


Kreith recommends the McAdams enhancement to the respected Dittus-Boelter equation for
turbulent inside Nusselt Number (Nu). McAdams fixes the Pr exponent at 0.33 - in agreement with
the other respected Sieder-Tate equation for turbulent inside Nu. McAdams also applies a 'short-
pipe' entrance effect (D/L) multiplier to Dittus-Boelter's turbulent inside Nu method, similar to the
entrance effects found in all laminar forced-flow Nu methods.

Nu 1P
Turb
= 0.023ReTOTAL
0.8
Pr
0.33
(
1+ ( )
D
L
0.7
) Eq. 7.197

For laminar flow (ReTOTAL ≤ 2000 ):

Technical Description
567
PIPESIM User Guide

where the superscripts SD, MD and LD stand for short duct, medium duct and long duct,
respectively.

For transition flow (2000 ≤ ReTOTAL ≤ 6000 ):

Note: As the Reynolds number decreases, the laminar flow Nusselt number is approaches 4. So if
the Reynolds number is less than 2000, then PIPESIM limits the Reynolds number to a minimum
of 4.

Reference: Kreith (p.670)

Kreith multiphase inside fluid film coefficient


If the flow is multiphase then the void fraction is given by

AvG
ϕ= Eq. 7.198
AvG + AvL
where the cross-sectional area of the pipe:
2
πD
A= Eq. 7.199
4
The gas-weighted two phase fluid thermal conductivity is defined as:

k2P = ϕk G + (1 − ϕ )k L Eq. 7.200

The two phase inside film coefficient for the correlations below (unless otherwise stated) is defined
as:

Technical Description
568
PIPESIM User Guide

Nu 2P k2P
hi = Eq. 7.201
2P D

Note: Nu2P in this equation is computed by applying the Kreith (averaged) mixture properties to
the Kreith Single-Phase Nusselt Number relations.

Kaminsky

The Kaminsky method may give enhanced prediction for cases where multiphase stratified-flow
heat transfer effects will strongly affect the Overall Heat Transfer Coefficient (as one of its largest
series resistances).

Kaminsky (regime-dependent) film phase and dimensionless parameters


If the flow regime is mist, single gas phase or froth then the Kaminsky method's fluid film at the
inside wall is considered to be a single-phase gas and the base superficial Reynolds number is:

ρG vSG D
ReS = ReSG = Eq. 7.202
μG
and the Prandtl number is:

μG c p
G Eq. 7.203
Pr = PrG =
kG

where ρ is the density, μ the viscosity, v the velocity, c p the specific heat capacity, k the thermal
conductivity, D the pipe diameter and the subscript SG refers to the superficial gas phase
properties.
For all other flow regimes, the Kaminsky method's fluid film at the inside wall is considered to be a
single-phase liquid and the base superficial Reynolds number is:

ρ L vSL D
ReS = ReSL = Eq. 7.204
μL
and the Prandtl number is:

μL cp
L Eq. 7.205
Pr = Pr L =
kL
where the subscript SL refers to the superficial liquid phase properties.
The following minimum and maximum superficial Reynolds numbers are defined as boundaries of
the laminar-turbulent transition region:

ReS = 2000 Eq. 7.206


min

Technical Description
569
PIPESIM User Guide

ReS = 6000 Eq. 7.207


max

Kaminsky base single-phase film nusselt number


The following minimum and maximum superficial Reynolds numbers are defined as boundaries of
the laminar-turbulent transition region: ReS min = 2000

ReS max = 6000

The Kaminsky method bases its single-phase Nusselt Number on the Sieder and Tate equations
for turbulent and laminar flows of the film phase, as follows.

For turbulent Kaminsky Film Phase (ReS > ReS ):


max

( )
0.14
4/5 1/3 μ
Nu 1PTurb = 0.023ReS Pr Eq. 7.208
μW

For laminar Kaminsky Film Phase (Re ≤ ReS ):


max
1

( ) ( )
0.14
D 3 μ
Nu 1PLam = 1.86ReS Pr Eq. 7.209
L μW

where L is the length of the pipe and the subscript W refers to wall properties. The viscosity μ is
either the liquid or gas viscosity depending on the flow regime (as described above).

Throughout the transition region (2000 ≤ Re ≤ 6000 ), PIPESIM prorates the Kaminsky Νu 1 P by
applying

Nu 1PTurb Eq. 7.210

from Kaminsky Film Equation 1081.16 and

Nu 1PLam Eq. 7.211

from Kaminsky Film Equation 1081.17 to the same

Nu 1P Eq. 7.212

Interpolation Method listed above as Kreith Equation 1081.9.


Reference: Sieder and Tate (p.674)

Kaminsky single-phase inside fluid film coefficient


If the flow regime is mist, single gas phase or froth, this PIPESIM method regards the entire inside
bulk fluid as a single-phase gas and the Inside Film Coefficient is:

Technical Description
570
PIPESIM User Guide

kG Nu 1P
hi = Eq. 7.213
1P D
Similarly, for the case of a single-phase bulk liquid flow the inside film coefficient reduces to:

k L Nu 1P
hi = Eq. 7.214
1P D
Kaminsky multiphase inside fluid film coefficient
For all other (multiphase) flow regimes, with a turbulent liquid film (Re ≥ 2300 ):

Δ P2Pf
hi = hi S Eq. 7.215
2P 1 P SL Δ P1 Pf
Its required input of the single-phase turbulent heat transfer film coefficient h 1, must first be
computed by the Sieder-Tate correlation. This Multiphase Pressure-Drop/Heat-Transfer Analogy
Method also implicitly requires that both the Superficial Liquid Pressure Drop and the Multiphase
Pressure Drop be pre-calculated as additional inputs, before its h 1 can be computed.

For horizontal (for example, if the pipe angle | β | < βswap ) stratified flow, the wetting of the pipe
wall is calculated from
S = πDθ Eq. 7.216
where θ is the wetted wall fraction given by Grolman's correlation (p.668) :

{ }
2 0.8

( ) { }
0.15 0.25
σW ρG ρ L uLS D uGS
1
θ = θ0 + Eq. 7.217
σ + ρG cos( β ) σ 2
ρL (1 − H L ) gD
in which the minimum wetted wall fraction θ0 is approximated by:
0.374
θ0 ≈ 0.624H L Eq. 7.218

For all other types of flow, heat transfer it is reasonable to assume that heat transfer is
circumferentially uniform (i.e. S = 1).
For laminar flow (Re < 2300 ):

(2 − H L )h i 1PSL
hi = 2 Eq. 7.219
2P
3
HL
The single-phase laminar heat transfer is estimated by the Sieder-Tate correlation.
Reference: Kaminsky (p.669)

Inside natural/free convection

Technical Description
571
PIPESIM User Guide

Natural convection heat transfer inside a pipe occurs when the fluid flow is induced by buoyancy
forces which are due to density differences caused by temperature differences in the fluid. Natural
convection can occur even when fluids are at rest. It is correlated with the Grashof number (p.563).
Natural convection dominates when Gr/Re2 » 1 i.e. buoyancy forces on the fluid are much greater
than inertial forces.
Whenever fluid temperature may be significantly influenced by Natural Convection heat transfer
(typically laminar flow), PIPESIM checks for the possible influence of Natural Convection inside the
pipe. PIPESIM always computes the inside film natural convection heat transfer coefficient for
laminar flow, and additionally for transition and turbulent flow with a Reynold's number < 10,000
using the Nusselt number equation below.

This equation is a simple, computationally-inexpensive, and numerically stable way to compute the
inside film natural convection heat transfer coefficient. PIPESIM compares the value calculated
from the correlation above, to the theoretical minimum value for the Natural Convection Nusselt
number which occurs when the heat transfer mechanism is as a result of conduction only (can be
theoretically derived to be 3.66, see Incropera reference below). This Nusselt number value of 3.66
is the conduction-only limiting minimum Nusselt number for a circular pipe. PIPESIM sets

to be equal to the maximum of these 2 values.


Finally, after calculating the inside film forced (

) and inside film natural convective (

) heat transfer coefficients, PIPESIM will determine the higher of the two values and set the Inside
Fluid Film Heat Transfer Coefficient equal to this value.
References
Fundamentals of Heat and Mass Transfer, 7th Edition, Frank P. Incropera and David P. Dewitt, Pg.
539
Related links:
Inside fluid film heat transfer coefficient (p.563)
Inside forced convection (p.565)
Grashof number (p.563)
HEAT (p.792)
Conductive heat transfer coefficients (p.573)

Technical Description
572
PIPESIM User Guide

Annulus and outside convective heat transfer coefficients (p.574)


Heat transfer between a horizontal flowline and the ground surface (p.576)
Heat transfer between a vertical well and the surrounding rock (p.580)

7.4.4 Conductive heat transfer coefficients


Brill and Mukherjee (p.665) give a formula for radial heat transfer Q per unit length of pipe
through a conductive layer:

Q ln (ro / ri )
ΔT = T o − T i = − Eq. 7.220
2 πk
where
k is the conductivity of the layer.

ri is the inner radius of the layer

ro is the outer radius of the layer

T i is the temperatures at the inside edge of the layer

T o is the temperatures at outside edge of the layer

This equation can be used to calculate the heat transfer coefficient for a conductive layer:
1 A A ln (ro / ri ) Eq. 7.221
= − ΔT = ⋅
h Q 2π k
where

A Do is the radius of the reference area (normally the pipe outside radius)
=
2π 2

Wax heat transfer coefficient


7.221 (p.573) can be used for heat transfer through a wax layer on the inside wall of the pipe,
where

k = kwax is the conductivity of the wax layer.

Di is the inner radius of the wax layer (equal to the pipe inner radius minus the wax
ri = − rwax thickness)
2

Technical Description
573
PIPESIM User Guide

Di is the outer radius of the wax layer (equal to the pipe inner radius)
ro =
2

Pipe wall heat transfer coefficient


7.221 (p.573) can be used for heat transfer through the pipe wall, where

k = k pipe is the conductivity of the pipe wall.

Di is the inner radius of the pipe


ri =
2

Do is the outer radius of the pipe


ro =
2

Conductive layer heat transfer coefficient


7.221 (p.573) can be used for heat transfer through conductive layers, such as foam insulation or
cement, where

k = kn is the conductivity of the n th layer

Dni is the inner radius of the n th layer


ri =
2

Dno is the outer radius of the n th layer


ro =
2

7.4.5 Annulus and outside convective heat transfer coefficients


Convective heat transfer can occur in a number of places in a well and surface network, across a
fluid filled annulus; between a pipe or surface and the air or sea. Free (or natural) convection
occurs when the bulk fluid is at rest and convection is driven by buoyancy effects alone. Forced
convection occurs when the fluid is moving, which will increase the rate at which heat is
transferred.
The heat transfer coefficient for free convection at a wall is given in terms of the Nusselt number
( Nu ), the fluid conductivity (k ) and a length scale ( L ):
k ⋅ Nu
h = Eq. 7.222
L
The Nusselt number can be found experimentally, depending on the geometry of the convective
surfaces. It also depends on the fluid properties, which are encapsulated in two dimensionless
numbers, the Prandtl number (Pr ) representing the ratio of velocity and temperature gradients:

Technical Description
574
PIPESIM User Guide

cp Μ
Pr = Eq. 7.223
k
and the Grashof number representing the ratio of buoyancy to viscous forces:
3 2
L Ρ Βg ΔT
Gr = 2
Eq. 7.224
μ

β Fluid thermal expansion coefficient K −1

μ Fluid dynamic viscosity kg ⋅ m


−1
⋅s
−1

ρ Fluid density kg ⋅ m
−3

c p Fluid heat capacity


−1
W ⋅ kg
k Fluid thermal conductivity W ⋅m
−1
⋅s
−1

Fluid properties are calculated at a film temperature T film half way between the wall temperature
and the bulk fluid temperature:

T film = (T wall + T f ) / 2 Eq. 7.225

The wall temperature and bulk fluid temperature are used to calculate the temperature difference in
the formula for the Grashof number:

ΔT = |Tf − T wall | Eq. 7.226

Because the fluid properties and Grashof numbers are functions of the wall temperatures, the heat
transfer coefficient is also a function of the wall temperatures. The heat loss calculation therefore
needs to be solved iteratively.

Convection in a fluid filled vertical annulus


PIPESIM can model the heat transfer in a fluid filled annulus by free convection. The heat transfer
coefficient can be determined from the heat transfer coefficients at the inner and outer walls:
1 1 1
= + Eq. 7.227
h annulus h inner h outer
For vertical pipes (angle ≥ 45 ° ), the Nusselt number is given by Eckert and Jackson (1950)
(p.667) (quoted in Kreith and Bohn(1997) (p.670)) in terms of the Rayleigh number ( Ra):
0.25 9
Nu = 0.555Ra for Ra ≤ 10 Eq. 7.228
0.4 9
Nu = 0.021Ra for Ra > 10 Eq. 7.229

where
Ra = Pr Gr Eq. 7.230

Technical Description
575
PIPESIM User Guide

The bulk fluid temperature is assumed to be the average of the annulus wall temperatures:

T f = (T inner + T outer ) / 2 Eq. 7.231

Convective Heat transfer through fluid-filled annuli can be modeled by the use of the EKT. Refer to
the Expert Mode Keyword Reference section on fluid coats (p.797).

Convection in a fluid-filled horizontal annulus


PIPESIM uses the same equations to calculate the heat transfer for a horizontal fluid annulus as
for a vertical annulus. except that the Nuuslet number is given by:
0.25
Nu = 0.53Ra Eq. 7.232

Fully exposed pipe


For a flowline or riser exposed to the sea or the air, the “ambient” heat transfer coefficient can be
calculated by summing the free and forced convection heat transfer coefficients:

h a = h forced + h free Eq. 7.233

For forced convection, the heat transfer coefficient depends on the Reynolds number of the flow

Nu forced = (0.4Re )Pr0.4


0.5 0.67
+ 0.06Re Eq. 7.234

7.4.6 Heat transfer between a horizontal flowline and the ground surface
Fully buried ground heat transfer coefficient
The fully buried heat transfer coefficient for a flowline is evaluated by determining a conduction
shape factor to account for the geometrical and thermal effects of the burial configuration. Once
the shape factor is known, the ground heat transfer coefficient is calculated from:

kg S
hg = Eq. 7.235
R
where R is a chosen reference length. By default, in PIPESIM, this is the outer radius of the pipe.
The shape factor used differs depending on the partial burial option that is selected.
A pseudo film coefficient is then added in series in order to model the ambient fluid moving above
ground level:
1 1 1
= + Eq. 7.236
h ext hg ha

2009 method
The conduction shape factor is obtained from a solution to the steady-state heat conduction
equation (the Laplace equation) with convective boundary conditions on the pipe inside wall and
ground surfaces:

Technical Description
576
PIPESIM User Guide

B p abur
S=

( ) ( )
2 2 1
Bp Bp 2 Eq. 7.237
cosh α0 − B p abur α0 + − 1+
Bg Bg

where
α0 = − cosh
−1
( − ZR ) Eq. 7.238

is a auxiliary geometrical quantity and

( ) −1
2
Z
abur = − sinh α0 = Eq. 7.239
R
is a scale factor for bicylindrical coordinates and
U ipc R
Bp = Eq. 7.240
kg
is the Biot number of the pipe and
h aR
Bg = Eq. 7.241
kg

is the Biot number of the ground. U ipc is the combined heat transfer coefficient of the inside film,
pipe, coatings (and wax)
1 1 1 1
= + + Eq. 7.242
U ipc hi h wax h pipe &layers
Equation 7.237 (p.577) is not valid when the pipe&layers surface is just touching the ground
surface (Z/R=1). In such a case, the shape factor is calculated from the following asymptotic
expression

Bp
S∼

( )( )
1
Bp 2 Eq. 7.243
1+ 1 + 2Bp
Bg

We obtain the ground heat transfer coefficient from:

kg S
hg = Eq. 7.244
R

Technical Description
577
PIPESIM User Guide

Note: This is the default method in PIPESIM. The shape factor above is accurate to within 2.5% of
the numerical simulation studies given by Schneider (p.674). For information about how the
results of the 2009 method compare to Schneider’s, see Ovuworie (p.672).

1983 & 2000 methods


The conduction shape factor is obtained from a solution to the steady-state heat conduction
equation (the Laplace equation) with isothermal boundary conditions on the pipe inside wall and
ground surfaces:

S=
cosh
−1
( Z
R pipe &layers ) Eq. 7.245

Reference: Kreith (p.670)

Partially buried ground heat transfer coefficient


To calculate the overall heat transfer coefficient for a partially buried pipeline, buried and exposed
heat transfer coefficients must be calculated and combined in parallel . The method of combination
and the ground conduction shape factors used differ depending on the partial burial option that is
selected.

2009 method
1. A fully exposed pseudo pipe of the same diameter is created and an overall heat transfer
coefficient (U exp ) is calculated using the methods described in the sections above.

{
2. A partially buried conduction shape factor is calculated using the methods described in the
sections above. The shape factor is computed from

(
2 B p apart tan
-1
1 − Apart
1 + Apart
) − 1 < Apart < 1

( )
;
Bp 2
π 1+ 1 − Apart
Bg
B p apart

( )
;
S= Bp Apart = 1 Eq. 7.246
π 1+
Bg

( )
2 B p apart tanh
-1
Apart − 1
Apart + 1
Apart > 1

( )
;
Bp 2
π 1+ Apart − 1
Bg

Technical Description
578
PIPESIM User Guide

where

( )( ( ) )
−1
Bp Bp
Apart = 1 + cos β0 + B p apart π + β0 − Eq. 7.247
Bg Bg

is an auxiliary geometrical quantity and

( )
2
Z
apart = − sin β0 = 1 − Eq. 7.248
R
is a scale factor for bicylindrical coordinates.
3. The fully buried and fully exposed heat transfer coefficients are then combined in parallel
(according to the fraction of pipe exposed and the fraction of pipe buried) using equation 7.249
(p.579) to give the overall heat transfer coefficient:

Note: This is the default method in PIPESIM. For more information, see Ovuworie (p.672).

2000 method
1. A fully exposed pseudo pipe of the same diameter is created and an overall heat transfer
coefficient (U bur ) is calculated using the methods described in the sections above.
2. A fully buried pseudo pipe (Z=+R) of the same diameter is created and an overall heat transfer
coefficient (U exp ) is calculated using the methods described in the sections above.
3. The fully buried and fully exposed heat transfer coefficients are then combined in parallel
(according to the fraction of pipe exposed and buried) to give the overall heat transfer
coefficient:

U = 1+( β0
π
)
U exp −
β0
U
π bur
Eq. 7.249

where the negative of half of the angle of the exposed arc:

β0 = − cos
-1
( − ZR ) Eq. 7.250

1983 method
1. A fully exposed pseudo pipe with diameter corresponding to the exposed surface area is
created and an overall heat transfer coefficient (U exp ) is calculated using the methods
described in the sections above.
2. A fully buried pseudo pipe with diameter corresponding to the buried surface area is created
and an overall heat transfer coefficient (U bur ) is calculated using the methods described in the
sections above.
3. The fully buried and fully exposed heat transfer coefficients are then combined in parallel
(according to the surface areas of pipe exposed and buried) to give the overall heat transfer
coefficient:

Technical Description
579
PIPESIM User Guide

Aexp Abur
U = U exp + U Eq. 7.251
A A bur
where the total surface area of the buried pipe:
A = 2 πR Eq. 7.252
The surface area of the exposed portion of the pipe is:

Aexp = πR 1 −( θbur

) Eq. 7.253

where the angle of the buried arc:

θbur = sin
-1
( ZR ) Eq. 7.254

The surface area of the buried portion of the pipe is:

Abur = A − Aexp Eq. 7.255

7.4.7 Heat transfer between a vertical well and the surrounding rock
Ramey model
Heat transfer between a well and its surroundings varies with time: the well exchanges energy with
the formation, heating it up (or cooling it down), until the formation is at the same temperature as
the well.
The Ramey (1962) (p.673) model is an analytical method for determining the ground heat
transfer coefficient, hg , given the length of time t a well has been operating. The model assumes
that heat transfer in the wellbore is steady-state, whilst heat transfer to the formation is by transient
radial conduction. In his paper, Ramey quotes various solutions for different boundary conditions.
He observed that the solutions eventually converge after about a week. He concluded that a line
source with constant heat flux gives a good asymptotic solution for long times (times greater than
one week).
The wellbore (ground) heat transfer coefficient is given by:

2k g
hg = Eq. 7.256
D f (t )
where the time function:

1
f (t ) = E1
2
D
4 αT
( ) ( )
exp
D
4 αT
2 2
Eq. 7.257

The exponential integral is given by:


D2

E1 ( )
D
4 αt
2

= ∫ 0
4 αT 1 − exp ( − r )
r
( )
d r − ln
D
2

4 αt
−γ
Eq. 7.258

Technical Description
580
PIPESIM User Guide

For large values of time t, Ramey uses a series expansion for the exponential integral, which to
leading order gives:

f (t ) ≈ − ln ( )
Dco
4 αt

γ
2
Eq. 7.259

kg ground thermal resistance Wm K


−1 −1

D outside diameter of pipe m


Dco outside diameter of pipe and thermal coatings m

kg ground thermal diffusivity m s


2 −1

α=
ρg cg

cg ground specific heat capacity J kg K


−1 −1

ρg ground density kgm


−3

r radial distance from the centre of the well m


γ ≈ 0.577 Euler-Mascheroni gamma constant dimensionless

In the case of a tubing we see that:


1 1
= Eq. 7.260
h ext hg
and the ambient temperature used in equation 7.256 (p.580) is given by the geothermal
temperature at some radial distance far from the centre of the well.

Note: To compute a geothermal gradient and hence a geothermal temperature at a particular well
depth,, PIPESIM requires knowledge of at least two ambient temperatures at two corresponding
measured depths (MD) or true vertical depth (TVD) — usually these are the ambient temperatures
at top and bottom of the tubing.

Reference: "Wellbore Heat Transmission", H.J. Ramey (p.673)

7.5 Fluid Models


A number of fluid and solid phases may be present in oil and gas pipeline. These include:
• Fluids
• Vapour hydrocarbon and water (gas)
• Liquid hydrocarbon (oil)
• Liquid water
• Other liquids (e.g. liquid CO2)

Technical Description
581
PIPESIM User Guide

• Solids
• Hydrate I
• Hydrate II
• Wax
• Asphaltene
• Ice
• Scale
PIPESIM simulates flow of only three fluid phases, oil, gas and water. In fact some flow models
only consider two phases, liquid and gas. Liquid properties are determined by combining the oil
and water properties.
PIPESIM can be used to model wax precipitation and deposition. Other solid phases cannot be
modelled, although the appearance of hydrates, asphaltene and ice can be predicted. PIPESIM
can model scale prediction.
Fluid models are used to determine the phase state (e.g. single phase oil, single phase gas, two
phase oil and gas etc) and the phase thermodynamic and transport properties needed for
simulation (e.g. density, enthalpy and viscosity). PIPESIM allows three different types of fluid
description:
• Black oil (p.584) Three phases are allowed, oil, gas and water. The hydrocarbon fluid is
made up of oil and gas. Simple correlations are used to determine how much gas can dissolve
in oil and the phase properties.
• Compositional (p.614) The number of phases allowed depends on the flash package. Fluid
is made up of components, such as methane, ethane, water etc. Phase state is determined by
minimizing Gibbs energy of the system (the flash). This can be a complicated calculation and is
therefore significantly slower than black oil. PIPESIM can use a number of different flash
packages.
• Fluid Property Table Files (p.634) Two phase (liquid and gas) properties can be output from
compositional packages in a tabular form that PIPESIM can read.

7.5.1 Steam modelling


For steam systems (production and injection) PIPESIM uses “ASTEM97 - IAPWS IF97 Properties
of Water and Steam for Industrial Use," Copyright Edward D. Throm (C) 2005.
When modeling steam systems the pressure and quality or temperature are required. If the quality
is not provided, superheated (quality =100%) or sub-cooled (quality=0%) then the temperature is
required.
Steam systems can be modeled in both single branch and network models using engine
keywords. These can be specified from the Pipesim GUI as described below. However:

Technical Description
582
PIPESIM User Guide

Notes:
• Because the GUI does not understand steam as a fluid model choice, it will require you to
specify a valid fluid model, either as Black Oil, or Compositional. The steam keywords will
override this, so the choice is not really relevant when the model is working.
• PIPESIM requires a Fluid Model defined and mapped to each source. The current configuration
recognize either a Black Oil or Compositional Fluid and the same is linked to validation
mechanism. For a special case of Steam Modelling which the underlying PIPESIM Engine is
capable a handle, user must present the Steam definition using keywords as detailed above
and ensure there is no other fluid (Black Oil or Compositional) is present. This can only be done
by skipping the validation mechanism.

A steam case has been configured under PIPESIM Case Study folder for your reference.

Single branch steam


1. To model steam in a single branch PIPESIM model, go to Setup » Simulation » Advanced
tab in the single branch view of the steam source branch, and specify the following keywords,
for example:

STEAM
INLET QUALITY = 0.5

The inlet steam quality needs to be specified, if not, the engine will assume it to be either 0.0 or 1.0
depending on the pressure and temperature at the inlet.
2. Make sure you have a black oil fluid specified, with a GLR of zero and a watercut of
100%.correctly.
3. Mass flow rates must be used with steam. Any operation that specifies a flowrate, or sets a
flowrate limit, must do so with a mass rate, not a gas or liquid rate.
When steam quality is provided, it will be used with the lnlet pressure to calculate the resulting
steam temperature and enthalpy; Any inlet temperature you specify will be ignored.
If quality is not provided, enthalpy will be used instead. If Enthalpy is not provided, the system will
be flashed at the specified inlet pressure and temperature, and as a result will be 100% liquid or
100% vapour at the system inlet.

Network model steam


1. To model steam sources in a network model, go to Setup » Simulation » Advanced tab in the
network view, and enter the following data for example in the lower section of the window:

SETUP COMP = STEAM


SOURCE NAME = SS1 QUALITY = 0.8

Technical Description
583
PIPESIM User Guide

2. Enter the quality for all the steam sources. If the quality is not entered, it will be determined from
the temperature and pressure given for that source. If it is entered the source will be considered
saturated at that pressure and the temperature will be adjusted accordingly.

Note: Steam is considered as a third thermodynamic model (after blackoil and compositional). At
present only one thermodynamic model is allowed per network, so steam systems have to be
modeled as a separate network from the hydrocarbon production or injection networks.

7.5.2 Black oil fluid modeling


Black oil fluids are modelled as three phases, oil, gas and water. The amount of each phase is
defined at stock tank conditions, by specifying two ratios, typically the gas oil ratio (GOR) and the
water cut (WCUT). Properties at pressures and temperatures other than stock tank are determined
by correlations (p.586). Water is assumed to remain in the water phase. The key property for
determining the phase behaviour of the hydrocarbons is the solution gas—oil ratio (p.587),
Rs (P , T ), which is used to calculate the amount of the gas dissolved in the oil at a given pressure
and temperature:

Stock tank volume of gas dissolved in oil: R ⋅ V


s O

Stock tank volume of free gas: V G = (GOR − R s ) ⋅ V O

At stock tank conditions Rs = 0. The bubble point pressure (p.591) Pb(T ) can be found by
calculating the pressure at which all the gas is dissolved in the oil Rs ( Pb, T ) = GOR

Technical Description
584
PIPESIM User Guide

For pressures below the bubble point the oil is saturated (no more gas can dissolve in it at that
pressure and temperature). For pressures above the bubble point, there is no vapour phase and
the oil is undersaturated, since more gas could be dissolved in it if it were available. Above stock
tank pressure P > Ps the oil contains dissolved gas, and is known as live oil. Oil at stock tank
pressure (or oil with GOR=0) is known as dead oil. Different correlations apply for dead oil,
saturated live oil, and unsaturated live oil properties.
Correlations (p.586) are needed for the fluid properties needed for simulation:
• the oil formation volume factor (p.592) (which is used to determine oil density),
• the gas compressibility (p.601) (to determine the gas density)
• the water density
• the oil viscosity (p.594)
• the gas viscosity (p.604)
• the water viscosity
• the fluid enthalpy (p.606)
• the oil-gas surface tension (p.605)
• the water-gas surface tension (p.605)
Liquid properties (p.635) are calculated by combining the oil and water properties.

Technical Description
585
PIPESIM User Guide

Black oil correlations


The following black oil correlations are available:

Solution gas (p.587) and bubble point Lasater (p.590), Standing (p.590), Vasquez and
pressure (p.591) Beggs (p.591), Kartoatmodjo and Schmidt (p.589),
Glasø (p.589), De Ghetto et al (p.588) or Petrosky
and Farshad (p.590).
Oil formation volume factor of saturated Standing (p.593), Vasquez and Beggs (p.593),
systems Kartoatmodjo and Schmidt (p.593)
Oil formation volume factor of Vasquez and Beggs (p.593)
undersaturated systems
Dead oil viscosity (p.595) Beggs and Robinson, Glasø, Kartoatmodjo, De
Ghetto, Hossain, Petrosky, Elsharkawy or Users data.
Live oil viscosity of saturated systems Chew and Connally, Kartoatmodjo, Khan, De Ghetto,
(p.597) Hossain, Petrosky, Elsharkawy, or Beggs and
Robinson.
Live oil viscosity of undersaturated Vasquez and Beggs, Kouzel, Kartoatmodjo, Khan, De
systems (p.599) Ghetto, Hossain, Petrosky, Elsharkawy, Bergman or
None.
Viscosity of oil/water mixtures (p.635) Inversion, Volume Ratio, or Woelflin.
Gas viscosity (p.604) Lee et al.
Gas compressibility (p.601) Standing, Hall and Yarborough, or Robinson et al.
Oil-gas surface tension (p.605)
Water-gas surface tension (p.605)

Correlation data
The data points spanned the following ranges :

Lasater Standing Vasquez and Kartoatmodjo and


(p.670) (p.675) Beggs (p.594) Schmidt (p.670)
Data Correlation was Correlation was Correlations use 740 different
developed in based on 105 data from more crude oil samples
1958 from 158 experimentally than 600 oil with 5392 data
experimental determined systems. points from South
data points bubble point Approximately East Asia, North
pressure of 6,000 measured America, the
California oil data points were Middle East, and
systems. collected. Latin America are
used.

Pb bubble point 48 to 5,780 130 to 7,000 50 to 5,250 24.7 to 4764.7


pressure
(psia)

Technical Description
586
PIPESIM User Guide

T temperature 82 to 272 100 to 258 70 to 295 75 to 320


(°F)
API API gravity 17.9 to 51.1 16.5 to 63.8 16 to 58 14.4 to 59.0
( °API)

γG gas specific 0.574 to 1.223 0.59 to 0.95 0.56 to 1.18 0.4824 to 1.668
gravity

Rsb solution gas 3 to 2,905 20 to 1,425 20 to 2,070 0 to 2890


at bubble
point pressure
(scf/STB)

Beggs and Robinson Chew and Connally


Data Data from 600 oil systems were used Data from 457 oil systems
to develop correlations for dead and was used to develop
live oil viscosity. 460 dead oil correlation for live oil
observations and 2,073 live oil viscosity
observations were used.

Pb bubble point pressure 50 to 5,250 132 to 5,645


(psia)
T temperature (°F) 70 to 295 72 to 292
API API gravity ( °API) 16 to 58

γG gas specific gravity

Rsb solution gas at bubble 20 to 2,070 51 to 3,544


point pressure (scf/
STB)

Glasø (p.668) developed PVT correlations from analysis of crude oil from the following North Sea
Fields:- Ekofisk Stratfjord Forties Valhall COD 30/7-2A.

Solution gas-oil ratio


The solution gas-oil ratio, Rs (scf/STB), can be determined using one of a number of correlations:
• De Ghetto et al (p.588)
• Glasø (p.589)
• Kartoatmodjo and Schmidt (p.589)
• Lasater (p.590)
• Petrosky and Farshad (p.590)
• Standing (p.590)
• Vasquez and Beggs (p.591)
The correlations depend on:

Technical Description
587
PIPESIM User Guide

P pressure (psia)
T temperature (°F)
API API gravity ( °API)
γG gas specific gravity

De ghetto et al.
De Ghetto et al. give different correlations for the solution gas-oil ratio and the bubble point
pressure. In PIPESIM it is important to use related formula for these two properties to ensure
consistency. The PIPESIM implementation of the solution gas-oil ratio is therefore derived from the
De Ghetto et al equations for the bubble point pressure.

Extra heavy oil, API < 10


For extra heavy oil the De Ghetto formula is a modified version of the Standing (p.590) formula:
1.1128
P
Rs (P , T ) = C ⋅ γG ⋅ Eq. 7.261
10.7025 ⋅ A(T )
Here A is a function of the fluid temperature and the oil API density:

log 10 A = 0.002 ⋅ T − 0.0142 ⋅ API Eq. 7.262

C is a calibration (p.591) constant.


Heavy oil, 10 < API < 22.3
For heavy oil the De Ghetto formula is a modified version of the Standing (p.590) formula:
1/0.7885
P
Rs (P , T ) = C ⋅ γG ⋅ Eq. 7.263
15.7286 ⋅ A(T )
Here A is a function of the fluid temperature and the oil API density:

log 10 A = 0.002 ⋅ T − 0.0142 ⋅ API Eq. 7.264

C is a calibration (p.591) constant.


Medium oil, 22.3 < API < 31.1
For medium oil the De Ghetto formula is a modified version of the Kartoatmojdo and Schmidt
(p.589) formula:
C2 C4
Rs = C ⋅ C 1 ⋅ γG ⋅ (1 + gcorr ) ⋅ A(T ) ⋅ P Eq. 7.265

Here A is a function of the fluid temperature and the oil API density:
API
log 10 A = C3 ⋅ Eq. 7.266
T + 460
If the separator pressure and temperatures are known then a non-zero gas specific gravity
correction factor is used:

Technical Description
588
PIPESIM User Guide

gcorr = 0.1595 ⋅ API


0.4078
⋅ T sep
−0.2466
⋅ log 10 ( ) Psep
114.7
Eq. 7.267

C is a calibration (p.591) constant.


The constants C1, C2, C3 and C4 :

C1 C2 C3 C4
0.10084 0.2556 7.4576 0.9868

Light oil, 31.1 < API


For light oil the De Ghetto formula is a modified version of the Standing (p.590) formula:
1/0.7885
P
Rs (P , T ) = C ⋅ γG ⋅ Eq. 7.268
31.7648 ⋅ A(T )
Here A is a function of the fluid temperature and the oil API density:

log 10 A = 0.0009 ⋅ T − 0.0148 ⋅ API Eq. 7.269

C is a calibration (p.591) constant.


Glasø
The Glasø formula for the solution gas-oil ratio is:
1.22549 1.212009 −0.210784
Rs = γG ⋅ f (P ) ⋅ API ⋅T Eq. 7.270

Here:

log10 f (P ) = 2.887 ⋅ 1 − 1 − 0.397 ⋅ log10 P − C ( ) Eq. 7.271

C is a calibration (p.591) constant.


Kartoatmodjo and Schmidt
The Kartoatmodjo and Schmidt formula for the solution gas-oil ratio:
C2 C4
Rs = C ⋅ C 1 ⋅ γG ⋅ (1 + gcorr ) ⋅ A(T ) ⋅ P Eq. 7.272

Here A is a function of the fluid temperature and the oil API density:
API
log 10 A = C3 ⋅ Eq. 7.273
T + 460
If the separator pressure and temperatures are known then a non-zero gas specific gravity
correction factor is used:

gcorr = 0.1595 ⋅ API


0.4078
⋅ T sep
−0.2466
⋅ log 10 ( ) Psep
114.7
Eq. 7.274

Technical Description
589
PIPESIM User Guide

C is a calibration (p.591) constant.


The constants C1, C2, C3 and C4 depend on the oil API density:

C1 C2 C3 C4
API < 30 0.05958 0.7972 13.1405 1.0014
API > 30 0.0315 0.7587 11.2895 1.0937

Lasater
The Lasater formula for the solution gas-oil ratio:

YG γO
Rs (P , T ) = C ⋅ 132755 ⋅ ⋅ Eq. 7.275
(1 − Y G ) MW O

Y G = 0.08729793 + 0.37912718 ⋅ ln ( P ⋅ γG
T + 460
+ 0.769066 ) Eq. 7.276

The oil molecular weight is given by


2 3
MW O = 677.3893 − 13.2161 ⋅ API + 0.024775 ⋅ API + 0.00067851 ⋅ API Eq. 7.277

The oil specific gravity is given by


141.5
γO = Eq. 7.278
API + 131.5
C is a calibration (p.591) constant.
Petrosky and Farshad
The Petrosky and Farshad formula for the solution gas-oil ratio is
1
0.8439
γG 0.5774

Rs (P , T ) = C ⋅ ( P
112.727
+ 12.34 ⋅ )
A(T )
Eq. 7.279

Here A is a function of the fluid temperature and the oil API density:
−5 1.3911 −4 1.541
A(T ) = 4.561 ⋅ 10 ⋅ T − 7.916 ⋅ 10 ⋅ API Eq. 7.280

C is a calibration (p.591) constant.


Standing
The Standing formula for the solution gas-oil ratio used in PIPESIM is:
1/0.83
P
Rs (P , T ) = C ⋅ γG ⋅ Eq. 7.281
A(T ) ⋅ 18
Here A is a function of the fluid temperature and the oil API density:

log 10 A = 0.00091 ⋅ T − 0.0125 ⋅ API Eq. 7.282

Technical Description
590
PIPESIM User Guide

C is a calibration (p.591) constant.


Vasquez and Beggs
The Vasquez and Beggs formula for the solution gas-oil ratio used in PIPESIM is:
C C
Rs (P , T ) = ⋅ γ g ⋅ (P − 14.7) 2 ⋅ A(T ) Eq. 7.283
C1
Here A is a function of the fluid temperature and the oil API density:

C3 ⋅ API
log 10 A = Eq. 7.284
T + 460
C is a calibration (p.591) constant.
The constants C1, C2 and C3 depend on the oil API density:

C1 C2 C3
API < 30 11.172 1.0937 11.172
API > 30 10.393 1.187 10.393

Calibration

( )
If a calibration data point is provided, Rscal = R Pcal , T cal , then the calibration term C is
s
calculated to ensure the calibration point is a solution of the relevant solution gas-oil ratio equation.
For example, for the Vasquez and Beggs (p.591) equation, the calibration term will be given by
C C
Rscal = ⋅ γ g ⋅ ( Pcal − 14.7) 2 ⋅ A(T cal ) Eq. 7.285
C1
Hence the Vasquez and Beggs (p.591) equation for the solution gas oil ratio can be re-written as:

Rs (P , T ) = Rscal ⋅
( P − 14.7
Pcal − 14.7 )
C2

A( T )
A(T cal )
Eq. 7.286

It is assumed that the calibration point is a bubble point (p.591), although this will in fact only be
the case if the calibration solution gas-oil ratio Rscal is equal to the fluid GOR.

If no calibration data is provided, PIPESIM uses C = 1.

Bubble point pressure

The bubble point pressure Pb(T ) is the pressure at which all the free gas is dissolved, i.e. when the
solution gas-oil ratio is equal to the fluid GOR:

Rs (Pb, T ) = Rsb Eq. 7.287

Technical Description
591
PIPESIM User Guide

The bubble point can therefore be determined by solving the relevant solution gas-oil ratio (p.587)
equation.

Oil formation volume factor


The oil formation volume factor (FVF) is the ratio of the oil volume (at a given pressure and
temperature) to the stock tank oil volume. As pressure increases, two competing processes take
place: gas is dissolved in oil which increases the volume, and the oil is compressed, which
decreases the volume. Below the bubble point, the effect of gas dissolving in oil dominates and the
saturated oil FVF increases with pressure. However at the bubble point pressure, all the available
gas has dissolved in the oil. Therefore above the bubble point pressure the only effect is
compressibility and the undersaturated oil FVF increases with pressure.

Separate correlations are available for the saturated oil FVF (p.592) and undersaturated oil FVF
(p.593).

Related links:
Calibration properties (p.203)

Oil formation volume factor for saturated systems

Technical Description
592
PIPESIM User Guide

For saturated systems P < Pb the oil formation volume factor Bob (bbl/STB) depends on the
solution gas-oil ratio Rs and the temperature T .

Standing
The saturated oil formation volume factor is given by:
1.175
Bob = 0.972 + 0.000147F Eq. 7.288

where the correlating factor is calculated using :

( )
0.5
γg
F = Rs + 1.25T Eq. 7.289
γo

Data used to develop correlation (p.586)

Vasquez and Beggs


The saturated oil formation volume factor is given by:
Bob = 1 + C1Rs + C2(T − 60)
( )API
γG
+ C3 Rs (T − 60)
API
γG( ) Eq. 7.290

C1 C2 C3
API < 30 4.677 ⋅ 10−4 1.751 ⋅ 10−5 -1.81 ⋅ 10−8

API > 30 4.67 ⋅ 10−4 1.100 × 10


−5
1.337 × 10
−9

Data used to develop correlation (p.586)

Kartoatmodjo and Schmidt


The saturated oil formation volume factor is given by:
1.50
Bob = 0.98496 + 0.0001F Eq. 7.291

Where the correlating factor


0.755 0.25 −1.50
F = RS γg γo + 0.45T Eq. 7.292

Oil formation volume factor for undersaturated systems

The oil formation volume factor Bo (bbl/STB) for pressures above the bubble point is given by a
simple compressibility law:

Bo = Bob(Rsb) ⋅ exp λZ o ( pb − p ) Eq. 7.293

where Zo is the oil compressibility and λ is a calibration factor (used in mixing different fluids).

Technical Description
593
PIPESIM User Guide

Vasquez and Beggs


The Vasquez and Beggs correlation for the oil compressibility is

5 ⋅ Rsb + 17.2 ⋅ T − 1180 ⋅ γG + 12.61 ⋅ API − 1433


Zo = 10 ⋅
−5 Eq. 7.294
P
Data used to develop correlation (p.586)

TURZO method
The performance of a rotodynamic (centrifugal or vertical) pump on a viscous liquid differs from the
performance on water, which is the basis for most published curves. Typically, head and rate of
flow decrease as viscosity increases, while power and the net positive suction head required
(NPSHR) increases. Starting torque could be affected.
The following formula is the TURZO equation for viscosity correction:
Q⋅ H
Power = Eq. 7.295
E
where
P is power.
Q is the rate.
H is the head.
E is the efficiency.

Qv = Q ⋅ f Q Eq. 7.296
Hv = H ⋅ f H Eq. 7.297
Ev = E ⋅ f E Eq. 7.298

where the value of each equation is less than 1.


The viscosity correction is calculated as follows:
Pv fQ ⋅ fH
= Eq. 7.299
P fE

Oil viscosity
As pressure increases, two competing processes take place: gas is dissolved in oil which lightens
the oil, reducing its viscosity, and the oil is compressed, which increases the viscosity. Below the
bubble point, the effect of gas dissolving in oil dominates and the saturated viscosity decreases
with pressure. However at the bubble point pressure, all the available gas has dissolved in the oil.
Therefore above the bubble point pressure the only effect is compressibility and the
undersaturated viscosity increases with pressure.

Technical Description
594
PIPESIM User Guide

Three sets of correlations are used to determine the oil viscosity:


1. At stock tank pressure the oil viscosity is given by dead oil viscosity correlations (p.595) as a
function of the flowing fluid temperature μo ( Ps , T ) = μod (T ).
2. At pressures below the bubble point the oil viscosity is given by live oil viscosity correlations
(p.597) as a function of the dead oil viscosity and the solution gas-oil ratio
μo (P , T ) = μob( μod , Rs ).
3. At pressures above the bubble point the oil viscosity is given by undersaturated oil viscosity
correlations (p.599), as a function of the bubble point viscosity and the pressure
μo (P , T ) = μou ( μob, P ).

Dead oil viscosity


The correlations available for calculating dead oil viscosity are:

Beggs and Robinson


Dead oil viscosity is calculated as follows :
x
μod = 10 − 1 Eq. 7.300
−1.163
where x = yT

Technical Description
595
PIPESIM User Guide

z
and y = 10 and z = 3.0324 − 0.02023 ⋅ g API
Data used to develop correlation (p.586)

Glasø
Dead oil viscosity is calculated as follows :
d
μod = c log 10(gAPI ) Eq. 7.301

where
10 −3.444
c = 3.141 ⋅ 10 ⋅ T and d = 10.313 ⋅ log 10(T ) − 36.447

Kartoatmodjo and Schmidt


Dead oil viscosity is calculated as follows :
d
μod = c log 10(gAPI ) Eq. 7.302

where
8 −2.8177
c = 16 ⋅ 10 ⋅ T and d = 5.7526 ⋅ log 10(T ) − 26.9718

De Ghetto et al
De Ghetto et al. use a combination of four correlations to compute the dead oil viscosity depending
on the value of the API.
For API < 10 (extra heavy oils) the following correlation is used:
x
μod = 10 − 1 Eq. 7.303
y
where x = 10 and y = 1.90296 − 0.012619 ⋅ g API − 0.61748 ⋅ log10 (T )
For 10 < API < 22.3 (heavy oils) the following correlation is used:
x
μod = 10 − 1 Eq. 7.304
y
where x = 10 and y = 2.06492 − 0.0179 ⋅ g API − 0.70226 ⋅ log 10(T )
For 22.3 < API < 31.1 (medium oils) the following correlation is used:
d
μod = c log 10(gAPI ) Eq. 7.305

9 −3.556
where c = 220.15 ⋅ 10 ⋅ T and d = 12.5428 ⋅ log 10(T ) − 45.7874
For API > 31.1 (light oils) the following correlation is used
x
μod = 10 − 1 Eq. 7.306
y
where x = 10 and y = 1.67083 − 0.017628 ⋅ g API − 0.61304 ⋅ log 10(T )

Technical Description
596
PIPESIM User Guide

Petrosky and Farshad


Dead oil viscosity is calculated as follows:
d
μod = c log 10(gAPI ) Eq. 7.307

7 −2.10255
where c = 2.3511 ⋅ 10 ⋅ T and d = 4.59388 ⋅ log 10(T ) − 22.82792

Hossain et al
Hossain et al. correlation for dead oil viscosity is only valid for heavy oils (10 < API < 22.3) and it is
given as follows:
A B
μod = 10 ⋅ T Eq. 7.308

where A = − 0.71523 ⋅ g API + 22.13766 and B = 0.269024 ⋅ g API − 8.268047

Elsharkawy and Alikhan


Elsharkawy and Alikhan dead oil viscosity is only valid in the API range 20-48 and is calculated as
follows:
x
μod = 10 − 1 Eq. 7.309
y
where x = 10 and y = 2.16924 − 0.02525 ⋅ g API − 0.68875 ⋅ log 10(T )

User's data
If user's data is selected for the dead oil viscosity method, then a curve is fitted through the two
( ) ( )
supplied data points μ1, T 1 and μ2, T 2 of the following form:

( )
log μod = log ( B ) − C log (T ) Eq. 7.310

where

C=
log ( ) μ1
μ2

( )
Eq. 7.311
T2
log
T1
and
C C
B = μ1T 1 = μ2T 2 Eq. 7.312

Live oil viscosity correlations


Many of the correlations available for calculating live oil viscosity are of the form
B
μob = A⋅ μod Eq. 7.313

Technical Description
597
PIPESIM User Guide

where A and B are functions of the Solution gas-oil ratio Rs :

Correlation A B
Chew and
Connally
Data used
to develop
correlation
0.2 +
( 10
0.8
0.000852 Rs ) 0.482 +
( 10
0.518
0.000777 Rs )
(p.586)
Beggs and Data used −0.515 −0.338
Robinson to develop (
10.715 ⋅ Rs + 100 ) (
5.44 ⋅ Rs + 150 )
correlation
(p.586)
Elsharkawy −1.12410 −1.06622
and Alikhan (
1241.932 ⋅ Rs + 641.026 ) (
1768.841 ⋅ Rs + 1180.335 )
Hossain et al 1 − 1.7188311 ⋅ 10
−3
⋅ Rs + 1 − 2.052461 ⋅ 10
−3
⋅ Rs +

−6 2 −6 2
+1.58031 ⋅ 10 ⋅ Rs +3.47559 ⋅ 10 ⋅ Rs

Petrosky and −4 Rs −3 Rs
Farshad 0.1651 + 0.6165 ⋅ 0.9886 ⋅ 10 0.5131 + 0.5109 ⋅ 0.9973 ⋅ 10

Other authors use more complicated formulas:

Kartoatmodjo and Schmidt


Live oil viscosity is calculated as follows:
2
μob = − 0.06821 + 0.9824F + 0.0004034F Eq. 7.314

where
0.43+0.5165⋅ B
F = A ⋅ μod Eq. 7.315

and
−0.000845 Rs
A = 0.2001 + 0.8428 10 Eq. 7.316

and
−0.00081 Rs
B = 10 Eq. 7.317

Khan

Live oil viscosity calculated by Khan is a function of the gas and oil specific gravities ( γG , γO ), the
solution gas-oil ratio ( Rs ), the bubble pressure ( Pb), and the flowing pressure ( P ). It is given as
follows:

Technical Description
598
PIPESIM User Guide

y
μob = A ⋅ e Eq. 7.318

where

y = ln (0.09) + 0.5 ⋅ ln ( γG ) −
1
3
( )
⋅ ln Rs − 4.5 ⋅ ln
T
460( )
− 3 ⋅ ln 1 − γO ( ) Eq. 7.319

and

( )
−0.14
P −2.5×10−4( P − Pb)
A= ⋅e Eq. 7.320
Pb

De Ghetto et al
De Ghetto et al. expression of the live oil viscosity is a combination of 4 correlations depending on
the value of oil API.

F A B
For API μob = 2.3945 + 0.8927F +
0.5798+0.3432 B − 0.0335 + −0.00081⋅ Rs
< 10 A ⋅ μod 10
(extra 2 −0.000845⋅ Rs
heavy +0.01567 F +1.0875 10
oils)
For 10 < μ = − 0.6311 + 1.078 F − 0.4731+0.5664 B 0.2478 + −0.00081⋅ Rs
API < ob A ⋅ μ od 10
22.3 2 −0.000845⋅ R s
(heavy − 0.003653 F +0.6114 10
oils)
For 22.3 μ = 0.0132 + 0.9821 F − 0.3855+0.5664 B 0.2038 + −0.00081⋅ Rs
< API < ob A ⋅ μod 10
31.1 2 −0.000845⋅ Rs
(medium − 0.005215 F +0.8591 10
oils)
For API B −0.6487 −0
> 31.1 μob = A⋅ μod (
25.1921 ⋅ Rs + 100 ) (
2.7516 ⋅ Rs + 150 )
(light
oils)

Undersaturated oil viscosity


The correlations available for calculating undersaturated oil viscosity are:

Vasquez and Beggs


Undersaturated oil viscosity is calculated as follows:

( )
A
p
μou = μob Eq. 7.321
pb

Technical Description
599
PIPESIM User Guide

where A = 2.6 p
1.187
(
exp − 8.98 × 10 p − 11.513
−5
)
Data used to develop correlation (p.586)

Kouzel
Undersaturated oil viscosity is derived from the equation:
F ( p)
10
μou = μob ⋅ Eq. 7.322
F ( pb)
10
p − 14.7
F ( p) =
(
1000 A + Bμ od
0.278
) Eq. 7.323

Where A and B are parameters entered by the user. Suggested values for A and B are 0.0239 and
0.01638 respectively.

Kartoatmodjo and Schmidt


Undersaturated oil viscosity is calculated as follows:

μou = 1.00081 μob + 0.001127 A( p − pb) Eq. 7.324

A = − 0.006517 μob ( 1.8148


) + 0.038( μ ) ob
1.59

Khan
Undersaturated oil viscosity is calculated as follows:

μou = μobexp 9.65e


−5
( p − pb) Eq. 7.325

De Ghetto et al
De Ghetto et al. expression of the undersaturated oil viscosity is a combination of 3 correlations
depending on the value of oil API.
For API < 10 (extra heavy oils) the following correlation is used:

μou = μob − 1 −
( p
pb )( A
B ) Eq. 7.326

where A = 10
−2.19
(μ od
1.055
)( p b
0.3132
) and B = 10( 0.0099 g API )
For 10 < API < 22.3 (heavy oils) the following correlation is used:

μou = 0.9886 μob + 0.002763 A( p − pb) Eq. 7.327

where A = − 0.01153 μob ( 1.7933


) + 0.03610( μ ob
1.5939
)
For API > 22.3 ( medium and light oils) the following correlation is used:

Technical Description
600
PIPESIM User Guide

(
μou = μob − 1 −
p A
pb B ) Eq. 7.328

where A = 10
−2.19
(μ oD
1.055
)( p
b ) and B = 10(
0.3132 −0.00288 g API )

Hossain et al
Undersaturated oil viscosity is calculated as follows:

μou = μob + 0.004481( p − pb)( A − B ) Eq. 7.329

where A = 0.555955 μob ( 1.068099


) and B = 0.527737( μ ob
1.063547
)
Petrosky and Farshad
Undersaturated oil viscosity is calculated as follows:

μou = μob + 1.3449E


−3
( p − pb)(10 A) Eq. 7.330
2
where A = − 1.0146 + 1.3322 X − 0.4876 X − 1.15036 X and X = log10 μob
3
( )
Elsharkawy and Alikhan
Undersaturated oil viscosity is calculated as follows:

μou = μob + A 10
−2.0771
( p − pb) Eq. 7.331
1.19279 −0.40712 −0.7941
where A = μod ⋅ μob ⋅ pb

Bergman and Sutton


Undersaturated oil viscosity is calculated as follows:
B
μou = μobexp A( p − pb) Eq. 7.332

−4 −5 −7 2
where A = 2.278877 ⋅ 10 − 1.48211 ⋅ 10 ⋅ X + 6.5698 ⋅ 10 ⋅X ,
B = 0.873204 + 2.24623 ⋅ 10 ⋅ X and X = log 10( μob)
−2

Disabling the calculation of undersaturated oil viscosity


If you select None as the undersaturated oil viscosity method, then the undersaturated oil viscosity
is assumed to be the same as the saturated live oil viscosity at the same temperature and
pressure.

Gas compressibility
The real gas law is given by pV = ZRT where

Technical Description
601
PIPESIM User Guide

p pressure
V volume
R universal gas constant
T absolute temperature
Z gas compressibility factor

Numerous equations of state have been proposed to predict this Z-factor. Standing and Katz
presented a generalized Z-factor chart for predicting the volumetric behavior of natural gases. To
employ this chart, we require knowledge of the critical properties of the gas (namely, critical
pressure and critical temperature) as a function of the specific gravity. These are given in the black
oil model by Standing (1977) for natural gas and gas-condensate systems:

Gas systems
2
T c = 168 + 325 γ G − 12.5 γG Eq. 7.333

Gas-condensate systems
2
T c = 187 + 330 γG − 71.5 γG Eq. 7.334

2
pc = 706 − 51.7 γG − 11.1 γ G Eq. 7.335

where

T c critical temperature

pc critical pressure

γG specific gravity of the gas mixture

This allows us to calculate the reduced temperature and reduced pressure, defined respectively
as:
T
Tc = Eq. 7.336
Tc
p
pc = Eq. 7.337
pc
Various correlations have been proposed for curve fitting this reduced pressure-reduced
temperature Z-factor chart and are available in PIPESIM:
Hall-Yarborough Z-Factor Correlation (p.603)
Standing Z-Factor Correlation (p.603)
Robinson et al. Z-Factor Correlation (p.604)

Technical Description
602
PIPESIM User Guide

Hall-Yarborough Z-factor correlation


Gas compressibility (Z-factor) is calculated as follows:

( )
2
0.06125 pR T R (
x −1.2 1−T R ) Eq. 7.338
Z= e
ρR
where the reduced density is a root of the following equation:

2 (ρ + ρ + ρ − ρ )
R R
2
R
3
R
4

F ( ρR ) = 0.06125 pr T R − 1.2(1 − T R ) +
((1 − ρ ) − ((14.67T )− 9.76T 4.85T ) ρ ) Eq. 7.339
3 2 3 2

R R R R R
(
+ 90.7T R − 242.2T R
2
+ 42.4T ) ρ
R
3
R
2.18+2.82T R
=0

where

where ρ R reduced density

pR reduced pressure

TR reciprocal of the reduced temperature

The method is not recommended for use within a pressure range pR = 0, 1 .

Standing Z-factor correlation


Gas compressibility (Z-factor) is calculated as follows:
A + (1 − A)
Z= G
x Eq. 7.340
e B + FP r

where the coefficients A to G are given by:

0.5
A = 1.39(T r − 0.92) − 0.36T R − 0.101
6
0.32 pR
0.666 2
B = (0.62 − 0.23T r ) pR + − 0.037 pR +
(T r − 0.86) 10 (
9 T R −1 )

C = (0.132 − 0.32log (T R ))
2

D = 10 ( 0.3016−0.49T R +0.1824T R
)
The method is not valid for T R < 0.92.

Technical Description
603
PIPESIM User Guide

Robinson et al. Z-factor correlation


Gas compressibility (Z-factor) is calculated as follows:

Z = 1 + A1 +
( )( )
A2
TR
+
A3

TR
3 ρR + A4 +
2
( )
A5
TD
2
ρR +
A5 A6
ρR
DR
5

Eq. 7.341
A7
( ) ( )
2 2 x − A8 ρ R
+ 3 ρR 1 + A8 ρR e
Tr

where

0.27 pR
D=
TR

A1 = 0.310506237

A2 = − 1.4067099

A3 = − 0.57832729

A4 = 0.53530771

A5 = − 0.61232032

A6 = − 0.10488813

A7 = 0.68157001

A8 = 0.68446549

The method is valid within a temperature and pressure range of T r = 1.05, 3.0 and
pr = 0.2, 3.0 .

Gas viscosity
Gas viscosity is calculated using the Lee et al (p.671) correlation as follows:
Y
μg = K ⋅ exp X ⋅ ρg Eq. 7.342

where

(7.77 + 0.183 ⋅ γ G ) ⋅ (T + 460)1.5 −4


K= ⋅ 10
(122.4 + 373.6 ⋅ γG + T + 460)

Technical Description
604
PIPESIM User Guide

1914.5
X = 2.57 + + 0.275 γ g
T
Y = 1.11 + 0.04 X

μg is the gas viscosity (cp)

γg is the gas specific gravity

ρg is the gas density (g/cc)

T is the temperature ( oF )

Related links:
Calibration properties (p.203)

Surface tension
Oil-gas surface tension
The oil-gas surface tension is given by Baker and Swerdloff (p.664):

σO = 37.7 − 0.05 ⋅ (T − 100) − 0.26 ⋅ API ⋅


Eq. 7.343
−4 −7 2 −11 3
⋅ 1 − 7.1 ⋅ 10 ⋅ P + 2.1 ⋅ 10 ⋅ P + 2.37 ⋅ 10 ⋅P

σO is the surface tension between the oil and the gas (dynes/cm)

P is the pressure (psia)

T is the temperature o
( F)

API is the oil API gravity

Water-gas surface tension


The water-gas surface tension is given by Katz:

σW = 70 − 0.1 ⋅ (T − 74) − 0.002 ⋅ P Eq. 7.344

σW is the surface tension between the water and the gas (dynes/cm)

P is the pressure (psia)

T is the temperature o
( F)

Technical Description
605
PIPESIM User Guide

Black oil enthalpy


Black oil fluid enthalpy model
The black oil fluid model makes some approximations in the entropy balance based upon the
thermodynamic behavior of typical hydrocarbon fluids. The black oil model is suitable for light,
medium and heavy oil based fluids, particularly if significant quantities of water are present. The
black oil model is fast, simple to use and easy to calibrate. It is also suitable for gas and gas/
condensate screening studies.
There are currently two black oil enthalpy calculation methods available in PIPESIM.

2009 method
The enthalpy of the gas phase is given by:

H g = c p T − ηg c P + ΔH vap Eq. 7.345


g pg

The enthalpy of the oil phase is given by:

H o = c p T − ηo c P Eq. 7.346
o po

The enthalpy of the water phase is given by:

H w = c p T − ηw c P Eq. 7.347
w pw

where the gas, oil and water Joule Thomson coefficients are approximated by (Ref: Alves, Alhanati
and Shoham (p.664):

/
1 T ∂Z
ηg = 5.40395
Z ∂T Eq. 7.348
ρg c
pg

/
1
ηo = − 5.40395
Eq. 7.349
ρo c
po

/
1
ηw = − 5.40395
Eq. 7.350
ρw c
pw

The total enthalpy of the fluid is given by:

H = H g wg + H o wo + H w ww Eq. 7.351

where:

H is the specific enthalpy BTU / lb

Technical Description
606
PIPESIM User Guide

T is the flowing temperature o


F
P is the flowing pressure psia
cp is the specific heat capacity at constant pressure BTU lb oF
/
η is the Joule Thomson coefficient F / psia
o

ρ is the flowing density lb / ft


3

Z is the gas compressibility factor dimensionless


w is the flowing mass fraction dimensionless

ΔH vap is the latent heat of vaporization BTU / lb

/ 3
1 BTU ft = 5.40395 psia

1983 method
The enthalpy of the gas phase is given by:

H g = c p T + P (1.619 × 10 )P − 0.02734
−10 −6
P + 1.412 × 10 Eq. 7.352
g
The enthalpy of the oil phase is given by:
−3
H o = c p T + 3.36449 × 10 P Eq. 7.353
o
The enthalpy of the water phase is given by:

( )
−3
2.9641 × 10
H w = cp T + P Eq. 7.354
w γw
The total enthalpy of the fluid is given by:

H = H g mg + H o mo + H w mw Eq. 7.355

where:

m is the stock tank mass fraction dimensionless


γ is the stock tank specific gravity dimensionless

Black oil mixing


Introduction
Mixing occurs in network models, when two or more streams meet at a junction and in single
branch models where injected fluid, or fluids from multiple completions mix with fluid already in the
branch. The fluid properties of the mixed stream need to be determined.

Technical Description
607
PIPESIM User Guide

Stock tank oil properties

Phase ratios (gas oil ratio / water cut)


The phase ratios for a mixed stream are calculated by adding the individual phase rates of each
stream and then calculating the ratio of the phases. The calculations are at stock tank conditions.

Qvg ,mix
GOR mix = Eq. 7.356
Qvo ,mix
Qvw ,mix
WCUT mix = Eq. 7.357
Qvw ,mix + Q
vo ,mix
Here:

GOR mix is the gas oil ratio of the mixture

WCUT mix is the water cut of the mixture

n is the stock tank oil volume rate of the combined stream


Qvo ,mix = ∑ Qvo ,i
i =1
n is the stock tank water volume rate of the mixture
Qvw ,mix = ∑ Qvw ,i
i =1
n is the stock tank gas volume rate of the mixture
Qvg ,mix = ∑ Qvg ,i
i =1

Qvo ,i = QvL ,i ( )
× 1 − WCUT i is the stock tank oil volume rate of stream i

Qvw ,i = QvL × WCUT i is the water volume rate of stream i


,i

Qvg ,i = QvL × GOR i is the stock tank gas volume rate of stream i
,i

QvL = Qvo ,i + Qvw ,i is the stock tank liquid volume rate of stream i
,i

WCUT i is the water cut of stream i

GOR i is the gas oil ratio of stream i

n is the number of streams in the mixture

Phase densities
The phase densities (and specific gravities) are determined as a volumetric average of the input
stream densities:

Technical Description
608
PIPESIM User Guide

ΣDOD i × Qvo ,i
DOD mix = Eq. 7.358
Qvo ,mix
ΣGSG i × Qvg ,i
GSG mix = Eq. 7.359
Qvg ,mix
ΣWSG i × Qvw ,i
WSG mix = Eq. 7.360
Qvw ,mix
Here:

DOD mix is the dead oil density of the mixture

GSG mix is the gas specific gravity of the mixture

WSG mix is the water specific gravity of the mixture

DOD i is the dead oil density of stream i

GSG i is the gas specific gravity of stream i

WSG i is the water specific gravity of stream i

Contaminants
The mole fractions of contaminants for the mixed stream is determined using a gas phase
volumetric average of the individual stream mole fractions:

ΣZ j ,i × Qvg ,i
Z j ,mix = Eq. 7.361
Qvg ,mix
Here:

Z j ,mix is the mole fraction of contaminant j in the mixture

Z j ,i is the mole fraction of contaminant j in stream i

Thermal data (heat capacity and thermal conductivity)


The phase thermal properties of mixed streams are calculated using mass averages of the phase
properties of the input streams:

ΣCP φ ,i × Q φ ,i
CP φ ,mix = Eq. 7.362
Q φ ,mix

Technical Description
609
PIPESIM User Guide

Σ K φ ,i × Q φ ,i
K φ ,mix = Eq. 7.363
Q φ ,mix
ΣΔH vap ,i × Qg ,i
ΔH vap ,mix = Eq. 7.364
Qg ,mix
Here:

φ is the phase, oil φ = O , vapor (gas) φ = G , or water φ = W

CP φ ,mix is the heat capacity of phase φ in the mixture

K φ ,mix is the thermal conductivity of phase φ in the mixture

ΔH vap ,mix is the latent heat of vaporization of the gaseous phase g in the mixture

CP φ ,i is the heat capacity of phase φ in stream i

K φ ,i is the thermal conductivity of phase φ in stream i

ΔH vap ,i is the latent heat of vaporization of the gaseous phase g in stream i

n is the mass flow rate of phase φ of the mixture


Q φ ,mix = ∑ Q φ ,i
i =1

Q φ ,i is the mass flow rate of phase φ of stream i

Correlations
Unlike other properties, the choice of correlations used for the combined fluid can not be decided
by averaging. Instead, the selected correlation for the mixed stream is chosen as the one which
has the highest flow rate associated with it for the relevant phase. For example the correlation for
mixture Oil Viscosity is set to be the correlation that has maximum stock tank rate associated with
it.
While deciding the correlation for the mixed stream, we have to consider following rules:
• All properties are independent of each other. For example the. choice for mixture dead Oil
viscosity correlation has nothing to do with mixture live Oil viscosity
• Resultant mixture correlation is decided based on associated phase rate (for example, oil if we
are deciding Oil property) ; not based on number of streams using that correlation
• Stock tank flow rates are used at the point of mixing.

Example 1
For an example assume we are mixing 7 flow streams which have different sets of correlations as
tabulated below:

Technical Description
610
PIPESIM User Guide

Stream Flow rate (STB/ Dead Oil Viscosity Live Oil Viscosity Under-saturated Oil
day) Viscosity
1 5000 Hossain Kartoatmodjo Vasquez and Beggs
2 2000 Glasso Khan Kouzel
3 4000 Petrosky-Farshad Chew and Connally Kouzel
4 3000 Beggs and Robinson Khan Kouzel
5 6000 Beggs and Robinson Kartoatmodjo Bergman and Sutton
6 8000 Glasso Hossain Bergman and Sutton
7 2000 Beggs and Robinson Elsharkawy Kouzel

The total oil flow for each correlation, and the correlations selected for the combined fluid are
tabulated below:

Stream Flow rate (STB/day) Dead Oil Viscosity


4,5,7 11000 Beggs and Robinson
2,6 10000 Glasso
1 5000 Hossain
3 4000 Petrosky-Farshad
combined 30000 Beggs and Robinson

Stream Flow rate (STB/day) Live Oil Viscosity


1,5 11000 Kartoatmodjo
6 8000 Hossain
2,4 5000 Khan
3 4000 Chew and Connally
7 2000 Elsharkawy
combined 30000 Kartoatmodjo

Stream Flow rate (STB/day) Under-saturated Oil Viscosity


5,6 14000 Bergman and Sutton
2,3,4,7 11000 Kouzel
1 5000 Vasquez and Beggs
combined 30000 Bergman and Sutton

Example 2
Mixing of fluids that use different correlations may produce unexpected results. In the above
example, a 51%-49% mixture of streams 1 and 2 will use the same correlations as stream 1, but a
49%-51% mixture will use the same correlations as stream 2. So, even though these to mixtures

Technical Description
611
PIPESIM User Guide

are similar, their properties may be modelled completely differently. Therefore it is important to
select compatible correlations when modelling networks.

Calibration data
A number of correlations are calibrated using user supplied data. This section describes how
streams with different calibration data are mixed.

Dead oil viscosity

Dead oil viscosity (p.595) can be specified using no calibration data; 2–point {(T 1, μ1), (T 2, μ2)}
calibration data; or as a User Supplied Table with multipoint calibration data
{(T 1, μ1), ( )}
… , T n , μn . If none of the streams in a mixture use calibration data, then the mixing
is done by simply determining the mixture correlation, as outlined in Correlations (p.610). If
however, at least one of the input streams uses dead oil viscosity with calibration data then a User
Supplied Table is used for the mixture deadoil viscosity. The table entries are calculated in three
steps:

{ }
1. The number and value of the temperature points T x in the table are determined:
• If the inlet streams use multipoint calibration, then the mixed stream will use multipoint
calibration. PIPESIM will try to include all the input temperatures in the mixture table, up to a
maximum of 40 points.
• If the inlet streams only use 2–point calibration data, then the mixed stream will use only two
points. The Temperature will be set to the minimum and maximum temperatures of the input
stream calibration temperatures.

( )
2. The viscosity of each inlet stream μi T x is calculated at each temperature in the mixed stream
table.
3. The mixture viscosity is calculated at each point in the stream using the Kendall and Monroe
cubic mixing rule:

( )
3
n Qvo ,i 1/3
μcomb(T x ) = ∑ ( ( ))
⋅ μi T x Eq. 7.365
i =1 Qvo ,mix

Example 3
Streams 1–3, defined in the table below, mix at a junction. All streams use dead oil correlations
without data, so the mixed stream, stream 4, uses the dead oil correlation with the biggest flow, in
this case Beggs and Robinson. Stream 4 then mixes with stream 5 at another junction. Stream 5
uses a correlation with calibration data. Even though stream 5 has less flow than stream 4, the
mixture, stream 6, will use a User Supplied Table to define its dead oil correlation.

Stream Flow rate (STB/day) Dead Oil Viscosity


1 2000 Beggs and Robinson
2 2500 Chew and Connally

Technical Description
612
PIPESIM User Guide

3 1000 Beggs and Robinson


4= 1+2+3 5500 Beggs and Robinson
5 2500 Any correlation with 2–point data, or a User Supplied Table
6 = 4+5 8000 User Supplied Table

Solution gas Rs

( )
If one or more of the input streams has a single point calibration data, Rsi Pref ,i , T ref ,i , then the
mixed stream solution gas will also be calibrated using a single point:
1. Determine the correlation (p.610) for the mixed stream.

( )
2. Determine reference pressure and temperature values Pref ,mix , T ref ,mix for calibrating the
mixed stream viscosity. These are calculated as the mass flow rate average of the input stream
reference pressures and temperatures — for those input streams with calibration data.
3. Determine the solution gas of each stream at the reference pressure and temperature for the
( )
mixed stream Rsi Pref ,mix , T ref ,mix . For those streams that are undersaturated at
(Pref ,mix , T ref ,mix ) the “potential” solution gas is determined by extrapolation.

4. The solution gas for the mixed stream is determined as a volume average of all the input
stream solution gas (or potential solution gas) values.

Live oil viscosity


A number of steps are needed to determine the live oil viscosity of a mixture:
1. Determine the correlation (p.610) for the mixed stream.

Technical Description
613
PIPESIM User Guide

(
2. Determine reference pressure and temperature values Pref ,mix , T ref ,mix for calibrating the )
mixed stream viscosity. These are calculated as the mass flow rate average of the input stream
reference pressures and temperatures, for those input streams with calibration data. If the
mixed stream is not saturated at the calculated reference pressure and temperature, the
reference pressure is reduced to the saturation pressure
n Qo ,i
T ref ,mix = ∑ T ref ,i
1=1 Qo ,mix
n Qo ,i
Pref ,mix = MIN ∑ Pref ,i , Psat ,mix (T ref ,mix )
1=1 Qo ,mix
3. Determine the input stream viscosities at the mixture reference pressure and temperature
μo ,i (Pref ,mix , T ref ,mix ). If an input stream is undersaturated at (Pref ,mix , T ref ,mix ) then its
viscosity is calculated by first adding more gas so that the stream is saturated. The added gas
has a specific gravity equal to that of the mixture.

( )
4. The live oil viscosity of the mixture is calculated at Pref ,mix , T ref ,mix using the 7.365 (p.612)
equation.

5. The live oil correlation can then be calibrated using μo ,mix Pref ,mix , T ref ,mix ( )
7.5.3 Compositional fluid modeling
In compositional fluid models the user can specify a number of components that make up the fluid.
These can be real molecules, such as methane, ethane or water, known as library components or
pseudo components that represent the properties of several molecules, known as petroleum

Technical Description
614
PIPESIM User Guide

fractions. The phase behaviour and thermodynamic properties are determined by an equation of
state (EOS). This equation of state is either a cubic equation (p.615) (this is a modified form of
the Van der Waals equation) or a non-cubic equation (p.619). The number of phases that can be
modelled depends on the flash package:
• Two phase flash. Water is removed from the fluid and the remaining hydrocarbons are flashed
to determine the amount of oil and vapour. This method is used for most compositional flash
packages (and for black oil models). This means that water only appears in the water phase
and does not appear in the vapour phase.
• Three phase flash. If the Multiflash compositional package is used, then a three phase flash is
performed. This means that there is a possibility that water will appear in the vapour phase, and
some components (e.g. water, methanoll) will appear in the aqueous phase.
The three phase flash gives a more accurate model of water behaviour than the two phase
flash. However, there can be problems when the flash produces two non-aqueous liquids —
one of these may be mis-identified as water.
• Multiphase flash. The Multiflash compositional standalone package can be used to model
vapour and three liquid phases as well as solid phases. Within PIPESIM flow simulations,
Multiflash is only ever used to model two liquid phases. However, it can be used within
PIPESIM to plot phase envelopes and to predict whether solid phases (asphaltene, hydrates,
wax and ice) would be present.

Cubic equations of state


Equations of state (EoS) describe the pressure, volume and temperature (PVT) behavior of pure
components and mixtures. The phase state and most thermodynamic properties (e.g. density,
enthalpy, entropy) are derived from the equation of state. Separate models are used for transport
properties, such as Viscosity (p.594), thermal conductivity and surface tension. PIPESIM can use
both cubic and non-cubic (p.619) Equations of State.
Volume shift (three-parameter) and acentric factor corrections, if available, are recommended for
the cubic equations of state.
The cubic equation of state can be written as:
nRT a
P= + Eq. 7.366
V − b (V + m ⋅ b) ⋅ (V + m ⋅ b)
1 2

Where:

P is the pressure of the fluid


V is the total volume of the container containing the fluid
a is a measure of the attraction between particles
b is the volume excluded from V by a particle
n is the number of moles
T is the temperature
R is the gas constant

Technical Description
615
PIPESIM User Guide

m1, m2 constants:
( )
for the Peng-Robinson EOS m1, m2 = (1 + 2, 1 − 2)

(
for the Soave— Redlich—Kwong EOS m1, m2 = (1, 0) )
The EoS is a cubic equation for the volume, as a function of the pressure, temperature and EoS
parameters. It is often written in terms of the compressibility:
PV
Z= Eq. 7.367
nRT
( )
In the special case m1, m2 = (0, 0) the cubic EoS reduces to van der Waals equation, and in the
special case when a = b = 0 the cubic EoS reduces to the ideal gas equation.
The parameters a and b are in fact functions of the pressure, temperature, composition,
component properties and the mixing rules. If there is more than one phase present, the
composition of each phase differs and hence each phase has different equation of state
parameters. Assuming a quadratic mixing rule for a and a linear mixing rule for b the parameters
for phase φ are given by
2 2 2
n ⋅R ⋅T 1/2
aφ = ⋅ ΣΣ( Ai ⋅ A j ) ⋅ (1 − δij ) ⋅ x φi ⋅ x φj Eq. 7.368
P
n⋅R⋅T
bφ = ⋅ Σ Bi ⋅ x φi Eq. 7.369
P
Where:

x φi is the mole fraction of component i in phase φ

Ai is a function of the temperature T , the component critical pressure Pci , critical temperature
T ci and acentric factor ωi

Bi is a function of the component critical pressure Pci and critical temperature T ci

δij is the Binary Interaction Parameter between component i and component j

Thermodynamic properties
Thermodynamic properties can be calculated from the equation of state. The method may vary
between flash packages. The following equations are used in E300 flash.

The fugacity coefficient Φ φi for each component in each phase is used to determine the phase
state and phase split. It is given by:

ln Φ φi =
RT ∫
−1
V
RT
V

( )
∂P
∂ ni T ,V ,n j
d V − ln
PV
RT Eq. 7.370

Technical Description
616
PIPESIM User Guide

The phase density can be found from the phase volume. For a two parameter Equation of State,
this is found by solving the cubic equation. However, this can give poor prediction of the liquid
density. For a three parameter Equation of State, the phase volume is modified by subtracting a
volume shift term:
eos
V φ = V φ − Σ x φi ⋅ V si Eq. 7.371
o
The phase enthalpy H φ is calculated from the ideal gas enthalpy: H φ :

Hφ =
o
Hφ − ∫ V
T ( ∂∂TP )V
− P d V − RT + PV Eq. 7.372

o
The phase entropy S φ is calculated from the ideal gas entropy: S φ :

Sφ =
o
Sφ − ∫ ( ∂∂TP )
V V

R
V
d V + R ⋅ ln
PV
RT
Eq. 7.373

o
The ideal gas enthalpy and entropy are determined from the ideal gas specific heat C pφ :
T
o
Hφ = ∫ T ref
o
C pφ dT Eq. 7.374

T o
C pφ
=∫
P
− R ⋅ Σ ( x φi ⋅ ln x φi )
o
Sφ dT − R ⋅ ln Eq. 7.375
T ref T P ref
The ideal gas specific heat is calculated by summing the component specific heats
o o
C pφ = Σ C pi ⋅ x φi Eq. 7.376
o
For library components, the component specific heat C pi is a known functions of temperature. For
user defined petroleum fractions, the component specific heat is calculated as a function of
temperature and the component molecular weight MW i , boiling point temperature T Bi , specific
gravity γi and acentric factor ωi .

E300 flash

The ECLIPSE version of the Peng Robinson EoS has an option correction for the Ai term for large
acentric factors (ECLIPSE PRCORR keyword).

E300 flash name Peneloux Volume Shift Correction Peng Robinson 1978 Acentric Factor
Correction
Peng-Robinson
Peng-Robinson Yes
Peng-Robinson Yes
Peng-Robinson Yes Yes

Technical Description
617
PIPESIM User Guide

SRK Yes
SRK

Multiflash
The Multiflash Implemnetation in PIPESIM has the cubic Equations of State, Peng-Robinson and
RKS, along with the Cubic Plus Association (CPA) model, which is an extension of the RKS
(advanced) cubic EoS to handle polar and hydrogen bonding components. The Multiflash
implementation also includes non-cubic EoS (p.619).
EoS names differ from those in the Multiflash GUI.

Peng Robinson
Peneloux Volume
PIPESIM GUI name Multiflash GUI name 1978 Acentric
Shift Correction
Factor Correction
Peng-Robinson PR (Advanced) Yes
NOT CURRENTLY
PR78 (Advanced) Yes
AVAILABLE
SRK RKS (Advanced) Yes
Association (CPA-
Association (CPA) Yes
Infochem)

Versions of the Peng-Robinson and SRK equations of state without the volume shift correction are
available, but are not recommended. Liquid densities predicted by these equations of state can be
poor. In particular the liquid water density is out by about 15%. This causes problems in PIPESIM,
since it can predict water being lighter than oil. This particular problem does not arise in two phase
flashes, where the water properties are not determined by the equation of state. It does occur in 3
phase flashes, such as Multiflash.

Peng Robinson 1978


Multiflash GUI Volume Shift
PIPESIM GUI name Acentric Factor
name Correction
Correction
Standard Peng-Robinson PR
NOT CURRENTLY AVAILABLE PR78 Yes
Standard SRK RKS

DBR flash

The DBR flash has both the Peng Robinson and the Soave— Redlich—Kwong equations of state,
with both two and three parameter (volume shift) options:

DBR flash Volume Shift Correction


Peng-Robinson
Peng-Robinson Yes
SRK

Technical Description
618
PIPESIM User Guide

SRK Yes

Non-cubic equations of state


Equations of state (EoS) describe the pressure, volume and temperature (PVT) behavior of pure
components and mixtures. The phase state and most thermodynamic properties (e.g. density,
enthalpy, entropy) are derived from the equation of state. Separate models are used for transport
properties, such as viscosity, conductivity and surface tension.
PIPESIM can use both cubic (p.615) and non-cubic and Equations of State.

Multiflash

BWRS
The BWRS is an 11-parameter non-cubic equation. The BWRS equation gives much more
accurate volumetric and thermal property predictions for light gases and hydrocarbons. It should
give reasonable vapor-liquid phase equilibrium predictions, but owing to its complexity, it requires
more computing time than the cubic EOS (e.g SRK or Peng-Robinson). The EoS is similar to a
virial expansion in density:

( ) ( )
′ 2 2
RT B C D C γ −γ
P= ⋅ n+ + 2 + 5 + 5 ⋅ 1 + 2 ⋅ exp Eq. 7.377
V V V V V V V
2

The BWRS EoS can be used with most of the components that can be used with the cubic EoS.
(p.624)

Note: It does not work with the Hydrogen component or with aqueous components.

CSMA
CSMA is the Multiflash multi-reference fluid corresponding states model. The CSMA model is
based on a collection of very accurate equations of state for a number of common substances. The
density, thermal properties and VLE of each substance are generally reproduced to within the
accuracy of experimental measurements. The properties of mixtures can be estimated from a
model that reduces to the (accurate) pure component values as the mixture composition
approaches each pure component limit.
An important application is mixtures containing CO2, H2S and light hydrocarbons. It can only be
used with a limited selection of components (p.629).

Note: It can only be used via an MFL file.

CPA
The CPA (cubic-plus-association) model extends the capabilities of industry-standard cubic
equations of state to polar and hydrogen-bonding components. It is applicable to a wide variety of
systems of importance to the upstream oil industry such as hydrocarbons, gases, water and
hydrate inhibitors (alcohols and glycols).

Technical Description
619
PIPESIM User Guide

The Multiflash CPA model is based on the Infochem RKSA (advanced Redlich-Kwong-Soave)
equation of state. It has the advantage for non-polar substances, because it reduces the RKSA eos
so that all the characterization methods and parameters for standard oil and gas mixtures can be
used. Extra terms in the equation describe polar and associating compounds. The main application
in Multiflash is representing the fluid phases when modeling hydrates and hydrate inhibition. CPA
shows improvements over standard cubic eos for other systems such as acid gases and water.

Note: Salt components are not supported.

The CPA model is the subject of an active research program that is extending its applicability to
many other systems of industrial importance.

Reference fluid thermodynamic and transport properties — REFPROP


REFPROP is an acronym for REFerence fluid PROPerties. The flash package provides
thermodynamic and transport properties of industrially important fluids and their mixtures with an
emphasis on refrigerants and hydrocarbons, especially natural gas systems. It is developed by the
National Institute of Standards and Technology (NIST).
REFPROP is based on highly accurate single component and mixture models based on the
Helmholtz energy.

NIST recommendation for pure fluids / mixture


For single components, REFPROP has a recommended set of equations of state explicit in
Helmholtz energy. That is, for each single component, a specific equation of state explicit in
Helmholtz energy is chosen. e.g. for carbon dioxide this is Span and Wagner (1996) (p.674) .
Mixture calculations employ a model that applies mixing rules to the Helmholtz energy of the
mixture components; it uses a departure function to account for the departure from ideal mixing.

GERG

Introduction
GERG is an acronym for Groupe Européen de Recherches Gazières, which is supported by the
European natural-gas companies. The European natural-gas companies include E.ON Ruhrgas
(Germany), Enagás (Spain), Gasunie (The Netherlands), Gaz de France (France), Snam Rete Gas
(Italy) and Statoil (Norway).
The flash package, developed at Ruhr-Universitat Bochum, provides thermodynamic and transport
properties of industrially important gases and other mixtures with an emphasis on hydrocarbons
and further components. Lehrstuhl fuer Thermodynamik (Department of Thermodynamics) of Ruhr-
Universitat Bochum, Germany have developed a wide-range equation of state (EOS) for natural
gases and other mixtures that meets the requirements of standard and advanced natural gas
applications.
The first published equation of state by Ruhr-Universitat Bochum covers mixtures consisting of up
to 18 components as listed below:

Technical Description
620
PIPESIM User Guide

Annotations:
Yellow – natural gas main components
Red – further hydrocarbons
Blue – further components

In 2004, the new equation of state was evaluated by the GERG group and then adopted under the
name GERG-2004 equation of state (or GERG-2004 for short) as an international reference
equation of state for natural gases and similar mixtures (GERG standard).

GERG-2008
In 2008, Ruhr-Universitat Bochum further extended GERG-2004 by including three additional
components n-nonane, n-decane and hydrogen sulfide, making its component list up to 21
components. This expanded equation of state was called GERG-2004 XT08, where "XT08" meant
"eXTension 2008". In 2010, upon the request of the ISO Working Group (ISO TC193 SC1 WG13),
Ruhr-Universitat Bochum simplified the name of GERG-2004 XT08 to GERG-2008, the current
version of GERG.
The GERG-2008 equation of state is under consideration to be adopted as an ISO Standard (ISO
20765-2 and ISO 20765-3) for natural gases. The ISO group ISO TC 193/SC 1/WG 13 is working
on this matter.

Description

Structure
The GERG equation of state is based on a multi-fluid approximation, which is explicit in the
reduced Helmholtz energy α = a/(RT) [α = Alpha in the figures] dependent on the density ρ, the
temperature T and the composition x (mole fractions) of the mixture. The structure of the equations
of state is shown in the following figure:

Technical Description
621
PIPESIM User Guide

Figure 7.14. The basic structure of the equations of state GERG-2004 (N = 18) and GERG-2008
(N = 21) for natural gases and other mixtures.

Three elements are necessary to set up a multi-fluid approximation:


• Pure substance equations of state for all components
• Reducing functions for density and temperature
• Departure function
The reducing functions as well as the departure function were developed to describe the behaviour
of the mixture and contain substance and mixture specific parameters. From the reducing
functions, the reducing values ρr and Tr for the density and the temperature of the mixture are
calculated. They only depend on the mixture composition and turn into the critical properties ρc
and Tc, respectively, for the pure components. The departure function depends on the reduced
density δ, the inversely reduced temperature τ ( τ = Tau in the figures) , and the composition x of
the mixture. It contains the sum of binary specific and generalized departure functions, which can
be developed for single binary mixtures (binary specific) or for a group of binary mixtures
(generalized). The following equation illustrates this summation:

Figure 7.15. The departure function for the mixture in a multi-fluid approximation as a double
summation over all binary specific and generalized departure functions developed for the binary
subsystems; GERG-2004: N = 18; GERG-2008: N = 21.

The mathematical structure of the part of the binary specific and generalized departure functions
that depends on δ and τ is similar to the structure of pure substance equations of state and is
determined by our method for optimizing the structure of equations of state. Furthermore, the

Technical Description
622
PIPESIM User Guide

departure functions contain a factor that only depends on the composition of the mixture. For
further details, see the references given at the end of this description.
In order to obtain a reference equation of state that yields accurate results for various types of
natural gases and other multi-component mixtures over wide ranges of composition, the reducing
and departure functions were developed using only data for binary mixtures. The 18 pure
components covered by GERG-2004 form 153 different binary mixtures, and the 21 pure
components covered by GERG-2008 result in 210 possible binary mixture combinations. Departure
functions Δαrij(δ,τ, x) were developed only for such binary mixtures for which accurate
experimental data existed. For binary mixtures with limited or poor data, no departure functions
were developed, and only the parameters of the reducing functions ρr(x) und Tr(x) were fitted; in
case of very poor data, simplified reducing functions without any fitting were used.
The multi-fluid approximation used enables a simple inclusion of additional components in future
developments. This means that, for example, fitted parameters of the existing equation of state do
not have to be refitted when incorporating new components. This also holds for the departure
function with its optimized structure, which remains unchanged when expanding the model.

Range of validity and accuracy


The entire range of validity of GERG-2008 covers the following temperatures and pressures:
• Normal range: 90 K ≤ T ≤ 450 K, p ≤ 35 MPa
• Extended range: 60 K ≤ T ≤ 700 K, p ≤ 70 MPa
Moreover, the equation can be reasonably extrapolated beyond the extended range, and each
component can basically cover the entire composition range, i.e. (0-100)%.
GERG-2008 represents most of the experimental data, including the most accurate measurements
available, to within their uncertainties. The uncertainty values given in the following correspond to
the uncertainties of the most accurate experimental data.
In the gas region, the uncertainties in density and speed of sound are 0.1%, in enthalpy differences
(0.2-0.5)% and in heat capacities (1-2)%. In the liquid region, the uncertainty in density is
(0.1-0.5)%, in enthalpy differences (0.5-1)% and in heat capacities (1-2)%. In the two-phase
region, vapour pressures are calculated with a total uncertainty of (1-3)%, which corresponds to
the uncertainties of the experimental VLE data. For mixtures with limited or poor data, the
uncertainty values stated above can be somewhat higher.
These accuracy statements are based on the fact that GERG-2008 represents the corresponding
experimental data to within their experimental uncertainties (with very few exceptions).

References
The comprehensive descriptions of GERG (with the entire numerical information, experimental
data used, quality, range of validity, etc.) are retrievable from the following reference:
Kunz, O., Klimeck, R., Wagner, W., Jaeschke, M. The GERG-2004 wide-range equation of state
for natural gases and other mixtures. GERG TM15 2007. Fortschr.-Ber. VDI, Reihe 6, Nr. 557, VDI
Verlag, Düsseldorf, 2007; also available as GERG Technical Monograph 15 (2007).
Kunz, O., Wagner, W. The GERG-2008 wide-range equation of state for natural gases and other
mixtures: An expansion of GERG-2004. To be submitted to J. Chem. Eng. Data (2011).

Technical Description
623
PIPESIM User Guide

Note: This GERG Monograph is available for downloaded from the website of GERG - http://
www.gerg.eu/publications/tm.htm

Components for cubic equations of state


For the cubic equations of state (p.615), non-aqueous components can either be selected from a
library (p.624), or user-defined components (petroleum fractions (p.628)) can be selected by
defining their properties.
For two phase flashes, water can be selected, but it is treated differently from the other
components. It is removed from the flash calculations, and the water phase properties are
calculated separately. For three phase flashes (Multiflash), aqueous components (p.628) can be
selected from the component library. User-defined aqueous components are not allowed.

Non-aqueous library components


Different library components are available for each package. When converting from one package
to another, if a library component is not available in the new package, it will be converted into a
petroleum fraction (p.628). Default molecular weight and boiling point temperature are used to
define the petroleum fraction — data for pure components are taken from Poling et al (p.673).
The non-aqueous library components can be divided into three types
1. Pure hydrocarbon components (p.624)
2. Non-hydrocarbon components (p.626)
3. Pseudo-components (p.627)

Pure hydrocarbon components


The following pure library components can be selected:

Formula Multiflash E300 flash DBR 2–phase flash MW (g/gmol) Tbp (K)
CH4 Methane C1 C1 16.043 111.66
C2H4 Ethylene Ethylene 28.054 169.42
C2H6 Ethane C2 C2 30.070 184.55
C3H4 Propadiene 40.065 238.77
C3H6 Propylene 42.081 225.46
C3H6 Cyclo-C3 42.081 240.34
C3H8 Propane C3 C3 44.097 231.02
C4H6 1,3-Butadiene 54.092 268.62
C4H6 1,2-Butadiene 54.092 269.00
C4H8 iso-Butene 56.108 266.24
C4H8 1-Butene 56.108 266.92
C4H8 tr2-Butene 56.108 274.03

Technical Description
624
PIPESIM User Guide

C4H8 cis2-Butene 56.108 276.87


C4H10 Isobutane IC4 i-C4 58.123 261.34
C4H10 N-Butane NC4 n-C4 58.123 272.66
C5H10 1-Pentene 70.134 322.38
C5H10 Cyclopentane Cyclo-C5 70.134 303.11
C5H12 2,2-Dimethylpropane 72.150 282.65
C5H12 Isopentane i-C5 72.150 300.99
C5H12 N-Pentane n-C5 72.150 309.22
C6H6 Benzene BEN Benzene 78.114 353.24
C6H12 1-Hexene 84.161 336.63
C6H12 Methylcyclopentane Mcyclo-C5 84.161 344.98
C6H12 Cyclohexane Cyclo-C6 84.161 353.93
C6H14 N-Hexane n-C6 86.177 341.88
C7H8 Toluene TOL Toluene 92.141 383.79
C7H14 1–Heptene 98.188 366.79
C7H14 Methylcyclohexane Mcyclo-C6 98.188 374.09
C7H16 3-Methyl Hexane 100.204 365.00
C7H16 N-Heptane n-C7 100.204 371.57
C7H16 3-Methyl Hexane 100.204 365.00
C8H10 Ethylbenzene C2-Benzene 106.167 409.36
C8H10 P-Xylene p-Xylene 106.167 411.53
C8H10 M-Xylene m-Xylene 106.167 412.34
C8H10 O-Xylene o-Xylene 106.167 417.59
C8H16 1–Octene 112.215 394.44
C8H16 Ethylcyclohexane 112.215 404.00
C8H18 N-Octane n-C8 114.231 398.82
C9H12 124–MBenzene 120.194 442.49
C9H12 Cumene 120.194 425.52
C9H20 N-Nonane n-C9 128.258 423.97
C10H14 1,2-Diethylbenzene 134.22 456
C10H22 N-Decane n-C10 142.285 447.30
C11H24 N-Undecane 156.312 469.08
C12H26 N-Dodecane 170.338 489.48
C13H28 N-Tridecane 184.365 508.63
C14H10 Phenanthrene 178.233 611.55

Technical Description
625
PIPESIM User Guide

C14H30 N-Tetradecane 198.392 526.76


C15H32 N-Pentadecane 212.419 543.83
C16H34 N-Hexadecane 226.446 559.98
C17H36 N-Heptadecane 240.473 574.56
C18H38 N-Octadecane 254.500 588.30
C19H40 N-Nonadecane 268.527 602.34
C20H42 N-Eicosane 282.554 616.84
C21H44 N-Heneicosane
C22H46 N-Docosane
C23H48 N-Tricosane
C24H50 N-Tetracosane
C25H52 N-Pentacosane
C26H54 N-Hexacosane
C28H58 N-Octacosane
C29H60 N-Nonacosane
C30H62 N-Triacontane
C32H66 N-Dotriacontan
C36H74 N-Hexatriacontane

Non-hydrocarbons
The following pure library components can be selected:

Formula Multiflash E300 flash DBR 2–phase flash MW (g/gmol) Tbp (K)
H2 Hydrogen H2 H2 2.016 20.38
He Helium Helium 4.003 4.30
N2 Nitrogen N2 N2 28.014 77.35
O2 Oxygen O2 31.999 90.17
Ar Argon Argon 39.948 87.27
Kr Krypton 83.800 119.74
Xe Xenon 131.290 165.01
NH3 Ammonia NH3 17.031 239.81
H2S Hydrogen Sulphide H2S H2S 34.082 212.84
CO Carbon Monoxide CO CO 28.010 81.66
CO2 Carbon Dioxide CO2 CO2 44.010
SF6 SF6 146.06 209.00

Technical Description
626
PIPESIM User Guide

Pseudo-hydrocarbon components
Some packages contain pseudo components, essentially pre-defined petroleum fractions
(p.628), that can be used to represent the heavy end of the oil.

Formula Multiflash E300 flash DBR 2–phase flash MW (g/gmol) Tbp (K)
C4 58.124 268.9
C5 72.151 305.9
C6 C6 84.00 341.9
C7 C7 96.00 371.6
C8H10 m&p-Xylene 106.167 411.9
C8 C8 107.00 398.8
C9 C9 121.00 424.0
C10 C10 134.00 447.0
C11 C11 147.00 469.0
C12 C12 161.00 489.0
C13 C13 175.00 508.0
C14 C14 190.00 527.0
C15 C15 206.00 544.0
C16 C16 222.0 560.0
C17 C17 237.00 575.0
C18 C18 251.00 589.0
C19 C19 263.00 603.0
C20 C20
C21 C21
C22 C22
C23 C23
C24 C24
C25 C25
C26 C26
C27 C27
C28 C28
C29 C29
C30 C30
C31 C31
C32 C32
C33 C33

Technical Description
627
PIPESIM User Guide

C34 C34
C35
C36
C37
C38
C39
C40
C41
C42
C43
C44
C45
Bitumen 544.00 773.2

Aqueous library components


Aqueous components are defined as those that will distribute mainly in the second liquid phase.
These are water and the hydrate suppressants methanol, ethylene glycol, diethylene glycol and
triethylene glycol. The calculation in of the amount of aqueous components to add corresponds to
an agreed definition. The water phase is added as a proportion of the DRY gas at stock tank
conditions (15 degrees C, 1bar). The discrepancy between hand calculations and software is
because the software makes a correction for the amount of aqueous components that will partition
to the gas phase. That is, it aims to add the amount of aqueous components requested as a
separate aqueous phase. There will also be some loss to the hydrocarbon liquid phase but this will
not be significant unless the aqueous phase contains a lot of methanol. The amount lost to the
vapor phase will be significant if there is a large amount of gas present relative to other phases.

Formula Multiflash
H2O Water
CH3–OH Methanol
C2H5–OH Ethanol
C2H6O2 Ethylene Glycol (MEG)
C4H10O3 Diethylene Glycol (DEG)
C6H14O4 Triethylene Glycol (TEG)
NaCl Salt Component

Petroleum fractions

User-defined components can be created by defining key properties: molecular weight MW i ,


critical pressure Pci , critical temperature T ci , boiling point temperature T Bi , specific gravity γi and

Technical Description
628
PIPESIM User Guide

acentric factor ωi . It is not always necessary to supply values for all these properties — the flash
packages can use correlations to determine unspecified properties from those that are specified.
Minimum data required is shown in the table below:

Multiflash E300 flash / DBR flash

MW i , γi yes

MW i , T Bi yes

T Bi , γi yes

MW i yes

Pci , T ci , ωi . yes

Note: The Multiflash routines that calculate the petroleum fraction properties assume the molecular
weight of petroleum fractions exceed 72.

Components for non-cubic equations of state


Only library components can be used for the CSMA, NIST recommendation for pure fluid/mixture
and GERG-2008 non-cubic equations of states (p.619).

Formula Multiflash (CSMA) REFPROP (NIST recommendation GERG-2008 (GERG-2008)


for pure fluid/mixture)
CH4 Methane methane Methane
C2H6 Ethane ethane Ethane
C3H8 Propane propane Propane
i-C4H10 Isobutane isobutane Isobutane
n-C4H10 Butane butane n-Butane
i-C5H12 Isopentane isopentane Isopentane
n-C5H12 Pentane pentane n-Pentane
n-C6H14 Hexane hexane n-Hexane
n-C7H16 Heptane heptane n-Heptane
n-C8H18 Octane octane n-Octane
n-C9H20 nonane n-Nonane
n-C10H22 decane n-Decane
C2H2 Ethylene
C6H12 Cyclohexane
C7H8 Toluene

Technical Description
629
PIPESIM User Guide

H2 Hydrogen hydrogen (normal) Hydrogen


He Helium helium Helium
N2 Nitrogen nitrogen Nitrogen
O2 Oxygen oxygen Oxygen
Ar Argon argon Argon
H2S Hydrogen Sulphide hydrogen sulfide Hydrogen sulphide
CO Carbon Monoxide carbon monoxide Carbon monoxide
CO2 Carbon Dioxide carbon dioxide Carbon dioxide
NH3 Ammonia

Multiflash is a 3–phase flash and allows aqueous components. REFPROP and GERG-2008 allow
water, but are two phase flashes. The water component is therefore removed before the flash
calculation, and water properties are calculated outside the flash.

Formula Multiflash (CSMA) NIST-REFPROP GERG-2008


H2O Water water Water
C2H5–OH Ethanol

Viscosity models for compositional fluids


Select Setup » Compositional, then on the Property Models tab, select one of the following
models for determining viscosity:
• Pedersen (the default)
• LBC (Lohrenz-Bray-Clark)
• Aasberg-Petersen (only available for E300 and DBR)
• NIST recommendation for pure fluids / mixture (only available for REFPROP and GERG-2008)
Preliminary testing has shown the Pedersen method to be the most widely applicable and accurate
for oil and gas viscosity predictions. Multiflash uses the Pedersen method as the default viscosity
model, though an option is available to choose the LBC model for backward compatibility. The
Pedersen method has been adopted as the default in response to the deficiencies of the LBC
method. The Pedersen method is based on the corresponding state theory, as is the LBC method.
The results for different components are as follows:
Lower Alkanes
Predicted liquid viscosities using LBC and Pedersen methods have been compared to
experimental data for Methane and Octane as a function of both temperature and pressure
and for Pentane as a function of temperature. For both Methane and Pentane the
Pedersen method predictions show close agreement with experimental data. For Octane,
the Pedersen and LBC methods give comparable results. For the aromatic compound,
Ethyl Benzene, the Pedersen method is not as good as LBC.

Technical Description
630
PIPESIM User Guide

Higher Alkanes
The results for higher alkanes Eicosane and Triacontane are mixed: the Pedersen method
is adequate for Eicosane whereas LBC is slightly better than Pedersen for Triacontane.
For Triacontane both the LBC and Pedersen methods are inadequate. However, in the
majority of cases the higher hydrocarbons should be treated as petroleum fractions rather
than as single named components.
Petroleum Fractions
The LBC method describes viscosity as a function of the fluid critical parameters, acentric
factor and density. The LBC model is therefore very sensitive to both density and the
characterization of the petroleum fractions.
Water
The Pedersen method suffers the same drawback as LBC in that it is unable to predict the
temperature dependence of water, a polar molecule. To overcome this problem, the
Pedersen method has been modified especially for water so that it now accurately models
the viscosity of water in the liquid phase. This was achieved by the introduction of a
temperature-dependent correction factor. However the prediction of the viscosity of the
gas phase is also affected, though in only a minor way.
Methanol
Neither the LBC nor Pedersen method can deal with polar components, with the Pedersen
method slightly worse than LBC. This is not surprising, as both methods were developed
for non-polar components and mixtures. The Pedersen method works best with light
alkanes and petroleum mixtures in the liquid phase. It performs as well or better than the
LBC method in nearly all situations.
The choice of the equation of state has a large effect on the viscosities predicted by both methods.
The LBC method is more sensitive to the equation of state effects than is the Pedersen method.
See also: Package, Binary Interaction Parameters, Emulsions (p.635), Equation of State (p.615)

Solid precipitation
Asphaltene prediction
ONLY AVAILABLE WITH MFL FILES
Asphaltene formation line is displayed automatically on the phase envelope to enable the
determination of the conditions (temperature and pressure) at which asphaltene appears

Hydrates
Only available with Multifllash.
Requires additional licensing option.
Hydrate lines are displayed automatically on the phase envelope if water is in the component list
and hydrates will form. The amount of water may influence the results of the calculations,
particularly when inhibitors or water-soluble gases are present.

Technical Description
631
PIPESIM User Guide

Background
Natural gas hydrates are solid ice-like compounds of water and light components of natural gas.
The phase behavior of the systems involving hydrates can be very complex because up to six
phases must normally be considered. The behavior is particularly complex if there is significant
mutual solubility between phases.
The Multiflash hydrate model uses a modification of the SRK equation of state for the fluid phases
plus the van der Waals and Platteeuw model for the hydrate phases. The model can explicitly
represent all the effects of the presence of inhibitors.

Hydrate inhibitors
Hydrate inhibitors decrease the hydrate formation temperature or increase the hydrate formation
pressure in a given gas mixture. The model includes parameters for the commonly used inhibitors
such as Methanol, and the glycols MEG, DEG and TEG.
A new mixing rule has been developed for the SRK equation of state to model the inhibitors' effects
on the fluid phases. The treatment of hydrate inhibition has the following features. The model can
represent explicitly all the effects of inhibitors, including the depression of hydrate formation
temperature, the depression of the freezing point of water, the reduction in the vapor pressure of
water (i.e. the dehydrating effect) and the partitioning of water and inhibitor into the oil, gas and
aqueous phases. The model has been developed using all available data for mixtures of water with
Methanol, MEG, DEG and TEG. This involves simultaneously representing hydrate dissociation
temperatures, depression of freezing point data and vapor-liquid equilibrium data. The solubilities
of hydrocarbons and light gases in water/inhibitor mixtures have also been represented. There is
no fundamental difference between calculations with and without inhibitors. To investigate the
effect of an inhibitor it must be added to the list of components in the mixture and the amount must
be specified just as for any other component. It is not possible to specify the amount of inhibitor in
a particular phase, only the total amount in the mixture. This is because the inhibitor will be split
among the different phases present at equilibrium with the amount in a particular phase depending
on the ambient conditions and the amounts of other components present in that phase This is
exactly what happens in reality. The amount of inhibitor typically needed would be approximately
35% by mass of inhibitor relative to water.

Model features
The main features of the model are:
• The description of the hydrate phase behavior uses a thermodynamically consistent set of
models for all phases.
• The vapor pressures of pure water are reproduced. The following natural gas hydrate formers
are included: METHANE, ETHANE, PROPANE, ISOBUTANE, BUTANE, NITROGEN, CO2
AND H2S.
• The thermal properties (enthalpies and entropies) of the hydrates are included, permitting
flashes involving these phases.
• The properties of the hydrates have been fixed by investigating data for natural gas
components in both simple and mixed hydrates to obtain reliable predictions of both structure I
and structure II hydrates.
• The properties of the empty hydrate lattices have been investigated and the most reliable
recent values have been adopted.

Technical Description
632
PIPESIM User Guide

• Proper allowance has been made for the solubilities of the gases in water so that the model
parameters are not distorted by this effect. This is particularly important for Carbon Dioxide and
Hydrogen Sulphide, which are relatively soluble in water.
• Correct thermodynamic calculations of the most stable hydrate structure have been made. The
model has been tested on a wide selection of open literature and proprietary experimental data.
In most cases the hydrate dissociation temperature is predicted to within 1 degree Kelvin.
To ensure that reliable results are obtained, it is particularly important to use the correct set of
models and phase descriptors. The hydrates model set contains a complete set of model and
phase specifications.

Hydrate model details


The hydrate model set has the following definitions:
FLUID PHASE MODEL
The recommended fluid phase model is the advanced SRK equation of state with the a
parameter fitted to the pure component vapor pressure, the Peneloux density correction
and the INFOCHEM mixing rule. The required binary interaction parameters (BIP) for
hydrocarbons, light gases, water and inhibitors are available from the OILGAS2 BIP data
set.
HYDRATE MODELS
The hydrate model consists of lattice parameters for the empty hydrate and parameters
interaction of gas molecules with water in the hydrate. There are different parameter
values for each hydrate structure, HYDRATE I and II. In addition, the hydrate must be
associated with a liquid phase model that is used to obtain the properties of water. It is
important that this is the same model that is used for water as a fluid phase.
PHASES
In most cases, six phase descriptors are required: gas, hydrocarbon liquid, aqueous liquid,
hydrate I, hydrate II and ice. At high pressures and/or low temperatures the `gas' phase
may become liquid-like and a second non-aqueous liquid PD is needed. This is also the
case if there is a significant amount of CO2 or H2S present. In most practical cases, the
gas contains propane and has a hydrate II stable hydrate structure. Key components are
defined to distinguish between the hydrocarbon and aqueous liquid phases. In principle,
hydrate calculations and phase envelope plotting with Multiflash are no different from flash
calculations and envelope plotting for the fluid phases alone. Multiflash treats fluid and
solid phases the same. It can carry out a full range of flashes for streams with hydrates.

Ice prediction
Only available with Multiflash Flash.
Ice is treated as a pure solid phase. The ice formation line is displayed automatically on the phase
envelope if water is in the component list and ice will form.

Wax prediction
ONLY AVAILABLE WITH MFL FILES
Waxes are complex mixtures of solid hydrocarbons that freeze (solidify) out of crude oils if the
temperature is low enough - below the critical wax deposition temperature. They are mainly formed

Technical Description
633
PIPESIM User Guide

from normal paraffins or if isoparaffins and naphthenes are present. The wax formation line is
displayed automatically on the phase envelope to enable the determination of the conditions
(temperature and pressure) at which wax could deposit.
Wax deposition (p.840) can also be modelled.

7.5.4 Fluid property table files


Fluid properties can be pre-calculated for a range of pressure and temperature values and stored
in a table. PIPESIM reads the table and can interpolate it to get properties for any pressure and
temperature. Tables in a format that can be read by PIPESIM can be generated by a range of
Compositional Fluid Packages, including PIPESIM itself. Table files representing different fluids
cannot be mixed. They are therefore useful in single branch models, but less so in network models,
unless the entire network contains only a single fluid.
The tables contain liquid and gas properties:

Property
Pressure psia kPa
Temperature F K
Liquid Volume Fraction % %
Water cut % %
Liquid Density lb / ft kg / m
3 3

Gas Density lb / ft kg / m
3 3

Gas Compressibility
Gas Molecular Weight lb / lbmol kg / kgmol
Liquid Viscosity cP cP
Gas Viscosity cP cP
Total Enthalpy BTU / lbmol kJ / kgmol
Total Entropy BTU / (lbmol ⋅ F ) kJ / (kgmol ⋅ K )
Liquid Heat Capacity BTU / (lbmol ⋅ F ) kJ / (kgmol ⋅ K )
Gas Heat Capacity BTU / (lbmol ⋅ F ) kJ / (kgmol ⋅ K )
Liquid Surface Tension dyne / cm dyne / cm
Gas Thermal Conductivity BTU / (hr ⋅ ft ⋅ F ) W / (m ⋅ K )
Oil Thermal Conductivity BTU / (hr ⋅ ft ⋅ F ) W / (m ⋅ K )
Water Thermal Conductivity BTU / (hr ⋅ ft ⋅ F ) W / (m ⋅ K )

The number of phases and the phase volume fractions, can be determined from the liquid fraction
and water cut. However, since only liquid and gas properties are available, these tables are only
suitable for use with two-phase flow models.

Technical Description
634
PIPESIM User Guide

The table files also contain the total molecular weight of the fluid, which is independent of the
pressure and temperature. This allows PIPESIM to calculate the liquid molecular weight from the
other table properties. The total molecular weight, liquid molecular weight and gas molecular
weight are then used to convert the molar quantities (enthalpy, entropy and heat capacities) to
mass based quantities.
Table files may also contain compositional data. In this case the table data may be ignored and
PIPESIM may use normal compositional flashing.

Internal fluid property tables


PIPESIM can also use property tables to store fluid data in compositional runs. Properties are
interpolated from the table properties and as the simulation progresses, tables values are filled in
when necessary. This can speed up compositional simulations, although it requires more memory
to store the data. These tables can be used in network simulations with multiple fluids — a new
mixture can be created by mixing the fluid components and a new internal table created for the
new fluid.

7.5.5 Liquid mixture properties


Two phase flow correlations model flow of a liquid and a gas phase. When there are two liquid
phases, such as oil and water, the two liquid phases need to be combined and modelled as a
single liquid phase. The oil and water will flow at the same velocity. The liquid density can be
simply averaged. However more complicated models are used for liquid viscosity (p.635) and
liquid-gas surface tension (p.642).

Liquid viscosity and oil/water emulsions


An emulsion is a mixture of two immiscible liquid phases. One phase (the dispersed phase) is
carried as droplets in the other (the continuous phase). In Oil/Water systems at low watercuts, oil is
usually the continuous phase. As watercut is increased there comes a point where phase
inversion occurs, and water becomes the continuous phase. This is the Critical Watercut of
Phase Inversion, otherwise called the cutoff. It occurs typically between 55% and 70% watercut.
The viscosity of the mixture is usually highest at and just below the cutoff. Emulsion viscosities can
be many times higher than the viscosity of either phase alone.

Related links:
Viscosity properties (p.199)
Viscosity properties (p.199)

Correlations and methods


The methods available for calculating the oil/water mixture viscosity are:
• Inversion
• Volume Ratio
• User-supplied Table
In addition a number of emulsion correlations are available:

Technical Description
635
PIPESIM User Guide

• Woelflin
• Brinkman
• Vand
• Richardson
• Leviton and Leighton
The cutoff can be entered as a watercut, or calculated using the Brauner and Ullman correlation.
The cutoff is used by all the emulsion correlations and methods, except for the Volume ratio
method.

Figure 7.16. Viscosity of oil/water mixtures

Related links:
Viscosity properties (p.199)
Viscosity properties (p.199)

Inversion
The inversion method sets the liquid viscosity to the viscosity of the continuous phase. This means
that, at a watercut below or equal to the cutoff, water droplets are carried by a continuous oil
phase, and the mixture assumes the viscosity of the oil. At a watercut above the cut-off value, oil
droplets are carried by a continuous water phase, and the mixture assumes the viscosity of the
water.

Technical Description
636
PIPESIM User Guide

Related links:
Viscosity properties (p.199)
Viscosity properties (p.199)

Volume ratio
The Volume ratio method calculates mixture viscosity as follows:

μm = μo φo + μw φw Eq. 7.378

where

μo is oil viscosity

φo is the volume fraction of oil

μw is the water viscosity

φw is the volume fraction of water

Related links:
Viscosity properties (p.199)
Viscosity properties (p.199)

User-supplied table
This method uses a user-supplied table of viscosities or viscosity multipliers against flowing (in
situ) watercut. The table is entered in the dialog revealed by pressing the Setup emulsion table
button. The first watercut value in the table must be zero. The viscosity value at zero watercut is
used to divide into all the others to yield multipliers. Therefore, the viscosity table can be populated
with absolute viscosity values, or with multipliers.
The table is applied to watercuts from zero up to the supplied watercut cutoff value; above this, the
liquid viscosity is set to the water viscosity using a transition region.

Related links:
Viscosity properties (p.199)
Viscosity properties (p.199)

Woelflin
The Woelflin correlations assume that the continuous phase changes from oil to water at a given
watercut cutoff point. This means that, at a watercut below or equal to the cutoff value, a water-in-
oil emulsion forms, and the emulsion viscosity is given by the Woelflin correlation. At a watercut
above the cutoff value, oil droplets are carried by a continuous water phase, and the mixture
assumes the viscosity of the water, using a transition region.

Technical Description
637
PIPESIM User Guide

In his 1942 paper, Woelflin described 3 types of water-in-oil emulsions, which he labeled loose,
medium and tight. The paper provides tables of viscosity multiplication factors as a function of
watercut for the 3 types, and a chart showing curves to fit the data. The PIPESIM implementation
is a digitization of the curves.
The viscosity of all 3 emulsion types increases with watercut up to the specified cutoff value, above
which it falls and assumes the value of the water viscosity. It should be noted that all 3 emulsion
types can yield emulsion viscosities many times greater than the oil viscosity. In the case of
the tight emulsion, multiplier values in the region of 100 are readily obtained. In his experiments on
tight emulsions, Woelflin reported that the viscosity of a 60% watercut emulsion could not be
determined, because the mixture was too viscous to flow through the viscometer.
Versions of PIPESIM prior to the 2007.1 release implemented only the loose emulsion correlation,
using a curve-fit as follows:

(
μm = μo 1 + 0.00123V W
2.2
) Eq. 7.379

where μo is oil viscosity, and φw is volume fraction of water. This option is retained for backwards
compatibility and is called Pipesim Original Woelflin. It gives very similar answers to the new
loose emulsion option up to a watercut of 60%, but diverges above this.

Related links:
Viscosity properties (p.199)
Viscosity properties (p.199)

Brinkman
The Brinkman correlation calculates elevated emulsion viscosities on either side of the cutoff, using
the formula
−2.5
μ L = μc (1 − φd ) Eq. 7.380

where μc is the viscosity of the continuous phase and φd is the volume fraction of the
discontinuous phase.

Related links:
Viscosity properties (p.199)
Viscosity properties (p.199)

Vand
The Vand correlations calculate elevated emulsion viscosities on either side of the cutoff, using the
formula

(k1 φd )
Eq. 7.381
μ L = μc e (1−k2 φd )

Technical Description
638
PIPESIM User Guide

where μc is the viscosity of the continuous phase,

φd is the volume fraction of the discontinuous phase,

and the coefficients k1 and k2 are selected as follows. The Vand coefficients are 2.5 and 0.609;
Barnea and Mizrahi are 2.66 and 1.0; the user-supplied coefficients are entered in the
accompanying data entry boxes.

Related links:
Viscosity properties (p.199)
Viscosity properties (p.199)

Richardson
The Richardson correlation calculates elevated emulsion viscosities on either side of the cutoff,
using the formula
e
μ L = μc (k φd ) Eq. 7.382

where μc is the viscosity of the continuous phase,

φd is the volume fraction of the discontinuous phase,


and k is a user-supplied constant. Separate values of k can be provided for oil-in-water and water-
in-oil conditions, the default values are 3.8 and 6.6.

Related links:
Viscosity properties (p.199)
Viscosity properties (p.199)

Leviton and leighton


The Leviton and Leighton correlation calculates elevated emulsion viscosities either side of the
cutoff, using the formula
e
(
2.5 μd + 0.4 μc )
μ L = μc

d )(
+ μc φd + φd
1.66
+ φd
3.66
) Eq. 7.383

where μd and μc are the viscosities of the discontinuous and continuous phases, and φd is the
volume fraction of the discontinuous phase.

Related links:
Viscosity properties (p.199)

Technical Description
639
PIPESIM User Guide

Viscosity properties (p.199)

Brauner and ullman


The Brauner and Ullman correlation can be used to calculate the watercut cutoff value. It uses the
formula

(( ))
0.6 0.4
ρt μt
c=1− 0.4
Eq. 7.384
0.6
1 + ρt μt

where

c is the cutoff/100

μo
μt =
μw

μo is the oil viscosity (in cP)

μw is the water viscosity (in cP)

ρo
ρt =
ρw

ρo is the oil density (in lb/ft3)

ρw is the water density (in lb/ft3)

See also: Inversion (p.636) and Volume Ratio (p.637).

Related links:
Viscosity properties (p.199)
Viscosity properties (p.199)

Limits and safety factors


Emulsion correlations and methods have the potential to cause difficulty for the calculation engine.
Extremely large viscosities can be predicted, this can cause convergence failure. The
discontinuous behavior around the inversion point (cutoff) can also cause problems, particularly in
a network model. As a result, a number of limits and safety factors have been introduced, as
described below. All of these are properties of the model: only one value is held, and it is applied
to all fluids in the model.

Related links:
Viscosity properties (p.199)

Technical Description
640
PIPESIM User Guide

Viscosity properties (p.199)

Maximum cutoff
A typical value for the cutoff is between 55% to 70%, and the default is 60%. The Woelflin
correlations are particularly sensitive to high cutoff values, so there is a maximum limit of 70%,
which will be applied silently. The limit may be extended using the keyword MAXCUTOFF=
(p.691).

Related links:
Viscosity properties (p.199)
Viscosity properties (p.199)

Transition region above the cutoff


The Woelflin and user-supplied table methods exhibit pronounced discontinuity about the cutoff.
For these methods therefore, the discontinuity about the cutoff is smoothed with a transition region,
extending from the cutoff value in the direction of increasing watercut. By default this is 5% wide.
Predicted viscosities in this region are interpolated between the value predicted at the cutoff (the
maximum emulsion viscosity point, with oil the continuous phase) and the value at cutoff plus
transition region width (the viscosity predicted from a continuous water phase). The size of the
transition region can be controlled with the keyword SMOOTHCUTOFF (p.691) =.

Related links:
Viscosity properties (p.199)
Viscosity properties (p.199)

Maximum emulsion table multiplier


The user-supplied and Woelflin correlations are subject to a maximum multiplier limit, default value
100. This can be controlled with the keyword MAXEMULSION (p.691) =.

Related links:
Viscosity properties (p.199)
Viscosity properties (p.199)

Maximum liquid viscosity


As viscosity increases, the resistance to fluid flow also increases. There comes a point where
viscosity is so high that the term 'fluid' ceases to be appropriate, and the prediction of pressure
drops due to fluid flow can be regarded as non physical. The maximum liquid viscosity is by default
1.0E+7 (ten million) cP, this can be controlled by the keyword MAXLIQVISC (p.691) =.

Related links:
Viscosity properties (p.199)
Viscosity properties (p.199)

Technical Description
641
PIPESIM User Guide

Liquid-gas surface tension


The surface tension between the liquid and gas phase is used in two phase flow correlations, for
example to calculate bubble velocity. If there are two liquid phases present, the surface tension will
depend on the oil-gas surface tension, the water-gas surface tension, and the water cut.
In black oil models, when there is sufficient oil, it is assumed that the liquid is segregated with the
water below the oil. The gas in therefore only in contact with the oil, and the surface tension is
given by:

σ L = σO WCUT < 60

If water dominates the liquid then the surface tension is taken as an average of the oil-gas and
water-gas surface tensions:

σ L = σO ⋅ 1 −( WCUT
100 )
+ σO ⋅
WCUT WCUT > 60
100

σL is the surface tension between the oil and the gas (dynes/cm)

σO is the surface tension between the oil and the gas (dynes/cm)

σW is the surface tension between the water and the gas (dynes/cm)

WCUT is the water cut (%)

7.6 Typical and default data


7.6.1 Limits
The following limitations apply to the PIPESIM modules.

General
• Maximum number of components in a stream: 50

Pipeline and facilities


• Maximum number of sources: 1
• Maximum number of sinks: 1
• Maximum number of pipe coatings: 4
• Maximum number of nodes for a pipeline or riser: 101

Well Performance
• Maximum number of completions: 10

Technical Description
642
PIPESIM User Guide

• Maximum number of sinks: 1


• Maximum number tubing coatings (using Expert mode) : 10
• Maximum number of nodes for a tubing: 100
• Maximum number of geothermal survey points: 100
• Maximum number of tubing strings: Detailed model = 20, Simple model = 4

Network
• Maximum number of wells / branches: Unlimited.
• Maximum number of nodes: Unlimited.
• Maximum number of PVT files: 500
• Maximum number of compositions: 1,000
• Maximum number of Black Oil compositions: 1,024
• Maximum number of PQ data points: 30

Note: Although the maximum number of wells, and so on, is unlimited practical limits may apply
depending upon the configuration of the PC used. The limiting factors [for large models] will be
memory and processor speed. Please see the License and Installation Guide for your version of
PIPESIM for recommendations on memory.

7.6.2 Tubing and pipeline tables


Tubing/casing tables

Nominal Weight OD ID in WT
Bore lb/ft in in
1 1/4in 3.02 1.660 1.278 0.191
1 1/4in 2.3 1.660 1.379 0.140 H-40,J-55,C-75,L-80,N-80,C-90 Tubing
1 1/4in 2.33 1.660 1.379 0.140
1 1/4in 2.4 1.660 1.379 0.140 H-40,J-55,C-75,L-80,N-80,C-90 Tubing
1 1/4in 2.1 1.660 1.410 0.125
2 3/8in 7.7 2.375 1.703 0.336
2 3/8in 6.2 2.375 1.853 0.261
2 3/8in 5.8 2.375 1.867 0.254 C-75,L-80,N-80,C-90,P-105 Tubing
2 3/8in 5.95 2.375 1.867 0.254 C-75,L-80,N-80,C-90,P-105 Tubing
2 3/8in 5.3 2.375 1.939 0.218
2 3/8in 4.6 2.375 1.995 0.190 H-40,J-55,C-75,L-80,N-80,C-90,P-105 Tubing
2 3/8in 4.7 2.375 1.995 0.190 H-40,J-55,C-75,L-80,N-80,C-90,P-105 Tubing

Technical Description
643
PIPESIM User Guide

2 3/8in 4 2.375 2.041 0.167 H-40,J-55,C-75,L-80,N-80,C-90 Tubing


2 7/8in 11 2.875 2.065 0.405
2 7/8in 10.7 2.875 2.091 0.392
2 7/8in 9.5 2.875 2.195 0.340
2 7/8in 8.6 2.875 2.259 0.308 C-75,L-80,N-80,C-90,P-105 Tubing
2 7/8in 8.7 2.875 2.259 0.308 C-75,L-80,N-80,C-90,P-106 Tubing
2 7/8in 7.8 2.875 2.323 0.276 C-75,L-80,N-80,C-90,P-105 Tubing
2 7/8in 7.9 2.875 2.323 0.276 C-75,L-80,N-80,C-90,P-106 Tubing
2 7/8in 6.4 2.875 2.441 0.217 H-40,J-55,C-75,L-80,N-80,C-90,P-105 Tubing
2 7/8in 6.5 2.875 2.441 0.217 H-40,J-55,C-75,L-80,N-80,C-90,P-105 Tubing
3 1/2in 16.7 3.500 2.480 0.510
3 1/2in 15.8 3.500 2.548 0.476
3 1/2in 12.7 3.500 2.750 0.375 C-75,L-80,N-80,C-90,P-105 Tubing
3 1/2in 12.95 3.500 2.750 0.375 C-75,L-80,N-80,C-90,P-106 Tubing
3 1/2in 12.8 3.500 2.764 0.368
3 1/2in 9.2 3.500 2.992 0.254 H-40,J-55,C-75,L-80,N-80,C-90,P-105 Tubing
3 1/2in 9.3 3.500 2.992 0.254 H-40,J-55,C-75,L-80,N-80,C-90,P-105 Tubing
3 1/2in 10.2 3.500 2.992 0.254 H-40,J-55,C-75,L-80,N-80,C-90 Tubing
3 1/2in 7.7 3.500 3.068 0.216 H-40,J-55,C-75,L-80,N-80,C-90 Tubing
4 in 13.4 4.000 3.340 0.330
4 in 11.6 4.000 3.428 0.286
4 in 11 4.000 3.476 0.262 H-40,J-55,C-75,L-80,N-80,C-90 Tubing
4 in 9.5 4.000 3.548 0.226 H-40,J-55,C-75,L-80,N-80,C-90 Tubing
4 1/2 in 19.2 4.500 3.640 0.430
4 1/2 in 19.1 4.500 3.626 0.437 Q-125*,V-150* Casing
4 1/2 in 16.6 4.500 3.750 0.375 Q-125*,V-150* Casing
4 1/2 in 15.1 4.500 3.826 0.337 HC-95*,P-110,Q-125,V-150* Casing
4 1/2 in 15.5 4.500 3.826 0.337
4 1/2 in 13.5 4.500 3.920 0.290 J-55,K-55,C-75,L-80,N-80,C-90,C-95,HC-95*,P110
4 1/2 in 12.6 4.500 3.958 0.271 H-40,J-55,C-75,L-80,N-80,C-90 Tubing
4 1/2 in 12.75 4.500 3.958 0.271 H-40,J-55,C-75,L-80,N-80,C-90 Tubing
4 1/2 in 11.6 4.500 4.000 0.250 J-55,K-55,C-75,L-80,N-80,C-90,C-95,HC-95*,P110 Casing
4 1/2 in 10.5 4.500 4.052 0.224 J-55,K-55 Casing
4 1/2 in 9.5 4.500 4.090 0.205 H-40,J-55,K-55 Casing
5 in 24.2 5.000 4.000 0.500 C-75,L-80,N-80,C-90,C-95,P110,Q125 Casing

Technical Description
644
PIPESIM User Guide

5 in 23.2 5.000 4.044 0.478 C-75,L-80,N-80,C-90,C-95,HC-95*,P110,Q125,V150* Casing


5 in 21.4 5.000 4.126 0.437 C-75,L-80,N-80,C-90,C-95,P110 Casing
5 in 20.8 5.000 4.156 0.422
5 in 20.3 5.000 4.184 0.408
5 in 18 5.000 4.276 0.362 C-75,L-80,N-80,C-90,C-95,HC-95*,P110,Q125,V150* Casing
5 in 15 5.000 4.408 0.296 J-55,K-55,C-75,L-80,N-80,C-90,C-95,HC-95*, Casing
P110,Q125,V150*
5 in 13 5.000 4.494 0.253 J-55,K-55 Casing
5 in 11.5 5.000 4.560 0.220 J-55,K-55 Casing
5 1/2in 35 5.500 4.200 0.650 C-90 Casing
5 1/2in 26.8 5.500 4.500 0.500 Q-125*,V-150* Casing
5 1/2in 26 5.500 4.548 0.476 C-90 Casing
5 1/2in 23 5.500 4.670 0.415 C-75,L-80,N-80,C-90,C-95,HC-95*,P110,Q125,V150* Casing
5 1/2in 20 5.500 4.778 0.361 C-75,L-80,N-80,C-90,C-95,HC-95*,P110,Q125*,V150* Casing
5 1/2in 17 5.500 4.892 0.304 J-55,K-55,C-75,L-80,N-80,C-90,C-95,HC-95*,P110,Q125* Casing
5 1/2in 15.5 5.500 4.950 0.275 J-55,K-55 Casing
5 1/2in 14 5.500 5.012 0.244 H-40,J-55,K-55 Casing
5 1/2in 13 5.500 5.044 0.228
6 in 26 6.000 5.132 0.434
6 in 23 6.000 5.240 0.380
6 in 20 6.000 5.352 0.324
6 in 18 6.000 5.424 0.288
6 in 15 6.000 5.675 0.163
6 5/8 in 32 6.625 5.524 0.550 C-75,L-80,N-80,C-90,C-95,P110,Q125*,V150* Casing
6 5/8 in 28 6.625 5.791 0.417 C-75,L-80,N-80,C-90,C-95,P110,Q125*,V150* Casing
6 5/8 in 24 6.625 5.921 0.352 J-55,K-55,C-75,L-80,N-80,C-90,C-95,P110,Q125*,V150* Casing
6 5/8 in 20 6.625 6.049 0.288 H-40,J-55,K-55 Casing
6 5/8 in 17 6.625 6.135 0.245
7 in 42.7 7.000 5.750 0.625 Q125*,V150* Casing
7 in 38 7.000 5.920 0.540 C-75,L-80,N-80,C-90,C-95,HC-95*,P110,Q125,V150* Casing
7 in 35 7.000 6.004 0.498 C-75,L-80,N-80,C-90,C-95,HC-95*,P110,Q125,V150* Casing
7 in 32 7.000 6.094 0.453 C-75,L-80,N-80,C-90,C-95,HC-95*,P110,Q125*,V150* Casing
7 in 29 7.000 6.184 0.408 C-75,L-80,N-80,C-90,C-95,HC-95*,P110,Q125*,V150* Casing
7 in 26 7.000 6.276 0.362 J-55,K-55,C-75,L-80,N-80,C-90,C-95,HC-95*,P110 Casing
7 in 23 7.000 6.366 0.317 J-55,K-55,C-75,L-80,N-80,C-90,C-95,HC-95* Casing

Technical Description
645
PIPESIM User Guide

7 in 20 7.000 6.456 0.272 H-40,J-55,K-55 Casing


7 in 17 7.000 6.538 0.231 H-40 Casing
7 5/8 in 47.1 7.625 6.375 0.625 C-75,L-80,N-80,C-90,C-95,P110,Q125 Casing
7 5/8 in 45.3 7.625 6.435 0.595 C-75,L-80,N-80,C-90,C-95,HC-95*,P110,Q125,V150* Casing
7 5/8 in 39 7.625 6.625 0.500 C-75,L-80,N-80,C-90,C-95,HC-95*,P110,Q125,V150* Casing
7 5/8 in 33.7 7.625 6.765 0.430 C-75,L-80,N-80,C-90,C-95,HC-95*,P110,Q125*,V150* Casing
7 5/8 in 29.7 7.625 6.875 0.375 C-75,L-80,N-80,C-90,C-95,HC-95*,P110,Q125*,V150* Casing
7 5/8 in 26.4 7.625 6.969 0.328 J-55,K-55,C-75,L-80,N-80,C-90,C-95,HC-95* Casing
7 5/8 in 24 7.625 7.025 0.300 H40 Casing
7 5/8 in 20 7.625 7.125 0.250
8 5/8 in 49 8.625 7.511 0.557 C-75,L-80,N-80,C-90,C-95,HC-95*,P110,Q125,V150* Casing
8 5/8 in 44 8.625 7.625 0.500 C-75,L-80,N-80,C-90,C-95,HC-95*,P110,Q125*,V150* Casing
8 5/8 in 40 8.625 7.725 0.450 C-75,L-80,N-80,C-90,C-95,HC-95*,P110,Q125* Casing
8 5/8 in 36 8.625 7.825 0.400 J-55,K-55,C-75,L-80,N-80,C-90,C-95,HC-95* Casing
8 5/8 in 32 8.625 7.921 0.352 H-40,J-55,K-55 Casing
8 5/8 in 28 8.625 8.017 0.304 H-40 Casing
8 5/8 in 24 8.625 8.097 0.264 J-55,K-55 Casing
9 5/8 in 71.8 9.625 8.125 0.750
9 5/8 in 70.3 9.625 8.157 0.734 V150* Casing
9 5/8 in 61.1 9.625 8.375 0.625 HC-95*,Q125*,V150* Casing
9 5/8 in 58.4 9.625 8.435 0.595 HC-95*,Q125*,V150* Casing
9 5/8 in 53.5 9.625 8.535 0.545 C-75,L-80,N-80,C-90,C-95,HC-95*,P110,Q125,V150* Casing
9 5/8 in 47 9.625 8.681 0.472 C-75,L-80,N-80,C-90,C-95,HC-95*,P110,Q125 Casing
9 5/8 in 43.5 9.625 8.755 0.435 C-75,L-80,N-80,C-90,C-95,HC-95*,P110 Casing
9 5/8 in 40 9.625 8.835 0.395 J-55,K-55,C-75,L-80,N-80,C-90,C-95,HC-95* Casing
9 5/8 in 36 9.625 8.921 0.352 H-40,J-55,K-55 Casing
9 5/8 in 32.3 9.625 9.001 0.312 H-40 Casing
9 5/8 in 29.3 9.625 9.063 0.281
10 3/4 in 79.2 10.75 9.282 0.734 Q125*,V150* Casing
0
10 3/4 in 73.2 10.75 9.406 0.672 Q125*,V150* Casing
0
10 3/4 in 71.1 10.75 9.450 0.650 HC-95*,Q125*,V150* Casing
0
10 3/4 in 65.7 10.75 9.560 0.595 HC-95*,P-110,Q125,V150* Casing
0

Technical Description
646
PIPESIM User Guide

10 3/4 in 60.7 10.75 9.660 0.545 HC-95*,P-110,Q125,V150 Casing


0
10 3/4 in 55.5 10.75 9.760 0.495 L-80,N-80,C-90,C-95,HC-95*,P-110,Q125* Casing
0
10 3/4 in 51 10.75 9.850 0.450 J-55,K-55,C-75,L-80,N-80,C-90,C-95,HC-95*,P-110 Casing
0
10 3/4 in 45.5 10.75 9.950 0.400 H-40,J-55,K-54 Casing
0
10 3/4 in 40.5 10.75 10.05 0.350 H-40,J-55,K-55 Casing
0 0
10 3/4 in 32.75 10.75 10.19 0.279 H-40 Casing
0 2
11 3/4 in 66.7 3.915 11.75 10.65 Q-125*,V-150* Casing
0 6
11 3/4 in 60 3.522 11.75 10.77 J-55,K-55,C-75,L-80,N-80,C-90,C-95,HC-95*,P-110,Q-12 Casing
0 2 5
11 3/4 in 54 11.75 10.88 0.435 J-55,K-55 Casing
0 0
11 3/4 in 47 11.75 11.00 0.375 J-55,K-55 Casing
0 0
11 3/4 in 42 11.75 11.08 0.333 H-40 Casing
0 4
11 3/4 in 38 11.75 11.15 0.300
0 0
13 3/8 in 100.3 13.37 11.90 0.734 V-150* Casing
5 7
13 3/8 in 98 13.37 11.93 0.719
5 7
13 3/8 in 92.5 13.37 12.03 0.672 Q-125* Casing
5 1
13 3/8 in 86 13.37 12.12 0.625 HC-95* Casing
5 5
13 3/8 in 85 13.37 12.15 0.608
5 9
13 3/8 in 77 13.37 12.27 0.550
5 5
13 3/8 in 71 13.37 12.28 0.547 Q-125* Casing
5 1
13 3/8 in 72 13.37 12.34 0.514 C-75,L-80,N-80,C-90,C-95,HC-95*,P-110,Q-125 Casing
5 7

Technical Description
647
PIPESIM User Guide

13 3/8 in 68 13.37 12.41 0.480 J-55,K-55,C-75,L-80,N-80,C-90,C-95,P-110 Casing


5 5
13 3/8 in 61 13.37 12.51 0.430 J-55,K-55 Casing
5 5
13 3/8 in 54.5 13.37 12.61 0.380 J-55,K-55 Casing
5 5
13 3/8 in 48 13.37 12.71 0.330 H-40 Casing
5 5
16 in 109 16.00 14.68 0.656
0 8
16 in 84 16.00 15.01 0.495 J-55,K-55 Casing
0 0
16 in 75 16.00 15.21 0.393 J-55,K-55 Casing
0 4
16 in 65 16.00 15.25 0.375 H-40 Casing
0 0
16 in 55 16.00 15.37 0.312
0 6
18 5/8 in 87.5 18.62 17.75 0.435 H-40,J-55,K-55 Casing
5 5
20 in 133 20.00 18.73 0.635 J-55,K-55 Casing
0 0
20 in 106.5 20.00 19.00 0.500 J-55,K-55 Casing
0 0
20 in 94 20.00 19.12 0.438 H-40,J-55,K-55 Casing
0 4

Pipeline tables

Nominal Bore Schedule OD in ID in Wall Thickness in


1/8in Sch 80 0.406 0.217 0.094
1/8in Sch 40 0.406 0.268 0.069
1/4in Sch 80 0.539 0.303 0.118
1/4in Sch 40 0.539 0.362 0.089
3/8in Sch 80 0.673 0.421 0.126
3/8in Sch 40 0.673 0.492 0.091
1/2in XXS 0.839 0.252 0.293
1/2in Sch 160 0.839 0.461 0.189
1/2in Sch 80 0.839 0.543 0.148

Technical Description
648
PIPESIM User Guide

1/2in Sch 40 0.839 0.622 0.108


3/4in XXS 1.051 0.437 0.307
3/4in Sch 160 1.051 0.614 0.219
3/4in Sch 80 1.051 0.744 0.154
3/4in Sch 40 1.051 0.827 0.112
1in XXS 1.315 0.599 0.358
1in Sch 160 1.315 0.815 0.250
1in Sch 80 1.315 0.957 0.179
1in Sch 40 1.315 1.049 0.133
1 1/4in XXS 1.661 0.898 0.382
1 1/4in Sch 160 1.661 1.161 0.250
1 1/4in Sch 80 1.661 1.280 0.191
1 1/4in Sch 40 1.661 1.382 0.140
1 1/2in XXS 1.902 1.102 0.400
1 1/2in Sch 160 1.902 1.339 0.281
1 1/2in Sch 80 1.902 1.500 0.201
1 1/2in Sch 40 1.902 1.610 0.146
2in XXS 2.375 1.503 0.436
2in Sch 160 2.375 1.687 0.344
2in Sch 80 2.375 1.939 0.218
2in Sch 40 2.375 2.067 0.154
2 1/2in XXS 2.874 1.772 0.551
2 1/2in Sch 160 2.874 2.469 0.374
2 1/2in Sch 80 2.874 2.323 0.276
2 1/2in Sch 40 2.874 2.126 0.203
3in XXS 3.500 2.300 0.600
3in Sch 160 3.500 2.624 0.438
3in Sch 80 3.500 2.900 0.300
3in Sch 40 3.500 3.068 0.216
4in XXS 4.500 2.728 0.886
4in Sch 160 4.500 3.438 0.531
4in Sch 120 4.500 3.622 0.439
4in Sch 80 4.500 3.826 0.337
4in Sch 40 4.500 4.026 0.237
5in XXS 5.563 4.063 0.750

Technical Description
649
PIPESIM User Guide

5in Sch 160 5.563 4.311 0.626


5in Sch 120 5.563 4.563 0.500
5in Sch 80 5.563 4.815 0.374
5in Sch 40 5.563 5.047 0.258
6in XXS 6.625 4.897 0.864
6in Sch 160 6.625 5.187 0.719
6in Sch 120 6.625 5.504 0.561
6in Sch 80 6.625 5.761 0.432
6in Sch 40 6.625 6.211 0.280
8in Sch 160 8.626 6.815 0.906
8in XXS 8.626 6.878 0.874
8in Sch 140 8.626 7.004 0.811
8in Sch 120 8.626 7.189 0.719
8in Sch 100 8.626 7.437 0.594
8in Sch 80 8.626 7.626 0.500
8in Sch 60 8.626 7.815 0.406
8in Sch 40 8.626 7.980 0.323
8in Sch 30 8.626 8.071 0.278
8in Sch 20 8.626 8.126 0.250
10in Sch 160 10.748 8.496 1.126
10in Sch 140 10.748 8.748 1.000
10in Sch 120 10.748 9.059 0.844
10in Sch 100 10.748 9.311 0.719
10in Sch 80 10.748 9.559 0.594
10in Sch 60 10.748 9.748 0.500
10in Sch 40 10.748 10.020 0.364
10in Sch 30 10.748 10.134 0.307
10in Sch 20 10.748 10.248 0.250
12in Sch 160 12.752 10.126 1.313
12in Sch 140 12.752 10.500 1.126
12in Sch 120 12.752 10.752 1.000
12in Sch 100 12.752 11.063 0.844
12in Sch 80 12.752 11.378 0.687
12in Sch 60 12.752 11.630 0.561
12in Sch 40 12.752 11.941 0.406

Technical Description
650
PIPESIM User Guide

12in Sch 30 12.752 12.091 0.331


12in Sch 20 12.752 12.252 0.250
14in Sch 160 14.000 11.189 1.406
14in Sch 140 14.000 11.500 1.250
14in Sch 120 14.000 11.811 1.094
14in Sch 100 14.000 12.126 0.937
14in Sch 80 14.000 12.500 0.750
14in Sch 60 14.000 12.811 0.594
14in Sch 40 14.000 13.122 0.439
14in Sch 30 14.000 13.252 0.374
14in Sch 20 14.000 13.378 0.311
14in Sch 10 14.000 13.500 0.250
16in Sch 160 16.000 12.811 1.594
16in Sch 140 16.000 13.126 1.437
16in Sch 120 16.000 13.563 1.219
16in Sch 100 16.000 13.937 1.031
16in Sch 80 16.000 14.311 0.844
16in Sch 60 16.000 14.689 0.656
16in Sch 40 16.000 15.000 0.500
16in Sch 30 16.000 15.252 0.374
16in Sch 20 16.000 15.378 0.311
16in Sch 10 16.000 15.500 0.250
18in Sch 160 18.000 14.437 1.781
18in Sch 140 18.000 14.874 1.563
18in Sch 120 18.000 15.252 1.374
18in Sch 100 18.000 15.689 1.156
18in Sch 80 18.000 16.126 0.937
18in Sch 60 18.000 16.500 0.750
18in Sch 40 18.000 16.878 0.561
18in Sch 30 18.000 17.122 0.439
18in Sch 20 18.000 17.378 0.311
18in Sch 10 18.000 17.500 0.250
20in Sch 160 20.000 16.063 1.969
20in Sch 140 20.000 16.500 1.750
20in Sch 120 20.000 17.000 1.500

Technical Description
651
PIPESIM User Guide

20in Sch 100 20.000 16.650 1.675


20in Sch 80 20.000 17.937 1.031
20in Sch 60 20.000 18.378 0.811
20in Sch 40 20.000 18.811 0.594
20in Sch 30 20.000 19.000 0.500
20in Sch 20 20.000 19.252 0.374
20in Sch 10 20.000 19.500 0.250
24in Sch 160 24.000 19.311 2.344
24in Sch 140 24.000 19.874 2.063
24in Sch 120 24.000 20.378 1.811
24in Sch 100 24.000 20.937 1.531
24in Sch 80 24.000 21.563 1.219
24in Sch 60 24.000 22.063 0.969
24in Sch 40 24.000 22.622 0.689
24in Sch 30 24.000 22.878 0.561
24in Sch 20 24.000 23.252 0.374
24in Sch 10 24.000 23.500 0.250
30in Sch 30 30.000 28.748 0.626
30in Sch 20 30.000 29.000 0.500
30in Sch 10 30.000 29.378 0.311

7.6.3 Typical values


Fluid properties
The table below gives typical values for properties, in Engineering units and data for various oil
locations worldwide.

Default Min Max North North South Middle Far Australia


Sea America America East East
Black Oil
Properties
Water cut 0 0 100
GOR required 340 -1,100 600-20,000
Gas s.g. 0.64 0.64 - 0.81 0.65 - 0.8
Water s.g. 1.02 1.01 - 1.03 1.01 - 1.05
API 30 38 13 - 56 7-45 32-44 34

Technical Description
652
PIPESIM User Guide

Solution Gas Lasater Glaso Lasater


Correlation
Viscosity
Data
Dead Oil Beggs Beggs and
viscosity and Robinson
Robinson
Viscosity @ 2.247 0.4 -11 5 - 10,000
200F
Viscosity @ 117.8 3.8 - 120 -
60F 82,000 10,000
Heat
capacities
Oil (p.811) 0.45
Gas (p.811) 0.55
Water 1.0
(p.811)

Default values can be changed - click the relevant link.

Roughness

Material ft. in
Drawn tubing (brass, lead, glass, and the like) 0.000005 0.00006
Commercial steel or wrought iron 0.00015 0.0018
Asphalted cast iron 0.0004 0.0048
Galvanized iron 0.0005 0.006
Cast iron 0.00085 0.010
Wood stave 0.0006-0.003 0.0072-0.036
Concrete 0.001-0.01 0.012-0.12
Riveted steel 0.003-0.03 0.036-0.36

Thermal Conductivities

Material Density Thermal Conductivity Thermal Conductivity


(kg/m3) Btu/hr/ft/F (W/m/K)
Anhydrite 0.75
Carbon Steel 7900 28.9 50
Concrete Weight Coat 2000 - 3000 0.81 - 1.15 1.4 - 2.0

Technical Description
653
PIPESIM User Guide

Corrosion Coat (Bitumen) - 0.19 0.33


Corrosion Coat (Epoxy) - 0.17 0.30
Corrosion Coat (Polyurathane) - 0.12 0.20
Dolomite 1.0
Ground (Earth) 0.37 - 1.5
Gypsum 0.75
Halite 2.8
Ice 900 1.27 2.2
Lignite 2.0
Limestone 0.54
Line pipe 27 46.7
Mild Steel tubing 26 45
Mud 1500 0.75 - 1.5 1.3 - 2.6
Neoprene Rubber - 0.17 0.3
Plastic coated pipe 20 34.6
Plastic coated tubing 20 34.6
Polyurathane Foam (dry) 30 - 100 0.011 - 0.023 0.02 - 0.04
Polyurathane Foam (wet) - 0.023 - 0.034 0.4 - 0.6
PVC Foam (dry) 100 - 340 0.023 - 0.025 0.040 - 0.044
Sandstone 1.06
Shale 0.7
Stainless Steel - 8.67 15
Stainless steel (13%) 18 31.14
Stainless steel (15%) 15 26
Syntactic Foam (dry) 500 0.052 0.09
Syntactic foam (wet) - 0.17 0.3
Volcanics 1.6
Wet Sand 1600 1.04 - 1.44 1.8 - 2.5

Thermal Conductivities in W/m/K (Liquids and Gases)

Fluid Default Temperature Temperature Temperature Temperature


5oC 20oC 100oC 200oC
Air 0.024 0.026 0.030 0.037
Crude oil (p.800) (30 API) 0.138 0.14 0.14 0.12 0.10
Glycol (DEG) 0.26 0.25 0.20 0.14

Technical Description
654
PIPESIM User Guide

Natural gas (p.800) (P=1 0.035 0.030 0.032 0.045 0.062


bara)
Natural Gas (p.800) 0.045 0.045 0.052 0.070
(P=100 bara)
Natural gas (p.800) 0.071 0.067 0.064 0.074
(P=200 bara)
Natural gas (p.800) 0.090 0.085 0.076 0.083
(P=300 bara)
Water (p.800) 0.605 0.56 0.59 0.68 0.68

Default values can be changed - click the relevant link.

Permeability
For a gas well, this is gas permeability. For an oil well, this is total liquid permeability.
Typical values are:
• < 1 md : Very low
• 1 - 10 md: Low
• 10 - 50 md: Mediocre
• 50 - 200 md: Average
• 200 - 500 md: Good
• > 500 md: Excellent

Drainage radius
Common drainage radii are:
• 40 acres 745 ft (227 m)
• 80 acres 1053 ft (321 m)
• 160 acres 1490 ft (454 m)
• 640 acres 2980 ft (908 m)

Fittings
Model fittings
Fittings (elbows, values and tees) are modeled by the standard practice of utilizing equivalent
length. From the fittings table determine the extra length of pipe that needs to be added to the
model to exert the same pressure drop as the required fitting.

Valves - equivalent lengths of 100% open valves in feet


Model as a pipe with the required ID and set the equivalent length as indicated in the table below.
For example to model a 3/4 inch angle value add a pipe section of ID 3/4 and a length of 12 feet.

Technical Description
655
PIPESIM User Guide

Pipe Size Gate Valve Globe Valve Angle Valve


(Inches) (feet) (feet) (feet)
1/2 .35 17 8
3/4 .50 22 12
1 .6 27 14
1 1/4 .8 38 18
1 1/2 1.0 44 22
2 1.2 53 28
2 1/2 1.4 68 33
3 1.7 80 42
4 2.3 120 53
5 2.8 140 70
6 3.5 170 84
8 4.5 220 120
10 5.7 280 140
12 9 400 190
14 10 450 210
16 11 500 240
18 12 550 280
20 14 650 300
22 15 688 335
24 16 750 370

Elbows: Equivalent length of elbows in feet


Model as a pipe with the required ID and set the equivalent length as indicated in the table below.
For example to model a 3/4 standard elbow add a pipe section of ID 3/4 and a length of 2.2 feet.

Pipe Size: St'd elbow Med. sweep elbow Long sweep elbow
Inches feet feet feet
1/2 1.5 1.3 1
3/4 2.2 1.8 1.3
1 2.7 2.3 1.7
1 1/4 3.6 3 2.3
1 1/2 4.5 3.6 2.8
2 5.2 4.6 3.5
2 1/2 6.5 5.5 4.3

Technical Description
656
PIPESIM User Guide

3 8 7 5.2
4 11 9 7
5 14 12 9
6 16 14 11
8 21 18 14
10 26 22 17

Tees: Equivalent length of Tees in feet


Model as a pipe with the required ID and set the equivalent length as indicated in the table below.
For example to model a 3/4 inch Tee (straight through) add a pipe section of ID 3/4 and a length of
1.3 feet

Pipe Size: Tee (straight through) Tee (rt. angle flow)


Inches feet feet
1/2 1 3.2
3/4 1.3 4.5
1 1.7 5.7
1 1/4 2.3 7.5
1 1/2 2.8 9
2 3.5 12
2 1/2 4.3 14
3 5.2 16
4 7 22
5 9 27
6 11 33
8 14 43
10 17 53

7.7 Glossary
The PIPESIM help uses the following symbols:

7.7.1 Roman Letters


a is the major axis of ft m
the drainage ellipse

πD
2 is the pipe cross- ft
2
m
2

A= sectional area
4

Technical Description
657
PIPESIM User Guide

hR is the Biot number dimensionless dimensionless


B=
k

Bo is the oil formation bbl / STBO


volume factor

c, C is the specific heat BTU / lb ⋅ F J / kg ⋅ K


o
capacity

d, D is the pipe diameter ft m


E is the specific total BTU / lb J / kg
energy

f is the friction factor dimensionless dimensionless


is the frequency Hz Hz
F, R is the gas/oil ratio dimensionless dimensionless

g is the acceleration
due to gravity
= 32.17 ft s / 2
= 9.81m s / 2

L ρ βg ΔT is the Grashof dimensionless dimensionless


3 2

Gr = number
2
μ

h is the local heat BTU / h ⋅ ft ⋅ F W /m ⋅ K


2 o 2
transfer coefficient

H = U + PV is the specific BTU / lb J / kg


enthalpy

HL is the liquid holdup dimensionless dimensionless

Head is the head ft ⋅ lb f / lb N ⋅ m / kg

J is the productivity
index

k is the thermal BTU / h ⋅ ft ⋅ F W /m ⋅ K


o
conductivity 2
2 m
is the absolute ft
permeability

L is the pipe length ft m


is the horizontal well
length

Technical Description
658
PIPESIM User Guide

m is the mass lb kg
M is the molecular lb / mol kg / kmol
weight
dimensionless dimensionless
is the number of
magnetic poles in an
ESP

n is the polytropic dimensionless dimensionless


coefficient mol mol
is the number of
moles

N is the compressor
speed

hL is the Nusselt number dimensionless dimensionless


Nu =
k
p, P is the pressure
/
psi or lbf in
2
N /m
2

Power is the power hp W

μc p is the Prandtl number dimensionless dimensionless


Pr =
k
q is the mass flow rate lb / s kg / s
Q is the heat transfer BTU / h W
rate
is the average liquid
rate

r is the radial distance ft m


from the centre of
well

rw is the wellbore radius ft m

reh is the is the drainage ft m


radius of a horizontal
well

R is the pipe radius ft m


is the gas constant
/
= 1545.35lb f ⋅ ft lb − mol ⋅ R = 8.314 J / K ⋅ mol
o

Technical Description
659
PIPESIM User Guide

Ra = Pr Gr is the Rayleigh dimensionless dimensionless


number

Re is the Reynolds dimensionless dimensionless


number

S is the specific entropy BTU J


Q is the pipe burial o
lb ⋅ F kg ⋅ K
S= shape factor
2 πk ΔT dimensionless
dimensionless
is the skin

t is the well operating h s


time

T is the temperature o
F, R
o K

U is the specific internal BTU / lb J / kg


energy
BTU / h ⋅ ft ⋅ F W /m ⋅ K
2 o 2
is the overall heat
transfer coefficient

v is the fluid velocity ft / s m/s


is the ESP speed rev / min rev / s
V is the volume ft
3 J / kg

wt is the pipe wall ft m


thickness

Ws is the shaft work BTU J

z is the vertical ft m
displacement above
a gravitational datum
level

Z is the compressibility
ft m
is the pipe burial
depth

7.7.2 Greek Letters


θ is the angle of the pipe to the horizontal

Technical Description
660
PIPESIM User Guide

θbur = sin
-1
( ZR ) is the angle of the buried arc of a
partially buried pipe

k is the thermal diffusivity ft / s /s


2 2
α= m
ρc p

β= −
1 ∂ρ
( )
is the volumetric thermal expansion
coefficient
1 / oF , 1 / oR 1/K
ρ ∂T H

Cp is the ratio of specific heats dimensionless dimensionless


γ= is the specific gravity (relative density) dimensionless dimensionless
CV
γ

dbean is the choke diameter ratio dimensionless dimensionless


δ=
dup

ϵ is the pipe roughness ft m


η is the efficiency, expressed as a
fraction, 0 < η ≤ 1

AvG is the void fraction dimensionless dimensionless


ϕ=
AvG + AvL

μ is the fluid dynamic viscosity cp = 10 Pa ⋅ s Pa ⋅ s = kg / m ⋅ s


−3

ρ is the density lb / ft kg / m
3 3

ρns = λ L ρ L + λG ρG is the no-slip density lb / ft kg / m


3 3

λ is the flowing fraction dimensionless dimensionless

σ is the interfacial (surface) tension dynes / cm N /m

7.7.3 Subscripts
b bubble point
bulk

c critical

Technical Description
661
PIPESIM User Guide

G gas phase
L liquid phase
m mixture
o oil
r reduced

R reservoir
s gas/oil ratio, solution
slip or slippage

v vaporization or vapor phase


volume or volumetric

w water

7.8 Conversion factors


Common conversion factors used in PIPESIM are tabulated below.

7.8.1 Length
1 ft = 0.3048 m 1 m = 3.28084 ft

1 ft = 12 in

7.8.2 Volume
3 3 3 3
1 ft = 0.02832 m 1 m = 35.31467 ft

3 3
1 barrel = 5.61458 ft 1 ft = 0.17811 barrel

3 3
1 barrel = 0.15899 m 1 m = 6.28981 barrel

7.8.3 Mass
1 lb = 0.4536 kg 1 kg = 2.2046 kg

Technical Description
662
PIPESIM User Guide

7.8.4 Time
1 hour = 3600 s

1 day = 86400 s

7.8.5 Gravity
−2 −2
g = 32.18 ft ⋅ s g = 9.81 m ⋅ s

g = 1 / 144 psi ⋅ ft ⋅ lb
2 −1

7.8.6 Pressure
The engineering units of pressure psi, needs to be treated with care. One psi is one pound-force
per square inch, or 144 pound force per square foot. A pound force is the force exerted by one
−2
pound weight, which is one pound times the acceleration due to gravity g = 32.18 ft ⋅ s .

lbf ft 1
1 psi = 144 2 = 144 ⋅ g lb ⋅ 2 ⋅ 2
ft s ft
5
1 bar = 10 Pa 1 bar = 14.504 psi

1 Atm = 1.01325 bar 1 Atm = 14.70 psi

7.8.7 Energy
1 BTU = 1.055056 kJ 1 kJ = 0.947817 BTU
−3 3
1 kJ = 10 Pa ⋅ m

7.8.8 Power
2
1 hp = 550 ⋅ g ft ⋅ lb ⋅ s
−3 1 hp = 0.7457 kW

7.8.9 Dynamic viscosity


−3
1 cP = 10 Pa ⋅ s

Technical Description
663
PIPESIM User Guide

7.8.10 Permeability
−10 Pa 2
1 mD = 10 ⋅m
Atm

7.9 References

Adames, P.E. "Analysis and comparison of three comprehensive mechanistic


hydrodynamic models for vertical upward and deviated gas-liquid
flow through pipes". MSc thesis, University of Calgary, 2009.

Aggour "Hydrodynamics and Heat Transfer in Two-Phase Two-


Component Flow", PhD thesis, University of Manitoba, Winnepeg,
Canada (1978).

Al-Hussainy, R., Ramey Jr., "The Flow of Real Gases Through Porous Media", JPT (1966)
H. J. and Crawford, P. B. 624-636.

Alhanati, F. J. S., Schmidt, Z., "Continuous Gas-Lift Instability: Diagnosis, Criteria, and Solutions",
Doty, D. R. and Lagerlef, D. SPE 26554 (1993)
D.

Alves,I.N., Alhanati, F. J. S. "A Unified Model for Predicting Flowing Temperature Distribution
and Shoham,O. in Wellbores and Pipelines", SPE 20632 (1992)

Ashford, F.E. and Pierce, "Determining Multiphase Pressure Drops and Flow capacities in
P.E. Down-Hole Safety Valves", Journal of Petroleum Technology,
Paper No. SPE-5161, (September, 1975).

Aziz, K., Govier, G. W. and "Pressure Drop in Wells Producing Oil and Gas," J. Cdn. Pet.
Forgasi, M. Tech. (July-Sept. 1972) 38-48.

Babu, D. K. and Odeh, A. S. "Productivity of a Horizontal Well", SPE Reservoir Engineering


(November 1989) 417-421.

Baker, A., Nielsen, K., and "Pressure Loss, Liquid-Holdup Calculations Developed,"
Gabb, A. Technology, Oil & Gas Journal (Mar. 14, 1988).

Baker, O. and Swerdloff, W. "Calculation of Surface Tension - 3";, Oil & Gas Journal (Dec. 5,
1955) 141.

Beal, C. "The Viscosity of Air, Water, Natural Gas, Crude Oil and its
Associated Gases at Oil Temperatures and Pressures", Trans.
AIME (1946) 94.

Beggs, H. D. "Gas Processing Operations", OCGI Publications, (1984), ISBN


0-930972-06-6

Technical Description
664
PIPESIM User Guide

Beggs, H. D., and Brill, J. P. "A Study of Two Phase Flow in Inclined Pipes", J. Pet. Tech. (May
1973) 607-617.

Beggs, H. D. and Robinson, "Estimating the Viscosity of Crude Oil Systems", J. Pet. Tech.
J. R. (Sept. 1975) 1140-1.

Behrmann, L., Grove, B., "A Survey of Industry Models for Perforator Performance:
Walton, I., Zhan, L., Graham, Suggestions for Improvements", SPE 125020, Presented at the
C., Atwood, D., and Harvey, 2009 SPE ATCE, New Orleans, 4-7 October, 2009.
J.

Bellarby, Jonathan “Well Completion Design”, Chapter 6, Elsevier, 2009.

Bendakhlia, H. and Aziz, K. "Inflow Performance Relationships for Solution-Gas Drive


Horizontal Wells", SPE paper 19823 presented at the Annual
Technical Conference and Exhibition, San Antonio, (October
1989).

Bendiksen et al. “The Dynamic Two-Fluid Model OLGA: Theory and Application,”
SPE Production Engineering, 171-180, May 1991.

Bergman, D. F. and Sutton, "Undersaturated Oil Viscosity Correlation for Adverse Conditions",
R. P. SPE 103144 (2006).

Bhatti and Shah "Turbulent and Transition Flow Convective Heat Transfer in
Ducts", Handbook of Single-Phase Convective Heat Transfer, ed.
Kakac, Shah, Aung Wiley Interscience, NY (1987)

Brauner, N. and Ullmann, A. “Modeling of Phase Inversion Phenomenon in Two-Phase Pipe


Flows,” Int. J. Multiphase Flow, 28, 1177, 2002.

Brill, J. P. et al. "Analysis of Two-Phase Tests in Large Diameter Flow Lines in


Prudhoe Bay Field", SPEJ (June 1981).

Brill, J. P. and Beggs, D. H. "Two-Phase Flow in Pipes", 6th Edition, University of Tulsa, Tulsa,
Oklahoma, (December 1988).

Brill, J.P. and Mukherjee, H. "Multiphase Flow in Wells", SPE Monograph 17, (1999)

Brons, F. and Marting,V. E. "The Effect of Restricted Fluid Entry on Well Productivity", Trans.,
AIME (1961) 222, 1972.

Brown, T.S., Niesen, V.G., "Measurement and Predition of Kinectics of Paraffin Deposition",
And Erickson, D.P. SPE 26548, 68th Annua Technical Conference and Exhibition of
SPE Houston, TX, 3-6 October, 1993.

Brown, K.E. "The Technology of Artificial Methods", Penwell Publishing


Company, Tulsa, Oklahoma, 1984.

Butler, B. "Success grows in pumping high-gas-fraction multiphase fluids",


Petroleum Engineer International, July 1999.

Technical Description
665
PIPESIM User Guide

Celier, G. C. M. R., Jouault, "Zuidwal: A Gas Field Development With Horizontal Wells", SPE
P. and de Montigny, O. A. M. paper 19826 presented at the Annual Technical Conference and
C. Exhibition in San Antonio, October 1989.

Cheng, A.M. "Inflow Performance Relationships for Solution-Gas-Drive Slanted/


Horizontal Wells", SPE paper 20720 presented at the Annual
Technical Conference and Exhibition, New Orleans, September
1990.

Chew, J. and Conally, C. A. "A Viscosity Correlation for Gas Saturated Crude Oils", Trans.,
Jr. AIME (1974) 23.

Chu and Jones "Convective Heat Transfer Coefficient Studies in Upward and
Downward, Vertical, Two-Phase, Non-Boiling Flows", AIChE
Symp. Ser., vol. 76, 79-90 (1980).

Cinco, H., Miller, F.G.,and "Unsteady-State Pressure Distribution created By a Directionally


Ramey H.J. Drilled Well," JPT 5131, (1975)

Cinco, H., Samaniego, V., "Transient Pressure Behavior for a Well With a Finite-Conductivity
and Dominguez A. Vertical Fracture", SPE 6014, August 1978.

Cinco-Ley, H., and "Transient Pressure Analysis for Fractured Wells", JPT, 1749 -
Samaniego, F. 1766, September 1981a.

Cinco-Ley, H., and "Transient Pressure Analysis: Finite Conductivity Fracture Case
Samaniego, F. versus Damage Fracture Case", SPE Paper 10179, 1981b.

Colburn "A Method of Correlating Forced Convection Heat Transfer Data


and a Comparison With Fluid Friction", Trans. AIChE, 19, 174
(1933) [reprinted in Int. J. Heat Mass Transfer, 7, 1359 (1964]..

Cooper, R.E., and Troncoso, "An Overview of Horizontal Well Completion Technology", SPE
J.C. paper 17582 presented at the International Meeting on Petroleum
Engineering, Tianjin, China, (November 1988).

Crane Technical Paper 410 "Flow of fluids through valves, fittings and pipe", 1988, Crane Co.

Dake, L.P. "Fundamentals of Reservoir Engineering", Elsevier Scientific


Publishing Co., New York, (1978).

De Ghetto, G. et al. "Reliability Analysis on PVT Correlations", SPE 28904 (1994).

De Ghetto, G. et al. "Pressure-Volume-Temperature Correlations for Heavy and Extra


Heavy Oils", SPE 30316 (1995).

de Marolles, C. abd de Salis, "Innovations in multiphase hydrocarbon operations", www.pump-


J. zone.com, (1999).

C.de Waard, U. Lotz “Influence of liquid flow velocity on CO2 corrosion: a semi-
empirical model.” CORROSION/95, Paper No. 128, NACE, 1995.

Technical Description
666
PIPESIM User Guide

C.de Waard, U. Lotz, "Predictive model for CO2 Corrosion Engineering in Natural Gas
Milliams, D.E Pipelines", Corrosion, Vol. 47, No. 12, Dec. 1991 (976-985).

Dikken, B.J. "Pressure Drop in Horizontal Wells and its Effect on Production
Performance", JPT (November 1990) 1426-1433.

Dipprey and Sabersky "Heat and Momentum Transfer in Smooth and Rough Tubes at
Various Prandtl Numbers", Int. J. Heat Mass Transfer, 6, 329
(1963)

Dittus and Bolter "Heat Transfer in Automobile Radiators of the Tubular Type",
University of California Pub. Eng., 2, 443 (1930).

Dranchuk , P.M., Abou- "Calculation of Z Factors For Natural Gases Using Equations of
Kassem, J.H. State," J. Cdn. Pet. Tech. (July-Sept., 1975) 34-36

Drexel and McAdams "Heat Transfer Coefficients for Air Flowing in Round Tubes and
Around Finned Cylinders", NACA ARR No. 4F28, [also Wartime
Report W-108 (1945)].

Dukler, E. A., et al. "Gas-Liquid Flow in Pipelines, I. Research Results", AGA-API


Project NX-28 (May 1969).

Duns, H., and Ros, N. C. J. "Vertical Flow of Gas and Liquid Mixtures in Wells", 6th. World Pet.
Congress (1963) 452.

Earlougher, R. C. Jr, "Advances in Well Test Analysis", SPE Monograph 5, (1977)

Eaton, B. A. "Prediction of Flow Patterns, Liquid Holdup and Pressure Losses


Occurring During Continuous Two-Phase Flow in Horizontal
Pipelines", Trans., AIME (1967) 815.

Economides, M.J., Hill, D.A., "Petroleum Production Systems", PTR Prentice Hall, 1994.
and Economides, C.E.

Economides, M.J., "Performance and Stimulation of Horizontal Wells", World Oil, (July
McLennan, J.D., Brown, E., 1989) 69-76.
and Roegiers, J.C.

Eckert, E.R.G. and Jackson, "Analysis of Turbulent Free Convection Boundary Layer on a Flat
T.W. Plate", NACA Repot 1015 (July 1950)

Elsharkawy, A.M. and "Models for predicting the viscosity of Middle East crude oils", Fuel
Alikhan, A.A. 78 (1999), 891-903.

Elamvaluthi and Srinivas "Two-Phase Heat Transfer in Two Component Vertical Flows", Int.
J. Multiphase Flow, vol. 10, no. 2, p. 237-242 (1984).

Fetkovich, M.J. "The Isochronal Testing of Oil Wells", SPE 4259, (1973).

Technical Description
667
PIPESIM User Guide

Fetkovich, M.J. and Vienot, "Shape Factors, CA, Expressed as a Skin, sCA", JPT (February
M.E. 1985) 321-322.

Flanigan, O. "Effect of Uphill Flow on Pressure Drop in Design of Two-Phase


Gathering Systems", Oil and Gas J. (March 10, 1958) 56, 132.

Folefac, A. N., Archer, J. S. "Effect of Pressure Drop Along Horizontal Wellbores on Well
and Issa, R. I. Performance", SPE paper 23094 presented at the Offshore
Europe Conference held in Aberdeen (September 1991).

Forchheimer, Ph. "Wasserbevegung durch Boden", Z. Ver. Deutch. Ing., Vol. 45


(1901) p. 1781 - 1788

Framo Webpage http://www.framoeng.no/pump.php

Friend and Metzner "Turbulent Heat Transfer inside Tubes and the Analogy among
Heat, Mass, and Momentum Transfer", AIChE J., 4, 393 (1958).

Ghassan, H. A., and Maha, "Correlations developed to predict two-phase flow through
R. A. wellhead chokes", The Journal of Canadian Petroleum technology,
Volume 30, No 6, 1991

Giger, F. M., Reiss, L. H., and "The Reservoir Engineering Aspects of Horizontal Drilling", SPE
Jourdan, A. P. paper 13024 presented at the Annual Technical Conference and
Exhibition in Houston, September 1984.

Glasø, O. "Generalized Pressure Volume Temperature Correlation", J. Pet.


Tech. (May 1980) 785.

Golan, M. and Whitson, C.H. "Well Performance", International Human Resources Corporation,
Boston, MA (1986).

Gomez, L.E., Shoham, O., "Unified mechanistic model for steady-state two-phase flow:
Schmidt, Z., Chokshi, R.N., Horizontal to vertical upward flow". SPE Journal, 5(3):339-350,
and Northug, T. 2000.

Goode, P. A. and Wilkinson, "Inflow Performance of Partially Open Horizontal Wells", SPE
D. J. paper 19341 presented at the SPE Eastern Regional Meeting,
Morgantown, WV, October, (1989).

Gowen and Smith "Turbulent Heat Transfer from Smooth and Rough Surfaces", Int.
J. Heat Mass Transfer, 11, 1657 (1968)

Grolman, E. "Gas-Liquid Flow with Low Liquid Loading in Slightly Inclined


Pipes", Ph.D. Dissertation, U. of Amsterdam, Amsterdam, The
Netherlands (1994).

Grolman, Commandeur, de "Wavy-to-Slug Flow Transition in Slightly Inclined Gas-Liquid Pipe


Basst and Fortuin Flow", AIChE Journal, vol 42. No. 4, p901 (1996)

Technical Description
668
PIPESIM User Guide

Gurley, D. G., Copeland, C. "Design Plan and Execution of Gravel-Pack Completion," J. Pet.
T. and Hendrick, J. L. Tech. (Oct. 1977).

Hagedorn, A. R. and Brown, "Experimental Study of Pressure Gradients Occurring During


K. E.: Continuous Two-Phase Flow in Small-Diameter Vertical Conduits",
J. Pet. Tech. (April 1965) 475-484.

Hausen "Neue Gleichungen fur die Warmeubertragung bei frieier oder


erzwungener Stromung", Allg. Warmetchn., 9, 75 (1959).

Hawkins, M. F., Jr. "A Note on the Skin Effect", Trans. AIME, 207: 356-357, (1956).

Hayduk, W. and Minhas, B.S. "Correlations for Predictions of Molecular Diffusivities in Liquids",
The Canadian Journal of Chemical Engineering, 60, 295 (1982).

Hernandez, O.C., Hensley, "Improvements in Single-Phase Paraffin Deposition Modeling",


H., Sarica, C., Brill, J.P., Volk, SPE Production and Facilities, 237, (2004).
M., Delle-Case, E.

Hossain, M.S. et al. "Assessment and development of Heavy-Oil Viscosity


Correlations", SPE/PS-CIM/CHOA 97907, PS2005-407.

Hughmark, G. A. "Holdup in Gas Liquid Flow", Chem. Eng. Prog., v.58, p.62.

Incropera, F. P. and DeWitt, "Fundamentals of Heat and Mass Transfer", Fourth Edition, Wiley,
D.P. New York. (1996).

ISO Standard 15136–1 "Petroleum and Natural Gas Industries – Progressing Cavity Pump
Systems for Artificial Lift", Second Edition, 2009-11-15.

Jones, L.G., Blount, E.M. and "Use of Short Term Multiple Rate Flow Tests To Predict
Glaze, O.H. Performance of Wells Having Turbulence", SPE 6133 (1976).

Jones, L. G. and Slusser, M. "The Estimation of Productivity Loss Caused by Perforation -


L. Including Partial Completion and Formation Damage", SPE paper
4798 (1974).

Joshi, S. D. "Horizontal Well Technology", Penwell Publishing Company,


Tulsa, Oklahoma (1991).

Joshi, S. D.: "A Review of Horizontal and Drainhole Technology", SPE paper
16868 presented at the Rocky Mountain Regional Meeting in
Casper, WY (May 1988).

Kaminsky, R. D. "Estimation of Two-Phase Flow Heat Transfer in Pipes", J Energy


Res Tech, vol 121, p 75 (1999).

Karakas, M. and Tariq, S,M. "Semianalytical Productivity Models for Perforated Completions",
SPE 18247 (1991).

Technical Description
669
PIPESIM User Guide

Karassik, I.J., Messina, J.P., "Pump Handbook," 3rd edition, McGraw-Hill Inc., 1991
Cooper, P., Heald, C. C.

Karassik, I. J. "Pump Handbook," 3rd Edition. McGraw-Hill, New York, 2001.

Karassik, J. et al. "Pump Handbook", 2nd edition, McGraw-Hill Inc., 1986

Kartoatmodjo, R.S.T. and "New Correlations For Crude Oil Physical Properties", SPE 23556
Schmidt, Z. (1991).

Katz, D. L. et al. "Handbook of Natural Gas Engineering", McGraw Hill Book Co.,
Inc., New York (1959).

Kawase and Ulbrecht "Turbulent Heat and Mass Transfer in Dilute Polymer Solutions",
Chem Eng Sci, 37, 1039 (1982)

Kawase and De "Turbulent Heat and Mass Transfer in Dilute Polymer Solutions
Flowing Through Rough Tubes", Int. J. Heat Mass Transfer, 27,
140 (1984)

Kern, D.Q. and Seaton, R.E. "A Theoretical Analysis of Thermal Surface Fouling", British
Chemical Engineering, Brit. Chem. Eng. 4, 258 (1959).

Khoze, Dunayev, Sparin "Heat and Mass Transfer in Rising Two-Phase Flows in
Rectangular Channels", Heat Transfer-Sov. Res., vol. 8, no. 3, p
87-90, (1976)

King "Heat Transfer and Pressure Drop for an Air-Water Mixture


Flowing in a 0.737 Inch I.D. Horizontal Tube", MS Thesis,
University of California, Berkeley,CA, (1952).

Knott et al. "An experimental Study of Heat Transfer to Nitrogen-Oil Mixtures",


Ind. Eng. Chem., vol. 51, no. 11, p. 1369-1372 (1959).

Kreith, F. and Bohn, M. "Principles of Heat Transfer", 5th Edition, PWS Publishing
Company (1997).

Kudirka, Grosh, McFadden "Heat Transfer in Two-Phase Flow of Gas-Liquid Mixtures", I&EC
Fundamentals, vol 4, no 3, p 339-344 (1965)

Kunz, Klimeck The GERG-2004 wide-range equation of state for natural gases
and other mixtures. GERG TM15 2007. Fortschr.-Ber. VDI, Reihe
6, Nr. 557, VDI Verlag, Düsseldorf, 2007; also available as GERG
Technical Monograph 15 (2007).

Kunz, Wagner The GERG-2008 wide-range equation of state for natural gases
and other mixtures: An expansion of GERG-2004. To be submitted
to J. Chem. Eng. Data (2011).

Lasater, J. A.: "Bubble Point Pressure Correlation", Trans., AIME (1958) 379.

Technical Description
670
PIPESIM User Guide

Lee, A. L., Gonzales. M.H. "The Viscosity of Natural Gases", Trans., AIME (1966), 237,
and Eakin, B.E. 997-1000.

Lockhart, R. W. and "Proposed Correlation of Data for Isothermal Two-phase, Two-


Martinelli, R. C. Component Flow in Pipes", Chem. Eng. Prog. (January 1949) 45,
39.

Martin and Sims "Forced Convection Heat Transfer to Water with Air Injection in a
Rectangular Duct", Int. J. Heat Mass Transfer, vol 14, p
1115-1134, (1971).

Matzain, A. "Multiphase Flow Paraffin Deposition Modeling", Ph.D.


Dissertation, U. Tulsa, Tulsa, OK (2001).

Matzain, A., Apte, M.S., "Multiphase Flow Wax Deposition Modeling", Proceedings of
Zhang, H.-Q., Volk, M., ETCE 2001, ETCE2001-17114, 927 (2001).
Redus, C.L.,Brill, J.P., Creek,
J.L.

Matzain, A., Apte, M.S., "Investigation of Paraffin Deposition During Multiphase Flow in
Zhang, H.-Q., Volk, M., Brill, Pipelines and Wellbores-Part 1: Experiments", Transactions of the
J.P., Creek, J.L. ASME, 124, 180 (2002).

McAdams, W.H. "Heat Transmission", McGraw Hill, New York (1954).

McCain, William D. Jr. "Petroleum Fluids", edition 2.

McLeod, H. O. "The Effect of Perforating Conditions on Well Performance", JPT


(Jan. 1983).

Manabe, R. "A comprehensive heat transfer model for two phase flow with high
pressure flow pattern validation", University of Tulsa, (2001).

Manhane, J. M., Gregory, G. "A Flow Pattern Map for Gas-Liquid Flow Pattern in Horizontal
A. and Aziz, K. Pipes", Int. J. of Multiphase Flow.

Martinelli "Heat Transfer to Molten Metals", Trans. ASME, 69, 947 (1947).

Minami, K. and Brill, J. P. "Liquid Holdup in Wet Gas Pipelines", SPE J. Prod. Eng. (May
1987).

Mirza, K. Z. "Progressing cavity multiphase pumping systems: expanding the


possibilities", presented at BHR Conference Multiphase, 1999

Moody, L. "An approximate Formula for Pipe Friction Factors", Transactions


ASME, vol 69, pp. 1005 (1947)

Mukherjee, H. and Brill, J. P. "Liquid Holdup Correlations for Inclined Two-Phase Flow", JPT
(May 1983) 1003-1008.

Technical Description
671
PIPESIM User Guide

Mukherjee, H. and "A Parametric Comparison of Horizontal and Vertical Well


Economides, M. J. Performance", SPE paper 18303 presented at the Annual
Technical Conference and Exhibition in Houston, October 1988.

Muskat, M. "The Flow of Homogeneous Fluids Through Porous Media",


I.H.R.D.C., Boston (1937).

Mutalik, P. N., Godbole, S. P. "Effect of Drainage Area Shapes on Horizontal Well Productivity",
and Joshi, S. D. SPE paper 18301 presented at the Annual Technical Conference
and Exhibition, Houston (October 1988).

Norris, L. "Correlation of Prudhoe Bay Liquid Slug Lengths and Holdups


Including 1981 Large Diameter Flowlines Tests", Internal Report
Exxon (October 1982).

Nunner "Warmeubergang und Druckabfall in Rauhen Rohren", VDI-


Forschungsheft 445, ser B, 22, 5 (1956) or 786-Atomic Energy
Research Establishment, Harwell UK

Oliemans, R. V. A. "Two-Phase Flow in Gas-Transmission Pipeline", ASME paper 76-


Pet-25, presented at Pet. Div. ASME meeting Mexico City (Sept.
1976).

Oliver and Wright "Pressure Drop and Heat Transfer in Gas-Liquid Slug Flow in
Horizontal Tubes", Bri. Chem. Eng., vol. 9, no. 9, p 590-596 (1964)

Omana, R. et al. "Multiphase Flow Through Chokes", SPE 2682, 1969

Orkiszewski, J. "Predicting Two-Phase Pressure Drops in Vertical Pipes", J. Pet.


Tech. (June 1967) 829-838.

Ouyang, L., Aziz, K "Development of New Wall Friction Factor and Interfacial Friction
Factor Correlations for Gas-Liquid Stratified Flow in Wells and
Pipelines", SPE 35679, 1996.

Ovuworie, Chukwuemeka "Steady-State Heat Transfer Models For Fully And Partially Buried
Pipelines," SPE 131137, International Oil and Gas Conference and
Exhibition in Beijing, China, 8-10 June 2010.

Oxley, K. C., Ward, J.M. and "How multiphase pumping can make you money", presented at
Derks, W.G. Facilities 2000 Conference, New Orleans 1999

Palmer, C. M. "Evaluation of Inclined Pipe Two-Phase Liquid Holdup Correlations


Using Experimental Data", M.S. Thesis, The University of Tulsa
(1975).

Pan, S., Zhu, J., Zhang, D., "Case Studies on Simulation of Wax Deposition in Pipelines",
Razouki, A., Talbot, M, and IPTC-13420-PP, 7-9 December 2009
Wierzchowski, S.

Technical Description
672
PIPESIM User Guide

Park, H. Y., Falcone, G. and "Decision Matrix for Liquid Loading in Gas Wells for Cost/Benefit
Teodoriu, C. Analyses of Lifting Options," Journal of Natural Gas Science and
Engineering 1 (2009) 72-83.

Payne, G. A.: "Experimantal Evaluation of Two-Phase Pressure Loss


Correlations for Inclined Pipe", M.S. Thesis, The University of
Tulsa (1975).

Poettman, F. H. and Beck, R. "New Charts Developed to Predict Gas-Liquid Flow Through
L. Chokes", World Oil, March 1963, 95-101

Prandtl, L. "Furhrrer durch die Stomungslehre", Vieweg, Braunschweig, p 359


(1944)

Petrosky, G.E. Jr. and "Pressure-Volume-Temperature Correlations for Gulf of Mexico


Farshad, F .F. Crude Oils", SPE 51395 (1998)

Petukhov and Gnielinski Int. Chem. Eng., 16-2, p 359, (1976)

Petukhov and Kirillov "Heat Transfer and Friction in Turbulent Pipe Flow with Variable
Physical Properties", Adv. Heat Tranfer, vol. 6, p 505-564 (1970)

Poling, B.E., Prausnitz, J.M. "The Properties of Gases and Liquids", Fifth Edition, McGraw-Hill
and O'Connell, J.P.

Pots, B. F. M., Bromilow, I. G. "Severe Slug Flow on Offshore Flowline/Riser Systems", SPE
and Konijn, M. J. W. paper 13723, (March 1985).

Prats, M. "Effect of Vertical Fractures on Reservoir Behavior-Incompressible


Fluid Case", SPEJ, pp. 105-118, June 1961.

Pucknell, J.K. and Mason "Predicting the Pressure Drop in a Cased-Hole Gravel Pack
J.N.E. Completion", SPE 24984, 1992.

Ramey, H.J. "Wellbore Heat Transmission", JPT 435 Trans AIME, No. 225
(April 1962)

Ravipudi and Godbold "The Effect of Mass Transfer on Heat Transfer Rates for Two-
Phase Flow in a Vertical Pipe", Proc. 6th Int. Heat Transfer Conf.-
Toronto, vol. 1, p 505-510, (1978)

Rawlins, E.L. and "Backpressure Data on Natural Gas Wells and Their Application to
Schellhardt, M.A, Production Practices", Monograph Series, USBM 7, (1935).

REFPROP: Lemmon, E.W., Reference Fluid Thermodynamic and Transport Properties-


Huber, M.L., McLinden, M.O. REFPROP, Version 9.1, National Institute of Standards and
NIST Standard Reference Technology, Standard Reference Data Program, Gaithersburg,
Database 23 2013

Technical Description
673
PIPESIM User Guide

Renard, G. I. and Dupuy, J. "Influence of Formation Damage on the Flow Efficiency of


M. Horizontal Wells", SPE paper 19414 presented at the Formation
Damage Control Symposium, Lafayette (February 1990).

Rezkallah and Sims "An Examination of Correlations of Mean Heat Transfer


Coefficients in Two-Phase and Two-Component Flow in Vertical
Tubes", AIChE Symp. Ser., vol. 83, pp. 109-114, 1987.

Romero, D.J., Valko, P.P., "The Optimization Of The Productivity Index And The Fracture
and Economides, M.J. Geometry Of A Stimulated Well With Fracture Face And Choke
Skins", SPE 73758, 2002.

Sandall et al. "A New Theoretical Formula for Turbulent Heat and Mass Transfer
with Gases or Liquids in Tube Flow", Can. J. Chem. Eng., 58, 443
(1980)

Scandpower PT Tech Note "TN-11: Heat Transfer Calculations", Scandpower PT, Oslo
TN-11 (internal) (February 2003).

Shell report SIEP 98-5463 "Satellite multiphase boosting - Multiphase boosting study", Siep-
RTS, ABB Lummus Global

Scott, S. L., Shoham, O., and "Prediction of Slug Length in Horizontal Large-Diameter Pipes",
Brill, J. P. SPE paper 15103 (April 1986).

Schlunder, E.U. (ed) VDI Wärmeatlas, VDI-Verlag, Düsseldorf (1984).

Schneider, G. E. "An Investigation Into Heat Loss Characteristics of Buried Pipes",


Journal of Heat Transfer Vol. 107 (pp696-699) (Aug 1985).

Shah "Generalized Prediction of Heat Transfer during Two Component


Gas-Liquid Flow in Tubes and Other Channels", AIChE Symp.
Ser., vol. 77, no. 208, p. 140-151, (1981).

Sieder and Tate "Heat Transfer and Pressure Drop of Liquids in Tubes", Ind. Eng.
Chem., 28, 1429 - 1453 (April 1936).

Singh, P. "Gel Deposition on Cold Surfaces", U. of Michigan, Ann Arbor,


Michigan (2000).

SPE Production Engineering Volume IV, Chapter 15, Society of Petroleum Engineers, 2007.
Handbook

Sonnad, J. and Goudar, C. "Explicit Reformulation of the Colebrook-White Equation for


turbulent Flow friction Factor calculation", Ind. Eng. Chem. Res,
46, pp. 2593-2600, (2007)

Span, R. and Wagner, W. "A New Equation of State for Carbon Dioxide Covering the Fluid
Region from the Triple-Point Temperature to 1100 K at Pressures
up to 800 MPa," J. Phys. Chem. Ref. Data, 25(6):1509-1596,
1996.

Technical Description
674
PIPESIM User Guide

Standing, M. B. "Volumetric and Phase Behavior of Oil Field Hydrocarbon


Systems", Society of Petroleum Engineers, (1977) 121.

Standing, M. B. "A General Pressure Volume-Temperature Correlation for Mixtures


Of California Oils and Greases," Drill. and Prod. Prac., API (1947)
275.

Standing, M. B. and Katz, D. "Volumetric and Density of Natural Gases", Trans., AIME (1942)
L. 140.

Taitel, Y. and Dukler, A. E. "A Model for Predicting Flow Regime Transitions in Horizontal
Gas-Liquid Flow", AICHE J. (vol. 22, no. 1) (Jan. 1976) 47-55.

Vasquez, M., and Beggs, H. "Correlations for Fluid Physical Property Prediction", SPE paper
D. 6719, presented at the 52nd Annual Technical Conference and
Exhibition of the Society of Petroleum Engineers, Denver,
Colorado (1977).

Venkatesan, R. "The Deposition and Rheology of Organic Gels", U. of Michigan,


Ann Arbor, Michigan (2004).

Vijay, Aggour, and Sims "A Correlation of Mean Heat Transfer Coefficients for Two-Phase
Two-Component Flow in a Vertical Tube", Proc. 7th Int. Heat
Transfer Conf., vol. 5, p. 367-372 (1982).

von Karman, "The Analogy Between Fluid Friction and Heat Transfer", Trans.
ASME, 61, 705 (1939).

Vogel, J. V. "Inflow performance relationships for solution gas drive wells",


Journal Pet. Tech., SPE 1476, (1968)

Webb "A Critical Evaluation of Analytical Solutions and Reynolds


Analogy Equations for Turbulent Heat and Mass Transfer in Short
Tubes", Warme-und Stoffubertrag, 4, 197 (1971).

Woelflin, W. "The Viscosity of Crude-Oil Emulsions", Drill. and Prod. Prac., API
(1942) 148.

Xiao, J.J., Shoham, O., and "A comprehensive mechanistic model for two-phase flow". In
Brill J.P. Proceedings of the 65th SPE Annual Technical Conference and
Exhibition, pages 167-180, 1990.

Zhang, H.Q., Wang, Q., "Unified Model for Gas-Liquid Pipe Flow Via Slug Dynamics - Part
Sarica, C., Brill, J.P. 1: Model Development", ASME Journal of Energy Resources
Technology, Vol.125 (December 2003) 274.

Zhang, H.-Q., Wang, Q., "Unified Model for Gas-Liquid Pipe Flow Via Slug Dynamics - Part
Sarica, C. and Brill, J.P. 2: Verification", ASME Journal of Energy Resources Technology,
Vol.125 (December 2003) 266.

Technical Description
675
PIPESIM User Guide

Zhang, H.-Q. and Sarica C. "Unified Modeling of Gas/Oil/Water Pipe Flow – Basic Approaches
and Preliminary Validation," SPE Project Facilities & Construction
1(2), pp. 1- 7, 2006.

Technical Description
676
PIPESIM User Guide

8
Keyword index
Input files and input data conventions (p.682)
General data (p.688)
Compositional data (p.814)
Blackoil data (p.803)
MFL files (p.824)
Heat transfer data (p.792)
Flow correlation data (p.720)
System and equipment data (p.756)
Well performance modeling (p.732)
PIPESIM operations (p.825)
PIPESIM-net keywords (p.846)

8.1 Keyword list


A (p.677) B (p.677) C (p.678) D (p.678) E (p.678) F (p.678) G (p.679) H (p.679) I
(p.679) J (p.679) K (p.679) L (p.679) M (p.679) N (p.680) O (p.680) P (p.680) Q
(p.680) R (p.680) S (p.680) T (p.681) U (p.681) V (p.681) W (p.681) X (p.682) Y
(p.682) Z (p.682)

8.1.1 A
• ASSIGN (p.838)

8.1.2 B
• BACKPRES (p.748)
• BEGIN (p.716)
• BLACKOIL (p.803)

Keyword index
677
PIPESIM User Guide

• BRANCH (p.848)

8.1.3 C
• CASE (p.690)
• CALIBRATE (p.812)
• CHOKE (p.756)
• COAT (p.795)
• COMP (p.817)
• COMPCRV (p.761)
• COMPLETION (p.734)
• COMPRESSOR (p.763)
• CONETAB (p.747)
• CONFIG (p.800)
• CONTAMINANTS (p.814)
• CORROSION (p.721)
• CPFLUID (p.811)

8.1.4 DE
• END (p.716)
• ENDCASE (p.716)
• ENDJOB (p.716)
• EROSION (p.721)
• EQUIPMENT (p.481)
• ESP (p.786)
• EXPANDER (p.767)

8.1.5 F
• FETKOVICH (p.738)
• FITTING (p.768)
• FLOWLINE (p.734)
• FMPUMP (p.770)
• FORCHHEIMER (p.754)
• FRACTURE (p.754)
• FRAMO2009 (p.770)

Keyword index
678
PIPESIM User Guide

8.1.6 G
• GASLIFT (p.772)

8.1.7 H
• HCORR (p.727)
• HEATER (p.771)
• HEADER (p.689)
• HEAT (p.792)
• HORWELL (p.748)
• HVOGEL (p.754)

8.1.8 I
• IFPPSSE (p.739)
• IFPTAB (p.745)
• IFPCRV (p.744)
• INLET (p.705)
• INJGAS (p.777)
• INJFLUID (p.777)
• INJPORT (p.775)
• IPRCRV (p.744)
• ITERN (p.703)

8.1.9 J
• JOB (p.690)
• JONES (p.739)
• JUNCTION (p.855)

8.1.10 K
• KCOAT (p.797)

8.1.11 L
• LAYER (p.750)
• LVIS (p.806)

8.1.12 M
• MPBOOSTER (p.780)

Keyword index
679
PIPESIM User Guide

• MPUMP (p.781)
• MULTICASE (p.829)

8.1.13 N
• NAPLOT (p.825)
• NAPOINT (p.829)
• NODE (p.782)
• NOPRINT (p.716)
• NSEPARATOR (p.856)

8.1.14 O
• OPTIONS (p.691)
• OPTIMIZE (p.838)

8.1.15 P
• PCP (p.786)
• PERMCRV (p.752)
• PERMTAB (p.753)
• PETROFRAC (p.823)
• PIPE (p.784)
• PLOT (p.713)
• PRINT (p.706)
• PROCOPTIONS (p.824)
• PROP (p.805)
• PUMP (p.786)
• PUMPCRV (p.761)
• PUSH (p.718)

8.1.16 Q R
• RATE - Compositional (p.824)
• RATE - Blackoil (p.701)
• REINJECTOR (p.789)
• RISER (p.734)

8.1.17 S
• SEPARATOR (p.791)

Keyword index
680
PIPESIM User Guide

• SETUP (p.846)
• SINK (p.853)
• SLUG (p.722)
• SOURCE (p.850)
• SPHASE (p.730)

8.1.18 T
• TABLE (p.836)
• TCOAT (p.796)
• TIME (p.840)
• TPRINT - Compositional (p.824)
• TPRINT - Blackoil (p.812)
• TRANSIENT (p.754)
• TUBING (p.734)

8.1.19 U
• UNITS (p.690)
• USERDLL - Flow Correlations (p.732)
• USERDLL - Equipment (p.720)

8.1.20 V
• VCORR (p.723)
• VOGEL (p.738)

8.1.21 W
• WAX (p.840)
• WELLHEAD (p.792)
• WELLPI (p.737)
• WCOPTION (p.741)
• WPCURVE (p.738)

Keyword index
681
PIPESIM User Guide

8.1.22 XYZ

8.2 Input files and input data conventions


8.2.1 General
The PIPESIM engine input processor accepts data under a system of main-code and sub-code
keywords. The entire input data file is checked for syntax errors before program execution begins;
if any input errors are detected, diagnostics are written to the terminal (for interactive jobs) and to
the Input Data Echo in the main job output, and program execution is halted.

8.2.2 Statements
Data is entered in statements. Each statement must begin with a main-code keyword (unless it is a
comment card or a blank line), and is followed by sub-code keywords and equated values
appropriate to the maincode. Statements are usually entered one per line in the file; but if desired,
a statement can be split across multiple lines, or multiple statements can be provided on one line.
In all cases there is a limit of 256 characters per statement, and per line, including spaces.
Statements are composed of printable text characters. Valid characters are those in the 7- or 8-bit
ASCII set between decimal values 32 (space, [ ]) and 126 (tilde, [~]). Some computers or
installations will generate characters outside this range, due to differences in national language
alphabets and punctuation. Usually this will not cause any problems but this cannot be guaranteed.
(Files containing ASCII codes greater than 128 or less than 32 are often created using a word-
processing program, because these characters are used as formatting instructions to produce a
correctly formatted printed page. For PIPESIM however they are not required and will sometimes
cause the program to generate large numbers of syntax errors. Use of such programs for preparing
input files is best avoided, you should use a text editor instead; alternatively acceptable results
may be obtained by requesting the word-processor to produce ASCII text files as output.)
Upper and lower case can be freely mixed, except where doing so would cause the computer
system to assign a different meaning to the data. All Maincodes and Subcodes described in this
document are case-insensitive, but for example some computer systems are case-sensitive in
filenames, so where these are specified care must be taken to provide the correct case.

8.2.3 Delimiters
There are a number of characters reserved for use as delimiters. In general these can only be
used for the purpose described, however if a reserved delimiter character is required for use in a
character string, the string can be quoted with apostrophes or double quotes. The delimiters (with
ASCII decimal codes) are:
• [ ] One or more blanks or spaces can be used to delimit main-code and sub-code entries, and
to improve readability in conjunction with other delimiter characters. (ASCII 32)
• [,] A comma (with or without one or more blanks) can also be used to delimit main-code and
subcode entries, but its main use is to delimit data items when a multiple set of values is
provided with parentheses (see below). (ASCII 46)

Keyword index
682
PIPESIM User Guide

• [=] An equal's sign is used to separate each subcode from its associated numeric or character
data. Additional spaces may be inserted either side of the equals to improve readability. Some
subcodes do not require values; if no value is provided the equals must be omitted. (ASCII 61)
• ['] Apostrophes (also known as closing single quotes) can be used in matching pairs to delimit
character data which itself contains delimiter characters, e.g. embedded blanks. (Do not
confuse apostrophe with the opening single quote[`], and do not attempt to match opening and
closing single quotes with one another.) (ASCII 39)
• ["] Double quotes can be used in matching pairs as an alternative to apostrophes in delimiting
character data. This is useful when the character string contains one or more single quotes.
(Note that double quote is itself a single character or keystroke, and is not equivalent to two
single quotes.) (ASCII 34)
• [$] or [!] Either a dollar sign or an exclamation point is used to delimit end-of-line comments
from input data. All characters on the line between the comment delimiter and end-of-line will be
ignored. (ASCII 36 and 33)
• [(] [)] Parentheses are used to enclose Multiple Value Data Sets when 2 or more values are
provided for a subcode. Supplied data values should be separated with commas. (Additional
separators are valid in multiple data sets, see below.) (ASCII 40 and 41)
• [&] The ampersand is used to continue a statement across two or more lines. It is placed as the
last character on a line to specify that the statement continues on the next line. There is no limit
to the number of continuation lines, but the complete statement cannot span more than 256
characters, including spaces. The ampersand should appear between subcodes. Continued
lines can be separated with blank lines, but not with comment lines. (ASCII 38)
• [;] The semicolon is used to separate multiple statements provided on a single line. (ASCII 59)

Examples
RATE LIQUID = 6000 GLR = 400 WCUT = 20
RATE, LIQ=6000, GLR=400, WCUT=20
MULTICASE LIQ = ( 200, 250, 300 ) GLR = ( 95, 105 )
HEADER PROJECT=TEST, USER=J. BLOGGS
HEADER PROJECT=TEST, USER='JOE BLOGGS'
$ This line is a comment and will be ignored
! This line is also a comment
MULTICASE LIQ=(200.250,300) GLR=(95,105) ! This is an end-of-line comment
RATE, LIQ=6000, GLR=400, WCUT=20 $ This is also an end-of-line comment
MULTICASE LIQ=(200.250,300) & ! This statement is continued on the next line
GLR=(95,105)
! the next line contains two statements
RATE, LIQ=6000, GLR=400, WCUT=20 ; MULTICASE
LIQ=(200,250,300) GLR=(95,105)

8.2.4 Abbreviations
Main-code and sub-code keywords can be abbreviated down to the minimum number of letters
required to make them unique in their context. For maincodes the context is all other main-codes;
thus for example the GASLIFT maincode can be abbreviated to G because no other maincode
starts with G, but COMP is an illegal abbreviated maincode because it matches COMPRESSOR,
COMPLETION and COMPOSITION. The context for subcodes is restricted to the set of legal

Keyword index
683
PIPESIM User Guide

subcodes for the maincode concerned. If the keyword is abbreviated too much, the input processor
will generate a syntax error and processing will terminate.

Example
For example the following 2 lines are equivalent:

OPTIONS SEGMENTS=10
OPT S=10

8.2.5 Numeric data


Except where noted, all numeric data must be equated to a preceding subcode with an equals sign
[=]. Decimal points are optional, if provided only one is allowed and it must be the period or full
stop character, [.] (ASCII 46). Large and small values may carry an exponent, for example,
1200000 may be written as 1.2e6 (or 0.12E7, .12e7, 1.2+6, 1.2e+6, 1.2D6, and so on). For
example 0.000034 may be written as 3.4e-5 (or 0.34e-6, and so on). Do not embed spaces or
commas in numeric data; they will be interpreted as delimiters signaling the end of the data item,
and the remaining digits will then cause a syntax error.
Some main-codes allow data to be provided without keywords, in a strict positional order. Usually
this is to allow easy entry of tabular data. Examples are PERMTAB (p.753), CONETAB (p.747),
IFPTAB (p.745).

Example
In the following example, all lines are equivalent:

RATE MASS=224.0
RATE MASS=.224e+3
RATE MASS=224

8.2.6 Units description


A Units Description String can accompany numeric data. Such strings are the best way to provide
data in units different to the defaults established with the UNITS statement. The string must contain
no embedded blanks or other recognized delimiters. It can appear after the data to which it refers,
or between the keyword and the equals. For example:

RATE LIQ = 3000 bbl/day WCUT = 55 % GOR = 300 scf/bbl


RATE LIQ bbl/day = 3000 wcut % = 55 GOR scf/bbl =
300

Multiple value data sets equated to non-symbolic subcodes can also accept unit's description
strings placed outside the parentheses, for example:

PUMPCRV head = (300, 250,200,150,100,50) kj/kg

Symbolic subcodes (eg ?ALPHA, ?BETA on Multicase) will not allow units description strings.
Instead, the description can be placed on the line where the symbol is used, for example:

Keyword index
684
PIPESIM User Guide

MULTICASE ?ALPHA=(20,30,40)
PUMP DP = ?ALPHA kg/cm2

8.2.7 Character input


Character data should be enclosed in a single or double quotes if it contains reserved delimiter
characters (for example embedded blanks). It must be equated to a sub-code with an [=] sign.

Example
For example:

HCORR PLOSS = BJA HOLOUP = BJA MAP = TD


NODE dist=0 elev = 0 t=100 u=0.8 label = "Station Z' to
J2"

8.2.8 Comment statements and blank lines

Any information to the right of a comment delimiter [$ or !] is ignored. Lines beginning with a
comment delimiter sign will be ignored completely and can be entered at any location in the input
data file.
Blank lines are also ignored and so may be used to improve layout and readability.

Example
$ ~---- THIS LINE WILL BE IGNORED -----
RATE, MASS=224 $ THIS IS AN IN-LINE COMMENT

8.2.9 Multiple value data sets


Some subcodes accept more than one value, and for these an explicit syntax is available using
parentheses. At its simplest the Multiple Value Data Set is a 2 or more values, separated by
commas, and enclosed by parentheses. For example:

MULTICASE LIQ=(200,250,300) GLR=(95,105)


CHOKE dbean = 0.5 ccorr = (pratio, sonicup, flowrate)
DOVCORR uovcorr=table temps=(80,100,120,140)
viscs=(6.5,5,2,1.5)
PRINT CUSTOM=(g3,h3,i3,k1,l1,m4,g4,f4,h11,i11,j11,m11)
PLOT CASE=(+,f7,g7,h7)

Multiple value sets can become very long, and care should be taken to avoid the maximum
statement limit of 256 characters.
A range of data values can be specified for numeric data, this is a convenient alternative to
entering long strings of explicit values. The syntax is ( start : finish ; iop increment), which specifies
a Starting value, a Finishing value, an Increment Operator, and an Increment Value. The special
characters used are:

Keyword index
685
PIPESIM User Guide

colon [:] separates the starting value from the finishing value

semicolon [;] separates the finishing value from the increment operator

plus [+] the addition operator

minus [-] the subtraction operator

asterisk [*] the multiplication operator

hash/sharp/number sign the enumeration operator.


[#]
Note: On computers outside the USA, the hash character will
sometimes display as the national currency symbol. The required
ASCII code is 35 decimal.

Examples
Some examples:

Example 1
To specify values from 10 to 100 by repeated addition of 5:

(10:100;+5).

Example 2
To specify values from 10 to 100 in 50 equal-sized steps:

(10:100;#50)

Example 3
To specify values from 10 to 100 by repeated multiplication by 1.5:

(10:100;*1.5)

Example 4
To specify values from 100 to 10 by repeated subtraction of 7:

(100:10;-7)

Example 5
The range syntax can appear many times and be combined with other values, E.g.:

MULTICASE GLR=( 0, 1:1000;*1.5, 1200, 1600, 2000:10000;+1000 )

Keyword index
686
PIPESIM User Guide

8.2.10 Input files


General
The input data may appear in more than one file. At least one file is required, this may contain
explicit references to further files if desired. In addition certain other files, if they exist, will be
automatically read and processed in addition to your main input file.

The main input ('.PSM' or '.PST') file


Conventionally, the main input file has a filename with an extension of '.PSM'. It is specified on the
engine command line or in answer to the engine prompt 'INPUT FILE NAME:'. In fact however any
extension can be chosen, and will be used as specified. Beware however that word-processing
programs can generate files with embedded formatting characters (that the engine will not
recognize) if certain extensions are used, for example .TXT, .DOC. You are advised to use .PSM
as the extension for all PIPESIM keyword main input files.

Note: The PIPESIM Graphical User Interface (GUI) program generates temporary engine keyword
files with the extension .PST. All such files are assumed by it to be volatile, so if you choose to
create files with a .PST extension, they are likely to be overwritten with no warning. Use .PSM
instead.

Included files and the INCLUDE statement


Input data can be explicitly split among 2 or more files by use of the INCLUDE statement.
INCLUDE has no subcodes, and the only value allowed is the name of the file to be included. The
contents of the included file will be processed as though it appeared in the input file instead of the
INCLUDE statement. For example if the file 'oil23.inc' contains the following:

UNITS in=eng
BLACKOIL
PROP gassg=.68 watersg=1.05 api=37.6
PROP psat=600 psia tsat=120 F GSAT=370
RATE wcut=20 GOR=320

This file can be referenced from the main input file by use of an INCLUDE at the appropriate point,
for example:

INCLUDE oil23.inc

The Included file is assumed to reside in the same directory as the main input file; if this is not the
case a path can be provided, such as:

include ..\..\proj-45\common\oil23.inc

Filenames containing spaces and other delimiter characters must be quoted, for example:

INCLUDE "k:\my special projects\pipesim files\my common


files\proj-45\common\oil type 23c.inc"

Keyword index
687
PIPESIM User Guide

Included files can themselves contain INCLUDE statements, and such nested includes can go to a
maximum of 10 levels. Take care to ensure such an include nest does not attempt to include a file
that has already been included.
All Included files should specify a UNITS statement before any numeric data is supplied. Failure to
do this is not an error, but the interpretation of the contents of the included file will then depend on
the units in force in the main input file at the point of the INCLUDE statement. This is an unsafe
situation, and can lead to unforeseen errors, which do not necessarily manifest themselves
immediately. Any UNITS statement in an included file will only affect data in that file, and will not be
remembered when processing returns to the main input file. Thus an included file cannot be used
to alter units settings in the main input file.

AUTOEXEC.PSM
This is a special include file that, if it exists in the same directory as the main input file, is
automatically included for processing as though an INCLUDE statement referenced it. The file is
named after the MS-DOS control file AUTOEXEC.BAT because of the obvious parallels between
them. Note however that, while AUTOEXEC.BAT must reside in the root directory of a DOS boot
disk to do its job, AUTOEXEC.PSM must instead reside in the same directory as the engine main
input file. It is therefore possible to have many different autoexec.psm files in different directories of
a computer's file system.

modelname.U2P or branchname.U2P
The .U2P file is a file whose contents are defined identically to AUTOEXEC.PSM, but whose
applicability is limited to just one main input file name. This is specified by matching the rootnames
of the files. For example if the main input file is called fred.psm, the matching .u2p file is fred.u2p.

8.3 General data


HEADER (p.689) Job Accounting Header
JOB (p.690) Job Title
CASE (p.690) Case Title
UNITS (p.690) Input and Output Units
OPTIONS (p.691) Calculation Procedure Options
RATE (p.701) Fluid Flow Rate Data
ITERN (p.703) Iteration Data (Optional)
INLET (p.705) System Inlet Data
PRINT (p.706) Output Printing Options
NOPRINT (p.716) Output Print Suppression Options
PLOT (p.713) Output Plotting Options
BEGIN, END (p.716) Block delimiters
PUSH (p.718) Remote action editing
PLOT FILE DATA (p.719)

Keyword index
688
PIPESIM User Guide

EXECUTE (p.719)
USERDLL (p.720) Equipment

8.3.1 Change parameters within the system profile


One of the features of PIPESIM which gives a great deal of flexibility is the ability to change any
parameter, for example, flow rate or fluid property, at any point (node) in the system. In fact, almost
any main-code can be inserted at any point in the System Profile, that is the cards between the first
NODE card and the ENDCASE card. There are one or two exceptions where the main-code must
appear before the first NODE card (for example ITERN main-code) and these are documented in
the relevant sections. This feature allows changes of pipe diameter, fluid inflow and outflow, and so
on, to be easily modeled.
The main-code to change parameters within the System Profile should be inserted after the NODE
card at which it is to take effect. There is no limit to the number of parameters which can be
changed at a particular node.

Example
Example:
A pressure control valve is located at a position 2000' down a flowline and sets the downstream
pressure to 800 psia. There is a change of pipe diameter (to 6"), and another flowline from a
similar well joins thus doubling the flow rate.

Multiple cases
If multiple cases are to be considered, where the same feature within the profile is to be repeated
but with a different value assigned to it, then the user has a choice. Either the whole profile may be
repeated or an ASSIGN (p.838) card may be used to avoid repetition of the profile.

Note: The MULTICASE (p.829) card provides a convenient alternative to the use of repeated
ENDCASE cards.

8.3.2 HEADER - Job Accounting Header (Required)


Main-code: HEADER
The HEADER card must be the first card in a job and must contain both a PROJECT and USER
sub-code.

PROJECT= Project name (12 characters maximum) which should be entered in quotes if the
string contains delimiters (such as blanks or commas).

USER= User name (12 characters maximum) which should be entered in quotes if the
string contains delimiters (such as blanks or commas).

PASSWORD= Password (12 characters maximum) which should be entered in quotes if the
string contains delimiters (such as blanks or commas).

Keyword index
689
PIPESIM User Guide

Example
HEADER PROJ=TEST USER='JOE BLOGGS'

8.3.3 JOB - Job Title (Optional)


Main-code: JOB

JOB Job title (70 characters maximum). Quotes are not required even if the title string includes
delimiters.

8.3.4 CASE - Case Title (Optional)


Main-code: CASE

CASE Case title (70 characters maximum). Quotes are not required even if the title string
includes delimiters.

8.3.5 UNITS - Input and Output Units (Optional)


Main-code: UNITS

INPUT= Specifies the units in the input file

SI Input data in SI units (default).

ENG Input data in engineering units

OUTPUT= Specifies the units in the output file

SI Output data in SI units (default).

ENG Output data in engineering units

ALL= Specifies the units in both the input and output files.

SI Input data in SI units (default).

ENG Input data in engineering units

The UNITS statement should appear before the input data to which it relates and is therefore
usually placed at the top of the input file after the HEADER statement.
If input data is provided in additional files, viz. AUTOEXEC.PSM, (p.682) branchname .U2P, or
files specified on INCLUDE statements, each file should commence with its own UNITS statement
to ensure the units in the file are not dependent on the position in the main input file where it is
processed. A UNITS statement in an additional file does not affect the units already established for
the main input file.

Keyword index
690
PIPESIM User Guide

The UNITS statement may appear many times in the input file, to ensure the subsequent data has
the desired units system. Please note however it is preferable for each data item to be qualified
with its own units description string.

Example
UNITS INPUT=SI OUTPUT=ENG

8.3.6 OPTIONS Calculation Procedure Options (Optional)


Main-code: OPTIONS

SEGMENTS= The number of segments in each pipe or tubing section. The pipeline is
divided into sections by entering distance and elevation data (or TVD/MD)
on NODE statements. Each section is then sub-divided by the program
into a number of segments for calculation purposes. The default number
of segments is 4; allowable range is 1 to 500. The intermediate segment
data will only be printed if PRINT (p.706) sub-code SEGMENT is
selected. The MAXSEGLEN= subcode (below) can also be used to
subdivide sections. The EOFS= setting may add 2 additional short
segments to the section, see below.

MAXSEGLEN= The maximum segment length to be used by the program (ft or m). The
number of segments in each section is computed by dividing the section
length by the specified MAXSEGLEN= length. The final number of
segments used is the maximum of this calculation, rounded up, and the
number specified by the SEGMENTS= subcode. above. The default for
MAXSEGLEN= is infinite. The EOFS= setting may add 2 additional short
segments to the section, see below.

MINSECTLEN or The minimum length of any section of pipe that the PIPESIM engine will
DUPENODELEN compute properties such as pressure, temperature, etc. for. Any node
which is closer than this length from the previous node will be ignored and
removed from the system profile.

EOFS= “Extra One-Foot Segments”. Pipe sections between NODE statements


are divided into segments for calculation purposes, under the control of
the SEGMENTS= and MAXSEGLEN= subcodes above. In addition, extra
short segments are added to the start and end of the section to ensure
the reported fluid properties and flowrates are calculated at an almost
identical temperature and pressure as that reported at the node. In fact,
the fluid properties are calculated at segment average pressure and
temperature. With EOFS enabled, the discrepancies caused by this
mismatch are minimized; however, it does have some effect of the
runtime. Can be set to ON or OFF. Default is ON.

SEC= Controls the calculation of pressure losses due to Sudden Expansions


and Contractions (SEC) of pipe diameter. Can be set to ON or OFF. The
default is ON.

Keyword index
691
PIPESIM User Guide

SECLIM= The lower limit for printing of SEC pressure losses. Any SEC DP less than
this value will not be reported. DPs are reported with a one-line message
in the primary output page. Default is 10 psi.

GRIDPRES=(...) Values of pressure to be used in the P/T grid for compositional


interpolated flash calculations. Psia or bara. Exclusive with
NUMGRIDPRES=.

GRIDTEMP=(...) Values of temperature to be used in the P/T grid for compositional


interpolated flash calculations. F or C. Exclusive with NUMGRIDTEMP=.

NUMGRIDPRES= The number of grid pressure points desired in the P/T grid for
compositional interpolated flash calculations. A number between 60 and
100, default 60. If this subcode is specified, the actual values of grid
pressure will be generated internally using an arithmetic increment
algorithm, between atmospheric pressure and approximately. 40,000 psi.
Exclusive with GRIDPRES=.

NUMGRIDTEMP= The number of grid temperature points desired in the P/T grid for
compositional interpolated flash calculations. A number between 60 and
100, default 60. If this subcode is specified, the actual values of grid
temperature will be generated internally using a linear increment
algorithm, between -60 and +300 F. Exclusive with GRIDTEMP=.

2010GRID Reverts from the current 60x60 compositional table pressure-temperature


grid size to the 21x21 grid size present in PIPESIM 2010.1 and earlier
releases. Can be specified either as 2010GRID or 2010GRID=ON

HTCRD= “Heat Transfer Coefficient Reference Diameter”. All HTCs printed on the
Heat Transfer Output pages will normally use a reference diameter equal
to the local pipe outside diameter. However, if a value is provided for
HTCRD=, the supplied reference diameter will be used instead. This is
useful when sensitizing on pipe diameter, or when different pipe
diameters are present in the system, because it allows HTCs to be
compared without the need to convert for different diameters. Units are In.
or mm.

GTGRADIENT= Controls geothermal gradient assumptions in Pipe objects. When a


temperature profile is provided for a well tubing with TEMP= on the
various NODE statements, the values are assumed to specify measured
points on a geothermal gradient, so temperatures are interpolated
between them based on the true vertical Depth. However, when
temperatures are provided for flowlines and risers, they are assumed to
be specifications that exhibit a step-change at the nodes. This subcode
can be set to ON, OFF or AUTO. ON makes all pipe objects, notably
flowlines and risers, interpolate the temperatures according to the
elevation or depth (NB, not distance). OFF prevents all pipe objects,
notably well tubing and horizontal completions, from interpolating. AUTO

Keyword index
692
PIPESIM User Guide

is the default setting, which allows well tubing pipes to interpolate, but
prevents flowlines and risers.

PPMETHOD= Compositional Flashing method (p.9) for determination of fluid transport


properties. Can be set to 1, 2, or 3. The default is 1. The meaning of
these is:

1: Interpolate (fastest). This option uses interpolation between physical


properties from flash results in a predefined grid of temperature and
pressure points. This grid can be modified using the GRIDPRES= and
GRIDTEMP= subcodes above.

2: Hybrid when close to the Phase Envelope, interpolation elsewhere.


This is a compromise between speed and accuracy, which assumes that
properties will change more rapidly when close to a phase boundary.
Interpolation is performed whenever the grid points comprising a
rectangle all show the presence of the same phases. For example. if all 4
points in the rectangle have some oil, some gas, and no water, then we
assume the rectangle lies entirely within the 2-phase region of the
hydrocarbon phase envelope, so interpolation is appropriate. If however
one, two or three of the points have no oil, then clearly the hydrocarbon
dew point line crosses the rectangle, so a rigorous flash is required.

3: Rigorous (slowest). Interpolation never occurs: properties are obtained


by flashing at the required pressure and temperature. This is the most
accurate method, but it is also the slowest.

THMETHOD= Compositional Flashing method (p.9) for Temperature/enthalpy balance


calculation. In most simulations, for every PP flash that is performed,
there are about 5 to 10 TH flashes, so these have the greatest effect on
speed and run-time. The inaccuracies of TH interpolated flashes are
usually minimal. Can be set to 1, 2, or 3, as for PPMETHOD=.

IFP= This is a way to switch off all existing completion options in the model.
Should only be used by another program controlling the engine as a sub-
task. Can be set to ON or OFF. The default is ON.

ACTIVELAYER= In a multi-layer well, specifies that only one of the reservoir layers is to be
active. Must be set to a number between 1 and the number of reservoir
layers in the well. Layers are numbered starting with 1 for the deepest.

COMPLETION= or Controls the way temperature and enthalpy changes are handled when
COMPHBAL= modelling the pressure drop calculations across a completion. may be set
to:
ADIABATIC or ISENTHALPIC: The pressure change will be at constant
enthalpy, so the fluid will undergo a temperature change according to it's
Joule-Thomson coefficient. For Liquids this will result in a temperature
increase; for gases, temperature will usually decrease, but in high-
pressure reservoirs it may increase.

Keyword index
693
PIPESIM User Guide

ISOTHERMAL: The pressure change will be at constant temperature. The


fluid temperature will not change, so a consequent enthalpy change will
occur,

MAXEMULSION= Maximum value for the multiplier as interpolated or extrapolated from the
emulsion viscosity table for user-supplied and Woleflin emulsion
correlations (p.806). Default 100. The limit will be applied silently. This
is a global (model-wide) option.

MAXCUTOFF= Maximum value for the BOUNDARY= and CUTOFF= (p.806) keywords
on the LVIS statement, default 70. Limit will be applied silently. This is a
global (model-wide) option.

MAXLIQVISC= Maximum liquid viscosity the engine will allow. If any correlation predicts
values greater than this they will be limited to it. Default 1e7 cP. Limit will
be applied with warnings. This is a global (model-wide) option.

SMOOTHCUTOFF= Size of the transition region that is used to interpolate the viscosity
multiplier when watercut is above the cutoff value. Default 5%. This is a
global (model-wide) option.

EMUL3PHASE= Method for assigning priority between Emulsion options and a 3-phase
flow correlation. This is a PIPE component level option. May be set to one
of the following values:

EMULSION: Emulsion option will take priority. Any fluid with an emulsion
viscosity will override a 3-phase correlation. Oil and water phase
Viscosities and densities will be set to the emulsion liquid phase values
before calling the correlation.

3PHASE: 3 phase correlation will take priority. Separate oil and water
phase densities and viscosities will be passed to it, and its answers will be
used as-is. The liquid phase emulsion viscosity will be ignored. This is the
default setting, chosen for backward compatibility with previous versions
of the engine.

HYBRID: The 3 phase correlation will be called as for the 3PHASE option,
and its prediction of the mixing status of the liquid phase will be
examined. If it predicts separate, unmixed oil and water phases, the
answers will be used as-is. If however it predicts mixed oil and water, and
the fluid has an emulsion viscosity, then the answers will be discarded,
and a further call made in the EMULSION mode as described above.

Note: The test for "the fluid has an emulsion viscosity" is that the mixed
liquid viscosity has to be at least 1% greater than the maximum of the oil
and water phase viscosities. The test will therefore give a positive result

Keyword index
694
PIPESIM User Guide

for any emulsion option, that is, it is not restricted to Woleflin and user-
supplied-table options

HYDRATECALC= Controls calculation of Hydrate Formation Temperature (HFT) in


compositional models. HFT optionally appears in the profile plot file, but
calculating it results in a large increase in CPU time required, hence it is
not enabled by default. Can be set to OFF or ON.

WAXCALC= Controls calculation of Wax Formation Temperature (WFT or Cloud Point)


in compositional models. WFT optionally appears in the profile plot file,
but calculating it results in a large increase in CPU time required, hence it
is not enabled by default. Can be set to OFF or ON.

ASPHALTCALC= Controls calculation of Asphaltene Formation Temperature (AFT) in


compositional models. AFT optionally appears in the profile plot file, but
calculating it results in a large increase in CPU time required, hence it is
not enabled by default. Can be set to OFF or ON.

ALHANATI= Controls calculation of Alhanati Gas Lift Instability (GLI) criteria. GLI
criteria can be calculated for wells that have gas lift, but the calculation
requires a number of additional data items that are not needed for any
other purpose. Can be set to ON or OFF, default OFF.

ON: GLI criteria calculation is requested. If the additional data items are
available, the calculated criteria values will be written to the system plot
file; otherwise, diagnostic message(s) will be issued to enumerate the
missing data. To remove the messages, you can either supply the
missing data, or switch the calculation OFF.

OFF: GLI criteria will not be calculated, and diagnostic messages will not
appear.

GLMAXMASS= Specifies a maximum gas lift rate limit, in mass ratio terms. Unlimited gas
lift in a network branch can lead to the existence of multiple network
solutions, so the network may converge to an unwanted solution, where a
well produces nothing but lift gas. This subcode specifies the maximum
mass rate of gas that can be injected, as a ratio with the current
production mass flow rate. Its purpose is to prevent the well from
converging at the unwanted solution. It is only applied in a network model.
The default value is 0.2, thus the gas lift mass rate will be limited to 20%
of the current production mass flowrate in a network model.

GLMAXGLR= Specifies a maximum gas lift rate limit as a GLR. Unlimited gas lift in a
network branch can lead to the existence of multiple network solutions, so
the network may converge to an unwanted solution, where a well
produces nothing but lift gas. This subcode specifies the maximum rate of
gas that can be injected, as a volume ratio with the current production
stock-tank liquid flow rate. Its purpose is to prevent the well from

Keyword index
695
PIPESIM User Guide

converging at the unwanted solution. The default value is infinite. A


sensible value for this limit is in the range 1000 to 2000 scf/sbbl. Units are
scf/sbbl or sm3/sm3.

FMMINTEMP= Specifies the minimum temperature used in fluid property flash


calculations. Units are F or C. The default value is 0K (absolute zero).
However some flash packages will refuse to produce results at
temperatures higher than this. For example, NIST Refprop requires
temperature to be above -100F. This keyword can be used to limit the
temperature range for the iterative PH flash algorithm when calculating
temperature from enthalpy. If the temperature is out of the flash package
range, you get an error message stating this. Only the minimum
temperature the package will allow is reported. Use this keyword to set
the equivalent minimum temperature. A similar keyword FMMAXTEMP=
is used for the maximum temperature.

SYSTEMTYPE= Specifies if the branch or model represents a production well or an


injection well. Usually there is no ambiguity between these and it is
unnecessary for this to be explicitly stated by the user. However
sometimes the model is open to interpretation either way. If it makes a
difference, the user can supply an override value here. One example
where this can be important is the production of VFP tables for a flowline
branch. If there is no elevation difference between the branch start and
end, then the system type is moot. However, VFP tables must be written
with VFPPROD for a production branch and VFPINJ for an injection
branch. Also, a VFPPROD allows sensitivity on GLR, Watercut and
Artificial lift, and these must be provided in the table. Can be set to
PRODUCER or INJECTOR. If omitted, PIPESIM will determine the
system type, based on overall branch elevation change and the
location(s) and numbers of completions it contains.

LAYERINJECT= Controls the ability for reservoir layers to operate in injection mode. By
default layers are able to accept fluid injection if the tubing pressure
exceeds the layer pressure. Setting this option to NO makes all layers to
refuse to allow injection; if the tubing pressure exceeds the layer
pressure, the layer's flowrate will be zero. Can be set to YES or NO,
default is YES.

ELIQLOADING=, Specifies the correction factor to be applied to Turner's general equation


LLE= in liquid loading (p.430) calculations. Minimum is 0.1, maximum is 10.0
and the default is 1.2.

LLVELOCITY= Controls which Gas Velocity is used in liquid loading (p.430) calculations
to get the Critical Gas Rate (CGR). Choices are: VSG, VM, VG, and EQN,
whose meanings are:

VSG: The Superficial Gas Velocity is used. This yields a result that is
closest to that obtained by a hand calculation (from which it differs
because the fluid phase behaviour is predicted by the selected fluid PVT

Keyword index
696
PIPESIM User Guide

package). However it is insensitive to Liquid Volume Fraction (LVF), and


under some conditions can predict a CGR that reduces when LVF
increases. This is the default.

VM: The fluid Mean Velocity is used (i.e. the average of the gas and liquid
phase velocities, the velocity at no-slip conditions). This yields a
conservative result, i.e. a CGR somewhat higher than that obtained with
VSG. Its main advantage is that the CGR it calculates should increase
with VFL.

VG: The Actual Gas Velocity is used. VG is calculated by the selected


multiphase flow correlation, thus in principle it ought to be the most
accurate choice. The CGR it calculates is generally the largest, or most
conservative. However it will always be considerably larger than a hand
calculated result, and will be strongly affected by the choice of multiphase
flow correlation.

EQN: The gas velocity is calculated from the Stock-tank gas flowrate
using the equation: Vg = Qgas* (T+460) * Z / (3.067 * P * A) . This allows
the resulting CGR to be verified by hand calculation. However, it takes no
account of the fluid PVT behaviour.

LLANGLEMIN= or Maximum pipe angle for liquid loading calculations. The Turner equation
ALIQLOADING= assumes vertical or near vertical uphill flow. As deviation increases, so
the equation becomes less applicable; so it makes sense to restrict it to
pipe sections where the local deviation angle is a reasonable
approximation to the vertical. By default the limit is 45 degrees. It can be
set to any vertical deviation angle between 0.1 and 90 degrees. When the
Pipe is deviated greater than this, the calculation is not performed.

LLFRNLIQMAX= Maximum Liquid Volume Fraction (LVF) for liquid loading calculations.
The Turner equation assumes a continuous gas phase with small
dispersed liquid droplets entrained in it. As LVF increases, so the
equation becomes less applicable, and it makes sense to restrict it to pipe
segments where the LVF is consistent with the description “liquid droplets
in a continuous gas phase”. By default the limit is 0.1. It can be set to any
value between 0 and 1. When the LVF is greater than this, the calculation
is not performed.

RAMEYTIME= Specifies the length of time a well has been operating when HEAT
(p.792) subcode RAMEYMETHOD is invoked for a piece of tubing.
Minimum is 0 hour and default is 168 hours. The minimum recommended
value for RAMEYMETHOD=LARGETIME is 168 hours.

UFACTOR= Specifies a multiplier for all supplied (not calculated) U-values in heat loss
calculations. U-values are entered on the numerous NODE statements
that specify the geometry of the pipe and tubing of the branch. This
multiplier is applied to all of these before they are used in calculation of
heat transfer and temperature change of the fluid. This is useful if you
want to sensitize on the overall effective U-value for the branch. Note it is

Keyword index
697
PIPESIM User Guide

NOT used if the U-value is calculated. Default is 1, allowed range is 0 to


1e10.

SEPMASSCALC= Method for calculating the flowrate of fluid separated when a


compositional fluid passes through a separator. Can be set to TABLE or
FLASH, default TABLE.

MPBOOSTROUTE= Specifies an override thermodynamic route to adjust the fluid temperature


and enthalpy at the discharge of any multiphase booster. Can be set to
ISENTHALPIC, ISOTHERMAL, or NONE.

FCVSHUTMODE= Shut-in behaviour for Flow Control Valves (FCVs). An FCV can be
specified with a table of fixed bean areas, and a flowrate limit. PIPESIM
enforces the flowrate limit by selecting the largest area that results in a
flowrate at or below the limit. However, it may happen that the smallest
bean area in the table is too large to enforce the limit. In this case the
value specified on this subcode is used to select a mode of behaviour.
Can be set to OPEN, SHUT, or EXACT, whose meanings are:

OPEN: The smallest non-zero bean area is used, so the flowrate will
exceed the specified limit.

SHUT: The valve will be set to the closed position, so the flowrate will be
zero.

EXACT: The flowrate will be set to the limit, and the required bean area
will be calculated and reported.

RETAINHEEL= Can be set to YES or NO. If YES, selects the Multiple Completion
algorithm for the well's iterative solution, regardless of the number of
completions the well may contain. The default is NO.

IFC= An override on the state of the IFC= subcode on the HEAT statement.
Can be set to INPUT or CALC; if set to CALC, this overrides any
subsequent HEAT statement that may set it to INPUT.

SLUGREGIME= Specifies the Flow Regimes that allow slug length calculations.

NOSLUGREGIME= Specifies the Flow Regimes that do not allow slug length calculations.

MINSEGLEN= The minimum segment length to be used when pipe sections are
subdiivided. (ft or m).

OPPOINTS= Controls the explicit generation of Operating Points in the Nodal Analysis
operation. Can be set to YES, to generate them, or NO, to omit them.
This subcode is also available on the NAPLOT (p.825) statement; it is
duplicated here so that it can be used without the additional effects that
occur when NAPLOT is used.

DOWNHILLPREC= Downhill Pressure Recovery method. When a two-phase fluid flows in a


pipe that is angled downhill, the liquid phase usually flows faster than the

Keyword index
698
PIPESIM User Guide

gas. Sometimes the liquid flows downhill at its terminal, or critical,


velocity, whereby its speed is limited by friction against the pipe walls, and
there is no net pressure gain due to the elevation change. This is often
called slack flow conditions. The multiphase flow correlations will not
usually model slack flow, so this keyword allows a choice of methods for
simulating how pressure recovery is modelled in downhill pipe sections,
and will affect the value for Elevation Pressure gradient:

CORR or NORMAL: Downhill pressure recovery is modelled by the


selected multiphase flow correlation. The exact calculations performed
will depend on the selected correlation. Typically, they use some mixture
fluid density based on the calculated liquid holdup. This is the default
method.

GAS: Downhill pressure recovery is calculated using the density of the


gas phase alone. This option assumes the liquid will segregate into a
stream at the bottom of the pipe and flow at its terminal velocity, similar to
open-channell flow. N.B. This option is applied only when the in-situ liquid
volume fraction is less than 0.8; at higher values, the CORR method is
used.

NONE: Downhill Pressure Recovery is disabled. The elevation pressure


gradient is set to zero in downhill pipe sections.

SSMETHOD= Segment Solution Method. The pipe and tubing objects (for example,
flowlines, risers, tubing strings, and distributed completions) are divided
into computational elements called segments. Each segment is simulated
one after another in a so-called marching algorithm. This subcode allows
a choice of segment length selection and solution method. (Note: To
activate this subcode requires a specific debug flag. To get the debug
flag, please contact Schlumberger.) Currently, the following choices are
available:

1: This is the Original method, which uses predefined, fixed segment


lengths. The segment length is defined using the SEGMENTS= and
MAXSEGLEN= keywords. (See above.) All pressure drop, heat transfer,
and fluid inflow calculations are based on this segment length. If the
segment convergence algorithm fails, then the entire section (NB, not just
the current segment) is subdivided into double the previous number of
segments and the calculation is restarted from the start of the section.

2: This is the Gradient method, which uses values of gradients to select a


suitable segment length at the position in the system being simulated.
The gradients considered are Pressure, Temperature, Enthalpy, and
Reservoir Fluid Inflow. These are expressed as a change in the quantity
per unit length of pipe. For example, pressure gradient is expressed as
psi/ft or bar/m, temperature gradient is expressed as F/ft or C/m, and so
on. Each gradient is evaluated at the segment boundaries. For each
gradient, a user-specifyable tolerance exists which, when divided by the

Keyword index
699
PIPESIM User Guide

gradient, yields a segment length. The minimum of these segment lengths


is used as the length of the next segment in the simulation. (For reasons
of backwards-compatability, the values of SEGMENTS= and
MAXSEGLEN= keywords are also honoured in this method.) If the
segment convergence algorithm fails, the segment length is halved and
the calculation is restarted. This is known as a "chop". NB, unlike the
original method, the chop applies only to the current segment and not to
the entire section.

DPRTOL= Delta Pressure Relative Tolerance is a tolerance used by the Gradient


method. This is a unitless ratio of pressure expressed as (PIN-POUT)/
PIN, where PIN is the segment inlet pressure, and POUT is the segment
outlet pressure. The segment length for the next segment is calculated as
DPRTOL*PIN/PGRAD, where PGRAD is the pressure gradient (DP per
length) from the previous segment. The default is 0.04. Smaller values will
result in smaller, and therefore more, segments.

DPATOL= Delta Pressure Absolute Tolerance is a tolerance used by the Gradient


method. This is a value of Delta Pressure (DP) in units of psi or Bar. The
segment length for the next segment is calculated as DPATOL/PGRAD,
where PGRAD is the pressure gradient (DP per length) from the previous
segment. The default is 1 psi. Smaller values will result in smaller, and
therefore more, segments.

DTATOL= Delta Temperature Absolute Tolerance is a tolerance used by the


Gradient method. This is a value of Delta Temperature (DT) in units of
Farenheit or Celcius. The segment length for the next segment is
calculated as DTATOL/TGRAD, where TGRAD is the temperature
gradient (DT per length) from the previous segment. This ensures that the
temperature change across any segment is never more than DTATOL.
The default is 5 F. Smaller values will result in smaller, and therefore
more, segments.

DHATOL= Delta Enhtalpy Absolute Tolerance is a tolerance used by the Gradient


method. This is a value of Delta Enthalpy in units of BTU/lb or KJ/Kg. The
segment length for the next segment is calculated as DHATOL/HGRAD,
where HGRAD is the enthalpy gradient (DH per length) from the previous
segment. This ensures that the enthalpy change across any segment is
never more than DHATOL. The default is 10 btu/lb. Smaller values will
result in smaller, and therefore more, segments.

DPGTOL= Delta Pressure Gradient Tolerance is a tolerance used by the Gradient


method. This is a unitless ratio of pressure gradients that is used to
validate the results of the current segment's DP calculation. The pressure
gradient in the current segment is compared to the previous segment. If
the difference is greater than this tolerance, the segment is "chopped", or
divided into two smaller segments. This allows the algorithm to identify
and recover from a pressure gradient discontinuity, such as what is often

Keyword index
700
PIPESIM User Guide

encountered in multiphase flow correlations. The default value is 0.05.


Smaller values will result in smaller, and therefore more, segments.

DTGTOL= Delta Temperature Gradient Tolerance is a tolerance used by the


Gradient method. This is a unitless ratio of temperature gradients that is
used to validate the results of the current segment's DT calculation. The
temperature gradient in the current segment is compared to the previous
segment. If the difference is greater than this tolerance, the segment is
"chopped", or divided into two smaller segments. This allows the
algorithm to identify and recover from a temperature gradient
discontinuity, such as what is caused step-changes in ambient
temperature. The default value is 0.25. Smaller values will result in
smaller, and therefore more, segments.

DQGTOL= Delta Flowrate Gradient Tolerance is a tolerance used by the Gradient


method. This is a unitless ratio of flowrates and/or flowrate gradients. It is
relevant only in distributed completions and horizontal wells. It is used in
the following ways:

• The segment length for the next segment is calculated as DQGTOL/


QGRAD. QGRAD is the inflow rate gradient that is calculated from
QI/QP/Segl, where QI is segment inflow rate (the rate entering the
segment from the reservoir), QP is segment production rate (the rate
entering at the segment inlet), and Segl is segment length. These
values are all from the previous segment. This ensures the flowrate
change across any segment, when expressed as a ratio, is never
more than DQATOL.
• Used to validate the results of the current segment's Delta Flowrate
(DQ) calculation. The inflow gradient in the current segment is
compared to the previous segment. If the difference is greater than
this tolerance, then the segment is "chopped", or divided into two
smaller segments. This allows the algorithm to identify and recover
from an inflow gradient discontinuity, such as what is caused by step-
changes in reservoir properties ( for example, pressure, and step-
changes in reservoir fluid properties.)
The default value is 0.2 .Smaller values will result in smaller, and
therefore more, segments.

MEMCHOPFACTOR= Memory Chop factor is a factor used by the Gradient method. When a
previous segment length was set as a result of a "chop" (see above), it is
desirable to restrict the speed at which subsequent segments are allowed
to grow. The maximum segment length for the current segment is limited
to the length of the previous segment multiplied by this factor. The default
value is 2.

8.3.7 RATE: Fluid Flow Rate Data


Main-code: RATE

Keyword index
701
PIPESIM User Guide

RATE allows flow rate to be defined for all fluid types.


For both Blackoil and Compositional fluids, a flow rate may be defined in volumetric terms using
the GAS= or LIQ= subcodes, or in mass terms using MASS=. A mass rate refers to the total
stream without regard for which phases may exist. A volumetric rate refers only to the phase it
specifies, and is always measured at stock-tank conditions. The other phase may or may not be
present at stock-tank conditions, depending on the fluid definition, but it is never included in the
specified flowrate.
Stock tank conditions are 1.013 bara and 15.6 oC, or 14.696 psia and 60 oF.

LIQ= Gross liquid flow rate at stock tank conditions (sm 3/d or STB/D). The liquid phase
includes both hydrocarbon and aqueous phases (oil and water), but not gas.

GAS= Gas flow rate at stock tank conditions (MMsm 3/d or MMscf/d).

MASS= The total mass flow rate (kg/s or lb/s). Note this defines the mass flow rate of the
total stream, in contrast to LIQ= and GAS=, which defines a flow rate for one
phase only.

MULTIPLIER= Factor to mix or split a previously defined flow rate by a fixed ratio. Supplied value
must be greater than zero. Valid only within the system profile, that is after the
PROFILE or the first NODE statement.

ADDLIQ= Quantity to be added to a previously defined stock-tank liquid flow rate. Supplied
value may be greater or less than zero. (sm 3/d or STB/D). Valid only within the
system profile, that is after the PROFILE or the first NODE statement. See also
the INJFLUID. (p.777) statement.

ADDGAS= Quantity to be added to a previously defined stock-tank gas flow rate. Supplied
value may be greater or less than zero. (MMsm 3/d or MMscf/d). Valid only within
the system profile, that is after the PROFILE or the first NODE statement.. See
also the INJFLUID and INJGAS. (p.777) statements.

ADDMASS= Quantity to be added to a previously defined total mass flow rate. Supplied value
may be greater or less than zero. (kg/s or lb/s). Valid only within the system
profile, that is after the PROFILE or the first NODE statement.. See also the
INJFLUID. (p.777) statement.

ADDER= Quantity to be added to a previously defined flow rate (may be greater or less than
zero). Note The units of ADDER= are inferred from the type of flowrate as
originally defined, viz. Gas, Liquid or Mass, and the system of unit conversions
currently in force, that is Engineering or SI. ). Valid only within the system profile,
that is after the PROFILE or first NODE statement.

WCUT= Obsolete: see the BLACKOIL. (p.803) statement.

GWR= Obsolete: see the BLACKOIL. (p.803) statement.

WGR= Obsolete: see the BLACKOIL. (p.803) statement.

Keyword index
702
PIPESIM User Guide

GLR= Obsolete: see the BLACKOIL. (p.803) statement.

GOR= Obsolete: see the BLACKOIL. (p.803) statement.

LGR= Obsolete: see the BLACKOIL. (p.803) statement.

OGR= Obsolete: see the BLACKOIL. (p.803) statement.

A Blackoil fluid must define its stock-tank volume phase split on the BLACKOIL statement, using
the subcodes: GLR=, GOR=, OGR=, or LGR=, and WCUT=, WGR= or GWR=. For historical
reasons these subcodes are also available on the RATE statement. However, since RATE applies
to all types of fluid (Compositional and Steam in addition to Blackoil), it is natural to assume that
GLR= and so on behave similarly. Alas they do not, they apply to black oil fluids only. You are
strongly encouraged to refrain from using these subcodes on RATE; use them on the BLACKOIL
or COMPOSITION. (p.817) statement instead.

8.3.8 ITERN Iteration Data (Optional)


Allows the System Outlet Pressure to be specified.
Because PIPESIM performs a heat balance simultaneously with the pressure loss calculations, it is
necessary for the calculation procedure to begin at the pipeline source and proceed in the direction
of flow. A problem with a fixed delivery pressure therefore requires an iterative solution. The
program will iterate on the user's specified Control variable, which can be System Inlet Pressure,
Flow Rate, or a user-defined variable, as specified with the TYPE subcode.
The ITERN main-code should appear in the initial part of the input file, i.e. before the PROFILE or
NODE statements.
Main-code: ITERN

POUT= The required System Outlet Pressure (psia or Bara).

TYPE= Specifies the identity of the Control variable ('guess') to be changed ('guessed') in
order to match the specified outlet pressure. May be one of:

PRESSURE or IPRESSURE: The system inlet pressure.

GFLOW: The system gas flow rate.

LFLOW: The system liquid flow rate.

MFLOW: The system mass flow rate.

PGEN+: A User-specified variable, as defined with the special symbol ?XITERN.


See note 1 below. Outlet pressure is expected to increase as ?XITERN
increases.

PGEN-: A User-specified variable, as defined with the special symbol ?XITERN.


See note 1 below. Outlet pressure is expected to decrease as ?XITERN
increases.

Keyword index
703
PIPESIM User Guide

XEST= Initial Estimate of the Control Variable ('guess') to be changed ('guessed') in


order to match the specified outlet pressure. The units for this is dependent on
the TYPE. For example: = Estimated inlet pressure (bara or psia) if TYPE=PRES.
= Estimated mass flow rate (kg/s or lb/s) if TYPE=MFLOW. = Estimated gas flow
rate (kg/s or lb/s) if TYPE=GFLOW.= Estimated liquid flow rate (kg/s or lb/s) if
TYPE=LFLOW

PTOL= Allows control over the Outlet Pressure Tolerance. The program will iterate until
the difference between the calculated outlet pressure and the pressure specified
in the POUT sub-code is less than outlet pressure tolerance. The user can
specify the required tolerance, as a percentage, by use of the PTOL sub-code. If
PTOL is not specified, the program will use a value of 1% or 1 psi, whichever is
the smaller.

XTOL= Allows control over the Control Variable ('guess') Tolerance. This is important if
the system being simulated is prone to becoming 'ill-conditioned' (i.e., when a
small change in guess results in a disproportionately large change in outlet
pressure). Under such conditions it may take the iterative procedure many more
iterations than usual to calculate a solution to within the outlet pressure tolerance
(if it can manage it at all). Also, the user may not be interested in such accuracy,
because for example, s/he may only be able to control the guess to within fairly
coarse limits. XTOL exists to stop the program performing numerous
unnecessarry iterations, by terminating the iterative procedure when two
successive guesses fall within the specified tolerance. The user can control the
value of this tolerance, as a percentage, with the XTOL sub-code. The default
value for XTOL is 1.0E-4 %.

XMIN= Specifies a lower bound for the Control variable. If the iterative procedure
attempts to guess below this limit, the guess will be reset to the limit. If this shows
the required answer lies below the limit, the iterative procedure will terminate with
a suitable diagnostic, and case output will be written.

XMAX= Specifies an upper bound for the Control variable. If the iterative procedure
attempts to guess above this limit, the guess will be reset to the limit. If this
shows the required answer lies above the limit, the iterative procedure will
terminate with a suitable diagnostic, and case output will be written.

LIMIT= Specifies the maximum allowed number of iterations. The default value is 40 and
the maximum is 100. If a solution has not been obtained within this number of
iterations, the iterative procedure will be terminated, and results printed for this
case with the current (i.e. last guessed) value of input pressure or flow rate.

SCREEN Gives node by node output on the user's terminal for each iteration. If this sub-
code is omitted, the only output that appears on the terminal during the iteration
procedure is one line for each iteration, summarizing the iteration progress so far.
Note this sub-code has no effect if PIPESIM is running in batch mode.

OPWI Enables OPWI ("Output Printing While Iterating") mode. Node-by-node output for
the system profile is written to the output files during every iteration. Normally,

Keyword index
704
PIPESIM User Guide

this output would be suppressed until the iterative procedure has converged. This
is useful for debugging the iterative procedure.

LASTANSWER Using this sub-code, the guess from the previous case is used as an estimate for
the next case. Thus the value which you have set for XEST will only be used in
the first case.

CFCMODE= Controls the iteration routine's interaction with a system containing a Choke in
critical flow. Can be set to ON or OFF, default is ON. In the ON state, a choke in
critical flow will terminate the iterative procedure early. Thus is usually beneficial,
since the converged solution is likely to require the choke to be in critical flow.
However when TYPE=PGEN, and the Control variable is applied downstream of
the choke, an early iterative termination will prevent correct convergence, so the
OFF state is preferable.

CFCSOLN= Controls the post-convergence behavior when a case has converged with a
choke in critical flow. Can be set to ON or OFF, default ON. In the ON state, a
further round of iteration is performed, to converge on the pressure downstream
of the choke that allows the specified system outlet pressure to be achieved. In
the OFF state, this further round is omitted, thus the system outlet pressure will
be higher that the one specified.

TITLE= Specifies the title to be used for the Control variable in the system and profile plot
files.
TITLE keyword is working only when TYPE = PGEN+ or PGEN-.

Note: When TYPE=PGEN+ or PGEN- is used, the iterations will guess the value of a user-defined
variable in order to achieve the specified outlet pressure. The variable is called ?XITERN, and the
user must arrange that this name appears at a suitable point in the input file as the value of a
subcode that will have an effect on the system outlet pressure. This is how PIPESIM implements
its user variable feature. PGEN is an acronym for "Pseudo-GENeral iterative mode" (it is not truly
general since it converges only on outlet pressure).

8.3.9 INLET System Inlet Data


Main-code: INLET
The INLET statement is optional. It is useful if the system contains no reservoir completions, and is
typically used to define a Generic Source at the start of a surface pipeline model. If supplied, must
appear before the PROFILE or first NODE statement.

TEMPERATURE= The temperature of the fluid entering the system at the System inlet. (oC or
oF). If omitted, the inlet fluid is assumed to enter the system at the ambient

temperature as defined on the first NODE statement.

PRESSURE= The System inlet pressure (bara or psia). Not required if the inlet pressure is
to be determined using the iteration option (see the ITERN main-code), or if
the reservoir pressure is supplied with a well inflow performance option .

Keyword index
705
PIPESIM User Guide

ENTHALPY= or H= As an alternative to temperature, the inlet fluid enthalpy can be supplied;


PIPESIM will then calculate its temperature. (btu/lb or Kj/kg)

QUALITY= As an alternative to Temperature or Enthalpy, and only if the fluid is specified


as Steam, the inlet steam quality can be supplied. Quality is the steam mass
fraction vapour: must be in the range 0 to 1.

8.3.10 PRINT Output Printing Options (Optional)


Main-code: PRINT
PIPESIM offers a wide choice as to the amount of printed output. The PRINT maincode controls
most of the available options, which can be divided into 4 behavioral categories:
Per-case Output pages
Subcodes such as PRIMARY and AUXILIARY control the production of complete pages
which are repeated for as many cases as desired (as specified on CASES=). Pages are
typically 132 characters wide and usually have (at least) one line for every node in the
system, or otherwise have about 60 lines of relevant data. These page selections should
be made at the start of the job or between cases.
Attributes
Subcodes such as SEC and TITLES affect the way data appears on output pages, e.g. by
adding something to an existing page or changing the representation of the data on the
page. Page attributes are best selected at the start of the job and not changed thereafter.
Point reports
Subcodes such as SPOT and PHASE SPLIT control the production of localized reports
dedicated to an aspect of the system at a chosen position, or to a piece of equipment
within it. Reports are requested by supplying the PRINT statement, with the required
subcode, at the position within the system profile where the information is required. They
are written to one of the selected output pages (as specified on REPORTS=) and appear
for as many cases, and as many positions, as desired.
One-off Output pages
Subcodes such as SYNTAX, ECHO and NARESULT control the production of single page
reports that appear only once per job. These page selections should be made at the start
of the job.
Except where noted, the options can appear without a value, in which state a value of ON will be
assumed. Values of OFF or ON can be provided if desired

Per-case output page options


The per-case output page options are as follows:

Default

PRIMARY The primary output page consists of a line for each node, containing ON
node distance and elevation, pipe angle, fluid pressure, temperature

Keyword index
706
PIPESIM User Guide

and mean velocity, friction and elevation pressure drop, phase


flowrates, phase densities, and Flow Regime pattern.

AUXILIARY The Auxiliary output page consists of a line for each node, containing ON
node distance and elevation, , phase superficial velocities, mass flow
rates and viscosities, overall Reynolds number, Liquid volume fraction,
Liquid Holdup fraction, Flowing Liquid Watercut, total enthalpy, Erosion
velocity, Erosion rate, Corrosion rate, Hydrate sub-cooling Delta
Temperature, Liquid loading Velocity ratio, and segment iteration
counters. For compositional fluids 3 additional columns hold table
interpolation diagnostics.

HORWELL The Horizontal Well output page consists of a line for each node, OFF
containing: node distance and elevation; Reservoir and Wellbore
Pressure; Reservoir, Inflow, and Wellbore temperature; Inflow Joule-
Thomson Coefficient; Distributed Productivity Index; Wellbore flowrate;
Specific inflow (i.e., flowrate between wellbore and reservoir, per unit
length); Friction Gradient; Reservoir and Wellbore GLR and Watercut;
and Liquid Viscosities for Reservoir, Inflow and Wellbore. The Horwell
output is restricted to the portion of the system that is defined to be a
distributed completion (see the COMPLETION (p.734) statement).

FLUID The Input Fluid data page shows the definition of the Blackoil or ON
Compositional fluids used as input to the case (fluid definitions resulting
from mixing or separation can be obtained with the SPOT=FLUIDSPEC
subcode, see below). A compositional fluid is specified mostly by its
component list and their respective molar flowrates, along with other
data controlling the attributes of the selected PVT package and table
interpolation control data. A blackoil fluid is specified by a number of
correlation choices and tunable values. This page also specifies fluid
input flowrates.

PROFILE The profile and Flow Correlations output page consists of a line for ON
each node, containing node distance and elevation, pipe section
length, cumulative length, ambient temperature, input U-value, node
TVD and MD, and fluid definition detail. In addition the selected
Horizontal, Vertical, and Single Phase flow correlation choices will be
echoed, along with pertinent options currently in force.

ITERATION The case-level iteration progress log page. This page will only appear if ON
the case is iterative, i.e. the Outlet Pressure has been specified. Data is
one line per iteration plus information on how each iteration's guess is
computed. Errors encountered during iteration will also appear on this
page.

INFLOW Details of the selected Inflow Performance Relationship (IPR) appear OFF
on this page. Data includes relevant input values and all derived or
computed values and answers. If the model contains multiple
completions, each will have its own section on this page.

Keyword index
707
PIPESIM User Guide

HINPUT The heat Transfer Input data page has a line for each node showing OFF
the input data for detailed heat transfer calculations across multiple
layers of pipe and coatings. Values are: node distance, wax pipe and
coatings thicknesses, wax pipe and coatings conductivities, burial
depth, ambient fluid velocity, and ambient temperature.

HOUTPUT The Heat Transfer Output page has a line for each node showing the OFF
results of heat transfer calculations. Values are: Node distance, fluid
temperature and enthalpy, Overall Heat Transfer Coefficient (HTC),
Fluid film HTC, wax pipe and coatings HTCs, soil/ambient HTC, and
text description of burial configuration. (All HTCs are referenced to the
Pipe (Note: not coatings) outside diameter, this can be changed with
the HTCRD= subcode of HEAT (p.792) ).

SLUG The Slug output page has a line for every node showing the results of OFF
slugging calculations. Values are: node distance and elevation, mean
slug length and frequency, 1 in a thousand slug length and frequency,
1 in a hundred slug length and frequency, 1 in ten slug length and
frequency, PI-SS, and flow regime pattern.

GLINPUT The gas Lift Input data page has a line for every gas lift valve in the OFF
system, showing the input data supplied for it.

Note: The lines in this page appear in order of depth from the
wellhead, i.e. shallowest at the top of the page, deepest at the bottom;
this is the opposite to the direction of fluid flow in a gas lifted well, so
this page will usually be in reverse order when compared with all other
pages.

Values are: Valve TVD and MD, valve port diameter, Cv, test rack
pressure, Ap/Ab, Throttling factor, valve type, and valve operation
mode. (To request this page be produced in the same direction as the
rest of the output pages specify GLINPUT=*FWD). N.B. The values in
this page are only useful when MODE=SIMULATE has been specified
on a GASLIFT (p.772) statement.

GLOUTPUT The Gas Lift Output page has a line for every gas lift valve in the OFF
system, showing all calculated values for the valve. The lines are
ordered shallowest first as for the GLINPUT page (see above). Values
are: valve MD, test rack dome pressure, valve operating temperature at
depth, dome pressure at depth, casing and tubing pressure at depth,
valve opening and closing pressures, DP across valve, Orifice gas
flowrate, throttled gas flowrate, actual gas flowrate, and text description
of valve operating status. (To request this page be produced in the
same direction as the rest of the output pages specify
GLOUTPUT=*FWD). N.B. The values in this page are only useful when
MODE=SIMULATE has been specified on a GASLIFT (p.772)
statement.

Keyword index
708
PIPESIM User Guide

3PHASE For Shell clients only, this page has a line for every node showing three OFF
phase flow values as calculated by the SRTCA 3-phase flow
correlation. The 3-phase SRTCA (p.727) correlation must be the
selected multiphase flow correlation for this page to appear.

ARTSLUG For Shell clients only, this page has a line for every node showing the OFF
results of Artificial Slug calculations. The Artificial Slug SRTCA
(p.727) correlation must be the selected multiphase flow correlation
for this page to appear.

WAX this page has a line for every node showing Wax Deposition input data, OFF
calculations and results.

CUSTOM=(x,x,x) The Custom output page allows you to create your own page of output OFF
organized one node per line. Values appear in columns on the page
and are chosen from the set of Profile Plot variables. Identifiers are
provided as a multiple value set (p.682). An up-to-date list of the
available identifiers can be obtained using the SYNTAX subcode of
PLOT (p.714). Each column will be 10 characters wide plus one
space, so 11 columns will conveniently fit on a standard width page. If
desired you can specify up to 40 identifiers, but be aware this will give
an output page that is 440 characters wide.

INDATA This is a combination of PROFILE and FLUID. ON

EXTRA= The Extra output page allows installation-specific data to be printed. OFF
This subcode requires an equated value. If the value TGRAD is
provided, the result is a page containing a line for each node with
temperature Gradient information from heat transfer calculations. Other
values are installation-specific..

Attributes
The Attributes are:

Default

TITLES Print case titles on job summary output ON

SEGMENTS Print segment data. The pipe or tubing section between each node is OFF
sub-divided for computation purposes into a number of segments (as
controlled by OPTIONS SEG= (p.691) and MAXSEGLEN= (p.691) , and
the accuracy needs of the calculation at each point). With this subcode
selected, each segment will have its own line of output in all the per-case
output pages; without it, the output will be restricted to each node.

SEC Print details of pressure drops caused by Sudden Expansion and ON


Contraction. When Pipe ID changes, the junctions between the non-
matching diameters are assumed to be straight-edged, and to cause
pressure reduction due to turbulence effects. With this subcode enabled

Keyword index
709
PIPESIM User Guide

a one-line message will be written to the primary output where SEC


losses are greater than a specified threshold value (as defined with
OPTIONS SECLIM=).

CASES= Specifies the number of cases to print. This subcode requires a numeric 1
value. The selected per-case output pages will appear for as many
cases as are specified. In Nodal Analysis jobs, the value applies to both
the inflow and the outflow cases, thus the actual number of cases printed
will be double.

REPORTS= Specifies the name of the per-case output page to receive point report PRIMARY
output. Any of the per-case page names can be provided to direct the
point reports to the specified page. In addition the value DEDICATED
specifies that an additional page be created to hold them instead.

Point report subcodes


The point report subcodes must appear on a PRINT statement, positioned within the system
profile, at the position where the values are required. If multiple reports are required at any point a
separate PRINTstatement must be used for each report. Each report is written to the output page
chosen with the REPORTS= subcode above. Reports vary in length between 6 and 200 lines.
They are:

SPOT=STPROPS Fluid Stock-tank properties: phase flowrates and physical properties are
reported at stock-tank conditions, viz. 14.696 psia, 60 F.

SPOT=FLPROPS Fluid flowing properties: phase flowrates and physical properties are
reported at the current pressure and temperature

SPOT=MPFLOW Multiphase Flow values: Fluid properties, pipe dimensions, and calculated
values with particular relevance to multi-phase flow calculations. See note
1.

SPOT=SLUG Slug flow values: fluid properties and calculated values with relevance to
slug size calculations. See note 1.

SPOT=SGLV Sphere-Generated Liquid Volume values: input data and results from
SGLV calculations. See note 1.

SPOT=HTINPUT Heat Transfer Input values: fluid properties, pipe and coatings thicknesses
and conductivities etc. as used in heat transfer calculations. See note 1.

SPOT=HTOUTPUT Heat transfer output and calculated values: heat transfer coefficients,
coating layer temperatures, film coefficients and dimensionless groups.
See note 1.

SPOT=FLUIDSPEC Fluid specification values. The complete set of values that define the fluid.
A compositional fluid is specified mostly by its component list and their
respective molar flowrates, along with other data controlling the attributes
of the selected PVT package and table interpolation control data. A

Keyword index
710
PIPESIM User Guide

blackoil fluid is specified by a number of correlation choices and tunable


values.

SPOT=ACVALUES 'Accululated' values. These are values that accumulate over the length of
the system, for example total liquid holdup, total friction DP, total pipeline
volume, etc.

SPOT=SHELL Shell clients only, a report specific to the SRTCA slugging and 3-phase
flow correlation. See note 1.

SPOT=COMPLETION Distributed or multipoint completion values: reservoir inflow, drawdown,


Distributed P.I., Skin values, relevant pipe dimensions, fluid phase
flowrates and physical properties. See note 1.

USPOT=(x,x,x) Custom spot report: allows you to create a report of values of your choice.
Values are chosen from the set of Profile Plot variables. Identifiers are
provided as a multiple value set (p.682). An up-to-date list of the available
identifiers can be obtained using the SYNTAX subcode of PLOT. (p.713)

MAP Print the flow regime map at the current position. A flow regime map is
specific to each choice of multiphase flow correlation, and is affected by
fluid properties, pipe dimensions, and (critically) pipe angle. Since the map
must be requested at a node position, please note that the pipe angle (and
perhaps other dimensions) may change across the selected node. The
dimensions and angle used to generate the map are those of the
Upstream pipe section. The fluid properties used are those at the current
pressure and temperature. If the map is requested at the start of the
profile, pipe dimensions and angle are taken from the first pipe section.

PHASESPLIT Print a Phase Split report, for compositional fluids only. This lists the molar
flowrates of all components in the feed stream and in the phases that exist
at that pressure and temperature. Additional phase properties such as
density, viscosity etc. are also printed.

PRESSURE= Pressure value for use with PHASESPLIT; if provided, will be used instead
of the system current pressure. (psia or Bara)

TEMPERATURE= Temperature value for use with PHASESPLIT; if provided, will be used
instead of the system current temperature. (F or C)

PHASENV= Produce a plot file containing the Phase Envelope (and other lines) for the
current compositional fluid. Note this option produces no printed output;
instead, a plot file will be created, named with an 8-character code known
as the handle, and with an extension of .ENV. This file can be processed
by the plotting post-processor PSPLOT to display the phase envelope.

N.B., you do not need to know the name of the file to plot the phase
envelope. From the GUI, select Profile Plot, then select Series, and
choose axes of pressure and temperature. The phase envelope file(s) will
be automatically processed along with the model's profile plot data, so you

Keyword index
711
PIPESIM User Guide

should see the phase envelope and other available line(s) along with the
pipeline system's pressure-temperature traverse.

By default the phase envelope file will contain a number of lines,


depending on the phase behaviour of the fluid, the capabilities of the
selected PVT package, and the PVT feature licenses you have available.
The lines can be selected by supplying a list of line types as a multiple
value set. (p.685) Available line types are:

HYDROCARBON: the hydrocarbon phase envelope, consisting of a


bubble point line and a dew point line

CRITICALPOINT: the Hydrocarbon critical point

WATERDEW: the water dew point line

HYDRATE1: Hydrate type 1 line

HYDRATE2: Hydrate type 2 line

WATERICE: the water ice line

WAX: the wax appearance, or cloud point, line

ASPHALTENE: the asphaltene appearance line

If you do not supply a list of line types, the file will contain as many lines
as the PVT package is capable of generating for the fluid, and for which
you have a valid license.

QUALITY= Values of Quality for use with PHASENV. If present, must be equated to a
multiple value set (p.685) of quality values, each in the range 0 to 1. The
resulting plot file will contain a hydrocarbon quality line for each value.

Note: The values in this report are calculated during the simulation of a piece of pipe, and
therefore refer to the pipe segment immediately upstream of the statement's position.

One-off output pages


The One-off output pages are:

Default

NARESULT Nodal Analysis result page. Lists the pressure, temperature and ON
flowrate at the Nodal Analysis point for all cases in each inflow and
outflow curve. Will only appear in Nodal Analysis jobs.

SUMFILE Controls the generation of the summary output file. This file is named ON
from the model file's root name with an extension of .SUM, and
contains a line for each labelled node for every case that was run in
the job. Data values are: Stock-tank watercut, Stock-tank liquid flow

Keyword index
712
PIPESIM User Guide

rate, flowing free gas flow rate, pressure, temperature, friction


elevation and total pressure losses, mixture velocity, liquid holdup
fraction, liquid holdup volume, and flow regime pattern.

SUMMARY Requests that the summary file be copied to the end of the main ON
output file at the end of the job. Requires that SUMFILE be set to ON.

WAXRESULT For Shell clients only, this page has one line per case or per reporting OFF
interval showing the history of wax deposition in the system.

ECHO Writes a line-numbered copy of the input data file at the start of the ON
job. All included files will be expanded in-line, and any syntax errors
generated will appear after the line that caused them.

SYNTAX Print formatted table of valid keyword input data. This extends over OFF
about 20 pages and lists the available maincodes, subcodes, value
types they can be equated to, conversion factors, maximum and
minimum limits for numeric data, and allowable character values. This
report is generated from the engine code used to read and validate the
input data file. It is useful when up-to-date documentation is not to
hand or appears to be incorrect.

NEWINPUTDATA Writes a copy of the input data file, but with the numeric data OFF
converted to the units system specified for output (with UNITS OUT=).

8.3.11 PLOT Output Plotting Options (Optional)


Main-code: PLOT (or NOPLOT to switch off)
The PLOT statement requests the production of plot files, and controls various aspects of program
behavior with relevance to plotting. Plot files are post-processed with the BJA plotting program
PSPLOT, or your chosen plotting program (for example Microsoft EXCEL). When driven using the
PIPESIM GUI, plots will normally appear concurrently with running the engine.

CASE or PROFILE Requests the production of the Profile Plot File, which contains data that
is organized to be plotted against position in the pipeline system. For
example a pressure profile for a flowline shows pressure on the Y-axis
against total distance on the X-axis; A temperature profile shows
temperature against total distance. For a well the axes may be reversed,
and/or the Y-axis might be elevation or depth. The profile plot file will
contain many quantities that can sensibly be plotted against distance,
elevation, or total length. (They may also be plotted against one another,
with varying degrees of usefulness.) By default, each NODE (p.782) in
the system will produce a point on the plot, and each case (p.829) will
produce a separate line on the plot. The SEGMENT subcode (see below)
will increase the number of plot points on each line.

CASE= or PROFILE= As above, and if a value is provided, it specifies the data that is to appear
in the plot file. Identifiers are provided as a multiple value set (p.685). An
up-to-date list of the available identifiers can be obtained using the

Keyword index
713
PIPESIM User Guide

SYNTAX subcode (see below). If no value is supplied a default set of plot


file data will be written. If your supplied value starts with a plus sign [+],
your identifiers will be added to the default set instead of replacing it.

JOB or SYSTEM Requests the production of the System Plot File, which contains data that
is organized to be plotted against sensitivity variables. For example a job
that sensitizes on flowline ID could produce a plot of ID on the X-axis
against flowrate on the Y-axis (or ID against holdup, or flowrate against
holdup, etc...). The plot file will contain many values, and you can plot
anything against anything, with varying degrees of usefulness. Each
case will produce one point on the plot, and separate lines on the plot are
produced by combinations of sensitivity variables as specified by
MULTICASE or NAPLOT statements.

JOB= or SYSTEM= As above, and if a value is provided, it specifies the data that is to appear
in the plot file. Identifiers are provided as a multiple value set. An up-to-
date list of the available identifiers can be obtained using the SYNTAX
subcode (see below). If no value is supplied a default set of plot file data
will be written. If your supplied value starts with a plus sign [+], your
identifiers will be added to the default set instead of replacing it.

SEGMENT Requests that profile plot data be written for every segment. By default a
point is written only for each node, but the pipe between each node is
usually sub-divided into a number of segments for calculation purposes.
With this subcode you can plot the intermediate segment data as well.

HERE= Requests that specified profile plot variables be added to the existing
system plot file at the current profile position. This can be used for
example to obtain fluid properties at any point, so they can be plotted
against sensitivity variables. This subcode is only valid within the system
profile. Identifiers are provided as a multiple value set (p.685). chosen
from the profile plot variables list (see SYNTAX below).

SYNTAX Will create a list (in the standard output file) in two columns of available
plot file variables and their identifiers (for example A, B, Y2, etc.) These
identifiers can be provided to the JOB=, CASE= or HERE= subcodes
(see above), and to SPOT= and CUSTOM= subcodes of PRINT (p.706).

EQUIPJOB= Controls the addition of equipment plot variables to the system plot file.
Each item of equipment (for example, pumps, chokes, heaters, and so
on) placed in the profile will, by default, result in additional plot variables
being added to the system plot file. For each equipment item, between 6
and 20 additional variables will be added, the exact number and
selection being specific to the equipment concerned. Can be set to ON or
OFF, default ON.

PVTDATA= Presence of this subcode triggers production of a fluid calibration plot file,
similar to that produced when one of the PLOT buttons in the Black oil
dialog advanced calibration tab is pressed. If a value is provided it must
be a multiple value set of identifiers specifying the fluid properties to be

Keyword index
714
PIPESIM User Guide

written to the plot file. The file created is named from the model or branch
root file name with an extension of .PEX.

FORMAT= The overall textual layout of the plot files. Can be set to:

BJA: Write the plot files in BJA (i.e., original PIPESIM) format. This is the
default option. BJA format plot files are composed of printable ASCII
characters, arranged in lines of less than 200 columns. Header
information is present at the start of the file. This is the option to use if
you intend to read the file with PSPLOT.

LOTUS: Write the plot files in LOTUS '.PRN' file format. Files will be
named with the extension .PRN. The Lotus 123 spreadsheet program will
recognize .PRN files and will often read them without further user
intervention.

NEUTRAL: Write the plot files in NEUTRAL format. NEUTRAL format


consists entirely of lines of numeric data arranged in columns. No header
information is written.

CSV: Write plot files in Comma Separated Value format. Files will be
named with the extension .CSV. The EXCEL spreadsheet program will
recognize .CSV files and will usually read them without further user
intervention.

PACKEDCSV: As for CSV above, but the data is written in a compressed


form that occupies less space, thus using less disk space; however, it
takes more run-time to produce.

GOAL: Write files in GOAL-compatible format. This is a combination of


revision B (see below) and BJA.

XYJOB= For the System plot file, specifies the identifiers to be used as the X and
Y axes when the plotfile is first opened by PSPLOT. Identifiers are
provided as a multiple value set.

XYCASE= For the Profile plot file, specifies the identifiers to be used as the X and Y
axes when the plotfile is first opened by PSPLOT. Identifiers are provided
as a multiple value set.

VERSION= or Specifies the revision standard that the plot file is to be written to
REVISION= conform to. May be set to B or C, whose meanings are:

B: Revision B plot files conform to an older standard that contains some


fixed-format data and hence is not forward compatible. Some older
programs that read plot files, notably GOAL, can only process revision B
plot files.

C: Revision C plot files contain additional information, and are written


using textual Tags at the start of every line. This allows a measure of
forward compatibility, thus additional features may be present in the file,

Keyword index
715
PIPESIM User Guide

and these can be silently ignored by an older reading program, without


causing an error.

COMPOSITIONS= Controls the addition of composition records to the system plot file.
Composition records specify the fluid definition at the system outlet, and
are important in .PWH files created for use in PIPESIM.net's Wells Off-
line mode. With composition records present, a PWH file can be used to
replace a well definition in a network run, resulting in considerable
speedup of the network solution. Can be set to YEs (the default) or NO.

CASEFILENAME= or Specifies the name of the profile plot file. By default this will be created at
PROFILEFILENAME= run-time from the root name of the branch or model input file name, with
an extension of .PLC.

JOBFILENAME= or Specifies the name of the system plot file. By default this will be created
SYSTEMFILENAME= at run-time from the root name of the branch or model input file name,
with an extension of .PLT.

PVTFILENAME= Specifies the name of the Fluid calibration plot file produced with the
PVTDATA= subcode. By default this will be created at run-time from the
root name of the branch or model input file name, with an extension
of .PEX.

ALHANATI= Controls the calculation of Alhanati gas lift Instability criteria. The
Alhanati criteria are required by GOAL, so production of GOAL-format
files will enable this option. If it is enabled, but some of the data it
requires is missing, warning messages will be produced: these will list
the nature of the required missing data. This subcode allows the
calculation to be controlled explicitly, thus the messages can be
suppressed if the calculation is not required. Can be set to YES or NO,
default being dependent on model input data.

A PLOT statement should appear before the first NODE card in a case, to specify the required
SYSTEM and PROFILE plot options. Additional PLOT HERE statements can appear anywhere in
the profile.

8.3.12 NOPRINT Output Print Suppression Options (Optional)


Main-code: NOPRINT
The NOPRINT card has the opposite effect to PRINT (p.706) and suppresses printing of the
specified data. The same sub-codes as specified under PRINT are valid (with the exception of
MAP). This card is often used to suppress output in the second and subsequent cases of a job.

8.3.13 BEGIN , END - Block delimiters


Main-codes: BEGIN, END
The BEGIN and END statements delimit a block of one or more further statements that collectively
define an entity, and give it a name which can be referred to later. There are two types of entity

Keyword index
716
PIPESIM User Guide

that can be defined, a CURVE, or a FLUID. The input file can contain as many BEGIN..END blocks
as are needed to define as many fluids or curves as desired.

FLUID Specifies that the block defines a fluid. A Blackoil or Compositional fluid can be
specified with as many delimited statements as are necessary, and the resulting fluid
can be referred to on subsequent main-codes (such as . LAYER, INJGAS, INJFLUID,
GASLIFT, BLACKOIL, COMPOSITION) to specify the injected or reservoir layer fluids

CURVE Specifies that the block defines a curve. Curve definitions are used in 2 situations:
Inflow performance : a reservoir or layer can be characterized by a curve of Bottom hole
pressure against flowrate. Also, variation of GLR and Watercut can be specified as a
coning relationship. Pumps and compressors: these devices can be specified with
curves of flowrate against head, power and efficiency

NAME The name of the entity being defined.

INHERIT Optional, for FLUID blocks only. Controls inheritance of black oil fluid properties from
the 'current' fluid. By default, each new fluid starts off with nothing defined. However the
fluid already defined and currently in use can he inherited as the basis for a new fluid if
desired. This is useful in legacy .PSM files which define only one black oil fluid and do
not give it a name, and when additional fluids are being defined in additional input files.
(p.687)

Example
The subcodes can appear on either maincode. Blocks cannot be nested, but it is possible to refer
to an earlier block when defining a subsequent block.
For example:

begin fluid name=oil1


BLACKOIL
PROP API = 33 GASSG=0.65 PSAT=4000 TSAT=250
GSAT=320
LVIS T1=250 VIS1=0.6 T2=60 VIS2=20
RATE GOR=320 WCUT=30
end fluid

begin
BLACKOIL
PROP API = 45 GASSG=0.6 PSAT=3770 TSAT=240
GSAT=350
LVIS T1=250 VIS1=0.63 T2=60 VIS2=22
RATE GOR=300 WCUT=10
end fluid name=oil2

begin fluid name=oil3


BLACKOIL USE = oil1
RATE GOR=600 WCUT=12
end

BLACKOIL use = oil2

Keyword index
717
PIPESIM User Guide

8.3.14 PUSH - Remote Action Editing (optional)


The PUSH statement is provided primarily to allow other computer programs to exert control over a
PIPESIM engine run, without the need to modify an existing input file. For a human, almost
everything that is possible with the PUSH statement can be accomplished far more easily by
editing the main input ('.psm') file with a text editor. However, designing a computer program to
reliably interpret and correctly modify a .PSM file without human help is surprisingly difficult. PUSH
is best viewed a replacement for a text editor and a human. Nevertheless, humans can sometimes
find PUSH statements useful as an alternative way to organize input data. (Beware however that
a .psm file containing PUSH statements may not behave as expected if it is itself the subject of
control by another program using PUSH.)
The PUSH statements are generally supplied in an additional input file (p.687) but this is not a
requirement.
PUSH allows an editing action (the action ) to be performed on a subsequent statement (the
target). The target is specified by its maincode and label The action can be: the addition of extra
text on the end of the target statement; addition of an extra statement before or after the target; or
the removal of the target statement.
Main-code: PUSH

MAINCODE= Required: Specifies the target maincode.

LABEL= or Specifies the label of the target statement. Serves to distinguish the required
OBJECT= target statement when multiple statements having the same maincode are
present. To specify that the target has no label (and thus prevent an earlier
statement that does have a label from being the target), supply
LABEL=*NONE.

TEXT= Text to be appended to the target statement. The text should be enclosed in
quotes since it will usually contain spaces, and equated pairs of keywords and
values. The supplied text must conform to the syntax necessary for the target
maincode, otherwise a syntax error will occur and processing will terminate.

ETEXT= Exclusive text to be appended to the target statement. When 2 or more PUSH
operations append text to the same target, the appended text will normally
grow as each push is actioned; however if ETEXT= is specified the current text
will replace any existing text resulting from earlier push(es).

LINE= OR Text to be added as a separate line after the target statement.


LINEAFTER=

LINEBEFORE= Text to be added as a separate line before the target statement.

REMOVE Results in the target statement being removed from the input. (This is actually
achieved by transforming it into a comment by prepending the comment
character '!'.)

ERROR= Sets the severity of the action when errors occur. The most common error is
that the position or target was not found, so the action did not occur. May be
set to one of the following:

Keyword index
718
PIPESIM User Guide

FATAL: Errors will be fatal, i.e. processing will terminate. A diagnostic


message will be issued to the screen and the output file. This is the default
behavior.

WARNING: Errors will result in a diagnostic message on the output file and a
message box on the screen, but processing will continue.

NOTE: Errors will result in a diagnostic message on the output file, processing
will continue.

SILENT: Errors will be silently ignored.

GLOBAL Specifies that this push statement is to be applied to all matching statements.
If GLOBAL is not specified, the first statement that matches the specified
maincode and label will be the only target.

Notes:
• Multiple PUSH statements may be present in the input file or additional files.
• If many PUSHes specify the same target, the order in which the actions occur is the order in
which they appear in the file. However the result may turn out to be reversed from that expected
by the user. For example, if 2 pushes each add a line after the same target (the LINE=
subcode), the second push will insert its new line immediately after the target thus displacing
the one added by the first push. For the TEXT= and LINEBEFORE= subcodes this does not
cause a problem, because the definition of the action corresponds to what the user expects. If
one push specifies REMOVE=, then all subsequent pushes will not find the target, so position
this push last.
• The text added with TEXT=, LINE= etc can be any text valid for the specified position in the file.
Multiple statements can be provided by separating them with a semicolon (':'). Remember to
enclose the text in quotes ('"') or apostrophes ('''). If the text you are adding itself contains
quotes , enclose it in apostrophes, and vice-versa.
• The subcodes TEXT=, ETEXT=, LINE=, LINEBOFORE= and REMOVE are mutually exclusive.
• Any statement that has a label starting with an exclamation point ('!') will be excluded from
being selected as a PUSH target. This is useful to prevent a line that was previously inserted
with one push from being modified or removed by a subsequent push.

8.3.15 PLOTFILEDATA
Main-code: PLOTFILEDATA

8.3.16 EXECUTE - deferred execution of a statement


Main-code: EXECUTE
The EXECUTE statement allows some other statement to be positioned within the system profile,
to be executed during system simulation. Normally, any statement in the profile is processed by the
input processor, and is used to build the system model. The system model consists of a set of

Keyword index
719
PIPESIM User Guide

global values, (for example fluid properties, options, inlet pressure, and so on.) and a set of
connected equipment items (for example pipes, pumps, chokes, flowlines, and so on). When the
system model is simulated, the global values cannot normally be changed, but use of the
EXECUTE statement makes some values available for control.
EXECUTE has no subcodes: instead, any text supplied on it will be stored, and interpreted as a
statement by the input processor when the system is simulated.
The EXECUTE statement should appear within the profile, that is after the PROFILE statement.

EXECUTE text comprising an otherwise complete and valid statement

8.3.17 USERDLL - Equipment


The API for the inclusion of user-defined 32-bit equipment DLL's is provided by Schlumberger.
See User Equipment DLL Case Study - User Pump
Main-code: USERDLL

FILENAME= The name of the DLL.

EPNAME= The entry point of the DLL - the actual name of the routine as exported
from the DLL

PSNAME= The internal PIPESIM name of the routine. The psname's must be unique
- the user should check that other DLLs specified in the userdll.dat file
(located in C:\Program Files\Schlumberger\PIPESIM\data for a standard
installation of PIPESIM - look for ep_ident) do not use the same
psname's.

LINKTYPE= 24 The DLL linkage type. Note that it must be 24

EPTYPE= The type entry point for the DLL. Note that it must be equipment to
EQUIPMENT distinguish it from flow correlations.

TITLE= The title text describing the DLL.

OPTIONS= The string that will be sent as the first argument to the routine. (This is a
global option, perhaps specified by the author of the DLL).

SDESCRIPTION=

LDESCRIPTION=

8.4 FLOW CORRELATION DATA


VCORR (p.723) Vertical Flow Correlation Options
HCORR (p.727) Horizontal Flow Correlation Options
Single Phase Flow Options (p.730)
User Defined DLL (p.732)

Keyword index
720
PIPESIM User Guide

8.4.1 CORROSION
Maincode: CORROSION
Subcodes:
This maincode allows corrosion rate to be calculated.
METHOD= or Specifies the correlation to be used. Choices are:
MODEL=

DEWAARD Uses the de Waard model.

NONE disables corrosion calculations

PHACT= Optional: Specifies the actual pH of the fluid system. If not


supplied the value will be calculated internally.

CC= or The multiplier Cc to correct for inhibitor efficiency or to match


EFFICIENCY= field data

8.4.2 EROSION Erosion Rate and Velocity (Optional)


Maincode: EROSION
This maincode allows erosion rate and erosional velocity to be calculated.
METHOD= Specifies the correlation method to be used. Available methods are:

API14E: The API 14 E method. This calculates erosional velocity assuming


solids-free production. Erosion rate is not calculated. The only other
subcode this method recognizes is K=, all others are ignored

SALAMA The SALAMA 2000 method.

K= or KEROS= The desired constant in the API 14 E equation. Default value is 100 in
engineering units. A value of 100 specified when SI units are being used
will be in SI units: this translates to approximately 82 in engineering units.
The value may be qualified with the units descriptor 'ENG' or 'SI' to specify
which units system to use when interpreting it.

H= or EROSRATE= The acceptable erosion rate. Used to calculate erosional velocity. Units are
in/1e3/year or mm/year, default 0.1 mm/year.

SANDRATIO= The rate of sand production, specified as a ratio with liquid rate. Units are
Parts Per Million , by volume, against stock-tank liquid rate. (The
equations in Salama's paper use a sand rate in Kg/day. This is obtained
from the supplied volume ratio using Salama's 'typical value' for sand
density, 2650 kg/m3.) If sand production ratio is zero, erosion rate will not
be calculated

W= or SANDRATE= The absolute rate of sand production, kg/day or lb/day. Use of this subcode
is not recommended unless the model also fixes the system flowrate. Sand

Keyword index
721
PIPESIM User Guide

production rate is better specified as a ratio with liquid rate, using the
SANDRATIO= subcode (see above).

SM= or S= This is the Geometry constant Sm in the Salama method, default 5.5.

CE= or Multiplier to match field data, default 1.


EFFICIENCY=

D= or SANDSIZE= The mean size of the sand grains. Units are in/1e3 or mm. Default 0.25 mm

SANDDENSITY= Density of the sand grains. Units are lb/ft3or kg/m3. Default 2650 kg/m3.

SANDSG= Specific gravity of the sand grains relative to water. Default 2.650

8.4.3 SLUG Slug Calculation Options (Optional)


Main-code: SLUG
The SLUG main-code allows the selection of slug behavior correlations. At present three slug
correlations are available: the severe-slugging group PI-SS proposed by Pots (p.673), and the slug
sizing correlations of Norris (p.672) and of Scott, Shoham and Brill (p.674).

PISS= ON Start calculation of PI-SS

OFF End calculation of PI-SS

SIZE= SSB Switch on Scott, Shohan and Brill slug size correlation.

NORRIS Switch on Norris slug size correlation.

OFF Switch off slug size correlation.

BP= ON Use BP Slug method. To see the results of this the following should
also be used: print custom = (b,o,a24, b24, c24, d24,
e24,f24,g24,h24,i24)

SGLV= MODIFIED Use the modified PIPESIM method for computing the sphere generated
(p. 0 ) liquid volume. This is the default method.

ORIGINAL Use original PIPESIM method for computing the sphere generated
(p. 0 ) liquid volume.

Note: The SIZE and PISS sub-codes are not related, and can be set independently of one another.

The PI-SS routine is based upon a correlation developed at Koninklijke Shell Laboratory. PI-SS is
a dimensionless number that is a means of quantifying the likelihood of severe riser-slugging.
Normally one would turn the PI-SS calculation on after the first node of the flowline and switch it off
at the downstream riser base. If the value of PI-SS is less than one at the riser base and the flow
regime (as predicted by the Taitel-Dukler correlation) is stratified, then severe riser slugging is
possible. Conversely, PI-SS values significantly greater than one indicate that severe riser slugging

Keyword index
722
PIPESIM User Guide

is not likely. The PI-SS number can also be used to estimate slug size. As a rule of thumb the slug
length will be approximately equal to the riser height divided by PI-SS, that is PI-SS values less
than unity imply slug lengths greater than the riser height. PI-SS is calculated at each node in the
flowline (while PISS=ON) using averaged holdup data, etc., but it is only the value recorded at the
downstream riser base which is of any real significance. PI-SS is printed as part of the PRIMARY
output (see the PRINT (p.706) main code).
The SIZE sub-code enables the user to specify a slug sizing correlation. At present two
correlations are available, NORRIS and SSB. The NORRIS correlation was developed from
Prudhoe Bay operational data and gives slug size as a function of pipe diameter. The SSB
correlation was developed by Scott, Shohan and Brill and published in SPE paper 15103 in April
1986. The correlation takes account of slug growth. Normally one would switch the SIZE option on
at the start of the profile and slug sizes will be automatically estimated whenever the flow regime
(as predicted by the chosen correlation) is one that will support slugs. It should be noted that the
slug size data output is only printed if SLUG is specified on the PRINT main code.

Slug catcher size


The following comments may help to determine the size of a slug catcher.
The slug output pages should be switched on from the Define Output dialog.
The size of a slug catcher is determined by one of the following parameters.
1. The amount of liquid generated by pigging the lines.
2. The amount of liquid generated by changing the flowrate in the flowline. At low flowrates there
will be a large holdup of liquid in the pipeline and at high flowrates there will be a small holdup
of liquid in the line. As the flowrate is increased you get a surge of liquid from the pipeline. The
flowrate increase can be calculated using Cunliffe's method (p.426).
3. Dealing with slugs created by severe riser slugging. The likelihood of severe riser slugging is
determined by the PI-SS correlation. Slugging will occur if there is a segregated flow regime
and a PI-SS number less than one. The size of the slug is determined by using the following
formula. Slug Size = Riser Volume/PI-SS number.
4. Dealing with hydrodynamic Slugging. This is determined by use of the SSB or Norris
Correlations. You need a slugging flow regime for this to occur such as intermittent. The slug
size and frequency is taken from the slug length and frequency table in the output. It is normal
that the slug catcher is sized for the 1 in 1000 slug. These two correlations can predict huge
slug sizes with volumes greater than the holdup in the pipeline. Therefore one must be careful
to check the holdup as the slug cannot be bigger than the total amount of liquid in the pipeline.
5. Dealing with terrain slugging. PIPESIM cannot accurately predict slugging. If the holdup
increases as the pipeline goes over successive humps - this may indicate a propensity for
terrain slugging.

8.4.4 VCORR Vertical Flow Correlation Options


See also: SPHASE Single Phase Flow Options (p.730)
Main-code: VCORR

Keyword index
723
PIPESIM User Guide

PLOSS= Pressure loss correlation (refer to the Summary of Valid Vertical Flow
Correlation Combinations (p.724)).

HOLDUP= Holdup correlation (refer to the Summary of Valid Vertical Flow Correlation
Combinations (p.724)).

MAP= Flow regime map (refer to the Summary of Valid Vertical Flow Correlation
Combinations (p.724)).

ANGLE= Angle above which vertical flow correlations are used (default = 45 o)

TYPE= This sub-code allows the commonly recommended combinations of flow


regime maps, holdup, and pressure loss correlations to be specified with one
sub-code instead of separate MAP=, HOLDUP=, and PLOSS= sub-codes.
Please refer to the table next page.

FFACTOR= Correlating or matching factor to be applied (as a multiplier) to the calculated


friction pressure gradient (default = 1.0). This subcode can be used to adjust
('tune') the friction pressure drop values calculated by the correlation to match
measured data.

HFACTOR= Correlating or matching factor to be applied (as a multiplier) to the calculated


liquid holdup fraction (default = 1.0). This subcode can be used to adjust
('tune') the liquid holdup (and hence elevation pressure drop) values calculated
by the correlation to match measured data.

SOURCE=

OVERRIDE=

ACCELL=

SWITCHES=

ENTRAINMENT=

OPTIONS=

Summary of valid vertical flow correlation combinations


The following table summarizes the valid combinations of pressure loss, holdup and flow pattern
map available for vertical flow. Entering non-valid combinations will result in an input data error.
For details on the vertical flow correlation abbreviations, refer to Vertical Flow Correlations -
Abbreviations (p.725).

PLOSS HOLDUP MAP TYPE

DR DR DR/TD DR

BBO BBO BB/TD BBO

Keyword index
724
PIPESIM User Guide

BBR BBR BB/TD BBR

ORK ORK ORK ORKISZEWSKI

GA GA GA

HB HB BB/DR/BJA HBR

HBO HBO BB/DR/BJA

BJA BJA1/BJA2 TD BJA

MB MB MB

Any BRIMIN1 Any

Any BRIMIN2 Any

NOSLIP NOSLIP NOSLIP NOSLIP

GRAY GRAY TD GRAY

Vertical flow correlations - abbreviations


The abbreviations for vertical flow correlations is different for each source. This topic covers the
BJA and TULSA sources. For OpenLink users and for flow correlations like OLGAS,LEDA, TUFFP
defined in the userdll.dat file, the source is the identifier (IDENT) for the flow correlation, while the
abbreviation is the entry point identifier (ep_ident) for the selection that the user wants to use.

BJA
The abbreviations for BJA are as follows:
ANSARI
Ansari Vertical Flow Correlation
BBO
Beggs & Brill Original
BBR.
Beggs & Brill Revised
BJA
BJA correlation
BJA1
Original BJA holdup correlation
BJA2
Revised BJA holdup correlation
BRIMIN 1 or 2
Brill & Minami Holdup Correlation

Keyword index
725
PIPESIM User Guide

DR
Duns and Ros
GA
Govier and Aziz and Forgassi
GRAY
Gray Vertical Flow Correlation
GRAYM
Gray (modified)
GRAYO
Gray (original)
HB
Hagedorn and Brown (Revised)
HBO
Hagedorn & Brown (Original)
HBR
Hagedorn & Brown
HBRDR
Hagedorn & Brown, Duns & Ros map
LEDA
LEDA steady-state correlation
MB
Mukherjee and Brill
NOSLIP
No Slip Assumption
OLGA
OLGA-S steady-state correlation
ORK
Orkiszewski
TD
Taitel Dukler
TU2P
TUFFP Unified 2-phase v2007.1

TULSA
The abbreviations for Tulsa are as follows:
TBB
Beggs & Brill

Keyword index
726
PIPESIM User Guide

TDR
Duns & Ros
TGA
Govier, Aziz
THB
Hagedorn & Brown (Original)
THBR
Hagedorn & Brown (Revised)
TMB
Mukherjee & Brill
TORK
Orkiszewski

8.4.5 HCORR Horizontal Flow Correlation Options


See also: SPHASE Single Phase Flow Options (p.730)
Main-code: HCORR

PLOSS= Pressure loss correlation (refer to the Summary of Valid Horizontal Flow
Correlation Combinations (p.728)).

HOLDUP= Holdup correlation (refer to the Summary of Valid Horizontal Flow Correlation
Combinations (p.728)).

MAP= Flow regime map (refer to the Summary of Valid Horizontal Flow Correlation
Combinations (p.728)).

TYPE= This sub-code allows the commonly recommended combinations of flow


regime maps, holdup, and pressure loss correlations to be specified with one
sub-code instead of the separate MAP=, HOLDUP=, and PLOSS= sub-codes.
Please refer to the table next page.

FFACTOR= Correlating or matching factor to be applied (as a multiplier) to the calculated


friction pressure gradient (default = 1.0). This subcode can be used to adjust
('tune') the friction pressure drop values calculated by the correlation to match
measured data.

HFACTOR= Correlating or matching factor to be applied (as a multiplier) to the calculated


liquid holdup fraction (default = 1.0). This subcode can be used to adjust
('tune') the Liquid holdup (and hence elevation pressure drop) values
calculated by the correlation to match measured data.

SOURCE=

ANGLE=

Keyword index
727
PIPESIM User Guide

OVERRIDE=

ACCELL=

SWITCHES=

ENTRAINMENT=

Summary of valid horizontal flow correlation combinations


The following summarizes the valid combinations of pressure loss, holdup and flow pattern map
available for horizontal or inclined flow. Entering non-valid combinations will result in an input data
error. For details on the horizontal flow correlation abbreviations, refer to Horizontal flow
correlations - abbreviations (p.725).

PLOSS HOLDUP MAP TYPE

DR DR/BJA DR/TD DR

DKAGAF DKAGA TD

DKAGAF EATON TD DKAGAF

BBO BBO/BJA1/BJA2 BB/TD BBO

BBR BBR/BJA1/BJA2 BB/TD BBR

BJA BJA1/BJA2/EATON TD BJA

BJA1 BJA1/BJA2/EATON TD

MB MB MB

HB HB BB/DR/BJA HBR

HBO HBO BB/DR/TD

OLI BJA1/BJA2/EATON TD OLIEMANS

MB MB MB

Any BRIMIN1 Any

Any BRIMIN2 Any

NOSLIP NOSLIP NOSLIP NOSLIP

Horizontal flow correlations - abbreviations


The abbreviations for vertical flow correlations is different for each source. This topic covers the
BJA and TULSA sources. For OpenLink users and for flow correlations like OLGAS,LEDA, TUFFP

Keyword index
728
PIPESIM User Guide

defined in the userdll.dat file, the source is the identifier (IDENT) for the flow correlation, while the
abbreviation is the entry point identifier (ep_ident) for the selection that the user wants to use.

BJA
The abbreviations for BJA are as follows:
BBR
Beggs and Brill (Revised)
BBO
Beggs and Brill (Original)
BBOTD
Beggs & Brill, Taitel Dukler map
BJA
Baker Jardine Revised
BJA1
BJA correlation
BJA2
Revised BJA holdup correlation
BRIMIN 1or 2
Brill and Minami Holdup Correlation
DKAGA
Dukler (AGA)
DKAGAD
Dukler, AGA & Flanagan
DKAGAF
Dukler, AGA & Flanagan (Eaton Holdup)
DR
Duns and Ros
HB
Hagedorn and Brown Revised
HBO
Hagedorn and Brown Original
LEDA
LEDA steady-state correlation
LOCKMAR
Lockhart & Martinelli
LOCKMARTD
Lockhart & Martinelli

Keyword index
729
PIPESIM User Guide

MB
Mukherjee and Brill
NOSLIP
No Slip Assumption
OLIEMANS
Oliemans
OLGA
OLGA-S Steady-State Correlation
OLI
Oliemans Correlation
TD
Taitel Dukler
TU2P
TUFFP Unified 2-phase v2007.1
XIAO
Xiao horizontal mechanistic model

TULSA
The abbreviations for TULSA are as follows:
TBB
Beggs & Brill
TDUK
Dukler
TMB
Mukherjee & Brill

8.4.6 SPHASE Single Phase Flow Options (Optional)


See also: Single Phase Flow Correlations (p.418), Horizontal Flow Correlation Options (p.405),
Vertical Flow Correlation Options (p.410)
PIPESIM will automatically select either the specified two-phase or single-phase correlation
depending on the phase behavior at the particular section in the pipeline. The single phase
correlation is set by default to the MOODY correlation. If no single-phase correlation is
specified but single-phase flow is encountered in the pipeline, the program automatically
switches to the MOODY correlation.
In addition, when the specified phase correlation is the Moody correlation or the Cullender-Smith
correlation, PIPESIM will calculate the Moody friction factor using either an iterative implicit method
(Colebrook-White equation (Moody chart)), an explicit method (see the Sonnad and Goudar paper
(p.674)) or a fast explicit or approximate method (see the Moody paper (p.671)) . The default
calculation method for the friction factor is the explicit method. The Moody friction factor calculation

Keyword index
730
PIPESIM User Guide

method will also have an impact on the horizontal and vertical flow correlations as the friction factor
used to compute the pressure gradient in the flow correlations will be evaluated based on the
method specified by the Moody friction factor calculation method.
Main-code: SPHASE

CORRELATION= Single-phase flow correlation.

AGA Use the AGA dry gas equation for single phase flow.

MOODY At Reynolds numbers greater than 2000, use the


method specified by the MOODYCALC option and at
Reynolds numbers less than 2000, assume laminar
flow (f=64/Re) (default).

PANA

PANB

WEYMOUTH

HAZENWILL

CULLSMITH Uses the Cullender and Smith Correlation for Gas with
a Moody friction factor calculated using the method
specified by the MOODYCALC option.

DRAGFACTOR= The AGA drag factor (default = 0.98).

LFMIN= The liquid volume fraction below which single phase


gas flow is assumed to exist (default = 0.00001).

LFMAX= The liquid volume fraction above which single phase


liquid flow is assumed to exist (default = 0.99).

TRMIN=

TRMAX=

TRMETHOD=

INTERPOLATE

CUTOFF

MAXIMUM

CUTOFF

COMPARE=

ON

Keyword index
731
PIPESIM User Guide

OFF

C= Hazen-Williams C parameter

LFPROP=

MOODYCALC EXPLICIT or SONNAD Sonnad 2007 linear approximation (default)

APPROXIMATE or Moody 1947 approximation


MOODY

IMPLICIT or Colebrook-White equation (Moody chart)


ITERATIVE

8.4.7 USERDLL - Flow Correlations


The API for user-defined multiphase flow correlation plug-in is provided by Schlumberger.
For a standard installation of PIPESIM, example Fortran source code is provided in the following
directory (assuming the default installation location):

C:\Program Files\Schlumberger\PIPESIM\Developer Tools\User Flow Correlations


\Fortran_code

. Two files are included, “UFC2P_Demo.f90” for 2-phase correlations and “UFC3P_Demo.f90” for
3-phase correlations. These files are self-documenting templates that will compile as is (using
Beggs-Brill as an example) and can be modified to interface with your own correlation and
compiled into a dll that is called directly by the PIPESIM engine. For PIPESIM 2012, configuration
of the flow correlations and related options is contained within the USERDLL.dat file which may be
edited by selecting Setup » Preferences » Choose Paths.

8.5 Well performance modeling


INTRODUCTION (p.733)
WELLPI (p.737) Well Productivity Index
VOGEL (p.738) Data for the Vogel Equation
FETKOVICH (p.738) Data for the Fetkovich Equation
JONES (p.739) Data for the Jones Equation
IFPPSSE (p.739) Data for the Pseudo-steady state inflow equation
WCOPTION (p.741) Well Completion Data
IPRCRV or IFPCRV (p.744) Well performance and/or coning relationship tabulation
IFPTAB (p.745) Inflow Performance Tabulation (obsolete)
CONETAB (p.747) Coning relationship Tabulation (obsolete)
BACKPRES (p.748) Backpressure Equation (BPE)
NAPOINT (p.829) System Analysis Point

Keyword index
732
PIPESIM User Guide

NAPLOT (p.825) System Analysis


HORWELL (p.748) Horizontal Well Inflow Performance
LAYER (p.750) Reservoir Layer properties
PERMTAB (p.753) Permeability Saturation Relationship Tabulation
HVOGEL (p.754)
FORCHHEIMER (p.754) Data for the Forchheimer Equation
FRACTURE Data for the Hydraulic Fracture IPR
TRANSIENT (p.754) Data for the Transient inflow equation.

8.5.1 Introduction
Several options for well performance modeling have been introduced. A number of basic options
are presently available and are summarized below with application limits:
1. Well productivity index (p.737). Oil and gas reservoirs. Black oil and compositional.
2. Vogel's equation (p.738). Oil reservoirs. Black oil only.
3. Fetkovich's equation (p.738). Oil reservoirs. Black oil only.
4. Jones' equation (p.739) . Oil and gas reservoirs. Black oil and compositional.
5. Pseudo steady state equation (p.739) . Oil and gas reservoirs. Black oil and single phase
compositional.
6. Well completion options (p.741) (such as perforation and gravel steady state pack models)
are available in association with the pseudo equation..
7. Inflow performance tabulation (p.745). Oil and gas reservoirs. Black oil and compositional.
Options 1 to 7 are mutually exclusive (except the Well Completion options, which must be used in
combination with the Pseudo-Steady-State Equation). If more than one option is entered, the last
one entered will be invoked. Normally inflow performance data would be entered after the INLET
statement, and must appear before the first NODE card in a case. However, if injection wells are
modeled, the system profile should describe the well geometry in the direction of flow, that is
ending at the bottom hole. The appropriate inflow performance data should appear after the bottom
hole and before the ENDCASE.
Printing inflow performance data
A comprehensive printout of the well inflow performance data can be obtained by invoking
the PRINT INFLOW option (Ref. Section 1.6).
Definition of reservoir type
For black oil cases, PIPESIM will interpret the reservoir type (oil or gas) from the way in
which the flow rate is defined under the RATE or ITERN statement as follows:
• If the rate is defined on the basis of liquid flow plus a gas/liquid ratio (that is LIQ plus
GLR sub-codes) then an "oil" reservoir is assumed.
• If the rate is defined on the basis of gas flow plus a liquid/gas ratio (that is . GAS plus
LGR sub-codes) then a "gas" reservoir is assumed.

Keyword index
733
PIPESIM User Guide

8.5.2 COMPLETION Completion Profile Delimiter


Main-code: COMPLETION
The profile delimiters (supercodes) are used by PIPESIM as required flags if the model contains
horizontal wells or if you wish to perform system analysis anywhere in the system profile. The
presence of the COMPLETION delimiter informs PIPESIM that subsequent wellbore sections form
a "completion," or "productive interval." The program will therefore model the flow of reservoir fluid
into the wellbore.

INLINE= If this sub code is present, the entire profile is modeled as a single unit. If it is absent,
the completion is modeled separately from the rest of the system profile.

EFFLENG= The effective length of the horizontal completion (m or ft). This allows you to specify
a completion length which is less than the actual length supplied with subsequent
NODE maincodes. Thus, sensitivities on length can be performed using the NAPLOT
maincode.

IPRPOINT=

DPRETIO=

TOL=

LABEL=

TYPE=

For datum reset feature, please refer to Node (p.782) .

Supercode
The supercodes are:
TUBING
Tubing Profile Delimiter
FLOWLINE
Flowline Profile Delimiter
RISER
Riser Profile Delimiter
Main-code: TUBING, FLOWLINE, RISER
The profile delimiters (supercodes) are used by PIPESIM as required flags if the model contains
horizontal wells or if you wish to perform system analysis anywhere in the system profile. The
portions of profile so delimited are sometimes be described as objects.
When any of these are encountered after the COMPLETION delimiter, the inflow modeling is
switched off, and the resulting flowrate is used for the remainder of the system profile.
Other modes of program behavior depend on the current delimiter, and the junctions of different
delimiters. For example, Heat Transfer data implying that a pipe is buried, will not be applied to a

Keyword index
734
PIPESIM User Guide

riser; the junction of a flowline and an upward-going riser is identified as a riser-base and triggers
checks on slugging parameters; the junction of tubing and flowline triggers actions relevant to the
wellhead.

LABE L= or The name of the profile object. This is used to print on the output file, and for
NAME= object identification with the PUSH (p.718) statement.

RESETDATUM= Can be set to YES (the default) or NO. The NODE statements on either side of
a supercode are, by default, assumed to be coincident. This allows the last
node of (for example) a previous flowline to specify the same position as the
first node of the next flowline, with no intermediate length of pipe joining them,
regardless of the values of distance and elevation these 2 nodes may specify.
This behavior can be reversed with RESETDATUM=NO, which will model a
pipe section between the 2 nodes in the same way as between any other 2
nodes in the same object.

INHERIT= Can be set to YES (the default) or NO. Controls the application of Upstream
Inheritance. Pipe object dimensions (for example Pipe ID, wall thickness,
coatings thickness and conductivity, burial configuration, and so on.) are by
default inherited from upstream objects. This allows each subsequent object to
be specified with a minimum of input data, as the only required values are
those that change between objects. However, mistakes in the specification of
data can easily occur with this mode of behavior, particularly when complex
pipe coatings and burial configurations are being specified, as unwanted data
from previous objects can be mistakenly inherited by the current object.
Specification of INHERIT=NO will ensure that each new object inherits nothing
from its upstream neighbor.

8.5.3 FCV : Flow control valve

Note: This keyword is only appplicable for PIPESIM 2012.3.

Main-code: FCV
Down hole flow control valves (FCV) allow so-called 'intelligent' or 'smart' wells to be modeled.
The methodology implemented provides a simple way of modeling single branch (that is non
multilateral) intelligent wells where the FCVs are located close to the reservoir.
The FCV statement should be placed in the system profile, immediately above the IPR statement
describing the completion that is to contain the FCV, If the model contains multiple completions,
then each of them can have an associated FCV.
FCVs are currently only available for point-type completions. If one is supplied for a distributed
completion, it will be ignored.

ECAREA= Equivalent Choke Area: the cross-section area of a choke bean that is of
equivalent size to the FCV port size setting. (in2 or mm2)
ECDIAM= Equivalent Choke diameter: the diameter of a choke bean that is of
equivalent size to the FCV port size setting. (in or mm)

Keyword index
735
PIPESIM User Guide

MAXLIQ= Upper limit for stock-tank liquid flowrate (sbbl/day or sm3/day).


MAXGAS= Upper limit for stock-tank gas flowrate (mmscf/day or mmsm3/day).
MAXMASS= Upper limit for total mass flowrate (lb/sec or kg/sec).
LIQFC= Liquid flow coefficient
GASFC= Gas flow coefficient
GASEQN= Sub-critical correlation choice. may be:
ASHFORD : the Ashford and Pierce correlation
MECHANISTIC : (default) The MECHANISTIC choke model is purely
theoretical, based on a combination of Bernoulli's equation with an
equation of continuity.
API14B : This is a special-case of the MECHANISTIC correlation, wherein
the GAS and Liquid Csp values are preset to 0.9 and 0.85 respectively.
DPFACTOR= Pressure ratio at which flow through choke becomes critical. (Default =
0.53). (It is also possible to force PIPESIM to calculate the Critical
Pressure Ratio; to do this, enter DPFACTOR=0.0.)
CD= Discharge coefficient (default = 0.6). This value is used to calculate the
flow coefficient, CSP.
DIAMTABLE=(,) A multiple-value dataset (p.685) containing a list of Equivalent Choke
Diameters, maximum 30 values. (in or mm). Exclusive with
AREATABLE=.
AREATABLE= A multiple-value dataset (p.685) containing a list of Equivalent Choke
Areas, maximum 30 values. (in2 or mm2). Exclusive with DIAMTABLE=
POSITION= If a table of diameters or areas is supplied, the POSITION= subcode
specifies which of them is to be used as the active initial diameter or area.
The diameters or areas are assigned position numbers, starting from
position zero for the smallest diameter or area. It is useful for the first
diameter or area to be set to a value of zero, this allows the FCV to be
closed.
PERCENTOPEN= or
OPEN=
SHUTMODE=

The subcodes MAXLIQ=, MAXGAS= and MAXMASS= are mutually exclusive. If a flowrate limit is
supplied with a value for ECAREA=, then the supplied area will be used first to calculate the
resulting flowrate. If this exceeds the limit then the area required to meet it will be calculated.

Example 1
This is a simple layer and point completion such as might appear as part of a larger multi-
completion model: LAYER temp = 220 use = 'fluid A' label = 'Layer one' WELLPI pwstatic = 3650
LPI=9.5 Example 2. This completion includes a coning relationship. LAYER and CONETAB may

Keyword index
736
PIPESIM User Guide

be supplied in either order as long as the CONETAB statements are not separated from one
another. The selected IPR maincode, JONES in this case, must always come last:

LAYER temp=240 F pres = 4503 psiause = 'fluid B'inject=NO label = 'Layer two'
conetab 0, 986, 0
conetab 1000, 986, 2.0
conetab 2699, 1096, 2.2
conetab 6329, 2540, 2.8
conetab 7288, 2980, 3.9
conetab 8082, 3370, 5.6
conetab 8805, 3770, 8.0
JONES LA=1e-4 LB=3e-2

8.5.4 WELLPI Well Productivity Index (Optional)


Main-code: WELLPI
The WELLPI statement allows the Productivity Index (p.432) to be specified for a point-type
completion or a distributed completion. Exactly one of the subcodes LPI=, GPI=, MIPI=, MCPI=,
LDPI=, GDPI=, MIDPI=, or MCDPI= should be provided.

Subcodes
PWSTATIC= Static bottom hole pressure (bara or psia). This is the bottom hole pressure at zero
flow rate.

LPI= Liquid Productivity Index (bbl/day/psi or sm 3/day/bar)

GPI= Gas Productivity Index (MMscf/day/psi/psi or MMsm 3/day/bar/bar) Note: Under


normal circumstances, a gas well PI is much smaller than the typical liquid well PI.
Typical gas well PIs are between 1E-3 and 1E-6 mmscf/day/psi 2. Oil well PIs
usually vary between 1 and 40 STB/D/psi.

MIPI= Mass Incompressible Productivity Index (lb/sec/psi or kg/s/bar)

MCPI= Mass Compressible Productivity Index, (lb/sec/psi/psi or kg/s/bar/bar)

LDPI= Liquid Distributed Productivity Index (bbl/day/psi/ft or sm 3/day/bar/m)

GDPI= Gas Distributed Productivity Index (MMscf/day/psi/psi/ft or MMsm 3/day/bar/bar/m)

MIDPI= Mass Incompressible Distributed Productivity Index (lb/sec/psi/ft or kg/s/bar/m)

MCDPI= Mass Compressible Distributed Productivity Index, (lb/sec/psi/psi/ft or


kg/s/bar/bar/m)

Keyword index
737
PIPESIM User Guide

BPCORR= Allows a correction to the straight-line PI to allow for gas breakout when the fluid
goes below its bubble point pressure: can be set to ON or OFF (default OFF). If
enabled, the portion of the IPR below the bubble point is modelled with a Vogel
relationship.

PICOEF= Specifies the PI coefficient for the Vogel equation used if BPCORR= is enabled.
(default 0.8)

8.5.5 WPCURVE (Optional)


Main-code: WPCURVE
This statement is obsolete, please do not use it.

8.5.6 VOGEL Vogel Equation (Optional)


Main-code: VOGEL
This keyword is used to specify data for Vogel's Equation (p.433).

Subcodes
PWSTATIC= Static bottom hole pressure (bara or psia). This is the bottom hole pressure at zero
flow rate.

AOFP= Absolute Open Flow Potential of the well (sm 3/d or STB/D). This is a hypothetical
liquid flow rate when bottom hole pressure is set to 0.0 psia

PICOEF= The PI-coefficient used in Vogel's equation to adjust the degree of curvature of the
inflow performance curve. Curvature increases with increasing PICOEF. A straight
line is produced when PICOEF=0. (Default = 0.8).

8.5.7 FETKOVICH Fetkovich Equation (Optional)


Main-code: FETKOVICH
This keyword is used to specify data for Fetkovitch's Equation (p.435).

Subcodes
PWSTATIC= Static bottom hole pressure (bara or psia). This is the bottom hole pressure at zero
flow rate.

AOFP= Absolute Open Flow Potential of the well (sm 3/d or STB/D). This is a hypothetical
liquid flow rate when bottom hole pressure is set at 0.0 psia.

EXP= Exponent used in the Fetkovich equation to adjust the degree of curvature of the
inflow performance curve. Unlike the Vogel equation it is not possible to produce a
linear well inflow characteristic as a special case of the Fetkovich equation. The
default is 1.0.

Keyword index
738
PIPESIM User Guide

8.5.8 JONES Jones Equation (Optional)


Main-code: JONES or FORCHHEIMER
This keyword is used to specify data for the Jones Equation (p.435).

Subcodes
PWSTATIC= Static bottom hole pressure (bara or psia). This is the bottom hole pressure at
a flow rate of zero.

A= Turbulent flow coefficient. (Use TYPE= to define fluid type.)

B= Laminar flow coefficient. (Use TYPE= to define fluid type.)

TYPE= Used to define the type of fluid.

LIQ Liquid

GAS Gas

LA= Liquid turbulent flow coefficient. (psi /MMscf 2/d 2 or bar/m 6/d 2)

LB= Liquid laminar flow coefficient. (psi/MMscf/d or bar/m 3/d)

GA= Gas turbulent flow coefficient. (psi 2/MMscf 2/d 2 or bar 2/m 6/d 2)

GB= Gas laminar flow coefficient. (psi 2/MMscf/d or bar 2/m 3/d)

8.5.9 IFPPSSE : Data for the Pseudo Steady State Equation (Optional)
Main-code: IFPPSSE
The Pseudo Steady-state equation employs a radial reservoir model. The equation takes into
account both the effects of laminar and turbulent flows on pressure drawdown.

PWSTATIC= Static bottom hole pressure (bara or psia). This is the


bottom hole pressure at zero flow rate.

PERM= Average formation permeability (md).

THICKNESS= Average formation thickness (metres or feet).

RADE= Radius of external boundary of drainage area (metres or


feet). Default = 609.6 m or 2000 ft.

SKIN= Dimensionless skin factor (mechanical). Default = 0.

DIAMWELL= Wellbore diameter.

IPRTYPE= Inflow performance relationship model

PSS Pseudo steady-state model

Keyword index
739
PIPESIM User Guide

JONES Jones mode;

BASIS= or FLOWTYPE=

LIQUID

GAS

2PHASE

GASMETHOD=

PSEUDO Use pseudo pressure

SQUARED Use pressure squared

GA=

GB=

SOURCE=

ST Use the stock tank flow formulation of the pseudo steady


equation (default)

RES Use the reservoir flow formulation of the pseudo steady


equation

BPCORRECTION= Controls whether to apply the Vogel correction below the


bubble point

YES

NO

PICOEFF= Vogel coefficient for Vogel correction. Default = 0.8

DSKINLIQUID= Dynamic skin for liquid phase. Default = 0.

DSKINGAS= Dynamic skin for gas phase. Default = 0.

RESAREA= Reservoir area. (If entered, reservoir radius is calculated)

SHAPEFACTOR= Reservoir shape factor. (If entered, reservoir radius is


calculated) Default = 31.62

DRAINAGESKIN= Reservoir drainage skin.

RESMOBILITY= Reservoir mobility. Should only be used for injection


systems (1/cp).

Keyword index
740
PIPESIM User Guide

Note: If the skin is entered with the IFPPSSE main-code, any skin associated with the Well
Completion options (see Section 7.6) will be overwritten by this value.

8.5.10 WCOPTION Well Completion Data (Optional)


Main-code: WCOPTION
Well Completion Options (WCOPTION) allow the mechanical and dynamic skin factors to be
calculated from the details of the well completion configuration. Note: The well completion options
are only valid when used in conjunction with the Pseudo-Steady-State or Transient equations (as
defined under the IFPPSSE and TRANSIENT main-codes).
The WCOPTION maincode is an alternative to the FRACTURE maincode, and is exclusive with it.
TYPE= Specifies the type of well completion

OPENHOLE Openhole completion option. The program calculates


the skin factors assuming the well is not cemented. The
required data are DDAMAGE, PDAMAGE, INTERVAL,
PVERT and DEVIATION. All other sub-codes will be
ignored.

OPENGRAVEL Openhole gravel pack completion option. The required


data are DDAMAGE, PDAMAGE, INTERVAL, PVERT,
DEVIATION, PGRAV and DSCREEN. All other sub-
codes will be ignored.

PERFORATED Perforated completion option. The program calculates


the skin factors using the McLeod (p.457) or Karakas/
Tariq model. The required sub-codes are; DDAMAGE,
PDAMAGE, INTERVAL, PVERT, DEVIATION,
PERFSNMTHD, SHOTS, LPERF, DPERF,
PHASEANGLE, DCOMP, PCOMP. All other sub-codes
will be ignored.

GRAVELPACKED Gravel-packed and perforated completion Option. The


required sub-codes are; DDAMAGE, PDAMAGE,
INTERVAL, PVERT, DEVIATION, PERFSNMTHD,
SHOTS, LPERF, DPERF, PHASEANGLE, DCOMP,
PCOMP, PGRAV, DSCREEN, CASINGID and
LTUNNEL. All other sub-codes will be ignored.

FRACPACK Fracpack completion option. (i.e. a gravel packed


hydraulic fracture model). The required sub-codes are;
INTERVAL, PVERT, DEVIATION, SHOTS, DPERF,
PGRAV, DSCREEN, CASINGID, LTUNNEL,
FPHLFRAC, FPWFRAC, FPPPERM, FPDDEPTH,
FPDPERM, FPCLEN, FPCPERM. All other sub-codes
will be ignored

Keyword index
741
PIPESIM User Guide

INTERVAL= Completion interval length (metres or feet). Default =


formation thickness, as defined previously under the
IFPPSSE (p.739) main-code.

PDAMAGEDZONE= Permeability of the damaged zone around well bore


(md). The formation data should be given under the
IFPPSSE (p.739) main-code. Default = formation
permeability.

DDAMAGEDZONE= Diameter of the damaged zone around well bore (mm


or inches). Default = well bore radius (i.e., damaged
zone does not exist).

LPERFORATION= Length of perforation into the formation (mm or inches).


Default = infinity (which will result in a zero skin due to
perforation).

SHOTS= Shot density (shots/m or shots/ft). Default = 13.12


shots/m or 4 shots/ft.

PCOMPACTEDZO= Permeability of the compacted zone (or crushed zone)


around the perforation. Default = permeability of the
damaged If neither the damaged zone nor compacted
zone permeability is defined, the default value for
compacted zone permeability will be the formation
permeability specified under IFPPSSE. zone.

PVERTICAL= Permeability in the vertical direction (md). Default =


formation permeability, as defined previously under the
IFPPSSE (p.739) main-code.

DPERFORATION= Diameter of perforation (mm or inches). Default = 12.7


mm or 0.5 inches.

DCOMPACTEDZO= Diameter of the compacted zone (or crushed zone)


around the perforation. Default = diameter of the
perforation (i.e., compacted zone does not exist).

PGRAVEL= Permeability of gravel pack (md). Default = estimated


according to sieve size input.

SIEVESIZE=

LTUNNEL= Length of tunnel; which is usually the sum of the


thicknesses of cement, casing and annulus (mm or
inches). Default = 0.0.

DSCREEN= Gravel pack screen ID (mm or inches).

PHASEANGLE= Perforation phase angle (degrees).

Keyword index
742
PIPESIM User Guide

DEVIATION= Well deviation (degrees).

CASINGID= Casing ID (mm or inches).

FPDDEPTH= Fracture damage depth (mm or inches). For fracture


face skin term.

FPDPERM= Fracture face damage permeability (md). For fracture


face skin term.

FPPPERM = Fracture proppant permeability (md). Frac pack


proppant permeability.

FPCLEN = Frac pack choke length (mm or inches). Choke length


for choke fracture skin term.

FPCPERM= Frac pack choke permeability (md). Choke permeability


for choke fracture skin term.

FPWFRAC= Fracture width (mm or inches). Frac pack fracture


width.

FPHLFRAC= Fracture half length (ft or m). Frac pack fracture half
length.

PERFSKNMETHOD= Method for calculation of perforation skin.

0 McLeod (p.457) model

1 Karakas / Tariq model

DZSKINCALC=

GPSKINCALC=

PFSKINCALC=

PPDSKINCALC=

FPSKINCALC=

FACESKINCALC=

CHOKESKINCALC=

Note: The well completion options are only valid when used in conjunction with either the Pseudo-
Steady-State equation or the Transient equation (as defined under the IFPPSSE (p.739) and
TRANSIENT (p.754) maincodes). All data entered under the WCOPTION main-code will be
ignored if the IFPPSSE or TRANSIENT main-codes are not also specified.

Keyword index
743
PIPESIM User Guide

8.5.11 IPRCRV or IFPCRV: Inflow Performance Curve


The IPRCRV statement is a generalized replacement for IFPTAB, GIFPTAB, and CONETAB. It
allows a tabular Inflow Performance Relationship (IPR) to be specified using PIPESIM's multiple
value syntax (p.685). A Coning relationship can also be supplied, either stand-alone, or in addition
to a tabular IPR. The available range of formats in which the data can be supplied is a superset of
those available with IFPTAB, GIFPTAB and CONETAB.
Maincode: IPRCRV or IFPCRV

NAME= Required. Defines the name of the curve. This name is then used on (a)
subsequent LAYER statement(s).

GAS=(...) Specifies values of Gas flowrate (mmscfd or mmsm3d). Exclusive with LIQ=
and MASS=.

LIQ=(...) Specifies values of liquid flowrate (sbbl/d or sm3/d). Exclusive with GAS= and
MASS=.

MASS=(...) Specifies values of mass flowrate (lb/sec or kg/sec). Exclusive with GAS= and
LIQ=.

GLR=(...) Specifies values of Gas Liquid Ratio (scf/sbbl or sm3/sm3). Exclusive with
GOR=, OGR=, LGR=.

GOR=(...) Specifies values of Gas Oil Ratio (scf/sbbl or sm3/sm3). Exclusive with GLR=,
OGR=, LGR=.

OGR=(...) Specifies values of Oil Gas Ratio (sbbl/mmscf or sm3/mmsm3). Exclusive with
GOR=, GLR=, LGR=.

LGR=(...) Specifies values of Liquid Gas Ratio (sbbl/mmscf or sm3/mmsm3). Exclusive


with GOR=, OGR=, OGR=.

GWR=(...) Specifies values of Gas Water Ratio (scf/sbbl or sm3/sm3). Exclusive with
WGR= , WCUT=.

WGR=(...) Specifies values of Water Gas Ratio (sbbl/mmscf or sm3/mmsm3). Exclusive


with GWR= , WCUT=.

WCUT=(...) Specifies values of Watercut (% vol/vol). Exclusive with WGR= , GWR=.

PWSTATIC= Specifies the reservoir static (zero flowrate) pressure (psia or Bara).

PWF=(...) Specifies values of Flowing Bottom Hole Pressure (psia or bara). Exclusive
with DP=. Must be accompanied by PWSTATIC= unless the first flowrate value
point is zero.

DP=(...) Specifies values of drawdown (Delta pressure, the difference between PWS
and PWF). (psi or bar). Exclusive with PWF=, and must be accompanied by
PWSTATIC=.

Keyword index
744
PIPESIM User Guide

GASSG=(...) Specifies values of Gas Specific Gravity in a coning table. Exclusive with
CONEDGASSG=.

DEGREE= The degree of polynomial to fit to the data, default 1.

CONEDGASSG= Specifies the Specific gravity of the gas in the gas cap. Used to calculate the
produced gas SG. Exclusive with GASSG=.

Exactly one of the flowrate subcodes GAS=, LIQ= or MASS= must be specified. Then:
• To specify an IPR table, supply also one of PWF= or DP=.
• To specify a gas or liquid coning table, supply also one of GLR=, GOR=, LGR=, or OGR=. The
gas specific gravity may be provided with GASSG= values, or a single value of
CONEDGASSG=.
• To specify a water coning table, supply one of WGR=, GWR=, or WCUT=.
Gas and Water coning can be supplied with IPR data in the same table.
Care must be taken when combining the coning subcodes, since some combinations can cause
unphysical situations, and others can leave the system undefined. For example, if OGR= and
WCUT= are provided, the water flowrate is undefined when OGR is zero, so WGR= should be
used instead of WCUT= or LGR= instead of OGR=. If GLR= and GWR= are provided, the GWRs
must always be less than the GLRs, so WCUT= should be used instead of GWR=, or OGR=
onstead of LGR=

Examples
1. This defines a coning table for a liquid production well. The statement has been provided on 2
lines using the '&' character as the continuation marker at the end of the first line. The entire
statement (i.e. the total characters in all the continued lines) may be no more than 255 characters
in length.

IFPCRV name=cc1 LIQ=(0,1000,2000,3000,4000) GLR=(300,300,550,600,620) &


WCUT=(10,10,18,22,30) GASSG=(.71 ,.71 ,.68 ,.67 ,.669)

2. This defines the same coning table as above, but shows how multiple statements can be used.
Each statement may be no more than 255 characters in length, but the use of multiple statements
allows more data points to be entered if necessary. Note that the curve name must appear on
every statement.

IFPCRV name=cc1 LIQ= (0 ,1000,2000,3000,4000)


IFPCRV name=cc1 GLR= (300 ,300 ,550 ,600 ,620 )
IFPCRV name=cc1 WCUT= (10 ,10 ,18 ,22 ,30 )
IFPCRV name=cc1 GASSG=(.71 ,.71 ,.68 ,.67 ,.669)

8.5.12 IFPTAB Inflow Performance Tabulation (Optional)


Main-code: IFPTAB

Keyword index
745
PIPESIM User Guide

Note: The IFPTAB statement is obsolete, its functionality has been replaced by IPRCRV (p.744).

Specifies a liquid inflow performance relationship in the form of a table of bottom hole pressure
versus flow rate. Each IFPTAB statement holds a single data point. To complete the tabulation, at
least four statements are required.

Values
should be provided without keywords in a strict positional order, as follows:

value 1 Data point ordinal. If the IFPTAB statements are provided in order of increasing
flowrate this can be set to 0 for all statements (recommended) ; otherwise, it must be
a value between 1 and 30 to specify the ordinal.

value 2 Liquid flow rate value at stock tank conditions. (sbbl/day or sm3/day)

value 3 Bottom hole pressure (bara or psia).

value 4 Gas Oil Ratio (optional, scf/sbbl or sm3/sm3)

value 5 Watercut (optional, %)

EXECUTE see note 4.

Notes:
1. The first 3 values are mandatory. If values 4 and 5 are present they define a table of coning
performance for the well or completion
2. One of the data points must be at zero flow rate such that the corresponding pressure is the
static bottom hole (and reservoir) pressure.
3. The ordinal (value 1) is present for historical reasons to ensure backwards compatibility with
earlier versions of the PIPESIM engine. As long as the statements are provided in order of
increasing flowrate, and no other statements apart from IFPTAB appear in the middle of the
table, the value can be left at zero.
4. If the IFPTAB table is provided inside the system profile, the last statement must contain no
values, but instead must contain the EXECUTE sub-code. This syntax ensures that only one
completion is actually executed regardless of the number of IFPTAB statements actually
present. If IFPTAB is provided outside the system profile the EXECUTE subcode is
unnecessary.
5. If your model contains multiple completions, 2 or more IFPTAB tables can be used to enter data
relevant to each completion.

Example
! n liq pwf gor wcut
ifptab 0 0 3000 986 0

Keyword index
746
PIPESIM User Guide

ifptab 0 1000 2990 986 2.0


ifptab 0 2699 2920 1096 2.2
ifptab 0 6329 2800 2540 2.8
ifptab 0 7288 2600 2980 3.9
ifptab 0 8082 2400 3370 5.6
ifptab 0 8805 2003 3770 8.0
ifptab execute

The ! line is a comment line.

8.5.13 CONETAB Coning Relationship Tabulation (Optional)


Main-code: CONETAB
The CONETAB statement is obsolete, its functionality has been replaced by IPRCRV (p.744).
Specifies a coning relationship for a well or completion, in the form of a table of stock-tank liquid
flowrate versus produced GOR and watercut. Each CONETAB statement holds a single data point.
To complete the tabulation, at least four statements are required. CONETAB does not define an
inflow performance relationship, it is intended to be used in addition to an existing maincode that
specifies the desired IPR. Values should be provided without keywords in a strict positional order,
as follows:

LIQUID= Liquid flow rate value at stock tank conditions. (sbbl/day or sm 3/day)

GOR= Gas Oil Ratio (scf/sbbl or sm 3/sm 3)

WCUT= Watercut (%)

Notes:
1. The CONETAB table should be provided in the system profile immediately before the maincode
specifying the required IPR.
2. No other maincode should appear in the body of the table.
3. Values should be provided in increasing order of liquid flow rate.
4. If your model contains multiple completions, 2 or more CONETAB tables can be used to enter
data for each completion.
5. For BLACKOIL (p.803) fluids, the Specific Gravity of the coned and associated gas should be
provided with the PROP (p.805) statement. See example below.

Example
For example:

! liq gor wcut conetab 0 986 0 conetab 1000 986 2.0 conetab 2699 1096 2.2
conetab 6329 2540 2.8 conetab 7288 2980 3.9 conetab 8082 3370 5.6 conetab
8805 3770 8.0

Keyword index
747
PIPESIM User Guide

8.5.14 BACKPRES Back Pressure Equation (BPE) (Optional)


Main-code: BACKPRES
This keyword is used to specify data for the Back Pressure Equation (p.436).

Subcodes
PWSTATIC The static reservoir pressure (psia or bar)

N The back pressure exponent (dimensionless).

C The back pressure constant (dimensions of (mmscf/d)/ (psi 2) n or equivalent SI).

8.5.15 HORWELL Horizontal Well Inflow Performance


The following Inflow Performance options are available in addition to the Distributed Productivity
Index Inflow option (see WELLPI (p.737))
• Pseudo-steady state equation of Babu and Odeh for oil wells
• Joshi's steady-state equation
• Backpressure equation
The backpressure equation is accessed via the BACKPRES maincode BACKPRES (p.748), which
applies to horizontal completions as well as vertical. As with the WELLPI maincode, WELLPI
(p.737), the backpressure C and N parameters are assumed to apply per unit length of wellbore.
The steady-state and pseudo steady-state options are both accessed via the TYPE= subcode of
the HORWELL maincode. The well completion option, WCOPTION (p.741) , can be used in
conjunction with the HORWELL maincode.
Main-code: HORWELL

TYPE= PSSOIL The PSSOIL subcode calculates the horizontal well distributive
productivity index based on Babu and Odeh's (p.664) SPE paper
18298. It is recommended the user read this reference before
applying the equation. The equation is based upon the pseudo-
steady state IPR well model applied to a rectangular drainage area.

ADIM Drainage width perpendicular to the well (ft or m).

BDIM Drainage width parallel to the well (ft or m).

THICK Reservoir thickness (ft or m).

KX Permeability in the x-direction (that is Kh) (mD)

KY Permeability in the y-direction (parallel to well) (mD).

KZ Permeability in the z-direction (that is Kv) (mD).

XZERO X-ordinate of horizontal well trajectory (ft or m).

Keyword index
748
PIPESIM User Guide

YONE Starting y-ordinate of horizontal well trajectory (ft or m).

YTWO Ending y-ordinate of horizontal well trajectory (ft or m).

ZZERO Z-ordinate of horizontal well trajectory (ft or m).

RWELL Sandface radius (such as pipe + annulus + cement) (in or mm).

SKIN Mechanical skin factor (dimensionless).

PSSGAS The pseudo-steady state gas flow equation is based upon a circular
drainage area and is described in Joshi's (p.669) "Horizontal Well
Technology". It is recommended that the user read this reference
and Inflow Performance Relationships for Horizontal Completions
(p.464) . This equation contains two skin terms; the skin due to
drilling/perforations and the rate-dependent skin due to turbulent gas
flow around the wellbore.

THICK Reservoir thickness (ft or m).

KX Permeability in the x-direction (that is Kh) (mD).

KY Permeability in the y-direction (parallel to well) (mD).

KZ Permeability in the z-direction (that is Kv) (mD).

RWELL Sandface radius (i.e. pipe+annulus+cement) (in or mm).

REXT External boundary radius of drainage area (ft. or m). Default = infinity

SKIN Mechanical skin factor (dimensionless).

SSOIL The simplest form of horizontal well productivity calculations are the
steady-state analytical solutions which assumes that the pressure at
any point in the reservoir does not change with time. The steady-
state distributive productivity index is based upon Joshi's (p.669)
SPE 16868 "Review of Horizontal and Drainhole Technology". The
equation is based on the assumption that the horizontal well drains
an ellipsoidal volume around the wellbore of length L. See Inflow
Performance Relationships for Horizontal Completions (p.464) , for
more details.

ECCENT Wellbore eccentricity (i.e. offset of the well from the centre of the pay
zone) (in or mm).

THICK Reservoir thickness (ft or m).

KX Permeability in the x-direction (that is Kh) (mD).

KY Permeability in the y-direction (parallel to well) (mD).

KZ Permeability in the z-direction (i.e. Kv) (mD).

Keyword index
749
PIPESIM User Guide

RWELL Sandface radius (that is pipe+annulus+cement) (in or mm).

REXT External boundary radius of drainage area (ft or m).

SKIN Mechanical skin factor (dimensionless).

SSGAS The steady-state gas distributive productivity equation is described in


Joshi's (p.669) "Horizontal Well Technology", Chapter 9, and Inflow
Performance Relationships for Horizontal Completions (p.464)

THICK Reservoir thickness (ft or m).

KX Permeability in the x-direction (that is Kh) (mD).

KY Permeability in the y-direction (parallel to well) (mD).

KZ Permeability in the z-direction (that is Kv) (mD).

RWELL Sandface radius (that is pipe+annulus+cement) (in or mm).

REXT External boundary radius of drainage area (ft or m).

SKIN Mechanical skin factor (dimensionless).

8.5.16 LAYER Reservoir Layer Properties


Main-code: LAYER
LAYER specifies the presence of a distinct reservoir Layer or Zone. It allows the properties of a
fluid to be defined, along with its pressure and temperature. Some additional layer-specific
properties can also be set. LAYER is intended to be used in a model that contains multiple
completions, which may be point-type, or distributed/horizontal. It should only appear within the
system profile, and be followed by a statement that selects a choice of IPR relationship, for
example, WELLPI, FETKOVICH, IFPPSSE, and so on.
All subcodes are optional.

PWSTATIC= or Reservoir layer (Static bottom hole) pressure (bara or psia). This can
PRESSURE= also be defined on the selected IPR maincode, in which case it may be
omitted from LAYER. If supplied on both, the one on the IPR will be
used.

TEMPERATURE= Reservoir layer temperature (F or C). This should be the same as the
ambient temperature on the node, and is therefore unnecessary.

USE= or FLUIDNAME= Name of a Black Oil or Compositional fluid, as previously defined with
BEGIN FLUID (p.716) . Exclusive with PVTFILE=.

PVTFILE= Name of an existing .PVT file defining a compositional fluid. Exclusive


with USE=.

Keyword index
750
PIPESIM User Guide

INJECT= Controls if the a layer will accept fluid injection: can be set to YES or NO,
default YES.

IPRCURVENAME= Specifies the name of an Inflow Performance and/or Coning curve for
the Completion, as defined in (a) previous IPRCRV (p.744) statement(s).

LDORATE= or Specifies a fixed, overriding value for the Specific Inflow Rate in a
MDORATE= or horizontal completion. Normally the inflow rate of a horwell is calculated
GDORATE= from the supplied Inflow Performance data, and reservoir and wellbore
pressure difference. If one of these subcodes is supplied however, all
other data is ignored, and the reservoir inflow rate is unconditionally set
to this value. LDORATE= supplies a Liquid rate (bbl/day/ft or m3/day/m);
GDORATE= supplies a gas rate (mmscf/day/ft or mmsm3/day/m),
MDORATE= supplies a mass rate (lb/sec/ft or Kg/sec/m).

EXECUTE= For use with IPRCURVENAME=. If the supplied curve specifies a


complete Inflow Performance relationship, this subcode can be used to
render it executable.

PERMCURVENAM= or Specifies the name of an Oil/Water Relative Permeability table or curve


PERMCRVNAME= for the completion, as defined in (a) previous PERMCRV (p.752)
statement(s).

SATURATION= For use with PERMCURVENAME=. Allows the reservoir saturation value
to be specified. This results in the calculation of the watercut of the
produced fluid. If absent, the specified fluid watercut is used, and
reservoir saturation calculated from it.

HBALANCE= or Specifies the thermodynamic route for calculation of temperature/


ROUTE= enthalpy change consequent upon the DP across the completion. May
be set to ISENTHALPIC, for constant enthalpy (the default), or
ISOTHERMAL, for constant temperature.

Examples
Example 1
This is a simple layer and point completion such as might appear as part of a larger multi-
completion model:

LAYER temp = 220 use = 'fluid A' label = 'Layer one'


WELLPI pwstatic = 3650 LPI=9.5

Example 2
This completion includes a coning relationship defined with . IPRCRV (p.744) , which must appear
first. LAYER follows because it references the curve name defined in the IPRCRV. Finally the
selected IPR, JONES, comes last:

IFPCRV name=cc1 LIQ= (0 ,1000,2000,3000,4000)


IFPCRV name=cc1 GLR= (300 ,300 ,550 ,600 ,620 )

Keyword index
751
PIPESIM User Guide

IFPCRV name=cc1 WCUT= (10 ,10 ,18 ,22 ,30 )


IFPCRV name=cc1 GASSG=(.71 ,.71 ,.68 ,.67 ,.669)
LAYER temp=240 F pres=4503 psia use='fluid B' inject=NO IPRCURV=cc1
label='Layer two'
JONES LA=1e-4 LB=3e-2

8.5.17 RESERVOIR
Main-code: RESERVOIR
This maincode is obsolete, please do not use it.

8.5.18 PERMCRV: Curves of Relative Permeability versus Saturation


(Optional)
Main-code: PERMCRV
The PERMCRV statement is an alternative to PERMTAB (p.753) . Both these statements allow a
table/curve of oil/water relative permiability to be entered as a function of water saturation. They
differ in the format of the statements: PERMTAB allows a tabular data entry format using multiple
statements, whereas PERMCRV offers subcodes that accept PIPESIM's multiple value syntax
(p.685). PERMCRV requires the curve to be given a name that can be referenced in one or more
subsequent completions.

NAME= Required. Defines the name of the curve. This name is then used on (a) subsequent
LAYER statement(s).

SAT= Water Saturation in the reservoir, as a ratio 0 to 1.

OIL= Oil relative permeability, as a ratio 0 to 1.

WAT= Water relative permeability, as a ratio 0 to 1.

The complete definition of a curve requires all subcodes to be specified, but they may be spread
over 2 or 3 statements that reference the same curve name. NAME= must appear on all
statements.

Example
This example shows a table containing the same data as the example given for PERMTAB
(p.753) :

PERMCRV name=pc1 SAT = (0.0, 0.1, 0.2, 0.3 , 0.4 , 0.5 , 0.6, 0.7 , 0.8 ,
0.9 , 1 )
PERMCRV name=pc1 OIL = (0.9, 0.9, 0.9, 0.6 , 0.43, 0.35 , 0.2, 0.13, 0.07,
0 , 0 )
PERMCRV name=pc1 WAT = (0.0, 0.0, 0.0, 0.05, 0.1 , 0.125, 0.2, 0.33, 0.44,
0.44, 0.44)
layer PERMCURV=pc1 temp = 185 F use = oil44 inject=no label = 'strat
bk'
ifppsse pwstatic = 4269 psia perm = 200 md thickness = 50 ft &
rade = 2000 ft skin = 2 diamwell = 5 in

Keyword index
752
PIPESIM User Guide

8.5.19 PERMTAB: Tabulation of Relative Permeability versus Saturation


(Optional)
Main-code: PERMTAB
The PERMTAB statement is an alternative to PERMCRV. (p.752) Both statements allow entry of a
table of oil and water relative permeability against water saturation, in a different format.
Each PERMTAB statement holds a single data point. To complete the tabulation, at least four
statements are required. PERMTAB does not define an IPR relationship, it should only be used in
addition to the IFPPSSE maincode. If provided with any other IFP maincode it will be ignored.
Values should be provided without keywords in a strict positional order, as follows:

value 1 Water Saturation in the reservoir, as a ratio 0 to 1.

value 2 Oil relative permeability, as a ratio 0 to 1.

value 3 Water relative permeability, as a ratio 0 to 1.

Notes:
1. The PERMTAB table should be provided in the system profile immediately before the IFPPSSE
maincode.
2. No other maincode should appear in the body of the table
3. Values should be provided in increasing order of Water Saturation
4. If your model contains multiple completions, 2 or more PERMTAB tables can be used to enter
data for each completion.

Example
This example shows a table containing the same data as the example given for PERMCRV
(p.752) :

! wsat oil rp water rp


permtab 0.0 0.9 0.0
permtab 0.1 0.9 0.0
permtab 0.2 0.9 0.0
permtab 0.3 0.6 0.05
permtab 0.4 0.43 0.1
permtab 0.5 0.35 0.125
permtab 0.6 0.2 0.2
permtab 0.7 0.13 0.33
permtab 0.8 0.07 0.44
permtab 0.9 0.0 0.44
permtab 1.0 0.0 0.44
layer temp = 185 F use = oil44 inject=no label = 'strat bk'
ifppsse pwstatic = 4269 psia perm = 200 md thickness = 50 ft &
rade = 2000 ft skin = 2 diamwell = 5 in

Keyword index
753
PIPESIM User Guide

8.5.20 HVOGEL (Optional)


Main-code: HVOGEL

PWSTATIC=

AOFP= Absolute open flow potential

RF= Recovery factor

8.5.21 FORCHHEIMER (Optional)


Main-code: FORCHHEIMER
see the JONES (p.739) maincode.

8.5.22 FRACTURE: Data for Hydraulic Fracture


Main-code: FRACTURE
This maincode specifies that the mechanical and dynamic skin factors are to be calculated from
the details of the well fracture configuration provided. Note: The fracture options are only valid
when used in conjunction with the Pseudo-Steady-State or Transient equations (as defined under
the IFPPSSE and TRANSIENT main-codes).
The FRACTURE maincode is an alternative to the WCOPTION maincode, WCOPTION (p.741),
and is exclusive with it.

PERMEABILITY= Average fracture permeability (md).

WIDTH= Average fracture width (feet or metres).

LENGTH= Fracture half-length (feet or metres).

RESAREA= Reservoir area (square feet or square metres).

TRANSIENT= Controls the Transient option. May be set to ON or OFF. Default OFF.

POROSITY= Reservoir porosity (dimensionless, a value between 0 and 1.) Ignored unless
TRANSIENT=ON.

COMPRESS= Reservoir compressibility (1/psi or 1/Bar). Ignored unless TRANSIENT=ON.

TIME= Elapsed time since start of production (hours). Ignored unless


TRANSIENT=ON.

CONDUCTIVITY=

See also Hydraulic Fracturing.

8.5.23 TRANSIENT: Data for the Transient Inflow equation (Optional)


Main-code: TRANSIENT

Keyword index
754
PIPESIM User Guide

PWSTATIC= Static bottom hole pressure (bara or psia). This is the bottom
hole pressure at zero flow rate.

PERMEABILITY= Average formation permeability (md).

THICKNESS= Average formation thickness (metres or feet) .

RADEXTERNAL= Radius of external boundary of drainage area (metres or feet).


Default = 609.6 m or 2000 ft.

SKIN= Dimensionless skin factor. Default = 0.

DIAMWELLBORE= Wellbore diameter (inches or mm).

FLOWTYPE= Type of flow in well.

LIQ Liquid flow

GAS Gas flow

GASMETHOD=

PSEUDO Use pseudo pressure

SQUARED Use pressure squared

SOURCE=

ST Use the stock tank flow formulation of the transient IPR equation
(default)

RES Use the reservoir flow formulation of the transient IPR equation

BPCORRECTION= Allows user to choose whether to apply the Vogel correction


below the bubble point.

ON Applies Vogel correction.

OFF Does not apply Vogel correction.

PICOEFFICIEN= Vogel coefficient for Vogel correction. Default = 0.8.

DSKINLIQUID= Dynamic skin for liquid phase. Default = 0.

DSKINGAS= Dynamic skin for gas phase. Default = 0.

DRAINAGESKIN=

POROSITY= Porosity of the reservoir, fraction (0 - 1)

COMPRESSIBIL= Total system compressibility (1/psi or 1/bar).

TIME= Time since the well started to flow, hours.

Keyword index
755
PIPESIM User Guide

SWAPTOPSS=

ON

OFF

8.6 SYSTEM DATA


PIPE (p.784) Pipe Dimensions
INLET (p.705) System Inlet Data
EQUIPMENT (p.481) Equipment Data
NODE (p.782) System Profile Data
Changing Parameters within the System Profile (p.689)
SLUG (p.722) Slug Calculation Options
COMPRESSOR (p.763) Compressor
CHOKE (p.756) Choke
EXPANDER (p.767) Expander
HEATER (p.771) Heater/Cooler
PUMP (p.786) Pump
ESP (p.786) Electrical submersible Pump
PCP (p.514) Progressive Cavity Pump
MPUMP (p.781) Multiphase Pump
PUMPCRV (p.780) Pump Performance Curves
COMPCRV (p.761) Compressor Performance Curves
SEPARATOR (p.791) Separator
EROSION (p.721) Erosion Rate and Velocity
CORROSION (p.721) Corrosion Rate
COMPLETION (p.734) Completion Profile Delimiter
TUBING (p.734) Tubing Profile Delimiter
FLOWLINE (p.734) Flowline Profile Delimiter
RISER (p.734) Riser Profile Delimiter
FMPUMP (p.770)
REINJECTOR (p.789)
MPBOOSTER (p.780)

8.6.1 CHOKE (Optional)


Also refer to Choke Theory (p.482)

Keyword index
756
PIPESIM User Guide

Main-code: CHOKE
All subcodes are optional unless noted otherwise:

DBEAN= Required. Diameter of the choke bean (mm or inches)

DBEAN64= An alternative to DBEAN=, allows the bean diameter to be


specified in units of 1/64 in.

CCORR= Selects the Critical flow correlation. May be one of:

GILBERT Gilbert (p.489) correlation

ROS Ros (p.489) correlation

BAXENDELL Baxendell (p.489) correlation

ACHONG Achong (p.489) correlation

PILEHVARI Pilehvari (p.489) correlation

ASHFORD Ashford and Pierce (p.488) correlation

ASHFORDT Sachdeva (p.488) correlation

POETBECK Poetmann and Beck (p.488) correlation

OMANA Omana (p.488) correlation

THEORY or (default) The MECHANISTIC choke model is purely


MECHANISTIC theoretical, based on a combination of Bernoulli's equation
with an equation of continuity. Advanced users may wish to'
fine-tune' the model, or override some of the calculated
values, by means of the sub-codes CD, CSP, CPCV, YCRIT,
GASCP,and LIQCP.

USER User-supplied (p.489) correlation. This uses the same


equation as the Gilbert,Ros (p.489) and so on correlations,
but with parameters supplied with the subcodes A=, B= C=
and E=.

SCCORR= Selects the required sub-critical flow correlation. Maybe one


of:

ASHFORD = Ashford and Pierce (p.488) correlation

MECHANISTIC (default) The MECHANISTIC choke model (see above).

API14B This is a special-case of the MECHANISTIC model, wherein


the GAS and Liquid Csp values are preset to 0.9 and 0.85
respectively.

Keyword index
757
PIPESIM User Guide

CPRATIO= Pressure ratio at which flow through choke becomes critical.


(Default = 0.53). (It is also possible to force PIPESIM to
calculate the Critical Pressure Ratio; to do this, enter
CPRATIO=0.0.)

TOL= Percentage tolerance, for identification of critical flow


conditions. (Default 0.5%)

CD= Discharge coefficient (default = 0.6). This value is used to


calculate the flow coefficient, CSP.

CSP= Flow coefficient. This is normally calculated by PIPESIM, but


can be overridden, if desired, by use of this sub-code. The
valid range is 0 to 1.3, typically it is 0.6. It is used to calculate
the pressure drop.

CPCV=
/
Fluid-specific heat ratio, γ = CP CV . This is normally
calculated by PIPESIM, but can be overridden if desired. The
valid range is 0.7 to 2. Typically it is 1.26 for a natural gas, for
a diatomic gas it is 1.4. It is used to calculate the critical
pressure ratio, if CPRATIO=0.0 is specified.

YCRIT= Gas expansion factor at critical flow. This is normally


calculated by PIPESIM, but can be overridden if desired. The
valid range is 0.5 to 1. It is used to modify the pressure drop
equation to allow for gas compressibility.

GASCSP= Flow coefficient for the gas phase. This is normally equal to
the value calculated or input for CSP, but can be overridden if
desired. For API14B compatibility, set it to 0.9.

LIQCSP= Flow coefficient for the liquid phase. This is normally equal to
the value calculated or input for CSP, but can be overridden if
desired. For API14B compatibility, set it to 0.85.

CRITERION= Allows the reasons for identification of critical, and


supercritical, flow to be defined. This subcode will accept one
or more of the following values, supplied in multiple value
syntax (p.682) :

PRATIO Pressure ratio < critical pressure ratio (default)

FLOWRATE Flowrate flowrate at critical flow

SONICUP Upstream velocity sonic

SONICDOWN Downstream velocity sonic

ALL All of the above

Keyword index
758
PIPESIM User Guide

NONE The value NONE will effectively prevent the identification of


critical and supercritical flow, thus flow will always be
subcritical. NONE should be used for API14B compatibility.

VERBOSE= ON or OFF (Default OFF). Allows detailed choke calculation output for the
MECHANISTIC correlation. The detailed output appears on
the user's terminal screen and on the primary output page.
This output is intended primarily to aid the development and
debugging of the choke model, but can also be of use to the
advanced user.

SCADJUST ON or OFF If ON, the selected sub-critical correlation is adjusted to


ADJUSTSC= ensure it predicts a flowrate at critical pressure ratio that
matches that predicted by the critical correlation. Default is
OFF.

A=, B=, C=, E= Parameters for the USER critical correlation.

IDPIPE= or The diameter of the upstream pipe section (in or mm). It is


DPIPE= or used to calculate the Diameter Ratio Δ (For more information,
PIPEID= refer to Choke Geometry (p.482).) This subcode is required
only if the choke is present in a branch and there is no other
accompanying pipe equipment. If the subcode is provided,
PIPESIM uses that value instead of the ID from any existing
upstream pipe.

MAXMASS= Maximum mass rate (lb/sec or Kg/sec).

MAXGAS= Maximum gas rate (mmscfd or mmsm3d).

MAXLIQUID= Maximum gross liquid rate (sbbl/day or sm3/day).

MAXOIL= Maximum oil rate (sbbl/day or sm3/day).

MAXWATER= Maximum water rate (sbbl/day or sm3/day).

Note: Notes for rate limit subcodes:


• All rate limit values refer to the fluid at stock-tank pressure and temperature, 14.7 psia and 60F.
There is no provision for limiting phase flowrates at flowing or in-situ pressure and temperature.
• Application of any rate limit will result in the choke bean diameter being reduced from its
supplied value (in the DBEAN= subcode).This will cause an additional pressure drop in the
system or branch.
• Any combination of rate limits may be specified. The choke will be sized to ensure that none of
them are exceeded.
• In a single-branch model, the rate limits will be applied at the choke where they are specified.

Keyword index
759
PIPESIM User Guide

• In a network model, the limits will be "promoted" to the network branch level, and will be treated
as though they were specified on the BRANCH (p.848) statement. The network solution
algorithm will apply the rate limits at the inlet of the branch containing the choke.
• In a network model, the rate limits will apply regardless of the direction of fluid flow in the
branch

The choke model will calculate the pressure ratio across the choke for the current flow rate. The
pressure ratio calculated is then categorized in one of 3 ways:
Subcritical
The pressure ratio (Pout/Pin) is higher than the critical pressure ratio. PIPESIM continues
the case with the calculated pressure drop.
Critical
The pressure ratio is within the tolerance of the critical pressure ratio. PIPESIM continues
the case with the calculated pressure drop, and writes an explanatory message to all
output pages. Pressures calculated in the profile from this point on represent maximum
values rather than true values; in reality, the pressures could be less than those reported.
The reason for this is that in critical flow, the flow rate is independent of the system's
downstream pressure.
Supercritical
The pressure ratio is lower than the critical pressure ratio. This represents a situation that
cannot occur in reality, therefore PIPESIM will abort the case or iteration. In a non-iterative
case, this will result in a CASE ABORTED message, but in an iterative case, a further
iteration is started, at a higher inlet pressure or lower flow rate.
PIPESIM does not attempt to model the entire system analytically, rather it breaks it down into
small elements, each of which are then analyzed in turn to achieve the desired answer. Because
the system's heat balance is calculated rigorously at every element, it is not possible for PIPESIM
to work backwards up the system profile from a known outlet pressure. Consequently, if the user
fixes the outlet pressure, an iterative solution to the case is required. For non-iterative cases,
PIPESIM starts its analysis of the profile with a fixed inlet pressure and flow rate. Iterative cases
are made up of several passes down the profile, with the iteration routine taking informed guesses
at the inlet pressure or flow rate; thus, for each separate iteration, the inlet pressure and flow rate
are effectively fixed, as for the non-iterative case.
When PIPESIM encounters a choke in the profile, it evaluates the pressure drop across the choke,
and labels it as one of critical, subcritical, or supercritical. The supercritical condition means that
the current flow rate cannot pass through the choke with the current upstream pressure: i.e., it is a
situation that cannot occur in reality. (Another example of such an impossible situation is a
negative pressure; PIPESIM must cope with this too). PIPESIM deals with this by aborting the case
or iteration. If the case is iterative, the iteration routine will then guess a lower flow rate or higher
inlet pressure, and another pass down the profile will begin. The critical condition is comparatively
difficult to hit; it means that, at the current pressure upstream of the choke, the flow rate is very
close to the maximum possible flow rate through the choke. When critical conditions exist, the flow
rate is independent of the downstream pressure. The subcritical condition needs no special
handling.

Keyword index
760
PIPESIM User Guide

In an iterative case, it often happens that the user's specified outlet pressure cannot be met. This
occurs when a choke in the profile is in critical flow. Any increase in the flow rate will result in
supercritical flow through the choke, and so this sets an upper limit for the iteration routine.
However, the outlet pressure for the flow rate that gives critical flow might be much higher than that
required. Normally in this situation, the iteration routine would increase the flow rate and try again,
but the presence of the choke in critical flow makes this pointless. Therefore, the iteration routine
considers the case to have converged on a solution, and prints the case results. The pressure
profile on the downstream side of the choke, while it does not represent the actual required
solution, nevertheless represents the maximum pressure that can be achieved there; in reality, the
pressures will be lower.
A wellhead choke or bean is used to control the production rate from a well. In the design of tubing
and well completions one must ensure that neither the tubing nor the perforations control the
production from the well. The flow capacity of the tubing and perforations always should be greater
than the inflow performance behavior of the reservoir. It is the choke that is designed to control the
production rate from a well. Wellhead chokes usually are selected so that fluctuations in the line
pressure downstream of the choke have no effect on the well flow rate. To ensure this condition,
flow throughout the choke must be at critical flow condition; that is, flow through the choke is at
acoustic velocity. For this condition to exist, downstream line pressure must be approximately 0.55
or less of the tubing or upstream pressure. Under this conditions the flow rate is a function of the
upstream or tubing pressure only.
Chokes are subjected to sand and gas cutting as well as asphalt and wax deposition, which
changes the shape and size of the choke. This then could result in considerable error when
compared to calculate values of choke for a standard choke size. A small error in the choke size
caused by a worn choke can produce a much larger error in the predicted oil rate. Thus a 'cut'
choke could result in estimated oil rates considerably lower than measured.
From the inflow performance relationship of a well and by knowing the tubing size in the well, the
tubing pressure curve for various flow rates can be calculated.

8.6.2 COMPCRV and PUMPCRV: Compressor and Pump performance


curves
Main-code: PUMPCRV or COMPCRV
Centrifugal pump and compressor performance curves are specified as a range of head and
efficiency or power values versus volumetric flow rates. These values should be specified before
the profile, and each curve is given a name so it can be referenced on a subsequent PUMP or
COMPRESSOR statement.

NAME= Required: The name of the curve, for referencing on a subsequent PUMP or
COMPRESSOR statement.

SPEED= The speed for which this curve was generated. (rpm)

FREQUENCY= The frequency for which this curve was generated. (Hz)

Q= Values of flow rate, supplied as a multiple value set (p.682) . Flowrates are
measured in volumetric terms at the flowing pressure and temperature at the inlet

Keyword index
761
PIPESIM User Guide

to the device. For a pump curve, units are bbl/day or m3/day; for a compressor
curve, they are ft 3/min or m3/sec. (See note below).

FLOWRATE= Synonym for Q =.

HEAD= Values of head, supplied as a multiple value set (p.682). For a pump curve, units
are feet or metres. For a compressor curve they are ft-lbf/lbm (foot-pounds force
per pound mass) or Kj/kg. Note that the conversion factor between ft-lbf/lbm and
feet is 1.

EFFICIENCY= Values of efficiency (%), supplied as a multiple value set (p.682). (Default is
100%). Exclusive with POWER=.

POWER= Values of power (hp or kw), supplied as a multiple value set (p.682). Exclusive
with EFFICIENCY=.

STAGES= For a Pump curve only, the number of stages for which this curve is defined
(normally 1).

WHEELS= For a compressor curve only, the number of compressor wheels for which this
curve is defined.

The multiple value sets (p.682) supplied for Q=, HEAD=, and EFF= or POWER= sub-codes must
contain at least 3, and no more than 30 values, separated by commas, and enclosed in
parentheses. The values need not be entered in ascending or descending order, however there is
a strict one-for-one correspondence between the values in each list, based on their position. Each
list must contain the same number of values.
Since the multiple value lists can be quite lengthy, they may be supplied across more than one line
in the input file. This can be achieved either by use of the continuation character &, or by repeating
the maincode and curve name on each line. The examples below illustrate this, they both have the
same effect:

Examples
Example 1

PumpCrv name = GN7000 stages = 100 speed = 3600


PumpCrv name = GN7000 Q = (1250 ,3750 ,5800 ,7400 ,
9000 ,10666.7)
PumpCrv name = GN7000 head = (4827.88 ,4176.29,3624.68,3160.3 ,
2338.76,971.734)
PumpCrv name = GN7000 eff = (23.6865 ,
55.0738,67.3463,71.3873,63.476 ,31.7383)

Example 2

PumpCrv name = GN7000 stages = 100 speed = 3600 &


Q = (1250 ,3750 ,5800 ,7400 ,9000 ,10666.7) &
head = (4827.88 ,4176.29,3624.68,3160.3 ,2338.76,971.734) &
eff = (23.6865 ,55.0738,67.3463,71.3873,63.476 ,31.7383)

Keyword index
762
PIPESIM User Guide

8.6.3 COMPRESSOR Compressor (Optional)


Main-code: COMPRESSOR
Sub-codes: TYPE, ROUTE, POUT, DP, PRATIO, POWER, EFF, NAME, SPEED, WHEELS,
STONEWALL VERBOSE

TYPE= COMPRESSOR type.

CENTRIFUGA Centrifugal compressor

ROUTE= ADIABATIC Adiabatic compression is performed (default). For black oil


models the heat capacity ratio (C p/C v) for the adiabatic exponent
in the compression equations is assumed to be constant with a
value equal to 1.26. For compositional models the heat capacity
ratio is calculated using the relationship: Cp = Cv - R The heat
capacity is obtained at the average of the compressor suction and
discharge conditions.

POLYTROPIC Polytropic compression is performed. The heat capacity ratio (C


p/C v) is calculated as outlined above for ADIABATIC
compression. This is the default for Black Oil cases.

MOLLIER Compression is based upon the Mollier method, that is


isoentropic compression from suction to discharge pressures.
This option is valid for compositional models only, where it is also
the default.

POUT= Discharge pressure from the compressor (bara or psia) (default


20,000 psia)

DP= Pressure differential across the compressor (bar or psi) (default


10,000 psi)

PRATI= Compressor pressure ratio (default 1000)

POWER= Power available for compression (KW or hp) (default unlimited)

EFF= Overall efficiency of the compression (default = 100%)

NAME= The name of a previously specified Compressor Curve (see the


COMPCRV (p.761) maincode)

SPEED= Speed at which the compressor will run. This is only useful when
a compressor curve name has been specified. (rpm) (default
unlimited)

WHEELS=

STONEWALL=

VERBOSE=

Keyword index
763
PIPESIM User Guide

Notes:
1. At least one of the subcodes POUT, DP, PRATIO, POWER and SPEED should be supplied. If
2 or more are present, PIPESIM will treat them as upper limits, and will use whichever gives the
smallest DeltaP. The others will be recalculated and displayed as answers on the output file.
2. If a compressor curve name is supplied, the speed may also be specified. This is used to adjust
the supplied curve against its specified speed (as set with SPEED (p.761) = on the COMPCRV
(p.761) maincode). The adjustment is done using the so called affinity or fan laws, which state
that "capacity is directly proportional to speed, head is proportional to square of speed, and
power is proportional to cube of speed".
3. In order to avoid confusion with the COMPOSITION main code, the minimum abbreviation
acceptable for COMPRESSOR is COMPR.

8.6.4 RODPUMP: Rod- or Beam-pump


Main-code: RODPUMP or CVFMD
The RODPUMP statement allows the outline specification for a Rod- or Beam-pump to be
supplied.
The volumetric rate of the pump may be defined by one of three methods:
• Nominal Rate: Using the NOMLIQRATE keyword
• Stroke Length X Plunger Diameter X Speed: Using the STROKELENGTH, DIAMETER and
SPEED keywords (most common)
• Volume X Speed: Using the VOLUME and SPEED Keywords
A rod-pump is an example of a Constant Volume Fluid Motive Device (CVFMD). CVFMDs are
fixed-volume, positive-displacement pumps or compressors designed to move liquids, gases or 2-
phase mixtures. Other notable CVFMD examples are: Progressive cavity pumps, Twin screw
multiphase boosters, and reciprocating compressors. The statement allows a simplistic simulation
of such a device to be performed.

NOMLIQRATE= The flowing volume flowrate that the pump would produce, if it were pumping
with no back-pressure at its discharge (m3/day or bbl/day)

SPEED= The pump speed, in strokes per minute. In conjunction with VOLUME=, this
is an alternative to the nominal rate.

STROKELENGTH= Effective length of the stroke at the plunger location, NOT the polished rod.
When multiplied by the plunger diameter, defines the volume of liquid moved
with each stroke (m or ft).

DIAMETER= Diameter of the plunger which when multiplied by the stroke length, defines
the volume of liquid moved with each stroke (mm or in)

Keyword index
764
PIPESIM User Guide

VOLUME= The swept volume of the pump cylinder, i.e. its cross-section area multiplied
by the stroke length (bbl or m3). In conjunction with SPEED=, this is an
alternative to the nominal rate.

SLIPCOEF= A coefficient to specify the change in flowrate with respect to Delta pressure
(m3/day/bar or bbl/day/psi). This is used to compute the pressure rise across
the device when the actual flowrate is less than the specified nominal rate.

MAXDP= Maximum pressure rise the device is allowed to exhibit (psi or bar). This is
used to prevent excess rod loading.

MAXPOWER= Maximum power the device is allowed to draw (hp or kw). This is used to
prevent excess rod loading.

EFFICIENCY= Overall efficiency of the pump which is used to compute the power
requirement.

RODDIAMETER= The Diameter of the drive rod (in or mm). The drive rod will be assumed to
exist in the downstream pipe or tubing, and will stretch up to the wellhead or
the end of the tubing. The fluid will flow in the annular space between the
tubing ID and the rod OD. The rod diameter can be adjusted in downstream
pipe sections by use of the RODDIAM= subcode on the PIPE (p.784)
statement, this is useful to simulate taper rods.

NOMINALRATE= The flowing volume flowrate that the pump would produce, if it were pumping
with no back-pressure at its discharge (m3/sec or ft3/min). This is the same
information as NOMLIQRATE= but in different units, more suited to other
types of CVFMD.

8.6.5 EQUIPMENT Generic Equipment


Main-code: EQUIPMENT
The EQUIPMENT maincode may be used to simulate a generic unit operation in which the
pressure and/or temperature of the stream are modified.

DP= Pressure gain (positive), or loss (negative). (Bar or psi). NB. In a network model,
the DP is assumed to follow the flow direction in the branch, so if the branch flow
reverses, the DP will change sign. This can be controlled with DPIFD=, see
below. See note 2

DPIFD= "DP is Independent of Flow Direction". Set this to YES to ensure the sign of the
dp supplied with DP= is independent of branch flow direction in a network model.
Default is NO, thus if the branch flow reverses, the dp will change sign. An
example of a device whose DP is direction -independent is a choke. An example
of a direction-dependent DP is a vertical section of pipe.

POUT= or Equipment outlet set pressure (bara or psia). NB. In a network model, the
SETP= imposition of a set pressure is likely to prevent the model from converging. In a

Keyword index
765
PIPESIM User Guide

single-branch model, if the outlet pressure and flowrate are fixed, the use of
SETP= will cause an input data error. See note 2

PRATIO= Pressure Ratio: the equipment outlet pressure is set to the specified multiple of
the inlet pressure. Exclusive with MAXP=, MINP=, SETP= and DP=. See note 2.

MAXP= Maximum pressure (psia or bara). If the pressure at the equipment is greater than
the supplied limit, then it will be adjusted down to the limit. See note 3.

MINP= Minimum pressure (psia or bara). If the pressure at the equipment is less than the
supplied limit, then it will be adjusted up to the limit. See note 3.

ROUTE= Allows the thermodynamic route to be specified, for calculation of fluid


temperature change consequent upon changes in pressure. Exclusive with DT=
and SETT= ;can be used with DUTY=. See note 4. Available choices are:

ISENTHALPIC or ADIABATIC: Constant enthalpy (default)

ISENTROPIC or MOLLIER: Constant entropy (compositional cases only)

ISOTHERMAL: Constant temperature

DT= Temperature gain (+ve), or loss (-ve). (C or F). See note 1.

TOUT= or Outlet set temperature ( &deg;C or&deg;F). See note 1.


SETT=

DUTY= Duty to be used to raise the temperature of the fluid (KW or Btu/hr). See notes 1,
4 and 6.

MAXT= Maximum temperature (F or C). If the temperature at the equipment is greater


than the supplied limit, then it will be adjusted down to the limit. See note 7.

MINT= Minimum temperature (F or C). If the temperature at the equipment is less than
the supplied limit, then it will be adjusted up to the limit See note 7.

NAME= Defines the NAME of a user-supplied equipment entrypoint, as defined in a prior


USERDLL statement. Note: The presence of this subcode causes all others
(except OPTIONS=) to be ignored.

OPTIONS= A character string that is supplied to the user-supplied equipment routine. Must be
used with NAME=.

VERBOSE= Controls the appearance of the one-line output in the report. may be set to ON or
OFF, default ON.

Notes:
1. The subcodes SETT=, DT= and DUTY= are mutually exclusive.
2. The subcodes SETP=, DP= and PRATIO= are mutually exclusive.

Keyword index
766
PIPESIM User Guide

3. If a MAXP= or MINP= is specified, the limit is applied AFTER any pressure change resulting
from a SETP=, DP= or PRATIO=, and BEFORE any temperature or enthalpy change is applied
or calculated.
4. If SETT= or DT is specified, the fluid outlet temperature will be set accordingly, otherwise it will
be calculated using the selected (or defaulted) thermodynamic ROUTE= and DUTY=.
5. If SETP=, DP= or PRATIO= are specified in the absence of TOUT and DT, the choice of
thermodynamic route is used to calculate the fluid outlet temperature. To simulate chokes and
to predict Joule-Thomson cooling across pressure reduction valves etc. the most appropriate
route is ISENTHALPIC (the default).
6. If a DUTY is specified, the corresponding fluid enthalpy change will be calculated, and added to
that resulting from any pressure change using the selected ROUTE=. The outlet temperature is
then adjusted accordingly.
7. If a MAXT= or MINT= is specified, the limit is applied AFTER any temperature change resulting
from any other subcode.
8. All subcodes are optional.

Examples
Example 1
A pipeline compressor station (located at distance 120 Km and elevation 20 m) raises the pipeline
pressure 35 bar and after coolers cool the compressed gas down to 40 C before it reenters the
pipeline. Pipeline gas is withdrawn to power the compressors, so a RATE statement is used to
subtract 2.5 kg/sec from the pipeline. The following three lines define the compressor station:

NODE DIST= 120 km ELEV= 20 m


EQUIPMENT DP = 35 bar SETT = 40 C
RATE ADDMASS = -2.5 kg/sec

Example 2
A wellhead choke is to be set to reduce the calculated wellhead pressure to 60 bara. The program
will calculate the resulting temperature change across the choke (assuming an isoenthalpic
expansion) :

EQUIPMENT SETP = 60 bar

8.6.6 EXPANDER Expander (Optional)


Main-code: EXPANDER

DP= Pressure differential across the expander (bar or psi) (default 10,000)

POUT= Discharge pressure from the expander (bara or psia) (default 20 psia)

PRATIO= Expander pressure ratio (Pin/Pout ; default 1000)

Keyword index
767
PIPESIM User Guide

EFF= Overall efficiency of the expansion (%) (Default = 100%)

POWER= Power required from expansion (KW or hp) (default unlimited)

ROUTE=

ADIABATIC Adiabatic expansion is performed (default). For black oil models


the heat capacity ratio (C p/C v) used as the adiabatic exponent in
the expansion equations is assumed to be constant with a value
equal to 1.26 . For compositional models the heat capacity ratio is
calculated using the relationship : Cp = Cv - R. The heat capacity
is obtained at the average of the expander suction and discharge
conditions.

POLYTROPIC Polytropic expansion is performed. The heat capacity ratio (C p/C


v) is calculated in a similar manner to that outlined above for
ADIABATIC expansion. This is the default for Black Oil cases.

MOLLIER Expansion is based upon the Mollier method, that is isoentropic


expansion from suction to discharge pressures. This option is
valid for compositional models only, where it is the default.

UNDEFINED Undefined

NAME=

SPEED=

WHEELS=

STONEWALL=

ON

OFF

VERBOSE=

ON

OFF

Note: At least one of the subcodes POUT, DP, PRATIO, and POWER should be supplied. If 2 or
more are present, PIPESIM will treat them as upper limits, and will use whichever gives the
smallest DeltaP. The others will be recalculated and displayed as answers on the output file.

8.6.7 FITTING : Valves and Fittings


Main-code: FITTING

Keyword index
768
PIPESIM User Guide

Pipe fittings can be modeled in PIPESIM using the FITTING keyword. Either a resistance
coefficient should be specified, or the type and dimensions of the fittings should be specified and
the resistance will be calculated.

TYPE= "GLOBE-CONV" Globe Valve Conventional

"GLOBE-YPAT" Globe Valve Y-Pattern

"ANGLE-CONV" Angle Valve Conventional

"CHECK-SWING1" Check Swing Valve Conventional

"CHECK-SWING2" Check Swing Valve Clearway

"CHECK-LIFT1" Check Lift Globe Valve

"CHECK-LIFT2" Check Lift Angle Valve

"BALL-VALVE" Ball Valve

"GATE-VALVE" GateValve

"ELBOW-STD45" Standard 45 degree Elbow

"ELBOW-STD90" Standard 90 degree Elbow

"ELBOW-LR90" Standard 90 degree Long Radius Elbow

"ELBOW-SR90" Standard 90 degree Short Radius Elbow

"TEE-RUN" Tee - Flow through run

"TEE-BRANCH" Tee - Flow through branch

NOMINALD Nominal diameter (mm or inches)

MINORD= Minor internal diameter (mm or inches)

MAJORD= Major internal diameter (mm or inches)

DANGLE= Deflection angle

KVALUE = Resistance coefficient

If the resistance K is not specified it will be calculated. In this case the nominal diameter (p.648)
must be specified, together with the internal diameter of the fitting. Some fittings require two
internal diameters to be specified, the minor diameter d1 at a constriction and the major diameter
d2.

Keyword index
769
PIPESIM User Guide

If the resistance is specified, one of the internal diameters (d1 or d2) should also be specified. If
both internal diameters are specified, the resistance is assumed to apply at the major internal
diameter d2, that is K = K 2.
See the Technical description (p.490) for further details.

EXAMPLES
The fitting keyword can be inserted between node keywords in a pipe. The fitting is placed
immediately after the preceding node.

...
node dist = 0 elev = 0
node dist = 1000 elev = 0
fitting kvalue = 1.6 majord = 4.815
node dist = 1010 elev = 0
fitting type = "ANGLE-CONV" nominald = 5 majord = 5.047 minord = 4 dangle =
45
node dist = 1200 elev = 0
...

8.6.8 FMPUMP (Optional)


Main-code: FMPUMP

8.6.9 FRAMO 2009 (Optional)


See also Multiphase Boosting Technology (p.499), Framo 2009 Helico-Axial Multiphase Booster.
Main-code: FRAMO2009
This keyword requests a Framo pump, modelled with the framo2009 dll provided by Framo.

POUT= Discharge pressure from the pump (bara or psia)

DP= Pressure differential across the pump (bar or psi)

PRATIO= Pump pressure ratio

POWER= Power available for pump (KW or hp)

LIMSPEED= Maximum pump speed (valid range 0 – 1.0)

TUNE= Tuning parameter (valid range 0.7 – 1.5)

QRECIN= Flow in recirculation

NPARA= Number of pumps in parallel (valid range 1-999999)

NAME= The name of the pump

FILE= Framo file containing pump performance curves. This sub-code must be specified.
Only the file name should be specified, not the path. The file must exist in the

Keyword index
770
PIPESIM User Guide

framo09 sub-directory of the PIPESIM data directory (default location “C:\Program


files\Schlumberger\PIPESIM\data\framo09).

PLOT Requests a pump performance plot. A plot file called “file_n.pfm” will be created in
the model directory, where “file” is the pump name specified by the NAME sub-
code and “n” is the case number.
The pump name should be unique, otherwise plot files will over write each other.
If the NAME sub-code is not given, the plot file will be called “framopump_n.pfm”.
Pump performance plot files can be viewed by PSPlot.

Related links:
OneSubsea multiphase booster (p.166)

EXAMPLE
framo2009 file='framopump.dat' name='test' dp=100 plot

Related links:
OneSubsea multiphase booster (p.166)

8.6.10 HEATER Heater/Cooler (Optional)


Main-code: HEATER

DP= Pressure drop across the heater (bar or psi) (Default =0)

POUT= Discharge pressure from the heater (bara or psia)

PRATIO= Pressure ratio across the heater

TOUT= Discharge temperature from the heater (oC or oF)

DT= Temperature drop/increase through the heater/cooler (oC or oF)

VERBOSE=

STATUS=

Notes:
1. The subcodes TOUT DT and DUTY are mutually exclusive only one should be supplied.
Specification of the outlet temperature or DT will result in the calculation of the duty required to
meet these conditions. If the DUTY is supplied PIPESIM will calculate the outlet temperature.
2. The subcodes POUT and DP are mutually exclusive and optional. Changes in pressure across
a heater are modeled using an isoenthalpic route; if large pressure changes are required you

Keyword index
771
PIPESIM User Guide

are better served by modeling the DP with a separate EQUIPMENT maincode which gives a
choice of route.

8.6.11 GASLIFT: Multiple Injection Ports in Gaslifted Wells


The GASLIFT statement is required to simulate the multiple gas lift valves resulting from a Gas Lift
Design in the PIPESIM GUI. It is also used to calculate the Deepest point of Injection (DIP).
GASLIFT should be entered in the initial part of the input file, ie. before the profile or the first NODE
statement. It specifies generic gas lift data such as casing head pressure (CHP), injection gas flow
rate and properties, etc. The profile may then include one or more INJPORT statements to specify
the position and properties of the gas lift valves.
Two modes of operation are available, viz. Deepest Injection Point (DIP), and Simulate; these are
selected with the MODE= subcode.
In DIP mode, PIPESIM will calculate the deepest possible injection point for the system as
specified. Any existing injection points and gas lift valves will be ignored. Required subcodes for
this mode are INJGASRATE=, DP=, CHP= and TEMP=.
In SIMULATE mode, PIPESIM will accept a set of gas lift valves positioned at various depths in the
system profile. Each valve has its associated settings such as Port diameter, test rack Pressure
Setting. etc. The program will simulate the entire system as specified, determining which valve(s)
are operating, and calculate the injection gas flowrate through each valve. Required subcodes for
this mode are MAXQ=, CHP=, and TEMP=.
For either mode, the recommended job will fix the reservoir pressure and outlet (wellhead)
pressure, and calculate the system flowrate; i.e., use ITERN (p.703) TYPE=LFLOW. (Other
iteration types are more difficult to use since the design of the gaslift system constrains the
Injection valves to a narrow range of operating pressure, outside which no gas injection will occur,
rendering meaningful results unlikely.)

Main-code: GASLIFT
MODE= Required. Specifies the operational mode for the gaslift system. Available
modes are:

SIMULATE: requests a rigorous simulation of the system with a set of gas


lift valves installed. The important feature of this mode is that it calculates
the total flowrate of gas that is injected into all the valves, using the
positions and settings of the installed gas lift valves. Be aware however,
that this mode is very sensitive to the exact position and settings of the
valves. Consequently its results are usually difficult to interpret due to the
likleyhood multiple solutions, or no solution, to the model cases. For this
reason, PIPESIM uses one of the DIP modes instead (see below). Injection
valves must be provided at appropriate depths with INJPORT (p.775)
statements.

DIP: requests a calculation of the Deepest Injection Point (DIP). In this


mode, any existing Injection valves will be ignored. The program will

Keyword index
772
PIPESIM User Guide

simulate the injection of gas at the maximum possible depth for the given
system parameters, and report the calculated DIP depth. In this mode the
fixed flowrate of gas as specified with INJGASRATE= is injected at the
deepest depth.

DIP3: similar to DIP mode, but the calculated deepest injection depth is
constrained to be coincident with the position of one of the existing injection
valves specified with INJPORT statements. See note 2.

MAXFLOWRATE= or Required for MODE=SIMULATE. The maximum available lift gas flow rate
MAXQ= (MMscf/d or MMm 3/d).

TEMPERATURE= Required. The temperature of the lift gas (F or C) at the casing head. The
program will adjust this by a formula that takes account of geothermal
temperature gradient and production temperature to calculate the annulus
temperature for each injection valve.

CHP= Required. The casing head pressure (psia or bara) at the wellhead where
the lift gas is supplied to the well. The program will adjust this by the
pressure of the static head of gas in the annulus between the wellhead and
the injection port to calculate the annulus pressure for each injection valve.

DP= Required for MODE=DIP. The minimum allowable pressure difference


across the injection valve. The valve will be positioned at a depth that
ensures the DP between casing and tubing is at least this value. (psi or
bar)

FLOWRATE= or For MODE=DIP. The flow rate of lift gas (MMscf/d or MMm 3/d) to be
INJGASRATE= injected. See note 1.

FTEMPERATURE= Optional. A factor (f) that allows the injection port temperature (Tp) to be
interpolated between the casing gas temperature (Tc) and the production
wellbore temperature (Tw) using the formula Tp = Tc*(1-f) + Tw*f. Can be
set to a value between 0 and 1, default 1. The injection port temperature is
important in gas-charged valves because it determines the dome pressure
and hence the valve opening and closing pressures.

PLOT= Optional, can be set to OFF or ON, default OFF. Produces a plot file
representing the performance characteristics of each valve. One file is
produced for each valve, these are named model.Vxx, where model is the
model file core name, and xx is the valve number (shallowest being 01).
The valve performance is exercised over a range of casing and tubing
pressures, and the plot typically has tubing pressure on the X-axis against
gas flowrate in the Y-axis, with the casing pressure giving a number of
different lines.

MINFLOWRATE= or Optional, for MODE=SIMULATE. The lower limit of gas flowrate to be


MINQ= injected (MMscf/d or MMm 3/d). If the simulation for any case predicts less
than this gas flowrate, additional gas will be injected at the shallowest

Keyword index
773
PIPESIM User Guide

valve. This simulates the effect of the operator increasing CHP to inject
more gas.

FLUIDNAME= or Optional. The name of the fluid (Black Oil or Compositional) representing
USE= the lift gas fluid specification, as specified with a BEGIN FLUID (p.716)
block.

SGGAS= Optional. For Black Oil fluids only, the lift gas specific gravity. (Default = SG
of the produced gas).

KGAS= Optional. For Black Oil fluids only, The lift gas thermal conductivity. (Default
= K of the produced gas).

CPGAS= Optional. For Black Oil fluids only, The lift gas heat capacity. (Default = CP
of the produced gas).

METHOD= Optional. Specifies the equation used to calculate gas flowrate across the
valve. Allowable values are 1 for PIPESIM's standard mechanistic choke
correlation, and 2 for the Thornhill-Craver equation.

PVTFILE= Optional. For compositional fluids only, the name of the PVT file containing
the composition of the lift gas.

GLR= For MODE=DIP, injects the gas flowrate required to make the production
fluid Gas Liquid Ratio (GLR) equal the supplied value. (scf/sbbl or sm3/
sm3) See note 1.

GOR= For MODE=DIP, injects the gas flowrate required to make the production
fluid Gas Oil Ratio (GOR) equal the supplied value. (scf/sbbl or sm3/sm3)
See note 1.

INJGLR= For MODE=DIP, injects the gas flowrate required to increase the
production fluid Gas Liquid Ratio (GLR) by the supplied value. (scf/sbbl or
sm3/sm3) See note 1.

INJGOR= For MODE=DIP, injects the gas flowrate required to increase the
production fluid Gas Oil Ratio (GOR) by the supplied value. (scf/sbbl or
sm3/sm3) See note 1.

MAXDEPTH= Optional, for MODE=DIP, limits the injection depth to the specified
maximum.

FRICTION= Optional, For Mode=DIP. Requests a rigorous treatment of injection gas


pressure profile resulting from friction in the annulus. This can make a
significant difference to the calculated DIP when gas rate is high or annulus
cross-section area is small. Can be set to ON or OFF, default OFF.

U= Optional, for FRICTION=ON, specifies the overall Heat Transfer Coefficient


to be used for calculating injection gas temperature changes due to heat
exchange with the tubing and casing. (btu/hr/ft2/F or W/m2/C). Default 20
btu/hr/ft2/F.

Keyword index
774
PIPESIM User Guide

IFACTOR= Optional, for FRICTION=ON, A factor (f) that allows the ambient
temperature (Ta) used in gas friction heat transfer calculations to be
interpolated between the ambient rock temperature (Tr) and the production
wellbore temperature (Tw) using the formula Ta = Tr*(1-f) + Tw*f. Can be
set to a value between 0 and 1, default 0.9.

PRINTF= Optional, for FRICTION=ON, requests detailed output from the simulation
of gas flow in the annulus. The resulting output pages are similar to those
produced for the production wellbore. Can be set to ON or OFF, default
ON.

SIP= Optional. Specifies the Surface Injection Pressure used for Alhanati Gas
Lift Instability Criteria calculation (p.555). (psia or bara)

Note:
1. The subcodes FLOWRATE=, GLR=, GOR=, INJGLR= and INJGOR= are mutually exclusive.
2. Any subcode valid for MODE=DIP is also valid for MODE=DIP3.

8.6.12 INJPORT Gas Lift Injection Valve


INJPORT statements specify the position of Gas Lift Injection Valves. In conjunction with the
GASLIFT (p.772) statement they allow a well with multiple injection valves to be simulated.
PIPESIM will calculate the production flowrate and the quantity of gas injected through each valve.
INJPORT statements should be positioned in the system profile immediately following the NODE
statement representing the desired position for each valve. In a typical gas lift design, the profile
will contain between 4 and 10 injection valves.
Main-code: INJPORT

DPORT= The diameter of the valve port (in. or mm). Required.

PTR= The Test Rack Pressure Setting for the valve, measured at test
rack conditions, that is 60 oF and 14.696 psia. This is the pressure
(applied to the casing side of the valve, with the tubing side open
to atmosphere) required to just open the valve. Required.

MODE= The valve's mode of operation. Required.

DUMMY

ORIFICE

TUBING

IPO

PPO

Keyword index
775
PIPESIM User Guide

CASING

AP2AB= The ratio of the Port Area to the Bellows Area, AP/AB, for the
valve. Required.

CV= The flow coefficient for the valve port. This is a value normally in
the range 0.4 to 1.6, used to characterize the port in the equation
for gas flow. The valve manufacturer usually measures this in the
laboratory. Optional, default 0.6.

TYPE= The construction type of the valve. (Optional,)

DUMMY

ORIFICE

BELLOWS Default

SPRING

LABEL= An identifier for the valve.

TF= Throttling factor for the valve (mscfd/psi or msm3d/bar). Optional,


if not supplied it will be calculated using an assumed value of (P
open-Pclose).

PCO= Experimental: the Casing Opening pressure for the valve. If


supplied this value will be used instead of the calculated value.

PTC= Experimental: the Tubing Closing pressure for the valve. If


supplied this value will be used instead of the calculated value.

PDT= Experimental: the Dome Pressure of the valve at operating


temperature. If supplied this value will be used instead of the
calculated value.

TEMPERATURE= Experimental: The valve operating temperature. If supplied this


value will be used instead of the calculated value.

The values of TYPE= and OPMODE= determine the characteristics of the valve.
A Bellows valve has a dome and bellows, which is charged with gas (usually nitrogen) in the test
rack to provide the required closing force on the valve plunger. The force exerted by the gas
charge depends on its pressure, which increases with temperature. Since the temperature where
the valve is installed in the tubing is much higher than test rack temperature, this pressure
correction must be done using an accurate value for valve operating temperature if the valve
simulation is to be relied upon.
A Spring valve has a spring instead of a bellows to provide the closing force on the valve plunger.
The spring force is relatively insensitive to temperature variation.

Keyword index
776
PIPESIM User Guide

An Orifice valve has no plunger, and is equivalent to a normal choke. It will always be open,
regardless of tubing and casing pressure, thus in theory not only can gas flow from casing to
tubing, but production fluid can also flow from tubing to casing. In practice this is not a problem as
static head limits fluid buildup in the casing. An orifice valve is sometimes specified as the deepest
injection valve, because it will not suffer from unwanted closure if the gas lift design no longer
matches the system operating parameters.
A dummy valve is a plug that passes no gas.
Bellows and spring valves are sensitive to both tubing and casing pressure to a greater or lesser
extent, depending on their construction and the way they are installed in the tubing string. The
objective of valve design, placement and test rack pressure setting is to achieve a desired
response to changes in tubing and casing pressure. These are called Modes of Operation, and
have the following names and meanings:
IPO:
Injection Pressure operated. Valve will respond only to changes in injection gas pressure.
Response is off-on rather than proportional.
PPO:
Production Pressure Operated. Valve will respond only to changes in tubing pressure.
Response is off-on rather than proportional.
TUBING:
Tubing-sensitive proportional response. Valve will respond predominantly to changes in
tubing pressure, exhibiting a proportional response.
CASING:
Casing-sensitive proportional response. Valve will respond predominantly to changes in
casing pressure, exhibiting a proportional response.

8.6.13 INJGAS: Injection Gas (Optional) and INJFLUID: Fluid Injection


INJGAS and INJFLUID allow the injection and mixing of a side-stream fluid. They both work for
Blackoil and Compositional fluids.
INJGAS simulates a single gas injection point, and allows a specified quantity of gas to be added
to the production fluid at any position. This quantity can be expressed in volume or ratio terms. It
differs from GASLIFT (p.772) in that it always injects the specified gas quantity, whereas GASLIFT
(p.772) will calculate how much gas is injected.
INJFLUID simulates a single fluid injection point, and allows the mixing of the main stream with a
side-stream of any required composition and phase. It allows a base pressure and temperature to
be specified for the side stream, this is used to fix the volume flowrate if specified as a gas or liquid
rate.
INJGAS will only allow the injected fluid to be gas, it will apply certain sanity limits when working in
PIPESIM-NET mode, and it will calculate values for Alhanati Gas Lift Stability criteria. It also allows
injected gas properties such as SG, Cp and K to be defined for a black oil fluid.
Main-code: INJGAS or INJFLUID

Keyword index
777
PIPESIM User Guide

GASRATE= Defines the flow rate of injection gas in volumetric terms (mmscf/d or
mmsm3/d).

MASSRATE= Defines the flow rate of injected fluid in mass terms (lb/sec or kg/sec).

LIQRATE= INJFLUID only. Defines the flow rate of injected fluid in volumetric terms of
its stock-tank liquid phase (sbbl/day or sm3/day).

FLOWRATE= or INJGAS only, a synonym for GASRATE=.


RATE=

GOR= or GLR= Defines the flowrate of injection gas in terms of Gas Liquid Ratio or Gas Oil
Ratio. Sufficient gas will be injected to adjust the produced fluid's GLR or
GOR to the specified value. If the fluid currently has a higher value, no gas
will be injected.

INJGLR= or Defines the flowrate of injection gas in terms of an increase in Gas Liquid
INJGOR= Ratio or Gas Oil Ratio. Sufficient gas will be injected to increase the
produced fluid's GLR or GOR by the specified value.

TEMP= or Temperature of injection fluid at the point of injection (F or C). If omitted,


IPTEMP= defaults to the temperature of the produced fluid at the injection point

SG= INJGAS only, optional. For black oil fluids only, Specific gravity of the
injection gas (default = Value of gas SG from produced fluid)

CP= INJGAS only, optional. For black oil fluids only, Heat capacity of injection
gas (default = Value of gas Cp from produced fluid)

KGAS= INJGAS only, optional. For black oil fluids only, Thermal conductivity of
injection gas (default = Value of gas K from produced fluid)

CHP= INJGAS only, Optional. Casing head pressure to be used for Alhanati Gas
Lift Stability Criteria calculation. (psia or Bara)

DSIC= INJGAS only, Optional. Diameter of the Surface Injection Choke. Used for
Alhanati Gas Lift Stability Criteria calculation (in. or mm). Exclusive with
SIP=.

IDCT= INJGAS only, optional: the presence of the IDCT= subcode signals that gas
injection is occurring through coiled tubing. The value supplied is the Internal
Diameter of the Coiled Tubing (in. or mm.). The Cullinder & Smith
correlation is used to calculate the DP in the injection string, this is
compared with the available Casing Head Pressure and tubing pressure,
and insufficient CHP will trigger an informative message. NB: Subsequent
flow up the tubing should be specified as ANNULAR, using an appropriate
PIPE statement that supplies the correct annulus dimensions with AID= and
AOD= subcodes. Coiled tubing being used as a 'velocity string' (i.e. with no
injected gas) should be specified simply as annular flow with an appropriate
PIPE statement as above, there is no need for any INJGAS statement.

Keyword index
778
PIPESIM User Guide

SIP= INJGAS only, optional. Surface Injection Pressure. Used for Alhanati gas Lift
Stability Criteria calculation. (psia or Bara).

DP= INJGAS only, Optional.. Injection port delta pressure (psia or Bara). used to
calculate casing pressure for Alhanait Gas Lift Stability Criteria calculation.
(psi or Bar). Exclusive with DPORT=.

DPORT= INJGAS only, Optional. Injection port diameter. Used for Alhanati gas Lift
Stability Criteria calculation. (in. or mm)

PVTFILE= Optional. For compositional fluids only, the name of a PVT file containing the
composition of the injected fluid. Exclusive with FLUIDNAME=, USE=, and
STREAMNAME=.

FLUIDNAME= or Optional. The name of the fluid (Black Oil or Compositional) representing the
USE= injected fluid specification, as specified with a BEGIN FLUID (p.716) block.
( A special-case fluid name of *SEP_DISCARD specifies that the injected
fluid specification and flowrate is obtained from the discard stream of a
separator (p.791) located somewhere upstream in the same branch. See
also STREAMNAME= below.). Exclusive with PVTFILE= and
STREAMNAME=.

HANDLE=

STREAMNAME= Optional, INJFLUID only. The name of the fluid stream representing the
injected fluid specification, as specified on the DISCARDNAME= subcode of
an upstream separator. The injected stream definition includes its fluid
definition (Black Oil or Compositional), flowrate, and enthalpy. This feature
provides the same functionality as *SEP_DISCARD described above, but in
addition ensures the fluid enthalpy is conserved. Multiple separated streams
may be re-injected within the same branch by ensuring they are defined with
unique names. Exclusive with PVTFILE=, FLUIDNAME= and USE=.

PRINT= Optional. Requests a verbose printout of the specification of the injected


fluid.

CHTEMP= INJGAS only, Optional. Injection gas temperature can be provided at the
casing head (wellhead) as an alternative to TEMP=. This will be corrected to
a temperature at the injection point by use of a formula that depends on
geothermal gradient and production temperature. (F or C)

LIMIT= or
LIMITMR=

GLRLIMIT= or
LIMITGLR=

The quantity of gas or fluid to be injected must usually be specified, either as a volumetric or mass
rate, or as a ratio with the liquid phase of the produced fluid. Thus one of the subcodes
GASRATE=, MASSRATE=, LIQRATE= GOR=, GLR=, INJGOR= or INJGLR= should be specified.

Keyword index
779
PIPESIM User Guide

However, if STREAMNAME= or *SEP_DISCARD is used, the flowrate is obtained from the


upstream separator..
Mixing of the injected and the produced fluid is assumed to occur at the pressure which pertains at
the injection point during the simulation. The temperature of the fluid after mixing is calculated by a
heat balance around the mixing point.
Alhanati gas-lift stability criteria are calculated for a gas lift system and added to the Plot file for use
by the Well Optimization feature, if sufficient information is provided on the INJGAS statement. Any
two of the subcodes SIP=, DPORT=, CHP=, DP= and DSIC= should be provided, preferably the
first two. The others will then be calculated.

8.6.14 MPBOOSTER (Optional)


Main-code: MPBOOSTER

TYPE= Multiphase pump type.

GENERIC

TWINSCREW

VENDOR

NAME= The pump name.

ROUTE=

ADIABATIC Adiabatic compression is performed (default). For black oil models


the heat capacity ratio (C p/C v) for the adiabatic exponent in the
compression equations is assumed to be constant with a value equal
to 1.26. For compositional models the heat capacity ratio is
calculated using the relationship: Cp = Cv - R. The heat capacity is
obtained at the average of the compressor suction and discharge
conditions.

POLYTROPIC Polytropic compression is performed. The heat capacity ratio (C p/C


v) is calculated as outlined above for ADIABATIC compression.

MOLLIER Compression is based upon the Mollier method, that is isoentropic


compression from suction to discharge pressures. This option is valid
for compositional models only

POUT= Discharge pressure from the multiphase pump (bara or psia) (default
20,000 psia)

DP= Pressure differential across the pump (bar or psi) (default 10,000 psi)

PRATIO= Multiphase pump pressure ratio (default 1000)

POWER= Power available (KW or hp) (default unlimited)

Keyword index
780
PIPESIM User Guide

PUMPEFF= Efficiency of compression of the gas phase (default 100%)

SPEED= Pump speed

VISCORR=

STATUS= Status of the pump.

GENERIC

TWINSCREW

VENDOR

8.6.15 MPUMP Multiphase Pump (Optional)


Main-code: MPUMP

TYPE= Multiphase pump type.

CENTRIFUGA Centrifugal pump.

NAME= The pump name.

ROUTE=

ADIABATIC Adiabatic compression is performed (default). For black oil


models the heat capacity ratio (C p/C v) for the adiabatic
exponent in the compression equations is assumed to be
constant with a value equal to 1.26. For compositional models
the heat capacity ratio is calculated using the relationship: Cp
= Cv - R. The heat capacity is obtained at the average of the
compressor suction and discharge conditions.

POLYTROPIC Polytropic compression is performed. The heat capacity ratio


(C p/C v) is calculated as outlined above for ADIABATIC
compression.

MOLLIER Compression is based upon the Mollier method, that is


isoentropic compression from suction to discharge pressures.
This option is valid for compositional models only

POUT= Discharge pressure from the multiphase pump (bara or psia)


(default 20,000 psia)

DP= Pressure differential across the pump (bar or psi) (default


10,000 psi)

PRATIO= Multiphase pump pressure ratio (default 1000)

POWER= Power available (KW or hp) (default unlimited)

Keyword index
781
PIPESIM User Guide

COMPEFF= Efficiency of pumping the liquid phase (default 100%)

PUMPEFF= Efficiency of compression of the gas phase (default 100%)

SPEED= Pump speed

STAGES=

STONEWALL=

ON

OFF

VERBOSE=

ON

OFF

TARGETGAS=

TARGETLIQUID=

TARGETMASS=

Note: At least one of the subcodes POUT, DP, PRATIO, and POWER should be supplied. If 2 or
more are present, PIPESIM will treat them as upper limits, and will use whichever gives the
smallest DeltaP. The others will be recalculated and displayed as answers on the output file.

8.6.16 NODE System Profile Data (Required)


Main-code: NODE
The physical geometry of the pipeline system is defined by entering the distance and elevation
coordinates of each system node. A minimum of two nodes are required to define a system and
there is a maximum limit of 1,000 nodes.

Note: For the calculation of temperature and pressure profiles, PIPESIM internally subdivides the
section of pipe between each node into a number of segments. Normally 4 segments are created,
but this can be controlled from 1 to 50 if desired (see Options (p.691) ).

DISTANCE= Horizontal distance coordinate of the node (km or feet).

ELEVATION= Vertical elevation coordinate of the node (m or feet).

MD= Measured Depth (m or feet)

TVD= True Vertical Depth (m or feet)

Keyword index
782
PIPESIM User Guide

TEMP= Ambient temperature at the node ( oC or oF). If no value is entered, the


value will be calculate: see below.

U= Overall heat transfer coefficient relative to the pipe outside diameter


(W/m2/K or Btu/hr/ft2/ oF). If no value is entered the value from the
previous node is assumed. The U sub-code is not required if the heat
transfer coefficients are to be calculated by the program (if specified
they will be ignored)

LABEL= Node labels are for information only and can appear on any node card.
There is a maximum length limitation of 12 characters. The label should
be included in quotes if it contains delimiter characters (for example
blanks). If a node is labeled, it will appear on the Summary Output at
the end of the job.

MP or MPRESSURE= Specified measured pressure.

MT or Specified measure temperature.


MTEMPERATURE=

MH or MHOLDUP= Specified measured liquid holdup. For more information, see Friction
and Holdup factors (p.418).

Note: This parameter is only available for PIPESIM 2015.1.

Note:
1. Each node may have either specification of DISTANCE= and ELEVATION= , or TVD= and
MD=, but not both. It is also possible to join together pipe sections with either specification, in
which case the nodes where the sections join are assumed to occupy the same position.
2. The ambient temperature is optional.
3. If it is omitted on MD/TVD nodes, it is assumed to be a point on a geothermal temperature
gradient, and its value is calculated by linear interpolation against TVD between known values
on either side. On the DIST/ELEV nodes however, the value from the previous node will be
used.
4. It is possible to place separate sections of pipe within the PIPESIM input file exactly as they
were measured, i.e. with their own particular X/Y datums, effectively a datum reset feature.
Datums are reset whenever a change of NODE card specification occurs (change from using
DISTANCE= and ELEVATION= to MD= and TVD=), and when a supercode is used
(COMPLETION, TUBING, FLOWLINE, RISER NAPOINT, see Completion (p.734) and
NAPOINT (p.829) ) .
5. As with all other maincodes and subcodes, the node data keywords can be abbreviated down
to the minimum number of letters required to make them unique.

Keyword index
783
PIPESIM User Guide

6. In addition, if distance and elevation is used, the subcodes can be omitted, as long as the data
is supplied in the correct order, viz distance, elevation, temperature, U, label. Blank fields
should be delimited by commas.
7. Zero length pipe sections can be defined, that is NODE cards with DISTANCE= and
ELEVATION= sub-codes the same as the previous one can be defined.

8.6.17 PIPE: Pipe or Tubing cross-section dimensions (Required)


Main-code: PIPE

ID= Pipe Internal diameter (mm or inches).

WT= Pipe wall thickness (Default = 12.7 mm or 0.5 inches)

ROUGHNESS= Pipe roughness (Default = 0.025 mm or .001 inches).

AID= Annulus inside Diameter (mm or inches). (Default = 0). See


notes below.

AOD= Annulus Outside Diameter (mm or inches). See notes below.

FLOWTYPE= Specifies the flowpath for a tubing/annulus system. May be:

TUBING Flow is in the normal tubing or pipe, whose internal diameter is


specified with ID=. This is the default.

ANNULUS Flow is in the annular space between tubing and casing,


dimensions set with AID= and AOD=

BOTH or Flow is in both tubing and annulus: tubing internal diameter is


TUBANN set with ID=, casing dimensions set with AOD=, ID= and WT=;
the AID= subcode will be ignored.

CONDUCTIVITY= Pipe thermal conductivity (W/m/K or Btu/hr/ft/ oF)


or KPIPE=

WAXTHIKNESS= The thickness of a coating of wax that exists on the inside of


the pipe (in or mm) (default zero).

WAXK= The thermal Conductivity of the wax (W/m/K or Btu/hr/ft/ oF)

RODDIAM= Specifies that a pump drive rod exists in the center of the pipe
or tubing, and supplies its diameter (in or mm). If flowtype is set
to TUBING, Fluid will flow in the annular space between the rod
and the pipe internal diameter specified with the ID= subcode.

AXID= or AAREA= Optional. The cross-section area of the flowpath (ft 2or m 2). If
or specified, this value is used preference to the area that would
ANNULUSAREA= otherwise be calculated from ID=, AID=, flowpath and so on to

Keyword index
784
PIPESIM User Guide

compute the fluid velocity. This is useful for modeling flow in


ducts that do not have a circular or annular shape.

AWP= Optional. The total Wetted Perimeter WP (in or mm). If


specified, this value is used in preference to the sum of the
relevant diameters specified with ID=, AID- and AOD=,
depending on the flowpath. This is useful for modeling flow in
ducts that do not have a circular or annular shape.

AEHD= Optional. The Equivalent Hydraulic Diameter (in or mm). This is


normally calculated from the relation EHD = 4 AXID / WP . It is
used to obtain the friction factor. This is useful for modeling flow
in ducts that do not have a circular or annular shape.

ILH= or In-Line Heater. This subcode allows a fixed power or duty to be


ILHPOWER= or specified, that is used to transfer heat to the fluid flowing in the
ILHMAXPOWER= pipe. The value is interpreted as power per unit length
(BTU/hr/ft or Kw/m). See notes below.

ILHMINTEMP= This subcode allows a fixed minimum temperature to be


maintained across the pipeline by assigning required variable
heating power per unit length of pipe (BTU/hr/ft or Kw/m.) See
notes below.

RODDIAM= Drive rod diameter. This subcode allows the pipe cross-section
area to be reduced, to simulate the presence of a drive rod for
a pump. The diameter of the rod must be provided (inches or
mm). Note, if the RODPUMP or CVFMD statement is used to
place a pump in the system, the drive rod diameter can also be
set there, in which case it is not necessary to supply it here as
well.

Note:
1. The AID= and AOD= subcodes should only be used if annular flow is desired. For normal pipe
or tubing flow, ID=should be used. The FLOWTYPE subcode should always be used to confirm
the desired type of flow.
2. Both AID= and AOD= refer to the dimensions of the annulus, that is the space between tubing
and casing, or between successive casings. For example, if annular flow between tubing and
casing is to be modeled, the AOD= is the casing inner diameter, and the AID= is the tubing
outer diameter.
3. Most of the published multiphase flow correlations have been developed assuming normal pipe
flow, not annular flow. Whilst Schlumberger have taken every care in the coding and validation
of these correlations, you should carefully examine the results of annular flow simulation to
ensure the selected correlation behaves as expected. We recommend that the results from a
number of correlations be compared when annular flow is modeled.

Keyword index
785
PIPESIM User Guide

4. When ILHMINTEMP= and ILH= (or ILHPOWER= or ILHMAXPOWER=) subcodes are used
together, the supplied power is treated as the maximum limit. The specified minimum
temperature is maintained along the pipeline as long as the required power does not exceed
the available maximum power. When the required temperature cannot be maintained without
exceeding the power limit, the available power will be used as fixed power and resultant
temperature will be calculated.

8.6.18 PUMP Pump (Optional)


Main-code: PUMP

POUT= Discharge pressure from the pump (bara or psia) (default


20,000 psia)

DP= Pressure differential across the pump (bar or psi) (default


10,000 psia)

PRATIO= Pump pressure ratio (default 1000)

POWER= Power available for pump (KW or hp) (default unlimited)

EFF= Overall efficiency of the pump (%) (Default = 100%)

NAME= The name of the pump. Used to specify which pump curve
defined before the profile under the PUMPCRV main-code is
to be used.

SPEED= The pump impeller speed (rpm) (default unlimited)

FREQUENCY= The pump impeller frequency (Hz).

STAGES= The number of stages for this particular pump. (default:


number of stages as specified on the PUMPCRV maincode.)

ROUTE= The thermodynamic route of operation of the pump

ADIABATIC No heat transfer

ISENTHALPIC Constant enthalpy

MOLLIER Mollier

ISENTROPIC Constant entropy

ISOTHERMAL Constant temperature

ACF

UNDEFINED Undefined

Keyword index
786
PIPESIM User Guide

VISCCORR= Viscosity correction

NONE

CENTRILIFT

REDA

TURZO

USER

VERBOSE=

ON

OFF

STAGECALCS= Perform the calculations through the pump on a stage-by-


stage basis. The details are then reported in the output file.

ON

OFF

SEPEFF=

EQUILIBRIUM=

ON

OFF

CALCNSTAGES=

MAXWCUT=

MINSSU=

VISCFLUID=

OIL

WATER

LIQUID

MIXTURE

VISCFACTOR=

STATUS=

Keyword index
787
PIPESIM User Guide

Note:
1. At least one of the subcodes POUT, DP, PRATIO, POWER and SPEED should be supplied. If
2 or more are present, PIPESIM will treat them as upper limits, and will use whichever gives the
smallest DeltaP. The others will be recalculated and displayed as answers on the output file.
2. If a pump curve name is supplied, the speed and/or number of stages may also be supplied.
These are used to adjust the supplied curve against its specified speed and number of stages
(as set with SPEED= and STAGES= on the PUMPCRV maincode). The adjustment for speed is
done using the so called affinity or fan laws, which state that "capacity is directly proportional to
speed, head is proportional to square of speed, and power is proportional to cube of speed".

8.6.19 COMPCRV and PUMPCRV: Compressor and Pump performance


curves
Main-code: PUMPCRV or COMPCRV
Centrifugal pump and compressor performance curves are specified as a range of head and
efficiency or power values versus volumetric flow rates. These values should be specified before
the profile, and each curve is given a name so it can be referenced on a subsequent PUMP or
COMPRESSOR statement.

NAME= Required: The name of the curve, for referencing on a subsequent PUMP or
COMPRESSOR statement.

SPEED= The speed for which this curve was generated. (rpm)

FREQUENCY= The frequency for which this curve was generated. (Hz)

Q= Values of flow rate, supplied as a multiple value set (p.682) . Flowrates are
measured in volumetric terms at the flowing pressure and temperature at the inlet
to the device. For a pump curve, units are bbl/day or m3/day; for a compressor
curve, they are ft 3/min or m3/sec. (See note below).

FLOWRATE= Synonym for Q =.

HEAD= Values of head, supplied as a multiple value set (p.682). For a pump curve, units
are feet or metres. For a compressor curve they are ft-lbf/lbm (foot-pounds force
per pound mass) or Kj/kg. Note that the conversion factor between ft-lbf/lbm and
feet is 1.

EFFICIENCY= Values of efficiency (%), supplied as a multiple value set (p.682). (Default is
100%). Exclusive with POWER=.

POWER= Values of power (hp or kw), supplied as a multiple value set (p.682). Exclusive
with EFFICIENCY=.

STAGES= For a Pump curve only, the number of stages for which this curve is defined
(normally 1).

Keyword index
788
PIPESIM User Guide

WHEELS= For a compressor curve only, the number of compressor wheels for which this
curve is defined.

The multiple value sets (p.682) supplied for Q=, HEAD=, and EFF= or POWER= sub-codes must
contain at least 3, and no more than 30 values, separated by commas, and enclosed in
parentheses. The values need not be entered in ascending or descending order, however there is
a strict one-for-one correspondence between the values in each list, based on their position. Each
list must contain the same number of values.
Since the multiple value lists can be quite lengthy, they may be supplied across more than one line
in the input file. This can be achieved either by use of the continuation character &, or by repeating
the maincode and curve name on each line. The examples below illustrate this, they both have the
same effect:

Examples
Example 1

PumpCrv name = GN7000 stages = 100 speed = 3600


PumpCrv name = GN7000 Q = (1250 ,3750 ,5800 ,7400 ,
9000 ,10666.7)
PumpCrv name = GN7000 head = (4827.88 ,4176.29,3624.68,3160.3 ,
2338.76,971.734)
PumpCrv name = GN7000 eff = (23.6865 ,
55.0738,67.3463,71.3873,63.476 ,31.7383)

Example 2

PumpCrv name = GN7000 stages = 100 speed = 3600 &


Q = (1250 ,3750 ,5800 ,7400 ,9000 ,10666.7) &
head = (4827.88 ,4176.29,3624.68,3160.3 ,2338.76,971.734) &
eff = (23.6865 ,55.0738,67.3463,71.3873,63.476 ,31.7383)

8.6.20 REINJECTOR (Optional)


Main-code: REINJECTOR

8.6.21 RODPUMP: Rod- or Beam-pump


Main-code: RODPUMP or CVFMD
The RODPUMP statement allows the outline specification for a Rod- or Beam-pump to be
supplied.
The volumetric rate of the pump may be defined by one of three methods:
• Nominal Rate: Using the NOMLIQRATE keyword
• Stroke Length X Plunger Diameter X Speed: Using the STROKELENGTH, DIAMETER and
SPEED keywords (most common)
• Volume X Speed: Using the VOLUME and SPEED Keywords

Keyword index
789
PIPESIM User Guide

A rod-pump is an example of a Constant Volume Fluid Motive Device (CVFMD). CVFMDs are
fixed-volume, positive-displacement pumps or compressors designed to move liquids, gases or 2-
phase mixtures. Other notable CVFMD examples are: Progressive cavity pumps, Twin screw
multiphase boosters, and reciprocating compressors. The statement allows a simplistic simulation
of such a device to be performed.

NOMLIQRATE= The flowing volume flowrate that the pump would produce, if it were pumping
with no back-pressure at its discharge (m3/day or bbl/day)

SPEED= The pump speed, in strokes per minute. In conjunction with VOLUME=, this
is an alternative to the nominal rate.

STROKELENGTH= Effective length of the stroke at the plunger location, NOT the polished rod.
When multiplied by the plunger diameter, defines the volume of liquid moved
with each stroke (m or ft).

DIAMETER= Diameter of the plunger which when multiplied by the stroke length, defines
the volume of liquid moved with each stroke (mm or in)

VOLUME= The swept volume of the pump cylinder, i.e. its cross-section area multiplied
by the stroke length (bbl or m3). In conjunction with SPEED=, this is an
alternative to the nominal rate.

SLIPCOEF= A coefficient to specify the change in flowrate with respect to Delta pressure
(m3/day/bar or bbl/day/psi). This is used to compute the pressure rise across
the device when the actual flowrate is less than the specified nominal rate.

MAXDP= Maximum pressure rise the device is allowed to exhibit (psi or bar). This is
used to prevent excess rod loading.

MAXPOWER= Maximum power the device is allowed to draw (hp or kw). This is used to
prevent excess rod loading.

EFFICIENCY= Overall efficiency of the pump which is used to compute the power
requirement.

RODDIAMETER= The Diameter of the drive rod (in or mm). The drive rod will be assumed to
exist in the downstream pipe or tubing, and will stretch up to the wellhead or
the end of the tubing. The fluid will flow in the annular space between the
tubing ID and the rod OD. The rod diameter can be adjusted in downstream
pipe sections by use of the RODDIAM= subcode on the PIPE (p.784)
statement, this is useful to simulate taper rods.

NOMINALRATE= The flowing volume flowrate that the pump would produce, if it were pumping
with no back-pressure at its discharge (m3/sec or ft3/min). This is the same
information as NOMLIQRATE= but in different units, more suited to other
types of CVFMD.

Keyword index
790
PIPESIM User Guide

8.6.22 SEPARATOR Separator (Optional)


Main-code: SEPARATOR

TYPE= Type of separator: required, and may be set to one of:

GAS Defines a gas separator: the Gas phase will be wholly or partly
discarded.

LIQUID Defines a liquid separator: the liquid phase(s) will be wholly or partly
discarded.

WATER Defines a water separator: the Aqueous Liquid phase will wholly or
partly discarded.

EFFICIENCY= The volumetric efficiency of separation expressed as a percentage, 0


to 100. At 100% efficiency, all of the discarded phase will be
removed; at lower values, some of the discard phase will remain in
the kept stream. Note that the efficiency applies only to the discarded
phase; no portion of the kept phase(s) will be discarded at any
efficiency.

DISCARDNAME= Optional: the name of the discarded fluid stream. The discarded
stream can be re-injected in the branch, in a downstream fluid
injector, if it is given a name. This is an alternative to
*SEP_DISCARD, as described in note 3 below.

VERBOSE= Optional: allows control over the detailed output for the separator,
written to the report file (.out).

ON Separator output is written to report file.

OFF Separator output is not written to report file.

Notes:
1. In a Black Oil case, the separator will result in a redefinition of the fluid's stock-tank Gas to
Liquid Ratio (originally supplied on the RATE maincode as GLR, GOR, OGR or LGR) to a GLR
or LGR. In a compositional case, a rigorous flash is performed at the separator pressure and
temperature, and the molar composition re-defined in terms of the flowrates of the components
in the kept phase(s).
2. If the efficiency is 100% and the flowrate is defined in terms of the discarded phase, the
flowrate basis will be changed to that of the kept phase.
3. Use of the SEPARATOR statement normally results in the separated phase being discarded
from the system. In a single branch model, or within a given branch of a network model, the
discarded phase can be recovered and re-injected into the branch further downstream, by use
of the special fluid name *SEP_DISCARD (p.777) on the INJFLUID (p.777) statement. In a

Keyword index
791
PIPESIM User Guide

network model, a Network Separator (p.856) can be used (at the network level) to ensure
both separator outlet streams are kept.

8.6.23 WELLHEAD Wellhead Profile Delimiter


Main-code: WELLHEAD
This maincode marks the position of the wellhead in the system profile. It is required when
modeling multiple injection ports in gas lifted wells.

8.7 HEAT TRANSFER DATA


HEAT (p.792) Heat Balance Options
COAT (p.795) COAT Pipe Coat and Annular Space Medium Data
TCOAT (p.796) Pipe Coat Thickness Data
KCOAT (p.797) Pipe Coat Thermal Conductivity Data
KFLUID (p.800) Fluid Thermal Conductivity Data
CONFIG (p.800) Configuration Data
Pipeline burial depth examples (p.802)

8.7.1 Notes on Heat Transfer Output Printing


1. Normally heat transfer input and output data is invoked by using: PRINT (p.706) HINPUT
HOUTPUT (See Section 1)
2. The radial temperature profile of coatings surrounding the pipe can be printed by invoking:
PRINT (p.706) EXTRA=TGRAD
3. Details of convective heat transfer calculations can be printed by invoking: PRINT (p.706)
EXTRA=CONVx where 'x' can be either 1, 2, 3, or 4 representing coats 1 to 4 respectively.
Note that details can only be obtained for 1 coat in each PIPESIM case performed.

8.7.2 HEAT Heat balance options (optional)


Main-code: HEAT

BALANCE= OFF No heat balance is performed and the fluid temperature is


set equal to the ambient (or local ground) temperature as
specified in the system profile under the NODE main-code.

ON A heat balance is performed (default).

U= CALC Calculate heat transfer coefficients from data supplied in


this section.

Keyword index
792
PIPESIM User Guide

INPUT Heat transfer coefficients are to be read from the NODE


cards (default).

HTCRD= Heat Transfer Coefficient Reference Diameter (in or mm).


This value will be used as the reference diameter (instead
of the current Pipe Outside Diameter) for all Heat Transfer
Coefficients printed in the Heat transfer output data
(p.706) page.

IFCMODE= INPUT Controls whether a separate Inside Film Coefficient (IFC)


is calculated when U values are supplied on NODE
statements (U=INPUT, see above). May be set to INPUT
or CALC. INPUT means the U supplied on the Nodes is
assumed to include the IFC; CALC means it does not, so
IFC will be calculated separately and added (using the
correct reciprocal formula) to the supplied U.(If INPUT is
used, the IFC is calculated, but not added; the calculated
value is compared to the supplied U, and if grossly
smaller, will trigger the production of a warning message.)
Applies only if U=INPUT. Default=INPUT.

CALC IFC is calculated and added to the supplied U value.

SPIFCMETHOD= Single phase fluid Inside Film Coefficient (HFI) correlation.


To be used in conjunction with MPIFCMETHOD= .If the
flow conditions are single phase then the PIPESIM engine
uses this correlation. The default method is BJA.

SIEDERTATE Sieder and Tate

ORIGINAL Original

VOLAVERAGE Kreith eqn 8-20 (Vol Ave.)

KREITH10 Kreith eqn 10-6

GH9 Groothuis & Hendal eqn 9

GH10 Groothuis & Hendal eqn 10

BJA BJA (Kreith eqn 8-20)

SHELL Shell

BP Bp

MPIFCMETHOD= Multiphase Inside Film Coefficient (HFI) correlation


method that is used in conjunction with SPIFCMETHOD=.
If the flow conditions are multiphase then the PIPESIM
engine uses this correlation. The default method is BJA.

Keyword index
793
PIPESIM User Guide

KAMINSKY Kaminsky

ORIGINAL Original

VOLAVERAGE Kreith eqn 8-20 (Vol Ave.)

KREITH10 Kreith eqn 10-6

GH9 Groothuis & Hendal eqn 9

GH10 Groothuis & Hendal eqn 10

BJA BJA (Kreith eqn 8-20)

SHELL Shell

BP Bp

HOLDUP= IFC depends on holdup

ON

OFF Default

TRMIN=

TRMAX

WAX= Wax calculation mode.

PARTBURYMETH= Partial burial calculation method

2009 2009 Method

2000 2000 Method

1983 1983 Method

MASTER= Enthalpy is master.

TEMPERATURE

ENTHALPY

UVALUE=

RAMEYMETHOD= The Ramey heat transfer calculation method for tubings.

OFF Heat transfer coefficients for tubing are to be read from the
NODE cards (default).

LARGETIME Heat transfer coefficients are to be calculated for tubing


using the Ramey model (for times greater than 168 hr).

Keyword index
794
PIPESIM User Guide

Note that the time is specified via OPTIONS subcode


RAMEYTIME.

GRNDCP= Ground specific heat capacity (default = 837.4 J/kg/K or


0.2 Btu/lb/oF) used in the Ramey model.

GRNDDEN= Ground density (default = 2242.6 kg/m3) or 140lb/ft3) used


in the Ramey model.

DHEQUATION= Energy equation to calculate temperature changes in pipe


flow.

2009 Rigorous energy equation taking into account elevation,


friction and heat loss.

1983 Simplified energy equation.

Heat transfer mode


There are three heat transfer modes to select from:
1. No heat balance is performed and the fluid temperature is set equal to the ambient (or local
ground) temperature as specified in the system profile under the NODE main-code.
2. A heat balance is performed using overall heat transfer coefficients input under the NODE
main-code. Note: This is the default option. So, if the HEAT main-code is omitted, the program
will perform a heat balance and expect heat transfer coefficients to be entered under the NODE
maincode. If the program fails to find a 'U' value on the first node card an input data error will be
generated.
3. A heat balance is performed using heat transfer coefficients calculated by the program from the
data specified in this section.

8.7.3 COAT Pipe coat and annular space medium data (optional)
Main-code: COAT
The COAT statement allows the data for pipe coating or annular space thickness, conductivity and
medium to be specified for a single coat or annular space. For multiple coats, additional COAT
statements may be provided, up to a maximum of 26. COAT is an alternative to the TCOAT and
KCOAT statements, they both allow the same information to be entered.

NUMBER= The coat or annular space number to be specified. Coat 1 is the innermost
coat. Must be an integer between 1 and 26

THICKNESS= Coating or annular space thickness (ins or mm, default zero). All coats are
assumed to be of zero thickness until specified with a positive thickness

CONDUCTIVITY= , Coat thermal conductivity (W/m/K or Btu/hr/ft/ oF, default infinite).


K= Exclusive with MEDIUM=.

MEDIUM= The name of the fluid medium contained in the annular space. This must
match the core portion of a filename with the extension .APF in the

Keyword index
795
PIPESIM User Guide

PIPESIM installation's data directory. Default available filenames to specify


typical annular fluids are provided, these are as documented for the
KCOAT statement. Exclusive with CONDUCTIVITY=.

PRESSURE= The average pressure in the annular space (psia or Bar, default 1000
psia).

LABEL=, NAME= The name of the coat or space.

U= The overall heat transfer coefficient for this coat (W/m2/K or Btu/hr/ft2/ oF).
This value will be used instead of any calculated value. The reference
diameter for this will be the pipe outside diameter, that is the junction
between the pipe and the first coat, this can be changed using the RD=
subcode below.

RD= The Reference Diameter to be used for the U= subcode provided above
(in or mm).

RESETALL Specifies that all previous coatings information be reset to zero. This
allows new coatings information to be supplied with subsequent COAT (or
TCOAT and KCOAT) statements without risk that earlier higher-numbered
coats will be remembered.

Note: As with other data, any coat thickness data specified at a particular node will automatically
be carried forward to subsequent nodes unless altered or reset to zero thickness. A coat can be
removed (effectively) by specifying its thickness as zero. This will not affect the properties of
higher-numbered coats. All coats can be removed by use of the RESETALL subcode.

Example
PIPE ID=5.25 thickness =.375 K = 56.4
COAT resetall
COAT num = 1 thickness = 3 medium=brine name='brine-filled annulus'
COAT num = 2 thickness = 0.5 K = 50 name='casing 1'
COAT num = 3 thickness = 2 medium=gas65 name='gas filled annulus'
COAT num = 4 thickness = 0.5 K = 50 name='casing 2'
COAT num = 5 thickness = 3 K = 3.5 name='cement'

Note: All keywords can be entered using the EKT.

8.7.4 TCOAT Pipe coat thickness data (optional)


Main-code: TCOAT
The TCOAT and KCOAT main-codes are used to specify up to ten concentric pipe coatings for use
in the heat transfer calculations. This data is only required if U=CALCULATE is specified with the
HEAT (p.792) main-code. Note that the pipe thickness is specified under the PIPE (p.784) main-
code.

Keyword index
796
PIPESIM User Guide

TPIPE= Thickness of pipe (default = 0.0 mm or in).

TWAX= Thickness of wax (default = 0.0 mm or in).

T1= Thickness of coat 1 (default = 0.0 mm or in).

T2= Thickness of coat 2 (default = 0.0 mm or in).

T3= Thickness of coat 3 (default = 0.0 mm or in).

T4= Thickness of coat 4 (default = 0.0 mm or in).

T5= Thickness of coat 5 (default = 0.0 mm or in).

T6= Thickness of coat 6 (default = 0.0 mm or in).

T7= Thickness of coat 7 (default = 0.0 mm or in).

T8= Thickness of coat 8 (default = 0.0 mm or in).

T9= Thickness of coat 9 (default = 0.0 mm or in).

T10= Thickness of coat 10 (default = 0.0 mm or in).

Note: As with other data, any coat thickness data specified at a particular node will automatically
be carried forward to subsequent nodes unless altered or reset to zero.

8.7.5 KCOAT Pipe coat thermal conductivity data (optional)


Main-code: KCOAT

KPIPE= Pipe thermal conductivity (default = 60.6 W/m/ oK or 35 Btu/hr/ft/ oF).

K1= Coat 1 thermal conductivity (W/m/K or Btu/hr/ft/ oF).

K2= Coat 2 thermal conductivity (W/m/K or Btu/hr/ft/ oF).

K3= Coat 3 thermal conductivity (W/m/K or Btu/hr/ft/ oF).

K4= Coat 4 thermal conductivity (W/m/K or Btu/hr/ft/ oF).

KWAX=

Note: The default value for coat thermal conductivities is infinity (effectively), which means that the
default thermal resistance is effectively zero.

The sub-codes described here are utilized in the modeling of convective heat transfer within fluid
filled annuli.

Keyword index
797
PIPESIM User Guide

F1= The name of the data file in which annular fluid properties for Coat No. 1 are stored.

F2= The name of the data file in which annular fluid properties for Coat No. 2 are stored.

F3= The name of the data file in which annular fluid properties for Coat No. 3 are stored.

F4= The name of the data file in which annular fluid properties for Coat No. 4 are stored.

P1= Average pressure in Coat No. 1 (default = 1,000 psia / 70 bara)

P2= Average pressure in Coat No. 2 (default = 1,000 psia / 70 bara)

P3= Average pressure in Coat No. 3 (default = 1,000 psia / 70 bara)

P4= Average pressure in Coat No. 4 (default = 1,000 psia / 70 bara)

Convective (Fx) and conductive (Kx) coatings can be specified in any sequence desired. The
example below illustrates the modeling of a riser within a gas filled caisson which is insulated on
the outside with 0.5" neoprene. Physical properties for the gas contained within the caisson will be
read from the file 'GAS65.APF'.

Note: The Fx and Kx subcodes for any coating are mutually exclusive. Calculated convective heat
transfer coefficients are printed to the HOUTPUT page as normal. In addition an equivalent thermal
conductivity is calculated from the convective heat transfer coefficient and printed to the relevant
position in the HINPUTpage.

Files
BJA have prepared data files for the most common annular fluids such as natural gas, brine, mud
and so on. These files are located in the PIPESIM data directory. The files currently available are
listed below together with a brief description of the file contents.

File Name Contents

wbm.apf Properties of a typical water based mud

obm.apf Properties of a typical oil based mud

gas65.apf Properties of a 0.65 S.G. gas

brine.apf Properties of a typical brine

Annular property data files are written in a simple to understand text file format to enable users to
edit files or create their own if required.

Example
The example below illustrates the table format.

Keyword index
798
PIPESIM User Guide

Note: A column containing line numbers is not part of the file.

Line 1 Specification of file format. Should not be modified

Line 2 Title line. May be modified as necessary

Line 3 Specifies the number of properties to be read

Line 4 Format in which lines are to be read. Should not be modified

Lines 5 - 10 Identifies the properties contained in the file and the order in which they are
arranged. Note that this order is fixed and cannot be changed by the user. The two
columns of numbers contain the conversion factors necessary to convert the
property from the units specified in the file to standard PIPESIM SI units. Column 1
contains the additive conversion factor whilst column 2 contains the multiplying
factor. This specification allows users to specify data in different units as required.

Line 11 Should not be modified.

Line 12 - 29 Contains the necessary physical property data in the sequence specified in Lines 5 -
10. Columns 1 & 2 contain the pressure and temperature to which the physical
property data relates. Note that the maximum number of pressure and temperature
points permitted within a file is 20.

Line 30 Identifies the end of file.

Example File: BRINE.APF

ANPROP-1.0 LINEAR TABLE-1 ,A, 0, 0, NOGO


JOB : WATER TEST-1
6
(7f11.0)
Pressure PSIA 0. 6.894730
Temperature F 255.3722 .5555555
Liquid Density LB/FT3 0. 16.01800
Liquid Viscosity cP 0. 1.000000
Liquid conductivity BTU/hrftF 0. 1.730104
Liquid Heat Capacity BTU/LBF 0. 4.186800
NEWLINE, SCALE, CONT
14.7 50 62.4 0.880 .332 1.000
14.7 60 62.3 0.760 .340 0.999
14.7 70 62.3 0.658 .347 0.998
14.7 80 62.2 0.578 .353 0.998
14.7 90 62.1 0.514 .359 0.997
14.7 100 62.0 0.458 .364 0.998
14.7 150 61.2 0.292 .384 1.000
14.7 200 60.1 0.205 .394 1.000
14.7 400 53.8 0.001 .394 1.000
1000 50 62.4 0.880 .332 1.000
1000 60 62.3 0.760 .340 0.999
1000 70 62.3 0.658 .347 0.998
1000 80 62.2 0.578 .353 0.998
1000 90 62.1 0.514 .359 0.997

Keyword index
799
PIPESIM User Guide

1000 100 62.0 0.458 .364 0.998


1000 150 61.2 0.292 .384 1.000
1000 200 60.1 0.205 .394 1.000
1000 400 53.8 0.001 .394 1.000
composition

Typical Thermal conductivities (p.653) in W/m/K (Solids) Thermal conductivities (p.653) in W/m/K
(Liquids and Gases)

Note: All keywords can be entered using the EKT.

8.7.6 FLUID Fluid thermal conductivity data (optional)


Main-code: KFLUID
The fluid thermal conductivities are used in the calculation of the pipe internal film heat transfer
coefficients. Default values are supplied and should be adequate for most cases.

OIL= Oil thermal conductivity (default = 0.138 W/m/K or 0.08 Btu/hr/ft/ oF).

GAS= Gas thermal conductivity (default = 0.035 W/m/K or 0.02 Btu/hr/ft/ oF).

WATER= Water thermal conductivity (default = 0.605 W/m/K or 0.35 Btu/hr/ft/ oF).

Note: All keywords can be entered using the EKT.

8.7.7 CONFIG: Pipe Heat transfer configuration data (optional)


Main-code: CONFIG
This data is only required if U=CALCULATE is specified under the HEAT main-code and if near-
surface horizontal or near-horizontal pipe is being considered. For pipe or tubing situated away
from the influences of air and seawater the CONFIG card is not required.
Calculation of the convective heat transfer coefficient requires ambient fluid properties. The default
ambient fluid properties for air and water are given in the table below and based on the following
conditions:
• Water Temperature: 10ºC (50ºF) (~ 328m, 1000 ft. water depth)
• Water Pressure: 32 bar, 460 psia (~ 328m, 1000 ft. water depth)
• Water Salinity: 35%
• Air Temperature: 15.6 ºC, 60 ºF
• Air Pressure: 1.01353 bar, 14.7 psia
• Air relative humidity: 70%
These default values equate to the following Prandtl Numbers:
• Prandtl number for air: 0.713
• Prandtl number for water: 9.5

Keyword index
800
PIPESIM User Guide

While these conditions represent typical field conditions, the properties may be user specified
using the keywords described below. However, for most situations, changing these properties will
have nominal effect on the calculation of the overall heat transfer coefficient. The default values
have been revised with the 2015.1/2012.3 releases of PIPESIM and are consistent with OLGA
2015.1 and later releases.

DEPTH= The burial depth (in mm or inches) as measured from the ground surface or
mudline to the center-line of the pipe. A negative burial depth implies that the pipe
center-line is above the surface and the pipe is therefore partially buried or fully
exposed. Default is Fully Buried at depth of 800 feet.

KGROUND= Ground thermal conductivity (W/m/K or Btu/hr/ft/F).

VAIR= Ambient air velocity. Used to calculate the outside film heat transfer coefficient
(Default = 0.033 m/s or 0.1 ft/s). Exclusive with VWATER=.

VWATER= Ambient water velocity. Used to calculate the outside film heat transfer coefficient.
(Default = 0.033 m/s or 0.1 ft/s). Exclusive with VAIR=.

WDENS= Ambient water density. (Default = 1028.4 kg/m3 or 64.201 lbm/ft3; keyword unit:
lbm/ft3).

WVISC= Ambient water viscosity. (Default = 1.4 cP; keyword unit: cP).

WCP= Ambient water specific heat capacity. (Default = 3978 J/Kg-ºC or .9501 BTU/lbm-
ºF; keyword unit: BTU/lbm-ºF).

WK= Ambient water thermal conductivity. (Default = .5865 W/m-ºC or .3389 BTU/ft-hr-ºF;
keyword unit: BTU/ft-hr-ºF).

WBETA= Ambient water coefficient of thermal expansion. (Default = .000172 1/ºC or .


00009556 1/ºF; keyword unit: 1/ºF).

ADENS= Ambient air density. (Default = 1.2174 kg/m3 or 0.076 lbm/ft3; keyword unit: lbm/
ft3).

AVISC= Ambient air viscosity. (.0178 cP; keyword unit: cP).

ACP= Ambient air specific heat capacity. (Default = 1005 J/Kg/ºC or 0.24 BTU/lb-ºF;
keyword unit: BTU/lbm-ºF).

AK= Ambient air thermal conductivity. (Default = .02510 W/m-ºC or 0.0145 BTU/ft-hr-ºF;
keyword unit: BTU/ft-hr-ºF).

ABETA= Ambient air coefficient of thermal expansion. (Default = .00347 1/ºC or 0.00193
1/ºF; keyword unit: 1/ºF).

TOPDEPTH= The burial depth (in mm or inches) as measured from the surface to the top of the
pipe.

Example

Keyword index
801
PIPESIM User Guide

$ OVERRIDE AMBIENT WATER PROPERTIES


CONFIG WDENS = 64.201 WVISC = 1.4 WCP =.9501 WK = .3389 WBETA = .00009556
$ OVERRIDE AMBIENT AIR PROPERTIES
CONFIG ADENS = .076 AVISC = .0178 ACP = .24 AK = .0145 ABETA = .00193

8.7.8 Pipeline burial depth examples


For a horizontal pipeline
Z : burial depth.
D : outside diameter of pipe and coatings

Burial depth Pipe and coatings Exposed to Schematic


air or water
− D/2 > Z above ground / yes
seabed

Z = − D/2 resting on ground/ yes


seabed

0 > Z > − D / 2 partially (less than yes


half) buried

D/2 > Z > 0 partially (more than yes


half) buried

Z > D/2 completely buried no

Keyword index
802
PIPESIM User Guide

8.8 Fluid models


8.8.1 BLACK OIL DATA
BLACKOIL (p.803) Black Oil Correlation Options
PROP (p.805) Fluid Property Data
LVIS (p.806) Liquid Viscosity Data
CPFLUID (p.811) Fluid Heat Capacity Data
RATE (p.701) Flow Rate Data
ITERN Iteration Data (Optional) (p.703)
TPRINT (p.812) Black Oil Table Printing
CALIBRATE (p.812) Black Oil Property Calibration
INJGAS and INJFLUID (p.777) Injection Gas and side stream fluid injection
WELLHEAD (p.792) Wellhead Profile Delimiter
GASLIFT (p.772) Multiple Injection Ports in Gaslifted Wells
INJPORT (p.775) Gas Lift Injection Port
CONTAMINANTS (p.814) Gas contaminants data

BLACKOIL: Black Oil Fluid definitions


Main-code: BLACKOIL
Fluid properties can be generated internally by so called "black oil" correlations which have been
developed by correlating gas/oil ratios for live crudes with various properties, such as oil and gas
gravities. The selected correlation is used to predict the quantity of gas dissolved in the oil at a
particular pressure and temperature.
The black oil correlations have been developed specifically for crude oil/gas/water systems and are
therefore most useful in predicting the phase behavior of crude oil well streams. When used in
conjunction with the calibration options, the black oil correlations can produce accurate phase
behavior data from a minimum of input data. They are particularly convenient in gas lift studies
where the effects of varying GLR and water cut are under investigation.
A Blackoil fluid must define its stock-tank volume phase split using one of: GLR=, GOR=, OGR=,
or LGR=, and one of WCUT=, WGR= and GWR=.

Gas saturation (RS) correlations

RSCORR= ELSHARK Elsharkawy

GHETTO de Ghetto

GLASO Glasø (p.589) correlation.

KART Kartoatmodjo

Keyword index
803
PIPESIM User Guide

LASATER Lasater (p.590) correlation (default for bubble point pressure and solution
gas).

PETROSK Petrosky-Farshad

STANDING Standing (p.590) correlation (default for oil formation volume factor at the
bubble point)

VAZBEG Vazquezand Beggs (p.591) correlation (default for oil formation volume
factor above the bubble point).

Gas densities are calculated using a Z-factor correlation developed by Katz (p.670) and Standing
and so the black oil correlations can also be used for single phase gas systems and gas/
condensate systems with more or less constant gas/liquid ratios. However, if the accurate phase
behavior prediction of light hydrocarbon systems is important, it is recommended that the more
rigorous compositional models is employed.

Gas Compressibility correlation choices

GASZCORR= DPR The Dranchuk, Purvis and Robinson correlation for curve fitting the
Standing- Katz (p.670) reduced pressure-reduced temperature Z-
Factor chart.

GOPAL The Gopal correlation for curve fitting the Standing- Katz (p.670)
reduced pressure-reduced temperature Z-Factor chart.

HALLYAR Hall & Yarborough correlation for curve fitting the Standing- Katz
(p.670) reduced pressure-reduced temperature Z-Factor chart.

STANDING The Standing modification to the Brill and Beggs correlation for
curve-fitting the Standing- Katz (p.670) reduced pressure-reduced
temperature Z-Factor chart.

TSTANDING

Oil Formation Volume Factor correlation choices

OFVFCORR= ELSHARKAWY Elsharkawy

KART Kartoatmodjo

PETROSKY Petrosky

STANDING Standing

VAZBEG Kartoatmodjo

Gas dissolution and saturation in water

WRSCORR= HPPAC

Keyword index
804
PIPESIM User Guide

KATZ

NONE

Gas viscosities are calculated using the Lee et al. (p.671) correlation.
Blackoil fluids that have been previously defined with BEGIN FLUID (p.716) can be selected with
the FLUIDNAME= or USE= subcode.

Stock-tank Phase Ratios


A Blackoil fluid must define its stock-tank volume phase split using one of: GLR=, GOR=, OGR=,
or LGR=, and one of WCUT=, WGR= and GWR=. (For historical reasons, these subcodes are also
available on the RATE statement, but you are strongly encouraged to use them here instead. A
compositional fluid can also define them but they must be supplied on the COMPOSITION
statement. ).

GWR= Gas Water ratio at stock-tank conditions. (sm 3/sm 3 or scf/STB)

WGR= Water/gas ratio at stock-tank conditions. (sm 3/mmsm 3 or STB/mmscf).

WCUT= Watercut, i.e. the volume % aqueous phase in the total liquid phase at stock tank
conditions.

GLR= Gas/liquid ratio at stock tank conditions. (sm 3/sm 3 or scf/STB).

GOR= Gas/oil Ratio at stock tank conditions. (sm 3/sm 3 or scf/STB).

LGR= Liquid/gas ratio at stock-tank conditions. (sm 3/mmsm 3 or STB/mmscf).

OGR= Oil/gas ratio at stock-tank conditions. (sm 3/mmsm 3 or STB/mmscf).

Care must be exercised in combining these subcodes, as it is possible to specify a value for one of
them that renders the use of the other one meaningless or illegal: such as with WCUT=100, any
value for GOR= is meaningless; for example, GLR=0 conflicts with any non-zero value for GWR=.
It is however always possible to re-state the desired definition correctly by well-chosen alternative
subcodes.

PROP Fluid Property Data (Optional)


Main-code: PROP

API= Dead oil API gravity at stock tank conditions (see note 1). Default = 30 API.
The API gravity is defined as follows: - API = (141.5/sg) - 131.5 where sg is the
oil specific gravity relative to water. Exclusive with DOD=.

DOD= Dead oil density (kg/sm 3 or lb/ft 3) at stock tank conditions (see note 1).
Default = 876 kg/sm 3. Exclusive with API=.

GASSG= Associated gas specific gravity relative to air (MW/28.964) at stock tank
conditions (see note 1). Range 0.55 < GASSG 1.2. Default = 0.64.

Keyword index
805
PIPESIM User Guide

CONEDGASSG= Coned gas specific gravity (default: same as associated gas SG as defined
with GASSG=). The coned gas SG will only be used if a coning relationship
has been defined for the completion with CONETAB (p.747) or IPRCRV
(p.744). Coning will result in a mix of associated and coned gas, resulting in a
produced gas SG somewhere between these 2 values.

WATERSG= Water specific gravity at stock tank conditions (see note 1). Default = 1.02.

STENSION= Specifies the method for calculating Liquid/gas interfacial tension. This allows
for the possibility of three phase (gas/oil/water) flow where the liquid
hydrocarbon (oil or condensate) flows as a segregated layer on top of the
aqueous phase. Some 2-phase flow correlations (such as BJA and Duns and
Ros) take account of the interfacial surface tension when calculating such
parameters as the liquid wave height. Can be set to MIXED or SEGREGATED,
meaning:

MIXED: Surface tension is calculated based on the average properties of the


water and hydrocarbon liquid mixture. This is the default value.

SEGREGATED: Surface tension is calculated based on properties of the


hydrocarbon liquid only. This option should only be used when it is expected
that the liquid hydrocarbon and aqueous phases will be segregated, for
example, long pipelines operating in the stratified flow regime.

GSAT= The quantity of gas which would dissolve in the oil, and saturate it, at a given
pressure and temperature (sm3/sm3 or scf/bbl) (see note 2).

PSAT= The saturation pressure for GSAT= (bara or psia) (see note 2).

TSAT= The saturation temperature for GSAT= ( oC or oF) (see note 2).

PSEP= The separator pressure used by Kartoatmodjo (etc) correlations

TSEP= The separator temperature used by Kartoatmodjo (etc) correlations

Note:
1. The oil, water and gas properties should be entered at stock tank conditions, that is 14.696 psia
and 60 oF .
2. The oil saturated gas content at a known temperature and pressure (for example at reservoir
conditions) should be entered to allow calibration of the black oil model. Such calibration will
significantly improve the accuracy of the predicted gas/liquid ratios. If the calibration data is
omitted the program will calibrate the correlation on the basis of oil and gas gravity alone and
there will be a consequent loss in accuracy. Note, the value of GSAT= is independent of any
GLR= or GOR= supplied on the BLACKOIL statement

LVIS: Liquid Viscosity Data (Optional)


Main-code: LVIS

Keyword index
806
PIPESIM User Guide

DOVCORR= Specifies the choice of Dead Oil Viscosity correlation.

USER or BEAL Dead oil viscosity will be calculated by fitting two


measured values of viscosity versus temperature to
Beal's chart. Use with TEMP1=, TEMP2=, VIS1= and
VIS2=. PIPESIM will fit a curve of the form
1
log ( μ ) ∝
T
through the two given data points and then interpolate (or
extrapolate) to find dead oil viscosities at given
temperatures. Normally you would enter viscosity data at
temperatures close to the expected maximum and
minimum operating temperatures. Entering two identical
temperatures or viscosities will cause an error.

TABLE Dead oil viscosity will be calculated by fitting a table of


viscosity vs. temperature to Beal's chart. Use with
TEMPS= and VISCS=. See note 1 below

BEGROB Beggs and Robinson (1975). This correlation is


constrained to work within limits as published by the API
(Petroleum Engineering handbook, Page 22-16), that is
Temperature between 70 and 295 oF, and oil API gravity
between 16 and 58.

GLASO Dead oil Viscosity will be calculated using the correlation


of Glasϕ (1980)

KARTOATMODJO Kartoatmodjo and Schmidt correlation

GHETTO De Ghetto correlation

HOSSAIN Hossain correlation

ELSHARKAWY Elsharkawy correlation

PETROVSKY Petrovsky correlation

LOVCORR= Specifies the choice of Live (gas-saturated) Oil Viscosity


correlation. May be set to one of:

CHEWCON Chew and Connally correlation

BEGROB Beggs and Robinson correlation

KARTOATMODJO Kartoatmodjo and Schmidt correlation

KHAN Khan correlation

GHETTO De Ghetto correlation

Keyword index
807
PIPESIM User Guide

HOSSAIN Hossain correlation

ELSHARKAWY Elsharkawy correlation

PETROVSKY Petrovsky correlation

UOVCORR= Specifies the choice of Undersaturated Oil Viscosity


correlation. May be set to one of:

VAZBEG Vasquez and Beggs correlation (default)

KOUZEL Kouzel correlation. Coefficients are supplied with the KA=


and KB= subcodes.

KARTOATMODJO Kartoatmodjo and Schmidt correlation

KHAN Khan correlation

GHETTO De Ghetto correlation

HOSSAIN Hossain correlation

ELSHARKAWY Elsharkawy correlation

BERGMAN Bergman and Sutton correlation

PETROVSKY Petrovsky correlation

NONE Undersaturated oil viscosity calculation will be omitted, oil


viscosity will be set to the result of the Live Oil viscosity
correlation at the minimum of (actual and bubble point)
pressure.

EMULSION= Used to select one of various options for the calculation


of oil-water mixture viscosities. The water viscosity data
is generated internally by PIPESIM, using the van Wingel
correlation. Generally speaking, at water cuts less than
approximately 60% water (by volume), the oil phase is
continuous with the water phase distributed. Under these
conditions some oil-water mixtures can form highly
viscous water-in-oil emulsions, particularly at water cuts
in the range of 30-50%. Emulsion viscosities many times
higher than that of either the oil or water are not
uncommon. At water cuts above 60%, water is usually
the continuous phase and the resulting oil-in-water
emulsion has a viscosity similar to that of water. Used in
conjunction with the CUTOFF= subcode.

SWAP The mixture viscosity equals the oil viscosity at water cuts
less than or equal to cutoff % and equals the water
viscosity at water cuts greater than cutoff % (default).

Keyword index
808
PIPESIM User Guide

VOLRATIO The mixture viscosity equals the volume ratio of the oil
and water viscosities.

WLOOSE Use Woelflin "Loose Emulsion" correlation at watercuts


below the cutoff, set to water viscosity above.

WMEDIUM Use Woelflin "Medium Emulsion" correlation at watercuts


below the cutoff, set to water viscosity above.

WTIGHT Use Woelflin "Tight Emulsion" correlation at watercuts


below the cutoff, set to water viscosity above.

WORIG Use PIPESIM original Woelflin loose emulsion correlation


at watercuts below the cutoff, set to water viscosity
above.

KENMONROE Liquid viscosities are calculated from oil and water


viscosities using the Kendal & Monroe equation. This is
the option used when Emulsions are set to None for a
Compositional fluid.

TABLE Emulsion viscosities are interpolated from the table


supplied with the EWCUTS= and EVISCS= subcodes.
See note 1 below.

BRINKMAN Use the Brinkman correlation. This generally predicts


elevated liquid viscosities on either side of the cutoff.

VAND Use the Vand correlation, using Vand's coefficients. This


generally predicts elevated liquid viscosities on either
side of the cutoff.

VANDBARNEA Use the Vand correlation, using Barnea and Mizrahi


coefficients. This generally predicts elevated liquid
viscosities on either side of the cutoff.

VANDUSER Use the Vand correlation, using coefficients supplied with


the K1= and K2= subcodes. This predicts liquid
viscosities on either side of the cutoff. Suitable choice of
coefficients can yield elevated or depressed viscosities.

RICHARDSON Use the Richardson correlation, using coefficients


supplied with the RKOIW= and RKWIO= subcodes. This
predicts liquid viscosities on either side of the cutoff.
Suitable choice of coefficients can yield elevated or
depressed viscosities.

LEVITON Use the Leviton and Leighton correlation. This generally


predicts elevated liquid viscosities on either side of the
cutoff.

Keyword index
809
PIPESIM User Guide

REDAOIW

REDAWIO

REDASWAP

ABPCORR=

ON

OFF

ORDER=

UCORR=

TEMP1= Temperature 1 for DOVCORR=USER. (Default = 93.3


oC/200 oF)

VIS1= Oil viscosity at temperature 1 for DOVCORR=USER.


(Default = 0.5 centipoise)

TEMP2= Temperature 2 for DOVCORR=USER. (Default = 15.6


oC/ 60 oF).

VIS2= Oil viscosity at temperature 2 for DOVCORR=USER.


(Default = 10 centipoise).

VISCS= List of oil viscosities for DOVCORR=TABLE, in Multiple


Value format. See note 1.

TEMPS= List of temperatures for DOVCORR=TABLE, in Multiple


Value format. See note 1.

CUTOFF= or The value of watercut where Phase Inversion occurs. In


BOUNDARY= an oil-water mixture at low watercuts, water droplets are
carried dispersed in a continuous oil phase. At much
higher watercuts, water is the continuous phase and oil
droplets are dispersed in it. The CUTOFF is the watercut
where the continuous phase changes. It is used by the
Emulsion subcode, see above. (%, default 60)

PRESSURES=

FLTYPES=

LIVEOIL

DEADOIL

Keyword index
810
PIPESIM User Guide

EWCUTS= List of Watercuts for EMULSION=TABLE, in Multiple


Value format. The first watercut value in the table must
be zero. See note 1.

EVISCS= List of oil viscosities for EMULSION=TABLE, in Multiple


Value format. The first viscosity value in the table is used
to divide into all the others to yield multipliers. See note 1.

K1= or VANDK1= Coefficient k1 for use in the VANDUSER correlation,


default 2.5

K2= or VANDK2= Coefficient k2 for use in the VANDUSER correlation,


default 0.609

RK= or
KRICHARDSON=

RKOIW= or Coefficient k for the RICHARDSON correlation, used


KROIW= when oil-in-water conditions expected (watercut > cutoff).

RKWIO= or Coefficient k for the RICHARDSON correlation, used


KRWIO= when water-in-oil conditions expected (watercut < cutoff).

KA= Value of the A parameter for the Kouzel UOV correlation,


default 0.0239

KB= Value of the B parameter for the Kouzel UOV correlation,


default 0.01638

TPVT= Controls three-point viscosity tuning.

ON

OFF

Note: When using the user-supplied table options (DOVCORR=TABLE and EMULSION=TABLE),
at least 3 and no more than 30 viscosity and (temperature or watercut) values must be supplied.
The values need not be entered in any particular order, but there is a strict one-to-one
correspondence between the values in the subcode pairs. Once read, he values will be sorted in
order of increasing temperature/watercut for use by the engine. Viscosity must never increase with
temperature, but may vary with watercut as desired.

CPFLUID: Fluid Heat Capacity Data (Optional)


Main-code: CPFLUID
Fluid specific heat capacity data is required for the calculation of fluid enthalpies.

OIL= Oil heat capacity. Default = 1.89 kJ/kg/K or 0.45 Btu/lb/ oF.

Keyword index
811
PIPESIM User Guide

GAS= Gas heat capacity. Default = 2.31 kJ/kg/K or 0.55 Btu/lb/ oF.

WATER= Water heat capacity. Default = 4.3 kJ/kg/K or 1.0 Btu/lb/ oF.

HVAP= Latent heat of vaporization. Default = 0.0 kJ/kg or 0.0 BTU/lb

CPFLUID is only used for black oil fluids: compositional fluids use heat capacities calculated by the
selected physical properties package.

Note: All keywords can be entered using the EKT.

TPRINT Black Oil Table Printing (Optional)


Main-code: TPRINT
The TEMPERATURE and PRESSURE sub-codes have been added to the TPRINT main-code to
permit the generation of tables of black oil properties.
Note that the property table is printed for information only and cannot be used as input for
subsequent PIPESIM jobs.

TEMPERATURE= Temperature points at which properties should be tabulated ( oC oroF). A


maximum of 20 points may be specified

PRESSURE= Pressure points at which properties should be tabulated (bara or psia). A


maximum of 20 points may be specified.

The format of the table is similar to that generated for a compositional table, however the
properties tabulated in the table do differ from the compositional case.

Example
In the following example, a table of black oil properties at 5 temperatures and pressures is
specified:

TPRINT temp = (400,300, 250, 200, 150)


TPRINT pressure =(3000,2500,2000,1500,1000)

Note: All keywords can be entered using the EKT.

CALIBRATE: Black Oil Property Calibration (Optional)

In many cases, actual measured values for some properties show a slight variance when
compared with the value calculated by the black oil model. In this situation it is useful to calibrate
(or match, or tune) the property using the measured point. PIPESIM uses the known data for the
property to calculate a calibration constant K c as noted below:

Keyword index
812
PIPESIM User Guide

Measuredproperty (T , p )
Kc = Eq. 8.1
Calculatedproperty (T , p )
This calibration constant is then used to modify all subsequent calculations of the property in
question, that is:

CalibratedValue = K c × PIPESIMCalculatedValue Eq. 8.2

Properties which may be calibrated in this manner are


• Saturated Oil formation volume factor
• Saturated oil viscosity
• Undersaturated oil formation volume factor
• Undersaturated oil viscosity
• Gas viscosity
• Gas compressibility factor

Main-code: CALIBRATE

FVFRN= Measured value for Saturated oil formation volume factor.

TFVFRN= Temperature to which the figure given for FVFRN= refers (oC oroF).

PFVFRN= Pressure to which the figure given for FVFRN= refers (bara or psia).

LOVIS= Measured value for saturated oil viscosity (cP).

TLOVIS= Temperature to which the figure given for LOVIS= refers (oC oroF).

PLOVIS= Pressure to which the figure given for LOVIS= refers (bara or psia).

UFVFRN= Measured value for undersaturated oil formation volume factor.

TUFVFRN= Temperature to which the figure given for UFVFRN= refers (oC oroF).

PUFVFRN= Pressure to which the figure given for UFVFRN= refers (bara or psia).

UOVIS= Measured value for undersaturated oil viscosity (cP).

TUOVIS= Temperature to which the figure given for UOVIS= refers (oC oroF).

PUOVIS= Pressure to which the figure given for UOVIS= refers (bara or psia).

GASZ= Measured gas compressibility factor.

TGASZ= Temperature to which the figure given for GASZ= refers (oC oroF).

PGASZ= Pressure to which the figure given for GASZ= refers (bara or psia).

GVIS= Measured gas viscosity (cP).

Keyword index
813
PIPESIM User Guide

TGVIS= Temperature to which the figure given for GVIS= refers (oC oroF).

PGVIS= Pressure to which the figure given for GVIS= refers (bara or psia).

For each property being calibrated all three subcodes that is property, temperature and pressure
must be specified.

Example
The example below supplies calibration values for the saturated oil formation volume factor and
viscosity:

CALIBRATE FVFRN = 1.4 TFVFRN = 250 PFVFRN = 4000


CALIBRATE LOVIS = 0.85 TLOVIS = 275 PLOVIS = 2200

CONTAMINANTS Gas phase contaminants data (optional)


Main-code: CONTAMINANTS
Gas Compressibility Factor may be corrected for the presence of non hydrocarbon impurities.
These must be measured as mole fractions (i.e. a value between 0 and 1) of the gas phase at
stock-tank conditions.

CO2= Mole fraction of CO2 (default zero)

H2S= Mole fraction of H2S (default zero)

N2= Mole fraction of N2 (default zero)

H2= Mole fraction of H2 (default zero)

CO= Mole fraction of CO (default zero)

The CO2 and H2S values are used to modify the pseudo-critical pressure and temperature (used
to calculate gas compressibility factor) as described in Beggs pages 30-31. The N2 value is used
to adjust the gas compressibility factor as described in McCain page 120.
The Black Oil model treats contaminants as part of the gas phase, and assumes they dissolve in
the oil as pressure increases in the same manner as the hydrocarbon gas components. Thus for
any given fluid, the mole fractions will not vary with pressure, temperature or RS.

8.8.2 COMPOSITIONAL DATA


COMP (p.817) Fluid Data File Specification
TPRINT (p.824) Tabular Data Print Options
RATE (p.701) Flow Rate Data

AQUEOUS: Aqueous component specification


Also refer to Compositional modeling (p.614) , COMPOSITION (p.817), LIBRARY (p.821),
PETROFRAC (p.823) and MODEL. (p.822)

Keyword index
814
PIPESIM User Guide

A compositional fluid is usually defined with the PIPESIM GUI, and is written to a PVT file. The
name of this file can be referenced with the COMPOSITION (p.817) keyword. Another way to
define a composition is with the LIBRARY, PETROFRAC, AQUEOUS and MODEL statements.
The composition consists of a set of component names, their respective mole fractions, and a
collection of modeling parameters for the phase behavior package. As such it specifies the
composition of the total stream, regardless of any phase split the composition may exhibit at any
pressure and temperature. The AQUEOUS keyword specifies the unit system in which the
aqueous components will be specified.
Main-code: AQUEOUS

BASIS= Selects the desired units. Can be one of:


MOLAR: Aqueous components are specified in moles
GAS: Aqueous components are specified as WGR in m3/mmsm3
LIQUID: Aqueous components are specified as watercut percent in vol/vol

CEMULSION Compositional liquid emulsion data (optional)


Main-code: CEMULSION

INVERSION= or Specifies the “inversion point,” the value of watercut where


CUTOFF= or Phase Inversion occurs. In an oil-water mixture at low
BOUNDARY= watercuts, water droplets are carried dispersed in a
continuous oil phase. At much higher watercuts, water is
the continuous phase and oil droplets are dispersed in it.
The inversion point is the watercut where the continuous
phase changes. (%, default 60). The inversion point can
also be calculated using the Brauner and Ullman
correlation, this can be selected by supplying the special
value "*CALC".

TR= or The width of a transition region, which is assumed to exist


TRANSITION= immediately above the inversion point. When the fluid
watercut falls within the transition region, the liquid
viscosity is calculated by interpolation between that at the
inversion point and the water viscosity.

METHOD= or Selects the required emulsion model. Available models


MODEL= are:

SWAP The mixture viscosity equals the oil viscosity at water cuts
less than or equal to the inversion point, and equals the
water viscosity at water cuts greater than the inversion
point (default).

VOLRATIO The mixture viscosity equals the volume ratio of the oil and
water viscosities.

Keyword index
815
PIPESIM User Guide

WLOOSE Use Woelflin "Loose Emulsion" correlation at watercuts


below the inversion point, set to water viscosity above.

WMEDIUM Use Woelflin "Medium Emulsion" correlation at watercuts


below the inversion point, set to water viscosity above.

WTIGHT Use Woelflin "Tight Emulsion" correlation at watercuts


below the inversion point, set to water viscosity above.

WORIG Use PIPESIM original Woelflin loose emulsion correlation


at watercuts below the inversion point, set to water
viscosity above.

KENMONROE Liquid viscosities are calculated from oil and water


viscosities using the Kendal & Monroe equation. This is the
option used when Emulsions are set to None for a
Compositional fluid.

TABLE or USER Emulsion viscosities are interpolated from the table


supplied with the WCUTS= and VISCS= subcodes. The
table is applied at watercuts below and at the inversion
point, set to water viscosity above.

BRINKMAN Use the Brinkman correlation. This generally predicts


elevated liquid viscosities on either side of the inversion
point.

VAND Use the Vand correlation, using Vand's coefficients. This


generally predicts elevated liquid viscosities on either side
of the inversion point.

VANDBARNEA Use the Vand correlation, using Barnea and Mizrahi


coefficients. This generally predicts elevated liquid
viscosities on either side of the inversion point.

VANDUSER Use the Vand correlation, using coefficients supplied with


the K1= and K2= subcodes. This predicts liquid viscosities
on either side of the inversion point. Suitable choice of
coefficients can yield elevated or depressed viscosities.

RICHARDSON Use the Richardson correlation, using coefficients supplied


with the RKOIW= and RKWIO= subcodes. This predicts
liquid viscosities on either side of the inversion point.
Suitable choice of coefficients can yield elevated or
depressed viscosities.

LEVITON Use the Leviton and Leighton correlation. This generally


predicts elevated liquid viscosities on either side of the
inversion point.

Keyword index
816
PIPESIM User Guide

REDAOIW Use Reda Oil-in-Water correlation for all watercuts.


(Inversion point is ignored.)

REDAWIO Use Reda Water-in-Oil correlation for all watercuts.


(Inversion point is ignored.)

REDASWAP Use Reda Oil-in-Water at watercuts below the inversion


point and Reda Water-in-Oil correlation at or above the
inversion point.

WCUTS= or List of Watercuts for METHOD=TABLE, in Multiple Value


WATERCUTS= format. The first watercut value in the table must be zero.
Between 3 and 40 values must be supplied.

VISCS= or List of oil viscosities for METHOD=TABLE, in Multiple


VISCOSITIES= Value format. The first viscosity value in the table is used
to divide into all the others to yield multipliers.

K1= or VANDK1= Coefficient k1 for use in the VANDUSER correlation. The


default value is 2.5

K2= or VANDK2= Coefficient k2 for use in the VANDUSER correlation. The


default value is 0.609

RK= or Coefficient k for the Richardson correlation. Use


KRICHARDSON= throughout the watercut range. (Inversion point is ignored.)

RKOIW= or Coefficient k for the RICHARDSON correlation, used when


KROIW= watercut is below the inversion point.

RKWIO= or Coefficient k for the RICHARDSON correlation, used when


KRWIO= watercut is at or above the inversion point.

COMPOSITION: Compositional fluid specification


Also refer to Compositional modeling (p.614), LIBRARY (p.821), PETROFRAC (p.823),
AQUEOUS (p.814) and MODEL. (p.822)
A compositional fluid is usually defined with the PIPESIM GUI, and is written to a PVT file. The
name of this file can be referenced with COMPOSITION as documented here. (Another way to
define a composition is with the LIBRARY (p.821), PETROFRAC (p.823), AQUEOUS (p.814)
and MODEL (p.822) statements.)
PVT files can also be written by other programs, and can conform to a number of different formats.
PVT files may contain a table of fluid physical properties and phase split at various pressures and
temperatures; this table may be in addition to, or instead of, a fluid composition. (In the absence of
a composition certain PIPESIM features will not be available; these include fluid mixing ( INJGAS,
INJFLUID (p.777)), separation ( SEPARATOR (p.791)) and the transformation subcodes described
below.)
The composition will consist of a set of component names, their respective mole fractions, and a
collection of modeling parameters for the phase behavior package. As such it specifies the

Keyword index
817
PIPESIM User Guide

composition of the total stream, regardless of any phase split the composition may exhibit at any
pressure and temperature.
The supplied composition may be transformed to match a given stock tank phase split. The
subcodes GLR=, WCUT= and so on allow this predefined composition to be transformed so as to
match a specified phase ratios; this of necessity will change the components' mole fractions. The
original composition must exhibit a phase split at stock-tank conditions that includes some of the
phase(s) to be adjusted.
An example of few example of composition are below
library name='CARBON DIOXIDE' comp=0.020600
library name=NITROGEN comp=0.005060
library name=METHANE comp=0.760200
library name=ETHANE comp=0.078500
library name=PROPANE comp=0.039500
library name=ISOBUTANE comp=0.005960
library name=BUTANE comp=0.014400
library name=ISOPENTANE comp=0.004670
library name=PENTANE comp=0.006058
petro name=BPC6 comp=0.007548 tboil=129.29 molwt=0.860E2 sg=0.676
petro name=BPC7 comp=0.010000 tboil=167.09 molwt=0.930E2 sg=0.725
petro name=BPC8 comp=0.010600 tboil=228.29 molwt=0.105E3 sg=0.760
petro name=BPC9 comp=0.006852 tboil=271.49 molwt=0.117E3 sg=0.780
petro name=BP19 comp=0.010400 tboil=359.69 molwt=0.148E3 sg=0.805
petro name=BP27 comp=0.009832 tboil=519.89 molwt=0.212E3 sg=0.835
petro name=BP37 comp=0.001986 tboil=717.89 molwt=0.325E3 sg=0.864
petro name=BP47 comp=0.000794 tboil=876.29 molwt=0.477E3 sg=0.883
model eos=rks bip=oil1 vis=pedersen
aqueous basis=molar
library name=WATER comp=0.007014

Example of fluid using the default package Multiflash and the RKS equation of state

library name=N2 comp=0.005060


library name=C1 comp=0.760200
library name=C2 comp=0.078500
library name=C3 comp=0.039500
library name=IC4 comp=0.005960
library name=NC4 comp=0.014400
library name=IC5 comp=0.004670

Keyword index
818
PIPESIM User Guide

library name=NC5 comp=0.006058


petro name=BPC6 comp=0.007548 tboil=129.29 molwt=0.860E2 sg=0.676
petro name=BPC7 comp=0.010000 tboil=167.09 molwt=0.930E2 sg=0.725
petro name=BPC8 comp=0.010600 tboil=228.29 molwt=0.105E3 sg=0.760
petro name=BPC9 comp=0.006852 tboil=271.49 molwt=0.117E3 sg=0.780
petro name=BP19 comp=0.010400 tboil=359.69 molwt=0.148E3 sg=0.805
petro name=BP27 comp=0.009832 tboil=519.89 molwt=0.212E3 sg=0.835
petro name=BP37 comp=0.001986 tboil=717.89 molwt=0.325E3 sg=0.864
petro name=BP47 comp=0.000794 tboil=876.29 molwt=0.477E3 sg=0.883
model eos=E300PR2
comp package = PVT_E300
aqueous basis=molar
library name=H2O comp=0.007014

Example of fluid using the Eclipse 300 flash package and the Peng Robinson 2 equation of state

Main-code: COMPOSITION

FILENAME= or The name of the data file in which the fluid definition and/or property data
PVTFILENAME= or tables are stored. The name should be enclosed in quotes if it contains
FILE= delimiter characters or spaces.

USE= Optional. The name of the fluid as specified with a BEGIN FLUID (p.716)
block.

LVISFACTOR= A multiplier for adjusting the tabular liquid viscosity data. (Default = 1.0).

CRICONDENBAR= Upper pressure limit (bara or psia) or the two-phase region which is used
to decide the method of interpolation between 100% liquid and 100%
vapor data points. Above this value PIPESIM will assume dense phase
and interpolate the tabular data appropriately. (Default = 0.0)

WCUT= Watercut, that is the volume % aqueous phase in the total liquid phase at
stock tank conditions. See note 1.

GLR= Gas/liquid ratio at stock tank conditions (sm 3/sm 3or scf/stb). See note
1.

GOR= Gas/oil Ratio at stock tank conditions (sm 3/sm 3or scf/stb). See note 1.

LGR= Liquid/gas ratio (sm 3/mmsm 3or stb/mmscf) .See note 1.

OGR= Oil/gas ratio at stock tank conditions (sm 3/sm 3or stb/mmscf). See note
1.

Keyword index
819
PIPESIM User Guide

GWR= Gas/water ratio at stock tank conditions (sm 3/sm 3or scf/stb). See note
1.

WGR= Water/gas ratio (sm 3/mmsm 3or stb/mmscf) .See note 1.

PPMETHOD= Flashing method for Physical Properties prediction: may be 1, 2, or 3.


See note 5 below.

THMETHOD= Flashing method for Temperature-Enthalpy-Entropy balance: may be 1,


2, or 3. See note 5 below.

PRINT Prints a verbose printout of the fluid composition and stock-tank phase
split.

ONECOMPONENT= Controls "one component" behavior. Can be set to ON or OFF (default is


OFF). If enabled, the fluid is assumed to consist entirely of one
component molecule, and hence does not exhibit a classical phase
envelope when graphed on axes of pressure versus temperature. Salient
Examples of such systems are pure water or steam, pure Carbon
Dioxide, pure methane, and so on. Special algorithms must be employed
to ensure accurate results in such systems.

PACKAGE= Selects the desired PVT code package name. It can be one of:
MULTIFLASH: The third party company Infochem supplies the Multiflash
package
SHELL: Shell oil company's proprietary package
PVT_E300: Eclipse 300 PVT package
PVT_DBR: DBR PVT 2-Phase package
PVT_GERG: GERG PVT package
PVT_NIST: NIST REFPROP PVT package

Note:
1. The presence of any of the subcodes GLR=, GOR=, LGR=, OGR=, WCUT=, WGR= or GWR=
causes the supplied composition to be transformed match the specified phase ratios. The fluid
is flashed at stock-tank pressure and temperature, and the resulting phases are re-combined to
yield a new composition.
2. The subcodes GLR=, GOR=, OGR= and LGR= are optional, and mutually exclusive..
3. The subcodes WCUT=, WGR= and GWR= are optional and mutually exclusive
4. Care must be exercised in combining these subcodes, as it is possible to specify a value for
one of them that renders the use of the other one meaningless or illegal: for example with
WCUT=100, any value for GOR= is meaningless; for example GLR=0 conflicts with any non-
zero value for GWR=. It is however always possible to re-state the desired definition correctly
by well-chosen alternative subcodes.

Keyword index
820
PIPESIM User Guide

5. The PPMETHOD= and THMETHOD subcodes control the manner in which Physical properties
are computed. The balance is between speed and accuracy. Each of these subcodes can be
set to the value 1, 2 or 3, which have the following meanings:
• 1: Always Interpolate (fastest). This option uses linear interpolation between physical
properties stored on a predefined grid of temperature and pressure points (default).
• 3: Always Rigorous Flash (slowest). Interpolation never occurs: properties are obtained by
flashing at the required pressure and temperature. This is the slowest, but most accurate,
method.
• 2: Rigorous Flash when close to the Phase Envelope, interpolation elsewhere. This is a
compromise between speed and accuracy, which assumes that properties will change more
rapidly when close to a phase boundary. Interpolation is performed whenever the grid points
comprising a rectangle all show the presence of the same phases. For example if all 4
points in the rectangle have some oil, some gas, and no water, then we assume the
rectangle lies entirely within the 2-phase region of the hydrocarbon phase envelope, so
interpolation is appropriate. If however one, two or three of the points have no oil, then
clearly the hydrocarbon dew point line crosses the rectangle, so a rigorous flash is required.
PPMETHOD= controls determination of transport Physical properties (PP) These are the values
required to perform the multiphase fluid flow and heat transfer calculations, and include phase
volume fractions, densities, viscosities, heat capacities and surface tensions.
THMETHOD= controls the Temperature-Energy Balance These values are used to maintain the
temperature/enthalpy/entropy balance of the fluid.
In most simulations, for every PP flash that is performed, there are about 5 to 10 TH flashes,
thus the TH flashes will have the greatest effect on speed and run time. The inaccuracies of TH
interpolated flashes are usually minimal.
The speed impact of each choice will obviously depend on the composition, and the phase
behavior in the PT region of interest. As a rough guide, taking the base case as interpolation,
swapping just the PP flashes to "rigorous" will multiply your run time by about 4. With TH
flashes also "rigorous", run time will probably increase at least 20 fold. Use of the 'compromise'
choices will be faster.
For those requiring more accuracy, we have found the "most useful" setting (that is the greatest
increase in accuracy for the smallest effect on performance) to be PPMETHOD=2,
THMETHOD=1..

LIBRARY: Library component specification


Also refer to Compositional modeling (p.614) , COMPOSITION (p.817), PETROFRAC (p.823),
AQUEOUS (p.814) and MODEL. (p.822)
A compositional fluid is usually defined with the PIPESIM GUI, and is written to a PVT file. The
name of this file can be referenced with the COMPOSITION (p.817) keyword. Another way to
define a composition is with the LIBRARY, PETROFRAC, AQUEOUS and MODEL statements.
The composition consists of a set of component names, their respective mole fractions, and a
collection of modeling parameters for the phase behavior package. As such it specifies the
composition of the total stream, regardless of any phase split the composition may exhibit at any

Keyword index
821
PIPESIM User Guide

pressure and temperature. The LIBRARY keyword specifies the name and the composition of the
library component..
Main-code: LIBRARY

NAME= The name of the component in the library

COMPOSITION= The composition (in moles for non aqueous elements and in the unit specified
by the AQUEOUS (p.814) keyword for aqueous elements)

MODEL: Model properties specification


Also refer to Compositional Modeling (p.614) , COMPOSITION (p.817), LIBRARY (p.821),
PETROFRAC (p.823), AQUEOUS (p.814) and MODEL. (p.822)
A compositional fluid is usually defined with the PIPESIM GUI, and is written to a PVT file. The
name of this file can be referenced with the COMPOSITION (p.817) keyword. Another way to
define a composition is with the LIBRARY, PETROFRAC, AQUEOUS and MODEL statements.
The composition consists of a set of component names, their respective mole fractions, and a
collection of modeling parameters for the phase behavior package. As such it specifies the
composition of the total stream, regardless of any phase split the composition may exhibit at any
pressure and temperature. The MODEL keyword specifies the fluid property model in terms of
EOS, Viscosity model, BIP set, Physical properties method and Temperature-Enthalpy balance
method. In addition, the flash package can be specified. This is a requested package and the
engine will try to honor it if another package has not yet be loaded. To enforce the loading of a
specific package, use the package subcode of the main code COMPOSITION (p.817).
Main-code: MODEL

EOS= optional – RKS or PR or CSM or RKSS or CPA or BWRS or CSMA or PVTIPRC


or PVTIPRC3P or PVTIPRS or PVTIPR3P or E300PR2 or E300PR2C or
E300PR3C or E300SRK2 or E300SRK3 or DBR2PR2C or DBR2PR3C or
DBR2SRK2 or DBR2SRK3 or GERG-2008 or NIST-DEFAULT.

VISCOSITY= optional – PEDERSEN, PEDERSEN-E, PED-E, LBC, LBC-E, LBC-D, LBCSE,


LBCVR, LBCWOEL. PEDSE, PEDVR, PEDWOEL, SHELL_MODEL

BIP= optional – PVTIDEFAULT, FILE (BIP File), OIL1, OIL2, OIL3, OIL4,
E300_DEFAULT, E300_USERFILE, DBR2_DEFAULT, DBR2_USERFILE,
GERG_DEFAULT, NIST_DEFAULT. See BIP.

PACKAGE= optional –
MULTIFLASH: The third party company Infochem supplies the Multiflash package
SHELL: Shell oil company's proprietary package
PVT_E300: Eclipse 300 PVT package
PVT_DBR: DBR PVT 2-Phase package
PVT_GERG: GERG PVT package
PVT_NIST: NIST REFPROP PVT package

Keyword index
822
PIPESIM User Guide

PPPACKAGE= optional –
MULTIFLASH: The third party company Infochem supplies the Multiflash package
SHELL: Shell oil company's proprietary package
PVT_E300: Eclipse 300 PVT package
PVT_DBR: DBR PVT 2-Phase package
PVT_GERG: GERG PVT package
PVT_NIST: NIST REFPROP PVT package

PPMETHOD= optional – 1, 2 or 3

THMETHOD= optional – 1, 2 or 3

PETROFRAC: Petroleum fraction specification


Also refer to Compositional modeling (p.614) , COMPOSITION (p.817), LIBRARY (p.821),
AQUEOUS (p.814) and MODEL. (p.822)
A compositional fluid is usually defined with the PIPESIM GUI, and is written to a PVT file. The
name of this file can be referenced with the COMPOSITION (p.817) keyword. Another way to
define a composition is with the LIBRARY, PETROFRAC, AQUEOUS and MODEL statements.
The composition consists of a set of component names, their respective mole fractions, and a
collection of modeling parameters for the phase behavior package. As such it specifies the
composition of the total stream, regardless of any phase split the composition may exhibit at any
pressure and temperature. The PETROFRAC keyword specifies the name, composition and
properties of the petroleum fraction..
Main-code: PETROFRAC

NAME= The name of the petroleum fraction

COMPOSITION= The composition (in moles) — default 0

BPOINT= optional — Boiling Point

MW= optional — The molecular weight

SG= optional — The specific gravity

TCRIT= optional — The critical temperature

PCRIT= optional — The critical pressure

ACENTRIC= optional — The acentric factor

VISCOSITY= optional — The reference viscosity

Keyword index
823
PIPESIM User Guide

Notes:
• Minimum data requirements for a petrofraction component are for the Multiflash package:
a. Either MW and SG
b. BPOINT and SG
c. PCRIT, TCRIT and ACENTRIC
• There is no petroleum fraction supported in GERG and NIST. In E300 and DBR, the minimum
data required is the molecular weight (MW)

TPRINT Tabular data print options (optional)


Main-code: TPRINT

FILE= The name of the fluid data file to be printed (12 characters maximum) which should be
entered in quotes if the string contains delimiter characters. Up to five different files can
be specified. Once a file has been specified it will be printed at the beginning of each
case in the job until table printing is switched off using the NONE sub-code. To print the
main fluid, use the wildcard * INLINE.

NONE= Turns the table printing option off. Table printing can produce large amounts of output, so
it is common practice to print the data files in the first case of a job and then insert a
TPRINT, NONE command in the second case to suppress table printing in the
subsequent cases.

8.8.3 MFL files


PROCOPTIONS (p.824) Master MFL file for Mixing

PROCOPTIONS: Master MFL file for mixing (optional but recommended)


When multiple MFL files are mixed in a single model, PROCOPTIONS is used to designate one of
the MFL files as the master file. The component properties and fluid tuning information in the
master MFL file are then applied to all the other MFL files in the model. This requires that all fluids
in the model be defined with MFL files that have the same set of components and component
properties i.e. the files should only differ from one another in the mole ratios of each component.
PROCOPTIONS can be used for single-branch and network models. The use of PROCOPTIONS
when mixing MFL files is recommended because without it, PIPESIM will arbitrarily select one of
the MFL files to be the master.
Main-code: PROCOPTIONS

MASTERMFLFILE= Name of the MFL file to be used as the master file when mixing MFL files in
a model. It should be entered in inverted commas in the Engine Keywords
field under Home > Simulation settings > Advanced e.g. PROCOPTIONS
MASTERMFLFILE = "Main.mfl"

Keyword index
824
PIPESIM User Guide

Note: The simulation will fail to run if there are inconsistencies between the master MFL file and all
other MFL files in the model e.g. if the number of components differ between MFL files or if the
exact set of components are not defined in all MFL files. Even if a component is not part of the
composition of an MFL file, enter it but specify a mole fraction of zero for it.

Related links:
Ensure consistency among multiple fluid files in a PIPESIM network model (p.214)

8.9 PIPESIM OPERATIONS OPTIONS


MULTICASE Introduction and Summary (p.829)
Explicit Subcodes (p.831)
General PurposeSubcodes (p.833)
Combining MULTICASE and CASE/ENDCASE (p.834)
Multiple Case and PS PLOT (p.836)
Reservoir Simulator Tabular Data Interface (p.836)
Changing Profile Data by Assignment (p.838)
ITERN Iteration Data (Optional) (p.703)
Wax Deposition (p.840)

8.9.1 NAPLOT: Nodal analysis


Main-code: NAPLOT
This maincode, in conjunction with PIPESIM graphics processor PS-PLOT, allows the generation
of a graph of inflow/outflow curves about the Nodal Analysis point specified with the NAPOINT
maincode.
The '?' - delimiter symbols are like the general purpose ("greek") sub-codes on the MULTICASE
statement. They can be used anywhere in the subsequent profile, and be equated to multiple
values in the same way as the sub-codes on MULTICASE. For more information see MULTICASE
(p.829).
All subcodes are optional.

?INFLOW= The inflow sensitivity values. Each value will produce one inflow curve. If omitted,
a single inflow curve will be generated. See note 6.

?INFLOW2= These sub codes may be equated to a range of values, the number of values
?INFLOW3= provided must equal the number provided in the ?INFLOW subcode. The values
provided are selected in step with those on ?INFLOW. See note 6.
?INFLOW4=
?INFLOW5=

Keyword index
825
PIPESIM User Guide

?OUTFLOW= The outflow sensitivity values. Each value will produce one outflow curve. If
omitted, a single inflow curve will be generated. See note 6.

?OUTFLOW2= These sub codes may be equated to a range of values, the number of values
?OUTFLOW3= provided must equal the number provided in the ?OUTFLOW subcode. The
values provided are selected in step with those on ?OUTFLOW. See note 6.
?OUTFLOW4=
?OUTFLOW5=

NINPTS= The number of points to be used to generate each inflow curve (default 20,
maximum 200).

NOUTPTS= The number of points to be used to generate each outflow curve (default 20,
maximum 200).

POUT= The system outlet pressure. This is used to generate the outflow curves. If this
subcode is omitted the system outlet pressure will be obtained from the POUT=
subcode of the ITERN statement. See note 3. (Psia or Bara.)

LIMITIN= This subcode controls the application of any flowrate limit to the inflow curves.
(Flowrate limits are supplied on the MAXLIQ=, MAXGAS= or MAXMASS=
subcodes, or are assumed implicitly from the maximum value on GAS=, LIQ= or
MASS= subcodes.) Can be set to YES or NO, the default being NO. If YES, the
limit is applied, so the inflow curves will extend to that flowrate limit or to each
curve's natural AOFP (Absolute Open Flow Potential, i.e. the rate at which the
operating point pressure falls to zero), whichever is smaller. If NO, the limit is not
applied so all inflow curves will extend to their natural AOFP.

LIMITOUT= This subcode controls the application of a calculated pressure limit to the outflow
curves. (The pressure limit will be calculated from the maximum pressure
occurring on any of the inflow curves. Note: an explicit pressure limit can also be
provided with the MAXP= subcode, which will take priority.) Can be set to YES or
NO, the default being NO. If the limit is applied, then the outflow curves will
extend to the maximum rate limit supplied or calculated, or to 20% above the
maximum pressure calculated for any of the inflow curves.

MAXP= The maximum pressure to be used when generating the outflow curves. (Psia or
Bara.) Default is double the maximum pressure in any of the inflow curves.

MINP= The minimum pressure to be used when generating the inflow curves. (Psia or
bara). Default is none, so the inflow curves will extend to their AOFP or the
specified flowrate limit.

MAXLIQ= The maximum liquid flow rate to be used when generating the outflow curves.
See notes 2 and 4. (m 3/d or STB/D).

MAXGAS= The maximum gas flow rate to be used when generating the outflow curves. See
notes 2 and 4. (MMm 3/d or MMscf/d).

Keyword index
826
PIPESIM User Guide

MAXMASS= The maximum mass flow rate to be used when generating the outflow curves.
See notes 2 and 4. (kg/s or lbs/s).

PRINT= Sets the number of cases for which detailed output will be generated in the
output file: default is 1. This number is applied separately to the inflow, outflow
and operating points, so you actually get 3 times as many cases printed as the
value you supply. Eg. at its default of 1, you will get detailed output for the first
inflow point, the first outflow point, and the first operating point; set it to 5 and you
get the first 5 cases of inflow, the first 5 of outflow, and the first 5 operating
points.

OPPOINTS= Controls the explicit generation and display of Operating Points. Can be set to
YES or NO, default is YES.
The intersection of one inflow curve and one outflow curve is known as an
Operating Point. Whilst it is possible to infer the system flowrate geometrically
from the line intersections alone, it is more accurate and far safer to calculate the
flowrate by simulating the system end-to-end, which PIPESIM is well designed to
do. The resulting pressure and flow rate is displayed on the Nodal Analysis graph
as an Operating Point. This explicit calculation ensures the inflow and outflow
fluid properties and temperature are identical, thus eliminating the possibility of a
mismatch and consequent error in answer interpretation.
Operating points are generated for each permutation from the lists of inflow and
outflow sensitivity variables, as supplied in the ?INFLOW= and ?OUTFLOW=
subcodes. However, it is possible to set up the sensitivities so that some
combinations are invalid, and these do not result in operating points being
generated and displayed. For example, if you set both inflow and outflow
sensitivity to the fluid watercut, most of the permutations will be invalid, because
the fluid at the intersection cannot have 2 different values for watercut. With
Operating point generation enabled, the valid intersections are clearly
distinguishable from the invalid ones: operating points will only be generated for
"valid" combinations.
Sometimes it will happen that the displayed operating point does not coincide
with the geometric intersection. The cause of this will always be that the outflow
fluid properties or temperature do not match that of the operating point. The fact
that the mismatch is evident should be regarded as a feature, not a bug, and
should alert the user to a problem or condition that requires particular caution and
attention.
With operating point generation enabled, the profile plot file will contain valid
profile plots for each operating point: these can be viewed by selecting "Reports
> Profile Plot" in the PIPESIM GUI.

MATCH= This subcode selects the method by which the fluid temperature and composition
is matched between the inflow and outflow curves. Can be set to:
MAXFL: The inflow curve with the maximum AOFP rate is used. All outflow
curves will use the values interpolated from this single inflow curve. (This was the

Keyword index
827
PIPESIM User Guide

behaviour in release 2009.1 and earlier, before the operating points were
available).
OP: The generated Operating Points are used, along with the appropriate inflow
curve on the low flowrate side. At flowrates higher than the operating points, the
temperature and composition from the highest appropriate operating point is
used. This is the default. If operating point generation is suppressed however
(see OPPOINT= below), the MAXFL method will be used.
OP2: The generated Operating Points are used, along with the appropriate inflow
curve on both sides. This option can cause the outflow curves to exhibit marked
changes in slope at high flowrates, caused by the use of unrealistially low
temperatures interpolated from the high rate inflow curve close to its AOFP.
OFF: matching is turned off. The outflow curves will use the system-defined fluid
properties and inlet temperature.
Matching is important to ensure the fluid temperature/enthalpy and composition
are consistent across inflow and outflow curves. Without it, the intersections or
operating points between the curves may bear little or no resemblance to
physical reality. The matching is achieved by using the temperatures and
composition(s) from the correct inflow curve or operating point(s) to generate the
ones used for the outflow curves. For example, if the inflow curves are generated
from multiple completions, each of which has a different reservoir fluid, the
resulting mixed fluid composition at the NA point will change at each value of
flowrate. The matching algorithm ensures the temperature and composition are
interpolated from the correct inflow curves and operating points, so as to produce
outflow curves that use an appropriate fluid composition and temperature. Thus
each point on the outflow curve will usually have a unique temperature and
composition. Matching is applicable to both black oil and compositional fluids.

MATCHENTH= Allows the use of Enthalpy, instead of temperature, in the matching (see
MATCH= above). Can be set to YES or NO. The default is NO.

LIQ= A set of stock-tank liquid flow rates to be used when generating the outflow
curves. A maximum of 200 flow rates may be specified. If omitted, the program
will generate the set of flowrates at run-time. See notes 1, 2, 5 and 6. (m 3/d or
STB/D).

GAS= A set of stock-tank gas flow rates to be used when generating the outflow curves.
A maximum of 200 flow rates may be specified. If omitted, the program will
generate the set of flowrates at run-time See notes 1, 2, 5 and 6. (MMm 3/d or
MMscf/d).

MASS= A set of mass flow rates to be used when generating the outflow curves. A
maximum of 200 flow rates may be specified. If omitted, the program will
generate the set of flowrates at run-time. See notes 1, 2, 5 and 6. (kg/s or lbs/s).

Note:

Keyword index
828
PIPESIM User Guide

1. If a set of flow rates are supplied with GAS= LIQ= or MASS= subcodes, they will be used to
generate the outflow curves. A maximum of 200 flow rates may be supplied, and the Range
Format can be used. If omitted, then the program will choose the rates for the outflow curves
using an algorithm designed to distribute the points on the curve to best effect. This will result in
rates being clustered close together in areas where the pressure is changing fastest, i.e. in
regions of maximum slope. Rates will also be generated at the operating points, to make the
validity (or otherwise) of the curve intersections evident. (The rates used for the inflow curves
are always generated with this algorithm.)
2. The subcodes LIQ=, GAS=, MASS=, MAXLIQ=, MAXGAS=, and MAXMASS= are mutually
exclusive.
3. The pressure iteration is the only valid iterative option when doing nodal analysis, and is only
applicable to the outflow curves. The outlet pressure and the flow rate are known which
requires the calculation of an inlet flowing pressure. POUT can be specified either on the
NAPLOT statement, or the ITERN statement.
4. MAXLIQ=, MAXGAS= and MAXMASS= will also apply to the inflow curves if
LIMITINFLOW=YES.
5. The special value "*none" can be used on the LIQ=, GAS= and MASS= subcodes. If used, its
effect is to remove or cancel an existing list of flowrates supplied on a previous statement. An
example of why this might be useful is to override a list of rates supplied by PIPESIM.
6. The multiple values should be supplied enclosed in parenthesis, and separated by commas. A
multi-value range can also be specified. For more information, see Multiple value data sets.
(p.685)

8.9.2 NAPOINT system analysis point


Main-code: NAPOINT
Use this main-code to specify the required system (nodal) analysis point. NAPOINT divides the
profile into two halves, and effectively runs separate jobs on each half. NAPOINT can be placed
anywhere in the profile.

LABEL=

RESETDATUM=

ON

OFF

8.9.3 MULTICASE introduction and summary


The MULTICASE card is available to allow the user to set up many PIPESIM cases without having
to enter many CASE and ENDCASE cards. By use of the MULTICASE card, it is possible to
specify multiple values for various flow parameters on one card, rather than repeating cases.
The central idea behind MULTICASE is that its sub-codes can accept more than one value. So if,
for example, you want to run 8 cases at various different flow rates, then instead of having to

Keyword index
829
PIPESIM User Guide

append an extra 7 explicit cases to your input file, a single MULTICASE card can be used to
specify all 8 flow rates, and PIPESIM will execute the 8 separate cases automatically.
If a second multiple-valued subcode is provided, PIPESIM will execute as many separate cases as
are required to combine all the values in each multiple subcode. So, for example, if we had:
Example

MULTICASE LIQ=(10,20,30,40,50,60,70,80) WCUT=(30,60,90)

The result would be 24 cases, representing the combination of all specified flow rates with all
specified water cuts.
There are two distinct classes of sub-code available:
1. Explicit sub codes, such as LIQ=, WCUT, and IPRES are simply duplicates (or duplicate the
function of) sub codes that appear on other main codes, such as RATE and INLET. The
important difference is that they only accept multiple values on the MULTICASE card.
2. General purpose sub codes, such as ?ALPHA and ?BETA, which accept multiple values on the
MULTICASE card and are then used in place of a sub code value further down the input data.
The provision of MULTICASE has allowed other sophisticated PIPESIM features to be built
alongside it, for example the Reservoir table interface (p.836) and Well Performance Curve
Generation.

General rules for use with MULTICASE


The following notes apply to all subcodes on MULTICASE. Further restrictions exist for particular
sub-codes and combinations of sub-codes, and these are documented where they arise.
1. The MULTICASE main-code must appear before the first NODE card in the job.
2. Each multiple-valued sub-code can be equated to a maximum of 20 values, separated from one
another by commas, and the whole group enclosed in parentheses.
3. In any job, the maximum number of subcodes containing multiple values is 5.
4. The MULTICASE card cannot be continued: however, 2 or more MULTICASE cards can
appear sequentially in the input file, thus allowing many sub-codes to be specified.
5. Each sub-code containing multiple values must appear on a single MULTICASE card. A
maximum of 80 characters is allowed for all values enclosed in parentheses. The maximum
input line length is 140 characters.
6. The MULTICASE card(s) should appear immediately before the first NODE card in the job,
except when greek symbols are used, when the card(s) using the greeks should appear
between MULTICASE and NODE.
7. MULTICASE was designed to be used instead of explicit extra cases (the CASE and
ENDCASE cards), however both can be used in combination as long as no MULTICASE cards
appear in subsequent explicit cases.
8. When subsequent explicit cases are used with MULTICASE, each subsequent explicit case will
result in another complete set of multiple cases (see Section 8.4 for an example of this). The
LIMIT subcode applies only to the set of multiple cases defined by the MULTICASE card(s), not
to the total number of cases in the job.

Keyword index
830
PIPESIM User Guide

9. MULTICASE jobs contain an implied 'loop' structure in the input data. Every line of input
between the MULTICASE card(s) and the beginning of the system profile is scanned at the start
at the beginning of every case, to ensure that any Greek symbols are assigned the correct
values. Only the symbolic information is processed, and any other input is ignored except on
the first case.

Multiple case specification card


Main-code: MULTICASE
The subcodes available on the MULTICASE card can be divided into two distinct categories as
outlined in Explicit subcodes (p.831) and General purpose subcodes (p.833) .

8.9.4 Explicit subcodes


LIQ= ( , ) Gross liquid flow rate values at stock tank conditions. A maximum of 20
flow rates may be specified (sm3/d or STB/D).

GLR= ( , ) Gas/liquid ratio values at stock tank conditions. A maximum of 20 values


may be specified (sm3/sm3 scf/STB/D). Default = 0.

GAS= ( , ) Gas flow rate values at stock tank conditions. A maximum of 20 flow rates
may be specified. (mmsm3/d or mmscf/d).

LGR= ( , ) Liquid/gas ratio values at stock tank conditions. A maximum of 20 values


may be specified. (sm3/d or STB/scf). Default= 0.

GOR= ( , ) Gas/oil ratio values at stock tank conditions. A maximum of 20 values may
be specified. (sm 3/sm 3 or scf/STB). Default = 0.

OGR= ( , ) Oil/gas ratio values at stock tank conditions. A maximum of 20 values may
be specified. (sm 3/d or STB/scf). Default = 0. Note that the flow rate may
be expressed either on the basis of the stock tank liquid or gas flow rate.
The LIQ+GLR and GAS+LGR options are therefore mutually exclusive. An
error will be reported if an invalid combination is entered and program
execution will be terminated.

MASS= ( , ) Mass flow rates for use with compositional cases. A maximum of 20 flow
rates may be specified. (Kg/s or lbs/s).

WCUT= Water cut values that is the volume % water in the liquid phase at stock
(,) tank conditions. A maximum of 20 values may be specified. Default = 0.

WTYPE= Alphanumeric sub-code. This describes the type of well under


(,) consideration that is Injector (INJ) or Producer (PRD). This sub-code is
only required if the WTHP sub-code is used.

WTHP= Tubing head pressure values. The definition of tubing head pressure is
(,) dependent on the physical configuration of the well. In the case of a
producer it is the system outlet (last node) pressure, that is tubing head
pressure for a well only, or the separator pressure in the case of a well

Keyword index
831
PIPESIM User Guide

and flowline. In the case of an injector it is the system inlet (first node)
pressure, (bara or psia). A maximum of 20 values may be specified. The
WTYPE sub-code must accompany this sub-code.

IPRES= Inlet set pressure (bara or psia). This provides a means of specifying the
(,) inlet pressure of a system. The maximum number of values which may be
specified is 20.

OPRES= Outlet set pressure (bara or psia). Similar usage to the IPRES sub-code
(,) above. The maximum number of values which may be specified is 20.

XEST= This sub-code does not take multiple values under the MULTICASE
option, but may take a value for iterative cases as defined previously
under the ITERN card (see Section 2.4). For cases where the inlet or
bottom hole pressures are to be calculated an estimate of the parameter
may be made using the following formula.

Default = well (pipe) vertical length x pressure gradient + WTHP (OPRES)

Pressure 0.0679 bar/m or 0.3 psi/ft for liquid) = 0.0113 bar/m or 0.05 psi/ft (for gas).
gradient
=

ITYPE= Iteration Type see ITERN card description.

PRINT= If the MULTICASE option is specified then all output except titles will be
suppressed after the first case. In order to override this 'auto-noprint'
procedure the sub-code PRINT must be included. Care should be
exercised here if a large number of cases are set up as very large
quantities of output can be generated.

LIMIT= This sub-code sets a limit on the number of cases which will be run, and
will abort the job at the start of execution if the number of cases to be run
is greater than this. The default value is ONE, and therefore a limit must
be set by you as a guard against an excessive number of cases being run.

LINE= When using 3 or more Multicase options, this sub-code allows you to
specify which loop controls the line structure. In the absence of a LINE=
sub-code, the innermost loop controls this. Every time the innermost loop
resets to its first value, a new line is started in the Job Plot file. You can
specify the depth of the required controlling loop with the LINE= sub-code.

Note:
1. Some sub-codes on the MULTICASE card are duplicates, or equivalents of sub-codes on the
ITERN, RATE, and INLET cards (for example the IPRES sub-code is equivalent to the PRES
sub-code on the INLET card and the XEST sub-code serves the same purpose as the one
appearing on the ITERN card ). If such duplicate or equivalent sub-codes are used on both the
MULTICASE card and elsewhere in the same case, then the values supplied on the

Keyword index
832
PIPESIM User Guide

MULTICASE card will override the values supplied elsewhere. For example, Here the
LASTANSWER sub-code (see Section 9.1) has been specified along with the MULTICASE
card. Outlet and Inlet Pressures have been specified under both the ITERN and INLET cards in
addition to being specified under the MULTICASE card. In such an example PIPESIM will
ignore the POUT, TYPE, PRESS and XEST sub-codes specified under the ITERN and INLET
sub-codes and will use IPRESS, OPRESS and XEST values specified under the MULTICASE
card. The LASTANSWER option will be in operation even though the rest of the sub-codes
specified under the ITERN card will be ignored.
2. The sub-codes can be entered in any order.
3. The use of certain sub-codes excludes the use of other sub-codes
a. Flow rate must be defined (with LIQ, GAS or MASS sub-codes) when the WTHP sub-code is
used.
b. The well type must be defined with the WTYPE sub-code when the WTHP sub-code is used.
c. ITYPE, IPRES and OPRES sub-codes exclude the use of the WTHP sub-code .
d. Iteration type must be defined with the ITYPE sub-code when the OPRES sub-code is used
and outlet pressure must be defined under OPRES when the ITYPE sub-code is used.
e. If LIQ, GAS or MASS sub-codes appear on the MULTICASE card then either IPRES or
OPRES may be used but not both.

8.9.5 General purpose subcodes


Sub-codes : ?ALPHA, ?BETA, ?GAMMA, ?DELTA, ?EPSILON
The subcodes described here greatly increase the power and flexibility of MULTICASE.
The purpose of the MULTICASE maincode is to allow the user to execute a PIPESIM case for
every combination of a set of input variables. For example, suppose we specify 3 water cuts, 4 flow
rates, 5 GLR's and 6 outlet pressures: all possible combinations of these values will result in
PIPESIM executing 360 individual cases, since 3 X 4 X 5 X 6 = 360. The process of selecting
every possible combination of a series of variables is called permutation, and so we often use the
verb permute when describing what the MULTICASE maincode can do.
Five new general-purpose symbolic subcodes have been added, namely: ?ALPHA, BETA, ?
GAMMA, ?DELTA, and ?EPSILON. They are collectively known as Greeks. They can be equated
to multiple values in the same way as other subcodes on MULTICASE. The symbols can then be
used further down the input data in place of any other value. Thus, the greeks behave similarly to
symbols created by the ASSIGN (p.838) maincode.

Examples
In the following example, 3 values of inlet temperature are permuted with 2 values of Gas-Lift GLR
in a well:

Example 1
Example

Keyword index
833
PIPESIM User Guide

RATE LIQ=45 GLR=180


MULTICASE ?ALPHA =(210,250,290)
MULTICASE ?BETA=(200, 220)
INLET PRESS=4200 TEMP=?BETA
NODE DIST=0 ELEV=-4000 TEMP=?BETA
NODE DIST=0 ELEV=-3000 LABEL='GAS LIFT'
RATE GLR=?ALPHA
NODE DIST=0 ELEV=-2000

The symbol ?BETA is set to 2 values on the MULTICASE card. ?BETA is then used on the INLET
card in place of the value of Inlet Temperature. Note that, while it is possible to control Inlet
Pressure with the existing IPRES subcode on the MULTICASE card, Inlet Temperature is not
available as an explicit subcode on MULTICASE. However, because of the 'general-purpose'
nature of the Greek symbols, it is now possible to control it (and, in principle, almost anything else)
from the MULTICASE card.
The symbol ?ALPHA is set to 3 values on the MULTICASE card. ?ALPHA is then used on the
RATE card in the profile, in place of the value for GLR. Thus, like the ASSIGN card, the greek
symbols provide a convenient way to change values within the system profile. Unlike the ASSIGN
card however, the values equated on the MULTICASE card will be permuted to result in a number
of cases being executed.

Example 2
The values equated to the greeks can be any appropriate numeric value or character string,
depending on the use to which it is put further down the input data. For example, it is possible to
permute a range of flow correlations:

MULTICASE ?DELTA=(BBO,BJA1,BJA2)?GAMMA=(BB,TD)
HCORR PLOSS=BBO HOLDUP=?DELTA MAP=?GAMMA

Note:
1. The new greek subcodes can be used in conjunction with the existing MULTICASE subcodes,
but the maximum number of multiple value specifications on any MULTICASE card set remains
5. One 'multiple value specification' consists of a keyword equated to a number of values in
parentheses.
2. PIPESIM scans its input data once, starting at the top, so any greek symbols must be equated
on the MULTICASE card before they are used in place of a value elsewhere.

8.9.6 Combine MULTICASE and CASE/ENDCASE


The MULTICASE card is a way of achieving a large number of PIPESIM cases for comparatively
little input data. It can be called a 'shortcut', for the alternative is to provide explicit extra cases in
the input data, with the ENDCASE and CASE cards. In general, it is always possible to 'expand' a
job containing MULTICASE cards into one containing a (large?) number of explicit cases, with
CASE and ENDCASE cards (except where certain maincodes require the presence of
MULTICASE, viz. TABLE and WPCURVE). However, it is not always possible to 'compress' a job
consisting of a number of explicit cases into a MULTICASE job. The choice is therefore open to

Keyword index
834
PIPESIM User Guide

you, depending on the application, whether to use MULTICASE or explicit cases. It is also possible
(but tricky) to combine the two.
Why would anyone want to use MULTICASE and explicit cases? There are a number of things that
are just not possible with MULTICASE, where explicit extra cases are the only way to achieve the
desired result. For example, suppose you want to see the effect of changing pipe diameter and
flow rate on the resulting outlet pressure from a flowline. You might set up something like this:
Example

MULTICASE LIQ=(200,300,400,500,600,700,800)
MULTICASE ?ALPHA=(4.2,5,5.5,6.2)
PIPE ID=?ALPHA
NODE DIST=0 ELEV=0

This would result in 28 cases, one for each flow rate/diameter combination. However, it is
incomplete. The pipe wall thickness has not been specified on the PIPE card. And it's when we try
to add the wall thickness that the problems arise, because each pipe diameter has its own
particular wall thickness. We can't use another greek on the MULTICASE card to specify the wall
thicknesses, because to do so would result in PIPESIM permuting all combinations of diameter and
wall thickness and running 112 cases, which is definitely not what we want! The only sensible
solution to this problem is to remove the pipe diameter from the MULTICASE, and add 3 more
explicit cases to do what we want. However, there is a catch. To see what the catch is, look at the
modified input data:
Example

PIPE ID=4.2 WT=.6


MULTICASE LIQ=(200,300,400,500,600,700,800)
MULTICASE ?ALPHA=(4.2,5,5.5,6.2)
NODE DIST=0 ELEV=0
...
ENDCASE
CASE Second size
PIPE ?ID=5 WT=0.8
ENDCASE
CASE Third size
PIPE ID=6.2 WT=0.8

Now we have complete control over what is with what. The first explicit case will consist of 7
multicase cases, one for each of the flow rates on three MULTICASE card, all at the first pipe
diameter and wall thickness. The second explicit case changes the diameter and wall thickness,
and because it changes nothing else, it too will consist of 7 multiple cases for each flow rate. And
so for the third and fourth explicit cases. What, therefore, is the catch?
The catch in the above example concerns the position of the first PIPE card. Notice that, in the first
example, the PIPE card appeared after the MULTICASE cards. It had to appear there because it
contained a greek symbol which was defined on the MULTICASE card. Why, therefore, have we
moved it? The reason : All input data between the MULTICASE cards and the first NODE card is
scanned by PIPESIM on each case. Therefore, values supplied in these cards will override any
values supplied in subsequent explicit cases.
This, then is the 'MULTICASE/Explicit Case Combination Catch': it is perfectly possible to mix
MULTICASE and explicit cases in the same job, but take care not to put any cards between the

Keyword index
835
PIPESIM User Guide

MULTICASE cards and the first NODE card unless they really need to be there, that is if they use
greek symbols defined on the MULTICASE cards.
There is something else which, although perfectly possible and legal, you are advised not to do: do
not put further MULTICASE cards in subsequent cases. You almost certainly will not get the result
you expect if you do.

8.9.7 Multiple case and PS-PLOT


The order in which the subcodes appear on the MULTICASE card determines the order in which
the cases will be executed, which in turn determines which points make up a single 'line' on the
finished graph. Therefore, care should be exercised to ensure that the subcodes appear in an
appropriate order.
An example will serve to clarify this point:

MULTICASE WCUT=(0,25,50,75,90) LIQ=(20,50,100,150,200,250)

This multicase card will result in 30 cases being executed. Since the LIQ subcode appears last, it
forms the 'inner' loop of the execution process: PIPESIM will take the first WCUT value and
execute 6 cases, one at each of the liquid flow rates. Then it will take the second WCUT value, and
execute another 6 cases, one for each of the liquid flow rates. This loop will be repeated until all 5
water cut values have been executed. Since the plot file is written to at the end of every case, the
first 6 points will represent 6 different flow rates at the first water cut, the next 6 will represent 6
flow rates at the second water cut, and so on. Thus the graph that PS-PLOT will draw will contain 5
curves, Bone for each water cut. Each curve will consist of 6 points, corresponding to the flow
rates. Now consider the following MULTICASE card:

MULTICASE LIQ=(20,50,100,150,200,250) WCUT=(0,25,50,75,90)

The only difference between this card and the previous card is the order of the subcodes. Now, the
WCUT subcode appears last and so will form the 'inner' loop of execution. Thus the graph that PS-
PLOT will draw will contain 6 curves, Bone for each flow rate; each curve will consist of 5 points,
one for each water cut.

8.9.8 Reservoir simulator tabular data interface


Main-code : TABLE
This main-code is used to write tabular performance data to a file for input into another model
(such as a reservoir simulator). The effects of variations of one or more (up to four) parameters are
investigated. A tabular data file is created in a format as specified under the TYPE sub-code
accordingly.
The TABLE main-code should appear before the first NODE (p.782) card in a job and for PIPESIM
versions 2.4+ should appear after the MULTICASE (p.829) card.

FLOWTYPE= Type of flow by definition specified by the Reservoir Simulator. This


must be specified by the user and may be LIQ or GAS for multiphase
flow or OIL, WATER, or GAS for single phase flow

Keyword index
836
PIPESIM User Guide

LIQ Liquid

GAS Gas

OIL Oil

WATER Water

TYPE= Type (or format) of data file to which the results of the calculations are
written.

PORES PORES

ECLIPSE ECLIPSE

VIP VIP

WEPS WEPS

MORES MORES

COMP4 COMP4

ADDTEMP= Type of variable to write to the data file (Default = NO)

NO Write out only the BHP data

YES In addition to the BHP data, also write out the Temperature data in a
separate VFP Table file

USERELEV= User specified bottom hole datum depth, in default system unit. If given,
it overrides the engine computed default value.

NUMBER= Table number (between 1 and 10000) which forms part of the name of
the interface data file to be created and appears within the file itself (for
example, if input file is fred.psm and NUMBER=2, for a production well,
the BHP data file name is fred.VFPPROD.BHP.02.txt). Default = 1.

ALQ= Artifical Lift Quantity. Sensitivity values can be specified for one of the
following quantities: INJGAS, GLR, GOR, INJGLR, INJGOR, INJMAS,
INJLIQ, PUMPDP, PUMPPR, PUMPPO, PUMPPW, PUMPST and
PUMPSP.

Note:
1. Any RATE (p.701) or ITERN (p.703) card in the job input is ignored once the MULTICASE
(p.829) and TABLE option have been selected.
2. The sub-codes can be entered in any order.

Keyword index
837
PIPESIM User Guide

8.9.9 ASSIGN change profile data by assignment


Main-code: ASSIGN
In PIPESIM Versions 2.70 and higher, ASSIGN can be used to supply "parallel values" in
MULTICASE'd jobs. Any ASSIGN card defining a multiple-valued symbol, which appears after a
MULTICASE card defining a Greek symbol or explicit multi-value subcode, will be treated as
parallel to the multicase symbol or sub-code immediately preceding it. Please note, a multi-value
ASSIGN card must not appear before the first MULTICASE card.
Suppose you want to set up a MULTICASE job to permute a range of PIPE IDs against something
else, e.g. water cut. To make the analysis more rigorous the correct wall thickness (WT) for each
ID should be used. If a 3rd Greek on the MULTICASE card is included, this will permute all the
combinations of ID and WT, not what is required. However, by using an ASSIGN card, containing
the extra data, at the correct point, will result in the required result.

Note:
1. In PIPESIM Versions 2.41 and higher it is now possible to change variable values within a
system profile without repeating the whole profile. Previously, if a value within the profile was
changed in a second or subsequent case, then the complete system profile had to be re-
entered. It is possible for you to invent one or more symbols and then assign different values to
the symbol in subsequent cases. The symbol is typically used within the profile in place of a
numeric value. The value can then be assigned outside the profile, thus obviating the need to
repeat the entire system profile in subsequent cases.
2. All symbols must begin with a question mark "?" and are limited to 12 characters. The value
assigned can be any appropriate numeric value or alphanumeric string. If delimiters are
included, the string must be enclosed in quotes. Up to 30 symbols can be defined and
assigned.
3. ASSIGN may be used to update data within the profile but it can not be used to introduce new
main-codes or sub-codes within the profile. If a new main-code or sub-code is introduced within
the profile (that is after the second NODE card) then the whole profile must be repeated.

Example
MULTICASE ?BETA =(0,20,50,80)
MULTICASE ?ALPHA=(3,4,4.5,5,6)
ASSIGN ?THICK=(0.4,0.5,0.5,0.6,0.6)
INLET PRESS=900 TEMP=70
RATE LIQ=3000 WCUT=?BETA
PIPE ID=?ALPHA WT=?THICK

8.9.10 OPTIMIZE
Allows the PIPESIM single branch engine to calculate optimal values of parameters to match
measured pressure and / or temperature data.
Main-code: OPTIMIZE

Keyword index
838
PIPESIM User Guide

?OPT01= (...,...) Minimum and maximum values for 1st optimization variable.

?OPT02= (...,...) Minimum and maximum values for 2nd optimization variable.

?OPT03= (...,...) Minimum and maximum for 3rd optimization variable.

?OPT04= (...,...) Minimum and maximum for 4th optimization variable.

?OPT05= (...,...) Minimum and maximum for 5th optimization variable.

PMATCH= Weighting factor for pressure match.

TMATCH= Weighting factor for temperature match.

HMATCH= Weighting factor for liquid holdup match. For more information, Friction and
Holdup factors. (p.418)

Note: This parameter is only available for PIPESIM 2015.1.

TOL= Accuracy (default 0.02). Optimization converges when the fractional change
in the RMS is less than the specified accuracy.

Note: To ensure good convergence, PIPESIM automatically scales the single


branch pressure tolerance (PTOL) to be tighter/smaller than the RMS
tolerance (TOL). However, if either of these tolerances are manually altered
using keywords in such a way that PTOL > TOL, this could result in
convergence problems for the data matching operation.

MAXIT= Maximum number of iterations (default 200). Optimization finishes without


convergence if the number of PIPESIM iterations needed exceeds this limit.
The actual number of PIPESIM runs may be less than the reported number of
iterations. This is because the optimizer may call PIPESIM with the same
inputs as an earlier iteration. In this case PIPESIM is not re-run — the results
are read from memory.

VERBOSE= ON Outputs details of optimizer iteration runs

OFF Outputs details of the initial and optimized runs. (Default)

Examples
Example 1: optimizing flow correlation parameters to match measured pressure data
In this example the friction factor and hold up factor for the vertical flow correlation are set equal to
the first two optimization variables. The OPTIMIZE keyword is used to set the range for these two
variables (0.2 to 5 in both cases) and to select measured pressure data matching. The OPTIMIZE

Keyword index
839
PIPESIM User Guide

keyword is used to set the range for these two variables (0.2 to 5 in both cases) and to select
measured pressure data matching.

optimize ?opt01(0.2,5) ?opt02=(0.2,5) pmatch=1


vcorr type=HBR ffactor=?opt01 hfactor=?opt02

Example 2: optimizing heat loss rate to match measured temperature data


In this example the u value multiplier is set equal to the first optimization variable. The OPTIMIZE
keyword is used to set the range (0.01 to 100) and to select measured temperature data matching.

optimize ?opt01(0.01,100) tmatch=1


vcorr ufactor=?opt01

Example 3: matching measured pressure and temperature data simultaneously


In this example the two previous examples are combined to match both pressure and temperature
data simultaneously. This can be important in cases when the heat loss affect the pressure
calculations. The relative weightings of the pressure and temperature matches have been set
equal in this example. The MULTICASE keyword is also used to allow multiple flow correlations to
be used.

multicase ?beta=(ANSARI,DR,HBR)
optimize ?opt01(0.2,5) ?opt02=(0.2,5) ?opt03=(0.01,100) pmatch=1 tmatch=1
vcorr type=?beta ffactor=?opt01 hfactor=?opt02
options ufactor=?opt03

Example 4: controlling the optimization


To control the optimization you can set the accuracy and maximum number of iterations:

optimize tol=0.001 maxit=500

8.9.11 Wax deposition and time stepping modeling options


Main-code: WAX or TIME
The deposition of wax from a fluid on to the walls of the pipe or tubing can be modeled as a
function of time. Data must be provided to specify the required wax properties, the required time
parameters, and timestep calculation criteria. Since these properties overlap to a considerable
degree they can all be provided on either the WAX or TIME maincode. All times are currently
assumed to be in HOURS.
Wax deposition can also be modeled on an instantaneous basis. The rate of wax deposition can be
calculated, and used to produce a graph of (for example) wax deposition rate against distance.
Multiple sensitivity cases can then be used in the usual way to sensitize on variables of interest, so
as to observe their effect on wax deposition rate. To do this, ensure your job omits any of the
following time-based subcodes, and specify the desired sensitivity variable values with
MULTICASE.

Keyword index
840
PIPESIM User Guide

Time subcodes
Subcodes concerned only with setting time-based data and options:

DURATION= Duration of the simulation: provides an alternative to ENDTIME=. To simulate


the system over a period of time the duration must be positive: if it is zero, the
simulation will consist of a normal PIPESIM steady-state run, valid for an
arbitrary instant in time (which is useful for investigating the factors that
contribute to wax deposition).

STEPSIZE= The size of each timestep: only used if OPTION is 1. Timestep size can also
be computed automatically during the run by selecting a suitable OPTION.

STARTTIME= Time at which simulation is to start. (Default zero)

ENDTIME= Time at which simulation is to finish: see also DURATION= below. (Default
zero)

UNITS= Units of time to be used in simulation. Can be any of YEARS, MONTHS,


WEEKS, DAYS, HOURS, MINUTES, or SECONDS.

MINSTEPSIZE= The minimum allowable time step size that can be computed from OPTIONS
2 through 5.

REPINTERVAL= The interval between reporting steps. This can be set independently of the
timestep size to allow a number of timesteps to occur with no reported output,
if desired. The timestep size will be adjusted to ensure that one ends at each
report interval, in order to allow the report to be written.

PRINT= Specifies the number of timesteps for which the detailed wax deposition
output page will appear. This value will override the CASES= subcode of
PRINT.

RESTART= Time at which to restart from a previous simulation. If a restart time is


specified it overrides any supplied STARTTIME. The wax profile to restart
from is obtained from the restart file, see READRESTART.

READRESTART= Specifies the name of the restart file to read (default model name.WRS). Has
no effect unless accompanied by RESTART=. The file will be searched for a
profile representing the specified restart time. If necessary, 2 existing profiles
will be interpolated to create a profile representing the required time.

WRITERESTART= Specifies the name of the restart file to write to (default model name.WRS) A
restart file is always written if the run is stepping through time (that is has a
positive duration, see above). If the run is restarting and the read and write
restart filenames are identical, the new profiles will be written at the file
position corresponding to the time of restart, thus any pre-existing profiles for
later timesteps will be overwritten and lost. If this is not the desired behavior,
this or the previous subcode can be used to specify alternate file names,
which can be copies or new files as appropriate. In addition the model name
may be changed (with the File/Save As) menu.

Keyword index
841
PIPESIM User Guide

Termination subcodes
Subcodes concerned with or terminating the timestepping simulation, as a result of simulation
conditions:

MAXPIGDP= The maximum Delta Pressure available to push a wax removal scraper
pig through the line. The simulation will terminate early when sufficient
wax has deposited to cause the specified DP to occur.

MAXSYSDP= An upper limit on the Delta Pressure between system inlet and outlet
(psi or bar). In order to take effect, the simulation operation must have
specified that inlet pressure or outlet pressure be the calculated
variable.

MAXWAXTHICK= or An upper limit in the thickness of the wax deposit anywhere in the
MAXTHICKNESS= system (in or mm).

MAXVOLUME= or The maximum volume of wax allowed to accumulate in the system. (ft3
MAXWAXVOLUME= or or m3)
MAXPIGVOLUME=

MINLIQRATE= A lower limit for system stock-tank liquid flowrate. (bbl or m3). In order
to take effect, the simulation operation must have specified that
flowrate be the calculated variable.

MINGASRATE= A lower limit for system stock-tank gas flowrate. (mmscf3 or mmm3). In
order to take effect, the simulation operation must have specified that
flowrate be the calculated variable.

MINMASSRATE= A lower limit for system total mass flowrate. (lb/sec or kg/sec). In order
to take effect, the simulation operation must have specified that
flowrate be the calculated variable.

MINID= or MINWAXID= A lower limit on the internal Diameter of the wax deposit anywhere in
the system (in or mm).

Wax subcodes
Subcodes concerned with Setting wax properties, deposition properties, and modelling options:

METHOD= or The chosen Wax Deposition method. May be:


CLIENTMODEL= DBR or DBRS: D. B. Robinson and Associates, single-phase
DBRM: D. B. Robinson and Associates, multi-phase
SHELL: Shell oil Company proprietary method
BP: British Petroleum Company proprietary method
Note that all methods require an explicit license. D .B. Robinson
and Associates is a wholly-owned subsidiary of Schlumberger.

Keyword index
842
PIPESIM User Guide

DENSITY= or RHOWAX= or Wax density (lb/ft3 or kg/m3).


WAXRHO=

CONDUCTIVITY= or Wax thermal conductivity (BTU/hr/ft/F or W/m/C).


WAXCONDUCTIVITY=

ROUGHMODE = Specifies whether wax wall roughness is to be calculated. Set to


INPUT to use the roughness suppied with ROUGH= below (or on
the PIPE statement), or CALC to have it calculated.

ROUGHNESS= or Surface roughness of the wax (in or mm) .


WAXROUGHNESS= or
ROUGH=

WAXYIELDSTR = or the Yield strength of the deposited wax (psi or/bar). Used to
TAUWAX= or WAXTAU= or calculate DP during pigging.
YIELDSTRENGTH=

IFCMETHOD= Inside Film Coefficient method. This is provided for backwards


compatibility, and accepts the same values as SPIFCMETHOD=
and MPIFCMETHOD= subcodes on the HEAT statement.

BP, DBRS or DBRM method subcodes


Subcodes that are specific to the BP, DBRS or DBRM methods:

FILENAME= or FNAME= or The name of the Wax properties file. the BP and DBR methods
INPUTFNAME= require a separate file to hold wax thermodynamic and deposition
properties, the format of which is proprietary to each method.

BPFILENAME= or Same as FILENAME=, and sets METHOD=BP.


BPFNAME= or
BPINPUTFNAME=

DBRFILENAME= or Same as FILENAME=, and sets METHOD=DBRS.


DBRFNAME= or
DBRINPUTFNAME=

OILFRAC= Oil fraction in the wax (0 to 0.99).

SHEARCOEF= or Shear coefficient to simulate wax stripping. Also known as Shear


SRMULT= reduction Multiplier. Note: Each keyword has different ranges:
SHEARCOEFF= is intended to be used with the BP method (0 to 1);
SRMULT= is intended to be used with the DBR method (—10 to
+10).

DIFFCO= or MDMULT= Molecular Diffusion coefficient multiplier. Note: Each keyword has
DIFCOEFACTOR= different ranges:

Keyword index
843
PIPESIM User Guide

Both DIFFCO= and DIFCOEFACTOR= are intended to be used with


the BP subcode (0.01 to 1); MDMULT= is intended to be used with
the DBR subcode (—10 to +10).

COEFWAXK= Multiplier for the oil thermal conductivity, to simulate the thermal
conductivity of the wax deposit. Must be in the range 1 to 2. BP
method only

DCMETHO= or Diffusion Coefficient method, may be:


FLAGDIFFCOEF= WILKECHANG: Wilke & Chang
HAYDUMINHAS: Hayduk & Minhas
USER: user-supplied with DIFFCO=
BP method only.

ROUGHCOEF= Roughness multiplier (0 to 1). BP method only.

BPFFMETHOD= BP Friction factor method. Can be set to ON or OFF. Controls which


Friction factor is used for calculating the Inside Film Coefficient with
BP method (IFCMETHOD=BP). If set to ON, then the friction factor
is calculated using the BP internal flow correlation. if set to OFF, the
friction factor is calculated by the PIPESIM selected flow correlation.
BP method only.

COEFWAXK= Wax Thermal Conductivity Coefficient (0 to 100). BP method only.

LHCOEF= Coefficient on Liquid Holdup for two-phase scaling (-5 to +5). DBRM
method only.

S2YCOEFF= Coefficient on ratio of shear stress to yield stress (-5 to +5). DBRM
method only.

SFCOEF= Coefficient on shear factor used in porosity calculation (-5 to +5).


DBRM method only.

SWCOEFF= Coefficient on Surface Wetting for two-phase scaling (-5 to +5)


DBRM method only.

T2RCOEFF= Coefficient on ratio of wax thickness to radius (-5 to +5).DBRM


method only.

TFCOEF= Coefficient on temperature factor used in oil fraction calculation (-5


to +5). DBRM method only.

TRANSTEMPRANGE= or Wax transition temperature range / region (F or C). DBRM method


WAXTRANSTEMP= only.

Shell subcodes
Subcodes specific to the SHELL method:

Keyword index
844
PIPESIM User Guide

OPTION= Options to control how the timestep size is computed. An integer in the range
1 through 5, meaning:
1: Fixed timestep using the user's specified step size.
2: Auto timestep, all constraints: Wax DX, HTC , DP.
3: Auto timestep, wax DX and DP constraints only.
4: Auto timestep, wax DX and HTC constraints only.
5: Auto timestep, wax DX constraint only.

MINDX= The minimum allowable increase in wax ID. This sets a lower limit on the
timestep size computed from OPTIONS 2 through 5.

SETDX= The maximum increase in wax ID. This is used to compute the timestep size
from OPTIONS 2 through 5.

HTCLIMIT= Controls the application of the Heat Transfer Coefficient limit on the timestep
size. Set to ON or OFF.

RELAX= The relaxation factor for automated timestep adjustment computed from
OPTIONS 2 through 5. Must be a real number between 0 and 1; higher
values favour the new value, lower the old.

DFRACTION= Fraction of the pressure drop change allowed with the new timestep (0.01 ==
1%) computed from OPTIONS 2 through 5.

CWDPRES= Critical Wax Deposition Pressures. A vector of pressures, up to 30 may be


provided, which must be in ascending order (psia or bara). Values are
separated by commas and enclosed in parentheses.

CWDTEMP= Critical Wax Deposition Temperatures. A vector of temperatures, up to 30


may be provided, to correspond with the values for CWDPRES= (F or C).
Values are separated by commas and enclosed in parentheses.

MPTEMP= Modeling Parameter temperatures. A vector of temperatures, up to 30 may be


provided, which must be in ascending order (F or C). Values are separated by
commas and enclosed in parentheses.

MPA= Modeling Parameter A values. A vector of coefficients, up to 30 may be


provided, to correspond with the values for MBTEMP=. Values are separated
by commas and enclosed in parentheses.

MPB= Modeling Parameter B values. A vector of coefficients, up to 30 may be


provided, to correspond with the values for MBTEMP=. Values are separated
by commas and enclosed in parentheses

MPC=, MPD=, Additional subcodes to specify modelling parameters C through J. Each


MPE=, MPF=, requires a vector of coefficients, up to 30 may be provided, to correspond with
MPG=, MPH=, the values for MBTEMP=. Values are separated by commas and enclosed in
MPI=, MPJ= parentheses

Keyword index
845
PIPESIM User Guide

RATEMODEL= or Deposition rate model number. Currently there is only one rate model,
MODEL= number 1.

CWRPRES= Critical Wax Removal Pressures. A vector of pressures, up to 30 may be


provided, which must be in ascending order (psia or bara). Values are
separated by commas and enclosed in parentheses.

CWRTEMP= Critical Wax Removal Temperatures. A vector of temperatures, up to 30 may


be provided, to correspond with the values for CWDPRES= (F or C). Values
are separated by commas and enclosed in parentheses.

MODE= Controls whether to model wax deposition or removal: set to DEPOSITION or


REMOVAL.

8.10 PIPESIM-Net keywords


SETUP (p.846)
BRANCH (p.848)
SOURCE (p.850)
SINK (p.853)
JUNCTION (p.855)
NSEPARATOR (p.856)

Note: The preferred order of statements is: SETUP (p.846) , SOURCE (p.850) , JUNCTION
(p.855) , SINK (p.853) , BRANCH (p.848) , NSEPARATOR (p.856).

See Input Files and Data Conventions (p.682) for more detailed information on formatting.

8.10.1 SETUP
SETUP is a network keyword (p.846), used to define various network options.

Subcodes
TITLE= The model title. Can include spaces if enclosed in quotes.

TOLERANCE= The overall tolerance of the converged network solution. Must be


between 0.5 and 1e-6, default 0.01.

MAXITER= The maximum allowable number of overall network iterations. Must be


between 3 and 1000, default 100.

FLUIDMODEL= or An override on the type of fluid model to use. This is not normally
COMPOSITION= required, as it is obtained from the fluid definitions supplied in the branch
files, but can be supplied here if desired. Can be set to:

Keyword index
846
PIPESIM User Guide

BLACKOIL: Fluid type is set to black oil

COMPOSITION: Fluid type is set to compositional

STEAM: fluid type is set to steam

UNSTABLEWELL= How to treat unstable wells. If the converged network solution results in a
well operating in its unstable, or liquid-loaded region, you may wish it be
automatically shut in. Can be set to SHUT or FLOW, meaning:

SHUT: Shut in any well that is operating in its unstable region. This is the
default.

FLOW: allow unstable wells to remain in operation.

RECIPBYPASS= How to treat redundant Reciprocating Compressor (recips). The network


solution can converge with a recip in a so-called “redundant” state,
where pressure actually reduces across it instead of increasing. Clearly,
a recip in this state is not doing the job it was intended to do, and the
network would be better off without it. If this subcode is set to ON, then
any redindant recip will be bypassed, i.e. effectively removed from the
model solution. Can be set to ON or OFF, default ON.

ALGORITHM= The choice of network solution algorithm. Can be set to WEGSTEIN or


JACOBIAN, default WEGSTEIN.

WOFLMODE= Global settings for Wells Off Line Mode. May be set to:

OFF: Disable WOFL mode. All pressure-specified production wells and


source branches are modelled ON-line.

CREATE: Enable WOFL mode, and unconditionally create WOFL files


for all pressure-specified sources and production wells at the start of the
simulation.

CREATE?: Enable WOFL mode. Read and validate any existing WOFL
files, comparing the fluid definition, pressure boundary condition, and
branch geometry in them to the corresponding values in the current
model for the branch. If they match, use the file, otherwise re-create it.

USE: Enable WOFL mode. Unconditionally read any existing WOFL files
and use them, despite possible mismatch between them and the current
model settings. No new files will be created.

ECHOBRANCH= Allows the contents of all well and branch geometry files to be echoed to
the network output file. Can be set to YES or NO, default NO.

SKIPINACTIVE= Controls the “skipping” (i.e., omission of processing) of geometry files for
inactive branches: can be set to YES or NO.

Keyword index
847
PIPESIM User Guide

In a coupled PIPESIM/Eclipse/IAM simulation, it is common practice to


start the simulation with a number of branches turned OFF. The
timestepping simulation then turns them ON at a later timestep, maybe
after many hours of simulation CPU time. If at this time it is found that the
branch geometry files concerned contain syntax or logic errors, the
simulation has to be aborted, resulting in much time and work lost.
Clearly, for this type of simulation, it is preferable to check and validate
all branch geometry files at the start of the run, so as to diagnose such
errors as early as possible. Thus the default state for a coupled
simulation is NO.

By contrast, in a normal uncoupled PIPESIM run, a branch's ON or OFF


state will not change during the run, so any syntax or logic errors caused
by the contents of inactive geometry files can be ignored. Thus the
default state for an uncoupled simulation is YES.

This flag can also be set with the -E command line switch, which has the
same effect as setting it to YES.

RESTARTINTERVAL= Specifies the time interval between writing restart files: a value in
seconds, default 1800. The interval is measured in real (i.e. wallclock,
not CPU) seconds.

Restart files are written at the end of every simulation, and at the end of
any as-yet-unconverged network iteration after the specified interval. The
purpose of the restart file is to allow the simulation to be restarted, which
is useful to allow a new simulation to re-use the converged results of a
previous one, and/or to recover from a simulation that terminated
abnormally. However, the file writing can take considerable time, and so
impose a speed penalty on the overall simulation. So there is strong
incentive to minimise the frequency of writing them.

By default the files are written every half-hour, the idea being that if the
program is interrupted or fails abnormally, you can restart it, having lost
at most half an hour's work. If you would prefer to loose less work in this
event, set the interval to a value smaller than 1800 seconds, but by doing
so you accept the extra overhead of writing the files more often.

You can also increase the interval to reduce the restart file writing.
Setting it to a very large value (eg 1e10) will result in the files being
written only when the simulation converges, or when it hits iteration limit.

ECHONET= Controls the echo of the network input data to the output file. can be set
to YES or NO, default YES.

8.10.2 BRANCH
BRANCH is a network keyword (p.846), used to define a branch and associated network topology.

Keyword index
848
PIPESIM User Guide

Subcodes
NAME= The name of the branch. Can include spaces if enclosed in quotes.

FILENAME= The file name containing the Branch's input data, as formatted for a
Single-branch PIPESIM model. Can include spaces if enclosed in quotes.
See note 1.

START= The branch start Network Node name. See note 1.

END= The branch end Network Node name. See note 1.

BLOCK= Specifies a direction in which flow is “blocked”, i.e. not allowed to go. Can
be set to:

NONE: No flow block exists, so flow may go in either direction

FORWARD: Flow is blocked in the forward direction, so it may only go in


reverse.

REVERSE: Flow is blocked in the reverse direction, so it may only go


forward,

BOTH: flow is blocked in both directions, so the branch is effectively


inactive.

ON Specifies that the branch is “active” and that no flow block exists in it, so
flow can go in either direction. has the same effect as BLOCK=NONE.

OFF Specifies that the branch is “inactive” and flow is blocked in both
directions. has the same effect as BLOCK=BOTH.

ESTLIQUID= or An estimate of the flowrate in the branch, as a stock-tank liquid rate


EST_LIQUID= (sbbl/d or sm3/d). The iterative network solution algorithm will commence
with this as the branch flowrate.

ESTGAS= or An estimate of the flowrate in the branch, as a stock-tank gas rate


EST_GAS= (mmscf/d or mmsm3/d). The iterative network solution algorithm will
commence with this as the branch flowrate.

ESTMASS= or An estimate of the flowrate in the branch, as a mass rate (lb/sec or Kg/
EST_MASS= sec). The iterative network solution algorithm will commence with this as
the branch flowrate.

UPPERMASS= or Upper limit of mass flowrate for the branch (lb/sec or Kg/sec).. See note 2.
MAXMASS= or
LIMITMASS=

UPPEROIL= or Upper limit of oil flowrate for the branch(sbbl/d or sm3/d). See note 2.
MAXOIL= or
LIMITOIL=

Keyword index
849
PIPESIM User Guide

UPPERLIQ= or Upper limit of liquid flowrate for the branch (sbbl/d or sm3/d). See note 2.
MAXLIQ= or
LIMITLIQ=

UPPERGAS= or Upper limit of gas flowrate for the branch (mmscf/d or mmsm3/d). See
MAXGAS= or note 2.
LIMITGAS=

UPPERWAT= or Upper limit of water flowrate for the branch (sbbl/d or sm3/d). See note 2.
MAXWAT= or
LIMITWAT=

USERESTART= A per-branch override on the use of solution data from restart files. When
a model run is restarted, by default, the solution information for all
branches is extracted from the restart file, and used as the start point for
the run. This subcode allows the restart information for this branch to be
ignored, so the run will use default information for the branch. Can be set
to YES, to use the restart data, or NO, to ignore it. Default is YES.

Notes:
1. The names of the network nodes which adjoin the branch must be specified with the START=
and END= subcodes. Network nodes are defined with the statements SOURCE, (p.850) SINK
(p.853) , JUNCTION (p.855) and NSEPARATOR (p.856) statements. The pipeline
geometry as detailed in the file supplied with the FILENAME= subcode, is assumed to start at
the network node named with the START= subcode, and end at the node named with END=.
Note, this does not specify the direction of fluid flow: the network solution will determine if the
branch actually flows forward, i.e. with the geometry direction, or reverse, i.e. against the
geometry direction.
2. Any combination of Maximum Flowrate limits may be specified, the simulation will enforce
whichever turns out to be most limiting. The limits are enforced by the addition of a choke at the
branch outlet. The choke bean diameter is calculated so as to enforce the limit, so a pressure
drop will occur across the choke. Flowrate limits may be applied to all branches, except for (a)
any branch connected to the outlet of a network separator, and (b) any branch draining a
source with a fixed flowrate specification.

8.10.3 SOURCE
SOURCE is a network keyword (p.846), used to define conditions at a network inlet.

Subcodes
NAME= The name of the source. Can include spaces if enclosed in quotes.

PRESSURE= Source pressure specification (psia or bara). See note 1.

Keyword index
850
PIPESIM User Guide

TEMPERATURE= Temperature of fluid flowing from the source (F or C). If absent, this is
obtained from the data in the branch geometry file.

LIQUIDRATE= or LIQ= Source flowrate specification, as a stock tank liquid rate (sbbl/d or
sm3/d). See note 1.

GASRATE= or GAS= Source flowrate specification, as a Stock tank gas rate (mmscf/d or
mmscm/d) . See note 1.

MASSRATE= or Source flowrate specification, as a Stock tank mass rate (lb/sec or Kg/
MASS= sec). See note 1.

REBC= “Remove Existing Boundary Condition” for the source. This is used when
multiple SOURCE statements refer to the same named source, and you
want this statement to remove all boundary conditions for this source
specified with earlier statements.

FCLIQUID= Source flowrate specification, as a Flowing liquid rate (bbl/d or m3/d).


See notes 1 & 2.

FCGAS= Source flowrate specification, as a Flowing gas rate (mmscfd or sm3/d).


Note the units of this are at stock-tank conditions.

FCPRESSURE= The pressure for the accompanying flowing rate specified with FCLIQ= or
FCGAS= (psia or Bara)

FCTEMPERATUR= The temperature for the accompanying flowing rate specified with
FCLIQ= or FCGAS= (F or C)

CURVEP= For curve specified source, an array of pressures (psia or bara). See note
3. Example:

CURVEP=(20,1000,2000) psia

CURVEL= For curve specified sources, an array of liquid rates (bbl/d or m3/d). See
note 3. Example:

CURVEL=(20,1000,2000) bbld

CURVEG= For curve specified sources, an array of gas rates (mmscfd or mmsm3d).
See note 3. Example:

CURVEG=(20,1000,2000) mmscfd

CURVEM= For curve specified sources, an array of mass rates (lb/s or Kg/s). See
note 3. Example:

CURVEM=(20,1000,2000) lb/s

CURVET= For curve specified sources, an array of temperatures (F or C). See note
3. Example:

Keyword index
851
PIPESIM User Guide

CURVET=(20,40,60) F

ON Specifies that the source is active, or switched ON.

OFF Specifies that the source is inactive, or switched OFF.

CURVEFILE= Specifies that the source and adjoining branch has already been
simulated in Wells Off-Line (WOFL) mode, and that the results of this are
available in the named file. Example:

CURVEFILE='Curve1.PWH'

A number of additional special values may be supplied instead of the


filenale, these are distinguished by the first character being an asterisk,
'*', namely:

CURVEFLIE=*USE: this has the same effect as above, but the filename
to read from is assumed from the default source and branch names.

CURVEFLIE=*CREATE : Specifies that a WOFL file for the source and


adjoining branch are to be created at the start of the network simulation.
The network simulation will then use the results in this file.

CURVEFLIE=*CREATE?: Same as above, except that any pre-existing


file will be used if its specifications match the current network's.

QUALITY= For steam systems, the quality (fraction gas) of the steam flowing into the
source. If absent, this will be obtained from the branch geometry file.

CURVESENS_P= For WOFL specified sources, supplies sensitivity information in units that
match the data in the WOFL file.

CURVESENS_T= For WOFL specified sources, supplies sensitivity information in units that
match the data in the current (.TNT) file.

CURVESENS_S= For WOFL specified sources, supplies sensitivity information in Strict SI


units.

UPPERMASS= or Upper limit of mass flowrate for the source (lb/sec or Kg/sec).. See note
MAXMASS= or 4.
LIMITMASS=

UPPEROIL= or Upper limit of oil flowrate for the source (sbbl/d or sm3/d). See note 4.
MAXOIL= or
LIMITOIL=

UPPERLIQ= or Upper limit of liquid flowrate for the source (sbbl/d or sm3/d). See note 4.
MAXLIQ= or
LIMITLIQ=

Keyword index
852
PIPESIM User Guide

UPPERGAS= or Upper limit of gas flowrate for the source (mmscf/d or mmsm3/d). See
MAXGAS= or note 4.
LIMITGAS=

UPPERWAT= or Upper limit of water flowrate for the source (sbbl/d or sm3/d). See note 4.
MAXWAT= or
LIMITWAT=

ELEVATION= Absolute elevation of the source (ft or m). If supplied, this will be used as
a datum for plotting branch elevations. If more than one junction has an
elevation, they will be used to cross-check with other source, sink and
junction elevations, to help identify where loop elevation mismatch
error(s) have occurred.

N.B. It is useful to supply the absolute elevations of any number of


Network nodes (Junctions, Sources, and Sinks). This allows the elevation
data in the connecting branches to be checked. Note that the same node
name may appear in multiple SOURCE statements: the data on each
statement is additive for the overall node specification. Thus for example,
a series of SOURCE statements can be supplied under Setup » Engine
options to set the node elevations for sources already specified in the
GUI's model. Same goes for JUNCTION and SINK statements.

ESTPRESSURE= Estimate of pressure to be used as a starting point for the network


solution (psia or bara).

Notes:
1. A source may have a pressure specification, or a flowrate specification, or a curve specification.
These are known as Hydraulic Boundary Conditions.
2. A “flowing flowrate” may be specified as an alternative to a stock-tank flowrate. It must be
accompanied by FCPRES= and FCTEMP= .
3. A source may be specified with a curve of flowrate against pressure, as an alternative to a fixed
pressure or flowrate. The subcodes CURVEP=, and one of (CURVEG=, CURVEL=, or
CURVEM=) are used for this, they all accept Multiple Value Data Set (p.685). The curve may
be accompanied by a temperature array with CURVET=. All subcodes so specified must have
the same number of values. Between 3 and 30 values may be supplied.
4. Any combination of Maximum Flowrate limits may be specified, the simulation will enforce
whichever turns out to be most limiting. The limits are enforced in the adjoining branch, by the
addition of a choke at the branch outlet. The choke bean diameter is calculated so as to enforce
the limit, so a pressure drop will occur across the choke.

8.10.4 SINK
SINK is a network keyword (p.846), used to define conditions at a network outlet.

Keyword index
853
PIPESIM User Guide

Subcodes
NAME= The name of the sink. Can include spaces if enclosed in quotes.

PRESSURE= Sink pressure specification (psia or bara). See note 1.

LIQUIDRATE= or LIQ= Sink flowrate specification, as a stock tank liquid rate (sbbl/d or sm3/d).
See note 1.

GASRATE= or GAS= Sink flowrate specification, as a Stock tank gas rate (mmscf/d or mmscm/
d) . See note 1.

MASSRATE= or Source flowrate specification, as a Stock tank mass rate (lb/sec or Kg/
MASS= sec). See note 1.

REBC= “Remove Existing Boundary Condition” for the sink. This is used when
multiple SINK statements refer to the same named sink, and you want
this statement to remove all boundary conditions for this sink specified
with earlier statements.

ON Specifies that the sink is active, or switched ON.

OFF Specifies that the sink is inactive, or switched OFF.

UPPERMASS= or Upper limit of mass flowrate for the sink (lb/sec or Kg/sec).. See note 2.
MAXMASS=

UPPEROIL= or Upper limit of oil flowrate for the sink (sbbl/d or sm3/d). See note 2.
MAXOIL=

UPPERLIQ= or Upper limit of liquid flowrate for the sink (sbbl/d or sm3/d). See note 2.
MAXLIQ=

UPPERGAS= or Upper limit of gas flowrate for the sink (mmscf/d or mmsm3/d). See note
MAXGAS= 2.

UPPERWAT= or Upper limit of water flowrate for the sink (sbbl/d or sm3/d). See note 2.
MAXWAT=

ELEVATION= Absolute elevation of the sink (ft or m). If supplied, this will be used as a
datum for plotting branch elevations. If more than one network node has
an elevation, they will be used to cross-check with other source, sink and
junction elevations, to help identify where loop elevation mismatch
error(s) have occurred.

N.B. It is useful to supply the absolute elevations of any number of


Network nodes (Junctions, Sources, and Sinks). This allows the elevation
data in the connecting branches to be checked. Note that the same node
name may appear in multiple SINK statements: the data on each
statement is additive for the overall node specification. Thus for example,
a series of SINK statements can be supplied under Setup » Engine

Keyword index
854
PIPESIM User Guide

options to set the node elevations for sinks already specified in the GUI's
model. The same goes for JUNCTION and SOURCE statements.

ESTPRESSURE= Estimate of sink pressure to be used as a starting point for the network
solution (psia or bara).

Notes:
1. A sink may have a pressure specification, or a flowrate specification. These are known as
Hydraulic Boundary Conditions.
2. Any combination of Maximum Flowrate limits may be specified, the simulation will enforce
whichever turns out to be most limiting. The limits are enforced in the adjoining branch, by the
addition of a choke at the branch outlet. The choke bean diameter is calculated so as to enforce
the limit, so a pressure drop will occur across the choke.

8.10.5 JUNCTION
JUNCTION is a network keyword (p.846), used to define a junction, or to supply additional or
override data for an existing junction.

Subcodes
NAME= Name of the junction. Can include spaces if enclosed in quotes.

ESTPRESSURE= Estimate of pressure to be used as a starting point for the network


solution (bara or psia)

ESTTEMPERATURE= Estimate of fluid temperature to be used as a starting point for the network
solution (F or C)

ELEVATION= Absolute elevation of the junction (ft or m). If supplied, this will be used as
a datum for plotting branch elevations. If more than one Network node
has an elevation, they will be used to cross-check with other node
elevations, to help identify where loop elevation mismatch error(s) have
occurred.

N.B. It is possible, and useful, to supply the absolute elevations of any


number of Network nodes (Junctions, Sources, and Sinks). This allows
the elevation data in the connecting branches to be checked. Note that
the same node name may appear in multiple JUNCTION statements: the
data on each statement is additive for the overall node specification. Thus
for example, a series of JUNCTION statements can be supplied under
Setup » Engine options to set the node elevations for junctions already
specified in the GUI's model. Same goes for SOURCE and SINK
statements.

Keyword index
855
PIPESIM User Guide

8.10.6 NSEPARATOR
NSEPARATOR is a network keyword (p.846), used to define a network separator.

Subcodes
NAME= Name of the separator

FEEDBRANCH= Name of the branch feeding the separator

DISCARDBRANCH= Name of the branch to receive the “discarded” stream. See note 1.

TYPE= The phase of the “discarded” stream: may be GAS, LIQUID, or WATER.
See note 1.

PRESSURE= Separator pressure (psia or bara). This is optional: see note 2.

EFFICIENCY= Percentage efficiency of the separation process: see note 3. Must be in the
range 10 to 100.

Notes:
1. A network separator causes a feed stream to be separated into 2 outlet streams, as specified
by the TYPE= subcode. They are known as the “discard” stream and the “kept” stream, for
compatability with the single-branch separator (p.791). In a network model however, the term
“discard” is misleading, because the discard stream is not “discarded”, it is separated and made
to flow into the branch named with the DISCARDBRANCH= subcode.
2. The requirements of the network solution dictate that a pressure discontinuity must occur at the
outlets of a network separator. If a pressure has been specified, then both of the outlet
branches will exhibit a pressure discontinuity, calculated to ensure that the separated streams'
flowrates are maintained in the downstream network(s). If a pressure is not specified, then only
the “discard” branch will exhibit a discontinuity. These discontinuities represent the necessary
pressure control valves and/or pumps that are required to maintain liquid level control in the
separator.
3. The efficiency term refers to how much of the “discard” phase is separated from the feed
stream. For example, an efficiency of 90% in a gas separator will cause 90% of the gas phase
to be sent down the discard branch; the remaining gas, plus ALL of the liquid, will go down the
keep branch.
4. Separators work at flowing, or in-situ, pressure and temperature. The flowing phase split as
predicted by the selected fluid PVT model will usually be very different from the stock-tank
phase split, please bear this in mind when you look at the resulting branch flowrates. In
particular, PIPESIM allows you to display branch and node flowrates using the “report tool”, but
alas this shows only stock-tank rates, which are not useful to understand separator
performance.
5. If the phase to be separated does not exist, then clearly the separator cannot function as
expected. In this case all flow will go down the keep branch. Inlet and outlet compositions will
be identical.

Keyword index
856
PIPESIM User Guide

6. If the phase to be separated is the only phase present, then clearly the separator cannot
function as expected. In this case the “efficient” fraction of the flow will go down the discard
branch, with the remainder going down the keep branch. Inlet and outlet compositions will be
identical.

8.11 Keyword index


Input files and input data conventions (p.682)
General data (p.688)
Compositional data (p.814)
Blackoil data (p.803)
MFL files (p.824)
Heat transfer data (p.792)
Flow correlation data (p.720)
System and equipment data (p.756)
Well performance modeling (p.732)
PIPESIM operations (p.825)
PIPESIM-net keywords (p.846)

8.11.1 Keyword list


A (p.677) B (p.677) C (p.678) D (p.678) E (p.678) F (p.678) G (p.679) H (p.679) I (p.679) J (p.679)
K (p.679) L (p.679) M (p.679) N (p.680) O (p.680) P (p.680) Q (p.680) R (p.680) S (p.680) T
(p.681) U (p.681) V (p.681) W (p.681) X (p.682) Y (p.682) Z (p.682)

A
• ASSIGN (p.838)

B
• BACKPRES (p.748)
• BEGIN (p.716)
• BLACKOIL (p.803)
• BRANCH (p.848)

C
• CASE (p.690)
• CALIBRATE (p.812)
• CHOKE (p.756)

Keyword index
857
PIPESIM User Guide

• COAT (p.795)
• COMP (p.817)
• COMPCRV (p.761)
• COMPLETION (p.734)
• COMPRESSOR (p.763)
• CONETAB (p.747)
• CONFIG (p.800)
• CONTAMINANTS (p.814)
• CORROSION (p.721)
• CPFLUID (p.811)

DE
• END (p.716)
• ENDCASE (p.716)
• ENDJOB (p.716)
• EROSION (p.721)
• EQUIPMENT (p.481)
• ESP (p.786)
• EXPANDER (p.767)

F
• FETKOVICH (p.738)
• FITTING (p.768)
• FLOWLINE (p.734)
• FMPUMP (p.770)
• FORCHHEIMER (p.754)
• FRACTURE (p.754)
• FRAMO2009 (p.770)

G
• GASLIFT (p.772)

H
• HCORR (p.727)
• HEATER (p.771)
• HEADER (p.689)
• HEAT (p.792)

Keyword index
858
PIPESIM User Guide

• HORWELL (p.748)
• HVOGEL (p.754)

I
• IFPPSSE (p.739)
• IFPTAB (p.745)
• IFPCRV (p.744)
• INLET (p.705)
• INJGAS (p.777)
• INJFLUID (p.777)
• INJPORT (p.775)
• IPRCRV (p.744)
• ITERN (p.703)

J
• JOB (p.690)
• JONES (p.739)
• JUNCTION (p.855)

K
• KCOAT (p.797)

L
• LAYER (p.750)
• LVIS (p.806)

M
• MPBOOSTER (p.780)
• MPUMP (p.781)
• MULTICASE (p.829)

N
• NAPLOT (p.825)
• NAPOINT (p.829)
• NODE (p.782)
• NOPRINT (p.716)
• NSEPARATOR (p.856)

Keyword index
859
PIPESIM User Guide

O
• OPTIONS (p.691)
• OPTIMIZE (p.838)

P
• PCP (p.786)
• PERMCRV (p.752)
• PERMTAB (p.753)
• PETROFRAC (p.823)
• PIPE (p.784)
• PLOT (p.713)
• PRINT (p.706)
• PROCOPTIONS (p.824)
• PROP (p.805)
• PUMP (p.786)
• PUMPCRV (p.761)
• PUSH (p.718)

QR
• RATE - Compositional (p.824)
• RATE - Blackoil (p.701)
• REINJECTOR (p.789)
• RISER (p.734)

S
• SEPARATOR (p.791)
• SETUP (p.846)
• SINK (p.853)
• SLUG (p.722)
• SOURCE (p.850)
• SPHASE (p.730)

T
• TABLE (p.836)
• TCOAT (p.796)
• TIME (p.840)
• TPRINT - Compositional (p.824)

Keyword index
860
PIPESIM User Guide

• TPRINT - Blackoil (p.812)


• TRANSIENT (p.754)
• TUBING (p.734)

U
• UNITS (p.690)
• USERDLL - Flow Correlations (p.732)
• USERDLL - Equipment (p.720)

V
• VCORR (p.723)
• VOGEL (p.738)

W
• WAX (p.840)
• WELLHEAD (p.792)
• WELLPI (p.737)
• WCOPTION (p.741)
• WPCURVE (p.738)

XYZ

Keyword index
861
PIPESIM User Guide

9
Tutorials
The following tutorials are described in detail:
• Oil Well Performance Analysis (p.862)
• Gas Well Performance Analysis (p.886)
• Subsea Tieback Design (p.910)
• Looped Gas Gathering Network (p.936)
• Simple Network Model on the GIS Map (p.948)
• Pipe Inline Heating (p.962)

9.1 Oil well performance analysis


This tutorial examines a producing oil well located in the North Sea. You will analyze the
performance of this well using NODAL analysis and calibrate the black oil fluid correlations using
laboratory data to improve the modeling accuracy.
You will also analyze the behavior of the well with increased water cut and implement gas lift at a
later stage when the well is unable to flow naturally.
In this tutorial, you will perform the following tasks:
• Build the well model (p.863)
• Perform a NODAL analysis (p.869)
• Generate a pressure/temperature profile (p.870)
• Calibrate PVT data (p.874)
• Sensitize on the well PI to match well performance (p.876)
• Analyze water cut sensitivity (p.877)
• Evaluate gas lift performance (p.879)
• Model multiple completions (p.882)
• Model a downhole choke (p.884)

Tutorials
862
PIPESIM User Guide

9.1.1 NODAL analysis


Nodal analysis is used to evaluate the performance of production or injection wells. It involves
specifying a nodal point, usually at the bottomhole or wellhead, and dividing the producing system
into two parts - the inflow and the outflow. This is represented graphically below.
The solution node is defined as the location where the pressure differential upstream (inflow) and
downstream (outflow) of the node is zero.
Solution nodes can be judiciously selected to isolate the effect of certain variables. For example, if
the node is chosen at the bottomhole; factors that affect the inflow performance of a production
well, such as skin factor, can be analyzed independently of variables that affect the outflow, such
as tubing diameter or separator pressure.
Figure 9.1. System plot showing intersection of the inflow and outflow performance curves

9.1.2 Task 1: Build the well model


In this task, you will build a model of an oil production well. Although this task could be performed
in a network centric workspace, you will use the well centric mode for it.
Do the following:
1. Launch PIPESIM and select the option to create a new, well centric workspace.

Tutorials
863
PIPESIM User Guide

2. The Insert tab is active. From the Tubulars group of the Well editor, add casing to the well by
clicking Casing and dragging the casing onto the wellhead. Drop the casing at the wellhead
only when the casing is green and the green circle is flashing as shown in the figure.

3. On the Tubulars tab of the well editor, click

on the far right to open the Casing Catalog.

4. In the Casing catalog, go to the OD column and select Greater than from the dropdown list
and type in a value of 8 in the text field. This will filter the catalog to display only casings with an
OD (Outside Diameter) greater than 8 in, as below.

Tutorials
864
PIPESIM User Guide

5. Select the L80 grade of casing by highlighting the corresponding row, and clicking OK.
6. Change the Bottom MD of the casing to 9000 ft.
7. Click

to add a tubing string.

Note: Alternatively, you may add a tubing by dragging it from the Insert toolbar as was done
previously for the casing.

8. Specify the values shown below. Enter the numbers instead of using the catalog.

9. On the Deviation survey tab, change the Survey type to 2D. Ensure Angle is selected as the
Dependent parameter, then enter the MD and TVD values for a 2D survey as shown below.

Tutorials
865
PIPESIM User Guide

10.On the Heat transfer tab, configure the Heat transfer parameters as shown in the following
figure.

11.On the Completions tab, add a completion to the well by dragging it from the Insert tab or
clicking the

button. Enter the Completion information as shown in the following figure.

Tutorials
866
PIPESIM User Guide

Note: The IPR plot will not display because no fluid has been defined yet.

12.On the Fluid model tab, create a new Black Oil fluid for the Completion using the parameters
shown in the following figure (You may or may not choose to create the fluid by editing an
existing template). Leave the defaults for all the other tabs on the Fluid editor, and exit the
dialog box.

13.The dynamic well schematic diagram on the left represents the wellbore configuration up to this
point. The green flow lines represent fluid flow paths. The current well configuration indicates a
dual flow path, supporting the simultaneous flow of fluid up the tubing and annulus. In the next
step, you will restrict fluid flow to the tubing only, by adding a packer. You will end up with the
well schematic on the right. Go to the next step to do this.

Tutorials
867
PIPESIM User Guide

14.On the Downhole equipment tab, add a Packer at 8,500 ft to prevent flow up the annulus
between the tubing and casing.
15.On the Home tab, select Simulation settings and ensure that the Hagedorn-Brown
correlation for vertical multiphase flow and the Beggs & Brill Revised correlation for
horizontal multiphase flow, are selected.

Tutorials
868
PIPESIM User Guide

16.Exit the Simulation settings and save your workspace.

9.1.3 Task 2: Perform a NODAL analysis


In this task, you will perform a Nodal analysis operation to determine the absolute open flow
potential (AOFP) of the well and its operating/solution point (i.e. the intersection of the inflow and
outflow curves), for a given flowing wellhead (outlet) pressure. To do this, you will need to add a
Nodal analysis point at the bottomhole to divide the system into two parts, inflow and outflow as
described previously. The inflow curve on the resulting plot extends from the reservoir to the
bottomhole, while the outflow curve describes flow from the bottomhole to the wellhead.
Do the following:
1. On the Home tab, click Nodal analysis.
2. When prompted to choose the nodal analysis point location, select Bottomhole and click OK.
3. Enter an Outlet pressure value of 300 psia as below, and click Run.

The System results plot is generated and displays the operating point.

4. Check the boxes to display the Bubble point and operating envelope as below. The operating
envelope shows a region bounded by the reservoir pressure, erosional velocity ratio limit, user-
specified maximum drawdown limit (this is set to 80% of the AOFP by default) and the inversion

Tutorials
869
PIPESIM User Guide

point for stable liquid production (the inflection on the outflow curve in the area of unstable
flow).
The value of this operating envelope is that it allows you to understand where the system is
currently operating, by comparing its operating point to the envelope. If the operating point is to
the right of the operating envelope as is the case in this example, the flowrate exceeds the
erosional velocity limit and it may be necessary to choke back the well slightly. For gas wells,
the liquid loading line is also annotated as an additional boundary for the operating envelope.

5. Extract the results from the system plot and compare them with the answers below. To extract a
more accurate value of the AOFP, go to the Completions tab of the Well editor. Click the
Reservoir tab. The IPR plot is displayed. Click on the View data in a table icon at the bottom-
right of the IPR plot to display the plot as a grid (the icon is annotated in the above plot). Extract
the AOFP value (Flow rate at Pwf ≈ 0 psia).

Parameter Value
Operating Point Flow rate 8840 stb/d
Operating Point BHP 2495 psia
AOFP 21,311 stb/d
6. Return to the Nodal analysis task and click the Profile Results tab to review the pressure
profile corresponding to the calculated operating point.

9.1.4 Task 3: Generate a pressure/temperature profile


The Nodal Analysis task generates System plots, which are displayed on the System results tab,
and Profile plots for each operating point, which are displayed on the Profile results tab. However,
you can also generate profile plots using the P/T Profile (Pressure/Temperature) task. The

Tutorials
870
PIPESIM User Guide

advantage of the P/T Profile task over the Nodal analysis task for this purpose, is that you may
calculate boundary pressures by supplying a flowrate.
Do the following:
1. Set up a P/T profile task specifying Liquid flowrate as the Calculated variable.
2. Enter the Outlet Pressure (Wellhead, in this example) of 300 psia.
3. Leave Sensitivity Data empty.
4. Set the Default Profile Plot to Elevation vs Pressure.

Note: Inlet and outlet pressure always refer to the boundaries of the system. In this case, the
inlet pressure is the reservoir pressure, while the outlet pressure corresponds to the wellhead
pressure. The inlet pressure is automatically populated from the completion or source level,
while the outlet pressure is always specified manually within the task. If the system boundary
conditions are changed (e.g. reservoir pressure is changed) and the task is relaunched, the
task will not automatically pick up the new boundary conditions. To populate the task with the
most up-to-date boundary conditions in the model, click the Reset boundary conditions
button.

5. Run the model.


The Profile results tab displays.
6. Review the results in plot and grid format by selecting Show plot and Show grid respectively.
Compare your results with the answers below.

Note: To see the results at finer intervals in order to get a more accurate depth at which gas
appears, go to Home » Simulation settings » Advanced and check the Print computation
segment result box, as below. Exit the dialog and re-run the P/T profile task.

Tutorials
871
PIPESIM User Guide

Tutorials
872
PIPESIM User Guide

Parameter Value
Production Rate 8,840 stb/d
Flowing BHP 2,495 psia
Flowing WHT 138 degF
Depth at which gas appears Between 7082 ft and 7199 ft

9.1.5 Fluid calibration


Black oil fluid properties (also known as PVT properties) are predicted by correlations developed
by fitting experimental fluid data with mathematical models. Various correlations have been
developed over the years based on experimental data sets covering a range of fluid properties.
The PIPESIM Help describes the range of fluid properties used to develop each correlation, which
helps you select the most appropriate correlation for your fluid. Refer to Black oil correlations
(p.586) for more details. The default correlations in PIPESIM are based on the overall accuracy of
the correlations, as applied to a broad range of fluids.
To increase the accuracy of fluid property calculations, PIPESIM provides functionality to match
PVT fluid properties with laboratory data. Calibration of these properties can greatly increase the
accuracy of the correlations over the range of pressures and temperatures for the system being
modeled.
For example, calibration of the bubble point pressure can result in the initial appearance of gas at a
depth, hundreds or even thousands of feet shallower or deeper than in an un-calibrated model.
This will result in a significantly different mixture fluid density and, thus, a vastly different
elevational pressure gradient.
Likewise, calibration of the fluid viscosity can drastically improve the calculation of the frictional
pressure gradient, especially in heavy oils and emulsions.
If the calibration data is omitted, PIPESIM calibrates on the basis of oil and gas gravity alone,
resulting in a loss of accuracy.
After the calibration is performed, a calibration factor is calculated as the ratio of the measured
value to the value calculated by the selected correlation for the PVT property.
The calibration method available in PIPESIM 2015.1 is Single Point Calibration.

9.1.6 Single point calibration


In many cases, actual measured values for PVT properties show a variance from the values
calculated using the correlations. When this occurs, it is useful to calibrate the property using the
measured value. PIPESIM can use the known data for the property to calculate a calibration
constant Kc;
Kc = Measured Property @(P,T)/Calculated Property @(P,T)
This calibration constant is used to modify all subsequent calculations of the property in question,
as below:
Calibrated value = Kc * (Predicted value)

Tutorials
873
PIPESIM User Guide

9.1.7 Task 4: Calibrate PVT data


Do the following:
1. Access the fluid editor either from the Completions tab of the Well editor or from the Fluid
Manager on the Home tab.
2. Select the Viscosity tab and change the undersaturated oil viscosity correlation to Bergman &
Sutton. Select User 2 Point for the dead oil viscosity correlation and enter the measured dead
oil viscosity data as below. Finally, select Brinkman as the Emulsion viscosity method.

3. Select the Calibration tab and enter the additional measured PVT data shown below. The
selected black oil correlations will be tuned to match this data.

4. Click Close. The fluid model is now calibrated.

Tutorials
874
PIPESIM User Guide

5. Re-run the P/T Profile task with the same boundary conditions and review the Profile results in
grid format. Observe the difference in results between this calibrated model and the
uncalibrated model in the previous task.

Parameter Calibrated Uncalibrated


Production Rate 8,171 stb/d 8,840 stb/d
Flowing BHP 2,579 psia 2,495 psia
Flowing WHT 134 deg F 138 deg F
AOFP 21,311 stb/d 21,311 stb/d
Depth where gas appears Between 6848 and 6965 ft Between 7,082 and 7,199 ft

9.1.8 Multiphase flow correlation calibration


PIPESIM simulation results can be further improved by calibrating the multiphase flow correlations
(horizontal and vertical) with measured flowing pressure, temperature and liquid holdup data, for
instance from a flowing gradient survey. A flowing gradient survey is a measurement of the flowing
pressure and temperature distribution with depth for a tubing (as depicted in the figure below), or
with length for a flowline, while producing/injecting at a constant, stabilized rate. Flowing gradient
surveys for wells are done using wireline tools such as production logging tools. Other
measurements such as the flowrate, wellhead pressure and phase ratios such as water cut and
GOR are also recorded during the survey. The result of these measurements for a well, is a plot of
flowing fluid pressure and temperature versus vertical depth.

PIPESIM provides the functionality to calibrate the multiphase flow correlations to match these
measured flowing pressure, temperature, and liquid holdup profiles using the Data Matching task.
For the flowing pressure and liquid holdup calibration, PIPESIM performs a regression by tuning
multipliers of the friction and holdup terms of the pressure drop equation, to minimize the root
mean squared error (RMS) between the measured and predicted pressure values (the predicted
values are from the multiphase flow correlations). The flowing temperature calibration is done by
tuning the overall heat transfer coefficient (U-value) to minimize the RMS error between the

Tutorials
875
PIPESIM User Guide

measured flowing temperatures and the predicted temperatures. Refer to the Run data matching
(p.289) topic for details.

9.1.9 Inflow performance matching


PIPESIM also provides the option to calibrate the IPR equations with flowing well test data, if
available, as a means of further increasing the accuracy and predictability of the models. Ideally,
this step should be performed after calibrating the multiphase flow correlations for the Outflow
curve, with measured flowing rate and pressure data for instance from a flowing gradient survey,
as discussed previously. Nevertheless, even if the Outflow curves cannot be calibrated due to a
lack of measurements which is often the case, the IPR should still be calibrated, if well
performance data is available. Most of the PIPESIM IPR equations can be calibrated with well test
data (multipoint or isochronal); simply check the Use test data box in the Completions tab of the
Well editor and enter the data.
Even with the absence of multipoint or isochronal well test data, if only the rate, static reservoir
pressure and flowing wellhead pressure are available, they can be matched by tuning the uncertain
parameters of the IPR equation such as Skin for the Darcy equation or Production Index for the PI
equation. For the oil well in this case, a Liquid PI value of 8 STB/d psi was initially specified. It will
now be tuned to a more accurate value based on available well performance information.
The following exercise will continue with the previous model. Additional information has been
provided in the form of well test results; it was found that the well flowed 9000 stb/d of liquid at a
flowing of wellhead pressure of 300 psia. This data will be used to calibrate the IPR.

9.1.10 Task 5: Sensitize on the Well PI to match well performance


The objective of this task is to determine an accurate productivity index value based on a
production test run on the well. The production test was run for 4 hours and resulted in a stabilized
flow rate of 9000 stb/d measured at a flowing wellhead pressure of 300 psia.
Do the following:
1. Launch the P/T profile task from the Home tab.
2. Select Custom as the Calculated Variable. Choose Cpl (the completion) as the Object from
the options list.
3. Choose Liquid PI as the Variable from the options list and enter a range of 5 to 10 stb/d.psi.
4. Leave the Proportionality set to the default, Direct. Ensure the inlet and wellhead pressures
are still set to 3600 psia and 300 psia respectively.
5. Enter the well test rate of 9000 stb/d as the Liquid flowrate. The window should appear as
below, when complete.

Tutorials
876
PIPESIM User Guide

6. Click Run to launch the task. Determine the Liquid PI value that matches the well test results
and compare it to the answer in the table below.
7. Update the PI value in the Completion tab of the well with the new matched value.
8. Rerun the Nodal analysis task to determine the new AOFP of the well. Compare the results with
those from the previous exercise in the following table.

Parameter Value
Matched PI 9.375 stb/d/psi
New AOFP 24,984 stb/d
Previous AOFP 21,320 stb/d

9.1.11 Well performance analysis


After you create the well model and calibrate the inflow, outflow and fluid models to generate an
accurate representation of the current well scenario, you can simulate a variety of future or
hypothetical operating scenarios, such as declining reservoir pressure, increasing water cuts, etc.
and subsequently evaluate the most viable options for optimizing the well performance.

9.1.12 Task 6: Analyze water cut sensitivity


After an initial design has been made, it is important to evaluate how the system will respond to
changing operating conditions. For example, increasing water production is inevitable for most oil
and gas fields with a strong water-drive mechanism, and as a result, it needs to be considered in
the well design.
At some point in the producing life of the well, it is possible that the reservoir pressure will be
insufficient to lift the fluid to the surface, when the water cut reaches a specific limit because water
is denser than oil. As the water cut increases, the hydrostatic/elevational pressure gradient also
increases. Using the wellhead pressure, reservoir pressure, and matched PI from the previous
exercise, you can determine the highest possible water cut this well can produce.
You can either use the PIPESIM System Analysis or Nodal Analysis task to model this problem.
System Analysis approach
Do the following:

Tutorials
877
PIPESIM User Guide

1. If you did not do so already, update the PI value in the Completion tab of the well with the
matched value in the previous task.
2. Select System analysis from the Home tab.
3. Select Liquid flowrate as the Calculated variable and enter 300 psia as the Outlet Pressure
(the required minimum wellhead pressure).
4. For the X-Axis , select Cpl (the completion) as the object, and Water cut as the variable.
5. Use the Range button to configure water cut values of 40% to 80% in increments of 5%. The
window should appear as below.

6. Run the task to generate a plot of calculated liquid rate vs. water cut. You will notice that the
plot terminates at 70% and not the maximum water cut value of 80% that was entered in the
range. This is the hydraulic limit for this well. Beyond a water cut of approximately 70%, the well
will be unable to flow naturally and dies.
7. Rerun the System analysis task using more closely spaced water cut sensitivity values
(between 70% and 75%), to narrow in on a more exact value of the water cut limit.
NODAL Analysis approach
Do the following:
1. Launch the Nodal analysis task.
2. Under Inflow Sensitivity, select Cpl (the completion) as the object, and Water cut as the
sensitivity variable.

Tutorials
878
PIPESIM User Guide

3. Enter a range of water cuts from 40 % to 80 % in increments of 5 % (follow the same procedure
as in the previous System analysis task).
4. Run the task and identify the water cut limit for the well in the Systems plot. You will notice that
similar to the System analysis task, there are no Outflow curves for water cuts greater than
70%, confirming that this is the water cut limit for this well to flow naturally. Refer to the figure
below.

Note: You can zoom in on an area of interest in a plot by using your mouse to draw a rectangle
over it starting from the top-left to the bottom-right, as indicated in the figure below. Do the
reverse to un-zoom the plot.

Parameter Value
Critical Water Cut 71%

9.1.13 Task 7: Evaluate gas lift performance


It has been established that the well will "die" or stop flowing when the critical water cut limit of
71% is reached. It is important to evaluate various artificial lift scenarios to extend the producing
life of this well. PIPESIM supports the following artificial lift methods: Rod pumps, Gas lift, ESPs,
PCPs and Multiphase boosters, but only Gas lift will be considered for the oil well in this tutorial.
The basic principle behind gas lift injection in oil wells is to lower the density of the flowing fluid in
the tubing. This results in a reduction of the elevational/hydrostatic component of the pressure

Tutorials
879
PIPESIM User Guide

gradient and ultimately, a lower flowing bottomhole pressure. Lowering the flowing bottomhole
pressure, increases reservoir drawdown which will in turn, increase the production rate.
In this task, you will examine how the well responds to gas lift by introducing a gas lift injection
point near the bottom of the tubing, above the packer. You will use the System Analysis task to
evaluate the impact of varying gas injection rates on the liquid flow rates for various water cut
values.
Do the following:
1. Click the Artificial lift tab of the Well editor and add a Gas lift injection point at 8000 ft and
configure the remaining parameters as below.

2. Launch the System analysis task. Delete the previous water cut sensitivity values. Reconfigure
the task to calculate Liquid flowrate as a function of the permuted variables; Injection gas rate
on the X-axis, and Water cut as shown in the figure below. Enter a range from 0 to 10 mmscf/d
in 0.5 mmscf/d increments for the gas lift injection rate, and water cut values of 10%, 40% and
70%.

Tutorials
880
PIPESIM User Guide

3. Run the task.


4. View the System results tab and compare your results with the answers below. Determine the
optimum injection gas rate for the 10%, 40% and 70% water cut scenarios.

Note: *The optimum gas lift injection rate is subjective and depends on personal judgment, so
your answers may not match those below, and in practical terms, it will also depend on
constraints such as gas availability and economic factors.

You will observe that the liquid rate increases with increasing gas injection rate up to a point,
after which it plateaus.
Explain why this is.

Water Cut (%) *Optimum Gas Injection Rate (MMscf/d) Liquid Rate (stb/d)
10 4.5 11,383
40 5.5 10,577
70 6.5 10,465

Tutorials
881
PIPESIM User Guide

Note:
You can do an actual Gas lift design (p.318) on this well and run various other gas lift simulation
tasks to determine the Deepest injection point (p.310), Gas lift response (p.314) and evaluate the
performance by running Gas lift diagnostics (p.334). Refer to the Help for details.

9.1.14 Task 8: Model multiple completions


For our example, well log analysis shows that a shallow gas zone exists “uphole” from the
producing zone. As an alternative to gas lift injection, you will investigate the benefits of perforating
this gas zone and commingling its production with the lower oil zone, as a means of “self-lifting” the
well.
Do the following:
1. On the Artificial lift tab of the Well editor, delete or deactivate the Gas lift injection point.
2. On the Completions tab, add a second, shallower completion at a depth of 8000 ft MD.
3. For this upper gas zone, there is enough data available to use the Darcy Pseudo-steady state
equation. Enter the following IPR data in the Reservoir and Skin tabs.

Tutorials
882
PIPESIM User Guide

4. On the Skin tab, ensure that a value of 0 is specified for both the Mechanical and Rate
dependent skin.
5. Click the Fluid model tab for the upper zone and create a new fluid using the Dry gas template.
Leave all the default values for this template.
You will observe that the well schematic diagram has automatically been updated to reflect the
new upper zone completion that was added. However, the flow path lines have now turned red,
indicating that the well is unsolvable in its current state.
6. To resolve this problem, from the Downhole equipment tab, add a packer at 7000 ft. Then add
a sliding sleeve at 8000 ft. Make sure you check the Active box for the sliding sleeve. The
equipment you just added ensures that the flow from the upper zone is directed into the tubing
through the open sliding sleeve.
7. To analyze the effect of perforating the upper zone (compared with gas lift injection), run a P/T
Profile task to calculate the liquid flowrate with a water cut of 10 % from the lower oil
completion, as below.

Tutorials
883
PIPESIM User Guide

8. Review the System and Profile results. Determine how much gas is produced from the upper
zone (You can extract this information for this scenario (i.e. self-lifting), by clicking the Profile
results tab, selecting Show grid, and clicking Expand all to review the results for the
shallower completion). Compare your answers with the results below. How does self-lifting
compare with gas lift injection for this well?

Gas Lift Injection Self-Lifting


Water cut, % 10 10
Liquid rate, stb/d 11,383 11,279
Gas rate, MMscf/d 4.5* 3.925**
* Optimum gas injection rate for gas lift scenario (previous task)
** Gas rate from upper zone for self-lifting scenario

Note: The problem with self-lifting the well, as compared to gas lift injection is; if there is no flow
control valve, there will be no way to regulate the amount of gas from the upper zone. This
ability to regulate the flow will be critical to optimize the production rate, as conditions change in
the well.

9.1.15 Task 9: Model a downhole choke


A downhole choke is used to control the flow rate within a wellbore. Downhole choke equations
and calculations are similar to those used for surface chokes. In this task, you will use a downhole
choke to control the amount of gas allowed to flow into the tubing to lift the oil.
Do the following:
1. On the Downhole equipment tab of the Well editor, add a Choke at 7500 ft. Enter a Bean size
of 1 in, as below.

2. Launch the System analysis task and delete all the previous sensitivity values.
3. Select Liquid flowrate as the Calculated Variable.
4. Select Choke as the sensitivity object and Bean size (the orifice size) as the sensitivity variable
on the X-axis.
5. Enter a range of bean sizes from 0.5 to 3.5 inches in 0.25 inch increments and run the task.
You should get the plot below.

Tutorials
884
PIPESIM User Guide

6. Assuming that due to limited gas availability, there is a gas lift injection constraint of 3 MMScf/d
per well. What bean size would be required to achieve this rate from the upper zone?
• To answer the above question, go to the Profile results tab, change the Y-axis to Stock-
tank gas flow rate. This displays the profile of the stock tank gas rate, starting from the
bottomhole, up to the wellhead. At a total distance of 800 ft, which corresponds to the depth
of the upper gas zone (8000 ft), the gas rate increases from the dissolved gas amount to a
value which is a total of the dissolved gas and the gas that comes in through the choke from
the upper zone. See plot below.

• The actual gas rate from the upper zone is the difference in the gas rate below and above
the upper zone. You need to view the profile results as a table by clicking the View data as
table icon in the bottom-right of the Profile results plot (see the annotation in the above plot)
and calculate this difference, for all bean sizes, to determine which bean size gives an
incremental rate of approximately 3 MMScf/d. Compare your results with the answers below
and also determine what the liquid rate would be if the well is choked to this bean size.

Tutorials
885
PIPESIM User Guide

Parameter Value
Bean size for gas lift rate of 3 MMScf/d from upper zone 1 in
Stock tank gas rate below upper zone (Bean size = 1 in) 4.22 MMscf/d
Stock tank gas rate above upper zone (Bean size =1 in) 7.28 MMscf/d
Gas rate from upper zone (Bean size =1 in) [=7.28 ‒ 4.22] 3.06 MMscf/d
Stock tank liquid rate for selected bean size 9385 stb/d

9.2 Gas well performance analysis


This tutorial will cover the modeling of a gas well with a compositional fluid, rather than a “black oil”
fluid, as introduced in the Oil well tutorial.
In this tutorial, you will perform the following tasks:
• Create a compositional fluid model for a gas well (p.890)
• Calculate gas well deliverability (p.896)
• Calibrate the inflow model using multipoint test data (p.897)
• Select a tubing size (p.899)
• Model a flowline and choke (p.901)
• Predict future production rates (p.904)
• Determine a critical gas rate to prevent well loading (p.906)

9.2.1 Compositional fluid modeling


PIPESIM offers full compositional fluid modeling as a more advanced alternative to Black Oil fluid
modeling. In compositional fluid modeling, the individual components (Methane, Ethane, Water,
etc.) that comprise the fluid are specified, and the fluid phase behavior is modeled using Equations
of State. Compositional fluid modeling is generally regarded as more accurate, particularly for wet
gas, condensate and volatile oil systems. However, Black oil modeling is the more-commonly used
approach, because detailed compositional data is less frequently available to the production/
reservoir engineer.
PIPESIM allows you to choose from the following Compositional PVT flash packages.
• Multiflash: This is a third-party compositional package provided by the company, KBC.
Multiflash is available in PIPESIM in two (2) modes; Natively (using the PIPESIM interface) and
Standalone (using MFL files). It is the only PVT package in PIPESIM that enables the modeling
of solids precipitation (for example, hydrates, waxes and asphaltenes). It requires additional
license features. For more information, see Multiflash in the compositional fluid mode (native)
vs Multiflash MFL files. (p.195)
• E300: This the flash package used by Schlumberger’s ECLIPSE reservoir simulator. The E300
(Eclipse 300) Flash is a newer interface to the previous ECLIPSE two-phase flash, and includes
additional Equations of State.
• GERG : This is a two-phase flash package using the GERG-2008 Equation of State.

Tutorials
886
PIPESIM User Guide

Equations of state (EoS)


Equations of State describe the pressure, volume and temperature (PVT) behavior of pure
components and mixtures. Most thermodynamic and transport properties are derived from
Equations of State.
One of the simplest Equations of State is the ideal gas law, PV= nRT, which is roughly accurate for
gases at low pressures and high temperatures.

Note: The Black Oil model uses the ideal gas equation along with a compressibility factor (Z) to
account for non-ideal behavior.

This equation, however, becomes increasingly inaccurate at higher pressures and temperatures,
and it fails to predict condensation from a gas to a liquid. As a result, more accurate Equations of
State have been developed for gases and liquids.
The following table describes the Equations of State available in PIPESIM:

PVT Package Equations of State


Multiflash • 3-parameter Peng-Robinson (1976)
(Native) • 3-parameter Soave-Redlich-Kwong (1972)
• Multi-reference fluid corresponding states (CSMA)
• Benedict-Webb-Rubin-Starling (BWRS)
• Cubic Plus Association (CPA)
Multiflash (MFL There is an extensive list of equations of state available with this option. For
files) more information, see Availability of Multiflash models in PIPESIM using the
MFL file fluid mode option. (p.214)
E300 • 3-parameter Peng-Robinson Corrected (1978)
• 3-parameter Soave-Redlich-Kwong (1972)
GERG • GERG-2008

Viscosity
Compositional fluid models also use viscosity models based on the corresponding states theory.
Each PVT package has a different set of viscosity models as outlined below:

PVT Package Viscosity models


Multiflash (Native) • Pedersen (default)
• Lohrenz-Bray-Clark (LBC)
• PedersenTwu
• SuperTRAPP
For more information, see Multiflash Help.

Tutorials
887
PIPESIM User Guide

PVT Package Viscosity models


Multiflash (MFL There is an extensive list of equations of state available with this option. For
files) more information, see Availability of Multiflash models in PIPESIM using the
MFL file fluid mode option. (p.214)
E300 • Pedersen (default)
• Lohrenz-Bray-Clark (LBC)
• Aasberg-Petersen
GERG NIST Recommended

The Pedersen model is a predictive corresponding states model, originally developed for oil and
gas systems. It is based on accurate correlations for the viscosity and density of the reference
substance, which is methane. The model is applicable to both gas and liquid phases. The
SuperTRAPP method is a predictive, extended corresponding states model that uses propane as a
reference fluid. It can predict the viscosity of petroleum fluids and well-defined components, over
the entire phase range from dilute gas to the dense fluid. Overall, the SuperTRAPP method is the
most versatile method for viscosity predictions and its performance is generally better than the
other methods. However, PIPESIM uses the Pedersen method as the default, because it is also
widely applicable and accurate for oil and gas viscosity predictions.
The choice you make of the Equation of State has a significant impact on the viscosities, and other
fluid properties predicted by these methods. It is important to research the equations of state
before choosing one that is recommended and most accurate for the fluid you are trying to model.
For more information, see the PIPESIM and Multiflash help.

Binary interaction parameters


Binary interaction parameters (or coefficients) are adjustable factors used to alter the predictions
from a model to match experimental data. They are usually generated by fitting experimental
vapour-liquid equilibrium (VLE) or liquid-liquid equilibrium (LLE) data, to the model. Binary
interaction coefficients apply to pairs of components, although the fitting procedure can be based
on both binary and multi-component phase equilibrium information.
PIPESIM has default sets of binary interaction coefficients and these can be overridden. You can
also supply your own data as shown in the following figure.

Tutorials
888
PIPESIM User Guide

Emulsion viscosities
An emulsion is a mixture of two immiscible liquid phases. One phase (the dispersed phase) is
carried as droplets in the other (the continuous phase). In oil/water systems at low water cuts, oil is
usually the continuous phase.
As water cut increases, there comes a point where phase inversion occurs, and water becomes
the continuous phase. This is the critical water cut of phase inversion (Inversion watercut),
otherwise called the cutoff, which occurs typically between 55% and 70% water cut. The viscosity
of the mixture is usually highest, at and just below, the cutoff. Emulsion viscosities can be several
times higher than the viscosity of either phase alone.
A number of methods for predicting emulsion viscosity are available in PIPESIM using the
Viscosity tab of the Compositional fluid editor.

Tutorials
889
PIPESIM User Guide

9.2.2 Task 1: Create a compositional fluid model for a gas well


1. Launch PIPESIM and create a new, well centric workspace.
2. On the Home tab, select Compositional from the Fluid manager option list.
3. In the Component/model settings tab of the Fluid Manager, select the PVT package and
models as below.

Tutorials
890
PIPESIM User Guide

Note: If you do not have the license features required to use Multiflash, select the E300 PVT
package. However, you will be unable to do certain steps in this tutorial without the Multiflash
PVT package.

4. Add the following components to the fluid template by checking the boxes next to each of them
in the Fluid Components list. There are 9 components, and they are:
• Water
• Methane
• Ethane
• Propane
• Isobutane
• Butane
• Isopentane
• Pentane
• Hexane
5. Create a new C7+ pseudo-component by clicking New at the top of the Fluid Components
section and enter only the Name, Molecular weight, and Specific gravity. All other properties
will be automatically calculated based on the properties you specified. The specified values will
have a normal (non-italicized) text style, while the calculated values will be italicized. Click OK
when complete.

Tutorials
891
PIPESIM User Guide

6. Go to the Fluids tab and click

to create a new fluid from the components you just added to the fluid template.
7. Double-click the row of the newly-created fluid to open the Fluid editor. Enter the moles for
each component as shown in the following table. You will notice that the phase diagram
automatically updates as you enter the moles for each component.

Component Moles
Water 0
Methane 78
Ethane 8
Propane 3.5
Isobutane 1.5
Butane 1.2
Isopentane 0.8
Pentane 0.5
Hexane 0.5
C7+ 6

Tutorials
892
PIPESIM User Guide

8. In the Flash/Tune fluid section, you may enter any pressure and temperature and the fluid will
be flashed at those conditions. The phase properties and compositions resulting from the flash
will be displayed. Flash the fluid at the reservoir conditions: 4600 psia and 280 deg F. What
phases are present? What percentage of each phase is present?

Tutorials
893
PIPESIM User Guide

9. Change the number of moles of water in the fluid to 1.89. You will observe that a very small
amount of a liquid water phase appears. Change the number of moles to 1.88, and notice that
the fluid reverts to a single gas phase. The fluid is at the water dew point. It is virtually saturated
with water and cannot hold any more water in the vapor phase.

Note: Water can be carried along with the gas in the vapor phase or entrained in the gas in droplet
form. There is a maximum amount of water vapor that a gas is able to hold at any given
temperature and pressure. A gas is completely saturated when it contains the maximum amount of
water vapor for the given pressure and temperature conditions.

10.Change the number of moles of water to 1.88.


11.Close the fluid editor and return to the Fluids tab of the Fluid manager to see the GOR and
Water cut values for the fluid at standard conditions. They should match the ones below.

Tutorials
894
PIPESIM User Guide

9.2.3 Gas well deliverability


Based on the analysis for flow data obtained from a large number of gas wells, Rawlins and
Schellhardt (1936) presented a relationship between the gas flow rate and pressure drawdown that
can be expressed as the following:
Qsc = C(PR 2 – PWF 2)n
Where:
Qsc = Gas rate (MMscf/d)
PR = Average static reservoir pressure (psia)
PWF = Flowing bottomhole pressure (psia)
C = Flow coefficient (MMScf/day/psi2)
n = Non-Darcy exponent
The exponent n is intended to account for the additional pressure drop caused by high-velocity gas
flow, such as is caused by turbulence. Depending on the flowing conditions, the exponent n can
vary from 0.5 for fully turbulent flow to 1.0 for completely laminar flow.
The flow coefficient C, in the equation, is included to account for the following parameters:
• Reservoir rock properties
• Fluid properties
• Reservoir flow geometry
This equation is commonly called the deliverability or back-pressure equation. The coefficients of
the equation, n and C, are determined from well deliverability tests. Once they are determined, the
gas flow rate Qsc at any bottomhole flowing pressure PWF can be calculated, and an IPR curve can
be constructed.
Deliverability testing has been used for more than sixty years by the petroleum industry to
characterize gas wells and determine their flow potential.
There are essentially three types of deliverability tests:
• Conventional deliverability (back-pressure)
• Isochronal
• Modified isochronal
Essentially, these tests consist of flowing wells at multiple rates sequentially, and measuring the
bottomhole flowing pressures as a function of time. The stabilized flow rates and bottomhole
pressures are then plotted on a log-log plot and fit with a straight line. The exponent n is calculated
as the slope of the line. The flow coefficient C is calculated from the equation itself using the

Tutorials
895
PIPESIM User Guide

calculated n value, as well as the rate and flowing bottomhole pressure from one stabilized well
test during the flow period.

9.2.4 Task 2: Calculate gas well deliverability


In this task, you will construct a simple gas well model using the information provided, and perform
a simulation to calculate the well deliverability. The instructions that follow do not go into as much
detail as previous exercises. If you are unfamiliar with the steps for building a well model, refer to
the previous tutorial for Help. If no specification is provided for a variable, use the default PIPESIM
value.
Do the following:
1. Follow the general steps outlined in the Oil well performance analysis (p.862) tutorial to
construct a simple vertical well model with the following information. Any information not
explicitly provided should be left to its default value.

Tubing Data
Casing ID 8.681 inches
Casing wall thickness 0.472 inches
Casing bottom MD 11200 ft
Casing roughness 0.001 inches
Casing Data
Tubing ID 3.476 inches
Tubing wall thickness 0.262 inches
Tubing bottom MD 10950 ft
Tubing roughness 0.001 inches
Downhole Equipment
Packer depth 10000 ft
Heat Transfer Data
Heat transfer coefficient 2 Btu/(h.degF.ft2)
Wellhead ambient temperature 30 degF
Completion Data
Mid-perforation depth 11,000 feet
IPR model Well PI
Reservoir pressure 4600 psia
Reservoir temperature 280 degF
IPR basis Gas
Gas PI 1E-06 mmscf/d/psi2
2. On the Completions tab, click the Fluid model tab and map the compositional fluid you
created in the previous task, to the completion by selecting it from the option list.

Tutorials
896
PIPESIM User Guide

3. Save your workspace.


4. From the Home tab, select the P/T profile task. Select Gas flowrate as the Calculated
Variable and enter an Outlet Pressure of 800 psia. Leave the Default profile plot set to
Elevation vs. Pressure, and click Run.
5. Review the Profile results (grid and plot) and compare them with the answers in the following
table.

Parameter Value
Gas rate, MMScf/d 17.881
Flowing bottomhole pressure , psia 1810.8
Flowing bottomhole temperature, deg F 245.3
Flowing wellhead temperature, deg F 175.6

9.2.5 Task 3: Calibrate the inflow model using multipoint test data
In this task, you will use a different IPR model; the Backpressure equation. You will calibrate it with
multipoint well test data. The C and n parameters will be tuned to match the well test data.
Do the following:
1. Go to the Completions tab of the Well editor. Click the Reservoir subtab.
2. Change the IPR Model to Back pressure.
3. On the Reservoir tab, check the box Use test data, and set the Test Type to Multipoint.
4. Enter the test data in the following table.

Q (mmscf/d) Pwf (psia)


9.7 3,000
11.9 2,500
14.3 1,800
5. The IPR plot will be auto-generated as the test data is being entered and the C and n values
will be calculated and displayed, as below.

Tutorials
897
PIPESIM User Guide

6. Rerun the P/T profile task using the same boundary conditions from the previous task. Review
the plot and grid results and compare your answers with the answers in the following table.

Parameter Value
Gas rate, MMScf/d 14.697
Flowing bottomhole pressure, psia 1655.9
Flowing bottomhole temperature, deg F 242.6
Flowing wellhead temperature, deg F 170.4
Back Pressure Equation
Parameter C 7.98E-07 MMScf/d/psi^2n
Parameter n 1
• How do the results from the calibrated back pressure IPR equation in this task compare with
those from the previous task which used an uncalibrated Well PI model?
• Is the flow turbulent or laminar?

9.2.6 Erosion prediction


Erosion has long been recognized as a potential source of problems in oil and gas production
systems. Erosion can occur in solids-free fluids, but usually, it is caused by entrained solids
(typically sand).
Currently, the API 14 E method is the only one supported in PIPESIM 2013 and newer versions for
erosion velocity calculations. However, PIPESIM Classic versions (for example, 2012 and older)
support both the API 14 E model and the Salama model.
PIPESIM 2013 uses the API 14 E method to predict the velocity at which erosion may occur.

Tutorials
898
PIPESIM User Guide

The API 14 E model comes from the American Petroleum Institute, Recommended Practice,
number 14 E. This is a solids-free model which calculates only an erosion velocity (not an erosion
rate). The erosion velocity

is calculated with the equation:

Where

is the fluid mean density and C is an empirical constant. C has dimensions of (mass/(length*time2))
0.5. The following values of C in oilfield units are suggested in literature:

• C = 100 for continuous, non-corrosive, solids-free service


• C = 125 for intermittent, non-corrosive, solids-free service
• C = 150-200 for continuous, corrosive*, solids-free service
• C = 250 for intermittent, corrosive*, solids-free service
*for example, fluids treated with corrosion inhibitor or for corrosion-resistant material
The recommended value of C, which is also the PIPESIM default, is 100. It has been noted that
this is a conservative value.
The current practice for eliminating erosional problems in piping systems is to limit the flow velocity
to the erosion velocity calculated by this correlation.

9.2.7 Task 4: Select a tubing size


In this task, you will perform a nodal analysis to select an optimum tubing size. The available
tubing sizes are 2.441 inches, 2.992 inches, 3.476 inches, and 3.958 inches in inside diameter.
Your final decision will be based on the following criteria:
• Flow rate (The higher the better, until the erosional velocity is reached because more liquid
droplets are carried at higher velocities which increases the erosion risk)
• Erosional velocity ratio (< 1).
• Cost (Generally increases with tubing size)
Do the following:
1. Go to Home » Simulation settings » Erosion/Corrosion and confirm that the Erosion
velocity constant (C value) of 100 is entered for the API 14e erosion model.
2. Launch the Nodal analysis task from the Home tab.
3. Select Bottomhole as the nodal point, when prompted.
4. Enter 800 psia as the Outlet Pressure.
5. Under Outflow Sensitivity, enter the tubing inside diameter options (2.441”, 2.992”, 3.476” and
3.958”).

Tutorials
899
PIPESIM User Guide

6. Run the model and view the Profile results. Double-click the plot and change the X-axis
variable to Erosional Velocity Ratio. Which tubing size best meets the decision criteria?
Extract the flow rates from the System results. (Choose the smallest tubing size, unless the
increase in gas rate is significant for example, > 5%, that is free from erosion issues).
Compare your results for the selected tubing with the results in the following table.
7.

Parameter Value
Selected Tubing ID, inches 3.476
Gas rate, MMScf/d 14.7
Flowing bottomhole pressure, psia 1655.4
Flowing bottomhole temperature, deg F 242.6
Flowing wellhead temperature, deg F 170.4
Max Erosional velocity ratio 0.984775

9.2.8 Choke modeling


Wellhead chokes are used to limit production rates to stay within surface constraints, protect
surface equipment from slugging, avoid sand problems due to high drawdown, and control flow
rate to avoid water or gas coning. Placing a choke at the wellhead increases the wellhead pressure
and thus, the flowing bottomhole pressure which reduces the production rate.
Pressure drop across wellhead chokes is usually very significant, and various choke flow models
are available for critical (sonic) and sub-critical flow.
Sound waves and pressure waves are both mechanical waves. When the fluid flow velocity in a
choke reaches the traveling velocity of sound in the fluid for the in-situ condition, the flow is called
sonic flow. Under sonic flow conditions, the pressure wave downstream of the choke cannot go
upstream through the choke because the medium (fluid) is traveling in the opposite direction at the
same velocity. As a result, a pressure discontinuity exists at the choke, which means that the
downstream pressure does not affect the upstream pressure.
Because of the pressure discontinuity at the choke, any change in the downstream pressure
cannot be detected from the upstream pressure gauge. Any change in the upstream pressure
cannot be detected from the downstream pressure gauge either. This choke feature is unique and
desirable for stabilizing the well production rate and separator operating conditions.
Whether sonic flow exists at a choke depends on the downstream-to-upstream pressure ratio. If
this pressure ratio is less than a critical pressure ratio, sonic (critical) flow exists. If this pressure
ratio is greater than, or equal to, the critical pressure ratio, sub-sonic (sub-critical) flow exists.
Figure 9.2. Pressure-Flowrate Relationship Across a Choke

Tutorials
900
PIPESIM User Guide

The critical pressure ratio is approximately 0.55 for natural gas. A similar constant is used for oil
flow.
In some wells, chokes are installed in the lower section of tubing strings. This choke position
reduces wellhead pressure and enhances oil production rate as a result of gas expansion in the
tubing string. For gas wells, a downhole choke can reduce the risk of gas hydrates. A major
disadvantage of using downhole chokes is that replacing them is costly.

9.2.9 Task 5: Model a flowline and choke


In this task, you will modify the well from the previous task to include a flowline and choke. You will
then use the gas rate calculated in the previous exercise to determine the choke bean size that
results in a manifold (end of flowline) pressure of 710 psia.
Do the following:
1. Go to the Tubulars tab of the well editor and ensure that the tubing ID is set to the optimum
tubing size determined from the previous exercise (3.476 inches).

Tutorials
901
PIPESIM User Guide

2. Click the Surface equipment tab of the Well editor, and click the main Insert tab to expose the
equipment that can be added.
3. Insert a choke and a sink. Connect the choke to the wellhead using a connector and connect
the choke to the sink using a flowline, as shown in the following figure.

4. Click the choke and enter a Bean size of 1 in.

Note: You can enter any Bean size at this time. You will soon run a sensitivity to determine the
correct bean size to achieve the desired outlet pressure of 710 psia.

5. Click the flowline and configure it as shown in the following figure. Ensure you have checked
the Override global environmental data box and specified the Ambient temperature as 30
degF.

6. From the Home tab, select the P/T Profile task. Change the branch end to the Sink (Sk) to
ensure that the flowline and choke are included in the simulation.
7. Select Custom as the Calculated Variable, Ck (choke) as the Object and Bean size as the
Variable from the option lists.
8. Enter a choke bean size range of 1 to 3 inches and leave the Proportionality set to Direct.
9. Change the Outlet pressure (i.e. at the Sink) to 710 psia and enter the Gas flowrate obtained
from the previous task (14.7 MMScf/d).
The P/T profile dialog box should appear as in the figure below.

Tutorials
902
PIPESIM User Guide

10.Click Run to launch the simulation.


11.Review the Profile results to get the bean size that is required to match the specified inlet,
outlet, and flowrate conditions. Compare it with the answer below.

Parameter Value
Outlet pressure 710 psia
Choke size 1.502551 inches
12.Click the choke in the Surface equipment tab of the well editor and enter the calculated choke
bean size (from the previous step).
13.Run the P/T profile task with Outlet pressure as the Calculated Variable. Review the Profile
results and verify that the calculated sink pressure is 710 psia.
14.Review the System and Profile results (plot and grid) and determine individual pressure drops
for the reservoir, tubing, choke, and flowline and compare them with the answers below.

Parameter Value
Updated choke size = 1.503 inches
Static reservoir pressure, psia 4600
Flowing bottomhole pressure, psia 1654.6
Flowing wellhead pressure, psia 799.2
Flowing pressure immediately downstream of choke, psia 712.3
Outlet pressure, psia 710.6
Pressure losses across system
ΔP Reservoir, psia 2945.4
ΔP Tubing, psia 855.4
ΔP Choke, psia 86.9
ΔP Flowline, psia 1.70

Tutorials
903
PIPESIM User Guide

9.2.10 Task 6: Predict future production rates


In this task, you will estimate the future gas production rates based on the expected reservoir
pressure decline with time. You will do this with the System analysis task.
Do the following:
1. In the Surface equipment tab of the well editor, deactivate the Choke, Flowline, and Sink by
multi-selecting them in the schematic by dragging your mouse to draw a rectangle around the
objects, right-clicking and selecting Activate from the menu. (Alternatively, you may right on
each of them and select Deactivate). These objects should be highlighted in red to indicate
they are inactive, as shown in the following figure.

2. Launch the System Analysis task. Select Gas flowrate as the Calculated variable.
3. Set the Outlet Pressure (wellhead) to 800 psia.
4. In the X-axis column, select System Data as the sensitivity object and Inlet pressure as the
sensitivity variable. Enter the following Inlet (reservoir) pressures:
• 4,600 psia
• 4,200 psia
• 3,800 psia
• 3,400 psia
5. Run the model and compare your results with the answers below.

Reservoir Pressure (psia) Gas Rate (mmscfd)


4600 14.697
4200 12.182
3800 9.853
3400 7.732

Tutorials
904
PIPESIM User Guide

9.2.11 Liquid loading


Gas wells usually produce with liquid water and/or condensate in the form of mist droplets or a film
along the pipe walls. As the gas flow velocity in the well drops due to reservoir depletion, the
carrying capacity of the gas decreases. When the gas velocity drops below a critical level, the gas
is unable to lift the liquids and they begin to accumulate in the wellbore. This is termed liquid
loading.
Liquid loading increases the flowing bottomhole pressure, which reduces the gas production rate.
A lower gas production rate implies a lower gas velocity which will ultimately cause the well to stop
producing or die.

Turner droplet model


In gas wells operating in the annular-mist flow regime, liquids flow as individual particles (droplets)
in the gas core and as a liquid film along the tubing wall.
By analyzing a large database of producing gas wells, Turner found that a force balance performed
on a droplet could predict whether the liquids would flow upwards (drag forces) or downwards
(gravitational forces). If the gas velocity is above a critical velocity, the drag force lifts the droplet,
otherwise the droplet falls and liquid loading occurs. This is illustrated in the following figure.
Figure 9.3. Turner Droplet model

When the drag on a droplet is equal to its weight, the gas velocity is at the critical velocity.
Theoretically, at the critical velocity, the droplet would be suspended in the gas stream, moving
neither upward nor downward. Below the critical velocity, the droplet falls and liquids accumulate in
the wellbore.
In practice, the critical gas velocity is generally defined as the minimum gas velocity in the tubing
string required to move droplets upward.
The general form of Turner's equation is given by:

Tutorials
905
PIPESIM User Guide

Note: The Turner equation applies to vertical or near vertical uphill flow and assumes a continuous
gas phase with small dispersed liquid droplets entrained in it. PIPESIM will not calculate the liquid
loading in pipe sections where these conditions are not met.

Liquid loading calculations are performed in every task and are available for review in plots and
reports. PIPESIM calculates a Liquid Loading Velocity Ratio (LLVR), which is the minimum lift
velocity (terminal/critical velocity) divided by the fluid velocity. A LLVR > 1 indicates a liquid loading
risk because the fluid is flowing at a velocity lower than the minimum velocity required to lift the
liquids and prevent loading.
The Liquid Loading Gas Rate line can be displayed on the Nodal analysis system plot when the X-
axis is configured to display gas rate. For every point on the outflow curve, the value of the Liquid
Loading Velocity Ratio is calculated and the liquid loading gas rate line is plotted at the specific
rate where the liquid loading velocity ratio is equal to 1.

9.2.12 Task 7: Determine a critical gas rate to prevent well loading


In this task you will perform a Nodal Analysis to determine the critical gas rate that prevents liquid
loading and validate the result by checking the liquid loading velocity ratio along the profile.
Do the following:
1. Launch the Nodal Analysis task and delete any Sensitivities that may still be present.
2. Set the Outlet Pressure to 800 psia and run the model.
3. On the System results tab, check the box View operating envelope. The plot appears as
below.
The operating envelope shows a region bounded by the reservoir pressure, erosional velocity
ratio limit, user-specified maximum drawdown limit (this is set to 80% of the AOFP by default)
and the inversion point for stable liquid production (the inflection on the outflow curve in the
area of unstable flow). For gas wells, the liquid loading line is also annotated as an additional
boundary for the operating envelope.

Tutorials
906
PIPESIM User Guide

4. Click the View data in a table icon at the bottom right of the plot (as annotated in the figure
above), and scroll to the right to view the liquid loading data. Extract, the critical gas rate, as
below. Compare your result with the following answer.

Parameter Value
Critical gas rate (Nodal analysis plot), MMscf/d 3.62

For this well scenario, you can see that the operating flowrate (14.7 MMScf/d) is far above the
critical gas rate to avoid liquid loading (3.62 MMScf/d), so there is no liquid loading risk at these
conditions.

Tutorials
907
PIPESIM User Guide

5. Validate the critical gas rate from the nodal analysis plot by performing a P/T profile task at the
same conditions (flow rate and outlet pressure). Launch the P/T profile task.
6. Select Inlet pressure as the Calculated variable. Enter a value of 800 psia as the Outlet
pressure and the critical gas flowrate value (3.62442 MMScf/d) from the previous step as the
Gas flowrate.
7. Run the task.
8. Double-click the Profile results plot and change the X-axis variable to display the Liquid
loading velocity ratio. Verify that within the outflow section, which is where the liquid loading is
calculated (consisting of the tubing and a short section of the casing up to the mid-perforation),
the maximum liquid loading velocity ratio (LLVR) at the critical gas flow rate of 3.62442
MMScf/d, is approximately equal to 1. This means the P/T profile results are consistent with the
Nodal analysis results. Where is the LLVR highest and why?

9. To see the LLVR in the grid results on the Profile results tab, select Show grid, then click
Select columns. Filter to the variable Liquid loading velocity ratio by typing its first few letters,
as below. Check the box beside the LLVR and click Close.

Tutorials
908
PIPESIM User Guide

The grid displays as below with the updated LLVR.

Tutorials
909
PIPESIM User Guide

9.3 Subsea tieback design


The offshore frontier poses some of the greatest technical challenges facing the oil and gas
industry, particularly as we venture into deeper waters and more remote locations. Development
costs can be substantial and many new production systems must be designed to accommodate
subsea multiphase flow across long distances to be economically viable.
Managing costs over extended distances introduces a number of complex risks and reliability
becomes a key concern due to high intervention costs and potential for downtime. Characterizing
and managing these risks requires detailed multidisciplinary engineering analysis and has led to
the emergence of the field of flow assurance.
Multiphase flow simulation is required for the design of subsea tiebacks to assure that fluids will be
safely and economically transported from the bottom of the wells all the way to the downstream
processing plant.
Four flow assurance issues are covered in this module; hydrates, heat loss, erosion, and liquid
slugging.
In this tutorial, you will perform the following tasks:
• Size the subsea tieback and riser (p.911)
• Select tieback insulation thickness (p.921)
• Determine the methanol requirement (p.925)
• Screen for severe riser slugging (p.929)
• Size a slug catcher (p.933)

9.3.1 Flow assurance considerations


In this tutorial, a client with an existing operation in the Gulf of Mexico has made a new gas
condensate discovery and plans to develop it using four wells producing into a subsea manifold,
and then flowing through a subsea tieback (the pipeline on the floor of the ocean that will "tie" the
production from the new wells to the existing facility) and up a riser to an existing platform. The oil
and gas will be separated on the platform, with the oil pumped to shore and the gas compressed to
shore.

Tutorials
910
PIPESIM User Guide

9.3.2 Task 1: Size the subsea tieback and riser


In this task, you will create a compositional fluid, build a network model, and determine the
optimum diameters for the subsea tieback and the riser. The instructions that follow do not go into
as much detail as previous tutorials. If you are unfamiliar with the steps for constructing a model,
refer to the previous tutorials for Help. If no specification is provided for a variable, use the default
PIPESIM value.
Do the following:
1. Launch PIPESIM and create a new, network centric workspace. When you create a network-
centric workspace, it launches in the Network perspective, as shown below. You can easily
switch from network to well perspective and vice-versa, by selecting the perspective from the
dropdown list.

2. Using the procedures learned in the Gas well performance analysis (p.886) tutorial, create a
new, Compositional fluid with the properties listed in the following tables. Use the following
defaults:
• PVT package: Multiflash
• Equation of State: 3-parameter Peng-Robinson
• Viscosity model: Pedersen
• Salinity model: None
• Binary interaction coefficients: Oil and gas 4

Note: If you do not have the license features required to use Multiflash, select the E300 PVT
package. However, you will be unable to do certain steps in this tutorial (e.g. hydrates
precipitation) without the Multiflash PVT package.

Component Moles
Water 10
Methane 67.5
Ethane 5
Propane 2.5
Isobutane 1
Butane 1
Isopentane 1
Pentane 0.5
Hexane 0.5

Tutorials
911
PIPESIM User Guide

Component Moles
Carbon Dioxide 2.5
C7+ 8.5

Pseudocomponent Molecular Weight Specific Gravity


C7+ 115 0.683

The fluid properties at standard conditions, should be as below.

3. In the subsequent steps, you will construct a PIPESIM model to replicate the network in the
following figure.

Tutorials
912
PIPESIM User Guide

4. From the Insert tab, place a Source, Junction and Sink on the Network schematic, as displayed
above.
5. Connect the source to the junction using a flowline from the Insert tab.
6. Connect the junction to the sink using a riser, also from the Insert tab.
7. Double-click the Source and rename it as Subsea Manifold.
8. Map the compositional fluid you created, to the Subsea Manifold (Source), by selecting it from
the Fluid dropdown menu.
9. Enter the data for the Subsea Manifold as in the following figure.

10.Without closing the dialog box for the Subsea Manifold, click once on the Flowline to switch the
dialog box to the flowline editor.
11.Rename the flowline to Subsea Tieback and enter the flowline data, as in the figure below.

Tutorials
913
PIPESIM User Guide

12.Switch the Flowline Mode to Detailed so you enter more detailed heat transfer information.
13.Click the Heat transfer tab and set the U Value input option to Calculate and enter 1 layer of
insulation as in the figure below.

Note: The Ground conductivity field is read-only because we have chosen to use the global
environment data under Home » Simulation settings » Environmental by leaving the
Override global environment data box unchecked. In a later step, we will review the default
global environment setting, and change it.

14.Without closing the Flowline editor dialog box for the Subsea Tieback, click once on the Riser to
switch to the dialog box for editing it.
15.Rename the riser to Riser.
16.Change the Mode to Detailed and enter the information on the General tab, as in the figure
below.

Tutorials
914
PIPESIM User Guide

Note: The riser is vertical and produces up to a platform that is 60 ft above sea level.

17.Click the Heat transfer tab and set the U Value input option to Calculate and enter 1 layer of
insulation as in the figure below:

Tutorials
915
PIPESIM User Guide

Note: The ambient temperature and wind speed are read-only because we have chosen to use
the global environment data under Home » Simulation settings » Environmental, by leaving
the Override global environment data box, unchecked. In a later step, we will review the
default global environment setting, and change it.

18.Exit the dialog box and save your workspace.


19.Modify the global environmental settings by selecting Home » Simulation settings »
Environmental and change the ambient air temperature to 51.8º F and sea water gradient to
North Sea, as shown in the following figure. These global values will be used for the heat
transfer calculations for the flowline and riser, because we left the Override global
environmental data box unchecked in both the flowline and riser editors.

Tutorials
916
PIPESIM User Guide

20. still in the Simulation settings dialog, click the Flow correlations tab and select the
While
following flow correlations:
• Vertical flow correlation = Hagedorn & Brown (Duns & Ros map)
• Vertical flow correlation = Beggs & Brill Revised
Now, design the system based on following criteria and constraints:
• Design production rate = 14,000 STB/day (normal scenario). The system should be
designed to achieve a maximum rate of 16,000 STB/day (should the wells produce more
than expected) and should simultaneously be able to handle a turn-down scenario, when the
production is expected to drop to 8000 STB/day.
• For all production rates, the arrival pressure at the Sink must not drop below 400 psia.
• Available flowline and riser sizes are 7.981 inches (wall thickness = 0.322 inches), 10.02
inches (wall thickness = 0.365 inches) and 12 inches (wall thickness = 0.375 inches).

Tutorials
917
PIPESIM User Guide

Flowline and riser sizes must be the same for all scenarios (i.e. if 7.981" is selected for the
flowline inside diameter, the riser must also have an ID of 7.981") and the erosional velocity
limit must not be exceeded.
• Cost: The bigger the flowline and riser, the higher the cost, so the objective would be to
select the minimum diameter sizes that would satisfy the target rate and constraints
specified above.
21.Click the Subsea Manifold and select the System analysis task.
22.Select Outlet pressure as the Calculated Variable and enter any value for the Liquid
flowrate e.g. the normal rate of 14,000 stb/d.
23.For the X-axis variable, select System Data as the object, and Liquid flowrate as the variable.
Enter the range of flowrates the design is being done for: 8000, 14000 & 16000 stb/d.
24.Change the Sensitivity configuration to Change in step with Variable 1 by selecting it from the
dropdown menu. Review the topic System analysis properties (p.281) to understand the
differences between the sensitivity configuration options.
25.Configure the additional sensitivity variables for the Subsea Tieback and Riser as in the
following figure.

26.Click Run.
27.Review the System results plot. Why are there no results for some cases?
28.Determine the minimum diameter of the tieback and riser that satisfies the arrival pressure
requirement (i.e. > 400 psia) for all flowrates. Compare your result with the answer below.

Parameter Value
Minimum Tieback and Riser diameters that satisfy the minimum arrival pressure 10.02 inches
constraint of 400 psia for all flowrates
29.Double-click the Systems plot and change the Y-axis variable to display Erosional velocity
ratio maximum.

Tutorials
918
PIPESIM User Guide

30.Verify that the selected flowline ID does not exceed the erosional velocity ratio limit of 1.0 for
the expected flow rates. Compare your results with the answers in the following table.

Parameter Value
Selected Tieback and Riser ID based on 400 psia arrival pressure constraint, 10.02 inch
inch
Max. erosional velocity ratio for selected ID 0.755
Minimum arrival pressure for selected ID 963 psia
Maximum arrival pressure for selected ID 1267.3 psia

9.3.3 Hydrates
Gas hydrates are crystalline compounds with a snow-like consistency that occur when small gas
molecules come into contact with water at or below a certain temperature. The hydrate formation
temperature increases with increasing pressure, therefore the hydrate risk is greatest at higher
pressures and lower temperatures. When hydrates form inside pipelines, they can form plugs
which obstruct flow. In even worse scenarios, where the presence of a hydrate plug was
undetected, pipeline depressurization has resulted in the plug being dislodged unexpectedly,
resulting in serious injury and even fatalities. These are some of the reasons that hydrates are a
serious flow assurance concern.
Hydrate forming molecules most commonly include methane, ethane, propane, carbon dioxide,
and hydrogen sulfide.
Three hydrate crystal structures have been identified - structures I, II, and H. The properties of
structures I and II hydrates are well defined. Research into structure H hydrates is relatively new,
and their properties are less well defined.
Hydrates can very easily form downstream of a choke where fluid temperature can drop into the
hydrate formation region due to Joule-Thompson cooling effects.
The following figure, shows a typical gas hydrate curve which is very useful for subsea pipeline
design and operations. On the left side of the curve is the hydrate formation region. When
pressures and temperatures are in this region, hydrates will form from the water and gas
molecules.
Hydrate Curve

Tutorials
919
PIPESIM User Guide

Many factors impact the hydrate curve including fluid composition, water salinity and the presence
of hydrate inhibitors.

Note: Generating Hydrate curves requires the PIPESIM Multiflash Hydrate license feature. Hydrate
curves cannot be generated with the E300 or GERG Flash packages.

Hydrate mitigation strategies


Two common strategies to mitigate hydrate formation are thermal insulation and the injection of
chemical inhibitors. Both strategies can be simulated in PIPESIM. Thermal insulation carries a
higher up-front capital cost, whereas chemical inhibition carries a higher operational cost.

Thermal insulation
The heat transfer between the fluid in the pipeline and the environment surrounding the pipeline is
dependent on the temperature gradient and the thermal conductivity of the material between the
two. There are two options for modeling the heat transfer in PIPESIM:
• Input U value:
This option allows the user to define an overall heat transfer coefficient (U value). The heat
transfer rate per unit area is calculated based on the pipe outside diameter.
• alculate U value: This option computes the overall heat transfer coefficient based on the
C
following parameters:
• Pipe coatings: Thickness of each pipe coating & K (Thermal conductivity) of the material
• Pipe material conductivity
• Ambient fluid (Air or Water)
• Ambient fluid velocity (The faster fluid flows over the pipe, the greater the heat loss)
• Pipe burial depth
• Ground conductivity (for flowlines only)

Tutorials
920
PIPESIM User Guide

Chemical inhibitors
Thermodynamic inhibitors can be used to shift the hydrate line (to the left in the curve shown
previously), thereby lowering the hydrate formation temperature and increasing the hydrate-free
operating envelope. Examples of inhibitors include methanol and ethylene glycol. The effect of
thermodynamic inhibitors on hydrate precipitation can be modeled in PIPESIM.
Kinetic and anti-agglomerate inhibitors comprise a category of inhibitors known as Low Dosage
Hydrate Inhibitors (LDHIs). These inhibitors do not lower the hydrate formation temperature;
instead, they help prevent the nucleation and agglomeration of hydrates to avoid blockage
formation. The effects of these types of inhibitors cannot be modeled with PIPESIM.

9.3.4 Task 2: Select tieback insulation thickness


In this task, you will update the model with the tieback and riser ID selected in the previous
exercise and determine the insulation thickness required to maintain the system outside of the
hydrate formation envelope.
The worst case scenario in terms of a hydrate risk, is when the flow rate through the system is the
lowest, in which case, the heat loss will be the greatest. This scenario will be the turndown case of
8000 STB/day.
Do the following:
1. Double-click on the Subsea tieback and enter the inside diameter and wall thickness
determined from the previous sizing task. Repeat this step for the Riser (ID and Wall thickness
for Tieback and Riser = 10.02" and 0.365" respectively).
2. Go to Home » Simulation settings » Heat transfer and check the Hydrate subcooling box.
This will enable the calculation of the hydrate sub-cooling temperature difference, which is the
difference between the hydrate formation temperature and the flowing fluid temperature (i.e.
Thyd – Tf). If this difference is positive, then the fluid is in the hydrate formation region at that
location in the system.
3. Still under Simulation settings, click the Output variables tab and change the Report
template to Flow Assurance. This template includes the important flow assurance variables;
specifically the following hydrate variables of interest.
• Hydrate formation temperature (profile variable)
• Hydrate sub-cooling delta temperature (profile variable)
• Maximum hydrate sub-cooling temperature differential (system variable)
4. Save your workspace.
5. Click on the Subsea Manifold and run the P/T profile task with Outlet pressure set as the
Calculated variable and the Liquid flowrate set to the turndown rate of 8000 STB/day.
6. Double-click the Profile results plot and change the Y-axis variable to Hydrate sub-cooling
delta temperature The plot appears as below. With the current insulation thickness of 0.25", is
there a hydrate risk? At what point in the system does the fluid temperature drop below the
hydrate formation temperature?

Tutorials
921
PIPESIM User Guide

7. You may also check the hydrate risk from the phase envelope viewer. Click on the Subsea
manifold and on the Home tab, click on Phase envelope. The plot appears as below. Observe
how the calculated flowing P/T profile line intersects the hydrate formation line. As determined
in the previous step, the system drops into the hydrate formation region at approximately
12,672 ft, which is somewhere in the long subsea tieback, which has a total length of 31,680 ft.
Clearly, the current insulation thickness of 0.25" is insufficient to mitigate against hydrate
formation.

Determine the appropriate insulation thickness by increasing it in 0.25" increments and running the
8.
P/T profile task until the entire system is hydrate-free. Assume the same insulation thickness must
be used on both the tieback and riser.

Tutorials
922
PIPESIM User Guide

Note: There is currently no option to sensitize on coating thickness, in this case, insulation
thickness, in any of the tasks. You will have to manually change the insulation thickness in the
tieback and riser objects, and run the P/T profile task repeatedly until the objective is met.

Compare your results with the following table and plots.

Parameter Value
Required insulation thickness 1 inch

Tutorials
923
PIPESIM User Guide

Tutorials
924
PIPESIM User Guide

9.3.5 Task 3: Determine the methanol requirement


Assume the flowline and riser have been insulated, but they are under-insulated with only 0.5
inches of insulation. In this exercise, you will determine the required methanol injection rate to
ensure that hydrates do not form in the system.
Do the following:
1. Double-click on the Subsea tieback and enter an insulation thickness of 0.5 " to model the
scenario where it is under-insulated. Click on the Riser and repeat this step.
2. Insert an Injection Point from the Insert tab and place it between the Subsea Manifold and the
Subsea Tieback. Connect the Subsea Manifold to the Injector using a connector. Connect the
Subsea Tieback to the Injector on the left end and the junction J on the right end, as shown in
the following figure.

3. Click on the Fluid manager in the Home tab. Click on the Component/model settings tab and
add Methanol to the Fluid Components list by checking the box beside it.
4. Click on the Fluids tab and create a new fluid by clicking on

.
5. Double-click on the row for the new fluid, rename it to Methanol and enter 100 moles for
Methanol in the Components grid and click Close.
6. Still on the Fluid manager, click on the Fluid mapping tab and map the Methanol fluid to the
Inj (Injector) by selecting it from the dropdown list.
7. Exit the Fluid manager.
8. Double-click on the Inj (Injector). Specify a fluid injector temperature of 68°F and any value for
the liquid flowrate of Methanol (this variable will be sensitized upon later). Exit the editor.
9. Click the Subsea manifold and launch the System Analysis task.
10.Set Outlet Pressure as the Calculated Variable and specify a Liquid flowrate of 8,000
STB/d.
11.For the X-axis variable, change the sensitivity object to Inj (Injector) and the sensitivity variable
to Liquid flowrate by selecting them from the dropdown lists. Click on Range and enter a
methanol injection rate range from 0 to 500 STB/d in increments of 50 STB/d. Remove all other
sensitivity variables either by deleting their values or unchecking the Active boxes for them, as
below.

Tutorials
925
PIPESIM User Guide

12.Click Run.
13.Double-click on the System results plot and change the Y-axis variable to Maximum Hydrate
sub-cooling temperature difference. This is the maximum value of the Hydrate sub-cooling
temperature difference throughout the system for each of the cases run.
14.From the plot, determine the required Methanol injection rate to maintain the flowing fluid
temperature above the hydrate formation temperature, at every point in the system (i.e.
Maximum Hydrate sub-cooling temperature difference < 0). You may refine the range of the
methanol injection rate to more accurately determine the minimum amount required.

Tutorials
926
PIPESIM User Guide

Parameter Value
Required Methanol Injection Volume 265 STB/day

Tutorials
927
PIPESIM User Guide

9.3.6 Severe riser slugging


Severe slugging in risers can occur in a multiphase transport system consisting of a long flowline
followed by a riser. Severe slugging is a transient phenomenon that can be split into four steps, as
shown in the following figure.

Step 1: Gas velocity is insufficient to carry liquid droplets up the riser. They start to accumulate at
the base of the riser, form a slug and cause increased back-pressure on the pipeline.
Step 2: In slug production, the liquid level reaches the riser outlet, and the liquid slug begins to be
produced until gas reaches the riser base.
Step 3: In bubble penetration, gas is again supplied to the riser, so the hydrostatic pressure
decreases. As a result, the gas flow rate increases.
Step 4: This corresponds to gas blowdown. When the gas produced at the riser bottom reaches
the top, the pressure is minimal and the liquid is no longer gas-lifted. The liquid level falls and a
new cycle begins.
PIPESIM does not rigorously model severe slugging associated with risers as this is a transient
phenomenon, but it does report a dimensionless indicator of the likelihood of slugging occurring
(the Severe Slugging Indicator - Pots).

Tutorials
928
PIPESIM User Guide

Severe slugging is most prevalent in scenarios where a long flowline precedes a riser, especially
for cases in which the flowline inclination angle is negative going into the riser (as in the diagram
above).
In cases of severe slugging, a slug catcher must be sized to be able to receive a volume of liquid at
least equal to the volume of the riser. However, severe slugging can be mitigated by measures
such as topsides choking or riser base gas lift.
The Severe Slugging Indicator is the ratio between the pressure build-up rates of the gas phase
and that of the liquid phase in a flowline followed by a vertical riser:

where,
Z = Gas compressibility factor
R = Gas universal constant
T = Temperature (K)
M = Molecular weight of gas
WG = Gas mass flow rate (kg/s)
WL = Liquid mass flow rate (kg/s)
g = Acceleration due to gravity (m/s2)
LF = Flowline length (m)

= Average flowline gas holdup


Severe slugging is expected when the Severe Slugging Indicator number is equal to, or less than,
1. This model can be used to determine the onset of severe slugging, but the model cannot predict
how long the slugs will be and how fast slugs will be produced into the separator. Refer to the
topic, SLUG Slug Calculation Options (Optional) (p.722) for more details.

9.3.7 Task 4: Screen for severe riser slugging


In this task, you will screen for severe riser slugging.
Do the following:
1. Continue with the model from the previous exercise. Deactivate the methanol injector by right-
clicking on it and selecting Deactivate. Re-enter the tieback and riser insulation thickness
determined from the previous exercise that is required to prevent hydrate formation in the
system (1 ").
2. Click the Subsea Manifold and select the System analysis task from the Home tab (or the
Tasks pane, if it is exposed).
3. Set Outlet Pressure as the Calculated Variable, and leave the default Inlet pressure and
Liquid flowrate values.

Tutorials
929
PIPESIM User Guide

4. For the X-axis, select System data as the sensitivity object and Liquid flowrate as the
sensitivity variable. Enter the following flow rates: 8,000, 14,000 and 16,000 STB/d.
5. Click Run.
6. Double-click on the System results plot and change the Y-axis variable to display the variable;
Severe Slugging Indicator - Pots. This represents the minimum value of the Severe Slugging
Indicator number along the subsea tieback, at the base of the riser. Compare your answers to
the answers below.

Parameter Values
Severe Slugging Indicator 8,000 stb/d 14,000 stb/d 16,000 stb/d
1.198 1.475 1.569

9.3.8 Slug catcher sizing


PIPESIM is frequently used to estimate the capacity requirements for slug catchers. A slug catcher
is a pressure vessel with sufficient volume to buffer the downstream process system from slugs of
liquid coming from the upstream system. For offshore platforms, the design must balance the high
cost of adding a larger vessel to the platform against the potential of a large slug overwhelming the
liquids handling capacity and shutting down the entire system. There are three typical scenarios to
consider in the sizing of slug catchers for this type of system:
• Hydrodynamic slugging
• Pigging
• Ramp-up

Hydrodynamic slugging
Most multiphase production systems will experience hydrodynamic slugging. It is usually
impractical to design a pipeline system that completely avoids slugging problems. Also, because
hydrodynamic slugs grow as they progress along the pipe, long pipelines can produce very large
hydrodynamic slugs. (Severe riser slugging, which was modeled in the previous exercise, is a

Tutorials
930
PIPESIM User Guide

special case of hydrodynamic slugging involving a riser). PIPESIM calculates the mean slug length
as a function of distance traveled by using the SSB or Norris Correlations. A continuous
intermittent flow regime in the pipeline is required for slugs to form. A probabilistic model (based on
experimental data from Prudhoe Bay field data in Alaska) is applied to calculate the largest slug
out of 10, 100 and 1,000 occurrences. The 1/1000 ("one in one thousand") slug length is often
used to determine slug catcher volume requirement. The slug prediction output from PIPESIM
yields the length and frequency for the selected slug size correlation:
• Mean slug length (distribution is assumed skewed log normal)
• 1 in 1,000 slug length and frequency
• 1 in 100 slug length and frequency
• 1 in 10 slug length and frequency
The preceding probabilities represent various levels of confidence regarding the maximum slug
size. For example, a 1 in one thousand slug length of 50 meters indicates there is a 0.1%
probability of the maximum slug length exceeding 50 meters.

Pigging
In multiphase flow in horizontal and upwardly inclined pipe, the gas usually travels faster than the
liquid due to lower density and lower viscosity. This is called slippage. Multiphase flow correlations
predict the 'slip-ratio' which depends on many factors such as fluid properties, pipe diameter and
flow regime.
In steady-state flow, since the gas usually travels faster than the liquid, it will slip past the liquid. In
order for the volumetric flowrate to remain constant, the area of the pipe occupied by the gas must
shrink. This gives rise to a higher liquid volume fraction than if the gas traveled at the same
velocity, resulting in 'liquid holdup,' as illustrated in the following figure.

Figure 9.4. Slip vs. No-Slip Liquid Holdup

During a pigging operation, a solid object with a diameter, slightly less than that of the pipeline,
which is called a pig, is sent through the line to push out liquids, soft solids such as wax, and other
debris. As the pipeline is pigged, a volume of liquid builds up ahead of the pig and is expelled into
the slug catcher as the pig approaches the exit.
PIPESIM assumes that the pig travels at the mean fluid velocity. It considers the liquid holdup in
the pipeline and uses this to determine the volume of liquid that will be swept along in front of the
pig, as it moves. This calculation is reported as the sphere generated liquid volume (SGLV).

Tutorials
931
PIPESIM User Guide

Note: A new method for calculating the sphere generated liquid volume (SGLV Modified) was
introduced in PIPESIM 2015.1 and is the default method for PIPESIM 2015.1 and all newer
versions. However, the older method (SGLV Original) can still be accessed using the SLUG
(p.722) keyword. For more details, refer to the topic; Liquid by sphere (p.427).

Figure 9.5. Pigging Operation

Ramp-up
When the flow rate into a pipeline increases, the overall liquid holdup typically decreases because
the gas can more efficiently sweep out the liquid phase. When a rate increase (ramp-up) occurs,
the liquid volume in the pipeline is accelerated resulting in a surge.
A ramp-up operation is illustrated in the following figure. PIPESIM predicts the liquid surge rate
using Cunliffe’s Method. For more information, see Cunliffe's method for ramp up surge (p.426).

Tutorials
932
PIPESIM User Guide

Figure 9.6. Ramp-up Operation

For more detailed and accurate slug catcher sizing, you should also consider the drainage rates of
the primary separator and slug catcher. Additionally, you must consider the fact that hydrodynamic
slugs and pig-generated slugs typically occur over a short duration (minutes), while the surge
created by a ramp-up operation can be over a long duration (hours/days).

9.3.9 Task 5: Size a slug catcher


In this task, you will screen for severe slugging and determine the required size (volume) of the
slug catcher based on the largest volume of the following criteria, incorporating a safety factor of
20%.
You must design the slug catcher taking into account the following criteria:
• Hydrodynamic slugging: This typically generates the largest slugs of all the scenarios. The
design is based on the statistical 1/1000th population slug size, determined using the SSB or
Norris Correlations.
• Pigging volume
• Transient effects, such as the requirement to handle the liquid slug generated when the
production flow is ramped up from 8,000 to 16,000 STB/D, such as a ramp-up surge

Note: The slug-catcher will be sized to address the above scenarios only, and not severe riser
slugging. We will assume that the severe riser slugging scenario can be mitigated with topsides
choking or riser-based gas lift.

Do the following:

Tutorials
933
PIPESIM User Guide

1. From the Home tab, go to Simulation settings > Output variables. The Flow Assurance
report template is selected. Click on the Clone button to make a copy, so you can customize it.
Type in any name you want for the cloned report.
2. Click the Profile tab to see all the selected profile variables. To see the complete list of profile
variables, click the Selected tab to deactivate the selection. Add the following profile variables
of interest that are not included in the Flow Assurance template by default, by checking the box
next to each of them (Enter the first few letters of each variable in the Type to filter box, to filter
the list):
• Sphere-generated liquid volume from section (profile variable)
• Total sphere-generated liquid volume so far (profile variable)
• Cumulative liquid holdup (profile and system variables)
3. Click the System tab and add the system variables below, if missing.
• Sphere generated liquid volume (system variable)
• 1 in 1000 slug volume (profile and system variables)
4. Exit the dialog box and save your workspace.
5. Launch the P/T profile task and set it up with Outlet pressure as the Calculated variable.
Leave the default values for the boundary conditions. Under Sensitivity Data, select System
Data as the sensitivity object and Liquid flowrate as the sensitivity variable and enter the three
liquid flowrates that have been used in the previous exercises ( 8,000, 14,000 and 16,000
stb/d).
6. Click Run.
7. On the Profile results tab, select Show grid, then click Select Columns and add the following
three variables to the grid.
• Total/Cumulative liquid-holdup
• 1 in 1000 slug volume
• Total sphere-generated liquid volume so far
8. Click Close to exit the Select columns dialog and scroll to the end of the Profile results grid to
see these variables. Change the units for all 3 variables to bbl.
9. For each sensitivity rate, extract the maximum 1/1000 Slug Volume and the Total SGLV so far
(Sphere Generated Liquid Volume) at the system outlet and record them. Compare them with
the answers below.

8,000 stb/d

Tutorials
934
PIPESIM User Guide

14,000 stb/d

16,000 stb/d

10.Assuming the design is based on a ramp-up volume from 8,000 to 16,000 stb/d, the ramp-up
volume would be the difference in total liquid holdup in the system between the 8,000 stb/d and
16,000 stb/d cases. Extract the total liquid holdup at 16,000 stb/d and at 8,000 stb/d and
subtract the 2 values. Compare your answer with the one below.

Tutorials
935
PIPESIM User Guide

Note: The surge associated with ramp-up occurs over a much longer time period than the other
cases. When sizing a slug catcher for a ramp-up scenario, consideration should be given to the
volume that will be discharged from the vessel during the ramp-up. For more information on how to
calculate the ramp-up duration, see Cunliffe's method for ramp up surge (p.426).

11.Determine the highest volume of the 3 scenarios and apply a safety factor of 20% to get the
design volume for the slug catcher. Compare it with the answers below.

Parameter Values
Slug Catcher Sizing 8,000 stb/d 14,000 stb/d 16,000 stb/d
1/1000 slug volume (bbl) 164.93 185.48 226.61
Sphere generated liquid volume (bbl) 375.16 378.47 379.6
Total liquid holdup (bbl) 875.14 765.08 728.16
Ramp-up volume (bbl) 875.14 – 728.16 = 146.98 bbl
Design volume for slug catcher (bbl) 379.6 * 1.2 = 454.99 bbl

9.4 Looped gas gathering network


In this tutorial, you will learn how to build a gathering network and perform a network simulation to
evaluate the deliverability of the complete production system. It is necessary to model the network
as a complete system to account for the interaction of wells producing into a common gathering
system. The wellhead pressure, and by extension the deliverability of any particular well is
influenced by the backpressure imposed by the production system. Modeling the network as a
whole, allows the engineer to determine the effects of such changes as adding new wells, adding
compression, looping flowlines and changing the separator pressure.
In this tutorial, you will perform the following tasks:
• Model a pipeline network (p.937)
• Screen the network for erosion Issues (p.947)

9.4.1 Model a gathering network


Boundary conditions
To solve the network model, you must enter the correct number of boundary conditions. Boundary
nodes are those that have only one connecting branch, such as a production well, injection well,
source or sink.
The number of boundary conditions required for a model is determined by the model's Degrees of
Freedom, determined as follows:
• Degrees of Freedom = number of wells (production and injection) + number of sources +
number of sinks
For example, a 3 production well system producing fluid to a single delivery point has 4 degrees of
freedom (3+1), regardless of the network configuration between the well and the sink.

Tutorials
936
PIPESIM User Guide

Each boundary can be specified in terms of Pressure OR Flow rate OR Pressure/Flow rate (PQ)
curve.
Additionally, the following conditions must be satisfied:
• The number of pressure, flow rate or PQ specifications must equal the degrees of freedom of
the model.
• At least 1 pressure must be specified.
• At each source (production well & source) the fluid temperature must be set.
PIPESIM validates that the correct number and type of boundary conditions are set before the
simulation run can be initiated.
Solution criteria
A network has converged when the pressure balance and mass balance at each node are within
the specified tolerance. The calculated pressure at each branch entering and leaving a node is
averaged, and the tolerance of each pressure is calculated from the equation:

If all Ptol values are within the specified network tolerance, that node has passed the pressure
convergence test. This is repeated for each node.
A mass balance is also performed where the total mass flow rate into, and out of each node, is
averaged and used to compute the tolerance from the following equation:

If the Mtol value is within the specified network tolerance, that node has passed the mass
convergence test. This is repeated for each node
The network has converged when all of the foregoing conditions are satisfied.

9.4.2 Task 1: Model a pipeline network


In this tutorial, your goal is to establish the deliverability of a production network. The network
consists of three gas wells producing into a looped gathering system, which delivers the
commingled streams to a single delivery point. The instructions that follow do not go into as much
detail as previous tutorials. If you are unfamiliar with the steps for constructing a model, refer to the
previous tutorials for Help. If no specification is provided, use the default PIPESIM value.
Do the following:
1. Launch PIPESIM and create a new, network centric workspace.
2. From the Insert tab, add the following equipment:
• 3 wells (Use the Simple Vertical template for all wells).
• 4 junctions

Tutorials
937
PIPESIM User Guide

• 1 3-phase separator
• 1 compressor
• 1 heat exchange
• 3 sinks
3. Rename and arrange them exactly as indicated below.

4. Connect the inserted objects using flowlines and connectors such that the network diagram
exactly matches the figure below. (Rename all the flowlines exactly as indicated below).

Note: A connector is a line used to represent two physically-separated objects that are
connected, but have zero length between them (for example, a connector can be used to
connect a wellhead and a choke).

5. Create 2 new compositional fluids for the 3 wells based on the compositions below. Set the
PVT package to Multiflash and select the 3-parameter Peng-Robinson option as the Equation
of State. Leave all other model settings to their default values, but name the fluids as indicated
below.

Note: There are 11 components.

Component Moles

Tutorials
938
PIPESIM User Guide

Fluid_A (Well_1 & Well_2) Fluid_B (Well 3)


Water 10 6
Methane 67.5 71
Ethane 5 6
Propane 2.5 3
Isobutane 1 1
Butane 1 1
Isopentane 1 1
Pentane 0.5 0.5
Hexane 0.5 0.5
Carbon Dioxide 2.5 4
C7+ 8.5 6
Name Molecular Weight Specific Gravity
C7+ 115 0.683
6. After creating the 2 fluids, map Well_1 and Well_2 to Fluid_A and Well_3 to Fluid_B in the
Fluid manager, as below.

7. Save your workspace.


8. In a previous step, you created all 3 wells using the Simple Vertical template. You will now edit
the default template values for each well and change them to the values specified below.

Properties Unit Well_1 Well_2 Well_3


Well type - Vertical Vertical Vertical
Casing Data
Casing (Bottom MD) ft 4700 4600 4800
Casing ID inch 6.765 6.765 6.765
Casing wall thickness inch 0.43 0.43 0.43
Tubing Data
Tubing (Bottom MD) ft 4450 4350 4550
Tubing ID inch 2.441 2.441 2.441
Tubing wall thickness inch 0.217 0.217 0.217
Roughness (casing/tubing) inch 0.001 0.001 0.001

Tutorials
939
PIPESIM User Guide

Properties Unit Well_1 Well_2 Well_3


Packer depth (MD) ft 4200 4100 4300
Wellhead ambient temperature deg F 60 60 60
Heat transfer coefficient BTU/(h.degF.ft2) 2 2 2
Completion Data
Fluid entry - Single point Single point Single point
Completion depth (MD) ft 4500 4400 4600
IPR model Well PI Well PI Well PI
Reservoir pressure psia 2900 2900 3100
Reservoir temperature deg F 130 130 140
Gas PI mmscf/d/psi2 0.0004 0.0004 0.0005

The three (3) wells display as below.


Well_1

Well_1

Tutorials
940
PIPESIM User Guide

Well_2

Well_2

Tutorials
941
PIPESIM User Guide

Well_3

Well_3

Tutorials
942
PIPESIM User Guide

9. Click the Flowline manager on the Home tab and specify the flowline details as below.
(Double-click the Name column to sort in alphabetical order to make it easier to enter the data).

Note: To populate/fill the same value down a column (for example, the constant roughness
value of 0.0018 inches below), type the value into the top row you want to fill down from, and
press F3.

10.Exit the Flowline manager.


You will notice that all the flowlines are now valid (i.e. they are no longer red).
11.Double-click the Separator (3PS) and select Gas as the Production stream. Leave the default
value of 100% for both the Gas/Oil and Water/Oil efficiencies.
12.Without exiting the separator dialog box, click the Compressor and enter a Pressure
differential of 400 psia and an Efficiency of 70%.
13.Without exiting the Compressor dialog box, select the Heat Exchanger and enter a Pressure
differential of 15 psia and Discharge temperature of 120 degF. Exit the dialog box and save
the workspace.
14.Go to Home » Simulation settings » Flow correlations and choose Beggs & Brill as the
global vertical and horizontal multiphase flow correlations.

Tutorials
943
PIPESIM User Guide

15.From the Home tab, launch the Network Simulation task.


16.Configure the boundary conditions for the simulation task, as shown below.

Note: The Run button is active only if the required number of P, Q specifications have been
supplied and there are no validation issues.

17.Click Run to launch the simulation.


18.View the Profile results.

19.Plot the profile results for the flow path from Well_3 to the Gas_Sales sink as annotated below,
by selecting the highlighted branches. Observe the 400 psia pressure boost provided by the
Compressor.

Tutorials
944
PIPESIM User Guide

20.Review the Node/Branch results and determine the network deliverability. Compare your
results with the answers below.

Tutorials
945
PIPESIM User Guide

Parameter Value
Gas flowrate to Gas Sales (MMscf/d) 49.57
Oil flowrate going to Oil Storage (STB/d) 7298.19
Water flowrate to treatment (STB/d) 748.90
21.Determine the drop in Gas production in the event of a compressor shutdown. This scenario
assumes that there is a bypass line around the compressor that allows gas production to be
maintained if the compressor goes down. Simulate this scenario by right-clicking on the
Compressor and selecting Deactivate.
22.Rerun the Network Simulation task and compare your results with the answer below.

Parameter Value
Gas sales without compressor (MMscf/d) 45.11

Tutorials
946
PIPESIM User Guide

9.4.3 Task 2: Screen the network for erosion issues


In this task, you will screen the network for branches that exceed the erosion velocity limit.
Do the following:
1. Re-activate the compressor by right clicking it and selecting Activate.
2. Go to Home > Simulation settings > Erosion/Corrosion and confirm that the API 14e erosion
model is selected and the default Erosional velocity constant (C value) of 100 is being used.
3. Run the Network Simulation task.
4. Go to the Profile results tab, select Show plot and change the Y-axis variable to display
Erosion velocity ratio. The erosional velocity ratio (EVR) is calculated as below.

If EVR > 1, there is an erosion risk.


5. Display the EVR plot for all branches.
You should get a plot similar to the one displayed below.

6. Identify the branches where the EVR exceeds one and compare them to the answers below.

Branches where EVR > 1 Well_1, Well_2 & Well_3 and connected flowlines WFL-1, WFL-2 &
WFL-3 respectively

Why do these specific branches have the highest EVR? (These are the well branches. They
have the highest flowing pressures and temperatures, hence highest fluid velocities).
7. Determine possible solutions to get rid of the erosion issues and implement them in the
network.

Tutorials
947
PIPESIM User Guide

9.5 Manual creation of a simple network model on the GIS


map
This tutorial covers the GIS capability that was introduced in PIPESIM 2013.1 that allows the user
to build a pipeline network model overlain on a GIS map. This feature allows you to build a model
more closely representing real world conditions, because the exact pipeline terrain profiles,
following the real route on the earth can be automatically collected by PIPESIM. The captured
elevation data are then used by PIPESIM for the pressure drop calculations.
In this tutorial, you will build the network model on a GIS map. The instructions that follow do not
go into as much detail as earlier tutorials. If something isn't clear, go back to previous tutorials for a
more complete explanation. If no specification is provided for a variable, use PIPESIM's default
value.

9.5.1 Task 1: Build the network model on a map


There are multiple ways to create a network on the map in PIPESIM. One way is to build the
network on the logical network canvas (as you learned in the previous tutorial). After building the
network in the logical view, you may then superimpose it on a GIS map, by launching the GIS map
and selecting the area to place it on. You would then need to reposition the equipment and pipeline
routes to replicate the actual layout. A second option is to build the network model directly on the
GIS map. This tutorial will focus on this option. A third and more advanced option, is to import a
shape file to automatically create the network. This is a feature that was introduced in PIPESIM
2014.1. For more details on this option, refer to the topic: Create a network model from a GIS
shapefile automatically. (p.50)
Do the following:
1. Create a new, network centric workspace.
2. From the Home tab, click the GIS map icon to launch the GIS map. A GIS map provided by
ESRI should automatically display, as long as you have internet access and there are no
firewalls preventing access to the ESRI site. The default map is the ESRI World Satellite map
and is one of several ESRI maps built into PIPESIM. You have the option to set up connections
to other ESRI maps or to other map services such as Bing and even corporate GIS map
services. For details, refer to the topics: Choose a basemap (p.377), Use map services (p.386),
and Add bing basemaps. (p.378)
3. With the GIS map open, click the Format tab to display the expanded functionality available for
GIS networks.

Note: There are several ways to zoom into a particular location on the map to build the
network. You may manually zoom into an area, you may import a shape file, or you may open a
map cache of a limited map area. After zooming in on the area of interest, you may save it to
the workspace as a Bookmark so you can re-use it. Bookmarks are workspace-specific and can
be repeatedly used in the workspace they are saved in (not across workspaces). PIPESIM also
has a few built-in bookmarks.

4. Locate the Bookmarks list on the Format tab and select Northridge from the dropdown
options. The map should zoom into the Northridge area and should appear as below.

Tutorials
948
PIPESIM User Guide

Note: To pan the map (i.e. move left/right and up/down), hold the Ctrl key down, then select the
left mouse button and move left/right and up/down.

5. Go to the Insert tab and insert a Well anywhere on the map. Select the Simple vertical template
for it, when prompted.
6. You will now position the well at an exact geographic location. Go to the Format Tab and click
the Equipment Locations icon. Enter the Lat-Long coordinates for the well as shown below:

7. Use the Zoom area feature on the Format tab to zoom in on an areal extent around the Well
resembling the one depicted in the figure below.

Tutorials
949
PIPESIM User Guide

8. Using the screenshot below as a guide, insert the following additional objects in the locations
depicted below, as closely as possible (the exact locations are unimportant).
• A second well in the south-east (use the Simple Vertical template)
• A choke near the first well
• One junction
• One sink

Tutorials
950
PIPESIM User Guide

9. From the Insert tab, click on the Flowline icon and draw the first flowline to connect the Choke
to the Junction, following the path depicted below as closely as possible (Trace the path of the
existing flowline in the GIS map view, which appears as a thin white line).

10.Draw the second flowline to connect the Junction to Well-1, following the path depicted below
as closely as possible (Again, trace the path of the thin white line indicated below, which
represents an existing flowline on the GIS map).

Tutorials
951
PIPESIM User Guide

11.Draw the third and final flowline to connect the Junction to the Sink, following the path depicted
below as closely as possible (Again, trace the path of the thin white line indicated below, which
represents an existing flowline on the GIS map).

Tutorials
952
PIPESIM User Guide

12.From the Insert tab, click on the Connector icon and draw a connector from the 1st well to the
outlet of the Choke. Your map should now appear as below.

Tutorials
953
PIPESIM User Guide

13.From the Home tab, select Flowline Manager. Enter a common flowline ID of 3.026 inch, wall
thickness of 0.216 inch and pipe roughness 0.0018 inch for all flowlines in the network (To fill
down a value in a column e.g. ID of 3.026", type the value in the 1st row and press F3). Leave
the Hor. Distance column blank, as it will be populated when we use PIPESIM's GIS Elevation
Capture feature. Exit the Flowline manager.

14.From the Format tab, select the Cluster checkbox. This groups all of the items joined by
connectors into a single node representing the actual physical location of these objects. The
number in the node (circle) indicates the number of objects in the cluster. The unclustered
(original) and clustered views are displayed in the left and right screenshots below respectively.

Tutorials
954
PIPESIM User Guide

15.Capture the elevations by following these steps:


a. Check the Elevation points box in the Show/hide group of the Format tab. You will notice
that red circles have been added to the flowlines. These indicate the positions along the
flowlines, that elevations will be captured from the map.
b. To capture elevations at more locations along the flowlines, change the interval from the
default value of 300 ft to 60 ft. Do this in the Interval box of the Elevation group on the
Format tab. You will notice the red circles (elevation points) along the flowlines increase.
c. On the Format tab, in the Elevation group, you will observe that there are 2 elevation data
sources available; SRTM and ASTER. Leave the default SRTM service, selected. For more
details on the data sources, refer to the topic: ASTER and SRTM Elevation Data Sources
(p.49).

d. Click Capture elevation.


The elevation points will turn green, if the operation was successful. Additionally, the
flowlines will no longer be invalid. Your map should now appear as below.

Tutorials
955
PIPESIM User Guide

16.You may also check the GIS nodes box. This will display red square boxes at the end points of
each flowline segment corresponding to a change in direction.
17.Double-click on any flowline to view the geometry profile data. You will notice that the Populate
from GIS map box is checked because the profile data was captured from the map.

Note: The captured elevation profile for the same flowline in your workspace will not exactly
match the profile below because of differences in the way the flowline was digitized (drawn) on
the GIS map, resulting in differences in the flowline route. This applies to all flowlines in the
network.

Tutorials
956
PIPESIM User Guide

Note: If you have profile data for the flowlines from another source, you may uncheck the box
and copy-paste this data into the grid. This data is termed the "logical" profile data to
differentiate it from the GIS profile data captured from the map. You may store the profile data
from both sources and run the network simulation with either the logical or GIS profile data by
checking or unchecking the Populate from GIS map box before the run.

18.You may view the GIS map locations for the various equipment (chokes, junctions, well, etc.) by
clicking on Equipment locations in the Utilities group on the Format tab.

Tutorials
957
PIPESIM User Guide

Note: The equipment locations for the objects in your workspace will not exactly match those
above because of differences in the positioning of the equipment on the GIS map.

19.You can reposition any object on the GIS map. In the next few steps, you will reposition the
Sink, which will also reorient the flowline connected to it. On the Format tab, click on Zoom out
once, to view a slightly larger areal extent.
20.On the map, drag the sink from its current location (Point A) to the new location (Point B) as
indicated below.

21.You will notice that the flowline connected to the sink is now invalid (i.e. It is red and the dots on
it representing the elevation points, have also become red). This is clearly because you just
repositioned the sink, rendering the previously-captured elevation data, invalid. You will need to
recapture the elevation, but before you do that, go to the next step to further alter the path for
this flowline.
22.You will now alter the path for the flowline connected to the sink. To do this, from the Insert tab,
click the Add node icon and add 3 intermediate nodes to the flowline at the locations indicated
below.
23.Move the 1st 2 intermediate nodes upwards to the new positions indicated in the map below.
Also, move the Sink downwards as indicated, until the flowline trajectory resembles the one
below.

Tutorials
958
PIPESIM User Guide

24.The overall network should now appear as below.

Tutorials
959
PIPESIM User Guide

25.From the Format tab, Click Capture elevations to re-capture the elevations and save your
workspace.
26.On the Inputs pane on the left, expand the Equipment list and double-click on the Choke to
enter a bean size of 1 inch. Close the choke editor.
27.You may now exit the GIS map by closing it. You will now be in the logical network view. Re-
arrange the equipment and flowlines, if needed (This will not affect the equipment and flowline
locations in the GIS map view).

Tutorials
960
PIPESIM User Guide

28.Go to the Fluid manager on the Home tab and ensure Black oil is the selected option. Launch
the Fluid manager and click on the green plus sign

to create a new fluid. When prompted, select the Dry gas template from the dropdown list and
click OK.
29.Click on the Fluid mapping tab and map both wells to the new black oil fluid you just created
by selecting it from the dropdown list.
30.Exit the fluid manager and save your workspace.
31.Launch the Network Simulation task and specify the boundary conditions below.

32.Run the task and compare your results with the answers below (On the Node/Branch results
tab, click Expand all to extract some of the results below).

Tutorials
961
PIPESIM User Guide

Parameter Value
Gas flowrate at Sink (MMscf/d) ≈ 53.56
Gas flowrate from Well (MMscf/d) ≈ 27.84
Gas flowrate from Well-1 (MMscf/d) ≈ 25.71
Differential pressure across Choke (psia) ≈ 361.4
Outlet Pressure from the Junction (psia) ≈ 1889.4

Note: Your answers will not exactly match those in the table above due to slight differences in
the way you laid out the flowlines in the GIS map.

9.6 Automatic creation of a network model on the GIS map

PIPESIM 2014 introduced the ability to automatically create a network from a GIS shapefile. The
objective of this tutorial is to utilize this feature to build a network automatically from a GIS
shapefile. The next tutorial (Use of inline heating for wax mitigation (p.962)) will continue with the
created network and go through the steps of analyzing it to evaluate the severity of the wax issues,
and finally investigating the option of using inline heating for wax mitigation.
The network is a simple 2-well oil network in the East Texas Oil field with known wax issues.
The assumption is that you are now familiar with the basics of building a network and with the GIS
map. Consequently, the instructions that follow do not go into as much detail as previous tutorials.
If something isn't clear, go back to previous tutorials for a more complete explanation. If no
specification is provided for a variable, use PIPESIM's default value.
You will begin by importing a shapefile representing the network, into PIPESIM. PIPESIM will then
automatically create the network elements from the features in the shapefile. Refer to the topic:
GIS shapefile basics (p.384) to learn more about shapefiles. It is important to note that while
shapefiles can be imported to create networks, as will be covered in this tutorial, they can also be
added as layers to the GIS map, solely for visualization. For more details on the latter option, refer
to the topic: Use shapefiles. (p.385)
Do the following:
1. Go to your PIPESIM installation location (e.g. on the C drive) and browse to the folder: C:
\Program Files\Schlumberger\PIPESIM2015.1\Case Studies\Tutorial Examples. Extract the
zipped folder containing the shapefiles, named EastTexasOilfieldShapefiles.zip. Several files
will be extracted. The 3 mandatory files for the shapefile import are the ones with the following
extensions; .shp, .prj and .dbf. They must all be in the same location.
2. Create a new, network centric workspace.
3. On the Home tab, click GIS map to launch the GIS map canvas.
4. Go to the Insert tab and select Import network and browse to the location of the East Texas
shape files.
5. Select the file EastTexasOilfield.shp and click Open. An Import network dialog will appear as
below.

Tutorials
962
PIPESIM User Guide

Note: The Import network dialog allows you to map the attributes in the shape file (if available) to
the PIPESIM properties required for simulation. The required PIPESIM properties are the Flowline
name, Pipe inside diameter, Pipe wall thickness and Pipe roughness. The Import network dialog
also enables you to define other global environmental and flowline settings for the entire network
that will be imported. This is to facilitate network creation and speed up the process.

6. If you expand the Shapefile property dropdown list for Flowline name (as above), you will see
the attributes contained in the shape file. For this specific shapefile, they are:
• FLID – Flowline inside diameter
• FLName – Flowline name
7. Map FLName to Flowline name and FLID to Pipe inside diameter.
8. You will notice that the shapefile does not contain attributes for the Pipe wall thickness and Pipe
roughness. Enter these manually by checking the Override box for these 2 properties and type
in the values 0.237 and 0.0018 inches respectively. All flowlines will be assigned these values
when the network is created.
9. In the Global Environmental Settings section, check the Update global environmental data
box and change the Air temperature from the default value to 70° F.
10.Change the U-Value type to Coated. This will assign a U-Value of 2 Btu/hr.degF.ft2 to all
flowlines. The dialog should appear as below, when complete.

Tutorials
963
PIPESIM User Guide

For more information on how the Global Environmental and Flowline settings entered in the
Import network dialog are populated to the workspace, see Create a network model from a
shapefile automatically. (p.50)
11.Leave everything else as default and click OK to complete the import process.
12.The shapefile will be imported and the network created as below. Each "polyline" in the
shapefile represents a flowline and PIPESIM will automatically insert junctions between
separate polylines.

Note: Currently, incremental network creation is not supported i.e. you may only import a
shapefile to create a network in a new workspace. You cannot import a shapefile to overwrite
an existing network in a PIPESIM workspace. Also, you cannot extend an existing PIPESIM
network by importing a shapefile with additional features. You will get an error if you attempt
either of these scenarios in PIPESIM.

Tutorials
964
PIPESIM User Guide

13.Rename the junctions to match the names in the above map.


14.Click on Flowline3 on the map to select it. Right-click on it and select Flip flowline geometry.
This will orient its direction to go from Junction 2 to Junction 4. The arrow will be updated to
reflect this.
15.Go to Format > Basemaps and change the Base map to the ESRI National Geographic map
by selecting it from the dropdown list. Zoom out a few times. You will notice this hypothetical
network is in the East Texas Oilfield.

16.Save your workspace.


17.Go to the Flowline manager on the Home tab to review the flowline details. You will notice that
all the flowlines have been correctly populated with the mapped shapefile attributes (Name &
ID) and the specified values (Roughness, wall thickness & ambient temperature).

Tutorials
965
PIPESIM User Guide

18.Change the wall thickness of the largest flowline (6.065") to a more appropriate value of 0.28".
19.Exit the Flowline manager.
20.The decision has been taken to insulate only Flowline3 which flows the commingled production
from Junction 2 to Junction 4 (Junction 4 will be converted to a Sink in the following step).
Double-click on it, click on the Heat transfer tab and change the U Value type to Insulated, as
below.

21.Return to the GIS map. You will notice that the imported network does not contain any wells or
sinks.

Note:
• Currently, the Import network feature only supports the import of flowlines i.e. wells and
other equipment cannot be imported at this time.
• To alleviate the above limitation and aid the process of creating wells and other equipment
at specific points in the network, a junction conversion feature has been introduced. To
convert a junction, you simply right-click on the junction and select Convert to from the
menu. A list of the possible objects (well or equipment) that could be placed at that particular
junction, based on the number of flowlines connected to it, will appear. You would then need
to select the object you want to convert the junction to. It is important to note that the
junction conversion process is irreversible. Refer to the topic: Convert junctions to wells,
sources, sinks and equipment (p.184) for more details, including the rules governing the
process.

22.Convert Junction 1 (near Clarksville City) to a Well. Select None as the Well template, when
prompted.

Tutorials
966
PIPESIM User Guide

23.Build the well model using the following properties.

Properties Unit Well_1


Well type - Vertical
Casing Data
Casing (Bottom MD) ft 3700
Casing ID inch 5.92
Casing wall thickness inch 0.54
Tubing Data
Tubing (Bottom MD) ft 3600
Tubing ID inch 2.259
Tubing wall thickness inch 0.308
Roughness (casing and tubing) inch 0.001
Packer depth (MD) ft 3595
Heat Transfer and Completion Data
Wellhead ambient temperature deg F 70
Heat transfer coefficient Btu/(h.degF.ft2) 2
Fluid entry - Single point
Completion depth (MD) ft 3650
Reservoir pressure psia 1600
Reservoir temperature deg F 160
Liquid PI Stb/d/psi 5
Use Vogel below bubble point Yes
24.Leave all other tabs in the Well editor to their defaults. Exit the Well editor.
25.You will now convert Junction 3 to a second well. This second well is exactly identical to the first
well you just created, so to speed up the process, you will save the first well as a template so
you can re-use it. To do this, right-click on the 1st well, either in the Inputs pane on the left or
on the GIS map itself. From the menu that is displayed, select Save as template. The first well
has now been saved to the Well templates catalog and can be re-used. You can view it in the
Well templates catalog under Home > Catalogs. Hover the mouse over each icon and click on
the Well templates catalog icon. You will see the template you just saved.
26.Convert Junction 3 (near the Sabine river label) to a second well. When prompted, select the
new well template you just created, as below and click OK. The new well will be an exact
replica of the 1st well.

Tutorials
967
PIPESIM User Guide

27.Convert Junction 4 (near Nay St) to a Sink. Your network should now appear as below.

28.On the Format tab, in the Elevation group, you will observe that there are 2 elevation data
sources available; SRTM and ASTER. Leave the default SRTM service, selected. For more
information on the data sources, see ASTER and SRTM elevation data sources. (p.49)
29.Click Capture elevations to automatically capture the elevations for the flowlines. For more
information, see Capture elevation (p.398).
30.Go to the Validation pane at the bottom of the window. You will notice two validation errors
related to the fact that no fluids have been defined and mapped to the wells. The model is un-
runnable in this state.
31.You will now import a fluid file for a waxy crude that was created in the Multiflash standalone
PVT package. For more details on the various Multiflash PVT options, see Multiflash in the
compositional fluid mode (native) vs Multiflash MFL files (p.195) and Availability of Multiflash
models in PIPESIM using MFL file fluid mode option (p.214).
32.Go to the Home tab and select MFL file as the option in the Fluid manager. Add a new row to
the Fluids table and browse to the same PIPESIM installation directory referenced earlier (On
the C drive, it would be C:\Program Files\Schlumberger\PIPESIM2015.1\Case Studies\Tutorial
Examples).

Tutorials
968
PIPESIM User Guide

33.Select the file named Waxy.mfl and click OK to import it. You will notice in the Fluids tab that
the GOR and Water cut for this fluid are 1167 scf/stb and 0% respectively (as below).

34.Go to the Fluid mapping tab and map both wells to the same waxy fluid.
35.Return to the Fluids tab. You can view the phase envelope and models for the fluid by double-
clicking on the fluid row. It should appear as below. There should be 44 components in this
characterized fluid. Observe the n-paraffin components, which have an N-prefix. They are
required for a proper wax study.

Note: PIPESIM can handle a maximum of 50 components for a compositional simulation.

Tutorials
969
PIPESIM User Guide

Note: In addition to the above method, you have the following additional options to view the
phase envelope:
• Double-click the fluid in the Inputs pane on the left of the main window.
• Click on the well (or source if present) in the Inputs pane or on the Network schematic or
GIS map and select Phase envelope on the Home tab. This option is possible only after a
fluid has been mapped to the well (or source). With this option, after running a simulation,

Tutorials
970
PIPESIM User Guide

you can see the simulated P-T profile for the selected object superimposed on the phase
envelope.

36.From the phase envelope, the wax temperature seems to be approximately 140º F. This is a
very waxy crude and will require a comprehensive flow assurance strategy to be able to
produce it.
37.Exit the Fluid manager.
38.Go the Home tab and click on Simulation settings. Select the latest OLGA3 3-phase flow
correlations for both Vertical and Horizontal flow (If you do not have the license features for the
OLGA correlations, use the PIPESIM defaults).
39.While still on the Simulation settings, click on the Output variables tab and select the Flow
Assurance report template.
40.Exit Simulation settings. Save your workspace.
41.You may exit the GIS map if you haven't done so already.
42.Launch the Network simulation task and enter 200 psia as the sink boundary condition as
below.

43.Click Run. Review your results and compare them to the answers below.

Parameter Value
Liquid flow rate at Sink, STB/D 3767.6
Well and Well-1 Liquid flow rate, STB/D 1883.7
Well and Well-1 Flowing BHP, psi 1897.7
Well Flowing BHP, psia 1172.5
Well 1 Flowing BHP, psia 1168.8

Tutorials
971
PIPESIM User Guide

9.7 Use of inline heating for wax mitigation

The objective of this tutorial is to continue with the network model created in Tutorial 6: Automatic
Creation of a Network Model on the GIS Map (p.962) which is known to have wax issues; and
analyze it to determine the severity of the wax issues and investigate the option of using inline
heating for wax mitigation.
The pre-requisite for this tutorial is that you have the network model created in Tutorial 6 or can
access it from the tutorial case studies folder in your PIPESIM installation location (e.g. C:\Program
Files\Schlumberger\PIPESIM2015.1\Case Studies\Tutorial Examples). The assumption is that you
are now familiar with the basics of building a network and running a simulation. Consequently, the
instructions that follow do not go into as much detail as previous tutorials. If something isn't clear,
go back to previous tutorials for a more complete explanation. If no specification is provided for a
variable, use PIPESIM's default value.
You will now investigate the severity of the wax problems. You will require the Multiflash license
features to be able to model the wax precipitation and complete this tutorial.
Do the following:
1. The model should have the results from the Network Simulation task that was run in Tutorial 6.
If not, re-run the Network simulation task to generate the results.
2. Go to the Profile results and Node/Branch results tabs and review the plot and grid results
(both node and branch) for the following variables.
• Temperature and Wax Formation Temperature
• Wax sub-cooling delta temperature (i.e. Wax formation temperature - Fluid temperature). A
positive wax sub-cooling delta temperature is a problem, it indicates that the fluid can
precipitate wax at that point in the system.
• Max. wax sub-cooling delta temperature
Compare your answers with those below.

Parameter Value
Wax Formation temperature, deg F ≈ 141
Maximum Wax subcooling DT in Well Branch, deg F 69.8
Maximum Wax subcooling DT in Well 1 Branch, deg F 68.1

Tutorials
972
PIPESIM User Guide

Parameter Value
Maximum Wax subcooling DT in Sink Branch, deg F 74.0

Note: If the wax variables do not display for all the branches, go to Workspace > Options >
Advanced and change the No. of processes for Network engine to 1 and re-run the network
simulation task. This is a known issue that will be fixed.

Note: To add the Max. wax sub-cooling DT variable go to Node/Branch results, change
Display mode to Branch, click Select columns and select the variable from the list and click
Close.

3.
Identify the locations in the system where the fluid temperature first drops below the wax formation
temperature (i.e. wax subcooling DT > 0) i.e. the wax cold spots?

Note: To see the results at finer intervals in order to get a more accurate depth at which the
temperature falls below the wax formation temperature, go to Home > Simulation settings >

Tutorials
973
PIPESIM User Guide

Advanced and check the Print computation segment result box. Exit the dialog and re-run the P/T
profile task.

Parameter Value
Well & Well 1 Branches ≈ 1360 ft (inside the wellbore)

Tutorials
974
PIPESIM User Guide

You have identified that there is a severe wax problem in this network, and the problem will
start in the wellbore of both wells. You will now explore the option of installing heaters inside
both wellbores to mitigate against this problem. There is no "Active Heater" equipment in the

Tutorials
975
PIPESIM User Guide

current PIPESIM interface, but inline heating is available in the engine via keywords. To
implement this, you will insert an Engine Keyword Tool (EKT) in both wells.
4. Double-click on the 1st well to launch the well editor. From the Insert tab, drag the Engine
keywords object and drop it anywhere in the tubing. The Downhole equipment tab will now
be active.
5. Enter the depth of the wax cold spot identified earlier, but incorporate a safety margin of ≈100 ft.
The heating will be installed at approximately 1460 ft (=1360 + 100 ft) as below, providing a
margin for future conditions when the reservoir pressures and rates decline, and the wellbore
temperatures drop.
6. Type in the keywords for inline heating, as below. For more details on the Inline Heating
keywords and PIPESIM keywords in general, refer to the topics: PIPE: Pipe or Tubing cross-
section dimensions (Required) (p.784) & Keyword Index (p.677). You will begin by introducing
enough heat into the wellbore to maintain its temperature at 150° F (≈10 degrees above the
wax formation temperature). You will do this for both wells and determine if this is sufficient to
keep the entire network above the wax formation temperature. If the 150° F minimum
temperature is insufficient, then you will increase the temperature until you arrive at the right
value for wax mitigation.

7. Following the same procedure above, double-click on the 2nd well and install a heater at the
same depth 1460 ft to maintain the wellbore temperature at 150° F.
8. Save your workspace.
9. Go to Home > Simulation settings > Output variables. Ensure that the Profile tab is active.
You will see a list of the default selected profile variables in the Flow Assurance report template

Tutorials
976
PIPESIM User Guide

you are using. Clone this report template (as below) and name it Updated Flow Assurance, so
you can add some new variables to it.

10.Click on the Selected tab to deactivate it. You will now see the complete list of profile variables.
Type "inl" in the filter box to display all the available inline profile variables. Check all of them to
include them in the simulation output for reporting and plotting.

11.Exit the Simulation settings and save your workspace.


12.Re-run the Network simulation task.
13.Review the profile results and answer the following question.
• Is the minimum well temperature of 150° F in both wells sufficient to mitigate against wax
precipitation in the entire network?

Tutorials
977
PIPESIM User Guide

14.If the answer to the question above was No, sensitize on the minimum wellbore temperature to
be maintained by the heater, until you arrive at the required value. Use 10° F increments. (You
will have to go into the Engine Keywords object in the well editor and manually change the heat
duty in both wells for each sensitivity run). Compare your results with the answer below.

Tutorials
978
PIPESIM User Guide

Parameter Value
Required minimum wellbore temperature in Well & Well 1 to maintain the entire network 170
above WAT, degF
15.Change the Y-axis variable on the profile results plot to display Inline heating power used.
Review the plot to determine the amount of heat that must be supplied to achieve the minimum
wellbore temperature estimated from the previous step.

Tutorials
979
PIPESIM User Guide

Bonus:
It appears that a large amount of heat is required to deal with the highly waxy crude in this
example. What other options, in addition to heating, could be used, to reduce the heat duty
required? (Thermal insulation, Wax inhibitor injection).

Tutorials
980
PIPESIM User Guide

10
Support
Schlumberger Software Integrated Solutions (SIS) provides a variety of options for receiving
support:

10.1 SIS web support


If you have a problem that cannot be resolved using PIPESIM Help, you can send a support
request via the Software Integrated Solutions Support Web page. The Support Portal provides a
single, online location for all your support needs. Within the Support Portal you can quickly search
a vast knowledge base for the answers you need, participate with your peers in discussion forums,
and receive the latest news about SIS products and services.
All support requests are entered into the SIS Customer Care Center incident tracking system,
where they are resolved by local support staff. For those times when you need to speak with a
support specialist, contact numbers are provided for your local support center.

10.2 On-site support


Software Integrated Solutions (SIS) supplements the standard maintenance agreement by offering
extended on-site support worldwide. This enhanced level of support includes on-site assistance,
installation, troubleshooting and maintenance services of licensed SIS software. Contact the help
desk or refer to your licensing agreement for more information.

10.3 SIS Education


A large number of training courses are offered at various SIS locations, or on-site for groups or
individuals upon request. These training courses can help you increase the value you are receiving
from your SIS software products. The courses can also act as a form of preventive maintenance as
you learn to achieve smoother and more trouble-free performance with the products. See the SIS
Training Web site for more information.

Support
981
PIPESIM User Guide

Index
0-9 Ansari ....................................................................... 410
.pips workspace file .................................................. 369 API14B critical flow correlation ................................. 488
Aqueous Components — cubic EoS ........................ 628
A AQUEOUS keyword ................................................. 814
add a deviation survey ............................................... 58 Asphaltene ............................................................... 631
add a gas life injection port ......................................... 71 ASSIGN keyword ..................................................... 838
add a gas lift injection valve ....................................... 73 associate zones with completions ............................ 125
add an artificial lift ....................................................... 70 automatic creationg of a network model on the GIS map
add an esp .................................................................. 79 tutorial ..........................................................................
add a nodal point ...................................................... 275
add a rod pump .......................................................... 83
B
add bing basemaps .................................................. 378 babu and odeh reservoir data .................................... 97

add casing and tubing to a detailed wellbore Back Pressure equation


schematic ................................................................... 54 BACKPRES keyword ............................................ 748
add casing and tubing to a simple wellbore details ................................................................... 436
schematic ................................................................... 52 Beggs and Brill ......................................................... 410
add completions ......................................................... 86 Beggs and Robinson
add connections ....................................................... 193 Dead oil viscosity .................................................. 595
add downhole equipment ........................................... 61 live oil viscosity ..................................................... 597

add gas lift valves to the catalog ................................ 27 BEGIN keyword ........................................................ 716

add heat transfer data ................................................ 84 Benedict-Webb-Rubin-Starling ................................. 619

adding a progressive cavity pump .............................. 81 Bergman and Sutton


undersaturated oil viscosity .................................. 601
add items to the centrifugal compressor catalog ........ 22
Biot number .............................................................. 577
add items to the compressor catalog ................... 22, 24
Black oil
add items to the ESP catalog ..................................... 28
CALIBRATE keyword ........................................... 812
add items to the gas lift valve catalog ........................ 26
correlations ........................................................... 586
add items to the pump catalog ................................... 25 enthalpy ................................................................ 606
add items to the reciprocating compressor catalog .... 23 fluid modeling theory ............................................. 584
add sources and sinks .............................................. 136 mixing ................................................................... 607
add surface equipment using the network surface tension ..................................................... 605
diagram .................................................................... 137 TPRINT Table printing .......................................... 812
add surface equipment using the well editor ............ 126 black oil .................................................................... 195
add tubular data ......................................................... 52 BLACK OIL DATA keyword ...................................... 803
add wells .................................................................. 134 BLACKOIL keyword ................................................. 803
advanced options ....................................................... 11 branch display mode properties ............................... 284

982
PIPESIM User Guide

BRANCH keyword .................................................... 848 Omana critical flow correlation .............................. 488
Brauner and Ullman correlation ................................ 635 Pilehvari critical flow correlation ............................ 488
Brill and Minami ........................................................ 410 Poetmann-Beck critical flow correlation ................ 488
Ros critical flow correlation ................................... 488
bring objects into view .............................................. 133
Sachdeva critical flow correlation ......................... 488
Brinkman correlation ................................................ 635
subcritical flow correlations ................................... 484
Bubble point theory .................................................................... 481
correction .............................................................. 450 user-defined critical flow correlation ..................... 489
solution gas-oil ratio .............................................. 587
CHOKE keyword ...................................................... 756
build a PIPESIM model ...................................... 49, 343
choose a basemap ................................................... 377
build a PIPESIM model ...................................... 49, 343
Coating ..................................................................... 795
COAT keyword ......................................................... 795
C
Comment Statements ............................................... 685
CALIBRATE keyword ............................................... 812
COMPCRV keyword ......................................... 761, 788
Calibration
COMPLETION keyword ........................................... 734
solution gas-oil ratio .............................................. 591
Compositional
capture elevations .................................................... 398
petroleum fraction specification ............................ 823
CASE/ENDCASE keyword ....................................... 834
viscosity models for compositional fluids .............. 630
CASE keyword ......................................................... 690
Compositional
Casing fluid: AQUEOUS keyword ..................................... 814
standard sizes ....................................................... 643 fluid: LIBRARY keyword ....................................... 821
CEMULSION keyword .............................................. 815 fluid: MODEL keyword .......................................... 822
change the display options ....................................... 391 fluid specification .................................................. 817
change the main window layout ................................. 15 COMPOSITIONAL DATA keyword .......... 814, 815, 824
change the model display properties ........................ 133 compositional fluid .................................................... 195
Character Input ......................................................... 685 COMPOSITION keyword ......................................... 817
Chew and Connally Compressor
live oil viscosity ..................................................... 597 theory .................................................................... 493
Choke COMPRESSOR keyword ......................................... 763
Achong critical flow correlation ............................. 488 Conduction shape factor .......................................... 576
API 14–B subcritical flow correlation .................... 484 CONETAB keyword .................................................. 747
Ashford and Pierce critical flow correlation ........... 488
CONFIG keyword ..................................................... 800
Ashford and Pierce critical pressure ratio ............. 487
configure simulation settings .................................... 233
Ashford and Pierce subcritical flow correlation ..... 484
Baxendall critical flow correlation .......................... 488 Coning ...................................................................... 480
critical flow correlations ......................................... 488 Coning Relationship Tabulation ............................... 747
critical pressure ratio ............................................. 487 CONTAMINANTS keyword ...................................... 814
Gilbert critical flow correlation ............................... 488 Convective heat transfer .......................................... 797
Mechanistic critical flow correlation ...................... 488 Conversion factors ................................................... 662
Mechanistic subcritical flow correlation ................. 484

983
PIPESIM User Guide

Correlation De Ghetto
options .................................................................. 803 correlations ........................................................... 586
CORROSION keyword ............................................. 721 dead oil viscosity ................................................... 596
corrosion model) live oil viscosity ..................................................... 599
de Waard's equation ............................................. 423 solution gas-oil ratio .............................................. 588
undersaturated oil viscosity .................................. 600
CPA .................................................................. 615, 619
Delimiters ................................................................. 682
CPFLUID keyword .................................................... 811
design an esp ........................................................... 301
create/define a new mfl fluid ..................................... 218
de Waard .................................................................. 423
create a custom bookmark file ................................. 382
display object clusters .............................................. 394
create a custom unit system ......................................... 8
display phase envelopes for compositional
create a custom well template .................................... 33
fluid or mfl file ........................................................... 228
create a new network model on the GIS map .......... 393
distributed completions ............................................... 95
create a vfp table ...................................................... 286
distributed PI .............................................................. 99
create or edit a network model ................................. 131
Distributed Productivity Index Method ...................... 479
create or edit a well model ......................................... 50
Drainage radius ........................................................ 655
creating a custom fluid template ................................. 32
dry gas ........................................................................ 31
creating or defining a new MFL fluid ........................ 218
Duns and Ros ........................................................... 410
CSMA ....................................................................... 619
Dynamic skin ............................................................ 452
Cubic Equations of State .......................................... 624
Cunliffe's Method ...................................................... 426 E
CVFMD keyword .............................................. 764, 789 E300 Flash ............................................................... 615
edit a MFL fluid file ................................................... 223
D
edit equipment locations ........................................... 399
Darcy
Editing ...................................................................... 718
equation ................................................................ 437
Elbows ...................................................................... 656
darcy's reservoir properties ........................................ 92
Electrical Submersible Pumps — see ESP .............. 517
Data files .......................................................... 449, 685
Elsharkawy and Alikhan
Data files .......................................................... 449, 685
dead oil viscosity ................................................... 597
data matching properties .......................................... 298 live oil viscosity ..................................................... 597
DBR flash ................................................................. 615 undersaturated oil viscosity .................................. 601
dead oil ....................................................................... 31 END keyword ........................................................... 716
Dead oil viscosity ...................................................... 595 Energy equation ....................................................... 559
define black oil fluids ................................................ 196 Entity ........................................................................ 369
define compositional fluids ....................................... 205 Equations of State
define the skin .......................................................... 100 components of cubic ............................................. 624
defining black oil fluids ............................................. 196 components of non-cubic ...................................... 629
defining compositional fluids .................................... 205 Equations of State — Cubic ..................................... 615

984
PIPESIM User Guide

Equations of State — non-cubic ............................... 619 vertical multiphase ................................................ 410


EQUIPMENT keyword .............................................. 765 vertical options ...................................................... 723
EROSION keyword .................................................. 721 flow direction ...................................................................
ESP Fluid
overview ................................................................ 517 property data ......................................................... 805
selection/design .................................................... 523 property table files ................................................ 634
system components: pumps ................................. 519 specific heat capacity data .................................... 811
esp catalog parameters .............................................. 45 typical values of properties ................................... 652
viscosity models for compositional ....................... 630
ESP properties ........................................................... 79
FLUID keyword ......................................................... 800
ESP slippage factor .................................................. 242
fluids ......................................................................... 374
EXECUTE keyword .................................................. 719
FMPUMP keyword ................................................... 770
Expander
equations .............................................................. 497 Forchheimer equation .............................................. 436
EXPANDER keyword ............................................ 767 FORCHHEIMER keyword ........................................ 754
Expert mode ..................................................... 677, 857 Format ...................................................................... 128
Explicit Subcodes ..................................................... 831 FRACTURE keyword ............................................... 754
extract WMS parameters .......................................... 388 Framo
FRAMO2009 keyword .......................................... 770
F Friction and Holdup factors
FCV keyword ............................................................ 735 Moody and AGA Friction factors ........................... 418
Moody Friction factor ............................................ 419
Fetkovich .................................................................. 435
Friction pressure drop
FETKOVICH keyword .............................................. 738
Cullender and Smith ............................................. 421
filter catalog views ...........................................................
Hazen-Williams ..................................................... 422
First law of thermodynamics ..................................... 559 Panhandle A ......................................................... 422
Fittings Panhandle B ......................................................... 422
equations .............................................................. 490 Weymouth ............................................................. 422
FITTING keyword ................................................. 769
Flow .......................................................................... 730 G
Flow control valves Gas compressibility .................................................. 601
mechanistic theory ................................................ 489 Gas condensate reservoirs ...................................... 431
Flow control valves ........................................... 489, 735 Gas lift
FLOW CORRELATION DATA keyword ................... 720 injection valve ....................................................... 775
Flow correlations multiple injection ports in wells ............................. 772
horizontal multiphase ............................................ 405 GASLIFT keyword .................................................... 772
single phase .......................................................... 418 Gas phase contaminants .......................................... 814
Flow correlations gas ratio .................................................................... 375
valid horizontal combinations ................................ 728
Gas reservoirs .......................................................... 431
valid vertical combinations .................................... 724
Gas viscosity ............................................................ 604

985
PIPESIM User Guide

gas well performance analysis Inflow Performance options .................................. 748


tutorial .......................................................................... IPRs ...................................................................... 464
Gas wells .................................................................. 477 horizontal completion ................................................. 95
General Data ............................................................ 688 horizontal distributed geometry profile ....................... 88
General Purpose Subcodes ..................................... 833 Horizontal flow
GERG ....................................................................... 619 correlation abbreviations ....................................... 728
GERG binary interaction parameter ......................... 212 Horizontal flow
Glasø valid correlations ................................................... 728
correlations ........................................................... 586 Horizontal flow
dead oil viscosity ................................................... 596 correlation options ................................................ 727
solution gas-oil ratio .............................................. 589 Horizontal gas wells ................................................. 477
Glossary of symbols ................................................. 657 Horizontal Multiphase Flow Correlations .................. 405
Govier and Aziz ........................................................ 410 horizontal single point geometry profile ...................... 88
Gray .......................................................................... 410 HORWELL keyword ................................................. 748
gun system data ....................................................... 363 Hossain
dead oil viscosity ................................................... 597
H live oil viscosity ..................................................... 597
Hagedorn and Brown ............................................... 410 undersaturated oil viscosity .................................. 601
HCORR keyword ...................................................... 727 HVOGEL keyword .................................................... 754
HEADER keyword .................................................... 689 Hydrate
inhibitors ............................................................... 631
Heat Balance ............................................................ 792
model details ......................................................... 633
Heat configuration data ............................................ 800
overview ................................................................ 631
HEATER keyword .................................................... 771
Hydraulic fracture ..................................................... 754
HEAT keyword ......................................................... 792
Heat transfer I
between flowline and ground ................................ 576
Ice prediction ............................................................ 633
between well and rock .......................................... 580
IFPCRV keyword ...................................................... 744
coefficient .............................................................. 560
conductive coefficient calculations ........................ 573 IFPPSSE keyword .................................................... 739
convective coefficient calculations ........................ 574 IFPTAB keyword ...................................................... 745
IFC correlations .................................................... 563 import a bookmarks file ............................................ 382
Heat transfer import a pvt file ......................................................... 232
pipe coat thermal conductivity .............................. 797 import existing MFL fluid files ................................... 219
HEAT TRANSFER DATA keyword .......................... 792 import LAS files to the survey data catalog ................ 39
heavy oil + gas ........................................................... 31 import or export a custom unit system ......................... 8
Holdup factors .......................................................... 418 Inflow Performance Curve ........................................ 744
Home ........................................................................ 128 Inflow performance relationships (IPRs)
Horizontal completion Fetkovich's equation ............................................. 435

986
PIPESIM User Guide

Vogel's equation ................................................... 433 JUNCTION keyword ................................................. 855


Inflow Performance Relationships (IPRs)
Back Pressure equation ........................................ 436 K
Bubble point correction ......................................... 450 Kartoatmodjo and Schmidt
data file ................................................................. 449 correlations ........................................................... 586
Forchheimer equation ........................................... 436 dead oil viscosity ................................................... 596
horizontal completions .......................................... 464 live oil viscosity ..................................................... 598
Jones' equation ..................................................... 435 Oil Formation Volume Factor ................................ 593
oil/water relative permeability ............................... 480 solution gas-oil ratio .............................................. 589
Productivity Index (PI) ........................................... 432 undersaturated oil viscosity .................................. 600
Pseudo steady state/Darcy ................................... 437 KCOAT keyword ....................................................... 797
solution gas-drive reservoirs ................................. 477
Keyword abbreviations ............................................. 683
summary for vertical completions ......................... 431
Keywords .................................................................. 846
Transient IPR ........................................................ 444
KFLUID keyword ...................................................... 800
Inflow Performance Relationships (IPRs)
Multi-rate data ....................................................... 122 Khan
live oil viscosity ..................................................... 598
Inflow Performance Tabulation ................................. 745
undersaturated oil viscosity .................................. 600
Inflow Production Profiles ......................................... 468
Kouzel
INJFLUID keyword ................................................... 777
undersaturated oil viscosity .................................. 600
INJGAS keyword ...................................................... 777
Kreith ........................................................................ 566
INJPORT keyword .................................................... 775
INLET keyword ......................................................... 705 L
Input data ................................................................. 682 Laplace equation ...................................................... 578
Input files .......................................................... 682, 687 Lasater
Insert ........................................................................ 128 correlations ........................................................... 586
Inside Fluid Film Heat Transfer Coefficient .............. 563 solution gas-oil ratio .............................................. 590
Inside forced convection ................................... 499, 565 launch the results viewer .......................................... 371
IPR basis .................................................................... 99 LAYER keyword ....................................................... 750
IPRCRV keyword ..................................................... 744 layers ........................................................................ 377
IPR keyword ............................................................. 738 LBC .......................................................................... 630
IPR — see Inflow Performance Lee method .............................................................. 604
Relationships (IPRs) ................................................. 477 Leviton and Leighton correlation .............................. 639
Iteration Data ............................................................ 703 Library components — cubic EoS ............................ 624
Library components — non-cubic EoS ..................... 629
J
LIBRARY keyword .................................................... 821
JOB keyword ............................................................ 690
license information ....................................................... 1
Jones data ................................................................ 739
light oil + gas .............................................................. 31
Jones Equation ......................................................... 435
Limits ........................................................................ 642
JONES keyword ....................................................... 739

987
PIPESIM User Guide

Liquid by sphere ....................................................... 429 MPBOOSTER keyword ............................................ 780


Liquid-gas surface tension ....................................... 642 Mukherjee and Brill ................................................... 410
Liquid holdup ............................................................ 429 MULTICASE keyword ...................................... 829, 834
Liquid loading Multiflash .......................................................... 615, 619
equations .............................................................. 430 multilayer completions .............................................. 122
Liquid properties ....................................................... 635 Multiphase ................................................................ 410
Liquid viscosity Multiphase booster
and oil/water emulsions ........................................ 635 efficiencies tables ................................................. 513
correlations ........................................................... 635 Multiphase pump
data ....................................................................... 806 MPUMP keyword .................................................. 781
Live oil viscosity ........................................................ 597 Multiple case ............................................................ 836
locate a previously built schematic network Multiple injection ports .............................................. 772
on the GIS map ........................................................ 393
Multiple Value Data Sets .......................................... 685
looped gas gathering network
Multi-rate .................................................................. 122
tutorial ..........................................................................
LVIS keyword ........................................................... 806
N
NAPLOT keyword ..................................................... 825
M
NAPOINT keyword ................................................... 829
manage bookmarks .................................................. 381
navigate the GIS map ............................................... 379
manage floating panes ............................................... 16
Network .................................................................... 369
manage flowlines and risers ..................................... 373
network-centric ............................................................. 3
manage output variable report templates ................. 241
network-centric mode ................................................. 49
manage survey data catalog ...................................... 34
network keyword (top) .............................................. 242
manage the catalogs .................................................. 21
network keywords (bottom) ...................................... 242
manage the esp catalog ............................................. 28
network simulations ...................................................... 1
manage zones .......................................................... 375
NIST recommendation for pure fluid / mixture .......... 619
managing model data ............................................... 373
Nodal Analysis
Map cache ................................................................ 383
NAPLOT keyword ................................................. 825
Map services ............................................................ 383
NAPOINT keyword ............................................... 829
measure area and distance ...................................... 401
node display mode properties .................................. 284
Mechanical skin ........................................................ 451
NODE keyword ......................................................... 782
message center .......................................................... 19
Non-cubic Equations of State ................................... 629
MFL File ................................................................... 195
NOPRINT keyword ................................................... 716
Mixing (Black oil) ...................................................... 607
NOSLIP .................................................................... 410
model a pressure change ................................................
NSEPARATOR keyword .......................................... 856
model a temperature change ..........................................
Numeric data ............................................................ 684
MODEL keyword ...................................................... 822
MOODYCALC keyword ............................................ 732

988
PIPESIM User Guide

O dead oil viscosity ................................................... 597


Oil/water emulsions .................................................. 635 live oil viscosity ..................................................... 597
solution gas-oil ratio .............................................. 590
Oil/water relative permeability .................................. 480
undersaturated oil viscosity .................................. 601
Oil Formation Volume Factor (OFVF)
physical properties ................................................... 242
defined .................................................................. 592
saturated systems ................................................. 592 PI
undersaturated systems ....................................... 593 equations .............................................................. 432

Oil reservoirs ............................................................ 431 Pipe coating ...................................................... 795, 796

Oil viscosity Pipe dimensions ....................................................... 784


black oil ................................................................. 594 PIPE keyword ........................................................... 784
undersaturated ...................................................... 599 Pipeline
oil well performance analysis burial ..................................................................... 802
tutorial ................................................................... 862 standard sizes ....................................................... 648
OLGAS ..................................................................... 410 PIPESIM modes ......................................................... 49
operating points ........................................................ 271 PLOTFILEDATA keyword ........................................ 719
Operations ................................................................ 825 PLOT keyword .......................................................... 713
OPTIMIZE keyword .................................................. 838 Plotting options ......................................................... 713
OPTIONS keyword ................................................... 691 Pressure drop
Orkiszewski .............................................................. 410 effect on productivity ............................................. 464
for gas ................................................................... 422
override fluid phase ratios ........................................ 230
multiphase ............................................................ 468
override the default value in a specific row .............. 247
single phase .......................................................... 467
Principle of conservation of energy .......................... 559
P
print a map ............................................................... 402
pan and zoom in the network diagram ..................... 132
PRINT keyword ........................................................ 706
pan and zoom to your map area .............................. 379
productivity index ........................................................ 99
Parameters ............................................................... 689
Progressive cavity pump — see PCP ...................... 514
PCP .......................................................................... 514
Property calibration .................................................. 812
PCP properties ........................................................... 81
PROP keyword ......................................................... 805
Pedersen .................................................................. 630
Pseudo steady state
Peng-Robinson ......................................................... 615
data for equation ................................................... 739
PERMCRV keyword ................................................. 752 IPR ........................................................................ 437
Permeability .............................................................. 655 productivity ............................................................ 472
PERMTAB keyword .................................................. 753 PS-PLOT keyword .................................................... 836
PETROFRAC keyword ............................................. 823 Pump ........................................................................ 781
Petroleum fractions PUMPCRV keyword ......................................... 761, 788
for Cubic Equations of State ................................. 628 PUMP keyword ......................................................... 786
Petrosky and Farshad PUSH keyword ......................................................... 718
correlations ........................................................... 586

989
PIPESIM User Guide

PVT File .................................................................... 195 select a gas lift injection valve .................................... 77
select a standard unit system ....................................... 7
R SEPARATOR keyword ............................................. 791
Ramey model ........................................................... 580 SETUP keyword ....................................................... 846
RATE keyword ......................................................... 701 Shapefiles ................................................................. 383
Reciprocating compressor show the map legend ............................................... 401
overview ................................................................ 496 simple network model on the GIS map
References ............................................................... 664 tutorial ..........................................................................
REFPROP ................................................................ 619 simulation task with result record ............................. 369
register user defined equipment ........................... 69, 78 single branch keywords ............................................ 242
REINJECTOR keyword ............................................ 789 single branch simulations ............................................. 1
Relative permeability ................................................ 480 Single component system ........................................ 242
Remote action editing ............................................... 718 Single phase flow ..................................................... 730
Reservoir Single phase flow correlations .................................. 418
layer properties ..................................................... 750 Single phase gas critical pressure ratio .................... 487
simulation data ...................................................... 836
single point completions ............................................. 95
RESERVOIR keyword .............................................. 752
SINK keyword ........................................................... 853
reservoir pressure ...................................................... 99
Skin factor
reservoir temperature ................................................. 99 damaged zone ...................................................... 456
restart a model ......................................................... 261 deviation ............................................................... 455
restart option ............................................................ 261 equations .............................................................. 451
restart simulation ...................................................... 261 Frac pack .............................................................. 461
Richardson correlation ............................................. 635 gravel pack ........................................................... 456
partial penetration ................................................. 455
rock data ................................................................... 358
perforated well ...................................................... 457
RODPUMP keyword ......................................... 764, 789
sliding sleeve .............................................................. 66
Rod pump properties .................................................. 83
Slug .......................................................................... 723
Roughness ............................................................... 653
Slug calculation ........................................................ 722
run a data comparison .............................................. 289
Slug catcher ............................................................. 723
run a network simulation .......................................... 248
SLUG keyword ......................................................... 722
run a nodal analysis ................................................. 271
Soave-Redlich-Kwong .............................................. 615
run a p/t profile ......................................................... 264
Solution gas-oil ratio ................................................. 587
run a system analysis ............................................... 280
SOURCE keyword .................................................... 850
run gas lift diagnostics .............................................. 334
Sources .................................................................... 369
run simulations ......................................................... 233
SPAN modes ............................................................ 343

S SPHASE keyword .................................................... 730

save a vfp table to a file ............................................ 289 Standing


correlations ........................................................... 586

990
PIPESIM User Guide

Oil Formation Volume Factor ................................ 593 Tubing


solution gas-oil ratio .............................................. 590 standard sizes ....................................................... 643
startup options .............................................................. 1 tubing plug .................................................................. 67
Statements ............................................................... 682 Turner's equation ...................................................... 430
static reservoir pressure ............................................. 99 tutorials ..................................................................... 862
Steady State Heat Transfer ...................................... 560 Typical values ........................................................... 652
Steady-State productivity ......................................... 469
Steam ....................................................................... 582 U
Study ........................................................................ 369 Undersaturated oil viscosity ..................................... 599
subsea tieback design Units
tutorial .......................................................................... description string ................................................... 684
Suggested flow correlations ..................................... 416 UNITS keyword ..................................................... 690

Surface tension use a map cache ...................................................... 390


black oil ................................................................. 605 use map services ..................................................... 386
liquid gas ............................................................... 642 USERDLL keyword .......................................... 720, 732
water-gas .............................................................. 605 USERDLL keyword .......................................... 720, 732
survey data catalog properties ................................... 46 use shapefiles .......................................................... 385
Swap angle ............................................................... 423
Symbols glossary ..................................................... 657 V
system analysis ........................................................ 281 validation .................................................................... 19
SYSTEM DATA keyword .......................................... 756 Valve
System Profile .......................................................... 689 FITTING keyword ................................................. 769
typical values ........................................................ 655
T valves ....................................................................... 735
TABLE keyword ........................................................ 836 Vand correlations ..................................................... 635
TCOAT keyword ....................................................... 796 Vasquez and Beggs
Tees ......................................................................... 657 correlations ........................................................... 586
Oil Formation Volume Factor ................................ 593
temperature energy balance .................................... 242
solution gas-oil ratio .............................................. 591
Thermal conductivities .............................................. 653
undersaturated oil viscosity .................................. 599
Thermal conductivity ................................................ 800
VCORR keyword ...................................................... 723
thermal interpolation method .................................... 242
Vertical completion
three types of layers ................................................. 383 IPRs ...................................................................... 431
TIME ......................................................................... 840 vertical completion options ......................................... 89
TPRINT keyword .............................................. 812, 824 Vertical flow
TPRINT keyword .............................................. 812, 824 correlation abbreviations ....................................... 725
Transient IPR valid correlations ................................................... 724
equations .............................................................. 444 VCORR keyword .................................................. 723
TRANSIENT keyword ............................................... 754 Vertical flow

991
PIPESIM User Guide

multiphase flow correlations ................................. 410 WELLPI keyword ...................................................... 737


vertical geometry profile ............................................. 88 Well Productivity ....................................................... 737
vfp sensitivity properties ........................................... 287 Wells ......................................................................... 369
vfp setting properties ................................................ 287 Woelflin correlation ................................................... 635
vfp table properties ................................................... 287 Workspace ............................................................... 128
view a built-in fluid template ....................................... 31 work with the GIS map ............................................. 377
view a built-in well template ........................................ 33 WPCURVE keyword ................................................. 738
viewing or editing a custom fluid template .................. 32
view or edit a custom well template ............................ 34 Z
view profile direction ................................................. 398 zoom to a specific map coordinate or address ......... 380
view surface equipment properties ........................... 191
Viscosity
dead oil ................................................................. 595
models for compositional fluids ............................. 630
Vogel
equation ................................................................ 433
VOGEL keyword ................................................... 738
Vogel IPR ................................................................. 437
Volume ratio ............................................................. 635

W
water ........................................................................... 31
Water-gas surface tension ....................................... 605
water ratio ................................................................. 375
water ratio type ......................................................... 375
Wax
overview ................................................................ 633
WAX keyword ........................................................... 840
WCOPTION keyword ............................................... 741
Well
completion data .................................................... 741
Wellbore
heat transfer between well and rock ..................... 580
wellbore data ............................................................ 356
well-centric ................................................................... 3
well-centric mode ....................................................... 49
WELLHEAD keyword ............................................... 792
WELL PERFORMANCE MODELING keyword ........ 732

992

You might also like