Professional Documents
Culture Documents
Manual 1
Telephone: 800/527-7756
FAX: 972/783-0058
Chapter 1
Introduction
About PipeSoft-2 ................................................................................................................. 3
Simulator Features ............................................................................................................... 4
Chapter 2
Getting Started
System Requirements .......................................................................................................... 9
Road Map to Documentation............................................................................................... 9
Chapter 3
Tutorial
Introduction......................................................................................................................... 15
Single Stream...................................................................................................................... 16
Network .............................................................................................................................. 25
Chapter 4
Data Preparation
Overview............................................................................................................................. 43
Format................................................................................................................................. 44
Single Flow Data Requirements
Black-Oil Multi-Phase ........................................................................................... 45
Black-Oil Multi-Phase (Gas Lift Analysis) ........................................................... 46
Gas Condensate Multi-Phase................................................................................. 47
Single-Phase Fluids ............................................................................................... 48
Steam Multi-Phase................................................................................................. 49
Compositional Multi-Phase ................................................................................... 50
Network Data Requirements
Black Oil Multi-Phase ........................................................................................... 51
Gas Condensate Multi-Phase................................................................................. 52
Single Phase Fluids................................................................................................ 53
Steam Multi-Phase................................................................................................. 54
Compositional Multi-Phase ................................................................................... 55
Network Runs
General Rules........................................................................................................ 224
Node Data ............................................................................................................. 226
INTR (Internal Node) .............................................................................. 226
RSVR (Reservoir Node) .......................................................................... 226
SINK (Sink Node) ................................................................................... 229
SORS (Source Node)............................................................................... 229
Network Controls.................................................................................................. 231
DYNR (Dyner-Method)........................................................................... 231
NETC (Network Control) ........................................................................ 232
PBAL ....................................................................................................... 233
QBAL ...................................................................................................... 234
Flow Tables
TABL.................................................................................................................... 239
FTAB .................................................................................................................... 240
FRTE (Rate).......................................................................................................... 241
FPRS (Pressure).................................................................................................... 241
FGOR (GOR)........................................................................................................ 241
FWCT (Water Cut) ............................................................................................... 242
FGLT (Gas Lift Rates) ......................................................................................... 242
FWHP (Wellhead Pressure).................................................................................. 242
FWHT (Wellhead Temperature) .......................................................................... 242
Chapter 7
Program Output
How to Analyze Results ................................................................................................... 247
Pressure Profile.................................................................................................................. 249
Velocity Profile.................................................................................................................. 253
Heat Transfer Coefficient .................................................................................................. 257
Gas Lift Analysis Summary
Option 2 ................................................................................................................ 261
Option 3 ................................................................................................................ 263
Option 4 ................................................................................................................ 265
Inflow Performance Coefficient Calculation..................................................................... 267
Fluid Property .................................................................................................................... 269
Link Summary ................................................................................................................... 271
Link Results ....................................................................................................................... 273
Node Results...................................................................................................................... 275
Node Summary .................................................................................................................. 277
Well Report........................................................................................................................ 279
Time-Varying Behavior ..................................................................................................... 283
Node/Link Correspondence ............................................................................................... 287
Detail Traverse................................................................................................................... 289
Flow Trace ......................................................................................................................... 293
Fluid Property Trace .......................................................................................................... 295
Node/Link Elevation.......................................................................................................... 297
Internal Loop...................................................................................................................... 299
Production Allocation........................................................................................................ 301
Slug Size Prediction........................................................................................................... 303
Device Summary................................................................................................................ 305
Chapter 8
Structure and Logic
Overview
Input Processing.................................................................................................... 313
Simulators ............................................................................................................. 314
Single Flow Stream
Introduction........................................................................................................... 317
Pressure Traverse Algorithm ................................................................................ 317
Calculation Options .............................................................................................. 321
Heat Loss Calculations ......................................................................................... 333
Network
Introduction........................................................................................................... 341
DYNER Solution Technique ................................................................................ 344
Newton-Raphson Solution Techniques ................................................................ 344
Property Averaging............................................................................................... 347
Well Shut-In Logic ............................................................................................... 349
PVT Analysis
Fluid Property Description ................................................................................... 350
Dynamic Compositional Modeling....................................................................... 363
PVT Table Generation.......................................................................................... 367
Steam .................................................................................................................... 370
Flow Tables
Introduction........................................................................................................... 374
Well Flow Tables.................................................................................................. 375
Downstream Flow Tables ..................................................................................... 378
User Input Flow Tables ........................................................................................ 381
Reservoir Simulator Flow Tables ......................................................................... 381
In-Well Blowout Kill Simulation ...................................................................................... 382
Reservoir Simulator Interface............................................................................................ 384
Flow Correlations .............................................................................................................. 385
Index
• About PipeSoft-2
• Simulator Features
2 2001 IHS Energy Group
About PipeSoft-2
• Fluid Types
• Calculation Options
• Flow Tables
• Pressure Correlations
• Devices
• Fluid Property Description
• PVT Tables
• Reports
• Graphical display for both Links and Networks
Calculation Options PipeSoft-2 has two Equations of State that allow modeling of various
fluid types. Pipesoft-2 recognizes a pipe system simulation as either a
single flow stream or network run with further distinction made between
compositional and non-compositional modeling.
Single-flow stream
A combination of devices, connected in series, through which fluid may
flow. This combination is recognized as a flow link. A single flow
stream simulation involves only one link.
Network
Any branched or parallel combination of flow links.
Flow Tables PipeSoft-2 can automatically generate and store a set of pressure-flow
tables as functions of varying gas and water fluid ratios for all flow
links. This feature reduces solution time in network simulations and can
provide substantial savings on large studies.
Pressure Loss PipeSoft-2 offers the most widely used methods for single-phase and
Correlations multi-phase pressure drop calculations such as:
PVT Tables PipeSoft-2 can generate a report showing values of key fluid properties
as functions of pressure and temperature. This helps to verify that the
PVT information entered in the program will result in a sufficiently
accurate prediction of fluid behavior in the flow simulation.
Reports Various reports can be extracted from the simulation which can either
provide a high-level summary of the simulation or detail data of the
program calculations concerning links and devices.
This chapter helps you get started with PipeSoft-2 by guiding you
through installation onto your PC or LAN. It also provides an
initial understanding of the input and output files that are used
during a simulation. The Road Map to Documentation is included
to help you understand the organization of information and
maneuver efficiently through the manual.
• System Requirements
• Installation
• Naming Conventions
• An X86 Class Computer Processor that is equivalent to an Intel Pentium II 300 mhz with a
minimum of 32 MB memory. (Minimum Microsoft Windows Requirements)
Chapter Overviews Each chapter provides pertinent information about a certain aspect
of
PipeSoft-2.
Chapter 3
Tutorial
This chapter contains step-by-step instructions for modeling a
simple single-stream and network problem. Topics range from
selecting the appropriate input forms to expanding or modifying
the model.
• Single Stream
• Network
Introduction
An integral part of performing a successful simulation with PipeSoft-2 is
creating a robust data set that resembles the desired pipeline system.
The PipeSoft-2 manual includes several tools that help in the creation
process such as data requirement matrices, input forms, data record
descriptions, and sample output reports. Understanding the significance
of these tools and the order in which they are used insures a successful
simulation.
The following steps are necessary to create a data set and process
information, regardless of the type of run:
Q = 1400 BPOD
GOR = 790 SCF/BL
Water Cut = 14%
ID (STDWT) = 3.068
Gravity = 33°API
Separator Gas Gravity = .75
Separator Water Gravity = 1.03
Gas Contaminants = unknown
Inlet Temperature = 165°F
1. In Chapter 4, locate the matrix for Single Flow Stream Black Oil
Multi-Phase Modeling.
Model descriptions are The categories of information required for black oil multi-phase modeling are:
usually categorized into
three types of data:
• General Controls
Controls - what to do and • Traverse Controls
what methods to employ • PVT Correlations
PVT data - fluid • Pressure/Rate/Temperature Calculations
characterization • Link Device Information
Physical description - pipes,
pumps, tubing, etc. 2. Identify the input forms where this information is specified:
Chapter 4 also lists the records which must be included in the data set.
• PVT3
Required for this particular black oil problem.
• TRAV 1, 2, or 3
• PRES or RATE
In our example, we need to calculate a pressure traverse so we
will use the PRES record.
A LINK record is not
required for single flow
stream runs. PipeSoft-2 5. Locate form B1. This form is used to enter the physical description
assigns a standard name, of the problem.
"FROMTO" for the link.
All data files must be saved with a .ps2 extension to run PipeSoft-2.
3. Refer back to form A1.1 and enter the required fields so that your
text editor file resembles Figure 3.2. Make sure all record names are
capitalized and data fields are separated by one or more blanks.
Establishing a standard 4. Enter the PVT3 record and complete the associated fields so that
numbering system which your text editor file resembles Figure 3.3.
corresponds with your
laboratory data is helpful in
case you need to reference The PVT data set number can be any number from 01 to 98. Use "01".
the data again.
Select the TUFFP methods for solution GOR, formation volume factor, and oil
viscosity methods to keep the problem simple. Normally, a
correlation is selected after considerable thought. When laboratory
data is available, using PVT tables is recommended over using
correlations, although it is often necessary to estimate system
performance with minimal data.
4. For the calculation method we can select from three PRES records.
Use the PRES 1 record since we are calculating outlet pressure
given an inlet flow and pressure.
At this stage, your text editor file should resemble Figure 3.4.
The only remaining task is describing the physical system. Our example
consists of a single length of pipe of fixed internal diameter which
accounts for one device.
5. Refer to form B1. Enter the PIPE record with the given
information:
At this stage, your text editor file should resemble Figure 3.5.
Summary messages appear on the screen relaying the status of the simulation.
This example has been
designed to run without These messages vary with the version and installation.
error. If you encountered The input processor reports the number and type of errors encountered.
errors, check your data file
against Figure 3.5 and rerun
before continuing.
4. Compare results with the model. Note that traverse results appear
in 100 foot increments because of specifications set on the TRAV
record.
Our previous run did not encounter any errors. In order to view an error
message we will manipulate our original data file.
5. Repeat the steps in the previous section to run this data file.
Substitute examp1.ps2 with examp2.ps2.
In the example above, the absence of the PRES record caused the
run to abort. When correcting errors, attend to the fatal errors which
appear on the screen first and then consult the error message file for
more details.
ê Interpret Results:
As an exercise, change the Output Type on the SYST record to "5", run
the program, and view the results. In addition to a Pressure Profile
report, the simulation generates a Velocity report, plots, and a copy of
the input data file (without comments). Additional report options are
also available on the REPT record (see Chapter 6).
Objective The basic single stream model can be manipulated to model a series of
diverse elements. To show this, we will connect a well to the inlet of the
original flowline model. This new example is shown in Figure 3.9.
The well consists of a tapered tubing string, that deviates below 2050
feet.
2. Refer to form B1. Enter two TBNG records with the given field
information:
TBNG 1
Sequence Code = W01
Flow Code = BM
Inside Diameter = 1.995
Measured Depth = 7875
True Vert. Depth = 6410
Efficiency Factor = 1.0
Heat Loss Coefficient = 2.2
Absolute Roughness = .00015
Geothermal Gradient = 1.872
TBNG 2
The output reports from the simulation are at the end of the single stream
tutorial.
Any number of devices can be added in this fashion, provided that there
is only one inlet and one outlet (except for gas lift). We recommend that
you experiment with other features using this example as a foundation.
Once you understand how to assemble single flow stream data, you can
create network data following a straightforward extension of this same
process.
Tubing:
Inside Diameter = 4.25"
Measured Depth = 5099ft
True Vertical Depth = 5099ft
Overall heat transfer, U = 2.9BTU/hr-ft2°F
Roughness = .0004ft
Geothermal Gradient = 1.67 °F/100ft
Flowline:
Inside Diameter = 9.75in
Length = 7000ft
Elevation Change = +100ft (up)
Overall heat transfer, U = 3.0BTU/hr-ft2°F
Roughness = .0004ft
Tubing:
Inside Diameter = 4.25"
Measured Depth = 5958ft
True Vertical Depth = 5268ft
Overall heat transfer, U = 2.9BTU/hr-ft2°F
Roughness = .0004ft
Geothermal Gradient = 1.61 °F/100ft
Flowline:
Inside Diameter = 7.625in
Length = 4500ft
Elevation Change = +50ft (up)
Overall heat transfer, U = 3.0BTU/hr-ft2°F
Roughness = .0004ft
Second Segment:
Inside Diameter = 12.625 in
Length = 6000 ft
Elevation Change = 0 ft (up)
Overall heat transfer, U = 3.0 BTU/hr-ft2°F
Roughness = .0004 ft
To keep things simple, the model contains a single TBNG and PIPE to
represent the vertical and horizontal elements. Usually, more elements
are required to adequately describe the system, but the number of data
elements are minimized to clearly understand the modeling process.
• General Controls
• Network Solution Controls
• Traverse Controls
• PVT Correlations
• Link
• Devices
• Node Data
Chapter 4 also lists the records which must be included in the data set.
• NETC, TRAV 1, 2, or 3
• PBAL
PBAL is usually the optimal method requiring the least CPU
time (and the least input data). QBAL is the most general, but
requires much more CPU time and can be more difficult to use
with unusual situations. DYNR is very efficient for tree net-
works like this one and is shown in a later section
All data files must be saved with a .ps2 extension to run PipeSoft-2.
3. Refer back to form A1.1 and enter the required fields so that your
text editor file resembles Figure 3.2. Make sure all record names are
capitalized and data fields are separated by one or more blanks.
We have taken the first choices on the PVT2 record for Z-factor, gas
viscosity and total liquid viscosity, but different choices may be more
appropriate for other circumstances (see Chapter 8).
4. Enter the PVT data for each well using the PVT3 record. Assign a
unique PVT data set number to each record. These data set numbers
link PVT data with fluid streams entering the network later. For our
example assign 07 and 09.
Remember:
5. Refer to form N1. Enter the required data on the NETC record and
place the record immediately after the PVT2 record.
Only the first three fields of the NETC record are important to this
problem. Leave the remainder blank to use defaults. For this
problem, we arbitrarily picked 45 as a maximum number of
iterations. For larger, computationally intensive problems, it is
recommended to reduce the number of iterations until you build
some experience with your model.
TRAV 1 10 100
TRAV 1 10 100
PBAL 1
If you completed the Single Flow Stream tutorial, you will already
be familiar with the data on this form, except for the LINK record
and entering a link name on each device record.
TRAV 1 10 100
PBAL 1
For more details on network modeling rules, see Chapter 8 Structure and
Logic.
TRAV 1 10 100
PBAL 1
2. Make sure your target directory contains the data file, exnw1.ps2.
At the prompt, type PS2 exnw1 and press Enter.
This example has been Summary messages appear on the screen relaying the status of the simulation.
designed to run without These messages vary with the version and installation.
error. If you encountered
errors, check your data file The input processor reports the number and type of errors encountered.
against Figure 3.17 and
rerun before continuing. PipeSoft-2 creates an output file with the same name as the input file except with
a .prn extension (i.e., exnw1.prn). The output file consists of PipeSoft-2 standard
reports and other reports specified on the SYST record (see reports
at the end of the Network tutorial).
OR
Print the results. Make sure that your printer is set to landscape
mode or able to cover 132 character width reports.
Our previous run did not encounter any errors. In order to view an error
message we will manipulate our original data file.
TRAV 1 10 100
PBAL 1
4. Repeat the steps in the previous section to run this data file.
Substitute exnw1.ps2 with exnw2.ps2.
In the example above, the absence of the INTR record caused the
run to abort. When correcting errors, attend to the fatal errors which
appear on the screen first and then consult the error message file for
more details. Also note that one error triggered several related error
messages.
ê Interpret Results:
As an exercise, change the Output Type on the SYST record to "5", run
the program, and view the results. In addition to a Link Results report,
the simulation generates link, node, well, input summaries and detailed
Pressure Profile reports for each link in the system. Additional report
options are also available on the REPT record (see Chapter 6).
ê Expand or Modify the Model:
2. Edit the file by adding a new INTR node called A001, a new link
called XXT002, and connect XXT001 to XXT002.
TRAV 1 10 100
PBAL 1
9. Add the new well by copying well XXW002's LINK and device
records.
10. Change the link name from XXW002 to XXW003 on the LINK
record and device records, and change the "to" node from G001 to
A001 and the "from" node from B002 to B003.
11. Add node B003 by copying node B002 information and changing the
node name.
12. Run the new model again. The results should show that there is
sufficient capacity in the existing trunkline to handle the new
production due to excellent planning. In reality, the results may not
be achieved so smoothly, although, most model adjustments are
similar to the process outlined here. Once wells and trunklines are
duplicated, parameters such as depths, inside diameters, and lengths
are easily adjusted.
TITL EXNW3.PS2: Expanded Simple Pipe Network Example
SYST NW 2
BASE 14.7 60 75
PVT2 1 1 1
NETC 3 2 45
TRAV 1 10 100
PBAL 1
ê Try DYNR:
Earlier, we mentioned that this model is ideal for the DYNR solution
technique. DYNER is an alternative network solution method that is
very efficient. It is applicable to networks that have one link connected
to a single SINK node and have no loops (i.e., "tree" type network).
Tutorial
1. To use the DYNER method, change the solution method on the
NETC record from 2 to 0, and replace the PBAL record with a
DYNR record as shown in Figure 3.21.
TRAV 1 10 100
DYNR 1 1
There are a number of control parameters that you can adjust to improve
performance, but in most cases you need only concern yourself with
convergence tolerances. For our example, we selected tolerances that
are comparable to those used in the PBAL method.
Tutorial
2. Rerun the model with the DYNR method.
The results do not match exactly, because the two methods are quite
different in their approaches and arrive at the solution from different
directions. Also note how much faster DYNR is over PBAL. This
can become significant with large networks, so DYNR should be
kept in mind as a useful alternative.
QBAL can be run in a similar fashion. You will find that it requires the
most computer time.