Pipesim Guia
Pipesim Guia
Pipesim Guia
User Guide
Table of Contents
User Guide ........................................................................................................................................................... 1
Introduction ..................................................................................................................................................... 1
Company profile ................................................................................................................................................. 1
Getting Started ................................................................................................................................................... 1
Modules .......................................................................................................................................................... 1
PIPESIM Hot Keys ............................................................................................................................................. 3
File Hot Keys .................................................................................................................................................. 3
Simulation hot keys ........................................................................................................................................ 3
Windows Hot Keys ......................................................................................................................................... 3
Tools Hot Keys ............................................................................................................................................... 4
Editing or General Hot Keys ........................................................................................................................... 4
Main Toolbar ...................................................................................................................................................... 4
Toolbox .............................................................................................................................................................. 5
Single branch Toolbox ................................................................................................................................... 5
Network Toolbox ............................................................................................................................................ 7
Wizard Feature .................................................................................................................................................. 8
Steps .............................................................................................................................................................. 8
Find .................................................................................................................................................................... 9
Finding an object in a network model ............................................................................................................. 9
PIPESIM versions .............................................................................................................................................. 9
PIPESIM Suite (Build26) to PIPESIM Conversion ......................................................................................... 9
Building Models ............................................................................................................................................. 12
Steps in building a model ................................................................................................................................. 12
Basic overview ............................................................................................................................................. 12
Creating a new model .................................................................................................................................. 12
Adding objects to a model and connecting them ......................................................................................... 13
Adding data to an object .............................................................................................................................. 13
Minimum data ............................................................................................................................................... 13
Duplicating an object .................................................................................................................................... 13
Disconnecting objects .................................................................................................................................. 13
Saving the model ......................................................................................................................................... 14
Network Models ............................................................................................................................................... 14
Creating a network model ............................................................................................................................ 14
Network Operations ..................................................................................................................................... 14
Source .......................................................................................................................................................... 14
Sink .............................................................................................................................................................. 15
Branch .......................................................................................................................................................... 16
Network Separator ....................................................................................................................................... 16
Production Well ............................................................................................................................................ 17
Injection Well ................................................................................................................................................ 18
Well Curves .................................................................................................................................................. 19
ii
iii
iv
vi
256
256
256
256
256
vii
viii
ix
xi
xii
xiii
xiv
User Guide
Introduction
PIPESIM was originally developed by a company called Baker Jardine. Baker Jardine was formed in 1985
to provide software and consultancy services to the oil and gas industry. In April 2001, Baker Jardine was
acquired by Schlumberger.
Schlumberger has invested in the redevelopment of the world's leading Production Engineering software
to ensure that it can cope with the fast moving computer industry. PIPESIM couples a leading-edge
Graphical User Interface (GUI) with a field-proven computation engine.
Company profile
Schlumberger has wide experience in the design and optimization of oil and gas production systems
particularly in the transportation of live hydrocarbon fluids, a vital element in the production and processing
of hydrocarbons. The development of efficient gathering and transportation systems requires a combination
of detailed theoretical knowledge and practical experience of the complex behavior of multiphase
hydrocarbon mixtures.
Schlumberger is at the leading edge of software development for the oil and gas industry with the Avocet
Production Software Suite that includes PIPESIM, OFM and DECIDE!. These tools have been successfully
applied to numerous systems for the modelling and data management of new and existing oil and gas
production and distribution systems for most major oil companies.
PIPESIM is a steady-state, multiphase flow simulator used for the design and diagnostic analysis of oil and
gas production systems. PIPESIM software tools model multiphase flow from the reservoir to the wellhead.
PIPESIM also analyzes flowline and surface facility performance to generate comprehensive production
system analysis.
Schlumberger is actively involved in research and development of new of multiphase fluid flow technologies,
and has managed a diverse range of joint industry projects in this field.
Getting Started
Training courses on the use of PIPESIM can be arranged. Please contact your local Schlumberger Support
office.
New users should read the following sections in the user guide/help system:
Case Studies (p.203) (either Oil Well Design (p.216) or Condensate Pipeline (p.204)) for details on
how to build models.
Modules
PIPESIM includes the following modules:
User Guide
Well design
Well optimization
User Guide
Open Link
A collection of COM modules (and documentation) that allow the PIPESIM technology to be driven
by 3rd party applications, for example Microsoft Excel, VBA, and so on. This toolkit is provided free
of charge. Documentation is provided with this install.
Compositional
The fluid can be characterized by fully specifying the individual components. The leading edge PVT
packages from Schlumberger (SIS / E300 Flash and DBR Flash), Infochem (Multiflash), and NIST
(Refprop) are available.
OLGA-S 2000
A multiphase flow correlation (2-phase and 3-phase options) developed by Scandpower, Norway.
HYSYS.PROCESS Link
Links to Aspentech's HYSYS Process Simulator by using a HYSYS extension, at a cost. Go to the
Aspentech website for more details
CTRL+W
CTRL+B
CTRL+O
CTRL+S
Close PIPESIM
ALT+F4
CTRL+E
CTRL+Y
CTRL+G
User Guide
CTRL+W
CTRL+F4
Go to Next Window
CTRL+F6 or CTRL+TAB
CTRL+P
Access Help F1
CTRL+X
Copy
CTRL+C
Paste
CTRL+V
Delete
Del
Select All
CTRL+A
Find
CTRL+F
SHIFT
Zoom in
SHIFT+Z
Zoom out
SHIFT+X
SHIFT+F
Restore View
SHIFT+R
Main Toolbar
The main toolbar (like all toolbars in PIPESIM) is a docking toolbar. That is, it can be re-positioned on the
screen.
Toolbox
All tools can be accessed using the Tools menu.
See also Hot Keys (p.3), Main toolbar (p.4), Wells (p.22), Pipeline tools (p.61), Network (p.14)
components, Case studies (p.216), and How to add objects (p.13)
Function
Select
Text
Adds a text box to the model. Any number of text boxes can be
added to the model. The size and color of the text and the
background can be changed.
Node (p.87)
User Guide
Button
Source (p.87)
Pump (p.86)
Separator (p.85)
Function
The generic source object is a means by which you can specify
explicit upstream boundary conditions of pressure and temperature
in a given model.
The vertical completion component models flow from the reservoir
to the bottom hole using an Inflow Performance Relationship (IPR).
A multilayer reservoir model (p.23) can be defined by several
layers (completions) which, can, if required, be separated by a
section of tubing.
A horizontal completion with multiple sources along the horizontal
wellbore. This takes into account reservoir drawdown and wellbore
pressure drop.
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.
The 'generic multiphase booster' module is based on splitting the
multiphase fluid in its constituent liquid and gaseous phases at
booster suction.
Placing a separator in the model removes up to 100% of the gas,
water or liquid (oil plus water) phase.
Either centrifugal or reciprocating compressors can be modeled.
Compressor (p.62)
Expander (p.64)
Choke (p.316)
Injection Point (p.71)
Equipment (p.507)
Multiplier/Adder (p.81)
Report (p.84)
User Guide
Button
Nodal analysis Point (p.59)
Connector
Flowline (p.65)
Function
Defines where the system is to be broken in two for the Nodal
Analysis operation
Allow two objects to be connected by a "zero-length" flowline. This
is normally used to connect two items of equipment together where
there is no significant pressure or temperature change between
them.
Placing a flowline in the model allows the modeling of horizontal or
near-horizontal flow (up or downhill).
Tubing (p.48)
Placing the tubing object in the model allows the modeling of vertical
or near-vertical flow (production or injection) in a well bore.
Riser (p.82)
Placing a riser in the model allows the modelling of vertically or nearvertical flow (up, down or inclined).
Network Toolbox
Button
Select arrow
Function
Allows the user to select, drag and drop any object in the working
window
Allows a text box to be added to the model.
Text
Junction
Branch (p.16)
Network Separator (p.16)
Source (p.14)
A source is a point where the fluid enters the network. Normally used
to represent a surface inflow point as opposed to a production well. A
network model can have any number of sources.
Sink (p.15)
A sink is a point in the network where the fluid leaves the system.
Normally used to represent a surface outflow point as opposed to an
injection well.
A production well is a well where the fluid enters the network.
User Guide
Button
Fold
Function
Allows parts of network to be "collapsed" in to a sub-network of the
main model. This could be used to divide a large model into a number
of smaller sections. Place a folder on the model window and doubleclick to enter. A sub-network can then be built in the folder. Doubleclick on any "white" background in a folder to take you up a level. Links
can be made into the folder by connecting a node to the folder via a
branch. The "dangling" end of the branch within the folder must then
be connected.
Wizard Feature
The wizard can be used to create the following new models:
Steps
To open the wizard, click the Single Branch Wizard button on the Main Toolbar (p.4). The wizard involves
the following steps:
1. Supply general project information.
2. Select the model type required.
3. Select the operation type and, if it's Nodal Analysis, the Nodal Analysis point.
4. (Optional) specify the model file name and directory.
5. Select the units (p.117) to use.
6. Select the fluid model type, one of the following:
Black Oil
Compositional
PVT File
7. Select the following flow correlations (also friction and holdup factors, and swap angle):
Vertical flow
Horizontal flow
Single phase
vertical completion
generic source
horizontal completion
9. Identify Pipes and Equipment objects to include in the model, by using one of the following methods:
User Guide
Highlight the object then use the Add Pipe>> or Add Equip>> button.
Note: Objects MUST be added in the correct order (from source to sink), for example, tubing, flowline,
riser, choke, compressor, and so on.
10.(For an injection model only) Identify the model sink.
11.The required objects are connected in the model window. If the model window appears to be blank,
scroll down to locate the model.
12.Click Finish to close the wizard.
Note: Do not forget to save the model.
Find
Use the Find tool to find quickly any object (well, source, flowline, and so on) in a PIPESIM model.
enter the object name in the text box and click Find. The appropriate part of the tree structure opens
to show it selected.
select the object type in the tree and then select the actual object, by name.
4. The chosen object is highlighted in the model and the screen display updated.
5. The Edit button can be used to modify the data.
PIPESIM versions
Only one version of PIPESIM can be installed on a machine at a time. To install a new version, first uninstall any existing version. PIPESIM models (unless they are very old) are forward compatible. For
example, a model created using PIPESIM 2009.1 can be read and used with PIPESIM 2010.1. However,
models are not back-compatible. Once it has been saved with a version of PIPESIM it can not then be read
by older versions. Very old versions of PIPESIM may need to be converted (p.9) before they can be
used.
PIPESIM: *.PSW
User Guide
The following do not need conversion. They can be loaded directly in PIPESIM:
Compositional: *.PVT. These do not need to be converted. Load the PVT file directly into PIPESIM using
the Setup Compositional.... Import menu option.
Plotting: *.PLT and *.PLC. PLOT (PLT, PLC) files do not need to be converted. Load the plot file directly
into the PsPlot tool.
The Black box object does not exist in PIPESIM. It is converted into a heat exchanger.
PIPESIM operations
Upstream inheritance is not supported. Therefore any models that use this feature will have data
(normally flowline ID) missing.
Pre-conversion preparation
Before conversion, do the following:
Load the PIPESIM Suite model into Build 26 and run the model with Build 26 to verify that the results
are correct.
Note: The converter does not prompt for file save; any existing previous conversion is overwritten.
Converting a model
Do the following:
1. Select File Import Build26.
2. Open the required Build 26 model (*.psw or *.net). The file is converted and written to the same directory
as the build 26 input, along with a log file.
3. For a large PIPESIM-Net model, if an Out of Memory error appears, use the conversion utility instead.
Using the conversion utility
Use this external method of file conversion if there's an Out of Memory error (due to a large file), or if a
number of models are to be converted and used in PIPESIM at a later date. Do the following:
1. From the Windows Start menu, select Programs Schlumberger PIPESIM Utilities B26 to
P2K Converter.
2. This opens the Network File Converter dialog. In its Options menu, choose whether to overwrite
existing files. This must be off (don't overwrite) if the file is being converted because of a an out of memory
error.
User Guide
10
3. From the converter's File menu, choose the Build 26 file (*.psw or *.net) to convert
4. If an Out of Memory message appears, click Cancel and rerun the conversion. With the option not to
overwrite, the converter starts from where it last stopped. Otherwise it restarts completely..
5. When the model has been successfully converted, all the *.bps files in the directory can be deleted.
Post-conversion QC
After conversion:
The log file *.lgg for PIPESWIM, or *.p2k for PIPESIM-Network, is in the same directory as the PIPESIM
model.
The new model is saved to the same directory as the Build 26 model. The file extension for a PIPESIM
single branch model is .bps., and .bpn for a PIPESIM Network model. All input data is now saved in one
file.
The PIPESIM file might be large. All flowlines are converted as if they were defined in PIPESIM as
detailed profiles, that is the node data is imported. This is done so that no important data is lost. This
can be reversed in PIPESIM by using Setup Flowline Properties Simple profile. All detailed
profiles are then ignored.
Check the default units. The converter saves the model in Engineering units.
Run the new model in PIPESIM and verify that the results are the same as those produced by the
PIPESIM Suite. There may be small differences due to changes in the calculation engine. If you are
unsure about any results, please contact PIPESIM support.
If you have any problems with the file conversion, please send a copy of the file(s) to PIPESIM
support.
Check the default units. The converter will save the model in Engineering units.
Verify that the results are the same as those produced by the PIPESIM Suite. There may be small
differences due to changes in the calculation engine. If you are unsure about any results, please contact
PIPESIM support.
If you have any problems with thefile conversion, please send a copy of the file(s) to PIPESIM support
Troubleshooting
If the results from PIPESIM Suite and PIPESIM are not the same, please try the following before contacting
the PIPESIM support.
1. Units settings -Save (a copy) of the PIPESIM Suite model with the following settings:
a. Set the units to standard Eng or SI, that is not customized. Use Setup units Eng.
b. Set the option to write file with default units, using Preferences Options General Write file
with default units.
c. All units can be restored later in PIPESIM.
d. Repeat the conversion.
2. Language -Save (a copy) the PIPESIM Suite model with the following settings
User Guide
11
a. Set the language to English by using Setup Preferences Language English or Setup
Preferencias Idioma English.
b. Repeat the conversion.
3. Contact PIPESIM support with a copy of your input file(s). Do not forget that for PIPESIM-Net models
both the *.net and *.psw files are needed.
Building Models
Steps in building a model
This topic outlines the basic steps involved in building models.
Basic overview
The steps in building a PIPESIM model are slightly different for each module, but all involve the following
basic steps:
1. Select units.
2. Set fluid data and (optionally) calibrate it.
3. Define components of the model.
4. Add well components (completion, tubing).
5. Add pipeline components.
6. Add field equipment.
7. Set heat transfer options.
8. Select flow correlations.
9. Save the model.
10.Perform an operation.
11.Analyze the graphical and tabular results.
12.Use the schematic.
User Guide
12
node objects for example, source, sink, junction/node, completion, equipment, Nodal analysis point,
report tool, and so on. Add node objects to the model first. Select a node object in the toolbar then click
to place it in the model window. To add a number of the same type of node object, press the SHIFT key
to turn the selector into a "sticky" mode where the same object is added to the model window whenever
the mouse button is pressed.
link (connection) objects for example, tubing, flowline, riser, connection, and so on. Link type objects
are used to connect two node type objects. The node objects must have already been added. Select
the link object from the toolbox. Hover the mouse over a node object, then press and hold done the (left)
mouse button and "drag" the resulting link to another node object.
Minimum data
Missing data is reported at the following levels:
Dialog
Object
Folder
All dialogs that have data entry fields display a red box around any mandatory data. This shows the minimum
data required. The red box disappears when the data is entered.
In the model objects and folders that have data missing are displayed with a red box around them. Missing
data includes data in dialog fields with a red box, the fluid model, and boundary conditions. Again, once the
necessary data has been entered, the red box disappears.
Data range checks are made on some data entry fields.
Duplicating an object
The Edit Copy and Edit Paste (or Ctrl+c, Ctrl+v) commands can be used to copy an object and all its
associated data. The only data that is changed in the copy is the identifier of the object.
This option works in both single branch and network mode. It also works on multiple selections, so you can
duplicate more than one object at a time.
Disconnecting objects
To disconnect objects, do the following:
1. Select the link (connection) object. End markers (small squares) appear at each end of the object.
2. Select the end marker (small square). The pointer changes into an arrow.
3. Press the left mouse button and hold it down while dragging the link to its new node object.
User Guide
13
.bpn - network model. A network model is stored in a single input file. It is not necessary to store each
network model in a separate directory. However, it is important to note that each individual branch has
its own output files. Thus, using separate directories ensures that the output files are not overwritten.
Using separate directories may be useful in the following cases:
If results from models having the same well/branch names are to be compared.
Network Models
Network models contain multiple single branch models, linked at junctions. They can be used to model parts
of, or complete, production or injection systems, from the reservoir to the final delivery point(s).
Network Operations
Operations for network models differ from those available for single branch models. They are:
Source
A source is a point where fluid enters the network. A network model can have any number of sources. A
production well (p.17) can be used instead of a source.
Right-click on a source to display the following menu:
Data
Access the Source Properties (p.15) and Fluid Model (p.128) tabs
User Guide
14
Fluid Model
Active
Plot Results
Allows items in the network diagram to be cut, copied, pasted and deleted.
Move to Top / Move to Back For use when several icons are overlaid, this moves the selected icon to
the top or bottom.
Source Properties tab
Double-click a source to open the Source Properties tab, where you can set the following parameters:
Temperature
Pressure/Flowrate Boundary Condition Specify the boundary condition in terms of a fixed pressure
and/or flowrate. The flowrate type can be selected. The
flowrate can be entered in either stock tank or flowing
conditions by using the "@" button.
PQ Curve
Type
Sink
A sink is a point in the network where the fluid leaves the system. It is normally used to represent a surface
outflow point as opposed to an injection well. A network model can have any number of sinks (p.87). An
injection well (p.18) can be used instead of a sink.
Right-click on a sink to display the following menu:
Data
Active
If active is selected, the sink is included in the model at run time, otherwise
it is left out. This flag can be used to determine the effects of switching off
parts of the network without having to delete any data.
Plot Results
Allows items in the network diagram to be cut, copied, pasted and deleted.
Move to Top / Move to Back For use when several icons are overlaid, this moves the selected icon to
the top or bottom.
User Guide
15
Branch
A branch is an object that connects two junctions or a sources/sink to a junction. The branch can contain
flowlines, equipment, and so on. Production wells (p.17) and injection wells (p.18) are special types of
branches that combine a branch with a source (p.14) or sink (p.15).
Right-click on a branch to display the following menu:
Data
Gives access to the Branch Properties (p.16), Limits (p.21) and Flow
Correlations (p.89) tabs.
Flow Correlations
Import Single Branch Model Allows a model already defined in a single branch mode to be imported.
The file name of the model to import will be requested.
Active
Plot Results
Allows items in the network diagram to be cut, copied, pasted and deleted.
Move to Top / Move to Back For use when several icons are overlaid, this moves the selected icon to
the top or bottom.
Branch Properties tab
Double-click a branch to open the Branch Properties tab, where you can set the following parameters:
Block
Determines whether the branch is allowed to flow in both directions. Block reverse acts as a
non-return valve.
Estimates Estimates of the Pressure and/or flowrate for the branch (optional).
Network Separator
A point in the network where a stream removed from a separator can be reinjected into another branch.
Sometimes this is also known as a re-injector.
User Guide
16
The network separator (reinjection node) acts in a similar manner to a junction. It links to the following
branches:
Incoming / feed stream branch
The branch upstream of the network separator, that is before separation takes place.
Outgoing main stream branch
The branch where the main fluid, that is the remaining fluid after separation, goes.
Outgoing separated stream branch
The branch where the separated fluid goes.
Note: This branch MUST not be connected directly to a sink. Place a node before the sink and
add a dummy branch.
The following must be defined:
Note: 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 necessary to
balance the remainder of the network.
See also: How to add objects (p.13), Separator Details (p.86)
Production Well
A production well is a well where the fluid enters the network. A network model can have any number of
production wells. A well can also be modelled using a well head performance curve (p.19). This aids in
the solution time of the network.
A production well is a combination of a source (p.14) and a branch (p.16), and has similar data requirements.
Right-click on a production well to display the following menu:
Data
Fluid Model
Flow Correlations
Import Single Branch Model Allows a model already defined in a single branch mode to be imported.
The file name of the model to import will be requested.
Active
If active is selected, the well is included in the model at run time, otherwise
it is left out. This flag can be used to determine the effects of switching off
parts of the network without having to delete any data.
User Guide
17
Plot Results
Allows items in the network diagram to be cut, copied, pasted and deleted.
Move to Top / Move to Back For use when several icons are overlaid, this moves the selected icon to
the top or bottom.
Production Well Properties tab
Right-click on a production well and select Data to open the Properties tab, where you can set the following
pressure and flow boundary condition parameters:
Block
Determines whether the well is allowed to flow in both directions. Block reverse acts as a
non-return valve and will stop the well from becoming an injection well. If the solution
algorithm determined that a production well, with block reverse set, was an injector then it
will be shut-in.
Note: If Multilayer (p.45) production wells are used in a Network model, then the well
should have the block reverse flow option set to prevent cross-flow.
Pressure
Flow rate
Flowrate in Liquid/Gas/Mass units at stick tank conditions. The flowrate can be entered in
flowing conditions by the "@" button.
Well Curves Models the well using a well head performance curve (p.19).
Injection Well
A network model can have any number of injection wells.
Note: Multilayer (p.45) Injection wells cannot be modelled in this version of PIPESIM. If multilayer
production wells are used in a Network model, set the well's Gives access to option.
An injection well is a combination of a sink (p.15) and a branch (p.16), and has similar data requirements.
Right-click on an injection well to display the following menu:
Data
Gives access to the Injection Well Properties (p.19), Limits (p.21), Flow
Correlations (p.89) Estimates (p.21) tabs.
Flow Correlations
Import Single Branch Model Allows a model already defined in a single branch mode to be imported.
The file name of the model to import will be requested.
Active
User Guide
18
Plot Results
Allows items in the network diagram to be cut, copied, pasted and deleted.
Move to Top / Move to Back For use when several icons are overlaid, this moves the selected icon to
the top or bottom.
Injection Well Properties tab
Right-click on an injection well and select Data to open the Properties tab, where you can set the following
pressure and flow boundary condition parameters:
Block
Determines whether the well is allowed to flow in both directions. Block reverse acts as a nonreturn valve and will stop the well from becoming a producer. If the solution algorithm
determined that an injection, with block reverse set, was a producer then it will be shut-in
Well Curves
A production well in a network model can be modeled using a well performance curve of flowrate versus
[outlet] well head pressure - example curve (p.144). These well performance curve(s) are stored in ASCII
files and can be created using a PIPESIM operation (p.136) or any another suitable Nodal analysis
package.
This option has been introduced for the following reasons:
To reduce the time required to solve large networks. A significant amount of time is spent computing
well bore pressure losses.
To interface with 3rd party applications so that they can create these well curves, that is Shell's WePs
module.
To ease debugging when wells do not flow and the network solution does not converge . In this case
the individual well curves can be examined to insure that the well will flow at the required pressure.
To simulate a well, right-click on it and select Data. On the Properties tab, select the Well Curves check
box. Each production well can be simulated by one of the following options:
Create (during network run) only when necessary
The time stamp of the last created performance curve is checked. The curve is regenerated
automatically, if necessary. Once the file has been created, it can be viewed using the Plot button.
Create on every network run
The performance curve is always regenerated. This is time consuming.
Online
Model the well online (the default). The well's details must be included in the PIPESIM Network
model.
User Guide
19
Boundary Conditions
The network engine solves the mass, momentum and energy conservation equations for the fluid pressures,
flow rates and temperatures, in a network. Users must specify acceptable boundary conditions. To view
and/or modify boundary conditions, select Setup Boundary Conditions.... This also displays the number
of boundary conditions that are required and the number that have been set.
Hydraulic boundary conditions (pressure and flow)
The requirements are as follows:
The number of boundary conditions required for a model is known as the model's Degrees of Freedom.
This is equal to the total number of boundary nodes. That is, number of wells (production and injection)
+ number of sources + number of sinks.
A boundary condition specifies the pressure (P) or flowrate (Q). For sources, a pressure-flowrate curve
(C) can be specified.
Normally there should be one boundary condition (P, Q or C) for each boundary node. However, you
can specify two boundary conditions, pressure and flow rate (PQ) at some sources or production wells,
and specify no boundary conditions at some sinks, as long as the total number of boundary conditions
equals the Degrees of Freedom.
User Guide
20
Note: Use this flexibility with care as it may produce networks that cannot be solved.
Temperature boundary conditions
Users must specify the fluid temperature at all sources and the reservoir temperature for all production
wells. The fluid temperatures at all sinks and injection wells are always calculated. Energy will be transferred
from the fluid to the environment by heat loss, so ambient temperatures and heat loss properties must be
specified for each branch in a network.
Input fluids
The Fluid model (p.128) must be specified for each production well and each source.
Network Constraints
To set network constraints, select Setup Flowrate Limits....
You have two options:
Set flowrate limits for each branch in a network model. The flowrate limits apply both to forward and
reverse flows. So a flow limit of 20 STB/d will limit the flow to 20 STB/d independently of whether the
flow is backward or forward.
Set flowrate limits for an individual network branch (network connector - flowline). Right-click on the
branch and select data, then click on the Limits tab.
Mass (p.470)
Liquid (p.470)
Water
Oil
Gas (p.470)
Network Estimates
Each time the network is solved, an initial estimate of the unknown boundary condition (inlet pressure, outlet
pressure or flowrate) in each branch is required.
Internal default estimates are provided as follows:
Flowrate = 10 lb/s
However, it is possible to speed up network convergence by providing good estimates of the unknown
boundary condition in each branch. User estimates can be supplied locally and globally, and four hierarchy
options are available to specify which estimates should be used. To do this, select Setup Estimates.
The following parameters are available:
Do not use any estimates
The internal default values, shown above, are used. This is sufficient in most cases. (Default)
User Guide
21
Well Performance
Perform the following basic steps to build a well model (single or multiple completion):
1. Select the units (p.117) set to use.
2. Specify the well's completion type, one of the following:
Vertical (p.29)
Multiple (p.23)
Horizontal (p.23)
3. Add the necessary components to the model (tubing, choke, and so on) and define the necessary data.
4. Define the fluid specification (black oil (p.360) or compositional (p.101)).
5. (Optional) Calibrate the fluid (p.360).
User Guide
22
Different fluid model properties. That is, each layer can have a different watercut, GOR, or a different
composition, and so on.
Different fluid types for each layer. Oil and gas layers can be mixed.
Note: Multilayer Injection wells cannot be modeled in this version of PIPESIM. If multilayer production wells
are used in a Network (p.14) model, set the Block Reverse Flow option for the well.
More details (p.45)
Horizontal Well Completion
This refers to a horizontal completion with multiple sources along the horizontal wellbore, taking into account
reservoir drawdown and wellbore pressure drop. The horizontal well performance models included in
PIPESIM allow the user to accurately predict hydraulic wellbore performance in a horizontal completion. As
such, they are an integral part of the reservoir-to-surface analysis.
A horizontal well model can be used in all Operations modes. However, you may be especially interested
in investigating the productivity of a horizontal completion using the Optimum Horizontal Completion Length
(p.24) option.
Reservoir inflow and wellbore pressure drop equations are solved to calculate the changing production rate
along the well length. More details (p.301)
Distributed PI mode
In Distributed PI mode the inflow performance is expressed as a Productivity Index (PI) per unit length
which can be assigned explicitly (Distributive PI) or calculated using the following:
In this mode the pressure drop along the horizontal completion is computed.
These equations take account of the effect of the vertical/horizontal permeability ratio, completion skin, and
reservoir thickness.
Single point PI mode
In Single Point PI mode inflow is assumed to be at the heel of the well only (no pressure drop along the
horizontal completion is computed). The following IPRs are available:
User Guide
23
User Guide
24
IPR Model
Select Distributed or Single Point model and select the model type, one of the following:
Distributed PI (Finite Conductivity)
The complete length of the horizontal section is modeled. See Well bore... (p.65)
Single Point PI (Infinite Conductivity)
The input data is used to compute an equivalent straight line PI value and this is then used as single
point inflow.
Model type is the type of IPR model to use for calculation. Each option requires a different set of parameters,
as described below.
SS Oil (Joshi) and SS Gas (Joshi)
Reservoir Size
Rextn
External boundary radius of the drainage area
Thickness
Reservoir thickness
Well Location
Eccen
Well bore eccentricity. This is the offset of the well from the center of the pay zone.
Reservoir Properties
Kx
Permeability in the x-direction, that is Kh
Ky
Permeability in the y-direction, that is parallel to the well
Kz
Permeability in the z-direction, that is Kv
Well Properties
Length
Length of the horizontal well (completion). Assuming that the horizontal completion is exactly
horizontal. A profile for the horizontal section can be entered using the Well bore... button. The
length must not be greater than the reservoir diameter (that is twice the reservoir extension radius
Rextn).
Rw
Sandface radius, that is. pipe+annulus+cement
User Guide
25
Skin
Mechanical skin factor. Can be entered or computed. To compute the skin, select the Calculate
Skin check box. This activates the Options (p.28) button. If the value is computed, sensitivity
cannot be performed directly on the skin value.
Single Point PI only
The following data are required for single point PI only:
Fluid properties
At reservoir conditions (the first two parameters are alternatives):
OFVF
Oil Formation Volume Factor (oil well)
Gas Z
gas compressibility factor (gas well)
Viscosity
fluid viscosity
Calculate PI
Compute the single point PI values from the data supplied.
Distributed PI only
Well bore... (p.65)
PSS Oil (Babu and Odeh) and PSS gas (Babu and Odeh)
Reservoir Size
User Guide
26
Y dim
drainage width parallel to the well
Thickness
reservoir thickness
Well Location (based on the well midpoint)
Note: this is referenced only in PSS gas.
X well
x coordinates of the horizontal well trajectory.
Y well
y coordinates of the horizontal well trajectory.
Z well
z coordinates of the horizontal well trajectory.
Reservoir Properties
Kx
Permeability in the x-direction, that is Kh
Ky
Permeability in the y-direction, that is parallel to the well
Kz
Permeability in the z-direction, that is Kv
Well Properties
Length
length of the horizontal well (completion). (This assumes that the horizontal completion is exactly
horizontal.) A profile for the horizontal section can be entered using the
Well bore... (p.65)
button.
Rw
Sandface radius. That is, pipe+annulus+cement
Skin
Mechanical skin factor. Can be entered or computed. To compute the skin, select the Calculate
Skin check box . This activates the Options (p.28). If the value is computed, sensitivity cannot
be performed directly on the skin value.
Single Point PI only
The following data are required when you specify Single Point PI as the IPR model:
User Guide
27
Fluid properties
enter these for reservoir conditions
OFVF
Oil Formation Volume Factor (oil well)
Gas Z
gas compressibility factor (gas well)
Viscosity
fluid viscosity
Calculate PI
Click this button to compute the single point PI values from the data supplied.
Distributed PI only
The following data are required when you specify Distributed PI as the IPR model and select Distributed
PI as the model type:
Distributed PI
Enter a straight line PI value for liquid or gas.
Well bore... (p.65)
Click the button to set the properties.
Horizontal Completion Well Properties Options
This dialog opens when you select the Calculate skin check box on the Properties tab and click the
Options button.
Damaged Zone
Diameter
Diameter of the damaged zone around the well bore. The default is the well bore radius, that is the
damaged zone does not exist
Permeability
Permeability of the damaged zone around the well bore. The default is the formation permeability.
Gravel Pack
Permeability
Permeability of the gravel pack. The default is estimated according to the sieve size.
Tunnel
Length of the tunnel. This is usually the sum of the thickness of cement, casing and annulus. The
default =0
Compacted zone
Diameter
Diameter of the compacted zone (or crushed zone) around the perforation. The default is the
diameter of the perforation (that is, the compacted zone does not exist).
User Guide
28
Permeability
Permeability of the compacted zone (or crushed zone) around the perforation. The default is the
permeability of the damaged zone.
Perforation
Diameter
Diameter of the perforation into the formation. The default = 0.5 inches, 12.7 mm
Length
Length of the perforation into the formation. The default = infinity (which results in a zero skin due
to perforation)
Shot Density
Shot density. The default = 4 shots/ft ,13.12 shots/m
Calculate Skin
Calculate
Click the Calculate button to compute the skin from the data supplied. This overwrites any value
already set.
Vertical Well Completion
The vertical completion component models flow from the reservoir to the bottom hole using an inflow
performance relationship. More details (p.274).
The following data must be entered:
Reservoir Data
Static Pressure
Temperature
Note: The pressure may be a calculated variable, provided that the other two boundary conditions, flowrate
and outlet pressure, are entered.
IPR Model
Inflow Performance Relationship (p.274)
Relationship between completion drawdown and flowrate.
Flow Control Valve (FCV)
The default is a completion without FCV. To use an FCV, select the check box and click FCV
Properties to configure it.
Local fluid properties
Local Fluid properties that pertain to this completion.
User Guide
29
Note: Vertical completions can be "stacked" to form a multiple completion well and (optional) tubing can
be placed between the completions. Thus each completion can have its own fluid properties.
PI Data
Data required
The following parameters are required for a PI (p.275) IPR.
PI coefficient
A function of bottom hole flowing pressure (Pwf) , Static reservoir pressure (Pws) and Flowrate (Q).
Vogel Below bubble point correction
Use this in cases of undersaturated reservoirs where wellbore pressure may be above or below
the bubble point. Note: The "Well PI with Vogel correction below the bubble point" completion model
is only intended for use when the reservoir pressure is above the bubble point. If the static reservoir
pressure is below the bubble point, then you should use a different completion model, for example
Vogel (p.276) or Fetkovich (p.277) which are intended for saturated fluids.
Calculate/Graph button
The required parameters can be computed from multi-rate test (p.35) data.
Vogel's Equation Data
The Vogel equation (p.276) was developed to model saturated oil wells.
Data required
If you select Vogel's Equation as the IPR Model on the Vertical Completion Properties tab, the following
parameters are displayed:
Abs. Open Flow Potential
The maximum liquid flowrate that the well could deliver if the bottom hole pressure was 0.
In the Absolute Open Flow Potential section, enter the following data that will be used to calculate the
AOFP:
PI Coefficient
The value is usually around 0.8 (the default).
Q
The actual flowrate of the well from a well test.
Pwf
Flowing bottom hole pressure
Pws
Static Reservoir pressure
Calculate AOFP
use the above data to compete the AOFP. This overwrites any values already entered for the AOFP.
User Guide
30
User Guide
31
Data required
If you select Backpressure equation (p.278) as the IPR Model on the Vertical Completion Properties tab,
the following parameters are displayed:
C
Constant (intercept at log flow rate = 1.0)
n
Inverse Slope. For pure laminar flow n=1 and 0.5 for completely turbulent flow. n is limited to
0.5<n<1
Calculate/Graph button
Click this to compute the required parameters C and n from multi-rate test (p.35) data. At least
three data sets must be supplied.
4-point test
To run a Back Pressure 4-point test, do the following:
1. On the Vertical Completion Properties tab, select Backpressure IPR.
2. Select Calculate Graph..
3. Select multipoint (p.35).
4. Enter the static reservoir pressure.
5. Enter the reservoir temperature.
6. Enter up to 4 test rates and associated test pressures.
7. Click Plot IPR or Plot fit. The coefficients C and n will be computed.
8. Click OK.
Pseudo Steady State Equation / Darcy Data
The Pseudo steady-state equation (p.279) assumes that the fluid is single phase, that laminar flow exists,
and that the fluid is (essentially) incompressible. The equation is based on single phase flow, therefore you
are prompted to select the basis for the equation; either Liquid or Gas.
A Vogel correction is available for liquid flow below the bubble point. For gas systems, you can choose to
use gas pseudo pressure or a pressure squared approximate (only reliable for low pressure systems).
Data required
If you select Pseudo Steady-State as the IPR Model on the Vertical Completion Properties tab, the
following parameters are displayed:
Basis of IPR calculation
Specify whether the calculations are to be performed on a Liquid or Gas basis. Your selection changes the
following parameter choices.
Use Vogel below bubble point
Apply the equation for calculating the productivity above the bubble point and the Vogel relationship
to calculate the IPR curve below the bubble point.
User Guide
32
Note: This check box is available only if you selected Liquid as the IPR Basis.
Use pseudo pressure method
Note: This check box is available only if you selected Gas as the IPR Basis.
Reservoir Thickness
Average formation thickness.
Wellbore Diameter
Default 6 inches.
Permeability
This is the average formation permeability. Typical values (p.429).
Reservoir Size/Shape
Take into account the effect of the shape of the reservoir (and the position of the well relative to boundaries),
by way of a shape factor. The default is a circular reservoir shape (shape factor 31.62).
Drainage Radius
Radius of external boundary of drainage area. Default 2,000 feet. Typical values (p.430).
Shape factor
Identify the physical location of a well in relationship to the reservoir boundaries. Default 31.62
circular reservoir, see figure below.
Reservoir Area
Area of the reservoir. Typical values (p.430).
User Guide
33
User Guide
34
would be 5). Both mechanical and rate dependent skin terms can be entered or calculated (from completion
description).
Mechanical Skin
Enter Skin
Dimensionless constant skin factor
Calculate skin
Model the completion in detail and thus compute the skin factor using completion options
(p.39). If the skin is computed, sensitivity cannot be performed directly on the skin value, but
sensitivities can be performed on any completion description parameter (for example shots per
foot, perforation depth, and so on).
Rate Dependent Skin
Enter Skin
Dimensionless Rate dependent skin factor
Calculate
Calculate the rate dependent skin terms for all the components specified in the completion options
(p.39) description.
Forchheimer Equation Data
Data required
If you select Forchheimer's equation (p.278) as the IPR Model on the Vertical Completion Properties
tab, the following parameters are displayed:
F (turb)
Turbulent coefficient, this must be => 0
A (lam)
Laminar coefficient, this must be => 0
Calculate/Graph button
The required parameters can be computed from multi-rate test (p.35) data.
Multi-rate
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
User Guide
35
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 it can be plotted using either;
Plot IPR
plots the actual IPR to be used, with the test data superimposed.
Plot Fit
plots the log log fit, with the test data superimposed.
The IPR constants (for example PI, A and B, C and n, and so on) will be computed and displayed in the
Fitted constants section.
Select the Chart Print option to print or export the plot.
Hydraulic fracturing
The Hydraulic Fracture 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. These type curves were taken from Schlumberger's FracCADE program. 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 2 nd Edition by Econimides
and Nolte, Chapter 8 by Hai-Zui Meng and SPE paper 16435 and were best suited for tight gas wells. Type
curves are generated using single-phase fluid, two-dimensional finite difference simulators for some 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).
Data required
To set up hydraulical fracture, select Hydraulic Fracture (p.299) as the IPR Model on the Vertical
Completion Properties tab. The following parameters are displayed:
Basis of IPR calculation
Specify whether the calculations are to be performed on a Liquid or Gas basis.
Use Vogel below bubble point
Apply a type-curve equation for calculating the productivity above the bubble point, but the Vogel
relationship to calculate the IPR curve below the bubble point. This is not recommended if the water
cut exceeds 60%.
Note: This check box is available only if you selected Liquid as the IPR Basis.
User Guide
36
Reservoir Permeability:
Average formation permeability. For a gas well, this is gas permeability. For an oil well, this is total
liquid permeability. The default is infinity. Typical values (p.429).
Reservoir Thickness:
Average formation thickness. The default is infinity.
Reservoir Radius
Radius of external boundary of drainage area. The default is 2,000 feet. Typical values (p.430).
Wellbore Diameter
The default is 3 inches
Fracture Half Length
The length of the fracture extending out in one direction from the wellbore. That is, half the total
facture length.
Fracture Permeability
The effective permeability to the primary fluid of the fracture proppant used in fracturing the reservoir
Fracture Width
The average fracture width of a fracture in a hydraulically fractured reservoir
Transient model check box
Select the Transient model check box to model a well that has not reached pseudo steady state conditions.
This displays the following additional parameters:
Time
Producing time during the transient period in which the inflow performance is calculated
Porosity
Amount of pore space in the producing formation as a percentage of total bulk volume. Porosity =
Pore volume/Bulk volume.
Total Compressibility
Total compressibility of the reservoir system
See also other IPR methods (p.274)
References
Some additional references for the model are given below:
1. Nolte, K.G. (1991) "Fracture Design and Validation With Uncertainty and Model Limitation" JPT,
September 1991.
2. Elbel, Jack (1992) "Evaluation of Apparent Fracture Length Indicated from Transient Tests" Journal of
Canadian Petroleum Technology, December,1992.
3. Cinco-Ley, H., Samaniego, F. and Dominguez, N. (1978) "Transient Pressure Behavior for a Well with
a Finite-Conductivity Vertical Fracture," SPEJ, Aug. 1978, pp. 253-264.
4. Meng, H-Z, Brown, K.E. (1987) Coupling of Production Forecasting, Fracture Geometry Requirements
and Treatment Scheduling in the Optimum Hydraulic Fracture Design, SPE 16435.
User Guide
37
5. Cinco-Ley, H., Ramey H.J., Samaniego, F. and Rodriquez F. (1987) "Behavior of Wells with LowConductivity Vertical Fracture," SPE 16776.
Transient IPR Data
Data required
If you select Transient (p.284) as the IPR Model on the Vertical Completion Properties tab, the following
parameters are displayed:
Basis of IPR calculation
Specify whether the calculation are to be performed on a Liquid or Gas basis. Your selection changes the
following parameter choices.
Use Vogel below bubble point
Apply a type-curve equation for calculating the productivity above the bubble point and the Vogel
relationship to calculate the IPR curve below the bubble point. The Vogel correction is not
recommended if the water cut exceeds 60%.
Note: This check box is available only if you selected Liquid as the IPR Basis.
Use pseudo pressure method
Using (Pres2 - Pbhp2) for the delta P term in the pseudo steady state equation for Gas is correct
only for low pressures (< ~ 2,000 psia).
Note: This check box is available only if you selected Gas as the IPR Basis.
A more accurate way is to use (MPres - MPbhp) instead where MP is the pseudo pressure (which itself is
a function of pressure, Z factor and viscosity). This is more valid over the entire range of pressures (although
the difference is small).
Permeability and other Parameters
To plot the IPR, click Plot IPR. Enter the following parameters:
Reservoir Permeability
Average formation permeability. The default is infinity. Typical values (p.427).
Reservoir Thickness
Average formation thickness. The default is infinity.
Wellbore Diameter
The default is 6 inches.
Drainage Radius
Radius of external boundary of drainage area. The default is 2,000 feet. Typical values (p.430)
Time
Duration of the drawdown period in hours.
User Guide
38
Porosity
Average porosity of the reservoir rock.
Total Compressibility
Saturation weighted compressibility of the entire reservoir-liquid system (ct = coSo + cwSw + cf )
Skin parameters
Skin value has two components, a Mechanical (constant) term and a rate dependent term (for example if
the rate is 20 mmscf/d and the constant skin is 3, and the rate dependent skin is 0.1/mmscf/d, then the total
skin would be 5). Both mechanical and rate dependent skin terms can be entered or calculated (from
completion description).
Mechanical Skin.
Choose from the following:
Enter Skin
Dimensionless constant skin factor.
Calculate
Model the completion in detail and thus compute the skin factor using completion options
(p.39). If the skin is computed then sensitivity cannot be performed directly on the skin value, but
sensitivities can be performed on any completion description parameter (for example shots per
foot, perforation depth and so on).
Rate Dependent Skin.
Choose from the following:
Enter Skin
Dimensionless Rate dependent skin factor.
Calculate
Calculate the rate dependent skin terms for all the components specified in the completion options
(p.39) description.
Completion Options
Both the Pseudo Steady State (p.32) and the Transient (p.284) IPRs use a skin factor to determine the
flow into the well. PIPESIM allows you to enter a skin factor, or to calculate it using Completion Options.
To use Completion Options, first select one or both of the Calculate radio buttons in the Mechanical
Skin and Rate Dependent Skin boxes.
Skin factor
The skin factor is calculated by summing contributions from five different components:
Damaged Zone Skin
models 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 they will default to the well bore
diameter and the formation permeability, and the damaged zone skin will be zero.
User Guide
39
Damaged
Zone Skin
Partial
Gravel
Penetraion / Pack Skin
Deviation Skin
Open Hole
Assumes the
well is not
lined or
cemented
Yes
Yes
Open Hole
Gravel Pack
Assumes the
well bore is
Open Hole,
with the
addition of a
gravel pack
Yes
Yes
Perforated
Yes
Gravel Packed
and Perforated
Yes
User Guide
40
Perforation
Skin
Yes
Yes
Yes
Yes
Frac
Pack
Skin
Frac Pack
Assumes the
well is lined or
cemented,
perforated
and has been
fractured.
Yes
Yes
Yes
Yes
The data entered in the Completion Options dialog is passed to the engines to calculate the IPR during
simulation. An approximate value of the skin used during the simulation can be determined by clicking on
the Calculate Skin button. This value may not be exact, since some of the skin calculations may depend
on fluid properties which are only calculated during the simulation.
User Guide
41
User Guide
42
User Guide
43
User Guide
44
User Guide
45
Note: As of release 2008.1, multi-layer injection well models can be simulated in PIPESIM.
Layers
A completion icon represents each layer:
Therefore, if required, each layer can have a different Inflow Performance Relationship (IPR) and also a
different fluid model.
If (for simplicity) you wish to stack the reservoir layers on top of each other, connect the layers using the
connector icon as shown below. (The connector icon has no dimensions associated with it).
In this case no elevational difference is assumed between the layers. They will all have the same flowing
("bottom hole") pressure (PWF). However, each layer can have a different static pressure, IPR and fluid
model defined.
User Guide
46
Using Conduits
A more realistic model defines a conduit between the reservoir layers as shown below. This ensures the
layers are positioned at different elevations. Therefore, elevational and frictional pressure drops are
calculated between the layers, and each layer has a different production pressure (PWF).
Tubing icons or even riser icons can represent the conduit between the layers. Care should be taken when
defining the dimensions of the conduits between the layers. Each icon will have to be defined independently.
It is only important to ensure that the relative distance from top to bottom of each icon (that is between each
completion) is correct. Therefore, for example, each tubing icon can be assumed to start from a depth
reference of zero. Alternatively the TVDs and MDs at the tubing/layer junctions can be made to match, so
each deeper tubing object would be made to start at the deepest point of the adjoining shallower tubing.
Make sure also that the correct ambient temperature(s) for each conduit is specified.
By default PIPESIM allows back flow (that is reverse flow) into (or, in an injection well, out of) any layer. To
block back flow in any layer, the appropriate keyword can be set (LAYER INJECT = NO (p.547)) by placing
an EKT (p.64) upstream of the completion in question.
User Guide
47
Tubing Tool
Placing a tubing object in the model allows modeling of vertical or near-vertical flow (production or injection)
in a well bore. Heat transfer (p.70) can be modeled by either entering or computing an overall heat transfer
coefficient (U value) using the Ramey Model (p.51). The tubing object is a connection (p.13) object, so
must be placed between two node (p.13) objects.
Normally only one tubing object is required for a well model. The exception is when multiple completions
are modeled.
The tubing can be defined as either of the following types of model:
detailed (p.50) model PIPESIM creates objects for all pipe nodes
Data entered under the simple model can be converted to a detailed model using the Convert to detailed
model button at any time. In this case, a detailed description of the simple model is created.
Note: If different data is entered in both the simple and detailed models, PIPESIM uses the data in the
Preferred Tubing model that was selected when the Tubing Tool dialog was closed.
Use the detailed profile model if any of the following situations apply:
The overall heat transfer coefficient is not the same as the default (0.2 Btu/hr/ft2), or needs to vary through
the depth of the tubing
More than one piece of downhole equipment needs to be modeled. That is, there are multiple gas lift
injection points.
User Guide
48
Perforations
This data determines the extent of the tubing modeled. That is, the MD/TVD is taken as the fluid inflow
point. Enter the following parameters:
MD (Measured depth)
total length of the tubing to the perforations. This will always be equal to, or greater than, the TVD
TVD
true vertical depth
Reservoir Temperature
fluid temperature
User Guide
49
Tubing sections
Note: Up to four tubing items can be defined. If more are required, use the detailed model (p.50) profile.
Enter the following parameters for each section:
From MD
start MD for this tubing's section. This is computed automatically from the initial MD or from the last
set tubing depth, that is the "to MD column".
To MD
end MD for this tubing's section. This MUST always be entered.
ID
inner diameter of the tubing section.
Convert to Detailed model
The data entered into the simple model can be exported to the detailed (p.50) model using the Convert
to detailed model button.
Note: Any data already entered under the detailed model is overwritten.
Summary table
Summary table (p.53)
Detailed profile model
To configure a tubing (p.48) object, once added to the model (p.13), double-click the tubing, select Detailed
Model, and use the following tabs.
Deviation Survey Tab
Set two of the MD, TVD and angle for at least two data points. Compute the third using the Calculate button.
(Default = compute angle). The wellbore profile can be copied from any other spreadsheet application. If
the well profile is straight, the deviation survey can be omitted.
Geothermal Survey Tab
Enter ambient temperatures at various depths (the depths can be either based on MD or TVD). If the Input
U value radio button is selected, also enter the overall heat transfer coefficient values (U-values) at the
various depths. The minimum data you must enter is at the well head and bottom hole. If you want the Uvalues to be calculated, select the Calculate U Value radio button; the U Value column is greyed-out so
that you cannot enter any values. Click Heat Transfer Properties to enter the Tubing Heat Transfer
Properties (p.51) for the heat transfer calculation.
Tubing Configurations Tab
Up to 200 changes of tubing configuration can be modeled. The data entered here determine the extent of
the tubing modeled. That is, the bottom of the last tubing section is taken as the fluid inflow point.
The parameters are as follows:
User Guide
50
Bottom MD
Measured Depth of the bottom of the tubing.
ID
tubing inside diameter, See also tubing tables (p.418)
Wall Thickness
tubing thickness, default 0.5 inches 12.7 mm. See also tubing tables (p.418)
Roughness
absolute pipe roughness, default 0.001 inches, 0.0254 mm. See also Roughness tables (p.428)
Casing ID
casing ID is only required if the flow type is set to "Annular" or "Tubing+Annulus" flow or the Alhanati
(p.172) instability check is to be made. See also Casing tables (p.418).
Flow Type
flow path up the tubing. Select one of the following options:
Tubing (default)
Annulus or
Tubing+Annulus.
The label is optional, but allows key points in the profile to be highlighted in the output report.
Downhole Equipment Tab
Select the type, position (in terms of its MD), properties and optional label of any downhole equipment. Click
Properties to configure each item of equipment, as follows:
51
To open this dialog, open a detailed tubing model, select the Geothermal Survey tab and click Heat
Transfer Properties.
Ground Properties
The parameters are as follows:
Thermal Conductivity
The ground/rock thermal conductivity (default = 1.5 BTU/hr/ft/F).
Specific Heat Capacity
The ground/rock specific heat capacity (default = 0.2 BTU/lb/F).
Density
The ground/rock density (default = 140 lb/ft3)
Wellbore Properties
The parameters are as follows:
Production/Injection Time
The time the well has been producing/injecting (default = 168 hr).
Tubing Thermal Conductivity
The thermal conductivity of the tubing material (default = 35 BTU/hr/ft/F).
Completion Fluid Thermal Conductivity
The thermal conductivity of the completion fluid in the annular space between the tubing and the
casing (default = 3.2 BTU/hr/ft/F).
Casing Thermal Conductivity
The thermal conductivity of the casing material (default = 35 BTU/hr/ft/F).
Casing Thickness
The thickness of casing.
Cement Thermal Conductivity
The thermal conductivity of the cement between the casing and the rock/ground (default = 2 BTU/
hr/ft/F).
Cement Thickness
The thickness of cement.
User Guide
52
User Guide
53
simple tubing model (p.48): Set the Artificial Lift method to Gas Lift, then click Properties under Artificial
Lift.
detailed tubing model (p.50) On the Downhole Equipment tab, add Gas Lift Injection.
User Guide
54
Compositional fluid:
Specify the composition of the injection gas fluid.
Optional data
This data does not affect the amount of gas that can be passed through the gas lift point. The data allows
further calculations to be performed. For example, if the Valve Port Diameter is provided, the pressure drop
across the valve and the Joule-Thomson temperature change are calculated. This data is also needed if
the Alhanati instability (p.172) check is required see OPTIONS (p.438).
Valve Port Diameter
The operating gas lift valve port (orifice) diameter.
Surface injection pressure
The gas lift injection surface pressure (upstream of the surface injection choke).
Set Gas Lift Injection point/points
The Gas Lift Injection points do not take into account the gas lift system. It is assumed that the quantity of
lift gas requested is fully injected into the production string at the specified depth(s) and that this takes no
account of the available injection pressure or valve details. You can specify different injection depths and
injection rates at each depth. To allow the program to calculate the injection depth, based on the available
injection pressure, use the Gas Lift valves (p.55) method.
PIPESIM offers the following options for setting the gas lift injection points.
If the depth(s) of injection and injection rate(s) are known, do the following:
1. Create a tubing object and double-click it to edit it.
2. In simple profile enter the gas lift depth and the gas lift properties.
3. In detailed profile set the Gas Lift injection points in the Downhole equipment tab and enter the gas lift
properties .
Gas Lift Valves
The actual gas lift valve depths are specified. For normal PIPESIM operations, gas is injected at the
specified rate at the deepest possible valve depth (taking into account the available injection pressure). For
the Gas Lift Diagnostics operation only, 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 and so on). The valve throttling response is modeled (based
on the bellows load rate of the valve).
Allows gas lift valves to be selected from a database and placed in the tubing string.
Installed Design
Spreadsheet
This is a list of installed valves:
Valve MD
the depth of the valve
User Guide
55
User Guide
56
Spreadsheet
list all the valves in the database that match the criteria defined by the filter. A valve can be selected
by selecting the appropriate row.
Add valve
add the selected valve to the installed design table.
Filter
Use this to apply a filter to the listed valves.
Manufacturer
valve manufacturer filter
Type
Valve type filter
IPO
PPO
PPS
Orifice
Dummy
Size filter
Valve outer diameter
Series filter
series type
Refresh
update the spreadsheet listing by applying the filters
Remedial Coiled Tubing / Velocity String
This option allows the modeling of a remedial coiled tubing string inserted inside the tubing. You enter the
coiled tubing Outside Diameter and its injection gas rate (normally nitrogen). The PIPESIM model then
simulates an annular flow path between the coiled tubing string and the tubing specified in the Tubing
Configurations window.
Gas is injected into the produced fluid (at the depth of the coiled string) at the user specified gas injection
rate. You can also optionally enter the coiled tubing surface injection pressure (and coiled tubing ID).
PIPESIM will then calculate whether the injection pressure is sufficient to inject the specified gas rate or
not. If the pressure is not sufficient, then a warning message is written to the output and summary files,
however, the specified gas rate will still be injected. Therefore, PIPESIM will not calculate the coiled tubing
injection gas rate; it is user specified.
The remedial coiled tubing description in PIPESIM has no association (or functionality) with Gas Lift Design
routines. Therefore PIPESIM does not perform coiled tubing gas lift design. The gas lift mandrels and valves
will be assumed to be installed in the tubing specified in Tubing Configurations window.
To model coiled tubing, do the following:
1. Double-click the tubing object. Select Detailed Model.
User Guide
57
2. Select the Remedial Coiled Tubing option on the tubing's Downhole Equipment tab.
3. Properties
Bottom MD:
OD
Injection
Coiled Tubing ID
tubing/flowline/equipment to be sized
tubing/flowline/equipment to be sized
User Guide
58
User Guide
59
Injection Performance
Perform the following basic steps to build an injection well model:
1. Select the units (p.117) set of your preference.
2. Add a source object at the inlet.
3. Add (p.13) the necessary components (p.22) to the model (tubing, choke, and so on) and defined the
necessary data.
4. Determine the completion of the well, one of the following:
Vertical (p.29)
Horizontal (p.23)
5. Define the fluid specification (black oil (p.360), compositional (p.101) or steam (p.115)). Water injection
systems can be modeled by black oil or compositional.
6. (Optional) Calibrate the fluid (p.360) .
7. Define the flow correlation to use.
8. Save the model (p.14).
Once the basic model has been developed, a number of operations can be performed, or the well model
can be utilized in additional PIPESIM modules.
Operations
Static pressure
Temperature
Depth
IPR specification
Fluid model
The IPR for each individual layer can be specified by using any of the standard completion (p.274) options.
Similarly the fluid description for each layer can be specified using the standard black oil (p.360) or
compositional (p.101) fluid description.
A multiple completion model is defined by adding the required number of completions to the model and
connecting with the tubing (p.48) object, (the length of each tubing string should be set to reflect the depth
User Guide
60
of the completions). If any completions are at the same depth then they can be connected using the
connector object rather than by the tubing object as the connector object has zero length.
When performing Nodal Analysis (p.140) on multiple completions the composite IPR curve will be created
(and shown) for the inflow performance. The individual layer IPR curves can however, be displayed using
the plot utility.
Note: Multilayer Injection wells cannot be modeled in this version of PIPESIM. If multi layer production
wells are used in a Network (p.14) model then the well should have the Block reverse flow option set.
Liquid Loading
Implementation
Turners Equation (Even More General) Equation is implemented in PIPESIM and you have the ability to
specify a correction factor (E). The default correction factor is 1.2, corresponding to Turners original model.
You can select E factors suggested by any of the authors listed in the table (p.273), or indeed their own E
factor between 0.1-10. This is done using the ELIQLOADING subcode of the OPTIONS (p.462) maincode.
You can control what velocity ratio
vt
vm
- or
vt
vg
Inclination Angle
There is a critical pipe angle where the droplets fall back onto a liquid film on the lower section of the pipe
instead of falling back to the bottom of the well. Thus, the stable rate would depend on liquid film
characteristics rather than a force balance on a droplet. This my indicate that the liquid loading equations
are valid for vertical wells and should not be used beyond a certain angle. You can select a maximum pipe
angle to restrict vt calculation for vertical or near vertical section of well using the LLANGLE subcode of the
OPTIONS (p.462) maincode.
Pipeline tools
Pipeline and facilities specific operations
The operations specific to pipeline and facilities are the following:
Once the basic model has been developed, the following operations can be performed, or the model can
be utilized in additional PIPESIM modules.
User Guide
61
See also Hot Keys (p.3), Main toolbar (p.4), Well Performance (p.22), Network (p.14) components, case
studies (p.204) and How to add objects (p.13).
Pipeline and facilities model
Perform the following basic steps to build a pipeline and facilities model:
1. Select the units (p.117) set of your preference.
2. Add a source to the model.
3. Add (p.13) the necessary components to the model (flowline, equipment, and so on.) and defined the
necessary data.
4. Set heat transfer (p.70) options for each flowline.
5. Define the fluid specification (black oil (p.360) or compositional (p.101)).
6. (Optional) Calibrate the fluid (p.360).
7. Define suitable Horizontal correlations (p.117) and vertical correlations (p.117).
8. Save the model (p.14).
Compressor Details
Either centrifugal or reciprocating compressors can be modeled. The basic compressor model uses
centrifugal compressor equations to determine the relationship between inlet pressure and temperature,
outlet pressure and temperature, flowrate, shaft power, and efficiency. It is also possible to use built in, or
user developed compressor curves (p.133) to describe the relationship between differential pressure,
flowrate, and efficiency for a range of compressor speeds. Reciprocating compressors only work off user
entered performance curves (p.132). If compressor curves are used the compressor speed and number
of stages become additional factors.
Double-click the compressor to open its Properties tab. Enter at least one of the following parameters:
Discharge Pressure
Pressure at the compressor outlet (default 20,000 psia). This is not allowed in Network (p.14)
models.
Pressure Differential
Pressure increase (positive) or decrease (negative) across the compressor. The default is 10,000
psia.
Pressure Ratio
Discharge pressure / suction pressure ratio. (Pout/Pin) The default is 1,000.
Power (shaft power) (default unlimited).
Power of the compressor.
Route
Select one of the following options: (see also Reciprocating Compressor (p.63))
User Guide
62
Adiabatic compressor follows an adiabatic (no heat transfer) compression process (the
default). This is available for blackoil modeling and compositional modeling.
Polytropic compressor follows a polytropic compression process. This is available for black
oil modeling and compositional modeling. This is the default for the black oil model.
Mollier compressor follows an isoentropic (no change in entropy) compression process. This
is available for compositional models only, it is their default.
User Guide
63
3. Add at least two Suction Pressure versus FlowRate performance curves (p.132) for a range of discharge
pressures covering all likely eventualities. These two curves can be identical if required
Adding a Reciprocating Compressor to a PIPESIM-Net Model
The compressor must exist in its own PIPESIM-Net branch. That is, no other piping, equipment, and so on
can be present.
To add a compressor to a model, do the following:
1. Double-click on the compressor icon and select User Curves.
2. Choose the required reciprocating compressor from the PIPESIM database and enter the operating
speed.
3. Leave all other compressor parameters (Discharge Pressure, Pressure Differential, and so on) blank.
Note: If the model has two or more reciprocating compressors in 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.
Engine Keyword Tool
Placing an Engine Keyword Tool (EKT) in the model allows access to the PIPESIM Input Language
(p.450). This is a powerful input language that gives direct access to the calculation engine via the GUI,
reducing the need for you to embark on the more complex Expert mode, or Keyword mode. Expert mode
is where keywords are entered directly into a text file and the calculation engine processes the contents of
the file to produce results.
The EKT can be used in the following situations:
to access new features that do not have an entry mechanism in the GUI yet.
User Guide
64
flowrate, and efficiency for a range of expander speeds. If expander curves are used, therefore, the
expander speed and number of stages become additional factors.
Enter at least one of the following parameters:
Discharge Pressure
Pressure at the expander outlet (not allowed in Network (p.14) models). (The default is 20 psia.)
Pressure Differential
Pressure increase (positive) or decrease (negative) across the expander. (The default is 10,000
psia.)
Pressure Ratio
Inlet pressure / discharge pressure ratio.(Pin/Pout). (The default is 1,000.)
Power
Shaft power, the power of the expander. (The default is unlimited.)
Route
Adiabatic (p.330)
Polytropic (p.330)
default for black oil model
Mollier (p.330)
default for compositional models
Efficiency
Efficiency of the expander (default =100%).
The remaining quantities are calculated using centrifugal expander equations. If more than one value is
supplied, the parameter which leads to the smallest expander differential pressure is used, and all other
supplied parameters are discarded.
See also keywords (p.509)
User Curves
Select the User Curves check box to specify that an expander curve is to be used. This displays the
parameters listed below:
Select
Select the expander curve to use from the database (p.133).
% Speed
If an expander curve is supplied, the % speed may also be specified. This is used to adjust the
supplied curve against its specified speed. 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". See Data Entry (p.131) for entering curve
data.
Flowline Details
Placing a flowline in the model allows modeling of horizontal or near-horizontal flow (up or downhill). Heat
transfer (p.70) can be modeled by entering or computing an overall heat transfer coefficient (U value).
User Guide
65
Each flowline has fixed characteristics in terms of inner diameter, outer diameter, roughness, and so on. If
any of these dimensions changes along the pipeline length, add an additional flowline object to the model.
Double-click the flowline to view its Properties tab. The flowline's profile (distance elevation) can be defined
by either a simple (p.66) or detailed (p.67) model. Specify which to use, using the Preferred Pipe
Description list. The simple model is often used when an initial model is being developed and the exact
profile of the flowline is unknown. When additional data becomes available, you can switch to the detailed
model.
Simple model
User Guide
66
Ambient Temperature
the surrounding ambient temperature for the complete flowline. If this value changes significantly
part way along the flowline, add a second flowline object..
Once the flowline details have been entered its profile can be plotted using the Schematic button.
Detailed model
User Guide
67
Flowline Properties
Use Setup Flowline Properties.. to display, edit and sort flowline details in a model. The following
parameters can be edited using this view:
Distance
horizontal distance of the flowline. This cannot be changed if the detailed profile model has been
used to define the flowline.
Elevation Difference (+ve for uphill, -ve for down hill).
this cannot be changed if the detailed profile model has been used to define the flowline.
ID
Inside Diameter
Wall Thickness
pipe wall thickness
Roughness
pipe roughness
Ambient Temperature
surrounding ambient temperature. This cannot be changed if the detailed profile model has been
used to define the flowline
Use Detailed Profile
If this is set, the flowline has been defined in detail and the Distance, elevation difference and
ambient temp cannot be changed here.
Other data associated with a flowline can be edited by selecting the required flowline and using the
Edit... button. This displays the normal data entry screens for a flowline.
Heat Exchanger Details
Adding (p.13) a heat exchanger in the model allows a fluid temperature and/or pressure change to be
modeled. Double-click the Heat Exchanger to view the options.
Temperature Change
To model a temperature change, do the following:
1. Specify the temperature effects of the heat exchanger on the flowing fluid.
Note: The heating or cooling media itself is not modeled.
2. Select the parameter to use from the following and enter a value for it:
Discharge Temperature
a fixed flowing fluid outlet temperature
Temperature differential
temperature increase (positive) or decrease (negative) across the heat exchanger
User Guide
68
Duty
enthalpy change across the exchanger (positive values mean that heat is added to the fluid)
Pressure Change
To model a pressure change, do the following:
1. Specify the pressure effects of the heat exchanger on the flowing fluid.
2. Select the parameter to use from the following and enter a value for it:
Discharge Pressure
a fixed flowing fluid discharge (outlet pressure)
Pressure Drop
pressure decrease (negative) across the heat exchanger
See also: How to add objects (p.13)
Equipment
Adding an equipment item to the model allows simulation of a generic unit operation, in which the pressure
and/or temperature of the stream are modified.
To configure the equipment, double-click it to view its Properties tab.
Route
Specify the thermodynamic mode of operation of the equipment. This is used to calculate the fluid outlet
temperature. The options are:
Isenthalpic
Constant enthalpy (the default)
Isentropic
Constant entropy
Isothermal
Constant temperature
For instance, to simulate chokes and the Joule-Thomson cooling across pressure reduction valves, the
most appropriate choice is isenthalpic.
Temperature Change
Use this to specify the temperature effects of the equipment on the flowing fluid.
Note: The heating or cooling media itself is not modeled.
Select one of the following and enter a data value:
Discharge Temperature
a fixed flowing fluid outlet temperature
Temperature differential
temperature increase (positive) or decrease (negative) across the equipment
User Guide
69
Duty
enthalpy change across the equipment (positive values mean that heat is added to the fluid)
Pressure Change
Use this to specify the pressure effects of the equipment on the flowing fluid.
Select one of the following and enter a data value:
Discharge Pressure
a fixed flowing fluid discharge (outlet pressure)
Pressure Drop
pressure decrease (negative) across the equipment
See also: How to add objects (p.13)
Heat Transfer
Heat transfer between the fluid and surroundings occurs, depending upon the temperature gradient. To
configure this, right-click on a flowline and select Data, then select the Heat Transfer tab.
There are two options for modeling the heat transfer:
Input U value (p.70) you enter an overall heat transfer coefficient (U value) based upon the pipe
outside diameter.
Calculate U value (p.70) the heat transfer coefficient is calculated from entered pipe and conductivity
data.
Input U value
You can select the most appropriate U value, or use a default value for an insulated, coated or bare flowline.
Note: These values only apply when the simple view (p.66) is used. When the detailed view (p.67) is
selected, the U values are entered directly into the detailed view spreadsheet. The U value is based on the
pipe outside diameter and reported in the output file. To allow the value to be reported at a different reference
point, use the HEAT HTCRD (p.553) keyword through the EKT (p.64).
In addition the Inside Film Coefficient (IFC) can either be included in the overall U value, or calculated
separately and added to the U value.
Calculate U value
Detailed heat transfer input and output information can be obtained by selecting Setup Define Output
and then selecting the heat transfer options in the Define output (p.120) dialog.
Enter the following information to compute the overall Heat Transfer coefficient:
Pipe coatings
Up to 26 pipe coatings can be added in the table. For each pipe section, specify the following:
User Guide
70
Compositional (p.101)
Temperature
temperature of the incoming fluid at the injection point
Rate
incoming liquid/mass/gas rate (this can be entered at stock tank or flowing conditions using the "@"
button).
User Guide
71
In a network model a stream removed at the separator can be reinjected using the re-injection tool
(p.530).
Important Notes
Note the following:
The injected fluid type must be consistent with the main fluid type set in the model.
The injection fluid toolbox can be used anywhere within the model; at the surface, or in the tubing as a
downhole object.
Multiphase Boosters
Multiphase boosters can be used where the fluid contains both liquid and gas phases. A number of models
for booster performance are available, based on the different types of booster available on the market:
Generic (p.73)
72
Pressure Ratio
the multiphase pump pressure ratio is the absolute discharge pressure divided by the absolute
suction pressure (pressure ratio is always greater than one) (default 1,000)
Power
power available for pump (default unlimited)
When differential pressure, pressure ratio, or discharge pressure is specified, the program calculates the
required power for multiphase boosting. Alternatively, when power is specified the program calculates the
differential pressure (or pressure ratio or discharge pressure) that can be developed by the booster. When
more than one variable is specified, the program determines the "most limiting specification" during the
course of the simulation, and recalculates the other parameters.
As the generic booster is modeled as a parallel pump/compressor, you can define both pump efficiency
and compressor efficiency as percentage values; the defaults are 100%. Typical efficiency values
(p.343)
The output provided using the generic multiphase booster option includes the calculated total power
requirement, as well as its constituent shares of compression power and pumping power. See also MPUMP
keyword (p.522).
Twin Screw Boosters
After adding a Multiphase booster, double-click it to open the Multiphase Booster dialog. In the
Properties tab, select a multiphase booster type from the list .
The following twin screw multiphase boosters are available:
Generic Twin Screw Multiphase Booster
In essence, this option provides the same functionality and input (p.72) as the generic type multiphase
booster, but rather than assuming a parallel pump/compressor process, actual twin screw multiphase
booster performance data is used to predict pump performance.
Based on actual pump operating conditions, the program selects a suitable pump from the generic database
available in PIPESIM and calculates performance accordingly. Note that, using the generic twin screw
multiphase booster option, you do NOT specify a pump model, but leave it to the program to select a
suitable pump for the operating conditions. If different operating conditions need to be investigated, the
program may select a different pump for each of these; if you want to investigate the performance of one
specific model under all these operating conditions, use one of the modeling options below.
Based on the calculations performed under this option, the main parameters characterizing the multiphase
booster operating point are provided in the output reports or plots. These include booster speed (as a % of
nominal speed), total volumetric flow rate at booster suction, gas volume fraction (GVF) at booster suction,
booster differential pressure, and booster power requirement. In addition, the program suggests which
pump to select from the generic pump database for a more detailed investigation.
Twin Screw Multiphase Booster
This option is based on nominal capacity data only, rather than offering a detailed model booster from vendor
catalogues or similar. This approach provides sufficient detail for you to make a first assessment, does not
require you to fully know all of the booster models available for use. It lets you progress your studies without
requiring detailed vendor information. If you wish to simulate a specific vendor model, use the user
defined curve.
User Guide
73
The generic database contains performance data for seven different twin screw multiphase booster models.
Rather than asking the program to select a suitable pump for investigated operating conditions, you can
preselect one of these seven boosters and assess its performance under different operating conditions.
This lets you, for example, study the effect of the same booster under different operating conditions (for
example, later in field life with lower reservoir pressure), or study the effect of changes to pump operations
(for example, the effect of changes in pump speed). Unlike the Generic Twin Screw Multiphase Booster
(p.73) option, this option therefore allows you to explore the operating envelope of a specific pump model.
The seven different twin screw multiphase boosters available from the generic database in PIPESIM are
characterized by their theoretical flow rate at 100% speed, typically referred to as 'booster capacity' or
'nominal capacity'. It is the flow rate of the selected booster when operated at 100% speed and zero
differential pressure (that is no internal leakage). The seven nominal capacities available are:
100 m3/h
250 m3/h
500 m3/h
700 m3/h
1000 m3/h
1400 m3/h
2000 m3/h
Performance curves in the PIPESIM generic database are provided for different values of booster speed,
suction pressure and GVF at suction. Where actual conditions do not exactly match the conditions for
which the performance curve is supplied, the program interpolates as appropriate.
Performance curves in the PIPESIM generic database are valid for a liquid viscosity of 6 cSt. For
viscosities different from this, the program incorporates a module to make the required corrections.
User Guide
74
vendor, or when a booster has already entered field operation, but you want to explore the effects of
changing operating conditions or booster operations for that specific pump and system where the booster
is placed in.
Obtain the booster data file from the vendor. Enter the location of the file in the Full Path of Vendor File
box.
In the % speed box, you can also specify booster speed as a percentage of nominal speed; the speed
range a specific booster model can operate at is typically from 50% to 110% of nominal booster speed.
Note: Schlumberger does not supply any vendor data file, but please contact us for more details. See also
Vendor Performance Curve Format. (p.80)
Framo 2009 Helico-Axial Multiphase Booster
See also Multiphase Boosting Technology (p.332), FRAMO 2009 (Optional) (p.512).
The Framo 2009 pump model supersedes the earlier 1999 model (p.78). You can select the Framo 2009
Multiphase Booster from the list in the Multiphase Booster dialog box.
Pump performance is defined by pump data files provided by Framo (p.442). The pumps are classified
based on their nominal capacity and maximum pressure differential achievable. The nominal capacity refers
to the total volumetric flowrate (gas & liquid) at suction conditions and is thus dependent on suction pressure
and fluid properties. The quickest way to determine the pump requirements is to first model the system
using a generic multiphase pump (p.72) based on expected operating conditions and inspect the summary
or output file to determine the total volumetric flowrates at the suction.
The following pumps are available as part of the standard Framo catalog:
Pump
Maximum DP
mm
in
m3 / h
m 3 / day
310
12.2
250
6000
310
12.2
400
9600
310
12.2
500
12000
75478
310
12.2
500
12000
310
12.2
600
14400
310
12.2
700
16800
105669 45
310
12.2
800
19200
310
12.2
900
21600
135860 45
653
310
12.2
1100
26400
166051 45
653
310
12.2
1100
26400
360
14.2
1200
28800
181146 38
551
360
14.2
1500
36000
226433 38
551
360
14.2
1800
43200
271719 38
551
User Guide
75
BBL/d bar
45
psi
653
653
Note: The numbers in the pump name refer to impeller diameter (mm); nominal capacity (m3/hr); Max. dP
(bar).
New files can be added if they become available, as follows:
1. Add any new file to the Framo pump directory (for a default installation this is C:\Program Files
\Schlumberger\PIPESIM\Data\framo09).
2. Update the index of pump files to reference the new file; see the file pipesim_framo.xml in the above
directory for more details.
Modeling the Pump
All types of multiphase boosters allow standard operating constraints to be defined. The user may enter
any combination of the following parameters or none at all. Note that 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 is specified, the limit of pump
performance will usually be the speed, and which will in this case be 100%; or otherwise the DP limit for
the specific pump model.
Discharge pressure: Pressure at the pump outlet. Not allowed in Network models and generally not
advisable to specify. The default is 20,000 psia.
Pressure differential: Pressure increase across the pump. The default is 10,000 psia.
Pressure ratio (Pout/Pin): Discharge pressure / suction pressure ratio. The default is 1,000.
Power (shaft power): Power available for the pump. The default is unlimited, though it may be constrained
by the selected pump model.
For example, when differential pressure is specified, the program will calculate the required power for
multiphase boosting, or alternatively when power is specified the program will calculate the differential
pressure that can be developed by the pump. When both values are specified, the program will determine
the "most limiting specification" during the course of the simulation, and recalculate the other parameter.
When none of the two operating parameters are specified, the program will calculate the differential pressure
that can be developed by the selected pump for the prevailing suction conditions.
There are several operating parameters specific to the Framo 2009 Multiphase booster which may be
optionally supplied. These include:
Tuning factor: This is a 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 in parallel: Used to simulate multiple identical pumps operating in parallel (equal flow
split between pumps). Allowable range is from 1 to 7.
Speed Limit: Allows the user to specify a maximum speed limit for the pump. Allowable range is from
20% to 100%.
Flow in recirculation: Allows the user to specify the quantity of flow in recirculation.
It should be noted that if the required flowrate through the pump is less than the minimum required the
amount of fluid recirculated through this pump to achieve the minimum rate is automatically added.
Output
User Guide
76
Based on the calculations performed, parameters characterizing the multiphase pump operating point are
provided in the summary and output reports and available as system plot variables. These include:
Pump speed
Power requirement
Suction pressure
Liquid density
Liquid viscosity
User Guide
77
The operating point is displayed on the map. Several scenarios are illustrated.
B. Pump is limited by a speed constraint. Since the operating point falls to the left of the minimum flowrate
line, some fluid is being recirculated.
User Guide
78
infinity, values FQ>1 typically indicate that more than one pump is in parallel operation. The default
value for FQ is 1.0.
Head Parameter (FZ)
The pump head parameter determines the number of stages inside the multiphase pump relative
to a reference pump; FZ=1 denotes a pump with a number of stages equal to the maximum number
of stages in the reference pump. The range of values for FZ is 0 to 1.0. The default value for FZ is
1.0.
Based on the values for FQ and FZ, the program will calculate the required booster speed for the prevailing
operating conditions. Booster speed is shown as pump speed parameter FN, being the speed expressed
as a fraction of the pump maximum continuous speed. FN is recommended to have values within the range
of 0.50 - 0.85.
A value for FN significantly larger than 0.85 means that the pump is running at an unnecessary high speed
because the actual multiphase flow rate is higher than the flow rate recommended for the selected pump.
It will not be harmful to run with FN>0.85, but there will be no extra margin to further increase speed should
operating conditions require it. Therefore, for initial screening purposes, a maximum value of FN = 0.85 is
rather prudent.
A value for FN smaller than 0.50 means that the pump is running at an unnecessary low speed because
the actual multiphase flow rate is lower than the flow rate recommended for the selected pump.
The differential pressure developed by the booster is proportional to pump head, which is dependent on
the number of stages and pump speed. With pump speed targeted to be between 50 and 85% of the booster
maximum continuous speed, changes to pump head are mainly implemented by changing the number of
stages within a pump. The number of stages is reflected in pump head parameter FZ; the larger the value
of FZ, the higher the number of stages.
The differential pressure developed by a single multiphase pump is set to be no greater than 70 bar, the
maximum available differential pressure for the multiphase booster.
Whereas the selection of pump driver type is straightforward, the selection of a suitable pump flow rate
parameter FQ and pump head parameter FZ is somewhat more complicated. For this reason, you have the
option to omit suggested values for FQ and FZ in the first instance, upon which the program (once a
simulation has been run) will recommend values for FQ and FZ. If FQ and FZ are entered by the user, the
program will perform the simulation on the basis of the pump model as defined by those parameters.
For pump operating conditions, you can enter any of the following values, or a combination of these:
Pressure Differential
pressure differential across multiphase pump
Power
power available for pump
When differential pressure is specified, the program will calculate the required power for multiphase
boosting, or alternatively when power is specified the program will calculate the differential pressure that
can be developed by the booster. When both values are specified, the program will determine the "most
limiting specification" during the course of the simulation, and recalculate the other parameter. When none
of the two operating parameters are specified, the program will calculate the differential pressure that can
be developed by the selected booster for the prevailing suction conditions and associated shaft power
requirement; the thus calculated operating point will be on the 'best efficiency line' as shown in the user
guide.
User Guide
79
Based on the calculations performed under the option 'helico-axial multiphase booster', main parameters
characterizing the multiphase booster operating point are provided to the output reports or plots, and include
booster speed parameter, total volumetric flow rate at booster suction, GVF at booster suction, booster
differential pressure and booster power requirement. In addition, PIPESIM has the option to download the
simulation output onto a multiphase pump process data sheet. This will therefore allow multiphase pump
operating conditions to be communicated and further information to be obtained by the user directly from
the vendors. See also FMPUMP (p.512) keyword.
Vendor Performance Curve Format for Twin Screw Multiphase Pumps
PIPESIM allows you to model the behavior of twin screw multiphase pumps by defining a set of performance
curves. These curves specify volumetric rate/dP performance and associated power requirement to account
for variations in pump speed, suction pressure and GVF at suction conditions. The following sensitivities
are suggested:
Gas Volume Fraction
0%, 20%, 50%, 70%, 85%, 95%
Speed
50%, 70%, 80%, 90%, 100%
Suction pressure
1 bara, 10 bara, 50 bara
The first line of the file must be:
Booster Performance Data
User Guide
80
70 1582 4041
PSP250 2000 20 100 1
0 2001 134
10 1997 702
20 1991 1259
30 1979 1815
40 1960 2371
50 1930 2927
60 1911 3483
70 1892 4039
...
END
Notes:
1. The data should always be separated by at least once character space.
2. Comment lines (beginning with a "!") and blank lines can be used to make the table easier to read. They
will be ignored by the program.
3. The Model name should contain at least one non numeric character to allow the program to determine
where each set of curve data begins and ends.
4. The maximum number of different nominal flow rates (NomQv) is 10.
5. The maximum number of different GVF values is 10.
6. The maximum number of different speed values is 10.
7. The maximum number of different suction pressure values is 10.
8. There must be one curve for each combination of nominal flow rate, GVF, speed and suction pressure.
9. There must be at least two points on each curve.
10.The total number of curve points must not exceed 10000.
11.There should be no stationary points on the curves, that is, for each curve the dP values should increase,
the Qvol values should decrease and the Power values should increase.
Multiplier/Adder Details
Only use a Multiplier/Adder in a single branch model, not in the network module.
A Multiplier/Adder is a rate change device that can increase or decrease the fluid flowrate at that point in
the system. All fluid properties remain the same as those upstream of the object. The flowrate units (for the
adder) are the same as those specified for the source flowrate (that is liquid or gas), as set by an operation.
For example, if the operation sets the flowrate as 1,000 STB/d then the adder will add x STB/d.
Double-click the Multiplier/Adder to set the following properties:
Adder
values > 0 apply a rate increase, < 0 apply a rate decrease
Multiplier
values > 1 apply a rate increase, < 1 apply a rate decrease.
User Guide
81
Note: This feature cannot be used when the feed flowrate is computed.
Riser Details
Placing a riser in the model allows the modelling of vertically or near-vertical flow (up, down or inclined).
Heat transfer (p.70) is modeled by either entering or computing an overall heat transfer coefficient (U value).
Note: The direction of the riser on the screen has no effect on the flow direction. If the riser is defined as
going downhill, the elevation difference MUST be set to a negative (-ve) value. To model a riser going uphill,
the elevation difference must be set to a positive (+ve) value. Take care to ensure that the correct sign is
used, as the definition of up or downhill depends on your starting point!
User Guide
82
Elevation difference
the change in elevation between the start (source end for a single branch model) and the end of
the riser. Enter a negative value for a downhill riser and positive for an uphill one.
Inner diameter (ID)
the riser inner diameter for the complete riser. If this value changes significantly part way along the
riser then a second riser object should be added.
Wall Thickness
the wall thickness, excluding any coatings for the complete riser. If this value changes significantly
part way along the riser then a second riser object should be added.
Roughness
the absolute pipe roughness for the complete riser. Typical values (p.428). If this value changes
significantly part way along the riser then a second riser object should be added.
Ambient temperature
the surrounding ambient temperature for the complete riser. If this value changes significantly part
way along the riser then a second riser object should be added.
Once the riser details have been entered, its profile can be plotted using the Schematic button.
Detailed profile
Provide the following information:
Distance / Elevation
Node points detailing the riser profile. This can be cut and pasted from another spreadsheet
application.
Ambient temperature profile (optional), at the point specified.
First and last nodes MUST have a temperature defined.
Heat transfer profile (optional).
First and last nodes MUST have a U value specified defined. If the option to calculate the U value
has been invoked then this column will show "calc".
Inner diameter (ID)
the riser inner diameter for the complete riser. If this value changes significantly part way along the
riser then a second riser object should be added.
Wall Thickness
the wall thickness, excluding any coatings for the complete riser. If this value changes significantly
part way along the riser then a second riser object should be added.
Roughness
the absolute pipe roughness for the complete riser. Typical values (p.428). If this value changes
significantly part way along the riser then a second riser object should be added.
Label
A text field that can be used to identify key points in the riser. These will then appear in the main
output file.
User Guide
83
Once the riser details have been entered, its profile can be plotted using the Schematic button.
Gas lift in the riser
PIPESIM can be used to model the common situation of gas lifting at the riser base.This is becoming a
common technique in the industry.
As the riser object does not have a location to enter the gas lift location or the gas lift quantity, you may
insert a tubing to "represent" the riser. By doing this the gas injection location and quantity can be specified.
In the tubing dialog, set the parameters as follows:
1. wellhead TVD to 0 - represents the top of the riser
2. riser height in the (TVD) perforations field
3. Artificial lift to single injection point
4. gas lift injection point
5. gas injection quantity (under the single G'L valve button) or a sensitivity variable in one of the operations
6. Riser diameter (using tubing configuration)
7. Ambient temperature at the top and base of the riser (using the Ambient Temperature field on the
Tubing dialog, Properties tab).
8. For clarity the objects identified can be changed to, say, "Riser 1" from "Tubing 1".
Note: If the artificial lift operation is to be used then in addition to the above the "normal" tubing, must be
replaced with a riser object (this is due to the artificial lift dialog assuming that gas lift will be allocated to
the first tubing after the completion ) . Other operations allow the required tubing object to be set and do
not need this change.
Report Tool Details
Placing a report tool in a single branch model gives additional reporting of the conditions at that point in the
model. To do this, click the Report Tool icon on the main toolbar, then click on the model. Double-click the
Report Tool object to open its Properties tab. There is a check box for each report item available, as listed
below. Select the box for each item you want to report on.
Flow Map
This applies to multiphase flow regions only. If this box is ticked, a high resolution map is produced,
showing the multiphase flow regimes plotted against superficial liquid and gas velocities. Note that
the map is scaled so that the operating point is always inside it. To display a map, select
Reports Flow Regime Map and select it in the list of available maps. The list shows all available
maps for the case that has been run.
Phase Split
This applies to compositional cases only. If this box is ticked, a table is printed in the output file,
showing the constituents of each phase.
Stock Tank Fluid Properties
If this box is ticked, a table is printed in the output file, showing various fluid properties such as gas
and liquid volumetric flowrate at stock tank conditions.
User Guide
84
85
Note: To remove both gas and water place two separators in the model.
See also: How to add objects (p.13)
Track all streams from separator
A stream can only be removed from the system by the separator. The removed fluid is normally lost to the
model, but it can be reinjected into the network by using the reinjection tool (p.530). All the fluid removed
at the separator is reinjected. (To only reinject a percentage of the removed fluid then the multiplier/added
(p.81) object should be used in the separated branch.
The following are required;
The branch that contains the separator of the fluid stream to reinject
The reinjection temperature. If this is omitted then the separator temperature is used
Pump Details
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. Built in or user-developed pump curves can be used to describe the relationship between
differential pressure, flowrate, and efficiency for a range of pump speeds. If pump curves are used, therefore,
the pump speed and number of stages become additional factors.
Enter at least one of the following parameters:
Discharge pressure
Pressure at the pump outlet. Not allowed in Network (p.14) models. The default is 20,000 psia.
Pressure differential
Pressure increase (positive) or decrease (negative) across the pump. The default is 10,000 psi.
Pressure ratio (Pout/Pin)
Discharge pressure / suction pressure ratio. The default is 1,000.
Power (shaft power)
Power of the pump. The default is unlimited.
Efficiency
Efficiency of the pump. The default is 100%.
User Curves
Select User Curves to use a performance curve for the pump. See data entry (p.131) for details of how to
enter pump curve data.
Speed
If a pump curve is supplied, the speed can also be specified. This is used to adjust the supplied
curve against its specified speed. The adjustment is made 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".
User Guide
86
Stages
Number of stages of the pump.
The remaining quantities will then be calculated using centrifugal pump equations. If more than one value
is supplied, then the parameter which leads to the smallest pump differential pressure will be used, and all
other supplied parameters will be discarded.
The main pump equations used are as follows: Hydraulic Power
Flowrate x Differential Pressure Hydraulic
Power = Shaft Power x Efficiency
See also keywords (p.527).
Source
The generic source object is a means by which you can specify explicit upstream boundary conditions of
pressure and temperature in a given model. By its nature, the source component is generic and must be
placed upstream of the first component in any model. Examples of where a source component can be used
to emulate input boundary flow conditions include:
Note: The generic source object can be used in place of a well performance model or horizontal well
performance model in cases where reservoir inflow is a fixed value relationship. More details (p.87).
Pressure
Flowrate
In a single branch model, the boundary conditions are: Inlet pressure, Outlet pressure, Flowrate and Inlet
temperature. Of these the inlet temperature and two of the others must be set. Set these either by using
the source dialog or from the operation that is being performed.
The Source dialog requires the following:
Properties
Pressure
Required, but can be overwritten by the operation (p.136).
Temperature
Required, but can be overwritten by the operation.
Fluid model
This is used to set local fluid data that overrides the global setting, that is:
User Guide
87
Water cut
GOR
Example
In the single branch mode there is no sink object. The outlet of the last object (furthest from a source object)
is defined as the sink point. For example, a model with a vertical completion tubing, choke and flowline, will
have the following;
Inlet pressure
Static reservoir pressure
Outlet pressure
Pressure at the end of the flowline
Flowrate
Flowrate (liquid, gas or mass) at the model's source.
Note: The flowrate may be different at the model's sink due to a rate change device added to the
model (for example, an adder (p.81), multiplier (p.81), side stream injection (p.71), and so on).
Any of the above values can be computed. For example:
Set: static reservoir pressure and outlet pressure. PIPESIM computes the maximum flowrate that can
be obtained.
Set: static reservoir pressure and flowrate. PIPESIM computes the outlet pressure. (This is the fastest
option)
Set: static flowrate and outlet pressure. PIPESIM computes the static reservoir pressure by using the
IPR after the bottom hole flowing pressure has been determined.
Inlet Pressure
This is the pressure that exists at the inlet to the first object in the model. This table shows examples:
In a model with:
Source - Tubing - Vertical completion the well head pressure (this is an injection well)
Horizontal Completion - Tubing
Outlet Pressure
This is the pressure that exists at the end of the last object in the model. This table shows examples:
In a model with:
User Guide
88
In a model with:
Source - Flowline
Flowrate
This is the flowrate at the inlet to the first object in the model. The inlet conditions (pressure and temperature)
that the flowrate pertains to can be entered. The flowrate at the model outlet can differ from that at the inlet
if any of the following are used in the model:
Separator
Multiplier/Adder
Injection point
Flow Correlations
Select flow correlations using Setup Flow Correlations... Make the following selections for vertical and
horizontal correlation from either those supplied as standard or from a User Defined Correlations (p.495);
Correlation
The available correlations depend on the "source" selected.
User Guide
89
The operation Flow Correlation Comparison (p.138) has been specifically developed to assist with this task
of determining the most suitable flow correlation from well test data.
Data matching
If measured pressure data is available, the Data matching (p.139) operation can be used to calculate friction
and holdup factors automatically.
Suggested correlations
If no production data are available, Schlumberger have found the following to give satisfactory results in
the past:
Single phase system
Moody (p.266)
Vertical oil well
Hagedorn and Brown (p.263)
Highly deviated oil well
Hagedorn and Brown (p.263) or Duns and Ros (p.262) or OLGA-S (p.264)
Gas/condensate well
Hagedorn and Brown (p.263)
Oil pipelines
Oliemans (p.261)
Gas/condensate pipelines
BJA Correlation (p.259)
Correlation
Vertical and
Predominantly
Vertical Oil Wells
(p.261)
Highly
Deviated
Oil Wells
(p.261)
Vertical Gas/
Condensate
Wells (p.261)
Oil
Pipelines
(p.258)
Gas/
CondensatePipelines
(p.258)
yes
yes
yes
yes
yes
User Guide
90
Orkiszewski
yes
no
yes
no
no
Hagedorn and
Brown
yes
no
yes
no
no
yes
yes
yes
yes
yes
yes
yes
yes
yes
yes
Mukherjee and
Brill
yes
yes
yes
yes
yes
yes
yes
yes
yes
NoSlip
yes
yes
yes
yes
yes
OLGAS
yes
yes
yes
yes
yes
Ansari
yes
no
yes
no
no
BJA for
Condensates
no
no
yes
no
yes
AGA and
Flanigan
no
no
no
no
yes
Oliemans
no
no
no
yes
yes
Gray
no
no
yes
no
no
Gray Modified
no
no
yes
no
no
Xiao
no
no
no
yes
yes
where 'X' can be 1, 2, 3, ... 20 ; must be unique within this userdll.dat file. Each section contains lines that
start with the strings 'Filename=', 'Ident=', ; 'Title=', 'Copyright=', and 'ep1=', 'ep2=', and so on.
filename =
Specifies the filename: if no path provided, assumed to exist in same directory as PIPESIM
executables. Currently filenames must conform to ms-dos 8.3 name limits, so no long names,
special characters or; embedded spaces. In the near future 'long' names will be allowed.
User Guide
91
Title=
The title text describing the DLL, to be selectable from the Source field of the Flow Correlations
dialog.
Ident =
The SLB internal identifier string for this DLL. Must be unique within this userdll.dat file.
Copyright=
Specifies banner information to be displayed when one of these correlations is selected. First
character of banner is a line delimiter, repeat this as unnecessary to specify line breaks. Max length
254 characters.
epx =
Specifies an entry point selection in the DLL. The 'x' must be substituted for 1, 2, and so on, up to
20. This line contains 6 positional parameters separated by commas. Format is:
epx = ep_ident, ep_name, ep_link, ep_type, ep_desc, ep_opts
ep_ident : The SLB internal identifier for this selection. This string is stored in the .psm file, and
is also passed to the engine as the value of the PSNAME= keyword,. Thus it must be unique
within the userdll.dat file.
ep_name : The actual name of the subroutine or entry point as exported from the DLL: Casesensitive. N.B. The same ep_name may appear many times in different epx= lines with various
options and titles. This name is passed to the engine as the value of the EPNAME= keyword.
ep_type := 3, horiz flow; = 2 , vert flow; = 1 , horiz + vert flow. This value is used to decide where
to display this correlation in the correlations dialog.
ep_desc : Text to appear in the PIPESIM GUI dialog to allow the user to select the correlation.
May include spaces and other punctuation, except commas. This text is also passed to the
engine, enclosed in quotes, as the value of the TITLE= keyword.
ep_opts : Keyword(s) for the PIPESIM engine and/or the particular correlation. This text must
be passed to the engine as-is, enclosed in quotes, as the value of the OPTIONS= keyword. The
engine recognizes the following:
As an example:
[UserDll_32_3]
title = Olga-S 2000 Version 5.3 flow correlations, February 2008
filename = libolgas2000-5.3.dll
User Guide
92
ident = OLGA5.3
Copyright = $Olga-S 2000 Steady State Flow Correlations ver
$Copyright SPT Group AS $PO BOX 3 N-2007 Kjeller Norway $Tel
ep1 = olga3pb ,OLGAS2000_3P,7,1,OLGA-S 2000 V5.3 3-Phase,+G
ep2 = olga2pb ,OLGAS2000_2P,8,1,OLGA-S 2000 V5.3 2-Phase,+G
Fluid modelling
Fluids can be described using one of three different fluid models:
Black oil
Compositional
Steam
In a network model different fluid descriptions cannot be used. That is, the model must be either black oil,
compositional or steam. However, each source can have its own fluid properties or use shared (common)
data. Changes to the common (shared) data will results in all sources using that data being changed.
Modeling systems
You can model the following systems in PIPESIM:
Water Systems
Water systems can be modeled by specifying the fluid model as either:
Black Oil (p.96)
Set the water cut to 100% and specify the water S.G. All other properties will be ignored
Compositional (p.102)
Select the water component to water and set its molar rate to 1.
User Guide
93
Compositional fluids
Table fluids
PVT file this can contain table information, for table fluids, or compositional information, for
compositional fluids, or both
Compositional data
Menu
Yes
Compositional Fluid
Yes
Table Fluid
PVT file
MFL file
Setup MFL
File...
Yes
User Guide
94
Alternatively, in a network model, select Setup Fluid Models.... To edit a fluid, double-click its row.
Local overrides
For black oil or compositional fluids, once a local fluid has been defined, the surface phase ratios can be
changed without editing the fluid properties
To set the phase ratios:
1. Right-click on the source / completion icon.
2. In the menu displayed, select the Fluid Model option and select Override fluid model parameters .
3. Enter the data.
Alternatively, in network models, select Setup Fluid Models....
This allows access to the watercut and GOR/GLR/OGR/LGR entry fields. Data entered here overrides the
local or default fluid data. This is especially useful for multi-zone wells or networked wells that have the
same [default] fluid properties but different watercut, and so on. For compositional fluids, the composition
will be modified to give the correct phase ratios, in a similar manner to GLR matching.
Water
Dry Gas
Condensate
Volatile Oil
User Guide
95
Note: The external database base is used only as a data storage system to allow data to be transferred.
It should be regarded as allows the black oil data set to be imported and exported. The actual (black oil)
data for a source is stored locally with the source. For example the database could be located on a LAN
and the model on a PC. When the PC is disconnected from the LAN the model will still run as the black oil
data for the sources is stored within the model. Thus, if the database set is changed the local source data
is not affected.
Exporting a data set
To export a data set to the database:
1. Select Setup Black Oil.
2. In the Black Oil properties dialog, set the required data, include and viscosity or calibration data.
3. Provide the data set with a name and description.
4. Click the Export button. A confirmation dialog appears.
The data set can now be shared.
Importing a data set
To import a data set, for a source, from the database for a Network model:
1. Select the source (or sources). To make multiple selections, hold down the Shift key while selecting the
objects.
2. Right-click and select the Fluid Model option from the menu displayed.
3. Deselect the Use Default Black Oil set option.
4. Click Import.
5. Select the name of the fluid to import, take a copy of, the data from the database to the local source. It
does not point to the data set in the database. That is, if the data in the database is changed, the black
oil data for the selected source is not changed.
96
GOR/GLR
Gas oil/liquid ratio for oil systems (default not set).
OGR/LGR
Oil/liquid ratio for gas systems (default not set).
Gas S.G.
Gas specific gravity (default 0.64)
Water S.G
Water specific gravity (default 1.02)
API/DOD
API/Dead oil density (default 30 API and 54.68 lb/ft3)
See also Database Sets (p.95), Calibration Data at Bubble Point (p.98), Solution Gas Correlations
(p.363), Coning (p.367), Viscosity data (p.368), Advanced Calibration Data (p.98), Contaminates
(p.101) and Thermal Data (p.101).
User Guide
97
Either OFVF, density and Live oil viscosity, Gas viscosity and Gas Z factor at or below the bubble
point.
A calibration factor (p.572) is then computed for each property. The effect of the measured data can be
further examined by plotting the PVT data.
Correlations
See the Technical Description (p.361).
User Guide
98
Oil Formation Volume Factor (OFVF) (p.360) . This is the ratio of the liquid volume at stock-tank
conditions to that at reservoir conditions.
Density
At Bubble point
Enter the oil saturated gas content at a known temperature and pressure (for example at reservoir
conditions) to allow calibration of the black oil model. The required correlation (p.360) can also be selected.
Sat. Gas
Quantity of gas which will dissolve in the oil, and saturate it, at a given pressure and temperature.
At or Below the Bubble point
Select the property in the list and enter data for it. The required correlation (p.360) can also be selected.
The options are:
Oil Formation Volume Factor (OFVF) (p.360) The ratio of the liquid volume at stock-tank conditions
to that at reservoir conditions.
User Guide
99
Oil formation volume factor (OFVF) (p.360) . This is the ratio of the liquid volume at stock-tank conditions
to that at reservoir conditions.
Density
In the Correlation (p.98) list, select the correlation to use for each property.
Plot PVT Data
This produces a plot of properties as a function of pressure versus temperature.
Plot Calibration Data Points Only
Displays a plot of the calibration data.
@ Laboratory Conditions- GOR = GSAT.
This sets the GOR to that as defined by the Saturation Gas value under the Bubble Point data
section on the main Black Oil dialog.
User Guide
100
@ Reservoir Conditions
Uses the GOR as defined under the GOR value on the main Black Oil dialog.
Generate tables
The output file (*.out) will contain tables of the properties as a function of pressure and temperature.
More details (p.572).
Thermal Conductivity
3. Select the Black Oil Enthalpy Calculation method (p.378) to use. Currently, there are two options:
1983 Method
2009 Method for this option, you are asked to supply a Specific Latent Heat of Vaporisation.
Compositional Template
Multiple fluids can be used in both network and single branch simulations. For example, in a network model
each source or well can have a separate fluid. In a single branch model, an injection fluid can be different
from the fluid in the branch. At the same time, PIPESIM allows users to select a variety of fluid packages,
components, thermodynamic and transport models, to describe compositional fluids. However, it is
important that there is some consistency between all the fluids used in a model, to ensure they can be
mixed. The Compositional Template imposes a consistent global set of properties on all fluids in the model.
Creating a compositional fluid is therefore a two stage process, as follows:
1. Define (or update) the compositional template by selecting Setup Compositional Template.
User Guide
101
the total number of components used by all fluids is less than the limit for the package
the thermodynamic and transport models are consistent for all fluids
Import the entire template from the file. This removes any components already in the template, and
changes all the template compositional property models (p.105) (EoS, Viscosity etc.)
Import just the components. This adds any new components in the file to the template. It does not remove
any existing components from the template, and does not affect the template compositional property
models (p.105).
Import just the models. This only changes the template compositional property models (p.105)
(Equations of State, viscosity, and so on.)
DBR
REFPROP v8.01c
The SIS Flash / E300 flash package is provided by Schlumberger. This is the same PVT package that is
used by other Schlumberger products such as ECLIPSE Compositional, PVTi, VFPi and so on.
User Guide
102
See also: Viscosity (p.368), Binary Interaction Parameters (p.106), Emulsions (p.106), Equation of State
(p.387), Technical Description (p.101)
Selecting Components
Three types of component are available: aqueous, library components and petroleum fractions (p.103).
However, note that the maximum number of components allowed is as follows:
50 for Multiflash
20 for NIST Refprop flash. This excludes water, which can be added to make 21 in total
To change components, select Setup Compositional Template and then select the Component
Selection tab.
To select the library components, click on each required component in the list, then on Add>>. This adds
the selected components into one of the Selected Components lists on the right hand side of the window.
All but the aqueous (p.396) components will appear in the Hydrocarbons list. (Aqueous components are
displayed in blue.)
To define a Petroleum fraction (p.103), specify its name and relevant characterization parameters. Once
the petroleum fraction data has been entered, it MUST be added to the component list. To do this, click
Add to Composition>>.
To remove an unwanted component from the spreadsheet lists, do the following:
1. Click on the row number to the left of the component name in the spreadsheet. This highlights the whole
row.
2. Click <<Delete.
Petroleum Fractions
Oil systems contain in reality many thousands of pure components, consisting of a spectrum of molecules
with different carbon numbers and exponentially increasing numbers of different isomers of each. It would
be impossible to model the behavior of such systems by explicitly defining the amount of each of these
molecules, both because of the excessive computing power needed and the fact that laboratory reports
could not possibly supply all this information. Luckily, since the alkane hydrocarbons are non-polar and
therefore mutually relatively ideal, lumping them together in the form of a number of 'pseudo-components'
results in fairly accurate phase behavior and physical property predictions.
Petroleum fractions are normally defined by splitting off sections of a laboratory distillation of the C7+
mixture. Curves of boiling point, density and molecular weight are produced from which the properties of
the individual pseudo-components may be derived. The default characterization parameters are boiling
point (BP), the molecular weight (MW) and the specific gravity (SG). The maximum value allowed for the
specific gravity in PIPESIM is 1.3.
There is an alternate specification for users, with additional information in the form of critical temperature
(TC), critical pressure (PC) and an acentric factor.
User Guide
103
Note: Unless all the properties are set, they may be overwritten. For example, if you set MW, SG, TC, and
PC, but do not specify BP, the input values of TC and PC are overwritten.
For SIS Flash
Typically BP, MW, SG, etc. The minimum data that must be entered are either
For SPPTS
Typically BP, MW, SG, etc. The minimum data that must be entered are either
User Guide
104
Volume Shift
Watson K factor
Equation of State models (p.387) and Binary interaction parameter (p.106) used to calculate the
following:
fugacity, to determine the phases present and the composition of the phases
density
enthalpy
entropy
User Guide
105
Model scope
Use of the same set of models and parameters for all fluids in a network or single branch simulation is
recommended, as this allows the fluids to be mixed correctly. For back-compatibility, you can define a
different model for each fluid. This facility is also useful if a network is made up of several disjoint subnetworks, where the fluids may be characterized differently. If different property models are used for different
fluids, results may be unpredictable when these fluids mix. PIPESIM chooses the property models
corresponding to the fluid with the most mass to model the mixture fluid.
To set the scope of the compositional property models, select Setup Compositional Template and use
the Property Models tab.
If the scope is set to global, the template property models are used for all fluids. If the scope is set to local,
individual property models can be set for each fluid in the Compositional Template Properties dialog.
Emulsion Viscosities
Three mixing rules have been implemented for the liquid viscosity. These are only valid for the Multiflash
PVT package.
Select one of the following options :
Woelflin (p.106)
Note: CUTOFF can be defined by you but is typically set to 60% (default)
How to...: Setup Compositional Options
See also: Package (p.102), Viscosity (p.368), Binary Interaction Parameters (p.106), Equation of State
(p.387)
Inversion method (Set to oil viscosity)
1. Use Oil viscosity at water cut less than or equal to CUTOFF
2. Use Water viscosity at water cut greater than or equal to CUTOFF
Volume ratio of oil and water viscosities
L = o 1
wcut
wcut
+ w
100
100
Eq. 1.1
Woelflin
1. Use Woelflin correlation at watercut less than or equal to CUTOFF. The correlation is defined as follows:
Eq. 1.2
User Guide
106
Note: User BIPs are not available under SIEP SPPTS or REFPROP.
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.
For Multiflash
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.
How to...: Setup Compositional Options
See also: Package (p.102), Viscosity (p.368), user-defined BIPs (p.107), Emulsions (p.106), Equations of
State (p.387)
User Defined BIPs
If you have interaction parameters available and wish to supplement or overwrite those used, you can do
this by selecting the User BIPs option.
1. After selecting the components, select User BIPs as the BIP Set
2. and then Load BIPs.
User Guide
107
This will load the default BIP (p.106) set for all the components that have been defined in the main
component list. These values can then be modified accordingly. The modified values will then be used
providing that the BIP Set is set to User BIPs.
Note: You must make sure that the BIPs you supply conform to the model definition used.
Note: Not available under SIEP SPPTS or REFPROP.
108
Care should be taken when creating (and using PVT files) to ensure that the selected Pressure and
Temperature points span the range of operating values and are correctly spaced around phase boundaries.
A check using the rigorous (p.113) option is recommended.
Saving and Restoring Data
Compositional input data can be stored in the PIPESIM model or exported to a *.PVT file. Compositional
data from a previous session may be restored by using the Import button to load it from the relevant *.PVT
file. To prevent you from accidentally overwriting the original *.PVT file, the File Name must be entered
manually. However, it should be noted that not all PVT files can be imported in the PIPESIM Compositional
GUI, only those generated by PIPESIM, or third party PVT packages (Multiflash, PVTi, SPPTS) whose
equation of states are available in the PIPESIM GUI.
Graphing the Results
The generated .PVT file is stored in PsPlot format, the standard plotting utility used by PIPESIM. All the
physical properties generated can be viewed by a separate PsPlot task.
Phase Envelope
To determine a fluid phase envelope, do the following:
1. Select Setup Compositional.
2. In the Compositional tab, enter the components, including any petroleum fractions and their
composition.
3. In the Compositional tab, click Phase Envelope.
4. The phase envelope is displayed (automatically) if appropriate, showing the following:
Dew line
Bubble line
Critical point
For the hydrocarbon lines, which include the dew and bubble lines, PIPESIM uses a two-phase stream to
perform the phase envelope. In other words, if a given compositional fluid contains aqueous components
(water, methanol, and so on), PIPESIM removes all those aqueous components from the original fluid and
only uses the remaining subset fluid to perform and display the hydrocarbon lines. However, when Multiflash
MFL files are used to perform the phase envelope, the aqueous components are not removed from the
stream. Hence, for the same compositional fluid the hydrocarbon lines may be different depending whether
the MFL file is used or not.
In addition to the above phase plot lines, when using the MFL files, the phase envelope can also display (if
appropriate).
Asphaltene locus
User Guide
109
For phase envelopes generated using the Multiflash PVT package, the maximum pressure plotted is initially
set to 300 bars for the hydrocarbon lines and 400 bars for the water and solids (hydrates, ice, and wax)
lines. These values will, if necessary, automatically increase up to 1000 bars for the hydrocarbon lines and
1200 bars for the water and solids lines.
The quality lines (p.110) can also be added.
The phase envelope can also be superimposed over the flowline temperature or pressure profile. See how
(p.196).
Comment
You can add a comment line to the fluid definition.
For a phase envelope created with Multiflash, the extent of the pressure (Y) axis can be set by using the
following keyword placed in the comment line:
**penv_pmult=n
where n is a factor. The pressure axis is then plotted to a value of n times the phase envelope cricondenbar
value.
Search
This allows the component database to be searched and sorted. To locate a specific component, enter
either its name or formula.
Show Quality lines on a Phase Envelope
To show quality lines on a phase envelope, do the following:
1. Define your composition using Setup Compositional and the Compositional tab. Include any
Petroleum Fractions.
2. Select the Phase Envelope tab.
3. Enter the quality lines that you want to view.
4. Click Phase Envelope.
Quality Lines
To add quality lines to phase envelope plots:
1. Select Setup Compositional Phase Envelope.
2. Go to the Phase Envelope tab and specify the quality line percentages that you want to see on the
phase envelope.
3. Press the Phase Envelope button.
Note:
1. Selecting the Phase Envelope button from the Component Selection tab will NOT produce quality
lines.
2. This option is not available for SIS flash.
User Guide
110
For Multiflash, two lines are plotted for each percentage value entered, one corresponding to the gas
quality and the other to the liquid quality. For example, in a Multiflash case, if the 10% line is selected,
a 10% gas quality line and a 10% liquid (90% gas) quality line are plotted together. For Multiflash,
the first Quality Line Percentage should always be 0.00%, which will plot both the bubble line (0%
gas) and the dew line (0% liquid / 100% gas).
For all the other flash packages, bubble and dew lines are always plotted, but only the gas quality
lines are plotted.
Therefore, to plot quality lines at 10% intervals, for Multiflash select (0,10,20,30,40,50), for all other
packages select (10,20,30,40,50,60,70,80,90).
Flash/Separation
Flash/separation allows a single point flash of the current composition to be performed, or a multi stage
separation.
Do the following:
1. Select Setup Compositional Flash Separation.
2. Select the Flash type and enter the (PT) conditions, press the Perform Flash button. The results are
displayed in a spreadsheet that can be copied (CTRL-C) and pasted (CTRL-V) to other applications.
Multi-Stage Separation
Multi stage separation allows the input of pressure and temperature conditions at multi stage liquid-vapor
separation levels with a final gas separation stage used to flush out any remaining liquid in the gas stream.
Each separator operates at 100% efficiency, that is the two exit streams from each stage are pure liquid
and vapor.
1. Input the conditions (pressure and temperature) for each of the stages as well as for the final gas
separation stage. By clicking on Perform Flash, the component mole fraction (in percentages) and fluid
properties of the final exit streams (liquid and gas) are displayed.
By entering the liquid stage number (1, 2, ....n) and clicking on Liquid stage, the mole fraction and
fluid properties for the liquid stage exit stream are displayed.
By clicking on Gas stage, the mole fraction and fluid properties for the gas stage exit stream are
displayed.
Clicking on Final stage does the same as clicking on Perform Flash, that is it displays the mole
fraction and fluid properties for final gas and final liquid exit streams.
User Guide
111
GLR Matching
Tune the composition to match a specified water cut and gas/oil ratio.
1. Select Setup Compositional GLR.
2. Enter all of the following:
Water cut (percentage of the liquid phase that is water) of the fluid. Water MUST be included in the
component list and expressed in a mole basis if this is set to anything other than 0%.
Pressure and Temperature at which the above conditions apply. Default is stock-tank conditions.
3. Press Perform Calculation to compute the molar flow rates of the composition to match those conditions
if this is possible. If the conditions cannot be meet then an error message is displayed. This is displayed
in the calculated column.
4. To update the main composition, press the Update Composition list button after the new composition
has been computed.
Salinity (Salt) Analysis
One of the components in the database is a "salt component". This is used to represent a salt pseudocomponent, based on sodium chloride equivalence, for use in calculating freezing point depression or
hydrate inhibition. Define the salinity content of the water. To carry out such calculations you need to provide
the amount of salt in the stream. Often the data for the salt, brine or formation/production water ion analysis
will not be available. The Salt calculator can assist.
The water content of the stream MUST be defined. The Salt component can either be added from the
component list or will be automatically added when the salt quantity has been computed.
To define the salt, select Setup Compositional Salinity Analysis. The salt can be defined in the
following ways:
Ion Analysis
a. Density (SG) of solution
User Guide
112
After entering the required data, click the Calculate button. This computes the salt quantity and adds that
amount to the component list.
Salt quantity is always in mole units.
Compositional Flashing
More details. (p.101)
Compositional Flashing determines the way in which physical properties are computed. The balance is
between speed and accuracy.
Note: This is only valid for compositional models.
Select Setup Flashing to open the Compositional Flashing tab.
Temperature Energy Balance / Physical Properties
The following methods are available for calculating compositional fluid physical properties:
User Guide
113
In most simulations, for every PP flash that is performed, there are about 5 to 10 TH flashes. Thus, these
(TH flashes) clearly have the greatest effect on speed and run time. The inaccuracies of TH interpolated
flashes are usually minimal.
The speed impact of each choice obviously depends 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" settings (that is the greatest increase
in accuracy for the smallest effect on performance) to be the following:
PP= Rigorous Flash when close to the Phase Envelope, interpolation elsewhere
User Guide
114
Steam
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.
User Guide
115
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.
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 the fluid composition specified correctly. In this case the composition is 100%
WATER. Either black oil or compositional modeling can be chosen in this situation, steam will override
this. Mass flow rates must be used with steam.
When saturated steam flow is simulated, PIPESIM will consider pressure and steam quality as given data
and it will ignore the temperature that you enter. According to the Gibbs rule, for a two-phase one-component
system, only one variable needs to be known for the system to be fully defined. When supersaturated steam
flow is modeled, both (user-defined) pressure and temperature are used.
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.
15.5 C
User Guide
116
Flowing Conditions
Flowing conditions are defined at the actual in-situ flowing pressure (P) and temperature (T).
Examples
Flowing gas flowrate
the gas flowrate at stock-tank conditions (mmscf/d), this rate does not include the dissolved gas
and therefore its value increases along the flow system due to pressure losses. If the outlet pressure
is set to 14.7 psia, then the profile will eventually converge to the stock-tank gas rate (3).
Flowing gas volume flowrate
the gas volume flowrate at in-situ flowing pressure (P) and temperature (T) (mmcf/d). This rate has
lower values than those of (1).
Stock Tank gas flowrate
the gas flowrate at stock-tank conditions (mmscf/d), this is the total gas (free + dissolved) which
remains constant throughout the flow system.
Options
Common Options
Project Data
Use Setup Project Data to enter any of the following optional information on the PIPESIM project:
Project
User
Job
Manager
Company
Work order
Client
Remarks
Units
These are the default units of measurement for the main engineering quantities which appear as a first
choice for input data. The units can be in one of the predefined data sets "Engineering" or "SI". Alternatively,
you can specify a customized set of units by selecting the Custom option.
The current selected data set can also be set so that it is the default when a new model is created. See
how... (p.118)
User Guide
117
Some custom data sets are provided. These include Canadian, Mexican and SI unit sets. These can be
imported from the "PIPESIM/data" directory.
Selecting a units set
To select the unit set, do the following:
1. Select Setup Units.... On the Set Units tab, do one of the following;
Select SI.
Select Custom and define the unit set for each property.
2. If required, click Set as Default. This makes this unit set the default used when any new model is opened.
Existing models will retain the unit that they were saved with.
Custom units
A custom data set can also be saved to a data file (*.umf) for use by other users or models. A custom set
is, by default, based on the Eng. data set. However, it can be based on the SI set if you first import the SI
set (SI.umf file). Set the required units and provide a data set name, then click Export to be prompted for
a file name and location.
The More Units>> button allows more control over the units selected.
Choose Paths
Note: Only change these entries if advised to by Schlumberger.
To change the path of any tool used, do the following:
1. Select Setup Preferences Choose Paths....
2. Change the file and full path of any the following:
Editor
can be changed to use your preferred text editor
Single branch calculation engine
can be changed if a new engine is provided by Schlumberger
Network calculation engine
can be changed if a new engine is provided by Schlumberger.
Plot
plot utility to use
Data source
database location. Note: If this is changed, close and restart PIPESIM so the changes take
effect.
118
The three options give identical results for a fully exposed pipeline. However, for a fully buried pipe or
partially buried pipe they give different results. The 2009 Method is recommended for use and is the current
default. See Further details (p.345).
Also see heat transfer. (p.70)
Inside Film Coefficient Method
You can specify the inside film coefficient calculation model to be used during heat loss calculations. You
can choose between the Kaminsky model (p.351) and the Kreith combined Reynolds number model
(p.348)
U Value Multiplier
You can specify a multiplier for user enter U-values in heat loss calculations. This is particularly useful when
performing a temperature match in a Flow Correlation Matching Operation.
Hydrate Sub-Cooling Calculation
This switch turns on the calculation and reporting of the hydrate formation temperature. The maximum
amount of sub-cooling (Hydrate formation temperature - Fluid Temperature) is reported for each branch of
a network. This can help to determine where the hydrate problem starts in the flowline.
You can plot the following:
Engine Options
To set these options, select Setup Engine Options. The parameters are as follows:
Segments per pipe length and Maximum Segment Length
These data fields allow you to set the initial maximum segment length either as a length quantity,
or as a division factor of each section. If both are specified, the smaller will be taken. The segment
may be further subdivided by the program, as required, so as to obtain a converged solution.
User Guide
119
Output Options
More details. (p.474)
Define Output
To change the options, select Setup Define Output.
Options that apply to the data reported in the main output file for a single branch (*.out) are as follows:
Primary Output Page(s)
Primary Output Page(s) typically contain the following information for each node : Distance,
Elevation, Horizontal Angle, Vertical Deviation, Pressure, Temperature, Mean Velocity, elevational
and Frictional Pressure Drop, Liquid Flowrate, Free Gas Flowrate, Liquid and Gas Densities, Slug
Number and Flow Pattern.
Auxiliary Output Page(s)
Auxiliary Output Page(s) typically contain the following information for each node : Distance,
Elevation, Pipe ID, Superficial Liquid and Gas Velocities, Liquid and Gas Mass Flowrates, Liquid
and Gas Viscosities, Reynolds Number, Liquid Volume Fraction, Liquid Holdup Fraction, Enthalpy,
Iteration Number, Flash/Table Interpolation Diagnostics.
User Guide
120
User Guide
121
User Guide
122
Custom reports are invoked by using the PIPESIM Input language (PIL) using the additional EKT
(p.450). Note: The EKT (p.64) (spanner tool) can not be used for this operation.
The sub-command CUSTOM (p.474) of the PRINT (p.474) keyword is required to create custom reports.
The keyword PRINT CUSTOM requires a list of variables to print to the custom report, these can be
determined using the PLOT SYNTAX (p.481) keyword. The codes returned from this list can then be used
as argument on the PRINT CUSTOM command.
Example 1
To obtain a list of available custom report variable, use the additional EKT option, add PLOT SYNTAX and
run the model. The output file contains a list of variables and codes for "Profile plot file, SPOT & CUSTOM
reports".
Example 2
To produce a custom report with "Horizontal distance", "Total distance" and "Elevation". In the output file
locate the codes for the required properties, in this case A, Band C. Using the additional EKT (p.450) option,
add PRINT CUSTOM = (A,B,C) (the PLOT SYNTAX can be left if required) and run the model. The output
file contains a custom report section with the variables required.
View tabular results
Tabular (text) results files are created, from the calculation engine, in standard ASCII format (*.out and
*.sum) and can be viewed by any text editor.
You can change this to use a preferred text editor using the Choose Path option (p.118).
erosional velocity
These are reported per-node in the Auxiliary Output page of the main output file, and in the profile plot
file. The maxima for the case are reported in the system plot file. The erosional velocity is the maximum
fluid velocity as recommended by the chosen correlation. The erosional velocity appears in the Auxiliary
Output page as a ratio with the fluid mean velocity, so values of 1 or greater indicate the need for attention.
To set the options, select Setup Erosion & Corrosion Properties.
Erosion
Erosion can occur in solids-free fluids, but is usually caused by entrained solids (sand). The rate of sand
production is the main determinant of erosion rate. Sand production rate is specified per-branch in a network
model. Sand produced in source or well branches will be tracked across manifolds and mixed along with
fluids, so an accurate erosion rate will be calculated without the need for you to specify the sand rate in link
branches. Sand is assumed to follow liquid production when a separator is modeled.
The following erosion models are available:
API 14 E
Salama
User Guide
123
API 14 E
The API 14 E model comes from the American Petroleum Institute, Recommended Practice, number 14 E.
This is a solids-free model which will calculate an erosion velocity only (no erosion rate). The erosion velocity
Ve is calculated with the formula
Ve =
K
0.5
Eq. 1.3
where is the fluid mean density and K is an empirical constant. K has dimensions of
mass
(length time2)
0.5
. Its default value in engineering units is 100, this corresponds to 122 in SI units.
Salama
The Salama model was published in Journal of Energy Resources Technology, Vol 122, June 2000, "An
Alternative to API 14 E Erosional Velocity Limits for Sand Laden Fluids", by Mamdouh M. Salama. This
models erosion rate and erosional velocity.
The parameters required for the model are as follows:
Acceptable Erosion rate
rate of erosion that is deemed 'acceptable'. This is used to calculate the erosional velocity. Erosional
velocity appears as a ratio with fluid mean velocity in the Auxiliary output page. The default is 0.1
mm/year.
Sand production ratio
a measure of sand production rate, as a ratio with liquid rate. Units are Parts Per Million, by volume,
against stock-tank liquid rate. If sand production ratio is zero, erosion rate will not be calculated.
Sand Grain Size
mean size of the sand grains. The default 0.25 mm.
Geometry Constant
this is the geometry dependent constant Sm. The default is 5.5
Efficiency
a multiplier used to match field data. The default is1.
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/m 3.
See also EROSION (p.506).
Corrosion
The de Waard corrosion model was published in CORROSION /95, Paper No. 128, NACE, 1995, "Influence
of liquid flow velocity on CO2corrosion: a semi-empirical model", C. de Waard, U. Lotz. It calculates a
corrosion rate caused by the presence of CO2dissolved in water. Concentrations of CO2and water are
obtained from the fluid property definitions, (black oil or compositional). The corrosion rate will be zero if
CO2is absent from the fluid, and if no liquid water phase is present.
The parameters required for the model are:
User Guide
124
Efficiency
multiplier Cc to correct for inhibitor efficiency, or to match field data
Actual pH
if supplied, this value is used instead of the calculated one.
See also CORROSION (p.505).
Engine Preferences
To change the engine preferences, select Setup Preferences Engine. The dialog this opens has two
tabs, Engine Preferences and Advanced.
Engine Preferences tab
The following Preference settings affect the running of the calculation engine and apply to PIPESIM, every
time that it is started.
Run Plot tool with single branch engine Allows the plot utility to be run and display results graphically
as the calculation engine is running. The default is on.
Run engine minimized
Add unit descriptors to the engine files When the data is written to the engine file, the units of each
property are added. The default is off.
Run engine via batch file
Advanced tab
To change these, select the Advanced tab.
Additional Single Branch Engine Command Line Parameters
The following are command line arguments for the single branch engine:
-vx Controls screen output levels. The default = -v1
-b Do not issue dialog box when simulation has finished
Additional Network Engine Command Line Parameters
The following are command line arguments for the Network engine:
-vx Controls screen output levels. The default = -v1
-b Do not issue dialog box when simulation has finished.
User Guide
125
-c
-r
Restart but do not keep branches skipped in the restart file permanently skipped. This option has to
be used ONLY with the run button in the toolbar
Network Options
Speed up the calculation engine
The engine calculations are optimized for speed at compilation time. However, there are some features that
can be used to improve performance. See also Addressing Network speed issues. (p.411)
Screen output: By default a large amount of information is written to the calculation engine window during
a simulation this, although useful in gauging the progress of the solution is slow. By adding the command
line switch -v1, very little screen output will occur and the simulation will run faster. This has been the default
since version 1.30 of PIPESIM.
Estimates
By default the engines use internally set default estimates. Changing these to better match the
conditions of the system improves the convergence and so the speed.
Restart
Running a network model by using the Restart feature, as opposed to the Run option, should also
speed up the solution. If the model has changed a lot (for example, a well was added, or a branch
or node has been re-activated), then the use of the restart facility may actually slow down the
simulation! See more (p.152).
Other techniques that can be used to speed up the overall simulation time are as follows:
Run the model from a local hard disk rather than a network drive.
Try to split the model into smaller networks, which can be solved 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 build
them in 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 by ischarge 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.
User Guide
126
If the sinks are flowrate specified, and are appearing consistently at atmospheric pressure (see
messages in engine window), try changing the boundary condition to an outlet pressure to see what
flowrate can be achieved.
If minor changes (such as flowrates, pipe dimensions, and so on) have been made to a network, use
the Restart function. However, if structural changes (such as new pipes, wells deleted, inactive branches
reactivated and so on) have occurred, run the model from scratch, or use the -r Restart option. See
Restart Model (p.152).
Before using the restart function, make a backup of the restart file (*p00.rst) in the model folder. If the
model fails to solve, the saved restart file can be used to make another attempt.
Under normal circumstances, the default user estimates are satisfactory. However, if the model has
particularly extreme flowrates and or pressures, these should be entered in the User estimates dialog
box.
When first attempting to solve a large network, increase the convergence tolerance to 5% and check
the validity of the results. If necessary, 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.
Network Iterations
To configure Network iterations, select Setup Network Iterations. The parameters are as follows:
Tolerance
The tolerance to converge the network model to. (Default 1%). A network has converged when the
pressure balance and mass balance at each node is within the specified tolerance. The calculated
pressure at each branch entering and leaving a node is averaged.
Max Iterations
The maximum number of iterations in which to try and determine a solution. The simulation will stop
after this number of iterations unless the tolerance has been met. (Default 100)
Background information
The network module uses a GNET algorithm to solve all networks. Reaching a solution involves
continually estimating and refining a matrix of results for each branch while simultaneously taking
into consideration the many sources of discontinuity within the network. These sources of
discontinuity include, dead wells, two phase vertical flow, critical flow, phase changes and flow
regime boundaries.
By default the tolerance for PIPESIM simulations is 1%. Mathematically this means that the simulation will
terminate when all of the root mean square errors for pressure and flowrate at nodes are less than 1%. If
you decrease this value then you are forcing the solver to do more calculations and produce more accurate
results. It should be noted, that for long chains of branches this error may become cumulative, resulting in
a much larger overall error across the network
User Guide
127
By default the solver will complete a maximum of 100 iterations per simulation. If after 100 iterations no
solution meeting the required tolerance has been found then solver will stop and display existing results. If
you find that a particular system is not converging then, generally, it is best to relax the tolerance rather
than increase the maximum number of iterations.
The solver makes use of convergence techniques that are tuned to suit each individual problem. These
routines are based on well accepted mathematical theorems but modified to allow for the discontinuities
that might be generated by different flow correlations, as well as those originating from the problem
specification. However, as a result of the inherent difficulties associated with sources of discontinuity, you
may find that some network simulations converge slowly, or in some rare cases, not at all. In these
circumstances, the table shown below is a guide to obtaining satisfactory convergence:
Problem
Cause
Solution
Fluid Models
This dialog allows fluid models in a network model to be displayed, edited and sorted in a spreadsheet type
display. This allows you to view what fluid properties are used by all network wells or sources without having
to drill down to the individual fluid model screens.
Setup Fluid Models
The screen allows display and editing of black oil fluid models. If the network is using compositional fluid
models, the screen only allows viewing of fluid models being used and selection of either Global or Local
fluid models for sources.
The following can be edited:
Default / Local
Select whether to use the default (global) fluid model or the local fluid model defined for the well /
source.
Override Wcut/GOR
Select the check box to allow override of the fluid model water cut and gas fraction (GOR/GLR/
OGR/LGR).
Local fluid models
You can edit the following only for local fluid models:
Water Cut
fluid model water cut value.
User Guide
128
GOR
fluid model gas fraction value, can be GOR, GLR, OGR or LGR.
Gas SG
stock tank gas specific gravity.
Water SG
stock tank water specific gravity.
Oil Gravity
stock (dead) oil density or API.
Dead Oil Visc
the dead oil viscosity correlation to use. Alternatively, specify User's Data.
Visc 1 & Visc 2
Two dead oil viscosity values. These values are read only if a dead oil viscosity correlation is
selected. If User's Data is selected, these two values are user specified.
Temp 1 & Temp 2
Two temperature values at which to define the dead oil viscosity values.
Note: If you attempt to edit a Global fluid model parameter from this screen, the Global fluid model dialog
boxes open. This is because changing the Global fluid model parameters affects all other sources that are
using the Global fluid.
View Options
To change these options, select View Options. This opens the View Options dialog, which has the
following tabs.
User Guide
129
Color
Color of the grid line, if displayed. Double click the color box to change. Default light gray.
Objects tab
Identifiers
The options for object identifiers are as follows:
Leave Display unchanged
default
Show all identifiers
shows all object identifiers on the schematic
Hide all identifiers
Remove all object identifiers from the schematic
Tool Tip Options
You can switch off Tool tips. This is useful on a large model as having these enabled slows model navigation.
Activate on mouse move
default
Activate on mouse click
Switch off
Red box
Draw red box around incomplete objects
The red box warns the user that a parameter is incomplete. The default = on.
General Tab
This tab appears on most dialogs which show object properties.
Activate/Deactivate
turn the object off (that is remove it from the simulation)
Identifier
The parameters are as follows:
Text box
the object's identifier. This cannot be more that 16 characters, must be unique and must not contain
any of the following characters: .\/[]{}<>|=?'" or spaces.
Bounding rectangle
this places a rectangle around the name
Show identifier
this displays the object's identifier
User Guide
130
Back Color
color of the bounding rectangle
Position
Screen coordinates of the object. The limits are as follows:
Top left
X= -2,101 Y= 2,089
Top right
X= 2,064 Y=2,084
Bottom left
X= -2,101 Y= -2,089
Bottom right:
X=2,064 Y=-2,0898
To Zoom out to the maximum extent, use Shift+F or View Zoom Full View.
To restore the original (default) view setting, use Shift+R or View Restore View.
Database
New ESP/Pump/Compressor Curve
The user curves are used to determine the performance of the device. The data is stored in an external
Access database.
To define a new curve, do the following:
1. Set the device type: ESP, Generic Pump or Compressor. The new device can be based on data from
an existing one.
2. Enter the new manufacturer's name.
3. Enter the new model reference.
The defined curve can then be used in the ESP (p.175), pump (p.86), compressor (p.62), or expander
(p.64) objects to define the performance. At this stage the actual operating speed, number of stages, and
so on, can also be set.
User Guide
131
ESP
For an ESP enter the following:
1. The ESP diameter
2. Minimum allowable flowrate
3. Maximum allowable flowrate
4. Base speed that the curves are based upon, typically 60 Hz
5. Base stages that the curves are based upon, typically 1
6. Allowed stages. The stages that are recommended.
7. Press Next to enter the curve data in terms of Flow rate, Head and Efficiency.
Generic Pump
For a Generic Pump enter the following:
1. Minimum allowable flowrate
2. Maximum allowable flowrate
3. Base speed that the curves are based upon, typically 60 Hz
4. Base stages that the curves are based upon, typically 1
5. Allowed stages. The stages that are recommended.
6. Press Next to enter the curve data in terms of Flow rate, Head and Efficiency.
Compressor/Expander
For a Compressor/Expander enter the following:
1. Minimum allowable flowrate
2. Maximum allowable flowrate
3. % design speed that the curves are based upon, typically 100
4. The curves should be entered for a single stage device. Press Next to enter the curve data in terms of
rate, Head and Efficiency. Note the units.
5. Once the curve data has been defined, the device's performance curve can be displayed (and printed).
Base Speed
User Guide
132
Stages
Interstage Temperature. The curves should be entered for a single stage device.
4. Press Next to enter the curve data in terms of Flowrate, Suction Pressure and Efficiency or Power for
various Discharge Pressures, at least two are required. The Discharge Pressure you must supply is the
one at which the data for the associated curve is valid for. If the curve is valid for a range of Discharge
Pressures, then supply the compressor's maximum discharge pressure. Note the units.
Once the curve data has been defined, the device's performance curve can be displayed (and printed).
The defined curves can then be used within the compressor (p.62) object. Set the User curves option and
the compressor type to Reciprocating to define the performance. At this stage, the actual operating speed
and or minimum and maximum operating speeds can also be set.
User Curves
User curves allow the user to enter basic data to represent the following elements:
Multiphase Booster
Manufacturer
Model
Diameter (ESP only) - used only when a search is performed to locate items that fall within certain ranges
Min flowrate - minimum recommended flowrate. The performance curve can be constructed outside of
this range. Warning messages show where the operating point is outside this limit.
Max flow rate - maximum recommended flowrate. The performance curve can be constructed outside
of this range. Warning messages show where the operating point is outside this limit.
Base speed at which the performance curve is defined. This can be changed for the simulation.
Base stages at which the performance curve is defined. This can be changed for the simulation.
Allowed stages: The number of stages that can be used for this particular item.
Performance curve
Head -
User Guide
133
Manufacturer
a new curve can be based on an existing model.
Model
Min flowrate
minimum recommended flowrate. The performance curve can be constructed outside of this range.
Warning messages will be provided where the operating point is outside this limit.
Max flow rate
maximum recommended flowrate. The performance curve can be constructed outside of this range.
Warning messages will be provided where the operating point is outside this limit.
Base Speed
speed at which the performance curve is defined. This can be changed for the simulation.
Performance curve
A set (minimum of 3 points) of data comprising the following:
Flow Rate
flow rate in flowing (actual) conditions (not stock tank)
Head
compressor head.
Efficiency
adiabatic efficiency of the compressor.
The defined curve can also be viewed and printed.
The Compressor (p.62) curve can then be used in the simulation.
See also keywords (p.501)
Series the valve series or model name (for example BK-1 valve)
Type the valve type - IPO, PPO-N, PPO-S, Orifice or Dummy valve
Outer Diameter the valve outside diameter - valves are either 1" or 1 1/2"
User Guide
134
Discharge Coefficient a discharge coefficient for the Thornhill Craver equation, used to calculate
valve gas throughput (given injection and production pressure)
DP [Delta P] to fully Open this is only needed for Diagnostics operation if the throttling behavior
of the valve is to be modeled. It is the difference between the production pressure when the valve is
fully open to fully closed (for a fixed injection pressure).
Inactive if this is Yes, the valve is not available for a new design
135
Many of the Specific Valves are multi-position devices: they allow the effective choke area to be
selected from a range of pre-installed fixed chokes. If a flowrate limit is supplied, the simulation will
select the choke position required to honor the limit. Since the choke area cannot be calculated to
match the limit exactly, this will usually result in the flowrate being lower than the limit. The valve
position must be specified. The FCV will be modeled with the corresponding choke area, but if the
resulting flowrate exceeds the limit, a lower position number will be used. Valve positions are
numbered in order of increasing choke size, starting with position zero, which usually specifies a
diameter of zero to allow the valve to be shut. An FCV may have up to 30 positions.
Operations
Common Operations
Check model
Allows all the data inputs and connectivity to be checked and verified before any simulation is performed.
No lone nodes are allowed in a single branch model. Any errors or omissions will be reported.
To check a model, select Operations Check Model.
Run Model
The Run Model option validates the system, creates the necessary engine input files, and then runs the
model.
To use Run Model, do one of the following:
Click the Run Model button in any of the operating mode dialog boxes that are accessed using the
Operations Menu.
on the toolbar.
Abort Run
This allows a simulation to be stopped immediately. This kills the engine process. However, if the engine
is being run via a batch file (p.125) this will only kill the batch process, not the engine. In this circumstance,
use Terminate Run (p.136).
To stop a simulation, select Operations Abort Run.
Terminate Run
This operation terminates a simulation in a tidy manner. A message is sent to the engine, which terminates
at the next convenient point.
Terminating the run using this method allows the engine to delete temporary files it has created. Simply
closing the simulation window or aborting the run (p.136) does not clean up these files, which may eventually
clutter up the hard disk.
User Guide
136
Single Branch
No Operation
To save the model without an operation associated with it, use No operation. This may be required if the
model is to be used by third party applications.
To do this, select Operations No Operation.
System Analysis
Use the System Analysis operation to determine the performance of a given system for varying operating
conditions on a case-by-case basis. An example is Pressure or Temperature Profiles where performance
is evaluated on a point-by-point basis.
How to perform a System Analysis
To perform a system analysis, do the following:
1. Create and save your model. (p.12)
2. Select Operations System Analysis.
3. Set the Calculated Variable to Inlet Pressure (p.88), Outlet Pressure (p.88), Flowrate (p.89) or User
Variable (p.151). If an unselected variable has an adjacent data-entry box, enter its value(s)
4. Choose the X-axis variable: this is a two stage process. First, choose the desired model Object, by
clicking on the down-arrowhead in the topmost combo-box in the X-Axis Values column (just underneath
the Range... button), and selecting one. Repeat this for the next lower combo box to choose a
Sensitivity variable name. Check the units revealed in the next box, and adjust if desired.
5. Add the desired values of the X-axis into the spreadsheet cells for the X-axis. To enter a range of values
with a starting value, end value and incriment, use the Range... button.
6. (Optional) Select sensitivity variables (p.151) by repeating steps 4 and 5 for the columns marked Sens
Var 1, Sens Var 2, etc.
7. If one or more sensitivity variables are defined, choose how they should be combined with the X-axis,
by selecting a radio button in the Sensitivity Variables box at top right of the dialog. There are three
choices:
Permuted against each other runs a case for every combination of X-axis and all sensitivity
variables. This produces a plot with most lines (and takes the longest time to run).
Change in step with Sens Var 1 runs a case for every combination of X-axis and Sens var 1, with
the remaining sensitivity variables following Sens var 1 in step. This produces a plot with the number
of lines equal to the number of Sens var 1 values.
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 produces a plot with just one line (and takes the least time to run).
8. Select the Active check box for each sensitivity variable you want to use in this simulation.
9. Click Run Model.
User Guide
137
Pressure/Temperature profile
Pressure or temperature profiles can be generated as a function of distance along the system. Both
temperature and pressure profiles are generated on a node-by-node basis for the system.
Perform the following basic steps to determine the pressure or temperature profile along the system:
1. Build the required model, pipeline tools (p.61) or well (p.22).
2. Select Operations Pressure/Temperature profile.
3. Determine the boundary condition to compute.
4. (Optional) Select and enter any sensitivity parameters.
5. Run (p.136) the operation.
6. Save the model (p.14).
The operation can be run in any of the following modes:
Calculate inlet pressure (p.88) given outlet pressure and flow rate
Calculate outlet pressure (p.88) given inlet pressure and flow rate
Calculate the value of a User Variable (p.151) given inlet pressure, outlet pressure and flow rate
User Guide
138
3. Select the property to compute, inlet pressure (p.88), outlet pressure (p.88) or flowrate (p.89). If the inlet
pressure is the same as the pressure entered in a source object (completion (p.274) or source (p.87))
it can be omitted.
4. Enter the measured data: pressure and/or temperature.
5. Select the type of correlation to examine; Horizontal or vertical.
6. Select the multiphase flow correlations to examine.
7. Click Run Model.
See also Other Variable (p.151).
Adjusting parameters to match measured data
A better match can be achieved by automatically adjusting parameters (p.139) (such as flow correlation
factors).
Data matching
This option allows you to select parameters that will be automatically adjusted to match measured data for
a particular system.
See also User Variable (p.151) which can be used to select a single parameter that will be automatically
adjusted to match the boundary conditions.
How to perform a data match
To perform a data match, do the following:
1. Create and save your model. See how... (p.12)
2. Add and save measured pressure
{PM}
Eq. 1.4
and temperature
{TM}
Eq. 1.5
data for your model. For tubing, data can be added using the Data menu. For flowlines and risers,
measured data can be added to the properties tab of the detailed view.
3. From the toolbar, select Operations Data matching.
4. Select up to five of the following parameters:
U-value multiplier: multiplies all user defined u-values. It can only be selected if measured
temperature data is supplied.
Vertical flow correlation friction factor. This can only be selected if measured pressure data is
supplied.
Vertical flow correlation holdup factor. This can only be selected if measured pressure data is
supplied.
Horizontal flow correlation friction factor. This can only be selected if measured pressure data is
supplied.
Horizontal flow correlation holdup factor. This can only be selected if measured pressure data is
supplied.
User Guide
139
5. Set limits for each parameter selected. Do not use extreme values, as these may cause convergence
problems. Suggested limits are as follows:
6. (Optional) Select Flow Correlations. If flow correlations are not specified here, Data matching is
performed with the flow correlations specified using Setup Flow Correlations.
7. Select the property to compute, inlet pressure (p.88), outlet pressure (p.88), or flowrate (p.89). If the inlet
pressure is the same as the pressure entered in a source object (completion (p.274), source (p.87)), it
can be omitted.
8. Select weight factors. If both pressure and temperature data have been specified then use the weight
factors wP and wT to set the relative importance of the pressure and temperature error terms. PIPESIM
will minimize the total error term RMS = wP RMSP + wT RMST, where the pressure error term is
given by:
RMSP =
nP
(P PM)
Eq. 1.6
RMST =
nT
(T TM)
Eq. 1.7
9. Run (p.136) the model. The optimizer performs a number of PIPESIM runs, until it has minimized the
RMS value. The accuracy of the optimization and the number of iterations allowed can be controlled by
using the OPTIMIZE (p.596) keyword, which can be entered using the Engine Options (p.119) dialog.
For each set of flow correlations selected, two sets of results will be tabulated, an Initial run using default
parameters, and an Optimized run, using fitted parameters. The pressure, temperature and total RMS
values will be displayed.
10.Select the run that gives the best fit, by clicking on the run number in the left hand column. Then click
on the Save Selected Results. This updates the parameters in your model.
Note: The run with the smallest RMS gives the best fit, but it is worth considering how far the multipliers
have been changed from their default value (1). A flow correlation where the multipliers are close to 1
may be a better model than one where extreme values are needed to give a good fit.
See also the OPTIMIZE (p.596) keyword.
Nodal Analysis
Nodal (or system) analysis in PIPESIM is defined as solving the total-producing-system by placing nodes
at the reservoir sand-face, the well tubing, the flowline and the separator.
A node is classified as functional when a pressure differential exists across it. In nodal analysis, the
producing system is divided into two halves at the solution node. The solution node is defined as the location
where the pressure differential upstream (inflow) and downstream (outflow) of the node is zero. This is
represented graphically as the intersection points of the inflow and outflow performance curves. Solution
User Guide
140
nodes can be judiciously selected to show the effect of certain variables such as inflow performance,
perforation density, tubing IDs, flowline IDs and separator pressures.
The solution node can be placed between any two objects, that is bottom hole (between completion and
tubing), wellhead (between tubing and choke), riser base (between flowline and riser), and so on. Use the
Nodal Analysis point (p.59) for this.
How to perform a Nodal Analysis
To perform a Nodal Analysis, do the following:
1. Create and save your model (p.12)
2. Build the well performance model (p.22)
3. Determine the Nodal Analysis point and insert the Nodal Analysis point (p.59) object into the model (this
is a node type object)
4. Select Operations Nodal Analysis.
5. Determine the inflow and outflow parameters.
6. Once in the Nodal Analysis Data screen, set the outlet pressure (p.88) and the maximum flowrate
(p.89) that the well will attain (this is to limit the outflow curves).
7. Set any limits (optional) using the Limits (p.141) button. Limit the extent of the resulting plot.
8. Select the Inflow and outflow sensitivity object and variables (p.151) and enter the data.
9. Run (p.136) the model.
10.Save the model (p.14).
11.Select Reports Nodal Analysis to view the Nodal Analysis report.
Note: If a gas system is being modeled then the liquid loading (p.61) point, for each outflow curve, will
automatically be displayed.
Nodal Analysis Limits
Sets limits on the resulting Nodal Analysis plot.
The maximum flowrate to be used (optional). This always applies to the outflow curves, and optionally
to the inflow curves, see below. If left blank, the outflow curves will extend to the maximum AOFP of the
inflow curves or to the Maximum Pressure limit (see below).
Rate Limit option for the inflow curves: these can either obey the maximum flowrate, or be allowed to
extend to the AOFP (the rate where the curve meets the X-axis).
Pressure limit option for the outflow curves: these can either be limited to the Maximum Pressure (see
below), or be allowed to extend to the flowrate limit.
Maximum pressure for outflow curves. If supplied, the outflow curves will extend to this pressure, or the
maximum rate, whichever gives the smallest curve. If left blank, a default value will be assumed, this
User Guide
141
will be calculated at run-time to be the highest pressure on any of the inflow curves, plus 50%. Either
way, the pressure limit option (see above) can be used to make the limit be ignored.
Operating Points
As of PIPESIM release 2010.1, the nodal analysis operation generates the operating points and displays
them on the plot.
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
(usually a small circle marker). 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.
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. If you do not want operating points to be
generated, use the OPPOINTS= subcode of NAPLOT. (p.583)
Display Liquid Loading Point
The liquid loading point (p.273), for a gas system, is automatically displayed when a Nodal Analysis
(p.140) plot is requested. The liquid loading point will be displayed for all outflow curves.
The liquid loading point of a given tubing string is the point at which the reservoir energy is not capable of
overcoming the frictional and hydrostatic losses of the given tubing string as a function of wellhead pressure.
Liquid loading in a tubing string is identified when the corresponding Tubing Performance Curve (TPC)
slope approaches zero.
However, in low rate shallow gas wells with high LGRs, it becomes difficult to identify the "minimum rate to
lift liquids" in a given TPC plot. The Turner et al correlation can be used to identify the minimum gas
producing rate that is required to keep a well unloaded. This minima will, of course, be approaching the
"unstable flow point" of a given tubing configuration.
Horizontal length
Optimum Horizontal Well Length analysis accurately predicts the hydraulic wellbore performance in the
completion. It is an integral part of PIPESIM's reservoir-to-surface analysis.
User Guide
142
The technique subdivides the horizontal completion into vertical cross-sections and treats flow
independently from other cross-sections. This multiple source concept leads to a pressure gradient from
the blind-end (toe) to the producing-end (heel), which, if neglected, results in over-predicting deliverability.
The reduced drawdown at the toe results in the production leveling-off as a function of well length. It can
be shown that drilling beyond an optimum length would yield no significant additional production.
Several Inflow Performance Relationships are available. These are solved with the wellbore pressure drop
equations to yield the changing production rate along the well length.
How to perform a Horizontal length optimization
To perform a Horizontal length optimization, do the following:
1. Create and save your model (p.12). This must include a horizontal well completion.
2. Select Operations Optimum Horizontal Well Length.
3. Set the outlet pressure and the completion lengths to examine.
4. Click Run Model.
Reservoir tables
The reservoir simulator interface allows you to create tabular performance data, to a file, for input into a
reservoir simulation model.
It is often necessary, for the purpose of reservoir simulation, to generate VFP curves for input to a reservoir
simulator program. The VFP curves supply the simulator with the necessary data to define bottom hole
pressure and tubing head pressures as a function of various parameters such as flow rate, GOR or GLR
(where applicable), watercut, surface pressure and the injection gas rate. Further choices of input
parameters are available through the Expert mode. The effects of variations of up to five parameters can
be investigated and reported. Tabular data is then created in a format specific to the reservoir simulator
selected.
The reservoir simulator interface allows you to write tabular well performance data (in the form of bottom
hole pressures) to a file for input into a reservoir simulation model. Currently, the following reservoir
simulators are supported:
ECLIPSE
PORES
VIP
COMP4
All combinations of the variables input by you will be used to generate the tables.
You may wish to model networks in their reservoir simulator, by generating VFP curves items of well tubing,
flowline or riser. This may not result in an accurate model of the surface network as temperatures at network
connections will not be modeled correctly.
How to create reservoir look-up tables
To create reservoir look-up tables, do the following:
1. Create and save your model (p.12). This should include a completion and tubing.
User Guide
143
User Guide
144
Tubing
System Outlet Pressure
pressure downstream of the last object in the model.
Gas Lift
Max Available Gas Rate
maximum quantity of lift gas that you want to inject.
Gas Temperature
lift gas temperature at the casing head
Orifice Diameter
orifice diameter of the gas lift valve.
Cv
Cv of the gas lift valve
145
sensitivity analysis on various parameters, such as wellhead pressure, watercut, tubing ID, and flowline ID.
More details (p.153).
Wax Deposition
To access this area, select Setup Wax Properties.
The following proprietary methods are available:
Schlumberger DBR singlephase Method (p.150) - available to anyone using an additional license
Schlumberger DBR multiphase Method (p.150) - available to anyone using an additional license
User Guide
146
User Guide
147
Reporting interval
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.
Termination Mode
The simulation will finish when the first stopping criteria is met. The stopping criteria may be any of the
following:
End time
The finish time for the simulation, if no other stopping criteria is met.
Maximum Pig DP / Maximum Wax Volume
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.
Maximum Wax Thickness
An upper limit in the thickness of the wax deposit anywhere in the system
Minimum Production
A lower limit for system stock-tank liquid/gas/mass rate.
Maximum System DP
An upper limit on the Delta Pressure between system inlet and outlet.
Timestep Calculation criteria
Minimum step
The minimum time step size.
Relaxation parameter
The relaxation factor for automated timestep adjustment. Must be a real number between 0 and 1
higher values favour the new value, lower the old.
Step size
The time step size.
DP Factor
Fraction of the pressure drop change allowed with the new timestep.
Minimum Dx
The minimum allowable increase in wax ID.
Set Dx
The maximum increase in wax ID.
HTC limit
Controls the application of the Heat Transfer Coefficient limit on the timestep size.
User Guide
148
BP Wax Method
Wax Properties Setup
To access this area, select Setup Wax Properties and select BP. This dialog allows you to change or
input data for prediction of wax in the model.
Wax Properties - required
Conductivity multiplier
Yield Strength
Wax thermal conductivity. (Reasonable value: 0.15 Btu/hr/ft2/F)
Properties Filename
File that contains the wax properties data - *.thm file.
Diffusion Coefficient Method
Diffusion coefficient method. Can be:
Wilke-Chang
Hayduk-Minhas
User Guide
149
Termination Mode
The simulation will finish when the first stopping criteria is met. The stopping criteria may be any of the
following:
End time
The finish time for the simulation, if no other stopping criteria is met.
Maximum Pig DP / Maximum Wax Volume
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.
Maximum Wax Thickness
An upper limit in the thickness of the wax deposit anywhere in the system
Minimum Production
A lower limit for system stock-tank liquid/gas/mass rate.
Maximum System DP
An upper limit on the Delta Pressure between system inlet and outlet.
Timestep Calculation criteria
Step size
The time step size.
Schlumberger DBR Wax Methods
Two methods are available; a single phase and a multi-phase method.
Schlumberger DBR wax deposition model (p.409)
Wax Properties Setup
To access this area, select Setup Wax Properties and select Schlumberger. The dialog allows you to
change or input data for prediction of wax in the model.
File that contains the wax properties data,- *.DBRWax file. This file is generated using a third party
package DRR Solids version 4.1 and above.
Properties are read from the data file and can be viewed using a text editor. Properties can be over
written by entering values in the dialog. The use of multipliers can be switched on or off by selecting the
tick box.
[10 : 10]
[0 : 0.99]
User Guide
150
For all the sensitivity variables given above, the default value used in the code is the one specified in
the .DBRWAX property file.
For the multiphase DBR wax deposition model, it is possible to sensitize on extra properties which are:
Sensitivity variable
[-5 : 5]
[-5 : 5]
[0 : 5]
Sensitivity variables
One of the application's strongest benefits is its ability to perform sensitivity studies on a single or a number
of variables at a time.
To perform sensitivity:
1. Select the appropriate operation, (P/T profile, system analysis, and so on.)
2. From the component row, use the drop down list to select the object that the sensitivity is to be
performed on, that is System data, completion, flowline, and so on. The list of objects displayed here
will reflect the names of each individual object in the model.
3. From the variable row, select the variable from the chosen object, that is rate, well PI, flowline ID, and
so on. The list of variables displayed here will reflect the object chosen in step 2.
4. From the units row, select the units for the variable.
5. Enter the date for the variables from row 1. If a set of data is equally spaced, that is 5, 10, 15, 20, 25,
30, 35, then the Range button can be used. In this example enter, the start and end value and the step
size for example 0, 35, step 5 and press Apply.
6. To disable the data in a column, that is perform the operation but ignore a particular sensitivity variable,
then deactivate the Active check box for the required column.
7. Repeat the above process for all the required sensitivity variables.
User variable
In an operation, if you wish to specify all three of inlet pressure (p.88), outlet pressure (p.88) and flowrate
(p.89), you must also tell the engine how to achieve the specified outlet pressure. This is done by defining
the User Variable. This is similar to a sensitivity variable (p.151), but instead of requiring you to provide a
series of values for it, its value is calculated as part of the simulation.
User Guide
151
You must choose 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 could be chosen as the object,
and the Bean Diameter as the variable. Any object and any variable can be chosen, as long as you consider
it will have an effect on the system outlet pressure.
You must specify the allowable maximum and minimum values for the variable, and the proportionality
relationship (that is, whether an increase in the variable's value causes an increase or a decrease in outlet
pressure). If Direct is selected, the outlet pressure is assumed to be directly proportional to the variable,
and will increase with it; for example, the choke bean diameter would behave like this. If Inverse is selected,
the outlet pressure is assumed to be inversely proportional to the variable, and will decrease when the
variable is increased. An example of this might be the watercut of a black oil fluid in a production well: as
watercut increases, the well's static DP increases and hence its outlet pressure decreases.
Sometimes, depending on the choice of object and variable, the proportionality relationship can be difficult
to predict. For example if Tubing Inside Diameter is used in an oil production well, you would expect outlet
pressure to increase as diameter is increased, when starting from a small diameter value. However, once
the diameter exceeds a certain critical value, the well will probably start to 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, another with a much larger ID. The choice of proportionality relationship allows you to
pick the solution you want. However, also in this situation, the simulation may have no solution; this will
happen if the specified outlet pressure is too big.
Network Operations
Restart Model
This is only available in the Network module. See also Engine preferences (p.125), Speed up the calculation
engine (p.126) and Addressing Network speed issues. (p.411)
Note: The model can be restarted in the following ways:
and set the network engine advanced Command Line Parameters (see Engine
Use the Run button
preferences (p.125)) as follows:
-r : Restart but do not keep branches skipped in the restart file permanently skipped.
-R : Restart but permanently skip all branches skipped in the restart file (this is the default PIPESIM
behavior)
When a Network simulation finishes, the final solution results are stored in a restart file. If the model is
restarted
(as opposed to rerun), these final results are used as the starting point for the run, instead
of the initial estimates (p.21).
User Guide
152
The default restart function in PIPESIM restarts the model by keeping all skipped branches permanently
skipped. So if the user has deactivated a branch, run the model, and reactivated the branch again before
using the Restart button
Running a network model by using Restart , as opposed to Run, should also speed up the solution. However,
the follow limitations apply:
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 Restart may actually slow down the simulation. In addition, the user should pay
attention to the restart option used (-r or -R).
If minor changes have been made to a network (for example, a flowrate or pipe dimension change),
Restart should provide a faster convergence than a normal run.
If the program crashes part way through an iteration, or the model does not solve in the allowed number
of iterations, or the run is terminated prematurely by user intervention or other system error, the Restart
function can be useful. The model can simply be restarted and the program will start from where it left
off. Use the Restart button on the PIPESIM toolbar in this case.
User Guide
153
5. Select the Artificial lift method, Gas or ESP, and set the appropriate data.
6. Run (p.136) the model.
Bracketing (p.155)
User Guide
154
Optimum Depth of injection gas injection can occur at any depth in the wellbore
Injection at Valve Depths only gas injection is restricted to the specified valve/mandrel depths only,
as defined in the model tubing description.
Calculate computes the liquid flow rate, pressure profile and the Deepest Injection Point.
User Guide
155
Calculate computes pressure profiles and the Deepest Injection Points for the two cases.
User Guide
156
Optimum Depth of injection gas injection can occur at any depth in the wellbore
Injection at Valve Depths only gas injection is restricted to the specified valve/mandrel
depths only, as defined in the model tubing description
Run Model computes the liquid production rate, and the (deepest) injection depths for the specified
range of gas injection rates and sensitivity parameters.
Data Entry
To run the operation, select Artificial Lift Gas Lift Gas Lift Design. This opens a dialog with the
following tabs:
User Guide
157
Project Data Gas Lift Design - Summary (p.168) (this is only displayed after a successful design has been
created).
Gas Lift Design
To perform a Gas Lift Design, do the following:
1. Create and save your model. See how... (p.12)
2. Select Artificial Lift Gas Lift Gas Lift Design.
3. Set the required data (p.157).
4. Select Perform Design.... A redesign can be performed after the design has been created.
Design Control
To set the following parameters, select Artificial Lift Gas Lift Gas Lift Design and select the Design
Control tab.
Design Spacing
Select from the following options:
New Spacing
calculate a new mandrel spacing for the well as part of the gas lift design and overwrite (without
prompting) any existing valve settings.
Current Spacing:
use the existing mandrel spacing as defined in the PIPESIM model and calculate appropriate valve
parameters.
Design Method
The three following design methods are available (two for IPO design and one for PPO design):
User Guide
158
Uses a user specified fixed surface close (injection) pressure drop between valves.
User Guide
159
Uses a calculated surface close (injection) pressure drop between valves (with user specified minimum).
User Guide
160
Uses a transfer gradient based on user entered Surface Offset and Operating Valve DP values. Normally
used for design with production pressure operated (PPO) valves.
Surface offset
Either a percentage of the difference between the operating production (wellhead) pressure and the surface
injection pressure, or a DP value (added to the wellhead pressure). The transfer gradient used for design
is then a straight line drawn between the surface offset and the operating valve DP (at the operating valve
location). .
Operating Valve DP
The difference between the injection pressure and the production pressure at the operating valve location.
Top Valve Location
This is used as the basis for spacing the top unloading valve. The options are as follows:
User Guide
161
User Guide
162
Design Parameters
To set these parameters, select Artificial Lift Gas Lift Gas Lift Design and select the Design
Parameters tab. The parameters are as follows:
Kickoff Pressure
Maximum possible injection pressure to kick off the well. Used for top valve placement only.
Operating Injection Pressure
The maximum available injection pressure to be used for the design calculation.
Unloading Production Pressure
Minimum possible production (wellhead) pressure during unloading. Used for placement of top
valve only.
Operating Production
The expected production (wellhead) pressure. Used to calculate the production pressure curve.
Target Inj. Gas Flowrate
The target injection gas flowrate for design. Used to calculate the production pressure curve and
operating valve sizing. Note that the effect of gas injection flowrate on well performance can be
investigated with the PIPESIM model using the Lift Gas Response Curves operation. This should
give you an understanding of the gas lift performance of the well and enable determination of the
optimum target gas injection flowrate.
Inj. Gas Surface Temperature
The surface temperature of the injection gas. Used to determine the injection gas temperature
profile.
Inj Gas Specific Gravity
Injection gas specific gravity. Used to determine injection gas pressure profile.
Min Unloading Liq rate:
The design includes calculation of the unloading liquid and gas injection rates for the unloading
valves. You can specify the minimum unloading liquid rates for unloading.
Unloading Gradient
Gradient of the well fluid for unloading and spacing calculation.
Minimum Valve Spacing
Minimum distance for valve spacing (TVD). Valves will not be placed deeper if they are spaced
closer than this value.
Minimum Valve Inj DP
Minimum difference between injection and production pressure required for valve placement.
Valves will not be placed deeper if the pressure difference is less than this value.
Solution Point Rate/Fixed rate
Use either a specified liquid production flowrate or a specified reservoir pressure in the calculation
of the Production Pressure Curve (the remaining property will be computed).
Reservoir Pressure
Static reservoir pressure used in the model. (The liquid production rate is calculated).
User Guide
163
User Guide
164
Transfer Factor
[IPO valves only] Safety factor normally used for injection pressure operated valves only. This is
an offset from the production pressure line to the start of the transfer line (transfer point) at each
valve location This can be entered as a percentage of the difference between the production
pressure and injection pressure at each valve location or as a percentage of the production
pressure. Default value is zero.
Note: PPO Design does not use this safety factor (the transfer gradient is itself a transfer safety
factor).
User Guide
165
User Guide
166
Project Data
Data that relates to the current project. This will be displayed on the Gas Lift Design report.
Perform Design
After selecting Artificial Lift Gas Lift Gas Lift Design, enter data on the Design Control (p.158) ,
Design Parameters (p.163) and Safety Factors (p.164) tabs. The data are used to design the gas lift system;
see minimum data set (p.167).
When all data is present, click the Perform Design button. The following calculations are performed using
the design data and selected design method:
The mandrel depths are calculated for New Spacing. For Current Spacing, the specified mandrel depths
(in the tubing description) are used.
The valve port sizes are calculated. The valve port size is selected to pass the unloading gas rate for
the unloading valves and the target gas rate for the operating valve. If no unloading calculations are
possible (no inflow means that the well does not flow), the minimum port size for the series is selected
by default.
The unloading injection gas requirement and unloading liquid rates are calculated (by nodal simulation)
for each valve station. Also, the maximum possible gas throughput for each valve is calculated.
The valve open pressures, close pressures and test rack open pressures (Ptro) are calculated.
The depth of the operating valve is determined when any of the following conditions is met:
the position of the next unloading valve would be closer than the minimum valve spacing criterion
the injection pressure minus the production pressure is less than the Minimum Valve Injection DP
If the Bracketing option was selected, bracketing valves are placed below the operating valve down to the
specified max TVD at the specified bracketing spacing. If the operating valve is either an orifice, a flagged
valve, or an IPO valve in a PPO design, the bracketing mandrels are assumed to contain dummy valves.
When the design calculations are complete, a summary sheet (p.168) is displayed. On this some valve
data can be changed and a re-design (p.168) performed if required.
The standard Gas Lift design graph (Pressure versus Depth plot) and report can also be displayed and
printed.
Once the design has been verified, it can be transferred to the well model using the Install Design button.
Minimum Data Set
The minimum data set required to perform a gas lift design is the following:
User Guide
167
In addition, a well model is required, This must contain at least a completion (reservoir), tubing icons, and
a valid fluid model.
Perform Re-Design
You can edit certain parameters in the Gas Lift Design summary sheet (p.168) and perform a redesign of
the gas lift system.
You can edit the following fields:
Valve Model and Port size (if the Edit Valve check box is selected).
User Guide
168
Valve series
Port Size - the valve port size is selected to pass the unloading gas rate for the unloading valves and
the target gas rate for the operating valve. If no unloading calculations are possible (no inflow - well does
not flow), then the minimum port size for the series is selected by default.
Gas Rate (Unloading) - injection gas rate required to unload the well to the transfer point (Not calculated
if no inflow from the reservoir).
Unloading Liquid Rate - calculated liquid unloading rate at the transfer point. (Not calculated if no inflow
from the reservoir).
Max Valve Throughput - maximum rate that can be passed through the valve given the injection
pressure, production pressure and port size.
Injection Pressure Drop - surface close injection pressure drop between valves.
Valve Choke (optional) - can be used if chokes are placed in valve ports.
Buttons
The following buttons are available:
Add (Valve Lookup)
To add a valve from the database to the design valve table, click Add.(Valve Lookup) .. (p.56). The valve
will be added to the bottom of the current list.
To add [change out] a valve at a particular depth:
1. Select the Edit Valve check box.
2. Double click the cell under Valve Series or Port Size that corresponds to the required depth.
Edit Selected Valve
Use this to edit the selected valve. (This is only possible if the Edit Valve check box is selected.)
Remove Selected Valve
Use this to remove the selected valve. (This is only possible if the Edit Valve check box is selected.)
Perform Re-Design
Use this to change some parameters and perform a Re-Design of the system.
Re-Design is only possible if one of the following parameters is edited in the summary screen:
User Guide
169
Valve Series or Port size (the Edit Valve check box must be selected)
Graph
Click Graph... to display the traditional Gas Lift Design graph (Pressure versus Depth plot). This can also
be printed
Report
Click Report... to produce a Gas lift Design report. This can be printed.
Install Design
Click Install Design to install the proposed design in the current tubing description. This overwrites any
gas lift valves already in place for this well.
Target Operating Injection Pressure
This is computed from the design. It can be used, or modified, for the diagnostics operation.
Run Diagnostics
Performs gas lift diagnostics (p.170) on the current gas lift valve system with the operating injection
pressure specified.
The valve positions and parameters, taken from the design summary.
User Guide
170
Gas Lift Diagnostics calculates the injection rate and the maximum injection rate for the valves by using
the Thornhill-Craver equation. Total gas lift rates are shown in the Rates section below the well schematic.
This shows the following:
%Max the ratio of the calculated flow rate to the maximum flow rate, expressed as a percentage
User Guide
171
compression far exceeds the cost of downhole gas lift equipment, always consider gas lift when an adequate
volume of high-pressure gas is available for wells requiring artificial lift.
Gas lift is accomplished by one of the following methods:
Continuous flow
In continuous flow a continuous volume of high pressure gas is introduced into the eductor tube to aerate
or lighten the fluid column until reduction of the bottom-hole pressure allows a sufficient differential across
the sand face, causing the well to produce the desired rate of flow. This requires the following:
a flow valve that permits the deepest possible one point injection of available gas lift pressure
a valve that acts as a changing or variable orifice to regulate gas injected at the surface depending upon
tubing pressure.
This method is used in wells with a high productivity index and a reasonably high bottom-hole pressure
relative to well depth. In this type of well, fluid production can range from 200-20,000 B/d through normal
size tubing strings. On casing flow it is possible to lift in excess of 80,000 B/d. The internal diameter (ID) of
the pipe governs the amount of flow, provided the well productivity index, bottom-hole pressure, gas volume
and pressure, and the mechanical conditions are ideal.
Smaller volumes can be efficient using continuous flow where small 'macaroni' tubing is used. As low as
25 B/d may be produced efficiently through 1-in. tubing by continuous flow.
Intermittent flow
Intermittent flow involves expansion of a high pressure gas ascending to a low-pressure outlet. A valve with
a large port permits complete volume and pressure expansion control of gas entering into the tubing. This
either regulates lift of the accumulated fluid head above the valve with a maximum velocity to minimize
slippage, or controls liquid fall back, fully ejecting it to the tank with minimum gas.
Intermittent lift is generally used in conjunction with a surface time cycle controller (intermitter). It is used
on wells with relatively low fluid volumes, or wells that present high or low PI with low bottom-hole pressure.
In intermittent lift, gas is injected at regular intervals by the intermitter with regulated cycling to coincide with
fluid fill-in rate from the producing formation into the well bore. The multipoint injection gas through more
than one lift valve may also accomplish intermittent lift.
User Guide
172
Casing inside diameter (p.48) is set. The simple (p.48) or detailed (p.50) tubing model can be used.
Valve Port Diameter (p.54) set. The operating Gas Lift Valve Port (Orifice) Diameter.
Surface injection pressure (p.54) 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.
Right Y-axis (p.192): 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.
Assumptions of the Alhanati model
The model assumes:
Constant pressure at the gas injection manifold, which is upstream of the surface injection 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.
( )
C2 = F1
Eq. 1.8
Fc
where
F3 =
ch =
(q fo + qGo) At
( p f pG) g
Pco
Eq. 1.9
q fo
(ZT )c
Eq. 1.10
(ZT )m
Nomenclature
in2
ft2 / s
User Guide
173
psia
Pg
Pf
qfo Steady state reservoir fluids flow rate stbd
qGo Steady state injected gas flow rate
Temperature
mmscf
F
subscripts
tubing
casing
m manifold
Bracketing (p.155)
Note: The default is for PIPESIM to use the static annulus gas gradient rather than calculate the pressure
drop. The Annulus Gas Pressure Design option you select applies to all four operations. For instance, if
you select the Use Rigorous Friction and Elevation DP in the Deepest Injection dialog, this is adopted
for the other three operations.
User Guide
174
v=
120 f
Eq. 1.11
User Guide
175
Heat generated by the motor is transferred to the well fluid as it flows past the motor hosing. 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.
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.
Power =
qvH
Eq. 1.12
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 integral 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.
User Guide
176
User Guide
177
Motor Selection
This can only be selected 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.175).
User Guide
178
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.176), Select a Cable (p.180)
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 (p.181).
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.527) into the model, using the EKT (p.64).
Install a Pump
Once the ESP manufacturer and model (p.175) has been selected from the database of common ESP's
(p.179) 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 stags 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.
User Guide
179
ESP Design
The ESP option is selected from the Artificial Lift. To design an ESP the following stages are required:
Select a Pump (p.176)
Select a Motor (p.175)
Select a Cable (p.180)
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] web site
User Guide
180
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.
ESP Design
To select an ESP, do the following:
1. Create and save your model. (A well model need not be created in order to select an ESP, but if it is,
the data entered will be used.) See how... (p.12)
2. From the toolbar, select Artificial Lift ESP ESP design
3. Set the required data (p.180)
Equipment Database
User Guide
181
Equipment Database
The equipment database in RP module includes Pumping Unit data, Rod data and Pump data. You can
browse all of the data in the database and add, modify or delete your own equipment data within the
database.
Rod Pump Design and Optimization
Three design methods are used in the Rod Pump Design module:
Balance Condition
Use the built-in dyno. card formats (there are four types in the current version)
Getting Started
Data transmission between RodPump and PIPESIM Operation Menu in the Rod Pump module Components
of the Rod Pump module (detailed in Section 2)
Rod Pump and PIPESIM
The data transmission between Rod Pump and PIPESIM:
Reservoir Inflow Performance Relationship (IPR)
You can specify IPR in PIPESIM that then be transferred to the Rod Pump module.
User Guide
182
Well data
Well basic data such as reservoir static pressure, reservoir temperature and tubing configurations
that specified in PIPESIM will be transferred to the Rod Pump module.
Specific data for rod pump
The data required for Rod Pump Design such as production flowrate and dynamic fluid level must
be specified in the Rod Pump module.
Unit System
You can specify units in PIPESIM which then be shared with the Rod Pump module.
Project Save and Import
All of the parameters and data information specified in Rod Pump can be saved to .bps project file
in PIPESIM.
RP Operation Menu
To access the Rod Pump module, select Artificial Lift Rod Pump. The options are as follows:
Design...
Input Data (Well Information, Equipment Selection, Design Control)
User Guide
183
Diagnostics...
Input Data
User Guide
184
New/Edit RP Data...
User Guide
185
User Guide
186
User Guide
187
Polished rod is to link the steel cable on the horse head with down hole sucker rod, and also help to seal
the wellhead together the sealing box. So there will be high requirement for the intensity and the surface
degree of finish. There are two kind of polished rod, common type and the type which has larger ID in one
side than the other. For the common type rod, the position of two side can change with each other when
one side is worn. For the second type of rod, the position of two side cant be changed with each other but
the connectivity is better.
Introduction of Rod Pump Optimization and Design
The sucker rod pump system is a very complex system, comprising amotor which drives the pumping unit
system (with reducing gear box), sucker rod, down hole pump and tubing, and so on. The optimization and
design in Rod Pump including the optimization of the swabbing parameters (pump diameter, stroke and
frequency of stroke) and the selection of the swabbing equipment (mainly refer to the structure of the rod).
Diversity in optimization target associated with various influence factors and the continuity of the changing
of design parameters result in the complexity of the whole design process.
Selection of Swabbing Parameters
You can specify the combination of the rod and swabbing parameters, or select these parameters
automatically. If all parameters are specified by the designer, Rod Pump will calculate the production
condition based on these data, that is, using PIPESIM-RP as a tool to predict the scenarios designed based
on experience or other factors. Sometimes specifying strike and frequency of stroke is because these two
parameters of the actual rod pump system are not standard, and this kind of design method is also fit for
the requirement of sand control.
Specify the flowrate, which is to meet the requirement of the production allocation of each well.
Specify the dynamic fluid level for the well with high GOR, to improve the pump volumetric efficiency
and so the whole system efficiency.
All of these methods are based on the principle of equivalent intensity, which is to re-design the rod, pump,
and pump depth without taking into account of the current rod pump system. The material of the rod also
can be redesigned as common rod or weighted rod. The optimized solution ensures the stress percentages
on the top side of each rod section are equal.
188
properly. In this module, an NN (Neural Network) method is introduced; 3 level neural network technology
is used for the dyno.card diagnostic.
Because of the complexity of the rod pump system, the use of the dyno.card to recognize the pump working
condition is not enough. In addition, for the whole system, a good understanding of the loading of the rod
and the balance of the pump unit need is needed. So the comprehensive analysis is added in the Rod Pump
diagnostic module. The combination of neural network technology can help to give a more rigorous and
comprehensive judgment of the working condition of the well.
Operations
This is the information related to Rod Pump operation
General operation Optimized design Working condition diagnostic Equipment database
General Operation
Open Project
Before running Rod Pump module, it is necessary to build a new project or open an existing project in
PIPESIM.
Design
Diagnostics
New/Edit RP data
Optimization Design
As for old production well, if it is not required to change the pumping unit but choosing the existing pumping
unit and production manufacturer; as for new production well or old well that requires change in pumping
unit, then you will select a model type, and then simulate to check whether this pumping unit is suitable for
the studied well. The model serial number and manufacturer for new pumping units need to be added to
the equipment database.
User Guide
189
specified production
Once the design principle is chosen, you need to input the specified parameters to continue the design.
Operation Diagnostics
Input Liquid Level or Pump Inlet Pressure
Pump inlet pressure is a compulsory input parameter for diagnostics study. You can input the parameter
directly, or input the dynamic liquid level and let the model calculate the pump inlet pressure.
User Guide
190
Database
View Equipment Parameter
Under two database management models, you can browse the equipment using the Design equipment
menu. The key structural data of the pumping unit can be referred to the provided graphs from references.
Delete Equipment
The selected equipment model can be deleted from the application.
Add New Equipment
You can specify a new model type for the existing equipment. However it is necessary to specify the new
diameter for rod plunger and rod pump. When adding a new pump, you need to make sure that the pump
stroke combination and the crank radius combination are equal.
Reports
Plotting
After a simulation has been completed, the results can be viewed graphically using the plot utility, PsPlot.
Profile plot displays data in terms of distance from the model's inlet.
User Guide
191
Network plots
PsPlot can also be accessed using the Report menu or directly from the main toolbar. Select the branches
that you want to plot, then select the Report option. The results from the selected branches will be
concatenated.
PsPlot
The following list shows what you can do with PsPlot:
Plot a 2 (p.192)
User Guide
192
To Minimize the PLOT utility select the minimize button (top right of the dialog).
Exporting graphical data to Excel
Select File Export Data to Excel. An Excel data file name is requested and Excel loads (providing it is
installed on the PC) and is populated with the data.
Remove / Add the background grid
Do the following:
1. Select Edit Advanced Plot Setup.
2. In the resulting dialog, select the Chart, Axis, Ticks tab. Select the required Axis and then the Grid
Border button.
3. Change the Visible check box to display or hide the grid lines (for that axis).
Changes are dynamic that is the effect of a change can be seen on the plot as they are made without the
dialog having to be closed.
Note: These settings are NOT saved between sessions.
Copy the graph to another application
Do the following:
1. Load the required graph and select Edit Copy to Clipboard.
2. The plot will now be available using the clipboard in other applications that support copy-and-paste.
Change the axis or title description
Do the following:
1. Select Edit Advanced Plot Setup.
2. In the resulting dialog, select the Chart, Axis tab and Title. Select the Axis to change from the Axis
radio button and enter the new axis title, angle, style, and so on.
Changes are dynamic that is the effect of a change can be seen on the plot as they are made without the
dialog having to be closed.
User Guide
193
Color by Series Data - Graph lines are colored according to which Data Series they belong (the default).
Color by Axes Data - Graph lines are colored according to which axes they belong to (with Data Series
differentiated by marker symbol and line style).
User Guide
194
Color by File - Graph lines are colored according to which file they belong (with Data Series
differentiated by marker symbol and line style).
User Guide
195
Retained to retain the existing plot and add the data to it, select File Append.
Opened files can be temporarily made non-active by using Files Files List.
Remove or change the legend location
Do the following:
1. Select Edit Advanced Plot Setup.
2. In the resulting dialog, select the Legend tab.
3. Select Visible to show or hide the legend
4. Select the required position of the legend.
Changes are dynamic that is the effect of a change can be seen on the plot as they are made without the
dialog having to be closed.
Note: These settings are NOT saved between sessions.
Superimpose the phase envelope on to a temperature / pressure profile
To undertake this task, the model must be compositional (p.101). Do the following:
1. Set the point in the system where you want to create the phase envelope. To do this, add a report tool
(p.84) to the model and select Phase Envelope. The phase envelope will be created at this point in the
system
2. Run the model. This will normally be a Pressure/Temperature operation (p.138).
3. Select and display the profile plot, using Reports Profile Plot.
4. Using the Series menu, select Temperature as the X-Axis and Pressure as the Y-axis.
The phase envelope will be superimposed on the plot.
Translate plot labels and titles
Load Dictionary:
Use the supplied label translation dictionary template (PsPlotDict.txt) to create a translation dictionary,
with translation of each label on the same line separated by a comma ','.
Select File Dictionary to browse for the translation dictionary file and open it.
The Dictionary option will remain selected until you cleared it.
Clear Dictionary:
A dictionary cannot be loaded unless it is based on the template and in the correct format.
User Guide
196
User Guide
197
Composition Details
This applies to compositional cases only. If this box is ticked, a table is printed in the output file
showing some compositional data such as water specific gravity.
Phase Envelope
This applies to compositional cases only. If this box is ticked, the fluid's phase envelope is
automatically computed and stored in the branch's plot file. In network cases, the file that contains
the phase envelope will be noted in the output file.
User Guide
198
Exporting to Excel
In addition to the copy and paste features of spreadsheets in PIPESIM, the Network Report Tool can also
export data to Microsoft Excel. When you click the Excel button above, an Export to Excel dialog asks for
the following information:
Excel File
All the data viewed in the Report tool will be exported to the specified Microsoft Excel file. The Excel
file must exist already.
Worksheet
The worksheet, within the Excel file, to export the data to.
Start Row
The row in the Excel spreadsheet where the first data item will be placed. The default is row 1.
Start Column
The column in the Excel spreadsheet where the first data item will be placed. The default is column
A.
Expert Mode
The PIPESIM calculation engines are keyword (p.450) driven, with the keywords normally written by the
GUI. However, you can gain access to the keywords using the following methods:
Expert Mode
Expert Mode
Expert Mode allows the following;
Calculation engine
The calculation engine to be driven directly using keyword (p.450) input files. This could be when, for
example, new features are available in the calculation engine but not yet in the Graphical Interface The
keyword input file can either be created, from scratch, using a text editor or from a model already developed
in the GUI. See how (p.200) (Only recommended for single branch models).
Network models
A number of Network models can be run in batch mode. This could be to run a set of case studies over
night for example.
Models must have been run once already using the GUI
The operational data used for the last run in the GUI will be used.
Models in the same directory may have file sharing problems and therefore not run
User Guide
199
You may want to turn off the automatic dynamic plotting (p.125) of results if multiple single branch models
are to be run.
3. Select Expert Display and select the above *.tnt or *.psm files by using the Browse button. Select
the Select check box for each model, or click Select All.
4. Edit the relevant text file(s) by clicking Edit.
5. Run the model by clicking Run .
6. To view results, click Output File, Summary, System Plot, or Profile Plot.
Batch mode
This Expert mode method can also be used to batch run models developed in the GUI.
3. Select Expert... Display and select the above *.tnt or *.psm files by using the Browse button. Select
the Select check box for each model, or click Select All.
4. Click Run.
5. To view results, click Output File, Summary, System Plot, or Profile Plot.
200
3. Select the above file (*.tnt or *.psm) using the Browse button and check the Select box, or click Select
All
4. Select Edit to modify the engine keyword file, if necessary.
5. You may want to turn off the automatic dynamic plotting (p.125) of results if multiple single branch models
are to be run.
6. Click Run to run all the selected models.
7. To view results, click Output File, Summary, System Plot or Profile Plot.
Batch Mode (p.200).
User Guide
201
Set preferences: Engine Preferences (p.125). You may want to turn off the automatic
dynamic plotting (p.125) of results if multiple single branch models are to be run.
Advanced (p.125)
Select All
Select all models in the list
Deselect All
deselect all models in the list
Selection Only
Only run selected models. Default = on.
User Guide
202
Case studies
The following case studies are described in detail:
Module
Gas Network
Loop (Folders)
Small Network
Water Reinjection
Production Network
Template
Surface facilities
Pump (p.238)
UserPump (p.238)
Compositional (p.101) Nodal Analysis (p.140) Well Design and Performance (p.22)
ESP (p.175) Design
FracPack (p.39)
Case studies
203
Injection Well
Add the aqueous phase to the compositional model and identify the hydrate envelope (p.205). Hydrates
are to be avoided by operating the pipeline above the hydrate formation temperature.
Screen the pipeline for severe riser slugging (p.210). Severe riser slugging is to be avoided.
Do the following:
1. After starting PIPESIM, select File New Pipeline and Facilities to open a new model. Save this in
the training directory (for example as file c:\training\ps02.bps).
2. Use Setup Compositional Template to enter the pure components given at the end of the case study.
Case studies
204
3. Select the pure hydrocarbon components from the component database. To select multiple items, hold
down the control key.
4. When all pure hydrocarbon components are selected, click Add>>.
5. When the number of moles of the pure components have been added, select the Petroleum
Fractions tab and characterize the petroleum fraction "C7+" by entering the BP, MW, and SG in row 1.
6. Click Add to Composition>> and, on the Component Selection tab, enter the number of moles for
C7+.
7. Generate the hydrocarbon phase envelope by pressing the Phase Envelope button. The following plot
should be obtained:
First it is necessary to add the aqueous component, pure water. Do the following:
1. Use Setup Compositional . Select water and press the Add>>" button.
2. Enter the water concentration of 10% volume ratio (bbl/bbl).
3. Generate the aqueous phase envelope and the hydrate formation line by pressing the Phase
Envelope button. The following plot should be obtained:
Case studies
205
Note: Hydrates tend to form in the region on or to the left of the hydrate line. In this study, hydrate formation
will be avoided by operating the pipeline at temperatures above 75 F at all times.
Use the pressure temperature profiles operation to calculate the pressure drop for each of the three
pipeline size options.
source button
source
2. Double-click the Source object. Enter the inlet pressure of 1,500 psia and the inlet temperature of 176
F.
3. Add a boundary node to represent the arrival point at the processing platform.
Case studies
206
boundary node
node button
node
5. Connect the model together by pointing, clicking and dragging using the riser and flowline buttons:
6.
riser button
flowline button
Completed Model
Note: The red outline indicates that essential data is missing for that component.
207
6. Click Run Model when all the data has been added.
The following plot should be obtained (the axis may have to be changed to show Total Distance versus
Pressure):
This shows that a 10" is the smallest pipeline size that will satisfy the arrival pressure condition of at least
1,000 psia.
Note: Do not forget to now set the flowline ID to 10" for all subsequent simulations.
Use the Pressure/Temperature Profile operation to calculate the temperature profile for the design
and turn down flowrate cases with 0.75" thermal insulation thickness.
Re-run the model with 1.0" thermal insulation thickness and compare the temperature profiles.
Do the following:
1. Double-click on Flowl_1.
2. Select the Heat Transfer tab, and then select the Calculate U value option.
3. Enter the heat transfer data given at the end of the case study, and add a layer of insulation with a
thermal conductivity of 0.15 Btu/hr/ft/F and a thickness of 0.75".
4. Click OK.
Case studies
208
5. Select Operations Pressure/Temperature Profile. Set up the operation so that the calculated
variable is outlet pressure, and the sensitivity variable is System Data (object) and Liquid Rate (variable)
with values of 5,000 and 10,000 STB/d, respectively.
6. Run the model and configure the output to obtain the following plot:
Case studies
209
Note: Do not forget to now set the insulation thickness to 1" for all subsequent simulations.
The presence of a long, slightly downward inclined pipeline prior to the riser.
Fluid flowing in the "stratified" or "segregated" flow regime (as opposed to the usual "slug" or
"intermittent" flow regime).
The PI-SS number can also be used to estimate the severe riser slug length from the equation:
slug length = riser height/PI-SS number.
Severe riser slugging is to be avoided in this case. The necessary information can be extracted from the
model by configuring the model output such that slug information, and flow regime maps are printed for the
fluid at the riser base.
Do the following:
1. Select Setup Define Output and select the Slug Output Pages check box.
2. Set No. Cases to Print to 2.
3. Add a report tool to the model in place of node N2. This can be done by selecting a report tool and
placing it in the work area.
report tool button
report tool
4. Reconnect Flowl_1 to the report tool by clicking on the middle of Flowl_1. You will see that highlight
boxes appear at either end of the flowline.
5. Move the mouse over the right hand highlight box; the mouse pointer changes to an "up arrow" shape.
The line can be dragged from N2 and dropped onto the report tool as shown below.
Case studies
210
Modified model
Do the following:
1. Double-click the report tool and select the Flow Map check box.
2. Select Operations Pressure/Temperature Profile and re-run the model.
3. Select Reports Output File and check the PI-SS number at the riser base for both flowrate cases. It
can be seen that the PI-SS number is higher than 1.0 at the riser base in both cases. In the turndown
flowrate case, the PI-SS number is 1.18 as shown below:
Case studies
211
4. Check the riser base flow regime maps in the output file to see if the flow is in the "stratified" or segregated
region. It can be seen that flow is in the intermittent (normal slugging) flow regime. The turndown case
flow map is shown below:
It can be seen that the segregated region has been avoided and the likelihood of severe riser slugging is
reduced.
Note: Do not forget to save the final model.
The requirement to handle the largest slugs envisaged (chosen to be statistically the 1/1000 population
slug size).
Transient effects, that is the requirement to handle the liquid slug generated when the production flow
is ramped up from 5,000 to 10,000 STB/d.
This can be achieved by reviewing the simulation output to establish the slug catcher volume required for
each of the three design criteria and select the largest volume.
Do the following:
1. Review the output file. It can be seen that the turndown case generates larger slugs.
Case studies
212
As shown above, the 1/1000 slug length is 1,781.2 ft, which gives a slug volume of 971.5 ft 3.
2. Select Reports Summary File and check the liquid swept in front of a pig ("liquid by sphere" ).
It can be seen that the turndown case gives the larger volume of 279.1 bbl or 1,567 ft 3.
3. Now calculate the liquid generated when the flow is ramped up from 5,000 STB/d to 10,000 STB/d. This
is the difference in total holdup between the two cases, that is 692 - 623 = 69 bbl or 522 ft 3.
Therefore, the pigging volume of 1,567 ft 3is the determining design case.
Data Available
Layout
Condensate flows down a 400 ft x 10" ID riser from the satellite platform to the seabed, along a 5 mile
pipeline, and up a 400 ft x 10" ID riser to the processing platform.
Case studies
213
Boundary Conditions
Fluid inlet pressure at satellite platform
1,500 psia
Fluid inlet temperature at satellite platform
176 F
Design liquid flowrate
10,000 STB/d
Maximum turndown
5,000 STB/d
Minimum arrival pressure at processing platform
1,000 psia
Minimum arrival temperature at processing platform
75 F.
75
Ethane
Propane
Isobutane
Butane
Isopentane
Pentane
0.5
Hexane
0.5
Petroleum Fraction
Name Boiling Point (F) Molecular Weight Specific Gravity Moles
C7+
214
115
0.683
Aqueous Component
Component
Water
Volume ratio (%bbl/bbl)
10
Case studies
214
12
0.5
0.001
10
0.5
0.001
12
0.5
0.001
Pipeline Data
Height of undulations
10/1000
Horizontal distance
5 miles
Elevation difference
0
Wall thickness
0.5"
Roughness
0.001"
Ambient temperature
50 F
Overall heat transfer coefficient
0.2 Btu/hr/ft 2/F
Case studies
215
Ground conductivity
1.5 Btu/hr/ft/F
Develop a blackoil model to match the laboratory data (p.217). It is necessary to develop a method of
predicting the fluid physical properties so that the pressure losses and heat transfer characteristics can
be calculated.
Develop a well inflow performance model applicable throughout field life (p.221). This provides a
relationship between the reservoir pressure, the flowing bottom hole pressure and flowrate through the
formation.
Case studies
216
Obtaining a partially calibrated blackoil model using the stock tank and bubble point properties.
Plotting the partially calibrated oil formation volume factor (OFVF) over a range of pressures and
temperatures to identify any differences between the measured and the predicted properties. Any
discrepancies will lead to fluid flow modelling errors.
Applying calibration to the OFVF above the bubble point pressure and observing how the property curves
are corrected.
Applying calibration to the OFVF below the bubble point pressure and observing how the property curves
are corrected.
Applying calibration to the oil viscosity, using the measured dead oil data first and then further tuning
with live oil data.
Do the following:
1. After starting PIPESIM, use File New Well to open a new well performance model and save this in
your training directory (for example, c:\training\...).
2. Use Setup Blackoil.. to enter the stock tank oil and bubble point properties given at the end of this
case study. For help on the definitions and valid ranges of these stock tank properties, select the
button in the dialog header bar and click on the relevant data entry field.
3. Click OK and save the model.
4. On the Advanced Calibration Data tab, click Plot PVT Data.
Note: Do not enter the advanced calibration data at this stage.
5. In the PsPlot window which opens, use the Series menu to plot the Oil Formation Volume Factor on
the Y axis.
The following plot should be obtained:
Case studies
217
The partially calibrated curve for a temperature of 210 F shows that the predicted OFVF is higher than the
measured value both above and below the bubble point pressure. At 4,269 psia the predicted value is 1.52
compared to the measured value of 1.49 and at 2,000 psia the predicted value is 1.41 compared to the
measured value of 1.38. Therefore further calibration is required.
Calibration
Do the following:
1. Apply OFVF calibration above the bubble point pressure. The measured value is 1.49 @ 4,269 psia and
210 F. The following plot should be obtained:
Case studies
218
2. Apply OFVF calibration below the bubble point pressure. The measured value is 1.38 @ 2,000 psia and
210 F. The following plot should be obtained:
Calibration of the oil viscosity requires two dead oil data points. The uncalibrated default approach is to
use the Beggs and Robinson correlation which gives values of 1.561 cP @ 200F and 23.27 cP @70
F. The Beggs and Robinson correlation uses the oil API gravity to predict two dead oil data points based
upon data obtained from around 2,000 data points from 600 oil systems.
3. Plot the uncalibrated oil viscosity. The following plots should be obtained:
Case studies
219
In this case it can be seen that the predicted oil viscosity value at a temperature of 70F and 14.7 psia
is 23.27 cP, as specified by the Beggs & Robinson correlation. This is significantly different from the
measured dead oil data and would lead to errors in the prediction of pressure loss.
4. On the Viscosity Data tab, select the correlation option user's 2 data points. Enter the two measured
values of 0.31 cP @ 200F and 0.8 cP @ 70F. The following plot should be obtained:
It can be seen that the predicted oil viscosity value at a temperature of 70F and 14.7 psia is 0.8 cP
consistent with the laboratory dead oil data.
Case studies
220
5. On the Advanced Calibration Data tab, enter the live oil calibration data of 0.29 cP@ 2,000 psia and
210F. The following plot should be obtained:
It can be seen that the predicted oil viscosity value at a temperature of 210F and 2000 psia is 0.29 cP
consistent with the laboratory live oil data.
6. Proceed to calibrate the gas viscosity and the gas compressibility using the calibration data given earlier.
vertical completion
Double-click on the vertical completion in the work area to enter data for it. Enter the static reservoir pressure
of 4,269 psia and the reservoir temperature of 210F. Press the Calculate/Graph button and enter the drill
Case studies
221
string test data given below. Click Plot IPR to calculate a Productivity Index to be used throughout the
analysis work.
Use the Systems Analysis operation to generate a plot of oil flowrate against watercut for each of the
three tubing sizes.
Overlay the production plan data and identify the smallest size that allows this plan to be met.
First it is necessary to extend the model to include a tubing string. Do the following:
1. Add a boundary node to the model by pointing and clicking on the boundary node button at the top of
the screen, and then pointing and clicking in the work area:
boundary node
2. Use the tubing button to connect the well to the boundary node:
Completed Model
Case studies
222
tubing button
Note: The red outline indicates that essential data is missing for that component. Double-click on the tubing
to enter the well depth and the tubing thickness, roughness, overall heat transfer coefficient, and ambient
thermal gradient.
Do the following:
1. Select Operations Systems Analysis and set up the operation so that the calculated variable is liquid
rate. The x axis variable is water cut, with values of 0, 12, 20,35, 40, 47, 54 and 60%, representing the
various stages of field life. The sensitivity variable is tubing I.D. with values of 2.992", 3.958" and 4.892".
2. Use PsPlot's Series option to configure the output to give the water cut against the stock tank oil rate
at the outlet:
It can be seen that 41/2" tubing is the smallest size that will satisfy all of the production plan conditions.
Note: Do not forget to now set the tubing ID to 3.958 to reflect the 41/2" tubing for all subsequent
simulations.
Data Available
Reservoir Conditions
Reservoir pressure
4,269 psia
Reservoir temperature
210F
Case studies
223
Deviation Survey
The well is vertical from the well head on the sea bed. Mid perforations are at a depth of 9,500 ft from the
well head. The ambient temperature varies linearly between 210F at mid perforations and 60F at the
wellhead. The minimum casing inner diameter is 10". The generally accepted overall heat transfer
coefficient of 2 BTU/hr/ft2/F for wellbores can be used throughout.
Minimum Pressure Allowed at the Wellhead
300 psia
0.5
0.001
3.958
0.5
0.001
4.892
0.5
0.001
Case studies
224
4,186
3,000
4,152
4,000
4,106
5,000
4,072
12,000
12
10,500
20
9,400
35
7,500
40
7,000
47
6,000
54
5,000
10
60
4,300
Case studies
225
Do the following:
1. Select File New Network to open a new network model and save this in your training directory (for
example, as file c:\training\pn01.bpn).
2. Use the Production Well button to place Well 1 in the work area as shown below.
production well
Case studies
226
8. Select Well 1 and, using the commands Edit Copy and Edit Paste, copy Well 1 to Well 2 and Well
3.
9. Position the new wells as shown below:
You will see that Wells 2 and 3 have adopted the data of Well 1.
10.Double-click Well 3 and modify the completion and tubing data. Double-click the vertical completion to
enter the inflow performance data. Enter a gas PI of 0.0005 mmscf/d/psi 2.
11.Double-click the tubing, and define a vertical tubing with a wellhead TVD of 0 and mid perforations TVD
and MD of 4900 ft.. The ambient temperatures are 140F at mid perforations and 60F at the wellhead.
The tubing has an I.D. of 2.4".
12.Close the view of Well 3 to return to the network view.
Defining a composition
The next step is to define the compositions at the production wells. Wells 1 and 2 are producing from the
same reservoir and have the same composition. Well 3 has a different composition, as shown in the data
section at the end of the case study. The most efficient way to define the compositions is to set the most
common composition (that is, the composition for Wells 1 and 2) as the global composition, and then to
specify the composition of Well 3 as a local variant. The composition of Wells 1 and 2 is the same as that
for the Pipeline and Facilities case study 2 and can be imported.
Do the following:
Case studies
227
1. First save the current network model. Open the Pipeline and Facilities case study (the recommended
file location was c:\training\ps02.bps).
2. Select Setup Compositional and click Export to export the composition to a file called "comp1.pvt".
Now close the pipeline and facilities case study.
3. In the network model, select Setup Compositional and click Import to import comp1.pvt as the global
composition.
4. Right-click Well 3, select Fluid Model, and modify the composition to be locally defined as given at the
end of this case study.
5. Now position the sink and some junction nodes.
Note: Holding down the "Shift" key whilst placing junction nodes allows multiple placement of the object.
Release the "Shift" key before the final placement.
The network should now look like this:
Case studies
228
6. Use the Branch button to connect J1 to J2. To do this, click on the Branch button, then hold down the
left mouse button over J1 and drag the mouse pointer to J2 before releasing the left mouse button.
branch button
branch connected
7. Double-click the arrow in the center of B1 to enter data for that branch. Now double-click the flowline to
enter data.
8. Close the B1 window to return to the network view.
9. As the looped gathering lines are all identical, the data for branch B1 can be propagated to the other
looped gathering lines. Select B1 by clicking on the arrow in the middle of the branch and use the
commands Edit Copy and then Edit Paste to copy B1 to B2, B3, and B4.
10.Position the new branches as shown below:
11.In order to reconnect a pasted branch, first pick the arrow in the middle of the new branch. You will see
that highlight boxes appear at either end of the branch. Move the mouse pointer over the right hand
highlight box, and you will see that the mouse pointer changes to an "up arrow" shape. This end of the
branch can then be dragged and dropped onto a junction node. Now connect the wells to the adjacent
junction node and connect J4 to the sink as shown below:
Case studies
229
12.Enter the components and data for branch B5. Branch B5 comprises a liquid separator with an efficiency
of 100%, a compressor with a pressure differential of +400 psi and an efficiency of 70%, an after-cooler
with an outlet temperature of 120F and a delta P of 15 psi, and flowline sections. The equipment is
located at B5 as shown below:
Case studies
230
Specifying all the fluid inlet pressures and the delivery pressure.
Pressure Temperature
(calculated)
Case studies
231
The calculated pressure at each branch entering and leaving a node is averaged. The tolerance of each
pressure is calculated from the equation:
Ptol = I(P - Pave.)/Pave. x 100%I
If all Ptol values are within the specified network tolerance then that node has passed the pressure
convergence test. This is repeated for each node.
The total mass flowrate into and the total mass flowrate out of a node are averaged. The tolerance is
calculated from the equation:
Ftol = I(Tot. mass flowrate in - Tot. mass flowrate ave.)/Tot. mass flowrate ave. x 100%I
If the Ftol value is within the specified network tolerance, that node has passed the mass convergence test.
This is repeated for each node.
When all of the above conditions are satisfied, the network has converged.
In this case study, the following steps are required:
1. Set the network tolerance.
2. Run the model.
3. View the tabular reports.
4. View the graphical reports.
Do the following:
1. Select Setup Options Network Iterations and set the network tolerance to 1%.
2. Save the model and then click Run
3. When the network has solved, you should see the message "pn01 - Finshed OK". Click OK.
4. Click the Report Tool button
5. More comprehensive tabular reporting is available using the Summary File button
6. Select the branch from well W3, branch B3 and branch B5. Hold the "Shift" key down to make a multiple
selection. Then press the System Plot button
. The following pressure profile for these three
branches should be obtained. The effect of the compressor at J4 on the system pressure can be seen:
Case studies
232
Data Available
Layout:
The network is laid out as shown below:
Case studies
233
Well 3
Gas PI
Wellhead TVD
4500 ft
4900 ft
Mid Perforations MD
4500 ft
4900 ft
Tubing I.D.
2.4"
2.4"
60F
60F
140F
0.2 Btu/hr/ft2/F
0.2 Btu/hr/ft2/F
Case studies
234
75
Ethane
Propane
Isobutane
Butane
Isopentane
Pentane
0.5
Hexane
0.5
73
Ethane
Propane
Isobutane
1.5
Butane
1.5
Case studies
235
Isopentane
1.5
Pentane
0.5
Hexane
0.5
Data for Looped Gathering Lines (B1, B2, B3, and B4)
Rate of undulations
10/1000
Horizontal distance
30,000 ft
Elevation difference
0 ft
Inner diameter
6"
Wall thickness
0.5"
Roughness
0.001"
Ambient temperature
60F
Case studies
236
Boundary Conditions
Node
Pressure Temperature
Case studies
237
(calculated)
Write a DLL to define a piece of equipment for use with PIPESIM (p.238).
Run the model and verify that the DLL worked (p.243)
Task 1. Write a DLL to define a piece of equipment for use with PIPESIM
Introduction
The DLL can be written in any programming language. Examples are provided in Fortran and C++ together
with the necessary library and header files. Also provided are READ ME's for Fortran and C++ code. For a
standard installation of PIPESIM, the following files are provided.
C:\Program Files\Schlumberger\PIPESIM\Developer Visual Fortran Project
Tools\User Equipment\Fortran_Code
\UserPump.vfproj
C:\Program Files\Schlumberger\PIPESIM\Developer Fortran code
Tools\User Equipment\Fortran_Code\UserPump.f90
C:\Program Files\Schlumberger\PIPESIM\Developer Visual C++ Fortran Project
Tools\User Equipment\C++_Code\UserPump.vcproj
C:\Program Files\Schlumberger\PIPESIM\Developer C++ code
Tools\User Equipment\C++_Code\UserPump.cpp
C:\Program Files\Schlumberger\PIPESIM\Developer PIPESIM include file for Fortran
Tools\User Equipment\libs\fluidman.i
C:\Program Files\Schlumberger\PIPESIM\Developer PIPESIM header file for C++
Tools\User Equipment\libs\fluidman.h
C:\Program Files\Schlumberger\PIPESIM\Developer PIPESIM fluid manager library
Tools\User Equipment\libs\fluidman.lib
C:\Program Files\Schlumberger\PIPESIM\Developer READ ME for Fortran code
Tools\User Equipment\Fortran_Code\READ.ME
C:\Program Files\Schlumberger\PIPESIM\Developer READ ME for C++ code
Tools\User Equipment\C++_Code\READ.ME
C:\Program Files\Schlumberger\PIPESIM\Case
Studies\User Equipment\UserPump.BPS
Case studies
238
C:\Program Files\Schlumberger\PIPESIM\Case
Studies\User Equipment\Pump.bps
The first two arguments are options provided by the user, through the PIPESIM GUI, and passed via the
PIPESIM simulators to the user DLL. The first option is intended to be a global option, perhaps specified
by the author of the DLL, while the second option is a local option, specified by the user of the DLL. The
difference between these two arguments will become more apparent in the section on Engine keyword tool
(p.242). Arguments three and four define, respectively, the fluid input to, and output from, the equipment.
PIPESIM fluid properties are stored in a type called fman_stream_type. The definition of this type is
provided by an include file (fluidman.i for Fortran) or header file (fluidman.h for C++). Argument five is an
error message. This will be displayed by PIPESIM if argument six is non-zero.
Any name can be used for the routine.
Note: The routine is called pump in the example code UserPump.f90 and UserPump.cpp.
Note on Fortran
If the dll needs to read from or write to a file, then care must be taken since Fortran I/O unit numbers will
be shared with PIPESIM. The following guidelines are recommended:
Use the INQUIRE statement to make sure the unit is not already opened.
Note on C/C++
If the DLL is written in C or C++, then extra arguments are required after each character argument, because
the Fortran compiler passes the address of the character string and its length. Therefore the C++ declaration
is:
void equipment(char * op1, long lenop1,
char * op2, long lenop2,
fman_stream_type & istream,
fman_stream_type & ostream,
Case studies
239
PIPESIM flash
The fman_stream_type contains fluid data that is input to the flash, (for example, pressure, temperature,
compositional handle, compositional type), and data output from the flash (for example phase splits,
densities, viscosities). Two flash routines are provided with the following interfaces:
interface
subroutine fman_stream_flowing(stream, rcode)
use fluidman_types
type(fman_stream_type) :: stream
integer, intent(out) :: rcode
end subroutine fman_stream_flowing
subroutine fman_stream_st(stream, rcode)
use fluidman_types
type(fman_stream_type) :: stream
integer, intent(out) :: rcode
end subroutine fman_stream_st
end interface
a PT-flash at user defined pressure (P) and temperature (T). To perform a PT flash at a given pressure
(P) and temperature (T) on an fman_stream_type called stream, set the stream values:
stream%ipres=P
stream%itemp=T
a PH-flash at user defined pressure and enthalpy (H). To perform a PH flash at a given pressure (P)
and enthalpy (H) on an fman_stream_type called stream, set the stream values:
stream%ipres=P
stream%ienth =H
a stock tank flash at atmospheric pressure and 60oF. To perform a stock tank flash call the routine
fman_stream_st.
240
flash (See fluidman.i and fluidman.h for more details). Examples of calling fman_stream_flowing and
c_fman_stream_flowing are given in UserPump.f90 and UserPump.cpp respectively. An example of calling
fman_stream_st is not provided since calling this routine should not be necessary; the stock tank conditions
of the outlet stream will be the same as those of the input conditions (unless the equipment changes the
fluid).
Exporting routines
The DLL export (and preprocessor) commands for these compilers are given in the example files
UserPump.f90 and UserPump.cpp.
Inform PIPESIM of the equipment DLL and its entry points (p.241).
Build a single branch model with an Engine Keyword Tool to represent the piece of equipment
(p.242).
epname (entry point name) specifies the entry point of the DLL, the actual name of the routine as
exported from the DLL.
psname (PIPESIM name) specifies the internal PIPESIM name of the routine. The psname's must be
unique. 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.
eptype (entry point type) specifies the type entry point for the DLL. Note that it must be equipment to
distinguish it from flow correlations.
Case studies
241
options specifies 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).
Build a single branch model with an Engine Keyword Tool to represent the piece of
equipment
In PIPESIM 2008.1, the only way of using this equipment piece is by inserting an Engine keyword tool into
the branch, as shown in the UserPump.bps example case:
Use this tool to add the following data:
equipment name=value options=op2
Where:
Value must be one of the psname values given with the userdll maincode (see Inform PIPESIM of the
equipment DLL and its entry points (p.241))
The string op2 is passed as the 2nd argument to the particular DLL routine linked to value. In the
UserPump.bps example provided, dp=1000 (represents a pressure differential across of 1000 psia
across the equipment piece) is passed to routine pump in DLL UserPump.dll:
The author of the DLL should make sure the users know what options (if any) are allowed.
Case studies
242
Task 3. Run the model and verify that the DLL worked
Perform the following steps to verify that the DLL worked:
1. Run the UserPump.bps model by clicking
2. View the profile plots.
The following profile plots should be obtained for pressure vs total distance:
Case studies
243
Similarly, a pressure differential of 1000 psia is applied across the 100% efficient (i.e. at constant enthalpy)
pump:
Case studies
244
Case studies
245
For this demo, we use the standard P and T profile that will be modified to illustrate the purpose of this case
study.
Measured Data
Flowing gradient Survey @ Liquid Rate 15000:
S. No.
Depth (MD)
785
3000
1355
5000
1838
7500
2550
10000
3186
145
785
1250
775
2500
760
Riser:
S. No. Depth (MD) Pressure (Psia) Temperature (F)
1
760
80
750
143
15000
750
892
12000
880
892
9000
984
892
6000
1070
892
Case studies
246
Model Setup
Do the following:
1. Build the Model. For this case, use the case study P & T Profiles.bps. For a standard installation of
PIPESIM, this can be found in C:\Program Files\Schlumberger\PIPESIM\Case Studies\Well Design and
Performance.
2. Modify the flowline element by setting Rate of Undulations to 0.
3. Double click a Tubing object to open the Tubing dialog. Select Detailed Model from the Preferred
Tubing Model list and click OK. This changes the tubing profile to Detailed mode.
Outlet pressure of 703 psia (this gives 47 psia lower than measured value of 750 psia, i.e. 6% error)
Outlet temperature of 154 F (again 11 F higher than the measured temperature of 154 F, i.e. 8% error).
Case studies
247
To correct these errors, we need to tune the model using the optimization routine (read on). PIPESIM
optimization routines allow the single branch engine to calculate optimal values of parameters to match
measured pressure and/or temperature data.
You can perform any of the following:
Pressure Match
Temperature Match
The matching is performed by tuning parameters like friction and holdup factor for Pressure matching and
U-factor for Temperature matching. See optimize (p.596) for further details.
0.5 10
0.7 1.3
0.7 1.3
Case studies
248
6000
1070
1057
1.21
9000
984
976
0.81
12000
880
875
0.57
Case studies
249
Case No. Flow rate (STB/Day) THP (psia) Measured THP (psia) Measured Difference (%)
4
15000
750
750
0.00
Case studies
250
1. Build the well model. Open the standard case study file Compositional Nodal Analysis.bps, which for
a standard installation of PIPESIM is located in C:\Program Files\Schlumberger\PIPESIM\Case Studies
\Well Design and Performance.
2. Set up the Coleman Liquid Loading Model and other parameters:
Pick the value of correction (Efficiency) factor for Coleman Liquid Loading Model from the table
(p.273) (this value is 1.0).
Select Setup Engine Options and, in the space provided for Additional engine keywords, enter
the following:
The first option reports Liquid Loading Velocity Ratio as Terminal Settling Velocity/Gas Velocity.
The second option prevents calculation of Liquid Loading for a Pipe angle up to 30 degrees from horizontal.
Case studies
251
Do the following:
1. Add a Nodal Analysis Point between the tubing and completion.
2. Select Operations Nodal Analysis and add the following settings:
Limit the outflow curves to lie within the pressure range of the inflow curves
3. View the NA plot. Plot the Pressure at NA point versus Stock Tank Gas Rate. Make a note of the stock
tank gas rate under the Data tab. The reported critical gas rate is 2.0835 mmscfd
4. The reported critical gas rate refers to the outflow curve. This can be validated by performing
Operations Pressure/Temperature Profile at the same conditions (flowrate and outlet pressure).
Perform the operation to calculate inlet pressure at the given critical gas rate (2.0835 mmscfd)
corresponding to outflow outlet pressure of 450 psia. Viewing the output file should reveal that the
Maximum Liquid Loading Velocity Ratio is close to 1. This is consistent with the Nodal Analysis result.
Open a standard case study such as Bottom Hole Nodal Analysis.bps'. In a standard installation of
PIPESIM, this can be found under C:\Program Files\Schlumberger\PIPESIM\Case Studies\Well
Design and Performance.
Double-click the tubing object and set the Preferred Tubing Model to Detailed Model.
Case studies
252
Bottom
MD (ft)
ID (inches)
Wall
Thickness
(inches)
Roughness
(inches)
11000
3.958
0.5
0.001
11600
8.681
0.5
0.001
Casing ID
(inches)
8.681
Flow
Type
Label
Tubing
Upper
Section
Tubing
Lower
Section
On the Geothermal Survey tab, select the Calculate U Value radio button, click Heat Transfer
Properties and enter the following ground data:
Thermal Conductivity
(BTU/hr/ft/F)
2.2
Specific Heat
Capacity (BTU/lb/F)
0.24
Density lb/ft3)
126
Production/Injection
Time (hrs)
500
Select Setup Engine Options and, in the Additional engine keywords box , enter the following:
HEAT HTCRD = 11.741
The second line refers to the time the well has been operating. Typically, with a value in excess of 168 hours
(one week), the surrounding rock should reach steady state heat transfer.
Tubing material
Casing material
Case studies
253
Casing material
These layers act as thermal coatings between the flowing fluid and surrounding rock. Enter the following
information in the Wellbore properties section of the Tubing Heat Transfer Properties dialog:
Tubing Thermal
Conductivity
(BTU/hr/ft/F)
35
Completion
Fluid Thermal
Conductivity
(BTU/hr/ft/F)
3.25
Casing Thermal
Conductivity
(BTU/hr/ft/F)
35
Casing
Thickness
(ft)
0.78
Case studies
254
Cement
Thermal
Conductivity
(BTU/hr/ft/F)
2
Cement
Thickness
(ft)
0.75
Case studies
255
On-site support
Schlumberger Information 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.
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.
See Also:
How to reach us (p.256)
How To Reach Us
The Schlumberger Information Solutions (SIS) Support Portal https://support.slb.com 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.
Avocet is a product line of Schlumberger Information Solutions (SIS). For more information about SIS,
please go to our Web site at http://www.sis.slb.com
256
Technical Description
Flow Modelling
Flow Correlations
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 elevation along the length of
the flow string for known conditions of flow. Multiphase vertical flow can be categorized into four different
flow configurations or flow regimes, consisting of bubble flow, slug flow, slug-mist transition 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 string 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 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 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 (p.261)
Vertical bubble flow Vertical Slug Flow Vertical Transition Flow Vertical Annular/Mist Flow
Technical Description
257
Smooth
Wavy
Elongated bubble/Plug
Bubble
Technical Description
258
Technical Description
259
gas as test fluids. Test pressures ranged from 305 to 865 psia and liquid holdup measurements ranged
from .006 - 0.732.
Mukherjee and Brill
The Mukherjee and Brill (p.445) 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 annularmist 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.
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.445) holdup correlations can be used with any correlation except Mukherjee and
Brill and No Slip. To activate the Minami and Brill correlation, enter the appropriate engine keyword under
Setup Engine Options (for example, hcorr holdup = brimin1)
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.
OLGA-S 2000 2-phase / OLGA-S 2000 3-phase
OLGAS is based in larger part on data from the SINTEF two-phase flow laboratory near Trondheim, Norway.
The test facilities were designed to operate at conditions that approximated field conditions. The test loop
was 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 50 m 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. OLGAS considers four flow regimes, stratified, annular,
Technical Description
260
slug and dispersed bubble flow and uses a unique minimum slip criteria to predict flow regime transitions.
This correlation is available to all members of the SINTEF syndicate, and to non-members on payment of
the appropriate royalty fees.
Oliemans
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. The
Oliemans (p.445) pressure loss correlation can be used with the Eaton, BJA1, BJA2, BRIMIN1 or BRIMIN2
holdup correlations.
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 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.
TUFFP Unified 2-Phase Model
The TUFFP Unified 2-Phase Model (see Zhang et.al (p.449)) is a mechanistic model for the prediction of
flow pattern transitions, pressure gradient, liquid holdup and slug characteristics in gas-liquid pipe flow. The
model is valid for all inclination angles.
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
mechanistic models and correlations 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 closure relationships included in the model are based on focused experimental research programs at
Tulsa and elsewhere. As new and improved closure relationships become available, the TUFFP Unified
Model is updated and validated. Due to the implicit nature of the model, execution time is slow relative to
other multiphase flow models. Therefore, the TUFFP Unified Model is best suited for single branch models
and/or cases where preliminary analysis has been made using a faster and simpler method. Furthermore,
the TUFFP Unified Model v 2007.1 has been observed to not converge under certain flow conditions.>
Technical Description
261
The flow correlations available are affected by the Moody friction Factor calculation method option. By
default, PIPESIM uses the explicit Moody friction factor calculation method ("Explicit Reformulation of the
Colebrook-White Equation for turbulent Flow friction Factor calculation" by J. Sonnad and C. Goudar, Ind.
Eng. Chem. Res, 2007, 46, pp. 2593-2600).
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.
Beggs and Brill Original
ORIGINAL: The Original Beggs and Brill (p.438) 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.446) and Payne
(p.446). 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.
Brill and Minami
The Brill and Minami (p.445) Holdup correlations can be used with any flow map correlations except
Mukerjee and Brill and No Slip.
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.441) or the Taitel (p.448) Dukler (p.441) 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.
Govier and Aziz
The correlation of Aziz, Govier, and Forgasi (p.438) 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
Technical Description
262
producing gas and condensate. Actual field pressure drop versus flowrate data from 102 wells with gasliquid 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 singlephase 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.
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.
Hagedorn and Brown
The correlation of Hagedorn and Brown (p.442) 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 liquidholdup 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.445) 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
Technical Description
263
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.
OLGA-S 2000 2-phase/ OLGA-S 2000 3-phase - version 3.0
OLGAS is based in larger part on data from the SINTEF two-phase flow laboratory near Trondheim, Norway.
The test facilities were designed to operate at conditions that approximated field conditions. The test loop
was 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. OLGAS considers four flow regimes, stratified, annular,
slug and dispersed bubble flow and uses a unique minimum slip criteria to predict flow regime transitions.
This correlation is available to all members of the SINTEF syndicate, and to non members on payment of
the appropriate royalty fees.
Orkiszewski
The Orkiszewski (p.446) 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 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.
HLc:
2
HL = fH HLc + (1 fH) HLc
Eq. 4.1
Technical Description
264
Note: In old versions of PIPESIM a linear holdup factor was used, but this can result in liquid holdups of 1
even when gas is flowing.
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.
( )
dp
dp
=
dL
dL
elev.
( dLdp ) + ( dLdp )
fric.
Eq. 4.2
acc.
where elevation, friction and acceleration components of the pressure drop are:
( dLdp )
( dLdp )
( dLdp )
elev.
= gsin
Eq. 4.3
fv2
2D
fric.
dv
= v
dL
acc.
Eq. 4.4
Eq. 4.5
where
dimensionless
lb / ft3
ft / s
ft / s 2
ft
ft
Throughout, the accelerational term for single phase flow is negligible and is assumed to be zero.
There are a number of different ways of calculating the friction factor, which usually depends on the
Reynolds number:
Re =
vD
Eq. 4.6
where:
Technical Description
265
fLam =
64
Re
1
1/2
fTurb
For transition flow (2000 Re 4000)
f =
= a ln
(Re
( qc + )
Remin
(Remax
)( fTurb
fLam
Remin
+ fLam
where:
is
2
ln (10)
b
c
is
/D
3.7
is
(10)
( ln5.02
)Re
is bc + ln (c)
is s s / (s + 1)
z
g
is ln
( qg )
( qc )
g
is (
z
g+1)
is bc + ln
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 Calculation Approximation used
method
Technical Description
266
Equation
EXPLICIT or SONNAD
APPROXIMATE or MOODY
IMPLICIT or ITERATIVE
Colebrook-White equation
(Moody chart)
1/2
fTurb
= a ln
( qc + )
106
fTurb
= 1.74 2log10
1/3
18.7
1/2
Re fTurb
f =
c2 3.7D
(1000 < Re < 4
c1
) / log ( 3.7 D ) )
c2 3.7D
c1
1 c1
10
) / log ( 3.7 D ) )
1 c1
10
where:
c1 = 0.98
c2 = 100.15 is a constant
Cullender and Smith (for gas)
The total pressure drop can be calculated from
pdown pup
dp
=
dL
L
where:
2
pdown
a2
pup =
b
2
where:
2
a =
64
Re
2 2 2
25 fqvG
T ZG (b 1)
0.0375(12D)5
Technical Description
267
1/2
1/2
= 2c1log10
= 2log10
Re c1 1 / 2
f
2 c2
b = exp
0.0375GL
T ZG
dimensionless
ft
psi
psi
pup
qvG
ZG
dimensionless
dimensionless
( dLdp )
fric.
pdown pup
L
where:
( )(
T ZGL ps
pup pdown =
5280 Ts
2
qvG
Ga4
(12D)a5
a1
1
1 / a3
where:
ft
psi
pup
psi
ps
psi
qvG
Ts
ZG
dimensionless
dimensionless
dimensionless
Technical Description
268
a1
a3
a4
a5
( )
dp
dL
fric.
0.015m
144(12D)4.87
( )
qvL
1.85
Eq. 4.7
where:
lb / ft3
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 within 45 degrees
of the vertical, up or down. Outside this range the selected horizontal correlation is used. This angle can
be changed.
Technical Description
269
Cunliffe's Method
Cunliffe's Method is used to predict 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:
qLT = qLi +
(HLTi HLTf)
tr
HLTf
qLi
where:
qLT
qLi
qGi = HLT total liquid holdup volume in line - initial gas rate
HLTf
LGRout
tr
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.
Liquid by Sphere
The liquid holdup throughout the pipe will be divided into two notional fractions, that is . 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
Technical Description
270
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:
SLV
SGLV = (
TPV MLV )MLV + SLV
Eq. 4.8
where:
Technical Description
271
ss =
MG
WG
Eq. 4.9
gL < GF > WL
where
Temperature
MG
(kg/kmol)
WG
kg / s
WL
kg / s
g = 9.81m / s 2
Flowline length
< GL >
This expression is with assumptions of no mass transfer between the phases L G, and the liquid fall
back in the riser is neglected.
This PI-SS expression is based upon a correlation developed at Koninklijke Shell-Laboratorium (see Pots
and Bromilow (p.446) 1985) to quantify the likelihood of severe riser slugging, that is . when ss < 1.0.
For severe slugging to occur, at least two conditions must be in evidence:
1. the flowline gas flow must be completely inhibited during slug buildup (that is due to a partly declining
flowline or the presence of flowline undulations ) .
2. the rate of hydrostatic pressure buildup in the riser due to the growth of the slug must exceed the rate
of gas pressure buildup in the flowline.
Under such conditions, the riser becomes filled with liquid before the gas pressure can drive the liquid slug
out of the line.
In PIPESIM if the value of ss is less than one at the riser base and the flow regime (as predicted by the
Taitel-Dukler correlation) is stratified (or wavy stratified), then severe riser slugging is possible. Conversely,
ss values significantly greater than one indicate that severe riser slugging is not likely.
The PI-SS number (ss) 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 ss:
Slug Length = Riser Length / ss
Technical Description
272
Hence PI-SS values (ss) 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
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 Turners Equation.
vt =
N (L G)
0.25
Eq. 4.10
(CD25G0.5)
where
lb / ft3
lb / ft3
vt
dynes / cm
is the terminal velocity of liquid droplet ft / s
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
CD
Turner (1969)
1.56
0.44
0.44
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 (Even More General Form):
vt =
1.593E (L G)
0.25
Eq. 4.11
G0.5
Technical Description
273
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
Turner (1969)
1.2
0.454
QV (Pws Pwf)
Eq. 4.12
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. 4.13
For gas IPRs the stock tank flow rates are roughly proportional to the volume flow rate at reservoir conditions
times the average reservoir pressure:
QG Qv
(Pws + Pwf)
2
2
2
)
(Pws
Pwf
Eq. 4.14
Yes
Fetkovich (p.277)
Yes
Yes
Yes
Yes
Yes
Yes
Technical Description
274
Yes
Yes
Transient (p.284)
Yes
Yes
Vogel (p.276)
Yes
Yes
Yes
Yes
The Well PI (p.275), Pseudo Steady State (p.279) and Transient (p.284) liquid IPRs can be combined
with a Vogel (p.276) IPR to model flow at pressures below the bubble point; see bubble point correction
(p.289) .
Productivity Index (PI)
PI is one of a number of methods that can be used to specify the Inflow Performance Relationship
(p.274) (IPR) for a completion. It can be regarded as a simplified version of the pseudo-steady state
(p.279) or transient (p.284) 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 = JL ( pws pwf)
Eq. 4.15
where:
QG = JG pws pwf
Eq. 4.16
where:
Technical Description
275
( ) ( ))
Q = Qmax 1 (1 C )
pwf
pws
pwf
Eq. 4.17
pws
Where
Qmax is the absolute open hole flow potential, that is the liquid flow rate when the bottom hole pressure is
zero
pwf
pws
Q = Qmax
at pwf = 0
Q=0
at pwf = pws
Productivity index
Technical Description
276
Fetkovich's Equation
Fetkovich's equation is one of a number of methods that can be used to specify the Inflow Performance
Relationship (p.274) (IPR) for a completion. The Fetkovich equation is a development of the Vogel equation
(p.276) to take account of high velocity effects.
Q = Qmax 1
( ))
Pwf
2 n
Eq. 4.18
Pws
Where
Qmax is the absolute open hole flow potential, that is the liquid flow rate when the bottom hole pressure is
zero
pwf
pws
Jones' Equation
Jones' equation (p.443) is one of a number of methods that can be used to specify the Inflow Performance
Relationship (p.274) (IPR) for a completion. It is similar to the PI (p.275) method but contains an extra term
to model turbulence.
Jones equation for gas inflow
The Jones equation for gas reservoirs is :
Technical Description
277
Eq. 4.19
where
QG
pws
pwf
index JG = 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.277) 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 :
Eq. 4.20
where
index JL = 1 B
Forchheimer Equation
Forchheimer1901 (p.441) gave an equation for non-Darcy flow in the reservoir, which is essentially the
same as the Jones equation (p.278) for liquid inflow.
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.274) (IPR) for a completion.
The Back Pressure Equation was developed by Rawlins and Schellhardt (1935) (p.447) 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:
Technical Description
278
QG = C Pws Pwf
2 n
Eq. 4.21
where
(MMscf/d)
(m3/d),
(psia)
(bara)
(bara)
(MMscf/d/(psia2)n) (m3/d/(bar 2) n)
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.275) 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.35) of the well. Since
Eq. 4.22
A plot of flow rate QG versus pws p 2wf on a log-log scale will give a line with slope n and 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.
Pseudo Steady State Equation / Darcy Equation
The pseudo steady state IPR (p.274) 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.537)):
for liquid flow the PSS is written in terms of the stock tank liquid (p.282) flow rate
this can be optionally combined with a Vogel formula for pressures below the bubble point (p.282).
the liquid flow can be modelled using a two phase version of the radial flow equations for oil and
water (p.282)
for gas flow the PSS is written in terms of the stock tank gas (p.282) flow rate
a version using the gas pseudo pressure (p.283) (more accurate for high pressure systems).
the PSS expressed in terms of reservoir flow (p.280) 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.281)
Technical Description
279
Reservoir flow
The pseudo steady state equation, like the transient IPR (p.284), 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.440):
QR = M T (Pws Pwf)
Eq. 4.23
2kh
T=
C1 ln
()
re
rw
Eq. 4.24
0.75 + S
Here:
QR
1 / cp
pws
psia
pwf
psia
mD
ft
rw
ft
re
ft
is the skin
C1
C1 =
C1 =
= 2 141.2
If the flow is in RB / d
14.7 0.30482
If the flow is in
86400 10 10
MCF / d
Technical Description
280
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 phase mobility is defined in terms of the phase relative permeability and viscosity:
M =
kr
Eq. 4.25
QR =
T (Pws Pwf)
Eq. 4.26
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:
Eq. 4.27
QR = M T (Pws Pwf)
Eq. 4.28
M = MO + MW + MG
Eq. 4.29
QRL =
krO
O
krW
W
T (Pws Pwf)
Eq. 4.30
QR = MI T (Pwf Pws)
Eq. 4.31
Here however, the mobility term represents the mobility of the fluid in the reservoir, rather than that of the
injection fluid, and must be specified. In production, the fluid being produced is the same as that moving
through the reservoir. In injection systems the two fluids may be different. For example, we would expect
different flow rates if gas is injected into a liquid filled reservoir or a gas filled reservoir. If the injection fluid
Technical Description
281
does differ from the reservoir fluid, then the injection mobility will change with time, as the reservoir fluid
changes.
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
QL =
C1LBL ln
()
re
rw
Eq. 4.32
0.75 + S
STB / d
RB / STB
QL = QR / BL = QRO / BL + QRW / BL
Eq. 4.33
Ps
V
ZRT
. The
=
P
Vs
ZsRTs
pws + pwf
, which gives a stock
2
QG =
2
2
)
2kh( pws
pwf
C2GTZ ln
()
re
rw
Eq. 4.34
0.75 + S + DQG
The quadratic term in pressure arises from a combination of the pressure difference and the reservoir
average pressure term
282
The constant term arises from a combination of the conversion factor and stock tank properties
C2 =
2C1ZsPs
Ts
The skin has been modified to include a flow rate dependent term.
QG
MSCF / d
BG
CF / SCF
cp
DQ
Ps
14.7 psi
Ts
519.67 oR
Zs
C2 =
2 14.72 0.30482
86400 10 10 519.67
QG =
C2T ln
()
re
rw
Eq. 4.35
0.75 + S + DQG
m( p) = 2
p
dp
GZ
Eq. 4.36
Technical Description
283
Transient IPR
The transient IPR (p.274) 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.551)):
for liquid flow the transient IPR is written in terms of the stock tank liquid (p.286) flow rate
this can be optionally combined with a Vogel formula for pressures below the bubble point (p.287).
the liquid flow can be modelled using a two phase version of the radial flow equations for oil and
water (p.287)
for gas flow the transient IPR is written in terms of the stock tank gas (p.287) flow rate
a version using the gas pseudo pressure (p.288) (more accurate for high pressure systems).
the transient IPR expressed in terms of reservoir flow (p.284) 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.286)
Reservoir flow
The transient IPR, like the pseudo steady state IPR (p.279), 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.440):
QR = M T (Pws Pwf)
Eq. 4.37
T=
2kh
1
C1 2 ln
4kt
2
C0Crw
QR
Eq. 4.38
)+S
is the volume flow
rate at reservoir
conditions of phase
RB / d or MCF / d
is the mobility of
phase
1 / cp
pws
is the average
reservoir pressure
psia
pwf
psia
time
hours
is the formation
permeability
mD
Technical Description
284
is the formation
thickness
rw
is the skin
is the reservoir
porosity
is the total
1 / psi
compressibility of the
reservoir and the
reservoir fluids
C0
is a conversion factor
C1
is a conversion factor
depending on the
flow units
C1 =
C1 =
= 2 141.2
ft
C0 =
14.7 0.30482 10 3
10 10 3600
If the flow is in RB / d
If the flow is in
MCF / d
The transient IPR equation can be written in similar terms to the pseudo steady state IPR (p.279) by defining
a radius
r2 =
T=
4kt
Eq. 4.39
C0C
2kh
r
Eq. 4.40
C1 ln ( ) + S
rw
The phase mobility is defined in terms of the phase relative permeability and viscosity:
M =
kr
Eq. 4.41
Technical Description
285
QR =
T (Pws Pwf)
Eq. 4.42
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:
Eq. 4.43
QR = M T (Pws Pwf)
Eq. 4.44
M = MO + MW + MG
Eq. 4.45
QRL =
krO
O
krW
W
T (Pws Pwf)
Eq. 4.46
QL =
C1LBL
1
2 ln
4kt
2
C0LCrw
Eq. 4.47
)+S
STB / d
cp
Technical Description
286
ln
4x
C0
QL =
= ln 10 log
4x
C0
C0
kt
LCrw
2)
3.23 +
Eq. 4.48
1.151
QL = QR / BL = QRO / BL + QRW / BL
Eq. 4.49
Ps
V
ZRT
. The reservoir
=
P
Vs
ZsRTs
pws + pwf
, which gives a stock tank flow
2
rate QG = QR BG:
QG =
2
2
2kh( pws
pws
)
C2GTZ
1
2 ln
4kt
2)
C0Grw
The quadratic term in pressure arises from a combination of the pressure difference and the average
The constant term arises from a combination of the conversion factor and stock tank properties
C2 =
Eq. 4.50
+ S + DQG
2C1ZsPs
Ts
The skin has been modified to include a flow rate dependent term.
MSCF / d
CF / SCF
cp
Technical Description
287
Ps
14.7 psi
Ts
519.67 oR
Zs
For MSCF / d: C2 =
2 14.72 0.30482
86400 10 10 519.67
= 2 1422
QG =
1.151 C2GTZ ln (
kt
2)
Grw
3.23 +
Eq. 4.51
S + DQG
1.151
QG =
C2T
1
2 ln
4kt
2)
C0Grw
Eq. 4.52
+ S + DQG
m( p) = 2
p
dp
GZ
Eq. 4.53
tDA =
kt
> 0.1
C0CA
Eq. 4.54
Technical Description
288
Writing A = re2, where re is the drainage radius of the reservoir, the time when the pseudo steady state
(p.279) solution becomes applicable is
Cre2
tpss = (0.1 C0)
k
Eq. 4.55
0
2.0
2.2
2.8
3.9
5.6
8.0
( ) ( ))
Q Qbp = Qmax 1 (1 C )
pwf
pbp
pwf
Eq. 4.56
pbp
Where
Qbp
Qmax
is the absolute open hole flow potential, that is the liquid flow rate when the
Qbp
Pbp
=
Technical Description
289
pbp
pwf
pws
The Vogel equation has been shifted to match a linear IPR above the bubble point:
Q = Qbp
Productivity index
at pwf = pbp
Qmax (1 + C )
Qbp
at pwf = pbp
Q
=
=
pwf
pbp
pws pbp
This correction only works if the bubble point pressure is less than the static (reservoir) pressure,
pbp < pws.
S = SM + D Q
Eq. 4.57
Technical Description
290
SM = Spp + S + Sd + Sg + Sp + S f
Eq. 4.58
Frac Pack
Yes
Yes
Yes
Yes
Yes
S deviation (p.293)
Yes
Yes
Yes
Yes
Yes
Sd damaged zone
Yes
Yes
Yes
Yes
(p.293)
(p.294)
Yes
Sp perforated well
Yes
Yes
Included in Sf
Yes
Included in Sf
(p.295)
Sf
Yes
D = Dd + Dr + Dg + Dc + D f
Eq. 4.59
Dd damaged zone
Yes
Yes
Yes
Yes
Dr reservoir
Yes
Yes
Yes
Yes
Frac Pack
Yes
Dg gravel pack
Yes
Dc crushed zone
Yes
Df frac pack
Yes
Yes
Technical Description
291
Formulas for these skin components can be found in Golan and Whitson (1986) (p.442). 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 =
Dr =
Ds =
{
{
{
DG(rw, rd, d)
Eq. 4.60
DL(rw, rd, d)
DG(rd, rr, r)
Eq. 4.61
DL(rd, rr, r)
DG(rs, rw, s)
Eq. 4.62
DL(rs, rw, s)
k h G
2
hc G
rin
k h L BL
2
hc L
rout
1
rin
Eq. 4.63
rout
Eq. 4.64
The gravel pack dynamic skin for gas flow is given by:
Dg = 2.45 10 13 g
k h G Lpack
Eq. 4.65
(2rp)4 np2 G
The gravel pack dynamic skin for liquid flow is given by:
Dg = 1.8 10 11 g
k h L BL L pack
Eq. 4.66
(2rp)4 np2 L
The crushed zone dynamic skin for gas flow is given by:
Dc = 3.84 10 15 c
k h G
Eq. 4.67
Lp2 np2 rp G
The crushed zone dynamic skin for liquid flow is given by:
Dc = 0
Eq. 4.68
The frac pack dynamic skin is given as the sum of the tunnel and annulus terms:
Df = Dt + Da
Eq. 4.69
The frac pack dynamic skin annulus term uses the same general formula as used for the damaged zone,
reservoir and gravel pack screens:
Technical Description
292
Da =
DG(rs, rc, s)
Eq. 4.70
DL(rs, rc, s)
The frac pack dynamic skin tunnel term for gas flow:
Dt = 2.222 10 18 s 4
k h G Ltun
( )
Eq. 4.71
rp
den2shot G
12
The frac pack dynamic skin tunnel term for liquid flow:
Dt = 1.635 10 16 s 4.
k h L BL Ltun
( )
rp
12
Eq. 4.72
4
2
denshot L
Spp =
( Lh 1) ln( dh
kr
kz
Eq. 4.73
with
and X =
L
h
h Reservoir Thickness
dw Wellbore Diameter
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).
Deviation Skin
Cinco et al. (p.440) (1975) approximate the pseudo-skin factor caused by the slant of a well as :
( ) ( )
S =
41
2.06
57
1.865
log10
kr
h
100rw kz
Eq. 4.74
Technical Description
293
is measured in degrees:
tan ( ) =
kz
tan()
kr
Reservoir Thickness
rw
Wellbore Radius
kr
Reservoir Permeability
kz
Eq. 4.75
Sd =
( )( )
kr
ka
1 ln
da
Eq. 4.76
dw
Technical Description
294
Sg =
kr
kg
ln
( )
rev
Eq. 4.77
rs
Sg = 2
kr
kg
h lt
Eq. 4.78
n r2p
where
lt = lt + ric rs
h Reservoir Thickness
lt Tunnel Length
ric Casing Internal Radius
rp Perforation Radius
Compare this with the Gravel skin (p.301) for a Frac Pack.
Perforated Well Skin
McLeod Model
McLeod (p.295) (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 :
Compacted or crushed zone
Technical Description
295
Sp =
) ( )
kr
kr
1
h
ln
np L lp
kc ka
dc
Eq. 4.79
dp
where:
h Reservoir Thickness
L Completion Open Interval or Perforated Interval
np Perforation Density
lp Depth of Penetration (or perforation length)
dc Compacted Zone Diameter
dp Perforation Diameter
kr Reservoir Permeability
kc Compacted Zone Permeability
ka Damaged Zone Permeability
Karakas Model
Karakas and Tariq (p.443) (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 :
la =
1
(d dw)
2 a
Eq. 4.80
rw = rw
lw = lw
if lp la
Eq. 4.81
( )
( )
rw = rw + 1
lp = lp 1
ka
kr
ka
kr
la
la
if lp > la
Eq. 4.82
Technical Description
296
Sh = ln
( )
rw
Eq. 4.83
rwc
where
rwc = () rw + lp
Eq. 4.84
Phase Angle
Sw = c1exp c2
rw
Eq. 4.85
(lp + rw )
with
c1 = c1() and c2 = c2() Functions of the phase angle (see table 4.1 (p.298))
Vertical skin
Sv = 10AHnB 1RnB
Eq. 4.86
with
Hn =
Rn =
kr
nplp
kz
npdp
kz
1+
4
kr
a1(), a2(), b1() and b2() functions of phase angle (see table 4.1 (p.298))
The equation 4.86 (p.297) is valid for Hn 10 and Rn 0.01
Technical Description
297
Sck =
kr
nplp kc
)( )
dc
1 ln
Eq. 4.87
dp
The combined skin effect caused by perforations added to the crushed zone effects is given by :
St = Sh + Sw + Sv + Sck
Eq. 4.88
If the perforations go beyond the damaged zone, the total perforation skin is the sum of these four
contributions :
St = St
for lp > la
Eq. 4.89
St =
( )( )
kr
ka
1 ln
da
dw
kr
ka
(St + Sx)
Sx = Sx(r)
for
l p l
and r =
Eq. 4.90
da
dw + 2lp
r Ratio of the damaged zone diameter over the penetration zone diameter
60
90
120
180
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
c1
c2
8.791
7.509
6.155
5.320
r = da / (dw + 2lp) Sx
18.0
0.000
Technical Description
298
4.532
360 (0)
2.675
10.0
0.001
2.0
0.002
1.5
0.024
1.2
0.085
Fcd =
kp w f
Eq. 4.91
kr x f
Technical Description
299
Shf =
Fcd < 1
if
if
Eq. 4.92
Fcd 1000
Shf = Shf ln
( )
xf
Eq. 4.93
rw
Sff =
( )
kr
waf
1
2
xf
kaf
Eq. 4.94
waf Depth of Damage (normal to the fracture face) is very thin (0.2 ft or less)
kaf Frac Face Damage Permeability
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.447) (2002) express the extra pressure
drop in the fracture in term of a skin effect:
Scf =
xcf
xf
kr
kcf
kr
kp
Eq. 4.95
Technical Description
300
San =
kr
kg
ln
( )
d ic
Eq. 4.96
ds
Stg = 2
kr
kg
lt
Eq. 4.97
np rp2
lt Tunnel length
np Perforation Density
rp Perforation radius
Technical Description
301
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.
Pressure Drop
Effect of Pressure Drop on Productivity
In 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 is 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 recently addressed the effect of wellbore pressure
gradient on horizontal well production performance.
Technical Description
302
Joshi (p.443) (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.
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:
Technical Description
303
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".
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)fq 2
L
D5
Eq. 4.98
where,
qg = 15320
2
p1
2
p2
16
3
Eq. 4.99
gTZL
where
304
Technical Description
305
Technical Description
306
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.
qh =
khh p
141.2oBo ln
a 2 ( L / 2)2
L/2
a+
()
h
L
ln
h
2rw
Eq. 4.100
and
a=
( L2 ) 0.5 +
0.25+
( )
2reh
4 0.5
Eq. 4.101
where
STB / d
qh
is the flowrate
psi
ft
is reservoir height
ft
rw
ft
ft
cp
Technical Description
307
RB / STB
mD
kh
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 equation 4.100 (p.307) is negligible and the solution simplifies to
khh p
qh =
141.2oBoln
Eq. 4.102
4reh
Muskat (p.445) (1937) suggested a simple transformation to account for permeability anisotropy. An
effective permeability, keff, is defined as
keff = kvkh
Eq. 4.103
To account for vertical anisotropy, the reservoir thickness can be modified as follows
kh
h=h
Eq. 4.104
kv
In addition, the influence of well eccentricity (distance from the center of the reservoir in the vertical plane)
was also implemented. Thus, equation 4.100 (p.307) was transformed as follows
qh =
khh p
a 2 ( L / 2)2
L/2
a+
141.2oBo ln
+ 2 L ln
( ))
Eq. 4.105
2rw
where
kh
Eq. 4.106
kv
Productivity comparisons of a horizontal well to that of a vertical well can easily be made by using equation
4.105 (p.308). In converting the productivity of a horizontal well into that of an equivalent vertical well, an
effective wellbore radius can be calculated, rw,eff
Eq. 4.107
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, Jh = Jv to give the
following for an anisotropic reservoir
r( 2 )
L
rw, eff =
a 1+ 1(
L 2
2a
h
rw
h
L
Eq. 4.108
In this way, controlling parameters like well length, permeability and formation thickness can be used to
screen potential candidates for further simulation studies.
Technical Description
308
Renard (p.447) (1990) studied the effect of formation damage around the wellbore and modified the steadystate 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.439) (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 pseudosteady 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.440) (1978) and Golan (p.442) (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
qv =
khp
141.2oBo ln (
2.2458 A
CArw2
Eq. 4.109
) + S + Sm + Dqv
where
qv
STB / d
is the flowrate
Sm
is the mechanical skin factor due to drilling and completion related well damage
psi
cp
Bo
RB / STB
mD
ft
ft2
rw
ft
reh
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),
Technical Description
309
kh p
qv =
141.2oBo ln
( )
reh
rw
Eq. 4.110
0.75
The equation 4.110 (p.310) is for a vertical well which is located in the center of a circular drainage area.
Fetkovich (p.441) (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
SCA = ln
CAref
Eq. 4.111
CA
well penetration.
( )
L
2h
kv
kh
ft
mD
mD
Joshi (p.443) (1991) explains that the well performance approaches a fully penetrating infinite-conductivity
fracture when the horizontal well length is sufficiently long, i. e. LD > 10.
Babu (p.438) (1989), Goode (p.442) (1989) and Mutalik (p.445) (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 4.5 (p.311)).
Technical Description
310
7.08 10 3b kxkz p
qh =
oBo ln
( )
A1
rw
Eq. 4.112
+ ln CH 0.75 + SR
where
is extension of the drainage volume in the direction along the well axis Oy ft
mD
mD
ft2
rw is wellbore radius
ft
The equation 4.112 (p.311) is derived from a very complex general solution. It requires the calculation of
CH and SR. 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
311
q0
q0, max
= 1V
( )
pwf
pR
1V
( )
pwf
2 n
Eq. 4.113
pR
The equation can be used under the assumptions of Vogel's original IPR correlation. The parameter V and
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.443) (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.312) (1966) defined a pseudo-pressure m(p). The gas flowrate is directly proportional
to the pseudo-pressures which is defined as
2 pdp
m( p) = pp ( ) ( )
0 p z p
Eq. 4.114
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
qh =
ZT ln
( )
Eq. 4.115
reh
rw
where
qh
mmscf / d
pe
psia
psia
kh
mD
ft
reh
ft
Technical Description
312
ft
cp
qh =
ZT ln
reh
rw
Eq. 4.116
where
D=
2.222 10 15(Gkah)
Eq. 4.117
pwfrwhp
In equation 4.117 (p.313) the high velocity flow coefficient is given by:
= 2.73 1010ka
1.1045
Eq. 4.118
where
qh
mmscf / d
pr
psia
psia
is the negative skin factor due to horizontal well (or well stimulation)
Sm
is the permeability
mD
ft
reh
ft
rw
ft
cp
Technical Description
313
cp
1 / ft
dimensionless
hp
ft
ka
mD
The equation 4.116 (p.313) 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.443)
(1991), Brown (p.439) (1984) and Golan and Whitson (p.442) (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 4.116 (p.313) iterative.
The equation 4.118 (p.313) is given in Golan and Whitson (p.442) (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. 4.119
Q = J Pws Pwf L
Eq. 4.120
( )
( )
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.279) or Tranisent (p.284) liquid IPRs for vertical
completions or the Steady State (p.306) or Pseudo-Steady State (p.309) 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:
Technical Description
314
WCUT = 100
Qw
Qo + Qw
= 100
krw(Swat) / w
kro(Swat) / o + krw(Swat) / w
Eq. 4.121
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.450). Use the PERMTAB
(p.550) keyword to define the table. Use the LAYER keyword to define the reservoir water saturation, if
required.
See also other IPR methods (p.274)
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:
Technical Description
315
Technical Description
316
q = qcrit
where
Pup
Pcrit
qcrit
lb / s
lb / s
kg / s
kg / s
dup
in
upstream diameter
Technical Description
317
in
cvL
cvG
cd
The flow coefficients can either be specified or calculated from the discharge coefficient:
cv =
cd
Eq. 4.122
1 4
where:
Eq. 4.123
The value of the critical pressure ratio CPR can be set by the user or calculated (p.321).
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:
One of twelve correlations of four distinct types can be selected for the critical flow:
1. Mechanistic (p.323), API-14B (p.323)
Technical Description
318
c1cv(64dbean)
qo =
c2
Pup
1 + RL(1 k) / k
1 + RL
1/
Bo + Fwo
o + c3GRs + Fwow
o + c3GR + Fwow
where
Bo
c1 = 3.51
is a constant
c2 = 198.6
is a constant
c3 = 0.000217
is a constant
cv
dbean
k=
bbl / STB
ft
dimensionless
Fwo
Pup
Pdown
qo
Rs
scf / STB
Technical Description
319
Eq. 4.124
RL =
dimensionless
198.6Pup
is the pressure ratio
dimensionless
dimensionless
dimensionless
dimensionless
dimensionless
=
=
Pdown
Pup
Cp
CV
0.125
1.2
12
0.1875 1.2
20
0.3125 0.976
24
0.375
0.96
32
0.5
0.95
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. 4.125
n
v
pL =
2 c cvL ZL
Eq. 4.126
Technical Description
320
n
v
pG =
2c c Z
vG
G
Eq. 4.127
ft / s
m/s
lb / s
kg / s
2
Abean = dbean
ft2
m2
n = L L + G G
lb / ft3
kg / m 3
L and G
L and G
lb / ft3
kg / m 3
ZL = 1 and
c = 144 g
lb / ( ft s 2) / psi
c=1
v=
q
Abean n
ZG = 1
0.41 + 0.35 4
Pup
n v 2
P =
2c
(cvL ZL)
Eq. 4.128
(cvG ZG)2
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.
Technical Description
321
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
CPR =
+1
Eq. 4.129
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
Ashford-Pierce (1975) (p.438) give the critical flow condition
qo
= 0 at = CPR. Differentiating the
1 + RL(1 k) / k
=0
1 + RL 1 /
Eq. 4.130
(1 + RL
1/ 2
2RL
+1
(1 + RL (1 k) / k )
Eq. 4.131
c1cv(64dbean)
qo =
c2
Pup
1 + RL(1 k) / k
1 + RL 1 /
Bo + Fwo
o + c3gRs + Fwow
o + c3gR + Fwow
Eq. 4.132
qo = 0.858cv(64dbean) Pup
2
RL + 0.76
RL + 0.56
Bo + Fwo
Technical Description
322
Eq. 4.133
RL + 0.766
RL + 0.5663
1
5.61L + 0.0765GR
L+ R LG
Eq.
3
+
R
L G
2 L
4.134
Mechanistic / API14B
The critical mass flow rate can be found by inverting the 4.128 (p.321) and evaluating it at the critical value
of the pressure drop:
2g n P
q = Abean
c1
(cvL ZL)
Eq. 4.135
(cvG ZG)
P = (1 CPR )Pup
Eq. 4.136
The API14B critical flow uses the mechanistic critical flow formula, with cvL = 0.85 and cvG = 0.9
Omana Correlation
The Omana (p.446) correlation gives a formula for the stock tank critical liquid flow rate:
0.657
1.8
3.19
dbean
G 3.49 Pup
Eq. 4.137
where:
qL =
Pup (64dbean)
Eq. 4.138
a GLRb
where
Achong
3.82
0.650 1.88 1
Baxendall
9.56
0.546 1.93 1
Gilbert
10
0.546 1.89 1
Pilehvari
Ros
17.4
0.5
2.00 1
Users can also define their own parameters for this formula by using engine keywords (p.497). For example:
Technical Description
323
Keywords can be entered in the GUI by replacing the choke with an Engine Keyword Tool (p.64).
2gns P
Qsc = 12 Abean
fL
(ZLcL)
fG
Eq. 4.139
(ZGcG)
where:
Abean
P L =
PG =
( )
( )(
1
2gns
1
2gns
Eq. 4.140
q
(12ZLcLAbean)
q
12ZLcLAbean)
Eq. 4.141
Eq. 4.142
where
ZL = 1
Critical flow
The critical mass flow is given by the subcritical correlation evaluated at the critical pressure drop:
Eq. 4.143
Technical Description
324
Fittings
The pressure drop across a fitting is given by the Crane Technical Paper 140 (p.440):
v2
P = K
2c
Eq. 4.144
ft / s
m/s
lb / ft3
kg / m 3
c = 144 g lb / ( ft s 2) / psi c = 1
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
1 d1 v1 2 d2 v2
=
=q
4
4
Eq. 4.145
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
v1
P = K1
2c
= K2
v2
Eq. 4.146
2c
K2 =
K1
Eq. 4.147
cv =
Eq. 4.148
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.
Technical Description
325
The fitting resistance can also be calculated by PIPESIM using formulae from the Crane Technical Paper
140 (p.440). The resistance is a function of the fitting type, the pipe nominal diameter, dN the internal
diameter, d2 and the diameter of any constriction, d1. These Crane Technical Paper 140 (p.440) formula
can be written as:
K1 = a1 fT(dN) + a2 0.5 1 2 + a3 (1 2)
Eq. 4.149
The first term a1 fT represents friction due to the shape of the pipe fitting, the second term
a2 0.5 (1 2) is the resistance due to sudden contraction through any constriction in the fitting and the
2
third term a3 (1 2) is the resistance due to sudden expansion after a constriction. The constants a1,
a1
a2
a3
100 0
50
30
16
20
60
600
340
150
55
55
1.6 sin
sin
1.6 sin
sin
2.6 sin
2
2
1
2.6 sin
2
2
1
The friction factor fT, depends on the nominal size of the pipe:
Technical Description
326
.027
3/4
.025
.023
1 1/4
.022
1 1/2
.021
.019
2 1/12, 3
.018
.017
.016
.015
8 - 10
.014
12 - 16
.013
18 - 24
.012
Technical Description
327
Centrifugal pumps and compressors are described by curves of head and efficiency as functions of the flow
rate for a given speed:
Eq. 4.150
Eq. 4.151
where:
ft lbf / lb Nm / kg
Nc
lb / s
kg / s
The fan laws can be used to determine the head and efficiency for speeds N that differ from the curve
speed :
( )
N 2
q
Headc
Nc
N / Nc
q
(q, N ) = c
N / Nc
Head (q, N ) =
Eq. 4.152
Eq. 4.153
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:
Eq. 4.154
c2 q Head
Eq. 4.155
Power =
where
lb / ft3
kg / m 3
Pin
N / m2
Pout
N / m2
Tin
Tout
Power
hp
c1
1 in
144 ft
c2
1
hp
550 ft lbf / s
Technical Description
328
( )
The outlet temperature depends on how much of the pump energy is transferred to the fluid. Three different
models can be used:
Adiabatic Route:
Tin
T = Tout Tin =
Polytropic Route:
((
Pout
Pin
Pout
Pin
n 1
n
Eq. 4.156
Eq. 4.157
Eq. 4.158
where
=
=
Cp
CV
n =
=
n1
1
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.
The polytropic route PV n = constan t 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.504).
Technical Description
329
Expanders
Expanders are modeled in a similar way to centrifugal compressors (p.327), 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:
Eq. 4.159
Eq. 4.160
where:
ft lbf / lb Nm / kg
Nc
lb / s
kg / s
The fan laws can be used to determine the head and efficiency for speeds N that differ from the curve
speed :
( )
N 2
q
Headc
Nc
N / Nc
q
(q, N ) = c
N / Nc
Head (q, N ) =
Eq. 4.161
Eq. 4.162
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:
Eq. 4.163
Power = c2 q Head
Eq. 4.164
where
Technical Description
330
lb / ft3
kg / m 3
Pin
N / m2
Pout
N / m2
Tin
Tout
Power
hp
c1
1 in
144 ft
c2
1
hp
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:
Pout
Pin
Pout
Pin
n 1
n
Eq. 4.165
Eq. 4.166
Eq. 4.167
where
=
=
Cp
CV
n =
n
1
=
n1 1
Technical Description
331
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.
The polytropic route PV n = 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.509)
The first two types mentioned belong to the category of positive displacement type pumps and the third
type to the category of dynamic type pumps.
Technical Description
332
Traditional approach
1. The incoming fluid is separated into its constituent liquid and
gas phases.
2. The separated liquids are pumped up to the required pressure
and exported via the liquid export line.
3. Separated gas is compressed up to the required pressure and
exported via the gas export line.
Alternative approach
1. The incoming fluid is separated into its constituent liquid and
gas phases.
2. The separated liquids are pumped up to the required pressure
and separated gas is compressed up to the required pressure.
3. The two phases are recombined and exported via a
multiphase export line.
Multiphase boosting
1. The incoming fluid is directly boosted up to the required
pressure without separation of the gas and liquid phases.
2. It is exported via a multiphase export line.
Technical Description
333
Technical Description
334
Figure 4.9. Production system analysis: THP curve and outflow curve
From Figure 3, it can be seen that the system operating point involves a tubing head pressure of 39 bara
and production rate of 5 kg/s. We can however also see from the THP curve that the flowing potential of
the well is far greater than the production rate of 5 kg/s, should the back pressure on the well be lower than
the 39 bara. Assuming we could install a booster that allows us to provide a boost of 20 [bar] to the well
fluids directly downstream of the wellhead, the outflow curve shown in Figure 3 will change to that shown
in Figure 4. The new system operating point involves a tubing head pressure of 24 bara and production rate
of 10 kg/s, that is through the boosting of the well stream production has increased by 100%.
Technical Description
335
Figure 4.10. Production system analysis: the effect of multiphase boosting visualized
Through the type of analysis outlined in Figure 3 and Figure 4, the effect of multiphase boosting on
production system operating point (tubing head pressure, production rate) can readily be established, as
can be the multiphase booster operating point and power requirement.
Technical Description
336
closed to capture the amount of fluid that has entered the chamber at pump suction;
opened to the outlet system once the chamber has reached the pump discharge port.
Technical Description
337
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;
Technical Description
338
pump flow rate (total volumetric flow rate at pump suction) at present limited to approximately 2000
m3/h per single pump;
gas volume fraction at pump suction typically limited to 95% maximum (for GVF>95%, some form of
liquid recirculation is typically required to maintain GVF-suction at 95% maximum) ;
pump inlet pressure and outlet pressures restricted by casing design pressure and seal design pressure.
Technical Description
339
Dynamic Type
Dynamic type pumps work on the principle of pressure being raised by adding kinetic energy to the fluid,
which is then converted to pressure. The actual increase in pressure is directly proportional to the density
of the pumped fluid, that is 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
therefore to be used in applications with lower maximum gas volume fractions than positive displacement
type pumps, for example in subsea applications.
The commercial development of dynamic type multiphase boosters has concentrated on the helico-axial
type, based on helico-axial hydraulics developed and licensed by Institute Franois du Petrole (IFP). For
very high gas volume fractions (GVF>95%), there is also the contra-rotating axial (CRA) machine, originally
developed by Framo Engineering AS and Shell.
The design of the helico-axial type pump has further concentrated on the driver mechanism for subsea use,
and led to the availability of 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 impeller blades have
a typical helical shape, and 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).
The following figure shows an example of a helico-axial pump stage.
Technical Description
340
pump flow rate (total volumetric flow rate at pump suction) at present limited to approximately 1500
m3/h per single pump;
Technical Description
341
pump outlet pressure restricted by casing design pressure and seal design pressure.
Alternative approach
The alternative approach described in Figure 1 has also been implemented in PIPESIM. This generic
booster splits the fluid into liquid and gas and pumps the liquid and compresses the gas. Efficiency values
for the compressor efficiency have been obtained from field data and are available in the help system.
Technical Description
342
0 (see 1) (p.344) 10
10-100
10
50
20 -100
20
40
60-100
30
40
80-100
40
30-40
80-100
50
60
70
30
60
80
30
50
90
20
70
100
10
100
APPROXIMATE COMPRESSOR
EFFICIENCY (%) (see 2) (p.344)
20 -100
10
30
20 -100
20
30
70 -100
30
30
80 -100
40
30
90
50
60
40
50
70
30
70
80
20
60
Technical Description
343
90
10
30
100
H+
1 2
v + gz dm = Q Ws
2 m
Eq. 4.168
H = U + PV
Eq. 4.169
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 4.168 (p.344), that the change in total energy is the sum of the
change in enthalpy energy,
Hdm = (U + PV )dm
Eq. 4.170
EP = (gz)dm
Eq. 4.171
and the change in total kinetic energy (based on the mixture velocity vm)
EK =
( 12 v )dm 0
2
m
Eq. 4.172
Technical Description
344
Inside fluid film (which is used to model heat transfer between a moving fluid and the pipe wall)
Pipe wall and surrounding layers (for example coatings, fluid filled annuli)
The heat transfer Q per unit length of pipe can be expressed as:
Q = UA(Tb Ta)
Eq. 4.173
where A = Do is a reference area based on the pipe outside diameter and U is the overall heat transfer
coefficient. The overall heat transfer coefficient can be calculated from the heat transfer coefficients for each
resistance, which in turn can be found from theoretical heat transfer models. The method of calculation
depends on whether the resistances are in series, parallel, or both.
Resistances in series
For resistances in series, (for example pipe coatings, see Fig 4.18 (p.346)) the temperature difference can
be written as the sum of the temperature differences across each resistance:
Ta Tb = Ti
Eq. 4.174
Therefore
A
1
Ti =
Q i
i hi
Eq. 4.175
hi
A
T
Q i
Eq. 4.176
Technical Description
345
Resistances in parallel
For resistances in parallel, (for example partially buried pipes, see Fig 4.19 (p.347)) the overall heat transfer
can be written as the sum of the heat transfer through each resistance:
Q = Qi = Ui A(Tb Ta)
i
Eq. 4.177
Therefore the overall heat transfer coefficient can be found by summing the heat transfer coefficients for
each resistance in parallel:
U = Ui
Eq. 4.178
Technical Description
346
radial heat transfer between a moving fluid and the pipe wall, see Inside film coefficient (p.348).
radial heat transfer through a conductive layer (p.352) , such as internal wax layers, the pipe wall and
insulation.
radial heat transfer through a convective layer (p.353) , such as a fluid filled annulus.
between the pipe and the surface for buried and partially buried horizontal flowlines (p.355)
radially, between the pipe and the far field geothermal temperature gradient for vertical wells
(p.358)
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
between the pipe and the ambient fluid for fully exposed vertical risers
Technical Description
347
Note
Heat transfer coefficients are referenced to the pipe outside diameter. To allow the value to be reported at
a different reference point the HEAT HTCRD (p.553) keyword can be used from the EKT (p.64)
KREITH8
Note: This is currently the default method in PIPESIM.
First, liquid and gas Reynolds numbers are calculated based on the superficial velocities vSL and vSG:
ReSL =
ReSG =
LvSLD
Eq. 4.179
L
GvSGD
Eq. 4.180
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:
Eq. 4.181
Prm =
mcpm
Eq. 4.182
km
km =
1
HL
kL
(1 HL)
Eq. 4.183
kg
Eq. 4.184
348
0.8
Nu1PTurb = 0.023ReTOTAL Pr
( ( ))
0.33
0.7
D
1+
L
Nu1PTurb =
NuSD
1 P 0.25ReTOTAL Pr
NuMD
1P
Nu1LD
P
Eq. 4.185
()(
D
L
ln 1
D
L 10
30 10
2.645
Pr0.167 ReTOTAL Pr
Nu1SDP +
1.86 ReTOTAL Pr
( )
D
L
D
L 10
30 10
1
3
( ))
D
L
Nu1LD
P;
L
D
10 <
L
D
10
L
D
30
Eq. 4.186
> 30
where the superscripts SD, MD and LD stand for short duct, medium duct and long duct, respectively.
For transition flow (2000 ReTOTAL 6000 ):
Nu1P = Nu 1P Lam
ReTOTAL
2000
) (
ln Nu1 P
ln Nu1 P
Turb
Lam
ln Remax
) ln (Remin )
Eq. 4.187
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.
For transition flow (2000 < ReTOTAL < 6000), PIPESIM uses linear interpolation to find the Nusselt number:
Reference: Kreith (p.444)
ReS = ReSG =
GvSGD
Eq. 4.188
Pr = PrG =
GcpG
Eq. 4.189
kG
where is the density, the viscosity, v the velocity, cp the specific heat capacity, k the thermal conductivity,
D the pipe diameter and the subscript SG refers to the superficial gas phase properties.
If the flow regime is otherwise, then the fluid is considered to be a single phase liquid and the Reynolds
number is:
Technical Description
349
ReS = ReSL =
LvSLD
Eq. 4.190
Pr = Pr L =
LcpL
Eq. 4.191
kL
ReSmin = 2000
Eq. 4.192
ReSmax = 6000
Eq. 4.193
Nu1PTurb = 0.023ReS Pr
1/3
( )
0.14
Eq. 4.194
( )
D
Nu1PLam = 1.86ReS Pr
L
1
3
( )
0.14
Eq. 4.195
where L is the length of the pipe and the subscript W refers to water properties. The viscosity is either
the liquid or gas viscosity depending on the flow regime (as described above).
Reference: Sieder and Tate (p.447)
Single phase Inside Film Coefficient
If the flow regime is mist, single gas phase or froth then the fluid is considered to be a single phase gas and
the Inside Film Coefficient is:
hi1P =
kGNu1P
D
Eq. 4.196
If the flow regime is otherwise, then the fluid is considered to be a single phase liquid and the inside film
coefficient is:
hi1P =
kLNu1P
D
Eq. 4.197
Technical Description
350
Multiphase Correlations
If the flow is multiphase then the void fraction is given by
AvG
Eq. 4.198
AvG + AvL
A=
D 2
4
Eq. 4.199
k2P = kG + (1 )kL
Eq. 4.200
The two phase inside film coefficient for the correlations below (unless otherwise stated) is defined as:
hi2P =
Nu2Pk2P
D
Eq. 4.201
Kaminsky
For turbulent flow (Re 2300 ):
hi2P = hi1PSL S
P2Pf
Eq. 4.202
P1Pf
The single phase turbulent heat transfer is estimated by the Sieder-Tate correlation (p.350).
For horizontal (i.e. if the pipe angle | | < swap) stratified flow, the wetting of the pipe wall is calculated
from
S = D
Eq. 4.203
( )
W
= 0
0.15
LuLSD
1
+
)
(
L + G cos
} {(
0.25
uGS
1 HL) gD
2
0.8
Eq. 4.204
0 0.624HL0.374
Eq. 4.205
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 ):
hi2P =
(2 HL)hi1PSL
Eq. 4.206
2
3
HL
Technical Description
351
The single phase laminar heat transfer is estimated by the Sieder-Tate correlation (p.350).
Reference: Kaminsky (p.443)
T = To Ti =
Eq. 4.207
where
ln (ro / ri)
A
A
T =
Q
2
k
Eq. 4.208
where
Do is the radius of the reference area (normally the pipe outside radius)
A
=
2
2
k = kwax
is the inner radius of the wax layer (equal to the pipe inner radius minus the wax thickness)
Di
ri =
rwax
2
ro =
Di
2
is the outer radius of the wax layer (equal to the pipe inner radius)
Technical Description
352
ri =
Di
2
ro =
k = kn
h=
k Nu
L
Eq. 4.209
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:
Pr =
cp
k
Eq. 4.210
and the Grashof number representing the ratio of buoyancy to viscous forces:
Gr =
L 3 2gT
2
Eq. 4.211
Technical Description
353
kg m 1 s 1
Fluid density
kg m 3
W kg 1
W m 1 s 1
Fluid properties are calculated at a film temperature Tfilm half way between the wall temperature and the
bulk fluid temperature:
Tfilm = (Twall + T f) / 2
Eq. 4.212
The wall temperature and bulk fluid temperature are used to calculate the temperature difference in the
formula for the Grashof number:
T =
| T f Twall |
Eq. 4.213
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.
hannulus
hinner
Eq. 4.214
houter
For vertical pipes (angle 45 ), the Nusselt number is given by Eckert and Jackson (1950) (p.441)
(quoted in Kreith and Bohn(1997) (p.444)) in terms of the Rayleigh number (Ra):
Eq. 4.215
Eq. 4.216
where
Ra = Pr Gr
Eq. 4.217
The bulk fluid temperature is assumed to be the average of the annulus wall temperatures:
Tf = (Tinner + Touter) / 2
Eq. 4.218
Convective Heat transfer through fluid filled annuli can be modeled by the use of the EKT (p.64). Refer to
the Expert Mode Keyword Reference section on fluid coats (p.558).
Nu = 0.53Ra0.25
Eq. 4.219
Technical Description
354
ha = h forced + h free
Eq. 4.220
For forced convection, the heat transfer coefficient depends on the Reynolds number of the flow
Eq. 4.221
hg =
kgS
R
Eq. 4.222
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 (p.119) that is selected.
A pseudo film coefficient is then added in series in order to model the ambient fluid moving above ground
level:
hext
hg
Eq. 4.223
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:
S=
Bpabur
cosh 0 Bpabur +
where
0 = cosh 1
Bp
Bg
) (
2
1+
Bp
Bg
2 1
Eq. 4.224
( RZ )
Eq. 4.225
abur = sinh
0 =
( RZ ) 1
2
Eq. 4.226
Bp =
UipcR
Eq. 4.227
kg
Technical Description
355
Bg =
haR
Eq. 4.228
kg
is the Biot number of the ground. Uipc is the combined heat transfer coefficient of the inside film, pipe,
coatings (and wax)
Uipc
hi
hwax
Eq. 4.229
Equation 4.224 (p.355) 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
1+
Bp
Bp
Bg
)(
1 + 2 Bp
1
2
Eq. 4.230
hg =
kgS
R
Eq. 4.231
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.447)
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
2
Z
Rpipe & layers
Eq. 4.232
Technical Description
356
S=
( )
Bp
1+
1 + Apart
1 Apart
Bpapart
( )
Bp
1+
( )
where
Apart = 1
Apart 1
Bg
Apart + 1
Bg
Apart > 1
Apart 1
( )(
Apart = 1 +
Bp
Eq. 4.233
Bg
2 B paparttanh 1
1+
Bg
Bp
1 Apart
2 B paparttan1
( ) )
cos 0 + Bpapart + 0
Bp
Bg
Eq. 4.234
( )
Z
apart = sin 0 = 1
R
Eq. 4.235
( )
U = 1+
0
0
Uexp Ubur
Eq. 4.236
( RZ )
0 = cos1
Eq. 4.237
Technical Description
357
1983 Method
1. A fully exposed pseudo pipe with diameter corresponding to the exposed surface area is created and
an overall heat transfer coefficient (Uexp ) 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 (Ubur ) 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:
U=
Aexp
Abur
Uexp +
U
A
A bur
Eq. 4.238
A = 2R
Eq. 4.239
Aexp = R 1
bur
2
Eq. 4.240
( RZ )
bur = sin1
Eq. 4.241
Abur = A Aexp
Eq. 4.242
hg =
2k g
D f (t)
Eq. 4.243
Technical Description
358
( ) ( )
D2
D2
1
f (t) = E1
exp
2
4T
4T
Eq. 4.244
( )
2
D
E1
= 0
4t
D2
4T
1 exp ( r)
( )
D2
d r ln
4t
Eq. 4.245
For large values of time t, Ramey uses a series expansion for the exponential integral, which to leading
order gives:
f (t) ln
( )
Dco
2
4 t
Eq. 4.246
kg
Wm 1K 1
Dco
m 2s 1
cg
Jkg 1K 1
ground density
kgm 3
kg
gcg
dimensionless
hext
Eq. 4.247
hg
and the ambient temperature used in equation 4.243 (p.358) 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.447)
Fluid Modelling
A number of fluid and solid phases may be present in oil and gas pipeline. These include:
Technical Description
359
Fluids
Liquid water
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. Scale cannot be modelled or
predicted.
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.360) 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.101) 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.403) Two phase (liquid and gas) properties can be output from
compositional packages in a tabular form that PIPESIM can read.
Technical Description
360
VG = (GOR Rs) VO
At stock tank conditions Rs = 0. The bubble point pressure (p.367) Pb(T ) can be found by calculating the
pressure at which all the gas is dissolved in the oil Rs( Pb, T ) = GOR
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.361) are needed for the fluid properties needed for simulation:
the oil formation volume factor (p.367) (which is used to determine oil density),
Liquid properties (p.404) are calculated by combining the oil and water properties.
Technical Description
361
Live oil viscosity of undersaturated systems (p.372) Vasquez and Beggs, Kouzel, Kartoatmodjo, Khan,
De Ghetto, Hossain, Petrosky, Elsharkawy,
Bergman or None.
Viscosity of oil/water mixtures (p.404)
Lee et al.
Data
Lasater (p.444)
Standing (p.448)
Correlation was
developed in 1958
from 158 experimental
data points
Pb
130 to 7,000
50 to 5,250
temperature (F)
82 to 272
100 to 258
70 to 295
17.9 to 51.1
16.5 to 63.8
16 to 58
0.574 to 1.223
0.59 to 0.95
0.56 to 1.18
20 to 1,425
20 to 2,070
Rsb
Data from 600 oil systems were Data from 457 oil systems was
used to develop correlations for used to develop correlation for
dead and live oil viscosity. 460
live oil viscosity
dead oil observations and 2,073
live oil observations were used.
Pb
50 to 5,250
132 to 5,645
temperature (F)
70 to 295
72 to 292
16 to 58
Technical Description
362
Rsb
20 to 2,070
51 to 3,544
Glas (p.442) developed PVT correlations from analysis of crude oil from the following North Sea Fields:Ekofisk Stratfjord Forties Valhall COD 30/7-2A.
De Ghetto et al (p.363)
Glas (p.364)
Lasater (p.365)
Standing (p.366)
pressure (psia)
temperature (F)
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.366) formula:
Rs(P, T ) = C G
P
10.7025 A(T )
1.1128
Eq. 4.248
Here A is a function of the fluid temperature and the oil API density:
Eq. 4.249
Technical Description
363
Rs(P, T ) = C G
P
15.7286 A(T )
1 / 0.7885
Eq. 4.250
Here A is a function of the fluid temperature and the oil API density:
Eq. 4.251
Rs = C C1 G (1 + gcorr)
C2
A(T ) P
C4
Eq. 4.252
Here A is a function of the fluid temperature and the oil API density:
log 10A = C3
API
T + 460
Eq. 4.253
If the separator pressure and temperatures are known then a non-zero gas specific gravity correction factor
is used:
0.2466
( )
log10
Psep
114.7
Eq. 4.254
C1
C2
C3
C4
Rs(P, T ) = C G
P
31.7648 A(T )
1 / 0.7885
Eq. 4.255
Here A is a function of the fluid temperature and the oil API density:
Eq. 4.256
Rs = G f (P)
1.22549
API
1.212009
T 0.210784
Eq. 4.257
Here:
Technical Description
364
Eq. 4.258
Rs = C C1 G (1 + gcorr)
C2
A(T ) P
C4
Eq. 4.259
Here A is a function of the fluid temperature and the oil API density:
log 10A = C3
API
T + 460
Eq. 4.260
If the separator pressure and temperatures are known then a non-zero gas specific gravity correction factor
is used:
0.2466
( )
log10
Psep
114.7
Eq. 4.261
C1
C2
C3
C4
Lasater
The Lasater formula for the solution gas-oil ratio:
Rs(P, T ) = C 132755
YG
(1 YG)
YG = 0.08729793 + 0.37912718 ln
Eq. 4.262
MWO
P G
+ 0.769066
T + 460
Eq. 4.263
Eq. 4.264
O =
141.5
API + 131.5
Eq. 4.265
Technical Description
365
Rs(P, T ) = C
1
0.5774
0.8439
G
P
+ 12.34
A(T )
112.727
Eq. 4.266
Here A is a function of the fluid temperature and the oil API density:
Eq. 4.267
P
A(T ) 18
Rs(P, T ) = C G
1 / 0.83
Eq. 4.268
Here A is a function of the fluid temperature and the oil API density:
Eq. 4.269
Rs(P, T ) =
C
C
g (P 14.7) 2 A(T )
C1
Eq. 4.270
Here A is a function of the fluid temperature and the oil API density:
log 10A =
C3 API
T + 460
Eq. 4.271
C1
C2
C3
10.393
Calibration
If a calibration data point is provided, Rscal = Rs Pcal, Tcal , then the calibration term C is 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.366) equation, the calibration term will be given by
Rscal =
C
C
g (Pcal 14.7) 2 A(Tcal)
C1
Eq. 4.272
Hence the Vasquez and Beggs (p.366) equation for the solution gas oil ratio can be re-written as:
Technical Description
366
Rs(P, T ) = Rscal
P 14.7
Pcal 14.7
C2
A(T )
A(Tcal)
Eq. 4.273
It is assumed that the calibration point is a bubble point (p.367), 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. 4.274
The bubble point can therefore be determined by solving the relevant solution gas-oil ratio (p.363) equation.
Eq. 4.275
()
F = Rs
g
o
0.5
+ 1.25T
Eq. 4.276
Technical Description
367
( )
C1
( )
API
API
+ C3Rs(T 60)
G
G
C2
C3
Eq. 4.277
1.811 10 4
1.751 10 5 1.337 10 9
Eq. 4.278
F = RS
0.25
1.50
+ 0.45T
Eq. 4.279
Eq. 4.280
where Zo is the oil compressibility and is a calibration factor (used in mixing different fluids).
Vasquez and Beggs
The Vasquez and Beggs correlation for the oil compressibility is
Zo = 10 5
Eq. 4.281
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 decreases with pressure.
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.369) as a function
of the flowing fluid temperature o( Ps, T ) = od(T ).
Technical Description
368
2. At pressures below the bubble point the oil viscosity is given by live oil viscosity correlations (p.371) 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.372), 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 :
od = 10x 1
Eq. 4.282
where x = yT 1.163
and y = 10z and z = 3.0324 0.02023 gAPI
Data used to develop correlation (p.362)
Glas
Dead oil viscosity is calculated as follows :
od = c log 10(gAPI)
Eq. 4.283
where
od = c log 10(gAPI)
Eq. 4.284
where
od = 10x 1
Eq. 4.285
od = 10x 1
Eq. 4.286
Technical Description
369
od = c log 10(gAPI)
Eq. 4.287
3.556
For API > 31.1 (light oils) the following correlation is used
od = 10x 1
Eq. 4.288
od = c log 10(gAPI)
Eq. 4.289
2.10255
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:
od = 10A T B
Eq. 4.290
od = 10x 1
Eq. 4.291
Eq. 4.292
where
log
C=
log
()
()
1
2
Eq. 4.293
T2
T1
and
Technical Description
370
B = 1T1 = 2T2
Eq. 4.294
ob = A od
Eq. 4.295
Correlation
Chew and
Connally
Data used to
develop
correlation
(p.362)
Beggs and
Robinson
Data used to
develop
correlation
(p.362)
0.2 +
0.8
0.000852Rs
10
0.482 +
0.000777Rs
10
0.515
Elsharkawy
and Alikhan
Hossain et al
1 1.7188311 10 3 Rs +
1.12410
0.338
1.06622
1 2.052461 10 3 Rs +
2
+1.58031 10 6 Rs
Petrosky and
Farshad
0.518
+3.47559 10 6 Rs
4 Rs
3 Rs
Eq. 4.296
where
F = A od
0.43 + 0.5165 B
Eq. 4.297
and
A = 0.2001 + 0.8428 10
0.000845Rs
Eq. 4.298
and
B = 10
0.00081Rs
Eq. 4.299
Technical Description
371
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:
ob = A ey
Eq. 4.300
where
( )
1
T
ln (Rs) 4.5 ln
3 ln (1 O)
3
460
Eq. 4.301
and
A=
( PbP )
0.14
2.5 10
4(
P Pb)
Eq. 4.302
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
For API
< 10
(extra
heavy
oils)
ob = 2.3945 + 0.8927F +
A od
A
0.5798 + 0.3432 B
+0.01567F 2
0.0335 +
+1.0875 10
10
0.000845 Rs
ob = A od
A od
0.3855 + 0.5664 B
0.2038 +
+0.8591 10
Technical Description
372
10
10
0.00081 Rs
0.00081 Rs
0.000845 Rs
0.00081 Rs
0.6487
0.2135
( )
ou = ob
p
pb
Eq. 4.303
ou = ob
F ( p) =
10F ( p)
Eq. 4.304
F ( pb)
10
p 14.7
1000 A + Bod
Eq. 4.305
0.278
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:
Eq. 4.306
) + 0.038(ob1.59)
1.8148
A = 0.006517 ob
Khan
Eq. 4.307
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
where A = 10 2.19 od
Eq. 4.308
1.055
For 10 < API < 22.3 (heavy oils) the following correlation is used:
Eq. 4.309
) + 0.03610(ob1.5939)
1.7933
where A = 0.01153 ob
For API > 22.3 ( medium and light oils) the following correlation is used:
Technical Description
373
( )
ou = ob 1
p A
pb B
Eq. 4.310
where A = 10 2.19 oD
1.055
Hossain et al
Undersaturated oil viscosity is calculated as follows:
ou = ob + 0.004481( p pb)( A B)
Eq. 4.311
) and B = 0.527737(ob1.063547)
1.068099
where A = 0.555955 ob
Petrosky and Farshad
ou = ob + 1.3449E 3( p pb)(10A)
Eq. 4.312
( )
ou = ob + A 10 2.0771 ( p pb)
where A = od
1.19279
ob
0.40712
Eq. 4.313
pb
0.7941
ou = obexp A( p pb)
where A = 2.278877 10
Eq. 4.314
4
Gas Compressibility
The real gas law is given by pV = ZRT where
p pressure
V volume
R universal gas constant
Technical Description
374
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
Eq. 4.315
Gas-Condensate Systems
2
Eq. 4.316
Eq. 4.317
where
Tc 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:
Tc =
T
Tc
Eq. 4.318
pc =
p
pc
Eq. 4.319
Various correlations have been proposed for curve fitting this reduced pressure-reduced temperature Zfactor chart and are available in PIPESIM:
Hall-Yarborough Z-Factor Correlation (p.375)
Standing Z-Factor Correlation (p.376)
Robinson et al. Z-Factor Correlation (p.376)
Hall-Yarborough Z-Factor Correlation
Gas compressibility (Z-factor) is calculated as follows:
Z=
0.06125 pRTR
x 1.2 1 TR
)2
Eq. 4.320
375
(R + R2 + R3 R4)
F (R) = 0.06125 prTR 1.2(1 TR) +
((1 R)3 (14.67TR 9.76TR24.85TR3)R)2
(2.18 + 2.82TR) = 0
2
3
+ (90.7TR 242.2TR + 42.4TR )R
2
Eq. 4.321
where
where R reduced density
pR
reduced pressure
TR
Z=
A + (1 A)
e xB + FPr
Eq. 4.322
A = 1.39(Tr 0.92)
0.5
0.36TR 0.101
6
0.32 pR
0.666
2
B = (0.62 0.23Tr)pR +
0.037 pR +
9(T 1)
(Tr 0.86)
10 R
Z = 1 + A1 +
+
A7
Tr
( )( )
A2
TR
A3
TR
R 1 + A8R
R + A4 +
)e (
x A8R
( )
A5
TD
R +
A5A6
R
where
Technical Description
376
DR
Eq. 4.323
D=
0.27 pR
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 Tr = 1.05, 3.0 and pr = 0.2, 3.0 .
Gas Viscosity
Gas viscosity is calculated using the Lee (p.444) correlation as follows:
g = K exp X g
Eq. 4.324
where
K=
X = 2.57 +
1914.5
10 4
+ 0.275g
Y = 1.11 + 0.04 X
Technical Description
377
Surface Tension
Oil-gas Surface Tension
The oil-gas surface tension is given by Baker and Swerdloff (p.438):
P + 2.1 10
Eq. 4.325
P + 2.37 10
11
is the surface tension between the oil and the gas (dynes/cm)
is the pressure
(psia)
is the temperature
( oF)
Eq. 4.326
W is the surface tension between the water and the gas (dynes/cm)
P is the pressure
(psia)
T is the temperature
( oF)
Eq. 4.327
Ho = cpoT ocpoP
Eq. 4.328
378
Hw = cpwT wcpwP
Eq. 4.329
where the gas, oil and water Joule Thomson coefficients are approximated by (Ref: Alves, Alhanati and
Shoham (p.438):
g =
T Z
Z T
gcpg
o =
w =
ocpo
wcpw
5.40395
Eq. 4.330
5.40395
Eq. 4.331
5.40395
Eq. 4.332
Eq. 4.333
where:
BTU / lb
psia
cp
lb / ft3
dimensionless
dimensionless
F / psia
BTU / lb
Eq. 4.334
Ho = cpoT + 3.36449 10 3P
Eq. 4.335
Technical Description
379
Hw = cpwT +
2.9641 10 3
Eq. 4.336
Eq. 4.337
where:
dimensionless
GORmix =
Qvg, mix
Eq. 4.338
Qvo, mix
Qvw, mix
WCUTmix =
Eq. 4.339
Here:
GORmix
WCUTmix
i=1
n
i=1
n
i=1
Qvo, i = QvL, i (1 WCUTi) is the stock tank oil volume rate of stream i
Qvw, i = QvL, i WCUTi
Technical Description
380
WCUTi
GORi
Phase densities
The phase densities (and specific gravities) are determined as a volumetric average of the input stream
densities:
DODmix =
DODi Qvo, i
Eq. 4.340
Qvo, mix
GSGi Qvg , i
GSGmix =
Eq. 4.341
Qvg, mix
WSGmix =
WSGi Qvw, i
Eq. 4.342
Qvw, mix
Here:
DODi
GSGi
WSGi
Contaminants
The mole fractions of contaminants for the mixed stream is determined using a gas phase volumetric
average of the individual stream mole fractions:
Zj
, mix =
Z j
,i
Qvg , i
Eq. 4.343
Qvg, mix
Here:
Zj
, mix
Technical Description
381
Zj
,i
CP, i Q, i
CP, mix =
K, mix =
Eq. 4.344
Q, mix
K, i Q, i
Eq. 4.345
Q, mix
Hvap, i Qg , i
Hvap, mix =
Eq. 4.346
Qg, mix
Here:
CP, mix
K, mix
Hvap, mix
CP, i
K, i
Hvap, i
Q, mix = Q, i
i=1
Q, 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
Technical Description
382
Example 1
For an example assume we are mixing 7 flow streams which have different sets of correlations as tabulated
below:
Stream Flow rate (STB/day) Dead Oil Viscosity
Under-saturated Oil
Viscosity
5000
Hossain
Kartoatmodjo
2000
Glasso
Khan
Kouzel
4000
Petrosky-Farshad
3000
Kouzel
6000
8000
Glasso
2000
Hossain
Kouzel
The total oil flow for each correlation, and the correlations selected for the combined fluid are tabulated
below:
Stream
4,5,7
11000
2,6
10000
Glasso
5000
Hossain
4000
Petrosky-Farshad
combined 30000
Stream
1,5
11000
Kartoatmodjo
8000
Hossain
2,4
5000
Khan
4000
2000
Elsharkawy
combined 30000
Kartoatmodjo
Stream
5,6
14000
2,3,4,7
11000
Kouzel
5000
combined 30000
Technical Description
383
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 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
streams in a mixture use calibration data, then the mixing is done by simply determining the mixture
correlation, as outlined in Correlations (p.382). 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 Tx 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 2point 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 Tx 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:
Qvo, i
i=1
Qvo, mix
comb(Tx) =
(i(Tx))
1/3
Eq. 4.347
Example 3
Streams 13, 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
2000
2500
Technical Description
384
1000
4= 1+2+3 5500
2500
6 = 4+5
8000
Solution Gas Rs
If one or more of the input streams has a single point calibration data, Rsi Pref , i, Tref , i , then the mixed
stream solution gas will also be calibrated using a single point:
1. Determine the correlation (p.382) for the mixed stream.
2. Determine reference pressure and temperature values Pref , mix, Tref , 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, Tref , mix . For those streams that are undersaturated at Pref , mix, Tref , 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.382) for the mixed stream.
2. Determine reference pressure and temperature values Pref , mix, Tref , mix for calibrating the mixed
stream viscosity. These are calculated as the mass flow rate average of the input stream reference
Technical Description
385
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
1=1
Qo, mix
Tref , mix =
Tref , i
Qo, i
1=1
Qo, mix
3. Determine the input stream viscosities at the mixture reference pressure and temperature
o, i Pref , mix, Tref , mix . If an input stream is undersaturated at Pref , mix, Tref , 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, Tref , mix using the 4.347 (p.384) equation.
5. The live oil correlation can then be calibrated using o, mix Pref , mix, Tref , mix
Technical Description
386
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.
P=
nRT
a
+
V b (V + m1 b) (V + m2 b)
Eq. 4.348
Where:
is the temperature
m1, m2 constants:
Technical Description
387
Z=
PV
nRT
Eq. 4.349
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
n2 R2 T2
1/2
a =
( Ai A j) (1 ij) xi xj
P
nRT
b =
Bi xi
P
Eq. 4.350
Eq. 4.351
Where:
Bi is a function of the component critical pressure Pci and critical temperature Tci
ij is the Binary Interaction Parameter (p.451) 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 SIS 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
( )
RT
P
V
ni
T, V , nj
d V ln
PV
RT
Eq. 4.352
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:
V = Veos xi Vsi
Eq. 4.353
The phase enthalpy H is calculated from the ideal gas enthalpy: Ho:
H = Ho V T
( TP )
P d V RT + PV
Eq. 4.354
The phase entropy S is calculated from the ideal gas entropy: So:
Technical Description
388
S = So V
( TP )
R
PV
d V + R ln
V
RT
Eq. 4.355
o
The ideal gas enthalpy and entropy are determined from the ideal gas specific heat Cp
:
Ho = TT Cop dT
Eq. 4.356
ref
So
TT
ref
Cop
P
dT R ln
R ( xi ln xi)
T
Pref
Eq. 4.357
The ideal gas specific heat is calculated by summing the component specific heats
o
Cp
= Cpio xi
Eq. 4.358
For library components, the component specific heat Cpio 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 MWi, boiling point temperature TBi, specific gravity i and acentric factor i.
SIS Flash / E300 Flash
PIPESIM contains two implementations of the ECLIPSE compositional flash. The first implementation is
based on PVTi code, but only contains the Peng-Robinson equation of state. The second implementation
uses PVT-Toolbox code and contains both the Peng Robinson and the Soave RedlichKwong (SRK)
equations of state. The ECLIPSE version of the Peng Robinson EoS has an option correction for the Ai
term for large acentric factors (ECLIPSE PRCORR keyword).
SIS flash name
2 Paramater Peng
Robinson Standard
Peng-Robinson
2 Paramater Peng
Robinson
Peng-Robinson
Yes
Yes
3 Paramater Peng
Robinson
Peng-Robinson
Yes
SRK
Yes
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 noncubic EoS (p.390).
Technical Description
389
Peng-Robinson
PR (Advanced)
Yes
NOT CURRENTLY
AVAILABLE
PR78 (Advanced)
SRK
RKS (Advanced)
Yes
Association (CPA)
Association (CPAInfochem)
Yes
Yes
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.
PIPESIM GUI name
Standard Peng-Robinson
PR
NOT CURRENTLY
AVAILABLE
PR78
Standard SRK
RKS
Volume Shift
Correction
Yes
DBR flash
The DBR flash has both the Peng Robinson and the Soave RedlichKwong equations of state, with both
two and three parameter (volume shift) options:
DBR flash
Peng-Robinson
Peng-Robinson Yes
SRK
SRK
Yes
Technical Description
390
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:
P=
) ( )
C
2
2
RT
B
C
D
n+
+ 2 + 5 +
1
+
exp
V
V V
V
V5
V2
V2
Eq. 4.359
The BWRS EoS can be used with most of the components that can be used with the cubic EoS. (p.392)
However, it will not work with the Hydrogen component.
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.397).
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).
The Multiflash CPA model is based on the Infochem RKSA (advanced Redlich-Kwong-Soave) equation of
state. It has the advantage that, for non-polar substances, it reduces to the RKSA eos so that all the
characterisation methods and parameters for standard oil and gas mixtures can be used. Extra terms in the
equation describe polar and associating compounds. In addition, the Infochem electrolyte model extends
CPA to salt solutions. The main application in Multiflash is representing the fluid phases when modelling
hydrates and hydrate inhibition but CPA shows improvements over standard cubic eos for other systems
such as acid gases and water.
The CPA model is the subject of an active research programme 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).
Technical Description
391
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.448) . 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.
SIS flash / E300 flash DBR 2phase flash MW (g/gmol) Tbp (K)
CH4
Methane
C1
C2H4
Ethylene
C2H6
Ethane
C1
16.043
111.66
Ethylene
28.054
169.42
C2
30.070
184.55
C3H4
Propadiene
40.065
238.77
C3H6
Propylene
42.081
225.46
C3H6
Cyclo-C3
42.081
240.34
C3
44.097
231.02
1,3-Butadiene
54.092
268.62
C3H8
Propane
C2
C3
C4H6
Technical Description
392
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
C4H8
cis2-Butene
56.108
276.87
C4H10
Isobutane
IC4
i-C4
58.123
261.34
C4H10
N-Butane
NC5
n-C4
58.123
272.66
1-Pentene
70.134
322.38
Cyclo-C5
70.134
303.11
72.150
282.65
C5H10
C5H10
Cyclopentane
C5H12
2,2-Dimethylpropane
C5H12
Isopentane
i-C5
72.150
300.99
C5H12
N-Pentane
n-C5
72.150
309.22
C6H6
Benzene
Benzene
78.114
353.24
1-Hexene
84.161
336.63
BEN
C6H12
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
Toluene
92.141
383.79
1Heptene
98.188
366.79
Mcyclo-C6
98.188
374.09
100.204
365.00
100.204
371.57
100.204
365.00
TOL
C7H14
C7H14
Methylcyclohexane
C7H16
3-Methyl Hexane
C7H16
N-Heptane
C7H16
3-Methyl Hexane
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
1Octene
112.215
394.44
112.215
404.00
n-C8
114.231
398.82
124MBenzene
120.194
442.49
120.194
425.52
128.258
423.97
134.22
456
142.285
447.30
n-C7
C8H16
C8H16
Ethylcyclohexane
C8H18
N-Octane
C9H12
C9H12
Cumene
C9H20
N-Nonane
n-C9
C10H14 1,2-Diethylbenzene
C10H22 N-Decane
n-C10
Technical Description
393
C11H24 N-Undecane
156.312
469.08
C12H26 N-Dodecane
170.338
489.48
C13H28 N-Tridecane
184.365
508.63
178.233
611.55
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
C14H10
Phenanthrene
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
SIS flash / E300 flash DBR 2phase flash MW (g/gmol) Tbp (K)
H2
Hydrogen
H2
He
Helium
N2
Nitrogen
O2
Ar
H2
2.016
20.38
Helium
4.003
4.30
N2
28.014
77.35
Oxygen
O2
31.999
90.17
Argon
Argon
39.948
87.27
Kr
Krypton
83.800
119.74
Xe
Xenon
131.290
165.01
N2
NH3
Ammonia
NH3
17.031
239.81
H2S
H2S
34.082
212.84
Technical Description
394
CO
Carbon Monoxide
CO
CO
28.010
CO2
Carbon Dioxide
CO2
CO2
44.010
SF6
146.06
SF6
81.66
209.00
Pseudo-hydrocarbon components
Some packages contain pseudo components, essentially pre-defined petroleum fractions (p.397), that can
be used to represent the heavy end of the oil.
Formula Multiflash SIS flash / E300 flash DBR 2phase 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
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
C8H10
Technical Description
395
C30
C30
C31
C31
C32
C32
C33
C33
C34
C34
C35
C36
C37
C38
C39
C40
C41
C42
C43
C44
C45
Bitumen
544.00
773.2
Multiflash
H2O
Water
CH3OH
Methanol
C2H5OH Ethanol
C2H6O2
Salt Component
Technical Description
396
Petroleum fractions
User-defined components can be created by defining key properties: molecular weight MWi, critical
pressure Pci, critical temperature Tci, boiling point temperature TBi, specific gravity i and 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 SIS flash E300 flash / DBR flash
yes
yes
yes
MWi, i
TBi, i
yes
yes
MWi
Pci, Tci, i. yes
Note: The Multiflash routines that calculate the petroleum fraction properties assume the molecular weight
of petroleum fractions exceed 72.
Multiflash (CSMA)
NIST-REFPROP
CH4
Methane
methane
C2H6
Ethane
ethane
C3H8
Propane
propane
i-C4H10
Isobutane
isobutane
n-C4H10
Butane
butane
i-C5H12
Isopentane
isopentane
n-C5H12
Pentane
pentane
n-C6H14
Hexane
hexane
n-C7H16
Heptane
heptane
n-C8H18
Octane
octane
n-C9H20
nonane
n-C10H22
decane
C2H2
Ethylene
Technical Description
397
C6H12
Cyclohexane
C7H8
Toluene
H2
Hydrogen
hydrogen (normal)
He
Helium
helium
N2
Nitrogen
nitrogen
O2
Oxygen
oxygen
Ar
Argon
argon
H2S
CO
Carbon Monoxide
carbon monoxide
CO2
Carbon Dioxide
carbon dioxide
NH3
Ammonia
Multiflash is a 3phase flash and allows aqueous components. NIST-REFPROP allows water, but is a two
phase flash. The water component is therefore removed before the flash calculation, and water properties
are calculated outside the flash.
Formula
H2O
Water
water
C2H5OH Ethanol
NIST-REFPROP Component Restrictions
In the NIST-REFPROP flash Binary interaction parameters (BIPs) (p.106) are not being available for all
pairs of components. The NIST-REFPROP flash will not work if the fluid contains any component pair with
a missing BIP. The problem only occurs with fluids containing Hydrogen Sulphide, Nonane or Decane. Pairs
of components that are not allowed are marked with an 'X' in the table below. (Note that the water component
is allowed in the simulation, but is not used in the flash).
Hydrogen Sulphide Nonane Decane
Water
Methane
Ethane
Propane
Isobutane
Butane
Isopentane
Pentane
Hexane
Heptane
Octane
Technical Description
398
Nonane
Decane
Hydrogen
Helium
Nitrogen
Oxygen
Argon
Hydrogen Sulphide
Carbon Monoxide
Carbon Dioxide
LBC (Lohrenz-Bray-Clark)
NIST recommendation for pure fluids / mixture (only available for REFPROP)
399
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 (p.102), Binary Interaction Parameters (p.106), Emulsions (p.404), Equation of State
(p.387)
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 (p.109) 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.
Background
Natural gas hydrates are solid ice-like compounds of water and light components of natural gas. They form
at temperatures above the ice point and are therefore a serious concern in oil and gas processing
operations. 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.
Technical Description
400
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.
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.
Technical Description
401
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 liquidlike 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 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.146) can also be modelled.
Technical Description
402
psia
kPa
Temperature
Water cut
Liquid Density
lb / ft3
kg / m 3
Gas Density
lb / ft3
kg / m 3
lb / lbmol
kg / kgmol
Liquid Viscosity
cP
cP
Gas Viscosity
cP
cP
Total Enthalpy
BTU / lbmol
kJ / kgmol
BTU / (lbmol F ) kJ / (kgmol K )
BTU / (lbmol F ) kJ / (kgmol K )
BTU / (lbmol F ) kJ / (kgmol K )
dyne / cm
dyne / cm
BTU / (hr ft F ) W / (m K )
Gas Compressibility
Total Entropy
Liquid Heat Capacity
Gas Heat Capacity
Liquid Surface Tension
Gas Thermal Conductivity
BTU / (hr ft F ) W / (m K )
Water Thermal Conductivity BTU / (hr ft F ) W / (m K )
Oil Thermal Conductivity
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.
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.
Technical Description
403
Table files may also contain compositional data. In this case the table data may be ignored and PIPESIM
may use normal compositional flashing.
Liquid 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.404) and liquid-gas surface tension (p.408).
Inversion
Volume Ratio
User-supplied Table
Woelflin
Brinkman
Vand
Richardson
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.
Technical Description
404
m = oo + ww
Eq. 4.360
where
o is oil viscosity
o is the volume fraction of oil
w is the water viscosity
w is the volume fraction of water
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
Technical Description
405
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.
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.
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:
2.2
m = o 1 + 0.00123VW
Eq. 4.361
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.
Brinkman
The Brinkman correlation calculates elevated emulsion viscosities on either side of the cutoff, using the
formula
L = c(1 d)
2.5
Eq. 4.362
where c is the viscosity of the continuous phase and d is the volume fraction of the discontinuous phase.
Vand
The Vand correlations calculate elevated emulsion viscosities on either side of the cutoff, using the formula
L = c
(k1d)
Eq. 4.363
(1 k2d)
406
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.
Richardson
The Richardson correlation calculates elevated emulsion viscosities on either side of the cutoff, using the
formula
L = c(kd)
Eq. 4.364
2.5(d + 0.4c)
L = c
Eq. 4.365
where d and c are the viscosities of the discontinuous and continuous phases, and d is the volume fraction
of the discontinuous phase.
Brauner and Ullman
The Brauner and Ullman correlation can be used to calculate the watercut cutoff value. It uses the formula
c=1
((
t0.6t
0.4
1 + t0.6t
0.4
Eq. 4.366
where
t =
is the cutoff/100
o
w
t =
o
w
Technical Description
407
L = O WCUT < 60
Technical Description
408
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
WCUT WCUT > 60
+ O
100
100
(dynes/cm)
(dynes/cm)
is the surface tension between the water and the gas (dynes/cm)
(%)
(1 )
( )
sp
d
dt
d Ciwax
a
dT
= Di
k b
dT
dr
( )
Eq. 4.367
= max
0.5 +
max
= max
for
for
max
max
> 0.5
Eq. 4.368
< 0.5
Technical Description
409
( )
d
dt
tp
=S H
( )
d
dt
sp
Eq. 4.369
where
1
2
==
In doing this, the model is setup to address three phase wax deposition by scaling the deposition rate by
the surface wetting of oil.
Nomenclature
d
dt
d
dt
sp
i
tp
i
Di
Diffusion coefficient (m 2 / s)
Ciwax
Temperature (variable K)
radius (variable m)
max
Porosity of wax
max
Maximum porosity
Technical Description
410
Liquid holdup
Workflows
Solvers
Tolerance Equations
The tolerance of each pressure is calculated from the equation:
((
tol = abs
( p pav)
pav 100 % )
Eq. 4.370
If all tolerance values are within the specified network tolerance then that node has passed the pressure
convergence test. This is repeated for each node. The total mass flowrate into and the total mass flowrate
out of a node are averaged.
The tolerance is calculated from the equation:
( ((
tol = abs
Totalmqin Totalmqav)
Totalmqav 100 % )
Eq. 4.371
Add this switch to the engine. Set this using Setup Preferences Engine then the
Advanced tab. This stops the engine from writing data to the PIPESIM branch window.
This is the default setting from version 1.30 of PIPESIM.
Technical Description
411
Restart File
This uses the results from the previous simulation as estimates for the unknown
variables. This is the equivalent of having the best possible estimates. This is most
effective when you are running many similar scenarios with only small variations. See
Restart Model (p.152) for the limitations.
Minimize
window
Minimize the PIPESIM-Net engine window using the minimize button (top right) after
the engines starts. This lets the computer optimize the updates to the window.
Network
Save the model to the local PC rather than to a Network drive. This will remove potential
network delays. Also use a local license file if possible.
-k0 switch
PIPESIM uses an iterative approach and stops calculation when the iterative error is
less than a given tolerance. Thus, the tolerance has a direct impact on the number of
iterations and the time taken to have an acceptable result. The default tolerance is 1%.
You can put a higher tolerance to get some quick results under Setup Iterations.
Note that results with tolerance greater than 2% are not recommended.
Moody friction
factor
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.448)) or a fast explicit or approximate method (see the
Moody paper (p.445)) . The default calculation method for the friction factor is the
explicit method. The Moody friction factor calculation 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. The reader is referred to Single
Phase Flow Correlations (p.265) for more details. The fastest but less accurate method
is the approximate method. To activate it, in the bottom text box under Setup Engine
options, type the following on two lines:
OVERRIDE
SPHASE MOODYCALC = APPROXIMATE
Segment
length
Pipes are subdivided by PIPESIM in shorter segments to calculate pressure drops. More
subdivisions of the pipe provide more accurate answers but typically takes more time.
The default number of subdivisions in PIPESIM is 4. You can change it using Setup
Engine options and the Option Control tab. Set the Segments per pipe length to 3.
Note that if you set this to 2, the simulation may go even faster but the answers may be
less stable. Finally if PIPESIM encounters discontinuities using the user-suggested
subdivision, it will override it, which may ... as a final consequence slow the simulation.
PIPESIM reports pressure, temperature, flow, etc. at the middle point of each segment.
To be able to report accurate values at the start and end of each node, PIPESIM adds
an extra one foot segment at either side of each node. If you are not interested in the
Technical Description
412
exact values at the beginning and end of each node, or are performing some fine tuning,
deactivate that option using Setup Engine options and selecting the Option
Control tab. Deselect Additional short segments either side of each node and selecting
under Options Control Group, Use network options. Alternatively, in the bottom text box
under Setup Engine options, type the following on two lines:
OVERRIDE
OPTION EOFS =OFF
Wells offline
Wells offline allow a production well, in a network model, to be modeled using a well
performance curve of flowrate versus [outlet] well head pressure - example curve. These
well performance curve(s) are stored in ASCII files and can be created using a PIPESIM
operation or any other suitable Nodal analysis package. This option has been introduced
to reduce the time required to solve large networks. Indeed in a network model, a
significant amount of time is spent computing well bore pressure losses. In addition, it
insures that the well operates in its stable region by providing a smooth curve. The
reader is referred to Well Curves (p.19) for more details. To enable Wells offline for a
specific well, select Setup Boundary Conditions and select PQ Curve for that well.
Generally the user can set all wells offline by typing on two lines in the bottom text box
under Setup Engine options
OVERRIDE
SETUP WOLMODE= CREATE?
The user is referred to SETUP keywords (p.603) for the other options for the wells offline
mode.
Flashing
settings
Flashes are very expensive in term of performance. PIPESIM can minimize the number
of flashes depending on the settings in Setup Flashing. See Options Calculations
procedure (p.462) for more details. The options available include:
Always Interpolate (fastest): this option uses interpolation between physical
properties determined by in a predefined grid of temperature and pressure points.
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.
Always Rigorous Flash (slowest). Interpolation never occurs: properties are obtained
by flashing at the required pressure and temperature. This is the slowest method but
most accurate method.
Step 3: Low Level changes to the PIPESIM model or trade off of accuracy vs. speed
Technical Description
413
These settings typically involve trade off of speed vs. accuracy and might require some substantial work
to revert once you have fine tuned your model and want to get more accuracy.
Tolerance
PIPESIM uses an iterative approach and stops calculation when the iterative error is
less than a given tolerance. Thus, the tolerance has a direct impact on the number of
iterations and the time taken to have an acceptable result. The default tolerance is 1%.
You can put a higher tolerance to get some quick results under Setup Iterations.
Note that results with tolerance greater than 2% are not recommended.
Boundary
conditions
Enter flow rates as the fixed inlet boundary condition. This usually solves faster.
Loops
Avoid loops in the network topology if possible. Loops require extra checks from
PIPESIM to ensure overall consistency (e.g. elevation difference)
Moody friction
factor
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.448)) or a fast explicit or approximate method (see the
Moody paper (p.445)) . The default calculation method for the friction factor is the
explicit method. The Moody friction factor calculation 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. See Single Phase Flow
Correlations (p.265) for more details. The fastest but less accurate method is the
approximate method. To activate it, in the bottom text box under Setup Engine
options, type the following on two lines:
OVERRIDE
SPHASE MOODYCALC = APPROXIMATE
Segment
length
Pipes are subdivided by PIPESIM in shorter segments to calculate pressure drops. More
subdivisions of the pipe provide more accurate answers but typically takes more time.
The default number of subdivisions in PIPESIM is 4. You can change it using Setup
Engine options and the Option Control tab. Set the Segments per pipe length to 3.
Note that if you set this to 2, the simulation may go even faster but the answers may be
less stable. Finally if PIPESIM encounters discontinuities using the user-suggested
subdivision, it will override it, which may slow the simulation.
Fluid model
Flow
correlation
The native bja package is the fastest. In that package, the No Slip assumption
correlation will be the less realistic but the fastest. 3rd party-based Olga correlations will
be the slowest.
Wells offline
Wells offline allow a production well, in a network model, to be modeled using a well
performance curve of flowrate versus [outlet] well head pressure - example curve. These
well performance curve(s) are stored in ASCII files and can be created using a PIPESIM
operation or any other suitable Nodal analysis package. This option has been introduced
to reduce the time required to solve large networks. Indeed in a network model, a
significant amount of time is spent computing well bore pressure losses. In addition, it
ensures that the well operates in its stable region by providing a smooth curve. The
Technical Description
414
reader is referred to Well Curves (p.19) for more details. To enable Wells offline for a
specific well, select Setup Boundary Conditions and select PQ Curve for that well.
Generally the user can set all wells offline by typing the following on two lines in the
bottom text box under Setup Engine options
OVERRIDE
SETUP WOLMODE= CREATE?
The user is referred to SETUP keywords (p.603) for the other options for the wells offline
mode.
Flashing
settings
Flashes are very expensive in term of performance. PIPESIM can minimize the number
of flashes depending on the settings in Setup Flashing. The reader is referred to
Options Calculations procedure (p.462) for more details. The option available include:
Always Interpolate (fastest): this option uses interpolation between physical
properties determined by in a predefined grid of temperature and pressure points.
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.
Always Rigorous Flash (slowest). Interpolation never occurs: properties are obtained
by flashing at the required pressure and temperature. This is the slowest but the most
accurate method.
PIPESIM uses an iterative approach and stops calculation when the iterative error is
less than a given tolerance. Thus, the tolerance has a direct impact on the number of
iterations and the time taken to have an acceptable result. The default tolerance is 1%.
You can put a lower tolerance to increase accuracy using Setup Iterations. Note that
results with tolerance less than 0.1% are not recommended as the time needed for lower
tolerance will increase very quickly.
Boundary
conditions
Loops
Moody friction
factor
When the specified phase correlation is the Moody correlation or the Cullender-Smith
correlation, PIPESIM calculates the Moody friction factor using either an iterative implicit
method (Colebrook-White equation (Moody chart)), an explicit method (see the Sonnad
Technical Description
415
and Goudar paper (p.448)) or a fast explicit or approximate method (see the Moody
paper (p.445)). The default calculation method for the friction factor is the explicit
method. The Moody friction factor calculation 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. See Single Phase Flow
Correlations (p.265) for more details. To use a more accurate calculation method for
the Moody friction factor, enter the following on two lines in the bottom text box under
Setup Engine options:
OVERRIDE
SPHASE MOODYCALC = EXPLICIT
or
OVERRIDE
MOODYCALC=IMPLICIT
Extra one foot
segment
PIPESIM reports pressure, temperature, flow, etc. at the middle point of each segment.
To be able to report accurate values at the start and end of each node, PIPESIM adds
an extra one foot segment at either side of each node. If you are interested in the exact
values at the beginning and end of each node you can activate that option using
Setup Engine options and the Option Control tab by checking Additional short
segments either side of each node and selecting under Options Control Group, Use
network options. Alternatively, in the bottom text box under Setup Engine options,
you can enter the following on two lines:
OVERRIDE
OPTION EOFS =ON
Fluid model
If using a compositional model, you can increase the number of flash points by typing
the following on two lines in the bottom text box under Setup Engine options.
OVERRIDE
OPTION NUMGRIDPRES =60 NUMGRIDTEMP=60
Note: The maximum flash grid size is 60x60 while the default size is 20x20
Flow
correlation
Wells offline
Wells offline allow a production well, in a network model, to be modeled using a well
performance curve of flowrate versus [outlet] well head pressure - example curve. These
well performance curve(s) are stored in ASCII files and can be created using a PIPESIM
operation or any other suitable Nodal analysis package. This option has been introduced
to reduce the time required to solve large networks. Indeed in a network model, a
significant amount of time is spent computing well bore pressure losses. In addition, it
insures that the well operates in its stable region by providing a smooth curve. The
reader is referred to Well Curves (p.19) for more details. To disable Wells offline for a
specific well, select Setup> Boundary Conditions and unselect PQ Curve for that well.
Technical Description
416
Generally the user can set all wells online by typing the following on two lines in the
bottom text box under Setup Engine options
OVERRIDE
SETUP WOLMODE= OFF
The user is referred to SETUP keywords (p.603) for the other options for the wells offline
mode.
Flashing
settings
Flashes are very expensive in term of performance. PIPESIM can minimize the number
of flashes depending on the settings in Setup Flashing. Select Always Rigorous Flash
(slowest) for most accuracy. See Options Calculations procedure (p.462) for more
details.
General
Well Performance
Network
Technical Description
417
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.
WT
in
1 1/4in
3.02
1 1/4in
2.3
1 1/4in
2.33
1 1/4in
2.4
1 1/4in
2.1
2 3/8in
7.7
2 3/8in
6.2
2 3/8in
5.8
Tubing
2 3/8in
5.95
Tubing
2 3/8in
5.3
2 3/8in
4.6
Tubing
2 3/8in
4.7
Tubing
2 3/8in
Tubing
2 7/8in
11
2 7/8in
10.7
2 7/8in
9.5
2 7/8in
8.6
Tubing
2 7/8in
8.7
Tubing
2 7/8in
7.8
Tubing
2 7/8in
7.9
Tubing
2 7/8in
6.4
Tubing
2 7/8in
6.5
Tubing
3 1/2in
16.7
3 1/2in
15.8
Technical Description
418
Tubing
Tubing
3 1/2in
12.7
Tubing
3 1/2in
12.95
Tubing
3 1/2in
12.8
3 1/2in
9.2
Tubing
3 1/2in
9.3
Tubing
3 1/2in
10.2
Tubing
3 1/2in
7.7
Tubing
4 in
13.4
4 in
11.6
4 in
11
Tubing
4 in
9.5
Tubing
4 1/2 in
19.2
4 1/2 in
19.1
Casing
4 1/2 in
16.6
Casing
4 1/2 in
15.1
Casing
4 1/2 in
15.5
4 1/2 in
13.5
4 1/2 in
12.6
Tubing
4 1/2 in
12.75
Tubing
4 1/2 in
11.6
Casing
4 1/2 in
10.5
Casing
4 1/2 in
9.5
Casing
5 in
24.2
Casing
5 in
23.2
Casing
5 in
21.4
Casing
5 in
20.8
5 in
20.3
5 in
18
Casing
5 in
15
Casing
5 in
13
Casing
5 in
11.5
Casing
5 1/2in
35
Casing
5 1/2in
26.8
Casing
5 1/2in
26
Casing
Technical Description
419
5 1/2in
23
Casing
5 1/2in
20
Casing
5 1/2in
17
5 1/2in
15.5
Casing
5 1/2in
14
Casing
5 1/2in
13
6 in
26
6 in
23
6 in
20
6 in
18
6 in
15
6 5/8 in
32
Casing
6 5/8 in
28
Casing
6 5/8 in
24
Casing
6 5/8 in
20
Casing
6 5/8 in
17
7 in
42.7
Casing
7 in
38
Casing
7 in
35
Casing
7 in
32
Casing
7 in
29
Casing
7 in
26
Casing
7 in
23
Casing
7 in
20
Casing
7 in
17
Casing
7 5/8 in
47.1
Casing
7 5/8 in
45.3
Casing
7 5/8 in
39
Casing
7 5/8 in
33.7
Casing
7 5/8 in
29.7
Casing
7 5/8 in
26.4
Casing
7 5/8 in
24
Casing
7 5/8 in
20
8 5/8 in
49
Casing
8 5/8 in
44
Casing
Technical Description
420
8 5/8 in
40
Casing
8 5/8 in
36
Casing
8 5/8 in
32
Casing
8 5/8 in
28
Casing
8 5/8 in
24
Casing
9 5/8 in
71.8
9 5/8 in
70.3
Casing
9 5/8 in
61.1
Casing
9 5/8 in
58.4
Casing
9 5/8 in
53.5
Casing
9 5/8 in
47
Casing
9 5/8 in
43.5
Casing
9 5/8 in
40
Casing
9 5/8 in
36
Casing
9 5/8 in
32.3
Casing
9 5/8 in
29.3
10 3/4 in 79.2
Casing
10 3/4 in 73.2
Casing
10 3/4 in 71.1
Casing
10 3/4 in 65.7
Casing
10 3/4 in 60.7
Casing
10 3/4 in 55.5
Casing
10 3/4 in 51
Casing
10 3/4 in 45.5
Casing
10 3/4 in 40.5
Casing
10 3/4 in 32.75
Casing
11 3/4 in 66.7
Casing
Technical Description
421
11 3/4 in 60
11 3/4 in 54
Casing
11 3/4 in 47
Casing
11 3/4 in 42
Casing
11 3/4 in 38
13 3/8 in 100.3
13 3/8 in 98
13 3/8 in 92.5
Casing
13 3/8 in 86
Casing
13 3/8 in 85
13 3/8 in 77
13 3/8 in 71
Casing
13 3/8 in 72
Casing
13 3/8 in 68
Casing
13 3/8 in 61
Casing
13 3/8 in 54.5
Casing
13 3/8 in 48
Casing
16 in
109
16 in
84
Casing
16 in
75
Casing
Casing
Technical Description
422
16 in
65
16 in
55
Casing
18 5/8 in 87.5
Casing
20 in
133
Casing
20 in
106.5
Casing
20 in
94
Casing
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
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
Technical Description
423
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.203
2 1/2in
Sch 80
2.874
2.323
0.276
2 1/2in
Sch 40
2.874
2.126
0.374
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
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
Technical Description
424
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
10in
Sch 30
10in
Sch 20
12in
Sch 160
12in
Sch 140
12in
Sch 120
12in
Sch 100
12in
Sch 80
12in
Sch 60
12in
Sch 40
12in
Sch 30
12in
Sch 20
14in
Sch 160
14in
Sch 140
14in
Sch 120
14in
Sch 100
14in
Sch 80
14in
Sch 60
14in
Sch 40
14in
Sch 30
14in
Sch 20
14in
Sch 10
Technical Description
425
16in
Sch 160
16in
Sch 140
16in
Sch 120
16in
Sch 100
16in
Sch 80
16in
Sch 60
16in
Sch 40
16in
Sch 30
16in
Sch 20
16in
Sch 10
18in
Sch 160
18in
Sch 140
18in
Sch 120
18in
Sch 100
18in
Sch 80
18in
Sch 60
18in
Sch 40
18in
Sch 30
18in
Sch 20
18in
Sch 10
20in
Sch 160
20in
Sch 140
20in
Sch 120
20in
Sch 100
20in
Sch 80
20in
Sch 60
20in
Sch 40
20in
Sch 30
20in
Sch 20
20in
Sch 10
24in
Sch 160
24in
Sch 140
24in
Sch 120
24in
Sch 100
24in
Sch 80
Technical Description
426
24in
Sch 60
24in
Sch 40
24in
Sch 30
24in
Sch 20
24in
Sch 10
30in
Sch 30
30in
Sch 20
30in
Sch 10
Typical Values
Fluid Properties
The table below gives typical values for properties, in Engineering units and data for various oil locations
worldwide.
Default
North
America
South
America
Water cut
GOR
required
Gas s.g.
0.64
Water s.g.
1.02
API
30
Middle
East
Far
East
32-44
34
Black Oil
Properties
100
38
13 - 56
Glaso
Lasater
7-45
Viscosity
Data
Dead Oil
viscosity
Beggs and
Robinson
Beggs and
Robinson
Viscosity @
200F
2.247
0.4 -11
5 - 10,000
Viscosity @
60F
117.8
3.8 82,000
120 - 10,000
Heat
capacities
Oil (p.571)
0.45
Gas (p.571)
0.55
Technical Description
427
Australia
Water
(p.571)
1.0
Roughness
Material
ft.
in
0.00006
0.00015
0.0018
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
(kg/m3)
Btu/hr/ft/F
Anhydrite
(W/m/K)
0.75
Carbon Steel
7900
1.4 - 2.0
0.19
0.33
0.17
0.30
0.12
0.20
Dolomite
1.0
Ground (Earth)
0.37 - 1.5
Gypsum
0.75
Halite
2.8
Ice
900
28.9
1.27
50
2.2
Lignite
2.0
Limestone
0.54
Line pipe
27
46.7
26
45
0.75 - 1.5
1.3 - 2.6
Mud
1500
Technical Description
428
Neoprene Rubber
0.17
0.3
20
34.6
20
34.6
30 - 100
0.011 - 0.023
0.02 - 0.04
0.023 - 0.034
0.4 - 0.6
100 - 340
0.023 - 0.025
0.040 - 0.044
Sandstone
1.06
Shale
0.7
Stainless Steel
8.67
15
18
31.14
15
26
500
0.052
0.09
0.17
0.3
Volcanics
Wet Sand
1.6
1600
1.04 - 1.44
1.8 - 2.5
20oC
100oC
200oC
0.024
0.026
0.030
0.037
0.14
0.14
0.12
0.10
0.26
0.25
0.20
0.14
0.030
0.032
0.045
0.062
0.045
0.045
0.052
0.070
0.071
0.067
0.064
0.074
0.090
0.085
0.076
0.083
0.56
0.59
0.68
0.68
Air
Crude Oil (p.560) (30 API)
0.138
Glycol (DEG)
Natural Gas (p.560) (P=1 bara)
Water (p.560)
0.035
0.605
Permeability
For a gas well, this is gas permeability. For an oil well, this is total liquid permeability.
Typical values are:
1 - 10 md: Low
10 - 50 md: Mediocre
Technical Description
429
Drainage Radius
Common drainage radii are:
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.
Pipe Size Gate Valve Globe Valve Angle Valve
(Inches)
(feet)
(feet)
(feet)
1/2
.35
17
3/4
.50
22
12
.6
27
14
1 1/4
.8
38
18
1 1/2
1.0
44
22
1.2
53
28
2 1/2
1.4
68
33
1.7
80
42
2.3
120
53
2.8
140
70
3.5
170
84
4.5
220
120
10
5.7
280
140
12
400
190
Technical Description
430
14
10
450
210
16
11
500
240
18
12
550
280
20
14
650
300
22
15
688
335
24
16
750
370
feet
feet
feet
1/2
1.5
1.3
3/4
2.2
1.8
1.3
2.7
2.3
1.7
1 1/4
3.6
2.3
1 1/2
4.5
3.6
2.8
5.2
4.6
3.5
2 1/2
6.5
5.5
4.3
5.2
11
14
12
16
14
11
21
18
14
10
26
22
17
feet
feet
1/2
3.2
3/4
1.3
4.5
1.7
5.7
1 1/4
2.3
7.5
Technical Description
431
1 1/2
2.8
3.5
12
2 1/2
4.3
14
5.2
16
22
27
11
33
14
43
10
17
53
Glossary
The PIPESIM help uses the following symbols:
Roman Letters
a
A=
D 2
4
m2
B=
hR
k
dimensionless
dimensionless
Bo
bbl / STBO
c, C
BTU / lb oF
J / kg K
d, D
ft
BTU / lb
J / kg
dimensionless
dimensionless
is the frequency
Hz
Hz
F, R
dimensionless
dimensionless
= 32.17 ft / s 2
= 9.81m / s 2
dimensionless
dimensionless
432
BTU / h ft2 oF
W / m2 K
H = U + PV
BTU / lb
J / kg
HL
dimensionless
dimensionless
Head
is the head
ft lbf / lb
N m / kg
BTU / h ft oF
W /m K
ft2
m2
ft
is the mass
lb
kg
lb / mol
kg / kmol
dimensionless
dimensionless
dimensionless
dimensionless
mol
mol
dimensionless
dimensionless
p, P
is the pressure
N / m2
Power
is the power
hp
dimensionless
dimensionless
lb / s
kg / s
BTU / h
ft
n
N
Nu =
Pr =
hL
k
cp
k
Technical Description
433
rw
ft
reh
ft
Ra = Pr Gr
dimensionless
dimensionless
Re
dimensionless
dimensionless
BTU
lb oF
J
kg K
is the skin
dimensionless
dimensionless
is the temperature
BTU / lb
J / kg
BTU / h ft2 oF
W / m2 K
ft / s
rev / min
m/s
rev / s
is the volume
ft3
J / kg
wt
ft
Ws
BTU
ft
is the compressibility
ft
S=
Q
2k T
F, oR
Greek Letters
Technical Description
434
( RZ )
bur = sin1
k
cp
ft2 / s
m2 / s
1 / oF, 1 / oR
1/ K
dimensionless
dimensionless
CV
dimensionless
dimensionless
dbean
dimensionless
dimensionless
ft
dimensionless
dimensionless
cp = 10 3Pa s Pa s = kg / m s
is the density
lb / ft3
kg / m 3
lb / ft3
kg / m 3
dimensionless
dimensionless
dynes / cm
N /m
( )
1
=
T
Cp
dup
0<1
AvG
AvG + AvL
Subscripts
b bubble point
bulk
c critical
G gas phase
Technical Description
435
L liquid phase
m mixture
o oil
r reduced
R reservoir
s gas/oil ratio, solution
slip or slippage
w water
Conversion Factors
Common conversion factors used in PIPESIM are tabulated below.
Length
1 ft = 0.3048 m 1 m = 3.28084 ft
1 ft = 12 in
Volume
1 ft3 = 0.02832 m 3
1 m 3 = 35.31467 ft3
Mass
1 lb = 0.4536 kg 1 kg = 2.2046 kg
Time
1 hour = 3600 s
1 day = 86400 s
Technical Description
436
Gravity
g = 32.18 ft s 2
g = 9.81 m s 2
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 pound weight, which is
one pound times the acceleration due to gravity g = 32.18 ft s 2.
1 psi = 144
lbf
ft
1
2 = 144 g lb 2
ft
s
ft2
1 bar = 105 Pa
Energy
1 BTU = 1.055056 kJ 1 kJ = 0.947817 BTU
1 kJ = 10 3 Pa m 3
Power
1 hp = 550 g ft2 lb s 3 1 hp = 0.7457 kW
Dynamic viscosity
1 cP = 10 3 Pa s
Permeability
1 mD = 10 10
Pa
m2
Atm
References
Technical Description
437
Aggour
"Hydrodynamics and Heat Transfer in Two-Phase TwoComponent Flow", PhD thesis, University of Manitoba,
Winnepeg, Canada (1978).
Al-Hussainy, R., Ramey Jr., H. J. and Crawford, "The Flow of Real Gases Through Porous Media", JPT
P. B.
(1966) 624-636.
Alhanati, F. J. S., Schmidt, Z., Doty, D. R. and
Lagerlef, D. D.
Beal, C.
Beggs, H. D.
Technical Description
438
Brill, J. P. et al.
Brown, K.E.
Butler, B.
Celier, G. C. M. R., Jouault, P. and de Montigny, "Zuidwal: A Gas Field Development With Horizontal
O. A. M. C.
Wells", SPE paper 19826 presented at the Annual
Technical Conference and Exhibition in San Antonio,
October 1989.
Cheng, A.M.
"Inflow Performance Relationships for Solution-GasDrive Slanted/Horizontal Wells", SPE paper 20720
presented at the Annual Technical Conference and
Exhibition, New Orleans, September 1990.
Technical Description
439
"Transient Pressure Behavior for a Well With a FiniteConductivity Vertical Fracture", SPE 6014, August
1978.
Colburn
Dake, L.P.
De Ghetto, G. et al.
De Ghetto, G. et al.
Dikken, B.J.
Technical Description
440
Earlougher, R. C. Jr,
Eaton, B. A.
Fetkovich, M.J.
Flanigan, O.
Forchheimer, Ph.
Technical Description
441
Framo Webpage
http://www.framoeng.no/pump.php
Glas, O.
Grolman, E.
"Wavy-to-Slug Flow Transition in Slightly Inclined GasLiquid Pipe Flow", AIChE Journal, vol 42. No. 4, p901
(1996)
Gurley, D. G., Copeland, C. T. and Hendrick, J. L. "Design Plan and Execution of Gravel-Pack
Completion," J. Pet. Tech. (Oct. 1977).
Hagedorn, A. R. and Brown, K. E.:
Hausen
Technical Description
442
Joshi, S. D.
Joshi, S. D.:
Kaminsky, R. D.
Karassik, J. et al.
Katz, D. L. et al.
Kawase and De
Technical Description
443
King
Knott et al.
"An experimental Study of Heat Transfer to NitrogenOil Mixtures", Ind. Eng. Chem., vol. 51, no. 11, p.
1369-1372 (1959).
Lasater, J. A.:
"Proposed Correlation of Data for Isothermal Twophase, Two-Component Flow in Pipes", Chem. Eng.
Prog. (January 1949) 45, 39.
Matzain, A.
McLeod, H. O.
Technical Description
444
Manabe, R.
Martinelli
Mirza, K. Z.
Moody, L.
Muskat, M.
Norris, L.
Nunner
Oliemans, R. V. A.
Technical Description
445
Omana, R. et al.
Orkiszewski, J.
Palmer, C. M.
Payne, G. A.:
Prandtl, L.
Poling, B.E., Prausnitz, J.M. and O'Connell, J.P. "The Properties of Gases and Liquids", Fifth Edition,
McGraw-Hill
Pots, B. F. M., Bromilow, I. G. and Konijn, M. J. W. "Severe Slug Flow on Offshore Flowline/Riser
Systems", SPE paper 13723, (March 1985).
Prats, M.
"Effect of Vertical Fractures on Reservoir BehaviorIncompressible Fluid Case", SPEJ, pp. 105-118, June
1961.
Technical Description
446
Ramey, H.J.
Romero, D.J., Valko, P.P., and Economides, M.J. "The Optimization Of The Productivity Index And The
Fracture Geometry Of A Stimulated Well With Fracture
Face And Choke Skins", SPE 73758, 2002.
Sandall et al.
"Prediction of Slug Length in Horizontal LargeDiameter Pipes", SPE paper 15103 (April 1986).
Schneider, G. E.
Shah
Singh, P.
Technical Description
447
Standing, M. B.
Standing, M. B.
Venkatesan, R.
von Karman,
Vogel, J. V.
Webb
Woelflin, W.
Technical Description
448
Zhang, H.-Q., Wang, Q., Sarica, C. and Brill, J.P. "Unified Model for Gas-Liquid Pipe Flow Via Slug
Dynamics - Part 2: Verification", ASME Journal of
Energy Resources Technology, Vol.125 (December
2003) 266.
Technical Description
449
Keyword Index
Input Files and Input Data Conventions (p.454)
General Data (p.461)
Compositional Data (p.574)
Blackoil Data (p.562)
Heat Transfer Data (p.553)
Flow Correlation Data (p.488)
System and Equipment Data (p.496)
Well Performance Modeling (p.533)
PIPESIM Operations (p.583)
Keyword List
PIPESIM-Net Keywords (p.603)
Keyword List
A (p.450) B (p.450) C (p.450) D (p.451) E (p.451) F (p.451) G (p.451) H (p.451) I (p.452) J (p.452)
K (p.452) L (p.452) M (p.452) N (p.452) O (p.453) P (p.453) Q (p.453) R (p.453) S (p.453) T
(p.453) U (p.454) V (p.454) W (p.454) X (p.454) Y (p.454) Z (p.454)
ASSIGN (p.595)
BACKPRES (p.545)
BEGIN (p.484)
BLACKOIL (p.563)
BRANCH (p.606)
CASE (p.462)
CALIBRATE (p.572)
CHOKE (p.497)
COMP (p.575)
COMPCRV (p.501)
COMPLETION (p.502)
COMPRESSOR (p.504)
Keyword Index
450
CONETAB (p.544)
CONFIG (p.561)
CONTAMINANTS (p.574)
CORROSION (p.505)
CPFLUID (p.571)
DE
END (p.484)
ENDCASE (p.484)
ENDJOB (p.484)
EROSION (p.506)
EQUIPMENT (p.507)
ESP (p.527)
EXPANDER (p.509)
FETKOVICH (p.536)
FITTING (p.510)
FLOWLINE (p.502)
FMPUMP (p.512)
FORCHHEIMER (p.551)
FRACTURE (p.551)
FRAMO2009 (p.512)
GASLIFT (p.513)
HCORR (p.491)
HEATER (p.513)
HEADER (p.461)
HEAT (p.553)
HORWELL (p.545)
HVOGEL (p.551)
Keyword Index
451
IFPPSSE (p.537)
IFPTAB (p.543)
IFPCRV (p.541)
INLET (p.474)
INJGAS (p.519)
INJFLUID (p.519)
INJPORT (p.517)
IPRCRV (p.541)
ITERN (p.471)
JOB (p.461)
JONES (p.536)
JUNCTION (p.612)
KCOAT (p.558)
LAYER (p.547)
LVIS (p.566)
MPBOOSTER (p.521)
MPUMP (p.522)
MULTICASE (p.587)
NAPLOT (p.583)
NAPOINT (p.587)
NODE (p.523)
NOPRINT (p.484)
NSEPARATOR (p.613)
Keyword Index
452
OPTIONS (p.462)
OPTIMIZE (p.596)
PERMCRV (p.549)
PERMTAB (p.550)
PETROFRAC (p.533)
PIPE (p.525)
PLOT (p.481)
PRINT (p.474)
PROP (p.565)
PUMP (p.527)
PUMPCRV (p.501)
PUSH (p.486)
QR
REINJECTOR (p.530)
RISER (p.502)
SEPARATOR (p.531)
SETUP (p.603)
SINK (p.611)
SLUG (p.532)
SOURCE (p.608)
SPHASE (p.493)
TABLE (p.594)
TCOAT (p.557)
TIME (p.146)
Keyword Index
453
TRANSIENT (p.551)
TUBING (p.502)
UNITS (p.462)
VCORR (p.489)
VOGEL (p.536)
WELLHEAD (p.533)
WELLPI (p.535)
WCOPTION (p.538)
WPCURVE (p.536)
XYZ
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
Keyword Index
454
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 caseinsensitive, 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.
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)
[=] 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)
Keyword Index
455
[;] 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)
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 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
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.550), CONETAB (p.544), IFPTAB (p.543).
Example
In the following example, all lines are equivalent:
Keyword Index
456
RATE MASS=224.0
RATE MASS=.224e+3
RATE MASS=224
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:
MULTICASE ?ALPHA=(20,30,40)
PUMP DP = ?ALPHA kg/cm2
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"
Keyword Index
457
Example
$ ~---- THIS LINE WILL BE IGNORED ----RATE, MASS=224 $ THIS IS AN IN-LINE COMMENT
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:
colon [:]
semicolon [;]
plus [+]
minus [-]
asterisk [*]
Examples
Some examples:
Example 1
To specify values from 10 to 100 by repeated addition of 5:
(10:100;+5).
Keyword Index
458
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 )
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.
Keyword Index
459
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"
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 MSDOS 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.
Keyword Index
460
General Data
HEADER (p.461) Job Accounting Header
JOB (p.461) Job Title
CASE (p.462) Case Title
UNITS (p.462) Input and Output Units
OPTIONS (p.462) Calculation Procedure Options
RATE (p.470) Fluid Flow Rate Data
ITERN (p.471) Iteration Data (Optional)
INLET (p.474) System Inlet Data
PRINT (p.474) Output Printing Options
NOPRINT (p.484) Output Print Suppression Options
PLOT (p.481) Output Plotting Options
BEGIN, END (p.484) Block delimiters
PUSH (p.486) Remote action editing
PLOT FILE DATA (p.487)
EXECUTE (p.487)
USERDLL (p.488) Equipment
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).
Example
HEADER PROJ=TEST USER='JOE BLOGGS'
Keyword Index
461
Example
UNITS INPUT=SI OUTPUT=ENG
Keyword Index
462
SEC=
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=(...)
GRIDTEMP=(...)
NUMGRIDPRES=
The number of grid pressure points desired in the P/T grid for
compositional interpolated flash calculations. A number between 4
and 60, default 20. 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 4
and 60, default 20. 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=.
HTCRD=
Keyword Index
463
GTGRADIENT=
PPMETHOD=
THMETHOD=
EOFS=
Keyword Index
464
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, but it does have some effect of the run-time. can be set
to ON or OFF, default ON.
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, default is ON.
ACTIVELAYER=
COMPLETION= or COMPHBAL=
MAXEMULSION=
MAXCUTOFF=
MAXLIQVISC=
SMOOTHCUTOFF=
EMUL3PHASE=
Method for assigning priority between Emulsion options and a 3phase flow correlation. This is a PIPE component level option. May
be set to one of the following values:
Keyword Index
465
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 for any emulsion option, that is, it is not restricted to
Woleflin and user-supplied-table options
HYDRATECALC=
WAXCALC=
ASPHALTCALC=
ALHANATI=
Keyword Index
466
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 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.
FMMINTEMPERA=
SYSTEMTYPE=
Keyword Index
467
ELIQLOADING=, LLE=
LLVELOCITY=
LLANGLEMIN= or ALIQLOADING= Maximum pipe angle for liquid loading (p.61) calculations. The Turner
equation 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
Keyword Index
468
RAMEYTIME=
Specifies the length of time a well has been operating when HEAT
(p.553) 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=
SEPMASSCALC=
MPBOOSTROUTE=
FCVSHUTMODE=
Keyword Index
469
EXACT: The flowrate will be set to the limit, and the required bean
area will be calculated and reported.
RETAINHEEL=
IFC=
SLUGREGIME=
NOSLUGREGIME=
Specifies the Flow Regimes that do not allow slug length calculations.
MINSEGLEN=
OPPOINTS=
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=
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.
Keyword Index
470
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.519)
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.519) 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.519) 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=
GWR=
WGR=
GLR=
GOR=
LGR=
OGR=
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.575) statement instead.
Keyword Index
471
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=
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.
XEST=
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
Keyword Index
472
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, 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 behaviour 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.
Notes:
1. 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 (p.151) feature.
Keyword Index
473
PGEN is an acronym for "Pseudo-GENeral iterative mode" (it is not truly general since it converges only
on outlet 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 .
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=
Keyword Index
474
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
The primary output page consists of a line for each node, containing node
ON
distance and elevation, pipe angle, fluid pressure, temperature 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 node
ON
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, containing: OFF
node distance and elevation; Reservoir and Wellbore Pressure; Reservoir,
Inflow, and Wellbore temperature; Inflow Joule-Thompson 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.502)
statement).
FLUID
The Input Fluid data page shows the definition of the Blackoil or Compositional ON
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 each node, ON
containing node distance and elevation, pipe section length, cumulative length,
Keyword Index
475
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 the
ON
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 on this OFF
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.
HINPUT
The heat Transfer Input data page has a line for each node showing the input OFF
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 results of OFF
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.553) ).
SLUG
The Slug output page has a line for every node showing the results of slugging OFF
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 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.513) statement.
Keyword Index
476
OFF
GLOUTPUT
The Gas Lift Output page has a line for every gas lift valve in the system,
OFF
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.513) statement.
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.454). An up-to-date list of the available identifiers can be
obtained using the SYNTAX subcode of PLOT (p.482). 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
ON
EXTRA=
Attributes
The Attributes are:
Default
TITLES
ON
SEGMENTS Print segment data. The pipe or tubing section between each node is sub-divided OFF
for computation purposes into a number of segments (as controlled by OPTIONS
SEG= (p.462) and MAXSEGLEN= (p.462) , 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
Keyword Index
477
CASES=
Specifies the number of cases to print. This subcode requires a numeric value. 1
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 output. PRIMARY
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.
Fluid Stock-tank properties: phase flowrates and physical properties are reported
at stock-tank conditions, viz. 14.7 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 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.
Keyword Index
478
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.454). An up-to-date list of the available identifiers can be
obtained using the SYNTAX subcode of PLOT. (p.481)
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 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.458) 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
Keyword Index
479
Values of Quality for use with PHASENV. If present, must be equated to a multiple
value set (p.458) 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.
Nodal Analysis result page. Lists the pressure, temperature and flowrate at the ON
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 from the ON
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: Stocktank watercut, Stock-tank liquid flow 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 output file at ON
the end of the job. Requires that SUMFILE be set to ON.
ECHO
Writes a line-numbered copy of the input data file at the start of the 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 about 20 OFF
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.
Keyword Index
480
ON
NEWINPUTDATA Writes a copy of the input data file, but with the numeric data converted to the OFF
units system specified for output (with UNITS OUT=).
CASE= or PROFILE=
JOB or SYSTEM
Keyword Index
481
JOB= or SYSTEM=
SEGMENT
HERE=
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.474).
EQUIPJOB=
PVTDATA=
FORMAT=
The overall textual layout of the plot files. Can be set to:
Keyword Index
482
XYCASE=
VERSION= or REVISION=
Keyword Index
483
CASEFILENAME= or PROFILEFILENAME= Specifies the name of the profile plot file. 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 .PLC.
JOBFILENAME= or SYSTEMFILENAME=
Specifies the name of the system plot file. 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 .PLT.
PVTFILENAME=
ALHANATI=
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.
Keyword Index
484
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 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
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.459)
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
Keyword Index
485
LABEL= or OBJECT=
Specifies the label of the target statement. Serves to distinguish the required
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=
ETEXT=
LINE= OR LINEAFTER= Text to be added as a separate line after the target statement.
LINEBEFORE=
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
486
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
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.
PLOTFILEDATA
Main-code: PLOTFILEDATA
Keyword Index
487
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
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 (p.238)
Main-code: USERDLL
FILENAME=
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
EPTYPE= EQUIPMENT The type entry point for the DLL. Note that it must be equipment to distinguish it
from flow correlations.
TITLE=
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=
Flow Modeling
FLOW CORRELATION DATA
VCORR (p.489) Vertical Flow Correlation Options
HCORR (p.491) Horizontal Flow Correlation Options
Single Phase Flow Options (p.493)
User Defined DLL (p.495)
Keyword Index
488
HOLDUP=
MAP=
ANGLE=
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=
HFACTOR=
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.
PLOSS HOLDUP
MAP
TYPE
DR
DR
DR/TD
DR
BBO
BBO
BB/TD
BBO
BBR
BBR
BB/TD
BBR
Keyword Index
489
ORK
ORK
ORK
ORKISZEWSKI
GA
GA
GA
HB
HB
BB/DR/BJA HBR
HBO
HBO
BB/DR/BJA
BJA
BJA1/BJA2 TD
MB
MB
MB
Any
BRIMIN1
Any
Any
BRIMIN2
Any
BJA
NOSLIP NOSLIP
NOSLIP
NOSLIP
OLGA
OLGA
OLGA
OLGA
GRAY
GRAY
TD
GRAY
Keyword Index
490
TD
Taitel Dukler
ORK
Orkiszewski
GA
Govier and Aziz and Forgassi
MB
Mukherjee and Brill
NOSLIP
No Slip Assumption
BBR.
Beggs & Brill Revised
GRAY
Gray Vertical Flow Correlation
ANSARI
Ansari Vertical Flow Correlation
HOLDUP=
MAP=
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=
HFACTOR=
SOURCE=
ANGLE=
Keyword Index
491
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.
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
BJA1
BJA1/BJA2/EATON TD
MB
MB
MB
HB
HB
BB/DR/BJA HBR
HBO
HBO
BB/DR/TD
OLI
BJA1/BJA2/EATON TD
MB
MB
MB
Any
BRIMIN1
Any
Any
BRIMIN2
Any
BJA
OLIEMANS
NOSLIP NOSLIP
NOSLIP
NOSLIP
OLGA
OLGA
OLGA
OLGA
Index of Abbreviations
DR
Duns and Ros
Keyword Index
492
BBR
Beggs and Brill (Revised)
BJA2
Revised BJA holdup correlation
MB
Mukherjee and Brill
TD
Taitel Dukler
DKAGAF
AGA + Flanigan
BRIMIN 1or 2
Brill and Minami Holdup Correlation
OLGA
OLGA-S Steady-State Correlation
BBO
Beggs and Brill (Original)
BJA1
BJA correlation
OLI
Oliemans Correlation
NOSLIP
No Slip Assumption
DKAGA
Dukler (AGA)
HBO
Hagedorn and Brown Original
HB
Hagedorn and Brown Revised
XIAO
Xiao horizontal mechanistic model
Keyword Index
493
Use the AGA dry gas equation for single phase flow.
MOODY
PANA
PANB
WEYMOUTH
HAZENWILL
CULLSMITH
DRAGFACTOR=
LFMIN=
LFMAX=
TRMIN=
TRMAX=
TRMETHOD=
INTERPOLATE
CUTOFF
MAXIMUM
Keyword Index
494
CUTOFF
COMPARE=
ON
OFF
C=
Hazen-Williams C parameter
LFPROP=
MOODYCALC
EXPLICIT or SONNAD
EPNAME=
PSNAME=
LINKTYPE=
EPTYPE=
HMPFLOW
Keyword Index
495
VMPFLOW
TITLE=
OPTIONS=
SDESCRIPTION=
LDESCRIPTION=
SYSTEM DATA
PIPE (p.525) Pipe Dimensions
INLET (p.474) System Inlet Data
EQUIPMENT (p.507) Equipment Data
NODE (p.523) System Profile Data
Changing Parameters within the System Profile (p.497)
SLUG (p.532) Slug Calculation Options
COMPRESSOR (p.504) Compressor
CHOKE (p.497) Choke
EXPANDER (p.509) Expander
HEATER (p.513) Heater/Cooler
PUMP (p.527) Pump
ESP (p.527) Electrical submersible Pump
MPUMP (p.522) Multiphase Pump
PUMPCRV (p.521) Pump Performance Curves
COMPCRV (p.501) Compressor Performance Curves
SEPARATOR (p.531) Separator
EROSION (p.506) Erosion Rate and Velocity
CORROSION (p.505) Corrosion Rate
COMPLETION (p.502) Completion Profile Delimiter
TUBING (p.502) Tubing Profile Delimiter
FLOWLINE (p.502) Flowline Profile Delimiter
RISER (p.502) Riser Profile Delimiter
FMPUMP (p.512)
Keyword Index
496
REINJECTOR (p.530)
MPBOOSTER (p.521)
CHOKE (Optional)
Also refer to Choke Theory (p.316)
Main-code: CHOKE
DBEAN=
CCORR=
ROS
BAXENDELL
ACHONG
Keyword Index
497
PILEHVARI
ASHFORD
ASHFORDT
POETBECK
OMANA
SCCORR=
MECHANISTIC
API14B
CPRATIO=
TOL=
CD=
CSP=
Keyword Index
498
CPCV=
YCRIT=
GASCSP=
LIQCSP=
CRITERION=
VERBOSE=
PRATIO
FLOWRATE
SONICUP
SONICDOWN
ALL
NONE
ON or OFF
Keyword Index
499
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
500
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.
SPEED=
Q=
Values of flow rate, supplied as a multiple value set (p.454) . 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).
Values of head, supplied as a multiple value set (p.454). 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.
Keyword Index
501
EFFICIENCY= Values of efficiency (%), supplied as a multiple value set (p.454). (Default is 100%).
Exclusive with POWER=.
POWER=
Values of power (hp or kw), supplied as a multiple value set (p.454). 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.454) 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
PumpCrv
name
10666.7)
PumpCrv
name
2338.76,971.734)
PumpCrv
name
31.7383)
= GN7000
= GN7000
stages = 100
Q
= (1250
= GN7000
head = (4827.88
,4176.29,3624.68,3160.3 ,
= GN7000
eff
,55.0738,67.3463,71.3873,63.476 ,
= (23.6865
speed = 3600
,3750
,5800
,7400
,9000
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)
&
&
&
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.
Keyword Index
502
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.523) .
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 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 NAME= The name of the profile object. This is used to print on the output file, and for object
identification with the PUSH (p.486) statement.
DATUMRESET=
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 DATUMRESET=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.
Keyword Index
503
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.
COMPRESSOR type.
CENTRIFUGA Centrifugal compressor
ROUTE=
ADIABATIC
POUT=
DP=
PRATI=
POWER=
EFF=
Keyword Index
504
NAME=
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=
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.501) = on the COMPCRV (p.501)
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.
CORROSION
Maincode: CORROSION
Subcodes:
This maincode allows corrosion rate to be calculated.
METHOD= or MODEL=
PHACT=
CC= or EFFICIENCY=
Keyword Index
505
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).
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.
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.525) statement, this is useful to simulate taper rods.
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.
SPEED=
The pump speed, in strokes per minute. In conjunction with VOLUME=, this is an
alternative to the nominal rate.
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.
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
Keyword Index
506
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 production
rate is better specified as a ratio with liquid rate, using the SANDRATIO= subcode
(see above).
SM= or S=
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=
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 SETP= Equipment outlet set pressure (bara or psia). NB. In a network model, the imposition
of a set pressure is likely to prevent the model from converging. In a 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.
Keyword Index
507
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=
DT=
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=
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.
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=.
Keyword Index
508
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
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
POWER=
ROUTE=
Keyword Index
509
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.
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.
"GLOBE-CONV"
"GLOBE-YPAT"
Keyword Index
510
"ANGLE-CONV"
"CHECK-LIFT2"
"BALL-VALVE"
Ball Valve
"GATE-VALVE"
GateValve
"ELBOW-STD45"
"ELBOW-STD90"
"ELBOW-LR90"
"ELBOW-SR90"
"TEE-RUN"
"TEE-BRANCH"
NOMINALD
MINORD=
MAJORD=
DANGLE=
Deflection angle
KVALUE =
Resistance coefficient
If the resistance K is not specified it will be calculated. In this case the nominal diameter (p.423) 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.
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 = K2.
See the Technical description (p.325) 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.
Keyword Index
511
...
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
...
FMPUMP (Optional)
Main-code: FMPUMP
DP=
PRATIO=
POWER=
QRECIN=
Flow in recirculation
NPARA=
NAME=
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 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.
Keyword Index
512
EXAMPLE
framo2009 file='framopump.dat' name='test' dp=100 plot
POUT=
PRATIO=
TOUT=
DT=
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 are better served
by modeling the DP with a separate EQUIPMENT maincode which gives a choice of route.
Keyword Index
513
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.471) 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=
MAXFLOWRATE= or MAXQ=
TEMPERATURE=
CHP=
DP=
Keyword Index
514
ensures the DP between casing and tubing is at least this value. (psi or
bar)
FLOWRATE= or INJGASRATE= For MODE=DIP. The flow rate of lift gas (MMscf/d or MMm 3/d) to be
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 Xaxis against gas flowrate in the Y-axis, with the casing pressure giving
a number of different lines.
MINFLOWRATE= or MINQ=
FLUIDNAME= or USE=
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=
PVTFILE=
Optional. For compositional fluids only, the name of the PVT file
containing the composition of the lift gas.
Keyword Index
515
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=
INJGOR=
MAXDEPTH=
FRICTION=
U=
IFACTOR=
PRINTF=
SIP=
Optional. Specifies the Surface Injection Pressure used for Alhanati Gas
Lift Instability Criteria calculation (p.172) . (psia or bara)
Notes:
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.
Keyword Index
516
PTR=
The Test Rack Pressure Setting for the valve, measured at test rack
conditions, that is 60 oF and 14.7 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=
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=
LABEL=
Keyword Index
517
TF=
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=
TEMPERATURE=
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.
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.
Keyword Index
518
CASING:
Casing-sensitive proportional response. Valve will respond predominantly to changes in casing
pressure, exhibiting a proportional response.
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 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 INJGOR=
Defines the flowrate of injection gas in terms of an increase in Gas Liquid 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 IPTEMP=
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)
Keyword Index
519
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.
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 USE=
Optional. The name of the fluid (Black Oil or Compositional) representing the
injected fluid specification, as specified with a BEGIN FLUID (p.484) 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.531) 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
Keyword Index
520
may be re-injected within the same branch by ensuring they are defined with
unique names. Exclusive with PVTFILE=, FLUIDNAME= and USE=.
PRINT=
CHTEMP=
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. 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
GLO feature (Gas lift Optimization), 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.
MPBOOSTER (Optional)
Main-code: MPBOOSTER
TYPE=
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.
Keyword Index
521
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=
POWER=
PUMPEFF=
SPEED=
Pump speed
VISCORR=
STATUS=
NAME=
ROUTE=
ADIABATIC
Keyword Index
522
MOLLIER
POUT=
DP=
Pressure differential across the pump (bar or psi) (default 10,000 psi)
PRATIO=
POWER=
COMPEFF=
PUMPEFF=
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.
Keyword Index
523
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.462) ).
DISTANCE=
TVD=
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 labelled, it will appear on the
Summary Output at the end of the job.
MP=
MT=
Notes:
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.502) and NAPOINT (p.587) ) .
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
524
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= subcodes the same as the previous one can be defined.
WT=
ROUGHNESS=
AID=
AOD=
FLOWTYPE=
ANNULUS
WAXTHIKNESS=
WAXK=
Keyword Index
525
RODDIAM=
AWP=
AEHD=
ILH=
RODDIAM=
Keyword Index
526
Notes:
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.
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=
POWER=
EFF=
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=
STAGES=
ROUTE=
No heat transfer
Mollier
Keyword Index
527
UNDEFINED
VISCCORR=
Undefined
Viscosity correction
NONE
CENTRILIFT
REDA
TURZO
USER
VERBOSE=
ON
OFF
STAGECALCS=
SEPEFF=
EQUILIBRIUM=
ON
OFF
CALCNSTAGES=
MAXWCUT=
MINSSU=
VISCFLUID=
OIL
WATER
LIQUID
MIXTURE
VISCFACTOR=
STATUS=
Keyword Index
528
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 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".
SPEED=
Q=
Values of flow rate, supplied as a multiple value set (p.454) . 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).
Values of head, supplied as a multiple value set (p.454). 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.454). (Default is 100%).
Exclusive with POWER=.
POWER=
Values of power (hp or kw), supplied as a multiple value set (p.454). 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.454) 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
Keyword Index
529
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
PumpCrv
name
10666.7)
PumpCrv
name
2338.76,971.734)
PumpCrv
name
31.7383)
= GN7000
= GN7000
stages = 100
Q
= (1250
= GN7000
head = (4827.88
,4176.29,3624.68,3160.3 ,
= GN7000
eff
,55.0738,67.3463,71.3873,63.476 ,
= (23.6865
speed = 3600
,3750
,5800
,7400
,9000
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)
&
&
&
REINJECTOR (Optional)
Main-code: REINJECTOR
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).
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.
Keyword Index
530
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.525) statement, this is useful to simulate taper rods.
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.
SPEED=
The pump speed, in strokes per minute. In conjunction with VOLUME=, this is an
alternative to the nominal rate.
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.
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=
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
OFF
Keyword Index
531
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.519) on the INJFLUID (p.519) statement. In a network model, a Network Separator
(p.613) can be used (at the network level) to ensure both separator outlet streams are kept.
BP=
OFF
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)
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 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
Keyword Index
532
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.474) 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.270).
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.
Keyword Index
533
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.535). Oil and gas reservoirs. Black oil and compositional.
2. Vogel's Equation (p.536). Oil reservoirs. Black oil only.
3. Fetkovich's Equation (p.536). Oil reservoirs. Black oil only.
4. Jones' Equation (p.536) . Oil and gas reservoirs. Black oil and compositional.
5. Pseudo Steady State Equation (p.537) . Oil and gas reservoirs. Black oil and single phase
compositional.
6. Well Completion Options (p.538) (such as perforation and gravel steady state pack models) are
available in association with the pseudo equation..
7. Inflow Performance Tabulation (p.543). 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.
Keyword Index
534
If the rate is defined on the basis of liquid flow plus a gas/liquid ratio (that is LIQ plus GLR subcodes) 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 subcodes) then a "gas" reservoir is assumed.
GPI=
MIPI=
MCPI=
LDPI=
GDPI=
MIDPI=
MCDPI=
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)
Keyword Index
535
WPCURVE (Optional)
Main-code: WPCURVE
This statement is obsolete, please do not use it.
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).
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.
Static bottom hole pressure (bara or psia). This is the bottom hole pressure at a flow
rate of zero.
A=
B=
Keyword Index
536
TYPE=
LA=
LB=
GA=
Gas turbulent flow coefficient. (psi 2/MMscf 2/d 2 or bar 2/m 6/d 2)
GB=
Static bottom hole pressure (bara or psia). This is the bottom hole
pressure at zero flow rate.
PERM=
THICKNESS=
RADE=
SKIN=
DIAMWELL=
Wellbore diameter.
IPRTYPE=
JONES
Jones mode;
BASIS= or FLOWTYPE=
LIQUID
GAS
2PHASE
GASMETHOD=
PSEUDO
Keyword Index
537
Use the stock tank flow formulation of the pseudo steady equation
(default)
RES
BPCORRECTION=
PICOEFF=
DSKINLIQUID=
DSKINGAS=
RESAREA=
SHAPEFACTOR=
DRAINAGESKIN=
RESMOBILITY=
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.
Keyword Index
538
OPENHOLE
OPENGRAVEL
PERFORATED
INTERVAL=
PDAMAGEDZONE=
DDAMAGEDZONE=
LPERFORATION=
SHOTS=
PCOMPACTEDZO=
Keyword Index
539
DPERFORATION=
DCOMPACTEDZO=
PGRAVEL=
SIEVESIZE=
LTUNNEL=
DSCREEN=
PHASEANGLE=
DEVIATION=
CASINGID=
FPDDEPTH=
FPDPERM=
FPPPERM =
FPCLEN =
Frac pack choke length (mm or inches). Choke length for choke
fracture skin term.
FPCPERM=
FPWFRAC=
FPHLFRAC=
Fracture half length (ft or m). Frac pack fracture half length.
PERFSKNMETHOD=
Keyword Index
540
DZSKINCALC=
GPSKINCALC=
PFSKINCALC=
PPDSKINCALC=
FPSKINCALC=
FACESKINCALC=
CHOKESKINCALC=
Note: The well completion options are only valid when used in conjunction with either the Pseudo-SteadyState equation or the Transient equation (as defined under the IFPPSSE (p.537) and TRANSIENT
(p.551) maincodes). All data entered under the WCOPTION main-code will be ignored if the IFPPSSE or
TRANSIENT main-codes are not also specified.
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=.
Keyword Index
541
LGR=(...)
GWR=(...)
Specifies values of Gas Water Ratio (scf/sbbl or sm3/sm3). Exclusive with WGR= ,
WCUT=.
WGR=(...)
WCUT=(...)
PWSTATIC=
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=.
GASSG=(...)
DEGREE=
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 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=.
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)
Keyword Index
542
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
IFPCRV
IFPCRV
IFPCRV
name=cc1
name=cc1
name=cc1
name=cc1
LIQ= (0
GLR= (300
WCUT= (10
GASSG=(.71
,1000,2000,3000,4000)
,300 ,550 ,600 ,620 )
,10 ,18 ,22 ,30 )
,.71 ,.68 ,.67 ,.669)
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
value 3
value 4
value 5
Watercut (optional, %)
Keyword Index
543
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
!
ifptab
ifptab
ifptab
ifptab
ifptab
ifptab
ifptab
ifptab
n liq
pwf
0 0
3000
0 1000 2990
0 2699 2920
0 6329 2800
0 7288 2600
0 8082 2400
0 8805 2003
execute
gor wcut
986 0
986 2.0
1096 2.2
2540 2.8
2980 3.9
3370 5.6
3770 8.0
Keyword Index
544
5. For BLACKOIL (p.562) fluids, the Specific Gravity of the coned and associated gas should be provided
with the PROP (p.565) 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
Backpressure equation
The backpressure equation is accessed via the BACKPRES maincode BACKPRES (p.545), which applies
to horizontal completions as well as vertical. As with the WELLPI maincode, WELLPI (p.535), 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.538) , can be used in conjunction with the HORWELL maincode.
Main-code: HORWELL
TYPE= PSSOIL
BDIM
Keyword Index
545
THICK
KX
KY
KZ
XZERO
YONE
YTWO
ZZERO
RWELL
SKIN
PSSGAS
SSOIL
The pseudo-steady state gas flow equation is based upon a circular drainage
area and is described in Joshi's (p.443) "Horizontal Well Technology". It is
recommended that the user read this reference and Inflow Performance
Relationships for Horizontal Completions (p.301) . 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
KX
KY
KZ
RWELL
REXT
SKIN
ECCENT Wellbore eccentricity (i.e. offset of the well from the centre of the pay zone)
(in or mm).
Keyword Index
546
THICK
KX
KY
KZ
RWELL
REXT
SKIN
SSGAS
KX
KY
KZ
RWELL
REXT
SKIN
TEMPERATURE=
Keyword Index
547
USE= or FLUIDNAME=
PVTFILE=
INJECT=
IPRCURVENAME=
LDORATE= or MDORATE= or GDORATE= Specifies a fixed, overriding value for the Specific Inflow Rate
in a horizontal completion. Normally the inflow rate of a
horwell is calculated 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=
HBALANCE= or ROUTE=
Examples
Example 1
This is a simple layer and point completion such as might appear as part of a larger multi-completion model:
Keyword Index
548
Example 2
This completion includes a coning relationship defined with . IPRCRV (p.541) , 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
IFPCRV name=cc1 GLR= (300
IFPCRV name=cc1 WCUT= (10
IFPCRV name=cc1 GASSG=(.71
LAYER temp=240 F pres=4503
two'
JONES LA=1e-4 LB=3e-2
,1000,2000,3000,4000)
,300 ,550 ,600 ,620 )
,10 ,18 ,22 ,30 )
,.71 ,.68 ,.67 ,.669)
psia use='fluid B' inject=NO IPRCURV=cc1 label='Layer
RESERVOIR
Main-code: RESERVOIR
This maincode is obsolete, please do not use it.
OIL=
WAT=
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.550) :
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
)
Keyword Index
549
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
550
HVOGEL (Optional)
Main-code: HVOGEL
PWSTATIC=
AOFP=
RF=
Recovery factor
FORCHHEIMER (Optional)
Main-code: FORCHHEIMER
see the JONES (p.536) maincode.
LENGTH=
RESAREA=
TRANSIENT=
POROSITY=
COMPRESS=
TIME=
CONDUCTIVITY=
See also Hydraulic Fracturing (p.36).
Keyword Index
551
PWSTATIC=
Static bottom hole pressure (bara or psia). This is the bottom hole
pressure at zero flow rate.
PERMEABILITY=
THICKNESS=
RADEXTERNAL=
SKIN=
DIAMWELLBORE=
FLOWTYPE=
Liquid flow
GAS
Gas flow
PSEUDO
GASMETHOD=
Use the stock tank flow formulation of the transient IPR equation (default)
RES
BPCORRECTION=
Allows user to choose whether to apply the Vogel correction below the
bubble point.
ON
OFF
PICOEFFICIEN=
DSKINLIQUID=
DSKINGAS=
DRAINAGESKIN=
POROSITY=
COMPRESSIBIL=
TIME=
Keyword Index
552
SWAPTOPSS=
ON
OFF
U=
HTCRD=
OFF
ON
CALC
INPUT
Keyword Index
553
INPUT
CALC
SPIFCMETHOD=
ORIGINAL
Original
VOLAVERAGE
KREITH10
GH9
GH10
BJA
SHELL
Shell
BP
Bp
MPIFCMETHOD=
Kaminsky
ORIGINAL
Original
VOLAVERAGE
KREITH10
Keyword Index
554
GH9
GH10
BJA
SHELL
Shell
BP
Bp
HOLDUP=
Default
TRMIN=
TRMAX
WAX=
PARTBURYMETH=
2009 Method
2000
2000 Method
1983
1983 Method
MASTER=
Enthalpy is master.
TEMPERATURE
ENTHALPY
UVALUE=
RAMEYMETHOD=
Heat transfer coefficients for tubing are to be read from the NODE
cards (default).
LARGETIME
GRNDCP=
GRNDDEN=
Keyword Index
555
DHEQUATION=
1983
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= , K= Coat thermal conductivity (W/m/K or Btu/hr/ft/ oF, default infinite). 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 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=
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
Keyword Index
556
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
COAT
COAT
COAT
COAT
COAT
COAT
ID=5.25 thickness
resetall
num = 1 thickness
num = 2 thickness
num = 3 thickness
num = 4 thickness
num = 5 thickness
=.375 K = 56.4
=
=
=
=
=
T2=
T3=
T4=
T5=
Keyword Index
557
T6=
T7=
T8=
T9=
T10=
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.
K2=
K3=
K4=
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.
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)
Keyword Index
558
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
obm.apf
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.
Note: A column containing line numbers is not part of the file.
Line 1
Line 2
Line 3
Line 4
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
Keyword Index
559
column 2 contains the multiplying factor. This specification allows users to specify data in
different units as required.
Line 11
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
Typical Thermal Conductivities (p.428) in W/m/K (Solids) Thermal Conductivities (p.428) in W/m/K (Liquids
and Gases)
Note: All keywords can be entered using the EKT (p.64).
Keyword Index
560
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=
GAS=
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 (p.64).
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.
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=
WVISC=
WCP=
WK=
WBETA=
ADENS=
AVISC=
ACP=
AK=
ABETA=
Keyword Index
561
TOPDEPTH= The burial depth (in mm or inches) as measured from the surface to the top of the pipe.
Z: burial depth.
D: outside diameter of pipe and coatings
Burial depth
Exposed to air or
water
above ground /
seabed
yes
resting on ground/
seabed
yes
yes
yes
Z > D/2
completely buried
no
D/2 > Z
Z = D/2
half) buried
Fluid Modeling
BLACK OIL DATA
BLACKOIL (p.563) Black Oil Correlation Options
Keyword Index
562
Schematic
de Ghetto
GLASO
KART
Kartoatmodjo
LASATER
Lasater (p.365) correlation (default for bubble point pressure and solution gas).
PETROSK Petrosky-Farshad
STANDING Standing (p.366) correlation (default for oil formation volume factor at the bubble
point)
Keyword Index
563
VAZBEG
Vazquezand Beggs (p.366) correlation (default for oil formation volume factor
above the bubble point).
Gas densities are calculated using a Z-factor correlation developed by Katz (p.443) 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 StandingKatz (p.443) reduced pressure-reduced temperature Z-Factor chart.
GOPAL
The Gopal correlation for curve fitting the Standing- Katz (p.443) reduced
pressure-reduced temperature Z-Factor chart.
HALLYAR
Hall & Yarborough correlation for curve fitting the Standing- Katz (p.443)
reduced pressure-reduced temperature Z-Factor chart.
STANDING
The Standing modification to the Brill and Beggs correlation for curve-fitting
the Standing- Katz (p.443) 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
Keyword Index
564
WGR=
WCUT= Watercut, i.e. the volume % aqueous phase in the total liquid phase at stock tank conditions.
GLR=
GOR=
LGR=
OGR=
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.
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.
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.544) or IPRCRV (p.541). 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
Keyword Index
565
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=
PSEP=
TSEP=
Notes:
1. The oil, water and gas properties should be entered at stock tank conditions, that is 14.7 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
log ()
Keyword Index
566
BEGROB
GLASO
De Ghetto correlation
HOSSAIN
Hossain correlation
ELSHARKAWY
Elsharkawy correlation
PETROVSKY
Petrovsky correlation
LOVCORR=
BEGROB
Khan correlation
GHETTO
De Ghetto correlation
HOSSAIN
Hossain correlation
ELSHARKAWY
Elsharkawy correlation
PETROVSKY
Petrovsky correlation
UOVCORR=
Keyword Index
567
KOUZEL
Khan correlation
GHETTO
De Ghetto correlation
HOSSAIN
Hossain correlation
ELSHARKAWY
Elsharkawy correlation
BERGMAN
PETROVSKY
Petrovsky correlation
NONE
EMULSION=
VOLRATIO
WLOOSE
WMEDIUM
Keyword Index
568
WTIGHT
WORIG
TABLE
BRINKMAN
VAND
VANDBARNEA
VANDUSER
RICHARDSON
LEVITON
REDAOIW
REDAWIO
REDASWAP
ABPCORR=
ON
OFF
ORDER=
Keyword Index
569
UCORR=
TEMP1=
VIS1=
TEMP2=
VIS2=
VISCS=
TEMPS=
CUTOFF= or BOUNDARY=
PRESSURES=
FLTYPES=
LIVEOIL
DEADOIL
EWCUTS=
EVISCS=
K1= or VANDK1=
K2= or VANDK2=
Keyword Index
570
RK= or KRICHARDSON=
RKOIW= or KROIW=
RKWIO= or KRWIO=
KA=
KB=
TPVT=
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.
GAS=
WATER= Water heat capacity. Default = 4.3 kJ/kg/K or 1.0 Btu/lb/ oF.
HVAP=
Keyword Index
571
GAS=
WATER= Water heat capacity. Default = 4.3 kJ/kg/K or 1.0 Btu/lb/ oF.
HVAP=
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)
Kc =
Measuredproperty(T ,
p)
Calculatedproperty(T ,
p)
Eq. 5.1
This calibration constant is then used to modify all subsequent calculations of the property in question, that
is:
CalibratedValue = Kc PIPESIMCalculatedValue
Keyword Index
572
Eq. 5.2
Gas viscosity
Main-code: CALIBRATE
FVFRN=
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=
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=
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=
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=
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=
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.
Keyword Index
573
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
H2=
CO=
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.
COMPOSITIONAL DATA
COMP (p.575) Fluid Data File Specification
TPRINT (p.579) Tabular Data Print Options
RATE (p.470) Flow Rate Data
Keyword Index
574
LVISFACTOR=
CRICONDENBAR=
WCUT=
Keyword Index
575
GLR=
GOR=
LGR=
GLR=
GWR=
WGR=
PPMETHOD=
THMETHOD=
Prints a verbose printout of the fluid composition and stocktank phase split.
ONECOMPONENT=
PACKAGE=
Selects the desired PVT code package name. can be one of:
MULTIFLASH: The third party company Infochem supplies the
Multiflash package
SHELL: Shell oil company's proprietary package
SFLASH_TYPE=
Keyword Index
576
Notes:
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.
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..
Keyword Index
577
COMPOSITION= The composition (in moles for non aqueous elements and in the unit specified by the
AQUEOUS (p.574) keyword for aqueous elements)
optional Always 0
PR=
optional Always 0
EOS=
VISCOSITY=
BIP=
optional PVTIDEFAULT, FILE (BIP File), OIL1, OIL2, OIL3, OIL4. See BIP (p.106).
PACKAGE=
Keyword Index
578
MW=
SG=
TCRIT=
PCRIT=
ACENTRIC=
VISCOSITY=
Note: Minimum data requirements for a petrofraction component are for the Multiflash and SPPTS flash
packages:
1. Either MW and SG
2. BPOINT and SG
3. PCRIT, TCRIT and ACENTRIC
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.
Keyword Index
579
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.
File Formats
File formats for PIPESIM files are described so that they can be created by external applications and utilized
in PIPESIM.
PVT file Format (p.580)
PVT File Format
Below is a description of the format of a Multiflash pvt file. Packages other than Multiflash are able to
generate pvt files, however, they must implement a few modifications, which have been detailed below;
A normal pvt file would be of the following format. (At this point it might be a good idea to open up a pvt file)
At the top of a pvt file you typically have the following line;
MF2.9.18 LINEAR TABLE-1 ,A, 0, 0, NOGO, 16, X
The above line is a identification line for the pvt file reader. A pvt file reader is a piece of software which has
code to read and interpret a pvt file. This line informs the pvt file reader what software and what version of
the software wrote the file and various other identification tags. (MACK PLEASE NOTE THAT MF2.9.18 IS
A MULTIFLASH VERSION NUMBER DO NOT USE MF AS THE ID NUMBER IF MULTIFLASH IS NOT
USED TO GENERATE THE FILE).
The next line contains the following text;
JOB
This tells the reader that everything below this mark is the tables portion of the pvt file. A pvt file is actually
two files in one. A tables file which contains flash data (that is viscosity, density and so on) at various
pressures and temperatures, and a composition record which contains details of the make up of the
composition (that is the component names, mole fractions, model settings and so on). Everything below
the word JOB tells the reader it is reading the flash data.
The next line typically contains;
16, 29.39881
The reader reads these numbers which are the number of flash properties, in this case there are 16
parameters (viscosity, density and so on) calculated and evaluated by the flash package and the average
molecular weight of the fluid, in this case the average MW is 29.39881.
The next few lines are as follows;
(7f11.0)
Pressure psia 0. 6.894757
Temperature F 255.3722 .5555556
Liquid Volume Fraction % 0. 1.000000
Watercut Volume Fraction % 0. 1.000000
Liquid Density lb/ft3 0. 16.01846
Keyword Index
580
The NEWLINE tag is read in by the reader and is a marker to inform the reader that a new set of flash data
is following. All the subsequent data after the NEWLINE tag is at flashes at the specified pressure, in this
case 14.6959 psia (i.e stock tank pressure). The three lines after this NEWLINE statement contain the flash
results of the flash at 14.6969 psia and at the temperature of 60 F. All the rest of the numbers are the various
calculated flash parameters displayed in the specific order detailed above. In all pvt files the first NEWLINE
statement is associated with a flash at stock tank conditions.
The bulk of the pvt file then looks like this;
NEWLINE, SCALE, CONT,
14.5000028 -59.999800
20.5764453 1.09167559
10.5157619 3
14.5000028 -29.999200
21.0896582 .874357694
9.64633964 3
14.5000028 -.00040000
21.7404551 .709405990
8.85980576 3
14.5000028 32.0000000
22.9969813 .582710693
8.08755846 3
14.5000028 60.0008000
25.1904959 .506529341
7.46292981 3
14.5000028 89.9996000
29.3988065 .011004739
.000000000 8
14.5000028 120.000200
29.3988065 .011556306
.000000000 8
14.5000028 150.000800
29.3988065 .012099784
.000000000 8
14.5000028 179.999600
Keyword Index
581
29.3988065
.000000000
14.5000028
29.3988065
.000000000
All this data is the result of flashing at the pressures and temperatures specified in the pvt file tab. The
reader reads all the data for each flash at the specified pressures and temperatures and stores all the
calculated values in internal arrays for later use. The reader continues reading all the data until it reaches
the following line;
COMPOSITION
This tag indicates to the pvt file reader the end of the tables section of the file and the beginning of the
composition record section of the file. All the data below this mark pertains to the make up of the fluid (that
is, the component names, mole fractions and so on). The next line is as follows; (MACK NON MULTIFLASH
PVT FILE NAMES ARE NOT ALLOWED TO HAVE COMPOSITION RECORDS I.E. NON MULTIFLASH
PVT FILES END WITH THE LINE COMPOSITION. ANY TEXT AFTER COMPOSITION WILL BE INVALID
AND THE PVT FILE IGNORED.)
29.39881 11 0 1 16 1 1
This line informs the reader of the model settings of the composition. The model settings are the average
molecular weight, the number of components, the units of the aqueous components (that is moles or non
moles), the output units of the composition (that is SI or engineering), the EOS, the viscosity model and the
bip set. The next few lines are as follows;
Component Mole percent Number of moles
--------------------- ------------- --------------g "Nitrogen" 0.552994 0.553000 mole
g "Methane" 71.711283 71.712000 mole
g "Ethane" 7.012930 7.013000 mole
g "Propane" 3.652963 3.653000 mole
g "Isobutane" 1.206988 1.207000 mole
g "Butane" 1.051989 1.052000 mole
g "Isopentane" 0.612994 0.613000 mole
g "Pentane" 0.504995 0.505000 mole
g "Hexane" 0.930991 0.931000 mole
p "c7+" 7.751922 7.752000 mole
0.374050E+03 0.114720E+03 0.683200E+00 -0.100000E+36 -0.100000E+36 -0.100000E+36
g "Carbon Dioxide" 5.009950 5.010000 mole
This section details the component type that is gas component, petroleum fraction or aqueous component,
component names, the mole fraction of each component and all the parameters associated with the
petroleum fractions in the composition. Please note that all units in the composition record section of the
pvt file are in strict SI units. The next few lines are as follows;
20
0.222039E+03
0.322039E+03
0.422039E+03
0.522039E+03
20
0.999740E+05
Keyword Index
582
This section details the number of pressure and temperature points from the pvt file tab dialog box and the
actual values of pressure and temperature in strict SI units. The last bit of the pvt file is as follows;
*EXTRA
-0.100000E+36
This section details the extra information describing the fluid, in this case the matched liquid viscosity value.
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 provided
must equal the number provided in the ?INFLOW subcode. The values provided are
selected in step with those on ?INFLOW. See note 6.
?INFLOW3=
?INFLOW4=
?INFLOW5=
?OUTFLOW=
The outflow sensitivity values. Each value will produce one outflow curve. If omitted, a
single inflow curve will be generated. See note 6.
Keyword Index
583
?OUTFLOW2= These sub codes may be equated to a range of values, the number of values provided
?OUTFLOW3= 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).
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
Keyword Index
584
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 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.
Keyword Index
585
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).
Notes:
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.
Keyword Index
586
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 multivalue range can also be specified. For more information, see Multiple value Data Sets. (p.458)
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.
Keyword Index
587
The provision of MULTICASE has allowed other sophisticated PIPESIM features to be built alongside it, for
example the Reservoir Table Interface (p.594) and Well Performance Curve Generation.
Explicit Subcodes
LIQ= ( , )
GLR= ( , )
Keyword Index
588
GAS= ( , )
LGR= ( , )
GOR= ( , )
OGR= ( , )
MASS= ( , )
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= ( , )
WTHP= ( , )
IPRES= ( , )
OPRES= ( , )
Outlet set pressure (bara or psia). Similar usage to the IPRES subcode 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.
Keyword Index
589
Default =
Pressure gradient = 0.0679 bar/m or 0.3 psi/ft for liquid) = 0.0113 bar/m or 0.05 psi/ft (for
gas).
ITYPE=
PRINT=
If the MULTICASE option is specified then all output except titles will
be suppressed after the first case. In order to override this 'autonoprint' 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=
Notes:
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 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 subcodes 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 .
Keyword Index
590
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.
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
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.
Keyword Index
591
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
Notes:
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.
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
Keyword Index
592
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 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.
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:
Keyword Index
593
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.
Liquid
GAS
Gas
OIL
Oil
WATER
Water
TYPE=
Type (or format) of data file to which the results of the calculations are written.
PORES
ECLIPSE ECLIPSE
VIP
WEPS
MORES
COMP4
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,
data file name is fred. if input file is fred.psm and NUMBER=2). Default = 1.
WELLTYPE=
ALQ=
Keyword Index
594
Notes:
1. Any RATE (p.470) or ITERN (p.471) card in the job input is ignored once the MULTICASE (p.587) and
TABLE option have been selected.
2. The sub-codes can be entered in any order.
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
Keyword Index
595
OPTIMIZE
Allows the PIPESIM single branch engine to calculate optimal values of parameters to match measured
pressure and / or temperature data.
Main-code: OPTIMIZE
?OPT01=
?OPT02=
?OPT03=
?OPT04=
?OPT05=
PMATCH=
TMATCH=
TOL=
Accuracy (default 0.01). Optimization converges when the fractional change in the
RMS is less than the specified accuracy.
MAXIT=
VERBOSE= ON
OFF
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 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
Keyword Index
596
?beta=(ANSARI,DR,HBR)
?opt01(0.2,5) ?opt02=(0.2,5) ?opt03=(0.01,100) pmatch=1 tmatch=1
type=?beta ffactor=?opt01 hfactor=?opt02
ufactor=?opt03
tol=0.001 maxit=500
The keyword can be supplied using Engine Options (p.119) to control the Data Matching (p.139) operation.
Time subcodes
Subcodes concerned only with setting time-based data and options:
DURATION=
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=
ENDTIME=
Time at which simulation is to finish: see also DURATION= below. (Default zero)
UNITS=
Keyword Index
597
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=
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.
Termination subcodes
Subcodes concerned with or terminating the timestepping simulation, as a result of simulation conditions:
MAXPIGDP=
MAXSYSDP=
MAXWAXTHICK= or MAXTHICKNESS=
Keyword Index
598
MAXVOLUME= or MAXWAXVOLUME= or
MAXPIGVOLUME=
MINLIQRATE=
MINGASRATE=
MINMASSRATE=
MINID= or MINWAXID=
Wax subcodes
Subcodes concerned with Setting wax properties, deposition properties, and modelling options:
METHOD= or CLIENTMODEL=
CONDUCTIVITY= or WAXCONDUCTIVITY=
ROUGHMODE =
Keyword Index
599
IFCMETHOD=
OILFRAC=
SHEARCOEF= or SRMULT=
COEFWAXK=
DCMETHO= or FLAGDIFFCOEF=
ROUGHCOEF=
BPFFMETHOD=
Keyword Index
600
LHCOEF=
S2YCOEFF=
SFCOEF=
SWCOEFF=
T2RCOEFF=
TFCOEF=
TRANSTEMPRANGE= or WAXTRANSTEMP=
Shell subcodes
Subcodes specific to the SHELL method:
OPTION=
MINDX=
SETDX=
Keyword Index
601
HTCLIMIT=
RELAX=
DFRACTION=
CWDPRES=
CWDTEMP=
MPTEMP=
MPA=
MPB=
MPC=, MPD=, MPE=, MPF=, MPG=, MPH=, MPI=, Additional subcodes to specify modelling
MPJ=
parameters C through J. Each requires 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
Keyword Index
602
RATEMODEL= or MODEL=
CWRPRES=
CWRTEMP=
MODE=
PIPESIM-Net keywords
SETUP (p.603)
BRANCH (p.606)
SOURCE (p.608)
SINK (p.611)
JUNCTION (p.612)
NSEPARATOR (p.613)
Note: The preferred order of statements is: SETUP (p.603) , SOURCE (p.608) , JUNCTION
(p.612) , SINK (p.611) , BRANCH (p.606) , NSEPARATOR (p.613).
See Input Files and Data Conventions (p.454) for more detailed information on formatting.
SETUP
SETUP is a network keyword (p.603), used to define various network options.
Subcodes
TITLE=
TOLERANCE=
MAXITER=
Keyword Index
603
FLUIDMODEL= or COMPOSITION= An override on the type of fluid model to use. This is not normally
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:
BLACKOIL: Fluid type is set to black oil
COMPOSITION: Fluid type is set to compositional
STEAM: fluid type is set to steam
UNSTABLEWELL=
RECIPBYPASS=
ALGORITHM=
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.
Keyword Index
604
ECHOBRANCH=
SKIPINACTIVE=
RESTARTINTERVAL=
Keyword Index
605
Controls the echo of the network input data to the output file. can be
set to YES or NO, default YES.
BRANCH
BRANCH is a network keyword (p.603), used to define a branch and associated network topology.
Subcodes
NAME=
FILENAME=
START=
END=
BLOCK=
ON
OFF
ESTLIQUID= or EST_LIQUID=
Keyword Index
606
ESTGAS= or EST_GAS=
ESTMASS= or EST_MASS=
UPPERMASS= or MAXMASS= or LIMITMASS= Upper limit of mass flowrate for the branch (lb/sec or Kg/
sec).. See note 2.
UPPEROIL= or MAXOIL= or LIMITOIL=
USERESTART=
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.608) SINK (p.611) ,
JUNCTION (p.612) and NSEPARATOR (p.613) 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
Keyword Index
607
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.
SOURCE
SOURCE is a network keyword (p.603), used to define conditions at a network inlet.
Subcodes
NAME=
PRESSURE=
TEMPERATURE=
LIQUIDRATE= or LIQ=
GASRATE= or GAS=
MASSRATE= or MASS=
REBC=
FCLIQUID=
FCGAS=
FCPRESSURE=
FCTEMPERATUR=
CURVEP=
Keyword Index
608
CURVEP=(20,1000,2000) psia
CURVEL=
CURVEG=
CURVEM=
CURVET=
ON
OFF
CURVEFILE=
Keyword Index
609
QUALITY=
CURVESENS_P=
CURVESENS_T=
CURVESENS_S=
UPPERMASS= or MAXMASS= or LIMITMASS= Upper limit of mass flowrate for the source (lb/sec or Kg/
sec).. See note 4.
UPPEROIL= or MAXOIL= or LIMITOIL=
ELEVATION=
ESTPRESSURE=
Keyword Index
610
Notes:
1. A source may have a pressure specification, or a flowrate specification, or a curve specification. These
are known as Hydraulic Boundary Conditions. (p.20)
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.458). 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.
SINK
SINK is a network keyword (p.603), used to define conditions at a network outlet.
Subcodes
NAME=
PRESSURE=
LIQUIDRATE= or LIQ=
GASRATE= or GAS=
MASSRATE= or MASS=
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
OFF
UPPERMASS= or MAXMASS= Upper limit of mass flowrate for the sink (lb/sec or Kg/sec).. See note 2.
UPPEROIL= or MAXOIL=
Upper limit of oil flowrate for the sink (sbbl/d or sm3/d). See note 2.
Keyword Index
611
UPPERLIQ= or MAXLIQ=
Upper limit of liquid flowrate for the sink (sbbl/d or sm3/d). See note 2.
UPPERGAS= or MAXGAS=
Upper limit of gas flowrate for the sink (mmscf/d or mmsm3/d). See note
2.
UPPERWAT= or MAXWAT=
Upper limit of water flowrate for the sink (sbbl/d or sm3/d). See note 2.
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
options to set the node elevations for sinks already specified in the GUI's
model. The same goes for JUNCTION and SOURCE statements.
ESTPRESSURE=
Notes:
1. A sink may have a pressure specification, or a flowrate specification. These are known as Hydraulic
Boundary Conditions. (p.20)
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.
JUNCTION
JUNCTION is a network keyword (p.603), used to define a junction, or to supply additional or override data
for an existing junction.
Subcodes
NAME=
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)
Keyword Index
612
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.
NSEPARATOR
NSEPARATOR is a network keyword (p.603), used to define a network separator.
Subcodes
NAME=
FEEDBRANCH=
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=
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.531). 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.
Keyword Index
613
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.
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.
Keyword Index
614
Open Link
Open Link is a set of API calls that can be made by any application to control PIPESIM or elements of
PIPESIM.
Two sets of controls exist:
1. Controlling the GUI.
2. Controlling the calculation engines directly.
Please refer to the Open Link documentation installed with the software.
Open Link
615
616
Index
data sets ................................................................. 95
enthalpy ................................................................ 378
fluid modeling .......................................................... 95
fluid modeling theory ............................................. 360
mixing ................................................................... 380
options .................................................................... 96
surface tension ..................................................... 378
thermal data .......................................................... 101
TPRINT Table printing .......................................... 572
A
Abort Run ................................................................. 136
Alhanati .................................................................... 172
Annular Gas Pressure Design Method ..................... 174
Ansari ....................................................................... 261
API14B critical flow correlation ................................. 323
Aqueous Components cubic EoS ........................ 396
AQUEOUS keyword ................................................. 574
Branch ........................................................................ 16
B
Babu and Odeh .......................................................... 26
Back Pressure equation
4 point test .............................................................. 32
BACKPRES keyword ............................................ 545
data required ........................................................... 31
details ................................................................... 278
Batch mode .............................................................. 200
Beggs and Brill ......................................................... 261
Beggs and Robinson
Dead oil viscosity .................................................. 369
live oil viscosity ..................................................... 371
BEGIN keyword ........................................................ 484
Benedict-Webb-Rubin-Starling ................................. 390
Bergman and Sutton
undersaturated oil viscosity .................................. 374
Biot number .............................................................. 356
BIP .................................................................... 106, 107
Black oil
CALIBRATE keyword ........................................... 572
calibration ............................................................... 97
correlations ........................................................... 361
C
CALIBRATE keyword ............................................... 572
Calibration
bubble point calibration data ................................... 98
solution gas-oil ratio .............................................. 366
CASE/ENDCASE keyword ....................................... 592
CASE keyword ......................................................... 462
Case studies ............................................................. 203
Casing
standard sizes ....................................................... 418
Casing head pressure .............................................. 144
Character Input ......................................................... 457
Check model ............................................................ 136
Chew and Connally
live oil viscosity ..................................................... 371
617
Choke
Achong critical flow correlation ............................. 322
API 14B subcritical flow correlation .................... 319
Ashford and Pierce critical flow correlation ........... 322
Ashford and Pierce critical pressure ratio ............. 321
Ashford and Pierce subcritical flow correlation ..... 319
Baxendall critical flow correlation .......................... 322
critical flow correlations ......................................... 322
critical pressure ratio ............................................. 321
Gilbert critical flow correlation ............................... 322
Mechanistic critical flow correlation ...................... 322
Mechanistic subcritical flow correlation ................. 319
Omana critical flow correlation .............................. 322
Pilehvari critical flow correlation ............................ 322
Poetmann-Beck critical flow correlation ................ 322
Ros critical flow correlation ................................... 322
Sachdeva critical flow correlation ......................... 322
subcritical flow correlations ................................... 319
theory .................................................................... 316
user-defined critical flow correlation ..................... 323
CHOKE keyword ...................................................... 497
Clear Dictionary ........................................................ 196
Coating ..................................................................... 556
COAT keyword ......................................................... 556
Coiled tubing .............................................................. 57
Comment Statements ............................................... 457
COMPCRV keyword ......................................... 501, 529
COMPLETION keyword ........................................... 502
Completion options ..................................................... 39
Compositional
flashing ................................................................. 113
fluid: AQUEOUS keyword ..................................... 574
fluid: LIBRARY keyword ....................................... 578
fluid: MODEL keyword .......................................... 578
fluid modeling ........................................................ 101
fluid specification .................................................. 575
importing composition ........................................... 108
petroleum fraction specification ............................ 579
property models .................................................... 105
selecting components ........................................... 103
618
D
Damaged zone ........................................................... 28
Darcy
data required ........................................................... 32
equation ................................................................ 279
Data files .......................................................... 289, 457
Data matching
case study ............................................................. 245
procedure .............................................................. 139
Equations of State
components of cubic ............................................. 392
components of non-cubic ...................................... 397
De Ghetto
correlations ........................................................... 361
dead oil viscosity ................................................... 369
live oil viscosity ..................................................... 372
solution gas-oil ratio .............................................. 363
undersaturated oil viscosity .................................. 373
Equipment .................................................................. 69
EQUIPMENT keyword .............................................. 507
Erosion ..................................................................... 123
EROSION keyword .................................................. 506
ESP
curve ..................................................................... 131
data entry .............................................................. 181
design ................................................................... 181
overview ................................................................ 175
selection/design .................................................... 180
system components: pumps ................................. 176
user curves ........................................................... 133
EXCEL ...................................................................... 199
EXECUTE keyword .................................................. 487
Expander
curve ..................................................................... 132
equations .............................................................. 330
EXPANDER keyword ............................................ 509
parameters .............................................................. 64
F
Facilities ............................................................... 61, 62
619
Flash
flash/separation .................................................... 111
Flashing
compositional ........................................................ 113
in-line .................................................................... 114
Flow .......................................................................... 493
Flow control valves
mechanistic theory ................................................ 324
purpose and how to add ....................................... 135
FLOW CORRELATION DATA keyword ................... 488
Flow correlations
comparison/matching ............................................ 138
defining ................................................................... 90
horizontal multiphase ............................................ 258
matching ............................................................... 139
single phase .......................................................... 265
valid horizontal combinations ................................ 492
valid vertical combinations .................................... 489
vertical multiphase ................................................ 261
vertical options ...................................................... 489
Flowline ...................................................................... 65
Flowrate ...................................................................... 89
Fluid
black oil calibration ................................................. 97
black oil options ...................................................... 96
calibration ............................................................... 95
calibration to match lab data ................................... 97
compositional fluid modeling ................................. 101
Gas lift
Annular Gas Pressure Design method ................. 174
bracketing ............................................................. 155
Deepest Injection Point operation ......................... 154
design ................................................................... 157
design parameters ................................................ 163
design procedure .................................................. 158
620
H
Hagedorn and Brown ............................................... 261
HCORR keyword ...................................................... 491
HEADER keyword .................................................... 461
Heat Balance ............................................................ 553
Heat configuration data ............................................ 561
HEATER keyword .................................................... 513
Heat Exchanger .......................................................... 68
HEAT keyword ......................................................... 553
Heat transfer
between flowline and ground ................................ 355
between well and rock .......................................... 358
coefficient .............................................................. 345
conductive coefficient calculations ........................ 352
convective coefficient calculations ........................ 353
IFC correlations .................................................... 348
input or calculate U ................................................. 70
options .................................................................. 118
pipe coat thermal conductivity .............................. 558
wellbore .................................................................. 51
Horizontal completion
data entry ................................................................ 24
determining length .................................................. 24
Inflow Performance options .................................. 545
IPR model ............................................................... 25
IPRs ...................................................................... 301
length optimization ................................................ 143
optimal length ....................................................... 142
overview .................................................................. 23
properties options ................................................... 28
Horizontal flow
correlation options ................................................ 491
regimes ................................................................. 258
valid correlations ................................................... 492
Horizontal gas wells ................................................. 312
Horizontal Multiphase Flow Correlations .................. 258
621
Hossain
dead oil viscosity ................................................... 370
live oil viscosity ..................................................... 371
undersaturated oil viscosity .................................. 374
Hot Keys ....................................................................... 3
HVOGEL keyword .................................................... 551
Hydrate
inhibitors ............................................................... 400
model details ......................................................... 402
overview ................................................................ 400
sub-cooling calculation ......................................... 119
Hydraulic fracturing
overview and data required .................................... 36
J
JOB keyword ............................................................ 461
Jones data ................................................................ 536
Jones equation ........................................................... 31
Jones Equation ......................................................... 277
JONES keyword ....................................................... 536
Joshi ........................................................................... 25
JTFLUID: Joule Thomson Heat Coefficient Data ............
JUNCTION keyword ................................................. 612
622
K
Kartoatmodjo and Schmidt
correlations ........................................................... 361
dead oil viscosity ................................................... 369
live oil viscosity ..................................................... 371
Oil Formation Volume Factor ................................ 368
solution gas-oil ratio .............................................. 365
undersaturated oil viscosity .................................. 373
Khan
live oil viscosity ..................................................... 372
undersaturated oil viscosity .................................. 373
Kouzel
undersaturated oil viscosity .................................. 373
L
Laplace equation ...................................................... 356
Lasater
correlations ........................................................... 361
solution gas-oil ratio .............................................. 365
LAYER keyword ....................................................... 547
LBC .......................................................................... 399
Lee method .............................................................. 377
Leviton and Leighton correlation .............................. 407
Library components cubic EoS ............................ 392
Library components non-cubic EoS ..................... 397
LIBRARY keyword .................................................... 578
Lift Gas Response Curves ....................................... 156
Limits ........................................................................ 417
Liquid by sphere ....................................................... 270
Liquid-gas surface tension ....................................... 408
Liquid holdup ............................................................ 270
Liquid loading
displaying point ..................................................... 142
623
Oil viscosity
black oil ................................................................. 368
undersaturated ...................................................... 372
Multi-rate .................................................................... 35
Multi-stage separation .............................................. 111
N
NAPLOT keyword ..................................................... 583
NAPOINT keyword ................................................... 587
Network
constraints .............................................................. 21
estimates ................................................................ 21
iterations ............................................................... 127
separator ................................................................. 16
Nodal Analysis
NAPLOT keyword ................................................. 583
NAPOINT keyword ............................................... 587
performing ............................................................. 140
point ........................................................................ 59
O
Oil/water emulsions .................................................. 404
Perforation .................................................................. 29
PERMCRV keyword ................................................. 549
Permeability .............................................................. 429
PERMTAB keyword .................................................. 550
PETROFRAC keyword ............................................. 579
Petroleum fractions
for Cubic Equations of State ................................. 397
setting up .............................................................. 103
Petrosky and Farshad
correlations ........................................................... 361
dead oil viscosity ................................................... 370
live oil viscosity ..................................................... 371
solution gas-oil ratio .............................................. 365
undersaturated oil viscosity .................................. 374
624
Pump
curve ..................................................................... 131
data entry .............................................................. 181
entering parameters ................................................ 86
user curves ........................................................... 133
Pipeline
burial ..................................................................... 562
burial method ........................................................ 119
operations ............................................................... 61
pipeline and facilities model .................................... 62
selecting size .......................................................... 58
standard sizes ....................................................... 423
tools ........................................................................ 61
Reciprocating compressor
adding to database or model .................................. 63
entering details ....................................................... 63
overview ................................................................ 330
PI
data required ........................................................... 30
equations .............................................................. 275
Q
Quality lines .............................................................. 110
R
Ramey model ........................................................... 358
625
Source ........................................................................ 87
Standing
correlations ........................................................... 361
Oil Formation Volume Factor ................................ 367
solution gas-oil ratio .............................................. 366
Sink ............................................................................ 15
Surface tension
black oil ................................................................. 378
liquid gas ............................................................... 408
water-gas .............................................................. 378
T
TABLE keyword ........................................................ 594
626
Valve
database ............................................................... 134
FITTING keyword ................................................. 510
typical values ........................................................ 430
Tubing
coiled tubing/velocity string ..................................... 57
detailed profile model .............................................. 50
selecting size .......................................................... 58
standard sizes ....................................................... 418
summary table ........................................................ 53
tool .......................................................................... 48
Vertical flow
correlation abbreviations ....................................... 490
multiphase flow correlations ................................. 261
regimes ................................................................. 257
valid correlations ................................................... 489
VCORR keyword .................................................. 489
Viscosity
dead oil ................................................................. 369
emulsion ............................................................... 106
models for compositional fluids ............................. 399
U
Undersaturated oil viscosity ..................................... 372
Units
description string ................................................... 457
selecting a set ....................................................... 117
UNITS keyword ..................................................... 462
User curves .............................................................. 133
Vogel
equation ................................................................ 276
equation data .......................................................... 30
VOGEL keyword ................................................... 536
Vogel IPR ................................................................. 279
Volume ratio ............................................................. 404
userdll.dat ................................................................... 91
627
Wax
BP method and deposition limits .......................... 149
deposition ............................................................. 146
deposition models ................................................. 409
overview ................................................................ 402
Shell method and deposition limits ....................... 147
WAX keyword ........................................................... 597
WCOPTION keyword ............................................... 538
Well
completion data .................................................... 538
design case study ................................................. 216
horizontal completion .............................................. 23
performance curves .............................................. 144
Wellbore
heat transfer between well and rock ..................... 358
heat transfer in ........................................................ 51
Well Curves ................................................................ 19
WELLHEAD keyword ............................................... 533
Well Performance analysis ......................................... 22
WELL PERFORMANCE MODELING keyword ........ 533
WELLPI keyword ...................................................... 535
Well Productivity ....................................................... 535
Wizard .......................................................................... 8
Woelflin correlation ................................................... 404
WPCURVE keyword ................................................. 536
628