Professional Documents
Culture Documents
PIPEPHASE Keyword Manual
PIPEPHASE Keyword Manual
0
Keyword Manual
PIPEPHASE 9.0 The software described in this guide is furnished under a license
Keyword Manual agreement and may be used only in accordance with the terms
of that agreement. Information in this document is subject to
change without notice. Simulation Sciences Inc. assumes no lia-
bility for any damage to any hardware or software component
or any loss of data that may occur as a result of the use of the
information contained in this manual.
Copyright Notice © 2005 Invensys Systems, Inc. All rights reserved. No part of
the material protected by this copyright may be reproduced or
utilized in any form or by any means, electronic or mechanical,
including photocopying, recording, broadcasting, or by any
information storage and retrieval system, without permission in
writing from Invensys Systems, Inc. All other trademarks
noted herein maybe owned by their respective companies.
Trademarks PIPEPHASE, NETOPT, Simulation Sciences, and SIMSCI are
trademarks of Invensys Systems, Inc.
TACITE is a registered trademark in the U.S. and certain coun-
tries of Institut Francais Du Petrole (IFP).
Windows, Windows 98, Windows ME, Windows NT, Win-
dows 2000, Windows XP and MS-DOS are registered trade-
marks and/or trademarks of Microsoft Corporation.
Compaq Visual Fortran is a trademark of Compaq Computer
Corporation.
Adobe, Acrobat, Exchange, and Reader are registered marks
and/or trademarks of Adobe Systems Inc.
Chapter 1 Overview
About This Chapter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1-1
Scope and Objectives of PIPEPHASE. . . . . . . . . . . . . . . . . . . . . .1-1
Flow Devices. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1-2
Property Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1-2
Calculation Modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1-3
Pressure Drop Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1-3
User Convenience . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1-3
Typical Applications of PIPEPHASE . . . . . . . . . . . . . . . . . . . . . .1-3
Field Production . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1-4
Transmission Pipelines . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1-5
Solving Networks with PIPEPHASE . . . . . . . . . . . . . . . . . . . . . .1-7
Links . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1-7
Networks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1-8
The Building Blocks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1-8
Joining Segments Together . . . . . . . . . . . . . . . . . . . . . . . . . . .1-9
Joining Links Together . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1-10
Pressure Balance Solution Method . . . . . . . . . . . . . . . . . . . .1-10
iv Contents
Unit Operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-26
Flow Device Sizing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-26
Pressure Drop Calculations . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-27
Pressure Drop in Flow Devices. . . . . . . . . . . . . . . . . . . . . . .2-28
Nominal Diameter and Pipe Schedule . . . . . . . . . . . . . . . . .2-29
Pressure Drop in Completions . . . . . . . . . . . . . . . . . . . . . . .2-31
Pressure Drop in Fittings. . . . . . . . . . . . . . . . . . . . . . . . . . . .2-33
Equipment Items . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-34
Heat Transfer Calculations. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-38
Detailed Heat Transfer in Pipes and Tubing . . . . . . . . . . . . .2-38
Gaslift Analysis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-39
Sphering or Pigging . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-40
Reservoirs and Inflow Performance Relationships . . . . . . . . . . .2-41
Production Planning and Time-stepping . . . . . . . . . . . . . . . . . . .2-41
Time Changes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-42
Wells and Well Grouping . . . . . . . . . . . . . . . . . . . . . . . . . . .2-42
Reservoir Depletion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-42
Facilities Planning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-42
Subsurface Networks and Multiple Completion Modeling . . . . .2-43
A Single Well . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-43
More Than One Well. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-44
Multiple Completions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-45
Case Studies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-46
Global Changes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-47
Individual Changes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-47
Nodal Analysis. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-47
Dividing the Link . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-47
Selecting Parameters and Flowrates . . . . . . . . . . . . . . . . . . .2-48
Sensitivity Results. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-48
Grouping Parameters. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-48
Chapter 4 Results
About This Chapter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-1
Report Options. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-1
Description of Reports. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-2
Input Reprint . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-2
Intermediate Printout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-3
vi Contents
Solution Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4-3
Input Reprint Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4-7
Structure Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4-12
Intermediate PRINTOUT Example . . . . . . . . . . . . . . . . . . . . . . .4-19
Solution Output Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4-20
Link Device Detail Report . . . . . . . . . . . . . . . . . . . . . . . . . .4-25
Link Property Detail Report . . . . . . . . . . . . . . . . . . . . . . . . .4-33
viii Contents
Appendix B
Default Values of Schedule Pipe Sizes used by
PIPEPHASE
Appendix C
Format of User-definable Nominal Pipe, Tubing and Riser
Size Databases
Appendix D
References
Appendix E
Results Access System Database
Flow Devices
PIPEPHASE can be used for simulating single or multiphase fluid
flow through any combination of pipes, risers, tubing, annuli,
fittings and items of process equipment. In PIPEPHASE, pipes,
risers, tubing and annuli are collectively known as flow devices.
Pipes and risers are normally used for modeling pipelines whereas
tubing and annuli simulate flow in wells. A complete listing of
available flow devices can be found in Chapter 2, Using
PIPEPHASE. This chapter describes how PIPEPHASE handles
flow devices within pipe sections.
Property Data
PIPEPHASE can simulate fluids defined either by composition, by
assay (ASTM, TBP) curve, or by non-compositional means. For
compositionally or assay defined fluids, all component,
thermodynamic, and transport property data are stored in, or created
from, PIPEPHASE’s data and calculation libraries. For non-
compositionally defined fluids, PIPEPHASE uses built-in
correlations to determine all physical property data the program
requires for pressure drop and heat transfer calculations. Details of
the different fluid types and how to define them can be found in
Chapter 2, Using PIPEPHASE.
1-2 Overview
Calculation Modes
PIPEPHASE can be used for designing new systems or rating
existing ones. Any piping topology can be addressed, from a simple
single link of flow devices to the most complex network of
pipelines and wells, including multiple inlets and outlets and any
degree of looping. In network configurations, you are allowed to fix
almost any combination of pressures and flowrates and
PIPEPHASE will solve for all the remaining unknowns.
Line capacities, flow distribution in loops, heat transfer effects,
Joule-Thomson effects, in-line flow patterns, vapor and liquid
velocities and preferential phase splitting at tees for steam systems
are all accurately determined. Details of how these are invoked can
be found in Chapter 2, Using PIPEPHASE.
User Convenience
PIPEPHASE is fully supported by SIMSCI’s experienced staff who
can supply advise on using the program and offer assistance if you
are having problems. Simply call the nearest authorized SIMSCI
technical support centers listed in the Introduction section of the
PIPEPHASE Installation Guide. Full documentation is also
available from these SIMSCI - ESSCOR centers. In addition to the
easy-to-use keyword version of PIPEPHASE, SIMSCI - ESSCOR
offers a version with a graphical user interface
1-4 Overview
Enhanced Oil PIPEPHASE is not a reservoir model. However,
Recovery it can be used to analyze water, steam, gas,
nitrogen, and CO2 injection wells, complete with
the outflow reservoir performance as predicted by
a reservoir simulator, or as measured by well-test
data. PIPEPHASE can be used to predict injection
rates and conditions, flowing bottomhole
pressures, and similar phenomena. Of course,
PIPEPHASE can also be used to analyze the
transmission pipelines or distribution networks
that deliver the injection fluids.
Transmission Pipelines
PIPEPHASE can simulate or predict the pressure and temperature
profiles for an existing pipeline system that consists of various sizes
of pipes, pumps, separators and other equipment. It accomplishes
this using one or more of its industry standard pressure-drop
correlations and its heat balance mechanism. Once the pressure and
temperature profiles are calculated, they can be compared with
measured data. In this manner, you can isolate problem areas and
can investigate various remedies by further simulation.
1-6 Overview
Slug Catcher The sphering, or pigging, calculation in
Sizing PIPEPHASE predicts the quantity of liquids
formed as a multiphase fluid flows in a pipeline
and determines the size of the liquid slug that is
pushed out by the pig. The volume of a slug
catcher tank must be at least as large as this liquid
slug.
If only natural slugging occurs, good engineering
practice dictates that the slug catcher vessel should
be sized even larger than the calculated slug
volume to account for transient pigging conditions
and statistical uncertainty inherent in all liquid
holdup predictions. Turndown simulation, i.e.,
holdup predicted for lower rates than the actual
operating rate, should also be a part of any slug-
catcher study.
Links
A link is a number of connected flow devices, fittings and
equipment items arranged in series with only one inlet and one
outlet. In Figure 1-2, the link comprises all pipes, fittings and
equipment items from the fluid inlet outlet.
Networks
A network is a number of links joined together at junctions. A
network may have one or more inlets (sources), one or more outlets
(sinks), loops, and crossovers. The following figure shows a typical
network.
1-8 Overview
transfer calculations, each flow device may be further subdivided
into calculation segments. By default, each flow device is a single
calculation segment.
Convergence
For a junction or sink with multiple inflowing links and where you
have not fixed the pressure:
ï Pressures at a node (i.e., a sink, source, or
junction) are calculated for each link
incident on the node. If the pressures are
equal within a user defined tolerance, the
node pressure (by pressure balance) has
converged.
1-10 Overview
For fixed sink and junction pressures:
ï Pressures at a node are calculated for each
link incident on the node. When the calculated
node pressure is equal to the set node
pressure within the user defined tolerance,
the node pressure has converged.
If the pressure discrepancy is not within tolerance in any of the
nodes, the Newton-Raphson method calculates new mass balanced
link flowrate estimates and new source pressure estimates for the
next iteration.
Piping Structure
Before beginning to input problem data to PIPEPHASE, it is
important that you convert the structure of the piping system into a
simpler schematic representation of the relevant nodes (i.e.,
sources, junctions, and sinks) and links. Label each node and link
both uniquely and logically for future reference.
Global Settings
Before you provide PIPEPHASE with information about the fluid
and piping structure of your problem, global parameters may be set
and the problem definition described. Choices can be made on how
to control the simulation, define the input units, specify how much
output you want, and set global defaults for use throughout the
simulation.
To provide... See...
Descriptive text You must use a TITLE statement that denotes that 3-10 TITLE
the input has started. The only word that has to
appear on this statement is TITLE.
On the TITLE statement you may supply text; this 3-10 TITLE
text will appear at the top of every page of output,
and will make the run easier to identify.
You can further describe the problem using up to 3-11 DESCRIPTION
four lines of 60 characters each.
If you are using the Case Study facility, you may 3-177 DESCRIPTION
add one line of description for each case study.
You will find further details about case studies
later in this chapter.
If you are using the Sensitivity (nodal) Analysis 3-198 DESCRIPTION
facility, you may add two lines of description, one
for inflow and one for outflow. You will find
further details about nodal analysis later in this
chapter.
Input data You may use PIPEPHASE just to check your input 3-16 CALCULATION
checking syntax and topology and not to perform any
calculations.
Units of Measurement
PIPEPHASE allows you to construct a group of units of measure
(or dimensions) which are to be used throughout all the simulation
input. However, you may locally override individual units of
measure where necessary. The output will always be in the units
supplied on the DIMENSION statement, unless specific output
overrides or supplements are requested on the OUTDIMENSION
statement.
2-4 Using PIPEPHASE
To provide... See...
Input units Global units of measurement are defined at the 3-11 DIMENSION
beginning of the input. PIPEPHASE has four pre-
selected sets for user convenience: Petroleum,
English, Metric and SI. You should select the set
that is closest to your requirements. You can then
re-define units of measurement either globally at
the start of the input or individually when you
supply the data. If you do not select a set,
PIPEPHASE defaults to the Petroleum set.
Printout Options
PIPEPHASE generates a great deal of data during its calculations.
The default printout is normally sufficient for most engineering
applications. You may increase or decrease the amount of output
depending upon your requirements. For further details describing
the output printout, see Chapter 4, Results.
Defaults
Many of PIPEPHASE’s data items are defaulted. If you do not
explicitly specify an item or a calculation method, the program will
automatically assign a value or method. These values for example
29 BTU/hr-ft-oF for pipe thermal conductivity and the Moody
method for single-phase pressure drop calculations have been
selected to be reasonable for normal engineering purposes, but are
not necessarily the best for your particular application. They are
there for your convenience and are not intended to replace
engineering judgement. You should check that you do not get
invalid results through their use.
For convenience, PIPEPHASE allows you to change some defaults
globally at the start of the input.
To define... See...
Flow device You can specify global values for the pipe, riser, 3-21 DEFAULT
parameters tubing and annulus inside diameter, the surrounding 3-104 PIPE
medium, and the parameters associated with pressure 3-107 RISER
drop and heat transfer. You can override these settings 3-110 TUBING
for individual pipes. 3-108 ANNULUS
Heat transfer You can define the heat transfer for pipes, risers, 3-21 DEFAULT
tubings, and annuli as an overall coefficient or by 3-104 PIPE
defining the parameters - viscosity, conductivity, 3-107 RISER
velocity, etc. - for the surrounding soil, air, or water. 3-110 TUBING
You can select a medium and optionally override these 3-108 ANNULUS
settings for individual pipes. You can globally
suppress heat transfer calculations and then reinstate
them for individual pipes, risers, tubings, and annuli.
Pressure drop You can globally set the pressure drop method and the 3-18 FCODE
methods Palmer parameters for liquid holdup. You can override 3-104 PIPE
the pressure drop method for individual pipes, risers, 3-107 RISER
tubings, and annuli. 3-110 TUBING
3-108 ANNULUS
Library Components
The SIMSCI library contains over 1700 components. A full list is
available in the SIMSCI Component and Thermodynamic Data
Input Manual. For all components, the databank contains data for
all the fixed properties and temperature-dependent properties
necessary to carry out phase equilibrium calculations. For all
common components, the databank also contains a full set of
transport properties necessary to carry out pressure drop and heat
transfer calculations. If you need to supplement the data, or override
the library data with your own, you may do so.
To specify... See...
Library All fixed property data may be accessed from the 3-33 COMPONENT
components SIMSCI databank. All you need to do is supply
the name of the component.
Library You may override the SIMSCI constant 3-36 MW
components properties for any or all of the components. 3-36 SPGR
3-36 API
3-36 ACENTRIC
3-36 ZC
3-36 TC
3-36 PC
3-36 NBP
3-36 STDDENSITY
3-36 VC
Non-library Components
You may use components not found in the SIMSCI library. You
must input all the necessary data for thermodynamic and transport
properties. If you need help in determining data for such
components, you may use SIMSCI’s DATAPREP program.
To specify... See...
Non-library If you want to use a component that is not in the SIMSCI Component
components SIMSCI Bank, you must supply its name and all the and Thermodynamic
required properties. Data Input Manual
Petroleum Pseudocomponents
To define hydrocarbon pseudocomponents, you must supply at least
two of the following three parameters:
1. Molecular weight
2. Gravity
3. Normal boiling point
PIPEPHASE will predict the third if you omit it. PIPEPHASE uses
industry-standard characterization methods to predict all fixed and
temperature-dependent property data for each pseudocomponent.
You may select the method most suitable for your own mixture.
To define... See...
Pseudo- Define petroleum pseudocomponents by 3-34 PETROLEUM
components supplying at least two of the following:
molecular weight, gravity, and normal boiling
point.
Property- You may select the method PIPEPHASE will 3-34 ASSAY
calculation use to calculate the properties of your pseudo-
methods components.
Assay Curve
If your fluid is defined by an assay curve (TBP, D86, D2887, or
D1160), PIPEPHASE will divide it into a number of cuts. You can
control the number of cuts and the ranges they cover. Each of the
cuts is then treated as a pseudocomponent, as described previously.
You may also define a lightends analysis to go with the assay curve.
To supply... See...
Assay Data You supply an assay curve, and PIPEPHASE will 3-34 D86, D1160,
divide it into petroleum cuts. You supply it in the D2887, TBP,
form of D86, D1160, D2887, TBP, or TBP at 10 mm TBP10
Hg curves.
You must also supply gravity as API or specific 3-36 API, SPGR,
gravity or UOP K-factor either as a curve against UOP, DATA
percent vaporized or as an average value.
PIPEPHASE will calculate molecular weight data, 3-36 MW
or you may supply it as an average or a curve against
percent vaporized.
You may define the number of petroleum fractions 3-36 CUTPOINTS
to be generated and their temperature ranges.
You may select the method PIPEPHASE will use to 3-34 ASSAY
calculate the properties of the generated petroleum
fractions.
Mixed component You can mix defined components and 3-94 LIGHTENDS
types pseudocomponents with assay data by defining a
lightends composition and rate for each source.
You can specify methods that you want to use for the following
thermodynamic properties.
To specify... See...
K-values, You must select a thermodynamic method for 3-49 METHOD
enthalpy, density calculating the vapor-liquid equilibrium and mixture
properties from component properties. Either select a
system with a predefined method for each property, or
select an individual method for each property.
Vapor-liquid- Use the (VLLE) qualifier on the SYSTEM keyword or 3-49 METHOD
liquid equilibria on the KVALUE keyword or have a second KVALUE
keyword with an (LLE) qualifier.
Different enthalpy You must include two ENTHALPY keywords, one 3-49 METHOD
methods for liquid with an (L) qualifier and one with a (V) qualifier.
and vapor
Different density You must include two DENSITY keywords, one with 3-49 METHOD
methods for liquid an (L) qualifier and one with a (V) qualifier.
and vapor
Aqueous phase If you have water in a hydrocarbon system, you may 3-54 WATER
enthalpy select a method for calculating aqueous liquid and
vapor enthalpies either by a simplified method which
assumes that the steam is at its saturation point or by a
rigorous method which takes into account the degree
of superheat of the vapor, if any.
Transport properties
The SIMSCI databank contains pure component data for the
thermal conductivity, surface tension, and viscosity of liquids and
vapors as functions of temperature. You can choose to use these
data and simple mixing rules to predict the flowing properties of the
fluid.
Alternatively you can choose to use the API Data Book property
prediction methods and mixing rules for mixed hydrocarbons.
About 60 of the bank components have data for viscosity and
thermal conductivity from the GPA TRAPP program. If you choose
to use the TRAPP data, all of your components must be TRAPP
components and you cannot have any pseudocomponents or assay
data.
To specify... See...
Prediction You may choose a method for calculating bulk 3-49 METHOD
methods transport properties from component properties.
Select a system with predefined methods for each
property, or select an individual method for each
property.
Overriding To override the mixture liquid viscosity predictions, 3-57 SET
viscosity you may supply a liquid viscosity curve for either the
hydrocarbon liquid phase, the water phase or the total
liquid. A different viscosity curve may be supplied for
each source.
To specify... See...
More than one For each set use a separate METHOD statement. 3-49 METHOD
thermodynamic Name the set using the SET keyword.
set
The set used by a Link the source to the thermodynamic set using the 3-83 SOURCE
source SET keyword.
A default When a single set is present, all sources use that set. If 3-49 METHOD
thermodynamic you do not link the source to a thermodynamic set, it
set will use the default set. Normally this is the first set
that appears in the input. If you want to stipulate that
another set is the default, use the DEFAULT keyword.
To specify... See...
Fluid definition You must tell PIPEPHASE the type of fluid you 3-16 CALCULATION
have: blackoil, gas condensate, liquid, gas, or
steam.
Different data You may supply specific gravities for each source. 3-57 SET
for different
sources
To specify... See...
Liquid definition You must define the liquid as water or 3-57 SET SOURCE
hydrocarbon, and supply its gravity. If the liquid is
water, the specific gravity must be 1.0 or greater.
For liquid hydrocarbon, the specific gravity must
be less than 1.0.
Viscosity method You may define the method that PIPEPHASE uses 3-66 CORRELATION
to predict non-compositional liquid viscosity.
Overriding You may supply liquid viscosity data to override 3-57 SET
viscosity data the internally predicted data. You may define the
viscosity as a single value or as a two-point
viscosity curve.
Specific heat You may supply a single constant value for liquid 3-57 SET
specific heat to override the internally predicted
data.
Gas
All properties of a non-compositional gas are calculated by
PIPEPHASE from the specific gravity and the built-in correlations.
You may choose which viscosity correlation to use from the list in
Table 4-23.
To specify... See...
Gas definition A non-compositional gas is defined in terms of 3-57 SET
its gravity, and PIPEPHASE will use the
appropriate correlations to predict its properties.
Viscosity method You may define the method that PIPEPHASE 3-66 CORRELATION
uses to predict non-compositional gas viscosity.
Cp/Cv ratio A gas specific heat ratio may be defined to 3-57 SET
definition override the internal value used as default.
Define a One or more of the following gas contaminants 3-57 SET
contaminant may also be defined: nitrogen, carbon dioxide, or
hydrogen sulfide.
Gas Z-factor The method that PIPEPHASE uses to predict a 3-66 CORRELATION
non-compositional compressibility factor may
also be defined.
To specify... See...
Steam tables If the fluid is steam, use PIPEPHASE s internal steam 3-58 SET
tables. You may specify that the gravity of the
condensed water is more than 1.0 to take into account
dissolved solids.
Saturated steam You may specify steam quality if the steam is 3-83 SOURCE
saturated. Specify the temperature and quality if the
steam is superheated or the water is subcooled.
Gas Condensate
Gas condensate is a multiphase non-compositional fluid with gas
predominating. All properties of gas condensate are calculated by
PIPEPHASE from the phase specific gravities, condensate gas ratio
at standard conditions, and built-in correlations.
To specify... See...
Condensate A gas condensate is defined in terms of its gravity, 3-59 SET
definition condensate gas ratio, and PIPEPHASE will use the
appropriate correlations to predict its properties.
Specific gravity You must supply specific gravity data for gas, liquid 3-59 SET
and water phases, even if you do not expect them all
to be present.
Contaminants One or more of the following gas contaminants may 3-59 SET
also be defined: nitrogen, carbon dioxide, or hydrogen
sulfide.
To specify... See...
Blackoil definition Blackoil is defined in terms of the gravity of its 3-61 SET
oil and gas and the Gas to Oil ratio.
PIPEPHASE will use the appropriate
correlations to predict its properties.
Specific gravity You must supply specific gravity data for gas, 3-61 SET
liquid, and water phases, even if you do not
expect them all to be present.
Viscosity You may optionally enter liquid viscosity data in 3-61 SET
the form of a two-point Antoine curve.
Contaminants One or more of the following gas contaminants 3-61 SET
may also be defined: nitrogen, carbon dioxide,
or hydrogen sulfide.
Adjustment of You may adjust the properties that PIPEPHASE 3-62 ADJUST
Properties calculates from its built-in correlations so that
they more closely fit measured laboratory data.
Lift gas definition When you have a GLVALVE in the simulation, 3-62 LIFTGAS
you need to define the lift gas in terms of
Gravity and (optionally) contaminants.
Tabular data If laboratory data are available, you may input 3-63 TABULAR
them and override the PIPEPHASE internally 3-64 FVF
generated data. If you use tabular data, you must 3-64 SGOR
input all data: Formation Volume Factor, 3-65 VISCOSITY
Solution Gas Oil Ratio, Live Viscosity, and 3-65 GRAVITY
Gravity.
Gas Z-factor The method that PIPEPHASE uses to predict a 3-66 CORRELATION
non-compositional compressibility factor may
be defined.
Viscosity method You may define the method that PIPEPHASE 3-66 CORRELATION
uses to predict viscosities and blending rules.
Formation volume You may define the methods that PIPEPHASE 3-66 CORRELATION
factor and solution uses to calculate formation volume factor and
gas oil ratio solution gas oil ratio.
methods
To... See...
Build and use a You can have PIPEPHASE build the table and use 3-69 GENERATE
table it in the same run.
Retrieve a table Alternatively, you can have PIPEPHASE build the 3-16 CALCULATION
table, store it in a file, and then use it in a 3-69 GENERATE
subsequent run. PIPEPHASE will not build a table 3-74 FILE
for use in the same run while also storing it for a
subsequent run.
Compositional Sources
To specify... See...
Defined You must define the total flowrate and composition of 3-83 SOURCE
components the source stream. Components can be either from the 3-86 CSOURCE
PIPEPHASE component library or defined as
pseudocomponents.
Assay data A source fluid may be defined by an assay curve. You 3-83 SOURCE
can combine library components and/or petroleum 3-86 CSOURCE
pseudocomponents with an assay curve by supplying 3-94 LIGHTENDS
a lightend analysis.
Viscosity data To override the internally generated fluid viscosity 3-57 PVT
data, you may specify a viscosity curve in the PVT
data section.
Similar sources To reduce redundant data entry, you may refer to a 3-83 SOURCE
predefined source. Parameters may be specified to 3-86 CSOURCE
override the parameters that are different.
Non-compositional Sources
To specify... See...
Steam sources You must define the pressure and quality of a 3-83 SOURCE
saturated steam source. The temperature must be
specified only if the steam is superheated
(Quality=100%) or subcooled (Quality=0%).
Gas, liquid, One or more sets of fluid property data are defined in 3-83 SOURCE
blackoil or the PVT data section. You must assign a unique set 3-57 PVT
condensate sources number to each data set. Each source must be referred
to the appropriate data set number.
Well In-flow You may specify the IPR of a well source for a single 3-83 SOURCE
Performance link with gas, liquid, blackoil or condensate. You may 3-88 WTEST
enter values for the Vogel and Productivity Index
parameters. You may also supply well test data.Well
test data
Similar sources If one source is the same as or similar to another, you 3-83 SOURCE
may refer it to the other source. PIPEPHASE will
copy all the data from one source to the other. You
may then override the parameters that are different.
To specify... See...
Network solution There are two solution algorithms available for 3-39 SOLUTION
algorithm Networks. For the vast majority of networks, you
would use the default PBAL method. If your fluid is a
single-phase liquid or gas, you may find that the
MBAL method gives a faster solution.
To specify... See...
Automatic PBAL has a choice of methods. 3-39 SOLUTION
generation of By default, PBAL generates flowrate estimates by
initial estimates considering the diameters of the first pipe in each
link. An alternative method uses the frictional
resistances of the pipes in each link. A third
method solves the first iteration with MBAL
before going into PBAL.
Finally, if you have solved this network before and
just changed some of the conditions, you may
instruct the program to use your previous solution
as its initial estimate.
Single links
A single link has one source, one sink, and no junctions. There are
three variables:
1. The source flowrate (which is also the sink flowrate)
To specify... See...
Sources You must have only one source. 3-83 SOURCE
Sinks If the source pressure and rate are known, a sink need not be 3-97 SINK
defined. 3-83 SOURCE
Links Define the pipes, fittings, and equipment. Enter the link device 3- LINK
data in the sequence in which the fluid flows through them.You 100
can have any combination of pipes, fittings, and process
equipment items, in any order.
Networks
A network generally has more than one link and one or more
junctions. The variables are the pressure and flowrate at each source
and sink. You specify the values of the variables that are known,
and PIPEPHASE will calculate the unknowns. In order not to
under- or over-specify the system, simple rules must be followed in
constructing the problem:
➤ You must specify a number of knowns equal to the total
number of sources and sinks.
➤ You must specify at least one pressure.
➤ If any source or sink flowrate is an unknown, you must supply
an estimate.
➤ If you do not know a pressure at a source, sink, or junction, you
do not need to supply an estimate. You may specify estimates
to speed up convergence.
To specify... See...
Sources and You must have at least one source and at least one 3-83 SOURCE
sinks sink. 3-97 SINK
Junctions You must have a junction at the point where two or 3-99 JUNCTION
more links meet. If your network is complex, you
may help the convergence by supplying estimates
for the junction pressures.
Links You must supply a unique name for each link. If 3-100 LINK
your network is complex, you may speed up the
solution by supplying estimates for flowrates
through each link.
Fittings
Bend A standard mitred bend or non-standard bend with defined
angle and radius.
Check valve Device that allows flow in only one direction.
Choke valve Restricts fluid flow. MCHOKE, a variant of CHOKE,
introduces a discontinuity into a network which is solved
using a special sub-networking method. PIPEPHASE
calculates the choke size.
Contraction Reduction in diameter from larger to smaller pipe. Variable
angle.
Entrance Entrance into a pipe from a larger volume such as a vessel.
Exit Exit from a pipe to a larger volume such as a vessel.
Expansion Increase in diameter from smaller to larger pipe. Variable
angle.
Nozzle Flow restriction used in metering.
Orifice Orifice meter. Orifice plate can use thick or thin calculation
formula.
Tee Tee piece. Flow may be straight on or through the branch.
Valve Any type of valve, e.g., gate, globe, angle, ball, butterfly,
plug, cock.
Venturimeter Venturi flow meter.
Process Equipment
Compressor Simple single or multispeed gas compressor.
Multistage Rigorous single or multistage gas compressor with optional
Compressor inlet pressure calculation. Uses a special sub-networking
method. PIPEPHASE calculates the required horse power.
Cooler Removes heat from a stream.
DPDT Any device that changes pressure and/or temperature with
flowrate.
Expander Steam expander.
Gaslift Valve Well gaslift valve.
Heater Adds heat to a stream.
Injection Re-introduces a stream from a compositional separator back
into a link.
Unit Operations
Hydrates Predicts the temperature/pressure regime under which
hydrates are prone to form.
Calculator A utility that allows you to compute results from flowsheet
or network parameters. These results can then be used as
optimizer constraints or objective parameters.
To specify... See...
Pipe sizing You may ask for all flow devices to be sized or just 3-172 DEVICE
selected ones. 3-172 LINE
You may supply a set of maximum velocities and a 3-173 MAXV
corresponding set of diameters or slip densities.
To specify... See...
Pressure drop Choose a method that is appropriate to the type of 3-18 FCODE
method fluid and piping topology you have. If you do not
choose a method, PIPEPHASE will use Beggs &
Brill-Moody for compositional, blackoil, condensate,
or steam and Moody for non-compositional fluids.
You may choose a different method for an individual 3-104 PIPE
device. 3-106 RISER
If you do not choose a method for a device, 3-108 ANNULUS
PIPEPHASE will use the method you selected 3-110 TUBING
globally. 3-18 FCODE
1. In general, this method is recommended because it performs reasonably well for the widest range of
flow conditions.
2. This method is recommended for pipelines with low liquid holdup in hilly terrain.
3. These non-standard hybrid models should be used only after matching measured data.
4. These models are available as add-ons through your SIMSCI representative
5. All these correlations were developed for circular flow cross-section. These correlations are used for
Annulus flow using the wetted perimeter-hydraulic radius concept in place of the radius of the circular
cross section.
To specify... See...
Inside diameter If the majority of your flow devices have the same 3-21 DEFAULT
and roughness inside diameter, you can specify a global inside 3-104 PIPE
diameter at the start of the simulation. Then you 3-106 RISER
can override this value for those devices which do 3-108 ANNULUS
not conform to the default. Roughness can be 3-110 TUBING
specified also as a global parameter or for each
device.
Inclined pipes You can specify an elevation change or depth for 3-104 PIPE
each device If the elevation change equals the 3-106 RISER
length, the device is vertical. If you do not specify 3-108 ANNULUS
an elevation change, PIPEPHASE assumes that 3-110 TUBING
pipes are horizontal and that risers, annuli, and
tubings are vertical.
Acceleration You may instruct PIPEPHASE to ignore the 3-16 CALCULATION
terms acceleration term in pressure drop calculations, if
desired.
To specify See...
nominal
diameter and
schedule for...
All devices as a You may supply a nominal diameter and schedule 3-21 DEFAULT
global value that will be used for all the fittings in this table,
unless overridden by data in the input to the fitting
itself.
Your pipes and You may create a database of nominal diameters 3-21 DEFAULT
fittings and pipe schedules and have PIPEPHASE use it
instead of its own internal database
Pipe You may supply a nominal diameter and schedule. 3-104 PIPE
Riser You may supply a nominal diameter and schedule. 3-107 RISER
Tubing You may supply a nominal diameter and schedule. 3-110 TUBING
Bend You may supply a nominal diameter and schedule. 3-142 BEND
Entrance You may supply a nominal diameter and schedule 3-148 ENTRANCE
for the downstream pipe.
Exit You may supply a nominal diameter and schedule 3-149 EXIT
for the upstream pipe.
Nozzle You may supply a nominal diameter and schedule 3-151 NOZZLE
for the upstream pipe.
Orifice You may supply a nominal diameter and schedule 3-152 ORIFICE
for the upstream pipe.
Tee You may supply a nominal diameter and schedule 3-153 TEE
for the upstream pipe.
Valve You may supply a nominal diameter and schedule 3-154 VALVE
for the upstream pipe.
Venturi You may supply a nominal diameter and schedule 3-156 VENTURI
for the upstream pipe.
Contraction You may supply a nominal diameter and schedule 3-147 CONTRACTION
for the inlet and outlet pipes.
Expansion You may supply a nominal diameter and schedule 3-150 EXPANSION
for the inlet and outlet pipes.
To specify... See...
Completion You may define a completion as being gravel packed 3-116 COMPLETION
(Jones) or open perforated (McLeod).
Dual You may model dual completions, both concentric and 3-116 Dual
Completion parallel. Completions
Equipment Items
PIPEPHASE simulates the change in fluid conditions across items
of process equipment that typically appears in pipeline systems.
To specify... See...
Compressor A compressor imparts work to a gas. You supply 3-117 COMPRESSOR
either a known power or a known outlet pressure, and
PIPEPHASE calculates the unknown parameter. You
may impose a maximum value on the unknown
parameter, and PIPEPHASE will constrain the
calculations according to whichever parameter is
limiting. Alternatively, you can supply a curve of
flowrate against head. You may also supply an
adiabatic efficiency as either a constant or a curve
against head. The exit temperature is then determined
by energy balance. If you specify more than one
stage, PIPEPHASE interprets the curve to be for each
stage; any maximum power you specify is over all of
the stages rather than for each individual stage. You
can also reference the compressor curve to a
previously defined performance curve.
Multispeed You can specify different compressor curves for up to 3-117 COMPRESSOR
Compressor five compressor speeds.
Multistage In a multistage compressor you may specify different 3-119 MCOMPRESSOR
Compressor parameters curves, efficiencies, etc. for different
stages. You may have multiple compressor trains,
each train with multiple stages. You may have
interstage scrubbers with downstream re-injection and
interstage coolers and piping losses. You may specify
the compressors inlet pressure. When you do this,
PIPEPHASE invokes a special algorithm which
breaks the flowsheet at the compressor inlet, and
solves the resulting subnetworks so that the pressures
match at the interface. PIPEPHASE calculates the
compressor power that is required for the pressures to
match.
Gaslift Analysis
Gaslift analysis is used to investigate the effects of lift gas on well
production. Gaslift can be used with blackoil wells where the oil
production is upward through the well tubing and the lift gas is
injected downward through the well casing.
To specify... See...
Calculation type You must specify that you want to do a gaslift 3-16 CALC
simulation.
Fluid Properties You must specify the fluid properties of the Blackoil. 3-57 SET
You must specify the fluid properties of the lift gas. 3-62 LIFTGAS
Sphering or Pigging
PIPEPHASE’s sphering calculations predict the quantity of liquid
formed when a multiphase fluid flows in a pipeline and determine
the size of the liquid slug that is pushed out when the pipe is pigged.
Sphering calculations can be carried out for single links. The
launching station is at the inlet of a pipe. You may have
intermediate launching stations; a sphere is launched from a pipe
when the previous sphere(s) reach the inlet of that pipe.
To specify... See...
Calculation type You must specify that you want to do a 3-16 CALCULATION
sphering simulation.
Fluid type The fluid must be compositional and both gas 3-16 CALCULATION
and liquid should be present to obtain realistic
results.
Time Increments You may override the default time step used in 3-24 SEGMENT
the McDonald-Baker successive steady-state
calculation method.
Structure Data You may have only PIPE devices. You identify 3-104 PIPE
a pipe with a launching station by specifying a
sphere diameter on the PIPE statement. The
first launching station must be in the first pipe
of the link.
To specify... See...
Type of model You may select from five standard models. You may write your 3-125 IPR
own subroutine and use it to model the inflow performance
relationship.
Reservoir curves You may enter tables of reservoir pressure, cumulative 3-125 IPR
production, Gas-Oil Ratio, Condensate-Gas Ratio, Water Cut,
and Water-Gas ratio. These are used in Time-stepping to
simulate reservoir decline with time.
Multiple reservoirs You can have multiple reservoirs in one network. One reservoir 3-125 IPR
and multiple wells can serve several wells.
Automatic You may automatically create a subsurface network for a well 3-125 IPR
subsurface with multiple sources. PIPEPHASE solves these using a finite
networks difference solution method. This is a quicker but less rigorous
method of creating a subsurface network. Refer to Subsurface
Networks and Multiple Completion Modeling later in this
chapter for further details.
IPR curves You may enter curves that correlate reservoir pressure or 3-125 IPR
cumulative production with flowing bottomhole pressure and
flowrate. These data are then regressed onto one of the standard
models.
Pseudo-pressure For an IPR with a gas basis, you may specify a drawdown 3-125 IPR
formulation formulation.
Time Changes
The changes supported are similar to the Case Study.
To specify... See...
Selecting times Supply a series of times. PIPEPHASE will carry out 3-125 IPR
simulations at each of those times.
Downstream At each time you may specify one or more changes to 3-125 IPR
network changes the network or conditions downstream of the well.
Reservoir Depletion
The depletion of a reservoir over the life of a field is characterized
by a decline in average reservoir pressure and changing fluid
composition. For most reservoirs, the gas-oil ratio increases with
time; for a reservoir with an active water drive, the produced water
cut increases as the water table creeps up.
Facilities Planning
In a gathering system, changes to the operation of surface facilities
directly affect the overall production. For example, adding
compression facilities to an existing gas gathering network reduces
the pressure at the upstream wells, which in turn increases the
drawdown and results in improved production from the reservoir;
an increase in the separator pressure will have the opposite effect.
Time-stepping enables you to simulate changes to the facilities
installation over time.
Ground Level
Tubing
IPR
Reservoir
Figure 2-4: Or a single well can produce from more than one reservoir:
To specify... See...
A source for each reservoir to give the properties, 3-83 SOURCE
flowrates, and conditions of the fluids.
An IPR for each reservoir to define the interfaces. 3-125 IPR
A tubing between consecutive reservoirs. 3-110 TUBING
A tubing from the last reservoir to the surface. 3-110 TUBING
A node to continue into the rest of the network. 3-99 JUNCTION
3-97 SINK
Ground Level
Tubing
IPR
Subsurface junction Reservoir
Tubing
IPR
Reservoir
Ground Level
Tubing
Reservoir
IPR1 IPR2 IPR3
Subsurface junctions
Ground Level
Tubing
Length of well
Case Studies
The CASE STUDY option provides the facility to perform
parametric studies and to print multiple problem solutions in a
single computer run. Case studies are always performed after the
base case problem has been solved. If the base case problem cannot
be solved for any reason, then no case studies are performed. Each
case study analysis is performed based on the cumulative changes
to the flowsheet up to that time.
Case studies are an efficient means of obtaining solutions for
multiple scenarios to a given problem and result in large savings in
both computer time and cost. For problems requiring iterative
solutions, the converged results of the last solution are used as the
starting values for the next run. This can result in large computer
time savings in runs involving large networks, where it typically
takes several iterations to move from the initial pressure estimates
to the final converged solution.
There is no limit on the number of CHANGE statements per case
study or on the total number of case studies that may be in a given
run. The cumulative changes up to a given case study run may be
erased and the original base case restored at any time.
Since the case studies are performed sequentially in the order you
input, it is best to make changes in an orderly manner, proceeding
from high values to low values or low values to high values, but not
in a random order. This enhances convergence and minimizes total
computer time.
Individual Changes
Source, sink, and device parameters may be changed individually.
You must specify a name for each source, sink, or device where a
parameter change is desired.
To... See...
Add descriptive You can add one line of description for each case 3-177 DESCRIPTION
text study.
Make changes You can change any of the parameters in Table 2-6, 3-177 PARAMETER
either globally or on individual flow elements.
You can restore the base case at any time. 3-177 RESTORE
Nodal Analysis
Nodal (Sensitivity) Analysis allows you to study the overall
performance of wells, pipelines and other single link systems as a
function of input parameters and flowrates. The results are
summarized in tabular and graphical form. You can also study
combinations of inflow and outflow parameters using the multiple
combination nodal analysis option.
Nodal Analysis is performed on a single link.
Sensitivity Results
PIPEPHASE calculates the flowrates and Solution Node pressures
corresponding to each operating point and prints them out in the
form of tables and plots. The flowrates you input must span all the
flowrates at which you expect the operating points to occur.
Grouping Parameters
As an extension to the Nodal Analysis feature, PIPEPHASE allows
you to group a number of variables into one nodal parameter. For
example, you may define an Outflow parameter as a combination of
pump power, pipe ID and heater temperature. Each of the five
values of the Outflow parameter would now be a combination of the
corresponding values of each of the contributing variables.
Thus you might define that the first value of the Outflow parameter
is the combination of 25KW pump power with 30 mm pipe ID and
400 K; the second 30KW, 40 mm and 310 K; the third 35KW, 50
mm and 350 K; and so on.
To... See...
Add descriptive You can add one line of description for each of the 3-198 DESCRIPTION
text Inflow and Outflow sections.
The following table lists the variables that are available for nodal
analysis.
Table 2-6: Variables Available to Nodal Analysis
Category Device Variable
Category 1 - Source SOURCE NAME
PRESSURE
COEFFICIENT
EXP
PI
VOGEL
Category 2 - Sink SINK NAME
PRES
II
COEFF
EXP
Category 3 - Devices PIPE NAME
ID
ROUGHNESS
U
FLOWEFF
RISER NAME
ID
ROUGHNESS
U
FLOWEFF
TUBING NAME
ID
ROUGHNESS
U
FLOWEFF
Categories of Input
The data required by PIPEPHASE are input to the program in eight
main categories.
Unit Operations Define the unit operations (e.g., the hydrates unit)
Category included in the simulation.
Those categories which are mandatory and those which are optional
depend on which fluid type you have:
Table 3-1: Categories of Input
Fluid Type Mandatory Categories Optional Categories
Non-compositional GENERAL, PVT, NETWORK
STRUCTURE
Compositional GENERAL, PVT, NETWORK,
COMPONENT, UNIT OPERATIONS
THERMODYNAMIC,
STRUCTURE
Order of Categories
The only restriction on order of data input is that the General Data
Category must be first. However, it is always good practice to
maintain a consistent order. The order of the categories above,
which is followed in this chapter, is recommended.
Keywords
PIPEPHASEs primary mode for entering input is in the form of
keyword-controlled, free format statements. The keyword entries
on a statement are separated by commas. For example:
PIPE ID=1.25, LENGTH=25, ROUGHNESS=0.002
For ease of interpretation, each keyword is an engineering word. To
make the input easier to enter, any keyword with more than four
characters can be truncated to a minimum of four characters.
Keywords with fewer than four characters may not be lengthened.
For example:
The keyword LENGTH may be written LENG.
The keyword ROUGHNESS may be written ROUGH.
The keyword ID cannot be written IDIA.
Keywords can stand alone, indicating that they are acting as a
switch, or they can be associated with a value or another keyword
by the use of an equals sign (=). This value can be entered in
integer, decimal, or scientific format. For example:
Qualifiers
Many keywords can be qualified by entering a keyword in brackets
(parentheses) after them. The most common use of a qualifier is for
defining a unit of measurement to override the set of units declared
globally in the General Data Category of input. Other qualifiers
include the definition of estimates, maxima and minima, fluid type
and basis of a composition or flowrate. Some qualifiers are optional
and some are mandatory. You may use more than one qualifier for a
keyword and the order in which they appear is not important.
The input instructions explain which qualifiers are available for
each keyword. Examples are:
Commenting Input
For clarity, you may add comments to your input. If a dollar sign ($)
is placed in a statement, any text on that statement that appears after
the $ is ignored by PIPEPHASE. For example:
PRES(BAR)=3.54 $ Field data, taken 2315 10/16/94
Units of Measurement
Many items of data that you input to PIPEPHASE have a unit of
measurement associated with them. Most have alternatives: for
example, length can be measured in feet, meters, miles, or
kilometers and temperature in oF, oC, oR, or K. It is possible to
specify the unit of measurement individually for every item of data.
However, to avoid having to do this, you may define the units that
are to be used for each quantity - temperature, duty, power etc. -
throughout the whole simulation input. This is done on the
Basis of Measurements
With some quantities for example flow and composition you can
also choose a basis of measurement. The basis may be molar
weight, liquid volume, or gas volume and you may use a qualifier to
define it. If you also specify a dimensional unit for the quantity, the
unit must be appropriate to the basis. You cannot, for example,
specify pounds per hour for a liquid volume flowrate. A valid
example would be:
RATE(GV,CFM)=1.E-3
where the value specified, RATE keyword and the qualifiers GV
and CFM combine to mean the gas volume rate has a value of 0.001
millions of standard cubic feet per minute.
The input instructions explain which bases are allowed. If a basis is
specified but no unit of measurement is entered, PIPEPHASE will
assume the unit to be the default appropriate to the basis which you
defined.
Continuing Statements
An input statement may be too long to fit on one line. In this case, it
may be continued onto a second line or further by using the
ampersand continuation character, &.
DIMENSION SI, LENGTH=FT, TEMP=C
is the same as
DIMENSION SI, LENGTH=FT, &
TEMP=C
Layout of Input
You may indent any line of input to make the data more readable
and you may have any number of spaces between data entries. For
example:
DIMENSION SI, LENGTH=FT, &
TEMP=C
is equivalent to
DIMENSION SI , LENGTH = FT, &
TEMP= C
However, you may not embed any blanks within your keywords or
data entries.
Example:
TITLE PROJ=TEST1, PROB=FEED, USER=TECH DEPT, DATE=7/5/94
Example:
DESC THIS SIMULATION IS A GASLIFT OPTIMIZATION STUDY ON
DESC WELL #321s
DIMENSION Optional statement. Defines the units of measurement for each data item in the
input. Select a set of units and/or override individual units. If you omit this
statement, units will default to those in the PETROLEUM set. Table 3-3 and Table
3-4 define the Primary and Secondary Units of Measurement in each standard set
and other permitted units that can be used with this statement. You can also use
these units for specific data items by using qualifiers.
Mandatory entries: None.
Optional entries:
Example:
DIME SI, LENGTH=KM,IN, VISC=CP, DENS=SPGR, RATE(GV)=CF
Optional entries:
Example:
CALC NETWORK, COMPOSITIONAL(GAS) $to specify a network
compositional gas run
CALC NETWORK, COMPOSITIONAL(BLACK) $to specify a network
compositional blackoil run
Example:
FCODE PIPE=BBM, PALMER=0.9,0.7, TUBING=HB, PALMER=1.0, 0.
Example:
DEFAULT AIR, TAMB=40, VELOCITY=30, THKINS=4
DEFAULT AIR, COND=0.01, VISC=0.018, VELOCITY=8, WATER,&
COND=0.34, VELOCITY=5
Note: Under the FAST and AUTO options the user has complete control of the
segmentation options PSEG, TSEG, PTOL, HTOL, ITER and MAXS.
Example:
SEGM DLHOR=50, MAXSEGS=10
Example:
LIMITS PRES(MIN)=5
OUTDIMENSION Optional statement. The normal output is produced in the same units of
measurement as those defined in the DIMENSION statement. The
OUTDIMENSION statement requests a second set of output and defines the units
of measurement for it. Select a predefined set of units and/or override individual
units. See Table 3-3 and Table 3-4 for the definition of units in each predefined set
and other units which can be specified for each data item. If this statement is
omitted, a second set of output will not be generated.
Mandatory entries: None.
Optional entries:
Example:
OUTDIME METRIC, VISC=PAS, DENS=API, RATE(M)=LBHR
LIBID Optional statement. Identifies the components whose properties are to be taken
from the SIMSCI databank.
Mandatory entries:
number, name{, , alias} / ... For each component, its number in the component
list for this simulation followed by its library name
(not the full name). Separate one components entry
from the next using the / character.
Select components from the list in Chapter 1 of the
SIMSCI Component and Thermodynamic Data
Input Manual.) For convenience, some components
have more than one allowable name.
Optionally, you may also enter an alias (up to 16
characters) for a component, which will be used in
the output reports. If you enter an alias, you must
have two commas before it.
You may enter the components in any order but
there must be no gaps in the component number
sequence and each component number must be
used only once. This rule applies to all defined
components, including Petroleum
pseudocomponents entered using the
PETROLEUM statement below, but does not apply
to petroleum fractions generated by the program
from ASTM curves.
Optional entries: (For details, refer to Chapter 1, SIMSCI
Component Data Input Reference, in the SIMSCI
Component and Thermodynamic Data Input
Manual.)
BANK Selects order of component databanks which are
searched for pure components. The entries allowed
are SIMSCI or PROCESS.
FILL Specifies that SIMSCI property prediction methods
be used for components missing library or user-
supplied data.
Examples:
LIBID 1, C1/2, C2/3, C3
LIBID 1, C1,, METHANE/3, C3/2, ETHN,, PURE ETHANE
number, name, MW, std You may supply a name of up to 16 characters for
liquid density, NBP/... each component. The name is used in the output
reports. You must supply at least two of the three
quantities: molecular weight, gravity and normal
boiling point. The remaining value is calculated.
You may use qualifiers to define units of
measurement for gravity and/or normal boiling
point.
The number must follow the rules described above
under LIBID.
If a name is not given, PIPEPHASE will assign a
name based on the normal boiling point.
If you omit any data item, you must retain the
embedded comma.
Example:
PETRO 5, CUT11, 91,64,180/6, CUT12,100,,210/ &
7, CUT13,120,55,280/8, CUT14,150,,370/ &
9, CUT15,200,40,495/10, CUT16,245,,590/ &
11, CUT17,300,30,687/12, CUT18,360,,770
ASSAY Optional statement. Used to specify the method by which PIPEPHASE calculates
the properties of defined pseudocomponents or those generated from assay data.
Mandatory entries:
Example:
ASSAY CHAR = SIMSCI, MW = CAVETT, GRAV = WATSONK
CUTPOINTS Optional statement. Used to define the TBP cut points for components defined by
assay curve.
Mandatory entries:
Examples:
CUTPOINTS TBPCUTS(F)=100,800,20/ 1000, 10/ 1200,8
CUTPOINTS TBPCUTS(F)=100,1200,38
Example:
STDD(LBFT3) 4,45/7,50
Example:
Optional entries:
Tabular form:
Mandatory entries:
Examples:
DENSITY(L,C,LBFT3) TABULAR = 60, 80, 100/1,55.5,43.7/2, &
45.8,,40.2
ENTHALPY(I,C,KCAL/KG,M) TABULAR=100,140,180/1,700000, &
825000,910000/ &
2,410000, ,470000
VP(C,MMHG) CORR=21, LN, DATA= 1,,, 14.321, -1068, 60.3/ &
2,,, 16.15, -1372, 1.7
SOLUTION Optional statement. Selects the solution method and sets switches for the
convergence of a network. If you omit this statement, the PBALANCE method
will be used with the defaults shown below. See Chapter 6 for details of the
application of these parameters.
Mandatory entries: None
Optional Entries:
Example:
SOLUTION PBAL, MAXITER=30, FLOWALLOC=2, PRELIM=2, FINAL=2, &
SUBITER=100, RELAX=0.5, DAMP=0.5, EXPLICIT, NOFR, QDAMP=10, &
PDAMP=0.5, HALVINGS=4, NOLOOP, CHECK, CHOKE=2
Example:
TOLERANCE PTOL = .0003, QTOL = 2, TTOL = .0005
Optional Entries:
Example:
ACCELERATION INTERPOLATION, NPRESS = 10, NTEMP = 10, &
PMIN = 1, PMAX = 100, TMIN = 10, TMAX = 500, STOP, &
ISOTHERMAL = 2
METHOD Optional statement. Defines the methods to be used for calculating thermodynamic
properties and transport properties of the flowing fluid. Choose systems with
predefined methods for all properties or choose individual methods for each
property.
Optional Entries:
If you want to specify a different method for different phases, you may have more
than one KVALUE entry. However it is done, whether with SYSTEM or KVALUE
or a combination, you must include all phases present in the simulation.
For ENTHALPY and DENSITY you must specify methods for both vapor and
liquid either by specifying a method for VL or a method for V and a method for L.
Examples:
METHOD SYSTEM=SRK, TRANS=HCMIX, SET=MYSET1
METHOD KVALUE=SRK, ENTHALPY=SRK, DENS(L)=API, DENS(V)=SRK, &
VISC(V)=PETRO, VISC(L)= PURE, COND=PETRO, SURFACE=PURE,&
DEFAULT, SET=MYSET2
METHOD SYSTEM=SRK, KVALUE(LLE)= NRTL, KVALUE(SLE) = VANTHOFF
Optional Entries:
Example:
WATER DECANT=ON, GPSA, SOLU=KERO, PROP=STEAM
Example:
BWRS 2,3,0.055/3,4,0.008
PR Optional statements. Define the interaction parameters for the Peng-Robinson and
SRK Soave-Redlich-Kwong equation of state.
Mandatory entries:
i, j, kija, kijb, kijc / ... Enter component pair numbers followed by the
numerical value of the binary interaction
coefficients for the pair. Multiple entries are
separated by the “/” character.
Example:
PR 2,3,0.001, 0.054, 3.8/3,4,0.0089, 0.0006, 0.5601
SET Mandatory statement. The entries on this statement depend on the fluid type.
Optional entries:
Example:
SET SETNO=1, GRAVITY(LIQUID,LBFT3)=49.7, CP(KCKGC)=0.525,&
VISCOSITY(C,CP)=0,0.395/50,0.246
Example:
SET SETNO=1, GRAVITY(GAS)=1.04, CPRATIO=1.45, CONT=0,0,0.2
Optional entries:
Example:
SET SETNO=1, GRAVITY(WATER,LBFT3)=66
Optional entries:
Example:
SET SETNO=1, VISCOSITY(OIL,CP,F)=100,2.6/200,0.8
Optional entries:
Optional entry:
Mandatory entries:
Optional entries:
ADJUST Optional statement. Used for blackoil only. This statement must immediately
(for Blackoil only) follow the SET statement. The measured laboratory data on this statement adjusts
the properties computed by the Standing correlation. You must specify
STANDING for all properties on the CORRELATION statement. More than one
ADJUST statement is allowed per run.
Example:
ADJUST TRESERVOIR(F)=160, VISCOSITY(CP)=2.1, COMPRESS=8E-6, &
PRESSURE(PSIG)=1400,1000,400, FVF=1.23,1.21,1.17,&
SGOR=449,297,191
LIFTGAS Optional statement. Used for blackoil only. Defines lift gas properties when the
(for Blackoil only) GASLIFT calculation option is used or when a GLVALVE is present in a link.
Note: Also applies to blackoil sources in the compositional blackoil model.
Mandatory entries:
Example:
LIFTGAS GRAVITY=0.75, CONTAMINANTS=1.5, 0.0, 0.25
TABULAR Optional statement. Used for blackoil only. Supplies the temperature and pressure
(for Blackoil only) coordinates for the FVF, SGOR, VISCOSITY and GRAVITY statements that
follow. The data supplied on these statements override those calculated by the
program.
Mandatory entries:
FVF Mandatory when TABULAR statement is used. Supplies Formation Volume Factor
(for Blackoil only) data for the matrix of temperatures and pressures on the TABULAR statement.
This statement must follow the TABULAR statement. The data supplied on this
statement override those calculated by the program.
SGOR() Mandatory when TABULAR statement is used. Supplies Solution Gas Oil Ratio
(for Blackoil only) data for the matrix of temperatures and pressures on the TABULAR statement.
This statement must follow the TABULAR statement. The data supplied on this
statement override those calculated by the program.
GRAVITY() Optional. Used only with TABULAR statement. One or two statements, with OIL
(for Blackoil only) and/or GAS qualifier, supply oil and/or gas gravities data for the matrix of
temperatures and pressures on the TABULAR statement. These statements must
follow the TABULAR statement. The data supplied on these statements override
those calculated by the program.
Example:
GRAVITY(OIL,LBFT3) DATA= .....
Example:
CORR VISCOSITY (LIQ)=USER, CONSTANTS = AA1, 3.383 /CC4, 34.5/…
CORRELATION VISCOSITY(GAS)=KATZ, ZFACTOR=DRY
Table 3-24: Labels and Default Values used for User Defined Correlation
Labels Default Labels Default
Values Values
CUT1 0.006 CC1 1.562
CUT2 0.74 CC2 2.7183
C1 7.1546 CC3 -0.03702
C2 2.7885 CC4 35.0
C3 0.6 CC5 2.7183
C4 7.2799 CC6 3.5
C5 2.8447 CC7 35.0
C6 0.6 AA2 3.3811
C7 7.2244 CC8 0.3892
C8 2.8506 CC9 2.7183
C9 0.6 CC10 -0.02237
C10 1.0 CC11 50.0
C11 2.8461 CC12 2.7183
C12 2.7183 CC13 3.5
C13 7.0 CC14 1.0073
AA1 3.3811 CC15 35.0
DIMENSION This statement specifies the maximum number of tables and table size to be used
for the problem.
Keyword MAXDIM=label,number/ label,number/……
Optional entry. System defaults available. Must occur before the first GENERATE
statement.
Specifies the maximum number and dimensions of the Type 2 , blackoil tables -
The number of tables (TABL label), the number of pressures (PRES label), the
number of temperatures (TEMP label), and the number of variables (VARI label).
Labels: TABL, PRES,TEMP, VARI
Label Description
TABL Number of tables. Minimum and Default is 10
PRES Number of pressures. Minimum and Default is 30,
Maximum is 150
TEMP Number of temperatures. Minimum and Default is
30, Maximum is 150
VARI Number of variables. Minimum and Default is 6.
Maximum is 18
Example:
DIMENSIONS MAXDIM=TABL,20/PRES,50/TEMP,10/VARI,
GENERATE Optional statement. Used only for compositional fluids. Causes a table of fluid
(for properties to be created. This table can be used in the same run in which it is
generated or stored for use in a future run. You cannot do both.
Compositional)
If you want to create and use the table in this run, you may have only one source
and you must have a complete Structure Data Category of input. If the table is to be
stored for use in a subsequent simulation, you must use the PVTGEN entry on the
CALCULATION statement in the General Data Category of input. You can create
more than one table but the only Structure statements allowed are those required to
define a source. Refer to your platform Installation Guide for assistance on file
management procedures for your operating system and computer hardware.
Mandatory entries:
Example:
GENERATE SOURCE=FEED, SETNO=1, TEMP=0,DT=30, NT=16,&
PRES=10,50,90,130,150, PRINT=LDEN,LVIS,LFRAC, PLOT=FULL
GENERATE (for Optional statement. Used for Blackoil. Causes a table of fluid properties to be
Blackoil) created. This table can be used in the same run in which it is generated or stored for
use in a future run. . Multiple black-oil GENERATE statements are allowed, one
for each PVT set. Stream mixing of blackoil tables are automatically done when
needed for network calculations. You cannot do both.o.quid and Gas. Specifies the
correlation for the viscosity calculations. Select an option from Table 3-23
pproperty. You must use a qualifier to indicate whether the phase is LIQ, GAS or
OIL. The default depends on the phase and the fluid. With Blackoil, use
VISCOSITY(LIQ) to define the water-oil mixing rule.
If you want to create and use the table in this run, you may have only one source
and you must have a complete Structure Data Category of input. If the table is to be
stored for use in a subsequent simulation, you must use the PVTGEN entry on the
CALCULATION statement in the General Data Category of input. You can create
more than one table but the only Structure statements allowed are those required to
define a source. Refer to your platform Installation Guide for assistance on file
management procedures for your operating system and computer hardware.
SETNO= If you are saving tables for a future run, this entry
refers to the table number and is used on the FILE
statement in the future run. If you are not saving
the table, this entry must be the same as the set
number on the SOURCE statement.
TEMPERATURE()=100, Use these entries to define the temperatures at
DT()=10, which the properties are to be calculated. The
NT=6 format is:
TEMP=initial value,DT=increment,NT=number of
values
You must define at least three and not more than
twenty data points.
PRESSURE()=14.7, Use these entries to define the pressures at which
DP()=20, the properties are to be calculated. The format is:
NP=6 PRES=initial value,DP=increment,NP=number of
values
GOR()= The formation GOR for which the PVT table is to
be generated.
Optional entries:
Example:
GENERATE SOURCE=FEED, SETNO=1, TEMP=250, 50,&
PRES=4000,1000,4, GOR=1236, PLOT=FULL
New keywords for new functionality in the GENERATE statement for TYPE=2
tables.:
Optional entries:
The PVT file will be always be generated in the same directory as the output file.
CO Oil Compressibility
PRVEC keyword allows the user to specify additional property tables in addition to
the default set.
Table 3-27: Additional properties - Valid labels
FVFW Water formation Volume factor
ZFAC Gas compressibility
Example:
GENERATE SETNO=4, PVTFILE=TEST_PVTGB2_SET4, TYPE=2,*
TVEC=70,75,80,85,90,95,100,105,110,115,120,125,130, *
PVEC=500,750,1000,1250,1500,1750,2000,2250,2500,2750,3000,3250,3500,3750,*
PRVEC=VISW,1/CPO,1
This specification will generate a table with the following 6 mandatory properties
and 2 optional (total 8) properties:
FILE Optional statement. Allows you to retrieve data which have been generated in a
previous run. You may select only one table from a previous run (i.e., only one
source composition). When this statement is used, it is the only statement in the
PVT Data Category of input. Refer to your platform Installation Guide for
Optional entry:
Example:
FILE SETNO=2, PVTFILE=SET01
FILE (for Optional statement. Each FILE statement allows the simulation to retrieve and
use a pre-generated PVT file
Blackoil)
SETNO= The PVT set number. For Type=1 pvt table the set
number must match the set number in the type 1,
PVT file.
PVTFILE = The name of the PVT table file. If file cannot
be found an error message will be printed and the
program will stop.
Example:
GENERATE SETN=1,TYPE=2,PVEC(PSIA)=10,14.7,100,200,300,Ö..,
TVEC(F)=50,60,70,Ö.
$
SET SETN=2, GRAV(OIL,API)=25, GRAV(GAS,SPGR)=0.6, *
GRAV(WATER)=1.03, FVF=VAZQUEZ, SGOR=VAZQUEZ
System Nodes
SOURCE Mandatory statement. Defines a point where fluid enters the system. There may be
more than one source in a simulation. The data required depends upon the fluid
type. A source may be defined explicitly by giving all its properties, or you may
instruct PIPEPHASE that any property not given should be copied from another
source.
Mandatory entries for all fluids:
Examples:
SOURCE NAME=FEED, SETNO=1, PRES=0, TEMP(C)=40, RATE=100
SOURCE NAME=13, PRESS=125, TEMP=136, RATE(W)=2000,&
COMP=0.8/0.1/0.05/0.05
Example:
CSOURC NAME=1,RATE=100,TEMP=140,PRES(ESTI)=100, &
COMP=20/40/40,NOCHECK, SETNO=2
NAME=2,RATE=100,TEMP=100,PRES=89,REFSOURCE=2,SETNO=2
WTEST Optional statement. Defines the Inflow Performance Relationship of a well from
measured data. This statement may be used only in a SINGLE link calculation. It
must follow immediately after the SOURCE statement to which it refers.
This statement is used with Blackoil, Condensate, Liquid or Gas. The data required
depends upon the fluid type.
Mandatory entries for all fluids:
Distillation Data This statement is necessary only if Assay curve is used. One of the following
statements must appear immediately after the corresponding SOURCE statement
and prior to the next SOURCE statement or THERMO statement. It supplies the
distillation data for the fluid portion of the stream. Solids are not considered in the
distillation data. The DATA entry is required; all other entries are optional.
One of these statements must follow the distillation data statement after the
SOURCE statement. These statements offer alternative forms for defining the
liquid density of the assay at 60oF (15.5oC). The AVERAGE entry is required; all
other entries are optional. When the DATA entry is not supplied, PIPEPHASE
generates a gravity curve based on the distillation data and the average gravity
value.
If this statement is used, the DATA entry must appear, but the AVERAGE and
STREAM entries always are optional. If the MW statement is not given,
PIPEPHASE estimates the molecular weights for all assay cuts, using the method
chosen by the MW entry on the ASSAY statement, in the Component Data
Category of input.
DATA The data entry must define at least three points that
appear in the order of ascending weight
percentages. An unlimited number of points may
be supplied.
pct Mid-volume percent or mid-weight percent
of the data point.
value The gravity or Watson characterization
value of the point associated with the pct
argument.
AVERAGE Optionally, this defines the average molecular
weight of the fluid portion of the stream. Solid
components are ignored. If AVERAGE is given,
PIPEPHASE normalizes or extrapolates the
molecular weight curve, as required to satisfy the
average molecular weight of the stream. If omitted,
PIPEPHASE uses quadratic extrapolation of the
molecular weight curve, as needed, to compute an
average molecular weight.
STREAM Stream label. It is optional, but when used, must
agree with the stream label declared on the
SOURCE statement, or an input error occurs.
In the following figure, point a is the midpoint volume percent of the highest
boiling pure component. This cumulative percentage point is adjusted to intercept
the TBP curve. Point b is the volume percent of the total lightends.
Examples:
Composition and rate given:
LIGHTEND STREAM=1, COMP=1./2./3./4.0, RATE= 10.0
Composition given and rate defined as a fraction or percent of the RATE entry
given on the SOURCE statement:
LIGHT STREAM=1, COMP(WT)= 0.1/0.2/0.3/0.4, FRAC(V)= 0.02
LIGHT STREAM=1, COMP= 10./ 20./ 30./ 40., PERCENT= 2.0
Match lightend flowrate to intercept the TBP curve:
LIGHTEND STREAM=1, COMP= 1.0 / 2.0 / 3.0 / 4.0, MATCH
COMP entries as actual flowing values:
LIGHTEND STREAM= 1, COMP(V)= 1.0/2.0/3.0/4.0
Stream Label
1 2 V6
Assay basis LV LV ASTM D1160 WT TBP
Distillation type ASTM D86
IBP 100 310 201
10% 210 360 --
30% 240 385 370
50% 260 410 390
70% 275 560 --
90% 290 -- 450
EP 310 -- --
Gravity type API Watson K SpGr
Stream average 60 12.5 0.76
Mid % 25 -- -- 0.31
37 -- -- 0.42
52 -- -- 0.65
Lightends
Total flow 50 moles -- 11% by weight
Comp. no. __ 8 12 31 42 7
1 2 --
2 10 --
3 28 --
4 7 --
5 3 --
Thermal
conditions
PROPERTY
STREAM= 1, TEMP= 150.0, PRES= 50.0, &
RATE(LV)= 1200.0, PHASE= L, ASSAY= LV
D86
STREAM= 1, DATA= 0.0, 100./ 10., 210./ &
30., 240./ 50., 260./ 70., 275./ 90., 290./ 100., 310.
API
AVERAGE= 60.0, STREAM= 1
LIGHTENDS
STREAM= 1, RATE= 50.0, &
COMPOSITION= 1, 2./ 2, 10./ 3, 28./ 4, 7./ 5, 3.0
PROPERTY
STREAM= 2, TEMP= 100.0, PRES= 50.0, &
RATE(2)= 1500.0, PHASE= L, ASSAY= LV
D1160
STREAM= 2, DATA= 0.00, 310./ 10., 360./ 30., 385./ &
50.0, 410.0 / 70.0, 560.0
WATSONK
AVERAGE= 12.5, STREAM= 2
PROPERTY
STREAM= V6, TEMP= 200.0, PRES= 75.0, &
RATE(W)= 2700.0, PHASE= M, ASSAY= WT
TBP
STREAM= V6, DATA= 0.0, 201./ 30.0, 370.0/ &
50.0, 390.0 / 90.0, 450.0
SPGR
STREAM= V6, AVERAGE= 0.76, &
DATA= 25.0, 0.31 / 37.0, 0.42 / 52.0, 0.65
LIGHTEND
STREAM= V6, PERCENT(WT)= 11.0, &
COMP(W)= 1, 8.0 / 2, 12.0 / 3, 31.0 / 4, 42.0 / 5, 7.0
SINK Defines a point where fluid leaves the system. You may have more than one sink in
a network simulation. As demonstrated in the following table, the requirements for
entries for this statement depend on the type of simulation.
Table 3-29: Mandatory Entries for SINK
Simulation Type Mandatory Sink Data
Single Link, source rate and pressure None.
known
Single Link, rate unknown Fixed pressure .
Single Link, source pressure unknown Disallowed. Use network solution
method.
Network Stream ID or Name.
Estimated or fixed pressure.
Estimated or fixed rate.
Optional entries:
Example:
SINK NAME=FLRB, PRESSURE=21, RATE(ESTI)=140
JUNCTION Statement cannot be used for Single Link simulations. Mandatory statement for the
network calculation method, where two or more links connect.
Mandatory entries for all network simulations:
Optional entries for modeling preferential splitting at a tee junction, for Steam
Systems only:.
Example:
JUNCTION NAME=A, PRESSURE(ESTI)=165, DETEE, ORANJE
LINK Optional statement for Single Link simulations. Mandatory for network
simulations. Defines a series of devices (flow devices, fittings and items of process
equipment). The statements defining these devices must appear immediately after
the LINK statement. Flow is assumed to be from one item to the next, in the order
in which they appear in the input and in the direction designated by the FROM and
TO entries.
Mandatory entries:
Example:
LINK NAME=J, F=13, TO=JTK, RATE(ESTI)=1.E6, PRINT
PIPE Any value defined on any pipe statement will override the corresponding values set
globally in the General Data Category of input.
Mandatory entries:
Optional entries:
Example:
PIPE NAME=PIP1, LENGTH=30, ID=3.068
PIPE ID=3, LENGTH=5808, ECHG=140, U=0.0001
PIPE NAME=A-J, ID=8, LENGTH=170, &
WATER, VISCOSITY(CP)=1.5, VELOCITY=5, DENSITY(LBFT3)=68,&
COND=0.33, TAMB=5, CONPIPE=35, THKPIPE=0.8, THKINS=5
PIPE NAME=X1, NOMD=3, SCHE=30
Optional entries:
ANNULUS Define a well annulus. Any value defined on an Annulus statement will override
the corresponding values set globally in the General Data Category of input.
Mandatory entries:
Optional entries:
Optional entries:
Dual Completions
Dual completions strings when modeled as separate production strings (links), do
not account for the heat transfer between the strings. If detailed heat transfer
interactions between the strings need to be calculated, the configuration of the dual
completion must be defined.
The calculation must be Network and the fluid must be Blackoil, steam or
compositional. Only concentric dual completions may be modeled if the fluid is
compositional. Dual completion strings are indicated by the keyword DUAL in the
LINK statement.
Concentric Dual Completions
This well is modeled with two links. The first
link contains the inner production or injection
string which is specified on a TUBING
statement. The second link models the outer
string as an ANNULUS. The geometry of the
annular space is defined by IDCAS and ODCAS.
To model an insulated tubing or casing, specify a
solid medium for the annular space.
All the detailed heat transfer data are entered on
the TUBING statement, including the thermal
properties of the fluid in the ANNULUS. The
ANNULUS statement does not change for
detailed heat transfer calculations.
Separate TUBING statements are required
whenever the tubing or heat transfer parameters
change. A separate ANNULUS statement must
be supplied to correspond to each length of
tubing down to the first completion. Below this
point, the annulus does not function as a flow
device and there is no ANNULUS statement for
it. It is simply a casing on the TUBING
statement.
Example:
LINK NAME=L1, FROM=S1, TO=SNK1, DUAL=L2
$ Surface to the bottom of the water filled space
TUBING ID=2.992, ODTUBING=3.5, IDCASING=5.5,8.54, &
ODCASING=5.52,9.62, HOLEID=12, CONCASING=29,29,29, &
EMIS=0.9,0.9,0.9, EMOS=0.9,0.9,0.9, MEDIUM=2,3,5, &
BETAN=1.39E-3,1.39E-6,0, DENAN(LBFT3)=0.055,63,0, &
CONAN=1,2.9,0.5, VISAN=0.5,1,0, CPAN= 1,1,0, &
Example:
LINK NAME=L1, FROM=S1, TO=SNK1, DUAL=L2 $ Longer string
TUBING ID=2.441, ODTUBING=2.875, IDCASING=4.35,9.85,12.615, &
ODCASING=4.875,10.75,13.375, HOLEID=17.5, &
CONCASING=29,29,29,29, EMIS=0.9,0.9,0.9,0.9, &
EMOS=0.9,0.9,0.9,0.9,MEDIUM=5,1,3,5, &
BETAN=0,1.39E-3,1.39E-6,0, DENAN(LBFT3)=0,0.055,63,0, &
CONAN=0.04,0.0188,1,0.5, VISAN=0,0.023,1,0, &
CPAN= 0,0.25,1,0, VELAN=0,0,0,0, CONEARTH=1.0, &
DIFFUSIVITY=0.96, TIME=21, LENGTH=500 TUBING ID=2.441, &
ODTUBING=2.875, IDCASING=9.85, ODCASING=10.75, &
HOLEID=12.5, CONCASING=29,29, EMIS=0.9,0.9, &
EMOS=0.9,0.9,MEDIUM=1,5, BETAN=1.39E-3,0, &
DENAN(LBFT3)=0.055,0, CONAN=0.0188,0.5, VISAN=0.023,0, &
COMPLETION Describes a bottomhole completion, the interface between the reservoir and a well.
An IPR device should be used in addition to the completion device to account for
the pressure drop from the reservoir to the near wellbore.There are two types of
completion: gravel-packed; and open-perforated. The entries on this statement
depend on the type of completion.
Mandatory entries for both types of completion:
Example:
COMPLETION JONES, TUNNEL=1.55, PERFD=0.39, SHOTS=4, LENGTH=10
COMP NAME=COMP, MCLEOD, PERM(RESE,MD)=0.65, PENE=3,&
PERFD=0.39, SHOTS=8, LENGTH=30, UNDERBALANCED
COMPRESSOR Describes a single or multi-stage compressor. This unit cannot be used for steam
systems.
Mandatory entries:
Optional entries:
Example:
COMP POWER(MAX)=55, CURVE=200,20,85/400,40,76
COMPRESS NAME=CMP2, POWER(HP)=250, PRES(MAX,PSIG)=1050, &
EFFICIENCY=85
Example: Multispeed compressor with data provided for three RPM curves.
COMP NAME = CMP1, PRES(MAX)=300, &
CRV1=200,20,100/300,40,98/ &
CRV2=400,50,100/500,60,98/ &
CRV3=600,70,100/700,80,98, &
RPMC=1000,2000,3000
Optional entries:
Example:
MCOMPRESS NAME=CMP1, STAGES=3, INTT(F)=120,120, TWARN(F)=250,&
PDIS(PSIG,WARN)=3000, POLY, PERCENT=(COND)=100,&
CURVE = 1, 50, 3000, 72/ 1, 100, 2550, 74 /&
1, 200, 2100, 75/ 1, 400, 1650, 76, ACTUAL
MCOMPRESS NAME=CMP2, STAGES=5, PDIS(PSIG)=1200, &
INTT(F)= 100,100,100,100,100, EQUALPR,&
ADEF = 80,81,80,80,82, POWER(WARN,HP)=1500
MCOMPRESS NAME=CMP3, STAGES=2, POWER(HP)=800,&
NOKCONV, ADEFF=79,79, INTP(PSIG)=350
COOLER Simulates the removal of heat from a fluid. Not available with steam systems.
Mandatory entries:
Optional entries:
Example:
COOLER NAME=C1, TOUT=120, DP=2, DUTY(MAX)=5E3
In this example, cooler C1 has 5000 duty units available to reduce the feed stream
temperature to 120F. Less duty may be used, but not more.
Optional entries:
EXPANDER This statement is currently available only for steam systems and models the work
generated due to expansion of steam from a high pressure to a lower pressure.
Mandatory entries:
Optional entries:
Example:
EXPANDER NAME=EXP1, DP(BAR)=4,EFFIC=87
GLVALVE Describes a Gaslift Valve as part of a well LINK. Used with blackoil fluids only.
The properties of the lift gas must be described in the PVT Data Section.
Mandatory entries:
Optional entries:
Example:
GLVALVE NAME=GLV1, RATE(CFM)=1.5, DISSOLVE=35
Optional entries:
Example:
HEATER DUTY=5E3, TOUT(MAX)=212
In the example above, the heater has a duty of 5000 units available to it, but the
maximum outlet temperature is set at 212oF. Therefore, if 212oF is reached using
fewer than 5000 duty units, then the heater duty will be set at the calculated value.
INJECTION Describes a device for introducing an injection stream from a lateral SOURCE or
re-introducing a stream from a SEPARATOR to a point downstream. Used with
compositional fluids only.
Mandatory entries:
Optional entries:
Example:
INJECT FROM=V101, GAS
IPR The Inflow Performance Relationship device models the relationship between
flowrate and reservoir pressure draw-down or pressure drop at the sand face in a
well. Several IPR models are supplied. Alternatively, user-defined IPR models
may be linked to PIPEPHASE and data for them entered through the IPR device.
The IPR device is also used to enter reservoir decline data which is required for
time-stepping.
The IPR device can also be used to shut-down sources depending upon wheter a
maximum water cut or gas oil ratio has been exceeded in any given source.
This device also allows tabular data to be entered for interpolation or regression
onto one of the PIPEPHASE models and/or for use in a time-stepping run.
Units of measurement are those chosen on the DIMENSIONS statement and
cannot be changed for individual data items in the IPR device.
Mandatory entries:
Optional entries:
Example:
IPR NAME=IPR1, GROUP=RES2, MODEL=2, & IVAL=FLOW,2, &
RVAL=QMAX,0.5/VOGCON,0.3/VOGEXP,1.1/QCUM,6, &
ARRAY=PPRES,5000,4500,4000,3500/ & AQCUM 7.5,6.4,5.3,4.2
Flow rate units in the IPR are fixed according to the BASIS
chosen:
BASIS Flow rate units
1 (gas) Gas volume units
2 (liquid) Liquid volume units
3 (oil) Liquid volume units
4 (water) Liquid volume units
5 (weight) Weight units
Note:A request to shut wells may be made using any of the following criteria
within the IPR device:
> If the local reservoir pressure falls below the abandonment pressure (ABAN),
> If the well-produced watercut exceeds the maximum watercut (FWMAX)
when
the blackoil or condensate fluid models are used, or
> If the well produced GOR exceeds the maximum GOR (GORMAX).
Example:
IPR NAME=IPR1, TYPE=PI, IVAL=FLOW,2/BASIS,5, RVAL=PI,0.5
Note: The Babu-Odeh model does not support automatically generated Multi-
source well completions.
Table 3-31: Label Requirements for Automatically Generated Multi-source
Well Completions
IVAL Labels for Multi-source Well Completions
NSEG Number of segments
RVAL Labels for Multi-source Well Completions
ID Diameter of the tubing adjacent to the producing formation
LENGTH Length of the producing zone
ECHG Elevation change over the producing zone from the foot of
the well to the dog-leg. Defaults to 0.0 (horizontal)
Example:
IPR NAME=IPR1, TYPE=PI, IVAL=NSEG,5, &
RVAL=PI,0.5/ID,5.4/LENGTH,30/ECHG,5.0
Use the labels below when you have specified TYPE = PI:
Table 3-32: Label Requirements for the Productivity Index Model
RVAL Labels for Productivity Index Model
PI Productivity index for the entire completion
or SPI Productivity index per unit of length. Use only with Multi-
source well completions (NSEG > 1)
Example:
IPR NAME=IPR1, TYPE=PI, IVAL=FLOW,2/NSEG,5, &
RVAL=PI,0.5/ID,5.4/LENGTH,30/ECHG,5.0
Note: Typically, other values of VOGCON and VOGEXP are used to get a
vogel IPR for horizontal wells.
Example:
IPR NAME=IPR1, MODEL=2, IVAL=NSEG,1, &
RVAL=QMAX,1000/VOGCON,0.3/VOGEXP,1.1
Use the labels below when you have specified TYPE = GASF:
Table 3-34: Label Requirements for the Fetkovich Gas Flow Model
RVAL Labels for Gas Flow Model
COEF Coefficient in the Fetkovich gas deliverability model
EXP Exponent in the Fetkovich gas deliverability model
Example:
IPR NAME=IPR1, TYPE=GASF, IVAL=NSEG,1, &
RVAL=COEF,1.4/EXP,0.2
Use the labels below when you have specified TYPE = LIT:
Table 3-35: Label Requirements for the Laminar-Inertial-Turbulent Model
RVAL Labels for Laminar-Inertial-Turbulent Model
CLAMINAR Laminar coefficient in the Laminar-Inertial-Turbulent
model
CTURBULENT Turbulent coefficient in the Laminar-Inertial-Turbulent
model
Example:
IPR NAME=IPR1, MODEL=4, IVAL=NSEG,5, &
RVAL=CLAMINAR,0.5/CTURBULENT,0.3/ID,5.4/LENGTH,30
Examples:
IPR NAME=IPR1, TYPE=GASF, IVAL=BASIS,1/DRAW,2/NPSEG,3 &
RVAL=COEF,0.5/EXP,0.8/PMAX,5000/PMIN,1000 IPR NAME=IPR1,&
TYPE=LIT, IVAL=BASIS,1/DRAW,3 &
RVAL=CLAMI,0.5/CTURB,0.3/MPCON,3.2
Tabular IPR curves may be specified for a completion by inputting PWF versus QF
(flowrate) for a range of reservoir pressures or cumulative reservoir production.
If cumulative production is a parameter for the tabular IPR curves the following
labels may be used to interpolate the set of curves.
Table 3-39: Additional Label Requirements for Tabular IPR Model
RVAL Labels for Tabular Data (when Cumulative Production is the
Parameter)
QCUM Cumulative total reservoir production at time=0. The default
is zero. The units depend on the fluid type:
Blackoil total oil + water in liquid volume
units
Condensate or gas total gas produced in gas volume
units
Compositional liquid in liquid volume units
Used only if TQCUM is specified in the reservoir declining
curve.
or QOCUM Cumulative oil produced in liquid volume units at time=0.
The default is zero. Used only if TQOCUM is specified in
the reservoir declining curve.
or QLCUM Cumulative liquid (oil + water) produced in liquid volume
units at time=0. Used only if TQLCUM is specified in the
reservoir declining curve.
Use the labels in the following table when you want to use PIPEPHASEs time-
stepping feature.
Table 3-40: Label Requirements for Time-stepping
ARRAY Labels for Reservoir Data
DECLINERAT P/Z decline rate per unit of production, in pressure per gas
E volume units. Valid for gas flow based reservoir decline.
PPRES Array of reservoir pressures on the reservoir declining
curve.
AQCUM Array of cumulative total matter produced corresponding
to the reservoir pressures array. Units correspond to the
chosen fluid type for the problem.
or AQOCUM Cumulative oil produced in units corresponding to the
liquid volume units chosen. Use with QOCUM if
necessary.
or AQLCUM Cumulative liquid (oil + water) produced in units
corresponding to the liquid volume units chosen. Used with
QLCUM iif necessary.
or AQGCUM Cumulative gas produced in units corresponding to the
BASIS chosen. Use with QGCUM if necessary.
or AQWCUM Cumulative water produced in units corresponding to the
BASIS chosen. Use with QWCUM if necessary.
The following example illustrates the use of two wells utilizing a single reservoir
model.
Optional entries:
Example:
PUMP NAME=PMP1, POWER=100, PRESSURE(MAX)=300, EFFICIENCY=90
REGULATOR Describes a device used to fix the pressure immediately downstream from it if the
upstream pressure is greater.
Note: For source links with source pressure fixed, if a) the link maximum
flowrate is specified on the LINK statement or, b) the DPMAX is specified in the
IPR device in the source link, you must specify a regulator at the surface with a
very high set pressure. There must be at least one flow device downstream of this
regulator.
Mandatory entries:
Optional entries:
SEPARATOR Describes the equipment used to split some or all of the different phases from a
multi-phase stream. Used with blackoil, gas condensate or compositional fluids.
Example:
SEPARATOR NAME=V2, PERCENT(COND)=100, PERCENT(WATER)=95
BEND The BEND statement may be used to describe any type of bend, for example
standard elbows, mitre bends, pipe bends and flanged or butt-welded elbows. A
BEND may be standard or nonstandard.
Mandatory entries:
Optional entries:
Example:
BEND ID=10, KMUL=60
BEND ID=10, KMUL=60, HOMOGENEOUS
BEND ID=10, NONSTANDARD, ANGLE=60, RADIUS=30, KMUL=50
CHECK Describes a device that allows flow only in the direction defined by the FROM and
TO entries on the LINK statement.
Mandatory entries:
Optional entries:
Example:
CHECK NAME=CHK1, ID(IN)=3.25, COEFF=0.91
Note: The ID64 keyword will allow the user to specify the Choke diameter in
terms of 64ths of an inch which is the common and typical approach in the field.
This option is available for all the chokes. However for Case study, Optimization
etc data section the diameter variable must be referenced as ID. ID64 is used only
for input and the variable is merged with ID for all subsequent processing.
Note: At least one pressure loss device before and after the choke must be
present for the GF chokes to work properly.
Optional entries:
Table 3-44:
GF Model A B C
Gilbert 10.0 0.546 1.89
Ros 17.4 0.500 2
Baxendell 9.56 0.546 1.93
Achong 3.82 0650 1.88
Liquid Y N N Y Y*
Condensate N Y N Y Y**
Black Oil N Y Y Y Y*
Steam N Y N Y N
Compositional N Y N Y Y**
* Extended models see equation 5-75 for the choke in the Techinal reference
section. Use with caution.
**Program calculatess, uses equivalent Blackoil valus of GOR and QL.
Example:
CHOKE NAME=CHOK, ID(MM)=25.4, FN, COEF=1.05
Optional entries:
Example:
MCHOK NAME=MCH1, PUPS=2300, CPCV=1.45
MREGULATOR This device introduces a pressure discontinuity into the defined network structure.
Other devices that invoke the same algorithm are MCOMPRESSOR and
MCHOKE.
Use MREGULATOR to specify a flow boundary condition for the upstream
network.
Mandatory entries:
Optional entries:
Example:
MREG NAME=MRE1, QRAT=5600
Optional entries:
Example:
CONTRACT IDIN=6, IDOUT=4, ANGLE=135, HOMOGEN
ENTRANCE Describes the entrance into a pipe from a larger volume such as a vessel.
Mandatory entries:
Optional entries:
Example:
ENTRANCE IDPIPE=3.068, K=0.3, LAMBDA=1.2
EXIT Describes the exit from a pipe into a larger volume such as a vessel.
Mandatory entries:
Optional entries:
Example:
EXIT IDPIPE=2.15, K=0.7
Optional entries:
Example:
EXPANSION IDIN=4, IDOUT=6, ANGLE=135
Optional entries:
Example:
NOZZLE IDPIPE=4.6, IDNOZZLE=3.1
Optional entries:
Example:
ORIFICE IDPIPE=10, IDORIFICE=6, THICK, CPCV=1.5
Optional entries:
Example:
TEE IDPIPE=12, KMUL=20, ROUGH(REL)=0.0001
VALVE Defines any type of valve gate valve, globe valve, angle valve, lift check valve,
swing check valve, stop check valve, ball valve, butterfly valve, plug valve, foot
valve, etc.
Optional entries:
Example:
VALVE NAME=GAT1, IDIN=3.068, IDOUT=3, KMUL=60 $ GLOBE VALVE
VENTURIMETERMandatory entries:
IDPIPE()= or Inside diameter of the upstream pipe in short length
NOMD= units.
IDTHROAT()= Inside diameter of the Venturimeter throat in short
length units.
Optional entries:
Note: The Venturimeter only models the pressure loss up to the throat. If you
wish to include the pressure recovery effect of the Venturimeter outlet, then an
EXPANSION device should immediately follow downstream.
CALCULATOR Introduces the Calculator unit operation. The Calculator is a versatile utility
module offering much of the calculational power of FORTRAN. As a unit
operation module, it may be placed anywhere in the flowsheet calculation
sequence. Using a simple language based on FORTRAN 77, it computes a result or
array of results for printout, for storage in a stream vector, or for use by other unit
modules. Its usefulness is limited only by the imagination of the user. Typical
applications include:
■ Compute special stream properties for use by when optimizing the flowsheet.
■ Compute process utility or operating costs for printout, convergence control,
or optimization.
■ Compute equipment size and cost, based on calculated unit parameters, for
printout or optimization.
The CALCULATOR has two main sections:
■ Calculator Setup
and
■ Calculator Procedure.
CONSTANT Mandatory statement only if the code in the Calculator Procedure section
references streams or cycles through a series of sinks, sources, or junctions using a
DO loop. The CONSTANT statement allows initialization of numerical values that
remain unchanged by any calculations in the procedure section. Note that integer
values are converted to floating-point numbers. All these constants are stored in
array ‘’C’’. The number of elements in this array may be defined on the
DIMENSION statement. Elements not defined on the CONSTANT statement have
large negative values.
Mandatory entries:
Example:
{} entries are optional () keyword qualifiers underlined keywords are defaults
= requires values or entries values or entries for keywords are defaults in Petroleum units
Mandatory entries:
Stores device or source, sink, or junction properties as elements of the “P” array.
The <property> entries available for each device or source or sink or junction are
given in Table 5- in the Optimization Data category of input section starting on
page . Choices for DEVICE type are PIPE, TUBING, RISER, ANNULUS,
CHOKE, PUMP, COMPRESSOR, COOLER, HEATER, SEPARATOR,
COMPLETION, IPR, VALVE, GLVALVE, REGULATOR, CHOKE or CHECK.
Variables accessed by the IPR device must identify the property using the
VARIABLE keyword. This allows the user to access data from user-added routines
using the first four characters of the labels provided by the user.
RESULT Optional statement. The RESULT statement allows the user to supply descriptive
labels for each CALCULATOR result.
Mandatory entries:
Example:
RESULT 1, RELATIVE MB
FORTRAN Statements
Optional statements. You may supply any number of the following FORTRAN-
like statements between the required PROCEDURE and RETURN statements.
Each statement contains a maximum of 80 characters. An ampersand (&) at the end
of a line indicates continuation on the following line. Note that an asterisk ( * ) is
not valid as a continuation marker, since it signifies multiplication.
Note: Unlike FORTRAN, a ‘’C’’ in column one does not designate a comment
statement.
Statement Description
{DIMENSION var( ), var( The DIMENSION statement is used to define one
), ...} or two-dimensional arrays. Each subscript may be
an integer constant, or two integer constants
separated by a colon to specify both the lower and
upper array bounds.
{INTEGER var, var, ...} Defines integer variables.
{REAL var, var, ...} Defines real variables.
Example:
DIMENSION A(20,20), B(20), X(20)
REAL MASS
INTEGER COUNT, TAB(100)
Example: Six real values are to be specified for the revenue (REVENU), profit
(PROFIT), and loss (LOSS) arrays corresponding to the years 1990 through 1995.
The integer constants 1990 and 1995 are used (separated by commas) to denote the
array bounds.
Example: A variable may only appear once on these statements. The following is
valid in standard FORTRAN, but not in the CALCULATOR:
REAL MOLWT
DIMENSION MOLWT(50)
Both standard FORTRAN and the CALCULATOR accept this equivalent form:
REAL MOLWT(50)
For calculations with the same precedence, expressions are evaluated from right to
left for exponentials, and left to right for all others.
Note: The CALCULATOR supplied arrays C and P may not appear on the left side
of an assignment statement.
HYDRATES Introduces the Hydrates unit operation, which predicts the pressure and
temperature regime in which the fluid at a node (source, sink, or junction) is
vulnerable to hydrate formation. Different ranges of temperature and pressure can
be examined. Calculations assume the presence of free water for hydrates to form.
The effect of NaCl, methanol, ethylene glycol, di-ethylene glycol and tri-ethylene
glycol hydrate inhibitors can also be studied.
Mandatory entries: None.
Optional entries: None.
EVALUATE Mandatory statement. Define one range of conditions through which hydrate
formation is to be investigated.
You may either define a range of pressures and PIPEPHASE will predict the
temperature profile which defines the incipient formation of hydrates, or you may
define a range of temperatures and PIPEPHASE will predict the pressure profile
which defines the incipient formation of hydrates. You may optionally define an
inhibitor whose effect is to be examined.
Mandatory entries:
Example:
UNIT OPERATIONS
HYDRATES NAME=HYD1
EVALUATE STREAM=SNK3, IPRES=50, MAXPR=500, DP=10,&
INHIB(EG)=12
EVALUATE STREAM=JCT1, ITEMP=200, MAXTEMP=2000, POINTS=20
EVALUATE STREAM=SRC2, INHIBITOR(NACL)=22.5
Optional entries:
Example:
PCALC PRES=950, TEMP=100, DISSOLVE=0, DEPTH=5900, RATE=1.0
Optional entries:
Example:
Optional entries:
Example:
LOCATION PRES=750, TEMP=60, DISSOLVE=100, RATE=0.185, &
SIZING Introduces the category. This category is used for sizing pipes, risers and tubing.
Mandatory entries: None.
Optional entries: None.
DEVICE Identifies which pipe, risers and tubing devices are to be sized.
Mandatory entries:
Example:
DEVICE NAME=PIP1, LIN2, PIP3
LINE Optional statement. Defines the line sizes that are to be used by PIPEPHASE in
determining a diameter which satisfies the sizing criteria. If this statement is
omitted, standard API Schedule 40 inside diameters are used. These are (in
inches):
Mandatory entries:
MAXV Optional statement. Enter the maximum velocity criteria. If this statement is
omitted, PIPEPHASE will use the erosional maximum velocity criteria, VEM:
Mandatory entries:
Example:
MAXV VELOCITY=20,300,22,19,18, ID=2,5.5,10,15,25
CHANGE Mandatory statement. On each CHANGE statement enter the changes to be made
to one device and the times at which the changes are to be effected. More than one
change statement may be used. If you do not want to change a device but simply
want to examine the effect of declining reservoir conditions with an unchanging
network, simply enter one CHANGE statement with a series of times.
Mandatory entries:
Example:
TIMESTEPPING
CHANGE TIME=10, 20, 30, NAME=PIP1, ID=4.0, 3.5, 3.0
CHANGE TIME=15, 20, 25, NAME=PIP2, ID(IN)=8.0, 7.0, 6.0
CHANGE TIME=20,30, NAME=HTR3, DP=2, 3, DUTY=12, 10
Note: Lower limit for rate 5 pounds/hr for compositional and 1BPD
for Blackoil.
CASESTUDY Introduces the category. Each new case is headed by a CASE statement and there
are no limits on the number of cases which can be entered in a simulation input.
Mandatory entries: None.
Optional entries: None.
DESCRIPTION Optional statement. Allows you to enter a description of the simulation. You are
restricted to one DESCRIPTION statement per case study. The information on this
statement is printed once at the start of the case study output.
Mandatory entries: None.
Optional entries: Text string of up to 60 characters.
Example:
DESC Change pipeline id to 3 inches
RESTORE This statement discards all accumulated changes from previous cases and restores
all the data from the base case to the current. If this statement is omitted, changes
introduced in this Case Study will be added to changes made in the previous cases.
There are no further entries permitted in this statement.
Optional entries:
NETWORK Change to be made for all devices in network; used
with = ALL
SIMULATION = Change to be made for non-device attributes of
simulation; used with = ALL or <reservoir group>
name
GLOBAL Change to be made for all devices in the network
that meet a specified criteria; used with = ALL and
OLD = value (or FCOLD for flow code changes).
LINK = <linkid> Changes to be made for all devices in the specified
link; used with = ALL
XLINK = <linkid> Changes to be made for non-device attributes in the
specified link
VALUE= or The new value to which you want the parameter
changed.
FCODE=or The new flow code when the parameter you want
to change is FCODE.
FEED=n,v/… The new feed composition when the parameter you
want to change is source FEED.
NOCHECK Normalize the feed composition for source feed
changes.
OLD= or The old value of the parameter from which you
want to change when using a conditional global
change.
FCOLD= The old value of the flow code when the global
parameter you want to change is FCODE.
SETCALC = <calcid> Name of Calculator to retrieve data from.
Note: The following keywords are only applicable to the optimizer.
{} entries are optional () keyword qualifiers underlined keywords are defaults
= requires values or entries values or entries for keywords are defaults in Petroleum units
Examples
Case 1. Global variable change for pipes in network to 10 inch I.D.
PARAMETER PIPE=ALL, GLOBAL, VARIABLE=ID, VALUE= 10
Case 2. Flow code changes for tubing in network using the BBM correlation to the
OLGA correlation.
PARAMETER TUBI=NAME, GLOBAL, VARIABLE=FCODE, FCOLD=BBM,
FCODE=OLGA
Table 3-53: Types and Variables for Constraint, Decision, and Objective Functions
Available as a
Type <device> Associated Variable Description Constraint Change Objective
Variables Variable Variable Parameter1
<property>
SOURCE PRES Pressure X X X
Compositional RATE(WT) Total Weight Rate X X X
RATE(WT,GAS) Gas Weight Rate X X
RATE(WT,LIQ) Liquid Weight Rate X X
RATE(WT,OIL) Liquid Hydrocarbon X X
Weight Rate
RATE(WT,WATE) Water Weight Rate
FRAC(GAS) Volumetric Gas Fraction X X
ENTH(TOTA) Total Enthalpy X X
TEMP Temperature X X X
QUAL Quality (single component) X X
SCOMP Composition X X X
NCOM Component Number for X X X
GHV/WOBBEE composition
Gross Heating Value X X
Wobbe Index
1
Also available as a DEFINE for a CALCULATOR unit.
2
The types of flowrates available in pipes, tubings, and regulators depend on the fluid type, e.g.,
RATE(WT,GAS), RATE (LV,WATE), etc. See the RATE variables associated with the SOURCE, SINK, and
JUNCTION devices for details. Gas liquid, and water phase flowrates for compositional systems depend on the
temperature and pressure and are reported at the outlet of the device. Rates are not available for devices in links
with separators.
3 For compositional systems only.
4
Use INDEX for curve point.
5 Use INDEX to indicate stage.
Pressure Drop
1 Also available as a DEFINE for a CALCULATOR unit.
2
The types of flowrates available in pipes, tubings, and regulators depend on the fluid type, e.g.,
RATE(WT,GAS), RATE (LV,WATE), etc. See the RATE variables associated with the SOURCE, SINK, and
JUNCTION devices for details. Gas liquid, and water phase flowrates for compositional systems depend on the
temperature and pressure and are reported at the outlet of the device. Rates are not available for devices in links
with separators.
3
For compositional systems only.
4
Use INDEX for curve point.
5 Use INDEX to indicate stage.
Note: Before using this data section please read the section in
Chapter 2 on Sensitivity Analysis.
Note: In the base case, both SOURCE and SINK pressures must
be supplied and the SOURCE RATE must be estimated.
Table 3-54: Sensitivity Category of Input
Statement Keywords See ...
SENSITIVITY None Page 3-198
NODE NAME= or BOTTOMHOLE or SINK Page 3-198
{DESCRIPTION} INFLOW= or OUTFLOW= Page 3-198
{INFLOW} CGR()=, COEFFICIENT()=, Page 3-198
COMPOSITIONAL()=, DISSOLVE()=,
DP()=, DUTY()=, EFF()=, EXP()=,
FLOWEFF()=, GOR()=, ID()=,
IDANNULUS()=, II()=, NAME=,
NODE=, ODTUBING()=,
PENETRATION()=, PERCENT()=,
PERFD()=, PI()=, POWER()=,
PRESSURE()=, QUALITY()=, RATE()=,
ROUGHNESS()=, SHOTS()=,
STAGES()=, TEMPERATURE()=,
TOUT()=, TUNNEL()=, U()=,
VOGEL()=, WCUT()=, WGR()=,
COMB=MULTI
{OUTFLOW} CGR()=, COEFFICIENT()=, Page 3-201
COMPOSITIONAL()=, DISSOLVE()=,
DP()=, DUTY()=, EFF()=, EXP()=,
FLOWEFF()=, GOR()=, ID()=,
IDANNULUS()=, II()=, NAME()=,
ODTUBING()=, PENETRATION()=,
PERCENT()=, PERFD()=, PI()=,
POWER()=, PRESSURE()=,
QUALITY()=, RATE()=,
ROUGHNESS()=, SHOTS()=,
STAGES()=, TEMPERATURE()=,
TOUT()=, TUNNEL()=, U()=,
VOGEL()=, WCUT()=, WGR()=,
COMB=MULTI
FLOW RATE()= Page 3-202
NAME= or Enter the name of the node between the Inflow and
BOTTOMHOLE or Outflow sections of the link. If this is the name of a
SINK device, the Solution Node is at the inlet of that
device. Alternatively, use BOTTOMHOLE to
place the Solution Node at the flowing bottomhole
of an injection well. Use SINK to locate the
Solution Node at the outlet of the last device, in
which case the sink pressure can be used as a
Sensitivity Parameter.
Example:
NODE NAME=TUB1
DESCRIPTION Optional statements. Allow you to enter descriptions of the inflow and outflow
sensitivity analysis parameters. You need separate DESCRIPTION statements for
Inflow and Outflow.
Mandatory entries: None.
Optional entries:
Example:
DESC INFLOW=RP2500, RP3000, RP3500
DESC OUTFLOW=ID2.0, ID2.5, ID3.0
INFLOW Optional statement. Enter the details of the Inflow parameter and the values you
wish to use in the sensitivity analysis. You must supply either INFLOW or
OUTFLOW or both.
Category 1: Source
Category 2: Sink
Category 3: Devices
Example:
INFLOW NAME=PMP1, PRES=250,260,270,280,290
OUTFLOW Optional statement. Enter the details of the Outflow parameter and the values you
wish to use in the sensitivity analysis. The OUTFLOW statement is formatted
exactly the same as the INFLOW statement. See INFLOW above for details. You
must supply either INFLOW or OUTFLOW or both.
Sensitivity Examples:
SENSITIVITY
NODE SINK
DESC INFLOW=RESP2500,RESP2400,RESP2300,RESP2200,RESP2100
INFLOW NAME=RES, PRES=2500,2400,2300,2200,2100
DESC OUTFLOW=SINK500,SINK400,SINK300,SINK200
OUTFLOW NAME=SNK1, PRES=500,400,300,200
FLOW RATE=1000,2000,3000,4000,5000,5000,7000,8000
In this example, the reservoir pressure is the inflow parameter and the sink pressure
is the outflow parameter. In order to use the sink pressure, the Solution Node is
defined as SINK rather than NAME=SNK1.
SENSITIVITY
NODE NAME=SNK
INFLOW NAME=HTR1, DUTY=0,100,150, &
NAME=PIP1, U=0.025,0.05,1.5, &
NAME=PIP2, U=0.03,0.05,1.5
FLOW RATE=10000,12000,14000,16000,18000,20000
This example has an inflow parameter but no outflow. The inflow parameter is
made up of three variables - the heater duty and the heat transfer coefficients of the
two pipes.
TABLE Mandatory statement. Defines the table for the user defined phase split.
Mandatory entries:
Example:
TABLE LIQP=10/20/30/40/50, GASR=10000,20000, &
GASP=88,78,67,57,46/ 87,77,66,56,46
The following argument list must be used for all user pressure drop
correlations, where HUSER1or HUSER2 is substituted for NAME,
as appropriate:
SUBROUTINE NAME (PIN, TIN, POUT, TOUT, PAVG, TAVG,
ICOMP,IFLU,
DIR, IBOT, IFLO, IVH, Z, DENO, DENG, DENW, DENL, VISO,
VISW, VISL, VISG, SFTO, SFTW, SFTL, QOPIP, QWPIP,
GPIP, QTPIP, VELSL, VELSG, VELT, SPGG, SPGO,
SPGW, DIAM, AREA, RUFF, AINCL, EFF, DELX, NOACC,
DELP, DEN2, DPDLF, DPDLW, NREG, HL, CMW)
The arguments are described below in Table 3-56 . Note that the
units given below always apply, regardless of the DIMENSION
statement units used for the problem. The user-defined DP
correlation is called for each calculation segment.
Table 3-56: Pressure Drop Subroutine Arguments
Argument Description
PIN Segment Inlet Pressure, psia
TIN Segment Inlet Temperature, °F
POUT Estimated Segment Outlet Pressure, psia
TOUT Estimated Segment Outlet Temperature, °F
PAVG Segment Average Pressure, psia
TAVG Segment Average Temperature, °F
ICOMP Compositional Flag:
0 = Non-compositional
1 = Compositional
where:
FF = Moody Friction Factor
REYN = Reynolds Number
Example
An example of user-defined DP correlations is given in this
category. The FORTRAN code is listed below. Note that this
example was developed for illustrative purposes and SIMSCI
therefore makes no guarantee as to its accuracy or applicability.
This example is for the calculation of two phase pressure drops
using the correlation of Fancher and Brown. This routine is
designed for use with non-compositional fluids.
Example 1 - Fancher and Brown Pressure Drop
SUBROUTINE HUSER2
1 (PIN, TIN, POUT, TOUT, PAVG, TAVG, ICOMP, IFLU, IDIR, IFLOW,
2 Z, DENO, DENG, DENW, DENL, VISO, VISW, VISL,
3 VISG, SFTO, SFTW, SFTL, QOPIP, QWPIP, QGPIP,
4 QTPIP, VELSL, VELSG, VELT, SPGG, SPGO, SPGW,
5 DIAM, AREA, RUFF, AINCL, EFF, DELX, NOACC,
6 DELP, DEN2, DPDLF, DPDLW, NREG, HL, CMW)
C
C PURPOSE: DEMONSTRATE THE USE OF THE USER-ADDED
C SUBROUTINE BY CALCULATING THE TWO-PHASE PRESSURE
C DROP USING THE CORRELATION OF FANCHER AND BROWN.
C
C AUTHOR(S): SIMSCI
C
C COMPLETION DATE: 15 SEPTEMBER 1989
C
C- LOCAL DECLARATIONS
C
DIMENSION Z(50),CMW(50)
DIMENSION X(50),Y(50),W(50)
REAL MWGAS, MOLGAS, LOGF
C
C- CODE STARTS HERE
C
C COMPUTE THE NO-SLIP HOLDUP AND TWO-PHASE DENSITY
C
HLNS = (QOPIP + QWPIP) / QTPIP
WLR = QWPIP / (QOPIP + QWPIP)
DENL = WLR * DENW + (1. - WLR) * DENO
DEN2 = HLNS * DENL + (1. - HLNS) * DENG
C
WRITE (1,*) ëDENO,DENW,WLR,DENL,DEN2 = ë
C
C SINCE HOLDUP IS NOT CALCULATED BY FANCHER-BROWN, SET THE LIQD
C HOLDUP TO THE NO-SLIP HOLDUP
C
HL = HLNS
C
C CALCULATE THE GAS-LIQUID RATIO
C
GLR = 0.0
IF (QGPIP .EQ. 0.0) GO TO 1000
MWGAS = SPGG * 28.972
Common Blocks
The following internal common blocks must be included in the
order presented.
PARAM.CMN - System- wide parameters
PRECIS.CMN - Double precision statement
KCONS.CMN - Dimensioning statement
USRVIS.CMN - User defined viscosity
The variable names /parameters used in USRVIS.CMN file are
documented below
VISLCON (J) - The Jth Constant for user defined Viscosity.
VISLABL (J) - The Jth character label (16 characters) to
describe VISLCON
VISLMTH - Method label (16 characters)
NVISCONS - Number of constants specified
User is allowed to use a maximum limit of 40 user-defined
constants in designing a user-defined liquid Viscosity correlation to
be used in PIPEPHASE.
C INPUT ARGUMENT
C QOPIP-In - Situ oil flow rate, ft3/sec
C QWPIP-In - Situ water flow rate, ft3/sec
C DENO-In - Situ oil Density, lb/ft3
C DENW-In - Situ water density, lb/ft3
CSPGO-Oil standard specific gravity
C SPGW-Water standard specific gravity
C PRES-Pressure, psia
C TEMP-Temperature, F
C VISO-Oil Viscosity, cp
C VISW-Water Viscosity, cp
C QOSTD-Oil standard flow rate, ft3/sec
C QWSTD-Water Standard flow rate, ft3/sec
C OUTPUT ARGUMENTS
C VISL-Liquid viscosity, cp
CMANDATED PIPEPHASE INCLUDE FILES
INCLUDE 'PARAM.CMN'
INCLUDE 'PRECIS.CMN'
INCLUDE 'KCONS.CMN'
INCLUDE 'USRVIS.CMN'
Note that for isenthalpic, isothermal IPR models, the pressure is the
only variable that changes.
The input variables are defined as:
WT - mass flowrate, lb/sec
QOSTD - oil flowrate at standard conditions, ft3/sec
QGSTD - gas flowrate at standard conditions, ft3/sec
QWSTD - water flowrate at standard conditions, ft3/sec
Common Blocks
The following internal common blocksmust must be included:
PARAMS.CMN - system-wide parameters
PRECIS.CMN - double precision statement
KCONS.CMN - dimensioning statement
PRMIPR.CMN - IPR-related parameters
CUNIT.CMN - unit conversions
IPRCON.CMN - in situ density values (lb/ft3) for IPR calculation;
these variables may be used to develop user-
added IPRs:
CONGDN - gas density
CONODN - oil density
CONWDN - water density
The following common block will be needed for IPR models that
use the pseudo-pressure function utility:
MFPCMN.CMN - common block for pseudo-pressure utility
Data Extraction
The input data specific to an IPR defined through the keywords
RVAL, IVAL and ARRAY will be extracted through the following
utility modules:
SUBROUTINE RXTRCT (LABEL, NCHAR, IFOUND, RVAL)
Example Implementation
The following is an example for a user-added IPR in slot 21 (slot
numbers 1-20 reserved for internal models). This is a simple PI
model for an oil producing formation.
Note: For user defined IPR, each user has the freedom to define
their own labels and interpret the data in anyway. The RXTRCT
and IXTRCT utility extracts the real and integer data by label.
FF_VALS This routine is used to set and get runtime control values
PPDATR This routine passes simulation data of type real to and from PIPEPHASE.
PPDATI This routine passes simulation data of type integer to and from PIPEPHASE.
Call PPDATI (iPutGet, cClass, cName, cItem, iBuff, iCount, KUOM, IUOM,
iReturnCode)
PPDATC This routine passes simulation data of type character to and from PIPEPHASE.
Call PPDATC (iPutGet, cClass, cName, cItem, cBuff, iSize, iCount, iReturnCode)
Data are divided into cClasses . Each class has cNames . Where you need to
identify a specific item - such as the source or sink - use its identifying character
string - cItem.
Format All keywords must be in UPPER CASE and must include the embedded spaces
exactly as shown.
(*) Can be used in calls to PPDATC
Format All keywords must be in UPPER CASE and must include the embedded spaces
exactly as shown.
(*) Can be used in calls to PPDATC
Format All keywords must be in UPPER CASE and must include the embedded spaces
exactly as shown.
(*) Can be used in calls to PPDATC
Format All keywords must be in UPPER CASE and must include the embedded spaces
exactly as shown.
(*) Can be used in calls to PPDATC
Format All keywords must be in UPPER CASE and must include the embedded spaces
exactly as shown.
(*) Can be used in calls to PPDATC
Format All keywords must be in UPPER CASE and must include the embedded spaces
exactly as shown.
(*) Can be used in calls to PPDATC
Format All keywords must be in UPPER CASE and must include the embedded spaces
exactly as shown.
(*) Can be used in calls to PPDATC
Format All keywords must be in UPPER CASE and must include the embedded spaces
exactly as shown.
(*) Can be used in calls to PPDATC
Format All keywords must be in UPPER CASE and must include the embedded spaces
exactly as shown.
(*) Can be used in calls to PPDATC
Format All keywords must be in UPPER CASE and must include the embedded spaces
exactly as shown.
(*) Can be used in calls to PPDATC
Format All keywords must be in UPPER CASE and must include the embedded spaces
exactly as shown.
(*) Can be used in calls to PPDATC
Format All keywords must be in UPPER CASE and must include the embedded spaces
exactly as shown.
(*) Can be used in calls to PPDATC
Format All keywords must be in UPPER CASE and must include the embedded spaces
exactly as shown.
(*) Can be used in calls to PPDATC
Format All keywords must be in UPPER CASE and must include the embedded spaces
exactly as shown.
(*) Can be used in calls to PPDATC
Format All keywords must be in UPPER CASE and must include the embedded spaces
exactly as shown.
(*) Can be used in calls to PPDATC
Format All keywords must be in UPPER CASE and must include the embedded spaces
exactly as shown.
(*) Can be used in calls to PPDATC
Format All keywords must be in UPPER CASE and must include the embedded spaces
exactly as shown.
(*) Can be used in calls to PPDATC
Format All keywords must be in UPPER CASE and must include the embedded spaces
exactly as shown.
(*) Can be used in calls to PPDATC
Format All keywords must be in UPPER CASE and must include the embedded spaces
exactly as shown.
(*) Can be used in calls to PPDATC
Format All keywords must be in UPPER CASE and must include the embedded spaces
exactly as shown.
(*) Can be used in calls to PPDATC
Report Options
The PIPEPHASE output is designed to provide concise information
within 80 columns. The main PRINT statement in the General Data
Category of input (see the PRINT statement in Chapter 3, Input
Reference) controls the overall level of printout. A number of
printout options are available to enable you to select the amount of
information that you require.For example, if additional information
for only some of the links is required, you need only set the PRINT
PIPEPHASE 9.0 Keyword Manual 4-1
option on the LINK statements for the ones you want. If the PRINT
option is entered on any link, detail reports will not be produced for
links which do not also have the PRINT option.
If stream property tables are being generated, tables and plots of the
properties against temperature and pressure can be produced by
using the PRINT and PLOT options on the GENERATE statement.
The output is normally produced in the units of measurement you
defined globally as input units. Instead of this output, or in addition
to it, you can request an output in a different set of units using the
OUTDIMENSION statement in the General Data Category of the
input.
Description of Reports
The output from a PIPEPHASE simulation is in three main sections
which correspond to the three phases of the PIPEPHASE simulation
run. These are the input check and input data reprint; intermediate
solution history and output; and the final results output.
PIPEPHASE will only continue from one section to the next if no
errors are detected. If errors are found, either in the users input data
or during the solution procedure itself, self explanatory messages
will be printed and the simulation will either terminate or, in the
case of a solution procedure error, PIPEPHASE will try to resolve
the problem and continue with the simulation.
Input Reprint
A reprint of your keyword input data file will always be created
showing any syntax errors you have made. If there are no syntax
errors, PIPEPHASE then cross-checks the data for logic and
consistency. By default, it also prints out the full set of input data
which shows all the default values used, as well as the user-supplied
data. All, or part, of this full input data reprint can be suppressed if
desired.
The full input data reprint shows the data for all the data sections in
the simulation. All the possible categories of input are as follows:
1 Thermodynamic Data
2 Component Data
3 General Data
4-2 Results
4 PVT Data
5 Network Data
6 Source Data
7 Structure Data
8 Network Connectivity
9 Case Study
10 Nodal Analysis
11 PVTGEN Results
A single simulation run cannot include all these data sections. See
the Print section of Chapter 4 for PRINT options.
Intermediate Printout
During solution of a network, PIPEPHASE iterates until it
converges to within the error tolerance you set, or that which is set
by default. A summary of any errors or warnings encountered
during that iteration will be produced at the end of each iteration.
The ITER option on the PRINT statement can be used to request
additional printout which shows flowrates and pressures at each
iteration of the solution path. This can be particularly useful if you
have inadvertently given conflicting specifications in the problem
setup and the program has failed to resolve the inconsistencies.
If well test data have been specified, the inflow performance
coefficient is calculated before the solution calculations and the
report appears in the intermediate output.
Solution Output
The solution output is made up of a number of sections as shown
below. These sections are listed in the order they appear in the
output report, although not all of PIPEPHASE’s simulation modes
will produce all sections (see Chapter 2, Using PIPEPHASE).
4-4 Results
To specify... See...
Velocity Summary The velocity summary is produced by default and 3-27 PRINT
contains link fluid velocity-related information such
as inlet and outlet velocities, critical velocity,
pressure gradient and the pressure drop per device.
This report can be suppressed by the SUMM=OLD
option on the PRINT statement.
Results Summary The results summary is produced by default and 3-27 PRINT
contains flow, pressure, temperature and quality
information for device inlet and outlet points. This
report can be suppressed by the SUMM=OLD
option on the PRINT statement.
Link Device Detail The DEVICE=PART or DEVICE=FULL option on 3-27 PRINT
Report the PRINT statement generates a link device detail 3-100 LINK
report for every link in the simulation. The PRINT
option on the LINK statements can be used to
restrict the report to specific links. The report for
each link is in several sections:
Pressure and Temperature Report - For pipes and
fittings, this shows the dimensions, pressure,
temperature, heat transfer coefficient, and ambient
temperature. For items of process equipment, the
calculated parameters, such as pump power or valve
resistance coefficient, are shown.
Pressure and Temperature Plots - If the
PLOT=FULL option is specified on the PRINT
statement, the pressure and temperature profiles
along the link are plotted.
Phase Envelope - For compositional fluids, a phase
envelope is produced when the PLOT=FULL option
is specified. A phase envelope plot and tabular data
are both shown.
Holdup and Velocity Detail Report - The liquid
holdup, liquid, gas and mixed phase fluid velocities,
flow regime, and sonic velocity are shown for each
calculation segment in the link.
Pressure Gradient Detail Report - This report is
only produced if the DEVICE=FULL option is
invoked on the PRINT statement. It shows the
pressure gradient and pressure drop in each
calculation segment and identifies the frictional and
elevation contributions of this value.
Taitel-Dukler Flow Regime Map - This is
produced for two-phase flow in links by specifying
the MAP=TAITEL option on the PRINT statement
along with DEVICE=PART or DEVICE=FULL.
4-6 Results
Input Reprint Examples
The input data reprint can be lengthy for large networks and can be
partially or fully suppressed by entering INPUT=PART or
INPUT=NONE on the PRINT statement in the General Data
Category of input. It is generally best to use the default
(INPUT=FULL) when first running a simulation and only reduce
the amount of reprint when the data are known to be correct. Even
with INPUT=NONE, the keyword data file is always printed to the
output.
Thermodynamic
Data
This is followed by the THERMODYNAMIC SETS USED FOR EACH UNIT OPERATION
thermodynamic method DEFAULT METHOD IS SET01
for each unit operation
THERMODYNAMIC SET UNIT OPERATIONS
(usually the same). ----------------- ---------------
SET01
Note - The above report is an extract from Example 3 of Applib files.
4-8 Results
General Data
BASE CONDITIONS
PRINT OPTIONS
SEGMENTATION OPTIONS
VISCOSITY OF LIQUID
32.00 DEG F ........ 0.3950 CP
122.00 DEG F ........ 0.2460 CP
SPECIFIC HEAT OF OIL...... 0.5250 BTU/LB-F
PRESSURE TEMPERATURE
NO PSIG DEG F
-- -------- -----------
1 10.000 0.00
2 50.000 30.00
3 90.000 60.00
4 130.000 90.00
5 120.00
6 150.00
7 180.00
8 210.00
9 240.00
10 270.00
11 300.00
12 330.00
13 360.00
14 390.00
15 420.00
16 450.00
TABLES OF THE FOLLOWING PROPERTIES WILL BE PRINTED
LIQ DENS
4-10 Results
Network Data
Source Data
Compositional source SOURCE FEED
- the composition of
PHASE IS MIXED
defined components as THIS SOURCE IS ON
well as pressure, PVT SET NUMBER............ 1
RATE...................... 1500000.0000 LB/HR
temperature and rate PRESSURE.................. 114.0001 PSIG
are shown. TEMPERATURE............... 60.00 DEG F
Non-compositional SOURCE S1
liquid or gas - no
THIS SOURCE IS ON
phase change data may ESTIMATED RATE............ 499.9988 MM FT3/DAY
be entered. PRESSURE.................. 375.0001 PSIG
TEMPERATURE............... 97.00 DEG F
Structure Data
All information, LINK 4
including defaulted
LINK IS FROM "J2 " TO "PROD "
parameters, is shown
for each flow device DEVICE SA025, Z025, IS A PIPE
FLOW CODE IS BEGGS-BRILL (MOODY)
and equipment item INSIDE DIAMETER.............. 10.0000 IN
along each link in the LENGTH....................... 5.0 FT
ELEVATION CHANGE............. 0.0 FT
simulation. Estimated FLOW EFFICIENCY.............. 100.00 PERCENT
parameters at each HEAT LOSS COEFFICIENT........ 1.00000 BTU/HR-FT2-F
junction and sink are ROUGHNESS....................
AMBIENT TEMPERATURE..........
0.00180 IN
80.00 DEG F
also listed.
DEVICE WA026, Z026, IS A EXPANSION
FLOW CODE IS CHISHOLM
UPSTREAM INSIDE DIAMETER..... 10.00 IN
DOWNSTREAM INSIDE DIAMETER... 12.00 IN
EXPANSION ANGLE ANGLE...... 135.00 DEG
LAMDA (CHISHOLM PARAMETER)... 1.00000
C2 (CHISHOLM PARAMETER)...... CALCULATED
NUMBER OF DEVICES............ 1.
4-12 Results
Network
Connectivity
The connectivity shows NODE CONNECTIONS
the sources, junctions,
---- CONNECTIONS ----
and sinks. It does not NODE NODE NAME NODE TYPE TO NODE VIA LINK
show any of the flow ---- --------- --------- --------- ---------
FEED FEED SOURCE J1 1
devices within the PROD PROD SINK J2 4
links. J1 J1 JUNCTION FEED 1
J2 2
J2 3
J2 J2 JUNCTION J1 2
J1 3
PROD 4
LINK CONNECTIONS
LINK LINK NAME FROM NODE TO NODE
---- --------- --------- ----------
1 1 FEED J1
2 2 J1 J2
3 3 J1 J2
4 4 J2 PROD
+----------------------------------------+
| |
| +----+ +----+ +----+ +----+ |
| |FEED|----|J1..|----|J2..|----|PROD| |
| |SRCE| |....| |....| |SINK| |
| +----+ +----+ +----+ +----+ |
| | | |
| | | |
| +---------+ |
| |
| |
| |
+----------------------------------------+
=========================================================================
1 RISER GLOBAL ROUGHNESS IN 0.00200 0.00100
2 PIPE GLOBAL ROUGHNESS IN 0.00200 0.00100
CASE NUMBER 2
-----------------
NEW OLD
NUM DEVICE NAME VARIABLE UNITS VALUE VALUE
=========================================================================
3 RISER GLOBAL ROUGHNESS IN 0.00300 0.00200
4 PIPE GLOBAL ROUGHNESS IN 0.00300 0.00200
CASE NUMBER 3
-----------------
NEW OLD
NUM DEVICE NAME VARIABLE UNITS VALUE VALUE
=========================================================================
5 RISER GLOBAL ROUGHNESS IN 0.00400 0.00300
6 PIPE GLOBAL ROUGHNESS IN 0.00400 0.00300
CASE NUMBER 4
-----------------
NEW OLD
NUM DEVICE NAME VARIABLE UNITS VALUE VALUE
=========================================================================
7 RISER GLOBAL ROUGHNESS IN 0.00500 0.00400
8 PIPE GLOBAL ROUGHNESS IN 0.00500 0.00400
CASE NUMBER 5
-----------------
NEW OLD
NUM DEVICE NAME VARIABLE UNITS VALUE VALUE
=========================================================================
9 RISER GLOBAL ROUGHNESS IN 0.00600 0.00500
10 PIPE GLOBAL ROUGHNESS IN 0.00600 0.00500
4-14 Results
Sizing Data
The pipe sizes which LINE DATA
may be used during the =========
sizing calculations are PIPE
listed. If no sizes were DIAMETER
IN
entered by the user, the =========
standard Schedule 40 1.049
sizes shown here are 1.610
2.067
used. 2.469
3.068
3.548
4.026
5.074
6.065
7.981
10.020
11.938
13.124
15.000
16.876
18.814
22.626
Note - The above report is an extract from Example 10 of Applib files.
All the devices on this DEVICES TO BE SIZED
list will be sized. ===================
Z001 PIPE
Z002 PIPE
Z003 PIPE
Z004 PIPE
Z005 PIPE
Z006 PIPE
Z007 PIPE
DESCRIPTION
-----------
CASE 1 3INCH
CASE 2 35INCH
CASE 3 4INCH
CASE 4 5INCH
CASE 5 6INCH
4-16 Results
Lift Gas Data
This report shows the
input data for the WELL CAPACITY CALCULATION
LIFT GAS INPUT PRESSURE... 950.0001 PSIG
selected gaslift option. LIFT GAS INPUT TEMPERATURE 100.00 DEG F
GAS ALLOWED TO DISSOLVE... 100.00 PERCENT
GASLIFT VALVE DEPTH....... 5900.0 FT
RATE,
CASE MM FT3/DAY
---- ----------
1 0.0010
2 0.2000
3 0.4000
4 0.6000
5 0.8000
6 1.0000
7 2.0000
8 3.0000
9 4.0000
PVTGEN Results
The stream is flashed SET NUMBER 1
and properties are
PRESSURE TEMPERATURE COMPOSITION
calculated, at each of NO PSIG PSIA DEG F DEG F MOLE FRACT.
the specified __ _____ _____ _____ _____ ______
1 0.0000 14.6959 0.00 0.00 0.003116
temperature/pressure 2 10.0000 24.6959 30.00 30.00 0.006055
pairs. This example has 3 50.0000 64.6959 60.00 60.00 0.007642
5 pressures and 16 4
5
90.0000
130.0000
104.6959
144.6959
90.00
120.00
90.00
120.00
0.018506
0.011347
temperatures and so 80 6 150.00 150.00 0.027595
flashes are required. 7
8
180.00
210.00
180.00
210.00
0.022891
0.027509
9 240.00 240.00 0.037115
10 270.00 270.00 0.050918
11 300.00 300.00 0.049701
12 330.00 330.00 0.040284
13 360.00 360.00 0.035045
14 390.00 390.00 0.031831
15 420.00 420.00 0.029831
16 450.00 450.00 0.028681
80 POINTS FLASHED
TEMPERATURE DEG F
PRESSURE -------------------------------------------------------------
PSIG 210.00 240.00 270.00 300.00 330.00 360.00 390.00
-------- ------- ------- ------- ------- ------- ------- -------
0.00 41.603 42.901 43.919 44.803 45.668 46.572 47.537
10.00 42.524 44.677 46.205 47.384 48.373 49.307 50.267
50.00 42.419 45.030 47.800 50.760 53.944 56.214 57.708
90.00 42.316 44.916 47.673 50.616 53.778 57.196 60.913
130.00 42.214 44.804 47.547 50.472 53.612 57.002 60.683
TEMPERATURE DEG F
PRESSURE --------------------
PSIG 420.00 450.00
-------- ------- -------
0.00 48.565 49.657
10.00 51.287 52.377
50.00 58.977 60.179
90.00 64.248 65.998
130.00 64.703 69.117
4-18 Results
Intermediate PRINTOUT Example
For network calculations, the intermediate printout details the path
that the program took to get to the final solution.
Network
Directory
If the ITER option is CONVERGENCE TOLERANCE 1.00 PSI PRESSURE IMBALANCE AT SELECTED NODES
not specified on the (RMS VALUE USED FOR STEP-SIZE SELECTION)
PRINT statement, then
only the maximum and ITERATION NUMBER 0. 0
MAX PRESSURE IMBALANCE = 1.281 PSI AT NODE J2
RMS (root mean RMS AVERAGE PRESSURE IMBALANCE = 1.281 PSI
square) average
pressure imbalances are
printed.Spur links are ITERATION NUMBER 1. 0
printed after the MAX PRESSURE IMBALANCE =
RMS AVERAGE PRESSURE IMBALANCE =
0.291 PSI AT NODE J2
0.291 PSI
network has converged.
********************************************
PBAL SOLUTION CONVERGED AFTER 1 ITERATIONS
********************************************
Inflow
Performance
The IPR coefficient is INFLOW PERFORMANCE CALCULATION RESULTS
calculated from well --------------------------------------
test data and used in all
subsequent WELL NAME PROD
IPR TYPE PI
calculations. TEST DATA TEST 1
FLOW RATE 421.1(BPD)
GOR 500.(CFBBL)
OUTLET PRESSURE 142.0(PSIG)
OUTLET TEMPERATURE 109.0(F)
CALCULATED RESULTS
Flash Report
By default, flash NODE SINK AT 6.7 DEG C AND 87.0 BAR
reports are produced
for every node in a --------------------MOLE FRACTION-------------------
compositional run
----HYDROCARBON---- COMBINED TOTAL
unless property tables COMPONENT VAPOR LIQUID1 VAP+LIQ1 LIQUID2 STREAM
are being used. The ----------------- -------- -------- -------- -------- --------
reports can be N2
CO2
0.004003
0.004121
0.000442
0.003518
0.004000
0.004120
0.000000
0.000000
0.004000
0.004120
suppressed by C1 0.957304 0.384112 0.956800 0.000000 0.956800
specifying C2
C3
0.033951
0.000289
0.055872
0.001288
0.033970
0.000290
0.000000
0.000000
0.033970
0.000290
FLASH=NONE on the NC4 0.000099 0.001172 0.000100 0.000000 0.000100
PRINT statement. NC5
NC6
0.000019
0.000009
0.000588
0.000697
0.000020
0.000010
0.000000
0.000000
0.000020
0.000010
C7PLUS 0.000204 0.552312 0.000690 0.000000 0.000690
PHASE PROPERTIES
----------------
MASS FRACTION 0.995225 0.004775 1.000000 0.000000 1.000000
VOLUME FRAC 0.999487 0.000513 1.000000 0.000000 1.000000
DENSITY LB/FT3 4.76 44.41 0.00
ACTUAL SPGR 0.577239 0.712141 0.000000
VISCOSITY CP 0.0132 0.2573 0.0000
ENTHALPY KCAL/KG 26.474 2.178 0.000 26.358
SURF TENS NEWTON/M 0.016 0.000
MOLECULAR WT 16.7238 91.1003 16.7892 0.0000 16.7892
4-20 Results
Separator Report
A report is produced SEPARATOR S016 AT 20.6 DEG C AND 103.5 BAR
for every separator
----------- MOLE FRACTION ------------
present in a
compositional run FLUID FLUID
COMPONENT FEED REMAINING REMOVED
unless property tables --------- ---------- ---------- ----------
are being used. CO2 0.009900 0.009900 0.000000
C1 0.200000 0.200000 0.000000
C2 0.210000 0.210000 0.000000
C3 0.520000 0.520000 0.000000
IC4 0.021100 0.021100 0.000000
NC4 0.014000 0.014000 0.000000
NC5 0.007500 0.007500 0.000000
NC6 0.007500 0.007500 0.000000
NC7 0.005000 0.005000 0.000000
NC10 0.005000 0.005000 0.000000
LIQUID PHASE
------------
LIQUID M3/HR 259.62 259.62 0.00
DENSITY KG/M3 430.70 430.70 0.00
VISCOSITY CP 0.066 0.066 0.000
ENTHALPY KCALKG 13.84 13.84 0.00
MOLECULAR WEIGHT 37.33 37.33 0.00
Node Summary
This report shows the BASE CASE
rate, pressure, and NODE SUMMARY
temperature at each NODE PRES. -------GAS---- ------OIL------ ----WATER------ TOTAL TEMP
source, sink and RATE GRAV RATE GRAV RATE GRAV RATE
junction. By default, (PSIG) (LBHR) (LBHR) (LBHR) (LBHR) (F)
---- ------- -------- ------ -------- ------ -------- ----- -------- -------
the report appears on FEED 114.0 * 0. 0.000 1500000. 0.870 0. 0.000 1500000. *60.0000
every PIPEPHASE 0.0000(MMCFD) 4919.48(BPH) 0.00(BPH)
output. You may J1 106.3 0. 0.000 0. 0.870 0. 0.000 0. *1.002E2
0.0000(MMCFD) 0.00(BPH) 0.00(BPH)
suppress it by J2 92.6 0. 0.000 0. 0.870 0. 0.000 0. *1.424E2
specifying the 0.0000(MMCFD) 0.00(BPH) 0.00(BPH)
SUMM=NEW option PROD 87.4 0. 0.000 -1.500E6 0.870 0. 0.000 -1.500E6 1.824E2
0.0000(MMCFD) -4919.48(BPH) 0.00(BPH)
on the PRINT
statement. * INDICATES KNOWN PRESSURE OR FLOW
** FLOW RATES REPORTED AT USER STANDARD CONDITIONS
4-22 Results
Device Summary
This report gives DEVICE SUMMARY
summary information
C
about each flow device, O ------- OUTLET ------ AVG.
fitting, and equipment LINK DEVI DEVI R INSIDE MEAS ELEV INSITU LIQ
NAME NAME TYPE R DIAM LENGTH CHNG PRESS: TEMP: GLR HOLDUP
item in the simulation. (IN) (FT) (FT) (PSIG) (F) (CFBBL)---
It appears by default on - ---- ---- ---- -------- --------- ------- ------- ------ ------- ------
every output. You may A-B **JUNCTION** RATE= 33632.8 (BPD)
A
287.0 214.4 GLR=
287.0 214.4
617.
suppress it by Z016 PIPE BB 19.000 70000.0 -100.0 242.5 145.4 35. 0.31
specifying B **JUNCTION** PRES= 242.5 (PSIG) TEMP= 159.0 (F)
DEVICE=NONE or
SUMM=NEW on the A1-A ***SOURCE*** RATE= 6827.4 (BPD)
A1
2000.0 220.0 GLR=
2000.0 220.0
617.
PRINT statement. IPR1 IPR 0.000 0.0 0.0 1513.4 220.0 0. 0.00
Z002 TBNG HB 3.476 5000.0 5000.0 418.0 216.1 19. 0.45
Z003 PIPE BB 3.476 1000.0 0.0 287.0 214.5 30. 0.30
This example shows a A **JUNCTION** PRES= 287.0 (PSIG) TEMP= 214.4 (F)
well with an IPR
device, tubing, and a -A ***SOURCE*** RATE= 6598.0 (BPD) 2000.0 220.0 GLR= 617.
surface pipeline. A2
IPR2 IPR 0.000 0.0
2000.0 220.0
0.0 1520.1 220.0 0. 0.00
Z005 TBNG HB 3.476 5500.0 5200.0 388.4 215.4 22. 0.45
Z006 PIPE BB 3.476 800.0 -5.0 287.0 214.1 31. 0.29
A **JUNCTION** PRES= 287.0 (PSIG) TEMP= 214.4 (F)
Velocity
Summary
This report shows BASE CASE
velocities and pressure
VELOCITY SUMMARY
drops for all flow
devices. By default, the PRESSURE
DEVICE DEVICE MIXTURE VELOCITY CRITICAL GRADIENT PRESSURE
report appears on every LINK NAME TYPE (INLET/OUTLET) VELOCITY (INLET/OUTLET) DROP
PIPEPHASE output. (FPS) (FPS) (PSIFT) (PSIG)
You may suppress it by ----
LINK
------
EN1
------
ENTR
---------------- -------- -------------- --------
specifying the LINK PIP0 PIPE 4.41 4.41 0.00 -7.3E-3 -7.3E-3 -2.932E-2
SUMM=OLD option LINK
LINK
PMP1
PIP1
PUMP
PIPE 4.41 4.41 0.00 -7.3E-3 -7.3E-3 -0.2
on the PRINT LINK GAT1 VALV
statement. LINK
LINK
BEN1
PIP2
BEND
PIPE 4.41 4.41 0.00 -0.35 -0.35 -3.5
LINK BEN2 BEND
LINK PIP3 PIPE 4.41 4.41 0.00 -7.3E-3 -7.3E-3 -0.5
LINK BEN3 BEND
LINK PIP4 PIPE 4.41 4.41 0.00 -0.35 -0.35 -10.4
LINK BEN4 BEND
LINK EX1 EXIT
4-24 Results
Results Summary
This report shows the BASE CASE
rate, pressure, and
temperature for each RESULTS SUMMARY
flow device. By
default, the report DEVICE DEVICE MIXTURE PRESSURE TEMPERATURE QUALITY
appears on every LINK NAME TYPE FLOW RATE INLET/OUTLET INLET/OUTLET INLET/OUTLET
PIPEPHASE output. (GPM) (PSIG)
--- ------ ------ --------- -----------------
(F) (FRAC)-
----------------- --------
You may suppress it by ----
specifying the LINK EN1
LINK PIP0
ENTR
PIPE 101.68 -4.72E-2 -7.66E-2 104.00 104.00 0.000 0.000
SUMM=OLD option LINK PMP1 PUMP
on the PRINT LINK PIP1
LINK GAT1
PIPE
VALV
101.68 30.0 29.8 104.00 104.00 0.000 0.000
statement. LINK BEN1 BEND
LINK PIP2 PIPE 101.68 29.7 26.2 104.00 104.00 0.000 0.000
LINK BEN2 BEND
LINK PIP3 PIPE 101.68 26.2 25.6 104.00 104.00 0.000 0.000
LINK BEN3 BEND
LINK PIP4 PIPE 101.68 25.6 15.2 104.00 104.00 0.000 0.000
LINK BEN4 BEND
LINK EX1 EXIT
4-26 Results
Pressure and
Temperature
Plots
Plots are produced for SURFACE PRESSURE PLOT FOR LINK
each link when
30.0 +-PPPPPPPPPPPPP---+-----+-----+-----+-----+-----+-----+-----+
PLOT=FULL is present | P | P | | | |
on the PRINT statement. | P | P | | | |
| P | P | | | |
A temperature plot is 27.0 + P | P | | | +
also generated (not | P | PPPPPPPPPPPPPPPPPP| | |
shown here). The plots | P
| P
|
|
|
|
PPPPPPPPPPP |
| P|
|
|
are produced with the 24.0 +-P---------+-----------+-----------+-----------P-----------+
DEVICE=PART and | P
| P
|
|
|
|
|
|
|P
| P
|
|
DEVICE=FULL | P | | | | P |
options. P
R
21.0 + P
| P
|
|
|
|
|
|
| P
| P
+
|
E | P | | | | P |
S | P | | | | P |
S 18.0 +-P---------+-----------+-----------+-----------+------P----+
U | P | | | | P |
R | P | | | | P |
E | P | | | | P |
15.0 + P | | | | P +
| P | | | | |
| P | | | | |
| P | | | | |
P 12.0 +-P---------+-----------+-----------+-----------+-----------+
S | P | | | | |
I | P | | | | |
G | P | | | | |
9.0 + P | | | | +
| P | | | | |
| P | | | | |
| P | | | | |
6.0 +-P---------+-----------+-----------+-----------+-----------+
| P | | | | |
| P | | | | |
| P | | | | |
3.0 + P | | | | +
| P | | | | |
| P | | | | |
| P | | | | |
0.0 PPP---+-----+-----+-----+-----+-----+-----+-----+-----+-----+
0.0 30.0 60.0 90.0 120.0 150.0
DIST. FROM 1ST SURFACE DEVICE INLET FT
4-28 Results
Phase Envelope
Plot
This plot is produced P H A S E E N V E L O P E
for compositional fluids
P 750.+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+
when the PLOT=FULL : : : : : :
option is present on the R : : : : : :
: : : : : :
PRINT statement. The E 675.+ : : : : +
plot is produced with : : : : : :
the DEVICE=PART S :
:
:
:
:
:
:
:
:
:
:
:
and DEVICE=FULL S 600.+-----------+-----------+-----------+-----------+-----------+
options. U
:
:
:
:
:
:
:
: B
P :
B:
:
:
: : : : :C :
R 525.+ : : : : D +
: : : : B : :
E : : : : : :
: : : :B : D :
450.+-----------+-----------+-----------+-----------+-----------+
P : : : : : :
S : : : B: : :
I : : : : : :
G 375.+ : : : : D +
: : : B : : :
: : : : : T :
: : : : : :
300.+-----------+-----------+------B----+-----------+-----------+
: : : : : :
: : : B : : :
: : : : : D :
225.+ : : B : : +
: : : : : :
: : : B : : :
: : B : : D :
150.+-----------+----------B+-----------+-----------+-----------+
: : : : : :
: X X : IB : : DI :
: : B : : : :
75.+ : B : : D: +
: : BB : : : :
: : BB : : D : :
: B:BB : : D D : :
0.+-----+-B-B-+-----+-----+-----+-----+----D+-----+-----+-----+
0. 125. 250. 375. 500. 625. 750. 875. 1000. 1125. 1250.
T E M P E R A T U R E F
4-30 Results
Pressure
Gradient Detail
Report
DEVICE=FULL is PRESSURE GRADIENT DETAIL REPORT
required to produce this -------------------------------
DEVICE
report. NAME
AND SEGM. --PRESSURE GRADIENT---- ---PRESSURE DROP---
TYPE NO: FRIC ELEV TOTAL FRIC ELEV
(PSIFT) (PSIFT) (PSIFT) (PSIG) (PSIG)
------ ---- -------- -------- -------- -------- --------
EN1 0000
(ENTR) 0001
PIP0 0000
(PIPE) 0001 -0.0073 0.0000 -0.0073 -7.33E-3 0.0
0002 -0.0073 0.0000 -0.0073 -7.33E-3 0.0
0003 -0.0073 0.0000 -0.0073 -7.33E-3 0.0
0004 -0.0073 0.0000 -0.0073 -7.33E-3 0.0
(PUMP) 0000
PMP1 0001
PIP1 0000
(PIPE) 0001 -0.0073 0.0000 -0.0073 -5.50E-2 0.0
0002 -0.0073 0.0000 -0.0073 -5.50E-2 0.0
0003 -0.0073 0.0000 -0.0073 -5.50E-2 0.0
0004 -0.0073 0.0000 -0.0073 -5.50E-2 0.0
(VALV) 0000
GAT1 0001
(BEND) 0000
BEN1 0001
PIP2 0000
(PIPE) 0001 -0.0073 -0.3394 -0.3467 -1.83E-2 -0.8
0002 -0.0073 -0.3394 -0.3467 -1.83E-2 -0.8
0003 -0.0073 -0.3394 -0.3467 -1.83E-2 -0.8
0004 -0.0073 -0.3394 -0.3467 -1.83E-2 -0.8
(BEND) 0000
BEN2 0001
PIP3 0000
VSG
4-32 Results
Link Property Detail Report
Note: This option can generate very large output files.
Viscosity and
Density Results
Detailed property BASE CASE
tables for any or all LINK "1 " PROPERTY DETAIL REPORT
links are produced by VISCOSITY AND DENSITY RESULTS
specifying the -----------------------------
DEVICE
PROPERTY=PART or NAME
PROPERTY=FULL AND SEGM ----------VISCOSITY---------- ------------DENSITY------------
options. TYPE NO OIL
(CP)
LIQ
(CP)
VAP
(CP)
LIQ VAP SLIP NO-SLIP
(LB/CF) (LB/CF) (LB/CF) (LB/CF)
------ ---- --------- --------- --------- ------- ------- ------- -------
Z001 0000
(PIPE) 0001 2.305 2.305 0.000 54.372 0.000 54.372 54.372
Z002 0000
(TEE ) 0001
Z003 0000
(PIPE) 0001 2.303 2.303 0.000 54.370 0.000 54.370 54.370
E1 0000
(DPDT) 0001
Z005 0000
(PIPE) 0001 1.583 1.583 0.000 53.416 0.000 53.416 53.416
Z006 0000
(VENT) 0001
Z007 0000
(CONT) 0001
Z008 0000
(PIPE) 0001 1.582 1.582 0.000 53.415 0.000 53.415 53.415
Friction and
Surface Tension
Results
This report shows the FRICTION AND SURFACE TENSION RESULTS
friction factor and the ------------------------------------
DEVICE
parameters used to NAME LIQ
calculate it. The report AND SEGM --------------FRICTION------------ FRIC. REYNOLDS SURFACE
TYPE NUM. DENSITY VELO ID. VISCOSITY FACTOR NUMBER TENSION
is produced by (LB/CF) (FPS) (IN) (CP) (DN/CM)
specifying the ------ ---- ------- ------- -------- --------- -------- -------- --------
PROPERTY=PART or Z001 0000
(PIPE) 0001 54.372 9.76 12.000 2.305 0.0156 3.4248E5 29.83
PROPERTY=FULL Z002 0000
options. (TEE ) 0001
Z003 0000
(PIPE) 0001 54.370 14.05 10.000 2.303 0.0155 4.1134E5 29.83
E1 0000
(DPDT) 0001
Z005 0000
(PIPE) 0001 53.416 9.93 12.000 1.583 0.0150 4.9879E5 27.87
Z006 0000
(VENT) 0001
Z007 0000
(CONT) 0001
Z008 0000
(PIPE) 0001 53.415 14.30 10.000 1.582 0.0150 5.9868E5 27.87
4-34 Results
Slug Report
SLUG is specified with SLUG SIZING AND SLUG DELIVERY MODEL (BRILL ET AL)
DEVICE=PART or ------------------------------------
PREDICTED MEAN SLUG LENGTH = 635.4 M
DEVICE=FULL to THE PREDICTED MAX SLUG LENGTH FROM CORRELATION IS TOO LARGE
produce these reports.
ADJUSTED MEAN SLUG LENGTH = 312.5 M
The Brill, Norris or 84.1300 PERCENT PROBABILITY THAT SLUG LENGTH IS .LE. 515.2 M
Scott method may be 97.7200 PERCENT PROBABILITY THAT SLUG LENGTH IS .LE. 849.3 M
used for the slug 99.8600
99.9900
PERCENT PROBABILITY
PERCENT PROBABILITY
THAT
THAT
SLUG
SLUG
LENGTH IS
LENGTH IS
.LE.
.LE.
1393.1
2006.7
M
M
calculations. 99.9999 PERCENT PROBABILITY THAT SLUG LENGTH IS .LE. 3365.5 M
The report will not SLUG DELIVERY
appear if the flow is not -------------
two-phase or if THE GAS BUBBLE VELOCITY IS
THE LIQUID FILM VELOCITY IS
=
=
7.2 M/SEC
0.9 M/SEC
conditions are outside THE GAS VELOCITY IS = 6.7 M/SEC
the range of the 50.0000 PERCENTILE SLUG
correlation. --------------------------
THE LIQUID SLUG DELIVERY TIME IS= 43.38 SECS
SLUG DELIVERY MODEL NOT APPLICABLE
Note: With
84.1300 PERCENTILE SLUG
DEVICE=FULL, you --------------------------
will get output for the THE LIQUID SLUG DELIVERY TIME IS= 71.51 SECS
total liquid in slug unit. SLUG DELIVERY MODEL NOT APPLICABLE
CASE STUDY 1
CASE STUDY 2
4-36 Results
Nodal Analysis
(sensitivity)
4-38 Results
Sphering Report
The sphering report is BASE CASE
produced when sphering
*******************
calculations are * SPHERING REPORT *
performed and *******************
DEVICE=PART, or
greater, is specified in the INLET ----RE-EST: FLOW ZONE-- ----------------SPHERE-----------------
print options. The effect -----BEHIND SPHERE----
PRESS: FLOW
of the sphere is followed TIME PRES: DISTANCE PRESS: TEMP: DISTANCE DROP PRESS: TEMP: RATE
along the length of the (SECS) (PSIA) (FT) (PSIA) (F) (FT) (PSIA) (PSIA) (F) (LBHR)
------- ------- -------- ------- ------ -------- ------- ------- ------ ----
pipeline.
SPHERE NUMBER 1 LAUNCHED FROM STATION 1
This report shows the 19.0 360.4 32.1 360.3 119.9 494.3 8.5 359.5 118.4 41370.
38.0 361.7 64.1 361.5 119.8 984.7 8.5 359.8 116.7 41370.
conditions at the inlet, at 57.0 361.7 96.2 361.4 119.7 1475.1 8.5 358.8 115.1 41370.
the re-established two- 76.0 363.0 128.1 362.6 119.6 1959.5 8.5 359.2 113.5 41370.
phase flow zone, and at 95.0
114.0
363.0
364.2
160.2
191.9
362.5
363.7
119.5
119.4
2449.5
2928.8
8.5
8.5
358.2
358.6
112.0
110.6
41370.
41370.
the sphere. 133.0 364.2 224.0 363.6 119.3 3417.1 8.5 357.6 109.2 41370.
152.0 365.4 255.6 364.7 119.1 3891.6 8.5 357.9 107.8 41370.
171.0 367.1 286.9 366.3 119.0 4356.4 8.5 358.7 106.5 41370.
190.0 368.5 318.3 367.6 118.9 4819.6 8.5 359.2 105.3 41370.
209.0 369.8 349.6 368.8 118.8 5280.9 8.5 359.6 104.2 41370.
228.0 371.0 380.8 370.0 118.7 5740.0 8.5 359.9 103.1 41370.
Finally, the time STEADY STATE NOT REACHED YET. TIME IS 30329.94 SECS.
required for the STEADY STATE NOT REACHED YET. TIME IS 30492.76 SECS.
STEADY STATE NOT REACHED YET. TIME IS 30655.57 SECS.
pipeline to return to STEADY STATE NOT REACHED YET. TIME IS 30818.38 SECS.
steady state is shown. STEADY STATE NOT REACHED YET. TIME IS 30981.19 SECS.
STEADY STATE NOT REACHED YET. TIME IS 31144.01 SECS.
Specifying
DATA=FULL on the
PRINT statement
creates a binary file
which can be used by
the GUI to produce
graphical and tabular
reports.
4-40 Results
PIPEPHASE 9.0 Keyword Manual 4-41
4-42 Results
PIPEPHASE 9.0 Keyword Manual 4-43
4-44 Results
Chapter 5
Technical Reference
2 2
mv 1 g mv 2 g (5-2c)
Q + Ws + U 1 + p 1 V 1 + ---------- + mZ 1 ----- = U 2 + p 2 V 2 + ---------- + mZ 2 -----
2g c gc 2g c gc
where:
Q= the heat added to, or taken away from, the fluid
(e.g., by a heat exchanger, or by transfer to or from
the surroundings)
Ws = the shaft work done on or by the fluid (e.g., by a
pump, or in a turbine)
dw rev = pdV
1 (5-6)
Z pd ---
ρ
and
dq rev = Ó TdS (5-7)
where:
ds = the differential specific entropy change in a system
T= the absolute temperature value at which q is exchanged.
where:
Lw = lost friction work
When computing the total pressure drop, Dp, the lost work due to
friction must be expressed in more common terms. The loss
component from equation (11), r(dLw/dL), can be more explicitly
defined by performing a simple force balance on a section of
circular pipe between the wall shear stress (which accounts for the
frictional losses) and pressure forces (Figure 5-3).
2
dp-dL π g c d i = τ ( π d )dL
p 1 Ó p 1 Ó ----- ---------------
- (5-13)
dL 4 w i
where:
tw = the shear stress, or shear resistance to flow
di = the internal pipe diameter
For a laminar flowing fluid, the following equation for the Darcy-
Weisbach friction factor can be derived analytically from
Poiseuille’s equation:
64 µ-
f d = ---------- (5-20)
ρvd i
where:
µ= the fluid viscosity
This number is used as a basis for many pressure drop- and heat
transfer-related correlations.
Turbulent Flow
As the flowrate of a fluid is increased from laminar flow conditions,
the fluid particles begin to move randomly in all directions of flow,
and in a more haphazard fashion as velocities increase. As the
flowrate increases even further, the fluctuations in the behavior of
the particles becomes more significant, and the flow is termed
turbulent.
Typically, the transition between laminar flow and full turbulent
flow occurs over a region between Reynolds numbers of 2000 and
3000.
q
v s G = -----G- for the gas (5-23b)
A
where:
q= the volumetric flowrate of the phase
A= the cross-sectional area of the pipe
νs = the superficial velocity of the phase
νM = νs L + νs G (5-24b)
where:
subscript M refers to the mixture
Liquid & Gas Holdup - Slip & No-Slip
Liquid holdup, HL, is defined as the fraction of the pipe’s cross-
sectional area occupied by liquid (see Figure 5-7):
A
H L = -----L- (5-25)
A
The slip velocity is defined as the difference between the actual gas
and liquid velocities:
νs = νG Ó νL (5-27)
Now,
qG
ν G = ------
- (5-28a)
AG
q
ν L = -----L- (5-28b)
AL
where:
x= liquid viscosity, density, or surface tension
VOLFR = volume fraction
subscripts HC and WAT refer to the hydrocarbon
and aqueous phase respectively
Other viscosity mixing rules, e.g., the API methods and the
Woelflin procedure (for cases involving water-in-oil emulsions) are
also available in PIPEPHASE.
Two-phase Flow Pressure Drop
The formula for calculating the pressure drop for two-phase fluids
in pipes is analogous to the equivalent single-phase flow version
shown in equation (19), except that the friction factor and physical
properties are replaced by their two-phase equivalents:
2
fM ρM νM ρM νM d νM
Ó dP g ρ sin θ + --------------------
------- = ----- M - + ------------------------- (5-34)
dL gc 2g c d i gc dL
Figure 5-8: Flow Regimes in Two-phase Flow (using Beggs & Brill Terminology)
Single-phase Flow
Table 5-1 lists recommendations for the single-phase pressure drop
correlations available in PIPEPHASE. The recommendations are
provided to help the user choose the most appropriate correlation
for a given application. For users who need more information, see
Appendix A, Pressure Drop Correlations
Two-phase Flow
Table 5-2 lists the available two-phase empirical correlations in
PIPEPHASE for vertical flow. For horizontal or inclined flow, the
available correlations are listed in Table 5-3. In addition,
PIPEPHASE offers several hybrid correlations, see Table A-3 in
Appendix A.
While the extensive selection of correlations available in
PIPEPHASE offers a variety of methods for predicting two-phase
fluid flow behavior, it also presents the typical user, who is not
necessarily an expert in fluid flow methods, with a problem in
selecting the appropriate correlation. Table A-2 in Appendix A
presents a set of recommendations for selecting the appropriate
correlation from the range of available choices.
Mechanistic Models
PIPEPHASE supports the following mechanistic two-phase flow
correlations:
5-20 Technical Reference
■ The Ansari model for vertical flow
■ The Xiao model for horizontal and near-horizontal flow
■ The comprehensive TACITE hydrodynamic model, and
■ The comprehensive OLGA hydrodynamic model.
Holdup (Hl )
2
( V m Ó V s ) + 4V s + V sl
H l = V s Ó V m + ------------------------------------------------------------
-
2V s
V s calculated from correlation
Friction (dp/dL)
dp-
----- f m ρ l V sl V m
= -------------------------
dL f 2g c d 144
f m from correlation
Elevation (dp/dL)
dp-
----- ρ tp V sl g sin ϕ
= -----------------------------
-
dL e g c 144
ρ tp = ρ l H l + ρ g H g
Acceleration (dp/dL)
dp-
-----
dL acc = 0
ρ tp = ρ l H l + ρ g H g
Mist flow
Holdup (HL)
V sl
H l = λ l = ----------------------
V sl + V sg
Friction (dp/dL)
2 2
dp-
----- f ρ g V °sg V sg d
= -----------------------
-V °sg = ------------------
-
dL f 2g c d 144 2
(d Ó ε)
f calculated from Moody diagram
ε = roughness from pipe and liquid film
Elevation (dp/dL)
Same as bubble and slug flow
Acceleration (dp/dL)
dp-
----- V m V sg ρ n dp
- ------
= ---------------------
dL acc g c P 144 dL T
ρn = λl ρl + ( 1 Ó λl ) ρg
A 1 = f(dimensionless numbers), 0 ≤ A1 ≤ 1
B1 = 1 Ó A1
Friction (dp/dL)
dp-
----- dp-
----- dp-
-----
dL f = A 1 dL f, slug + B 1 dL f, mist
Elevation (dp/dL)
dp-
----- dp
= A 1 ------
dL e dL e, slug
Acceleration (dp/dL)
dp-
----- dp-
----- dp-
-----
dL acc = A 1 dL acc, slug + B 1 dL acc, mist
Friction (dp/dL) 2
dp- f ρt Vm
----- = -----------------------
-
dL f 2g c d 144
2
ρ
ρ t = -----n-
ρs
ρs = ρl Hl + ρg Hg
1488 ρ n V m d
µ s = µ l H l + µ g H g = ----------------------------
-
N Re
Elevation (dp/dL)
dp-
----- ρ s g sin ϕ
= -------------------
-
dL e g c 144
Acceleration (dp/dL)
dp-
----- V m V sg ρ n dp
- ------
= ---------------------
dL acc g c P 144 dL T
Vm V m 2 V sg
H l = 1 Ó 1--- 1 + ------
- Ó 1 + ------
- Ó 4 -------
- V s = 0.8ft ⁄ s
2 Vs Vs Vs
Friction (dp/dL)
V sl 2
f ρ l -------
dp-
----- Hl
= -----------------------
-
dL f 2g c d 144
Elevation (dp/dL)
Same as Hagedorn & Brown elevation
Acceleration (dp/dL)
Same as Duns & Ross bubble flow acceleration
Slug flow
Holdup (HL)
ρs Ó ρg
H l = ----------------
-
ρl Ó ρg
ρ s = ρ l ( V sl + V b ) + ρ s V sg + ρ l δ
V b = f ( N Re ) N Re = f ( V b ) (calculation is iterative)
δ = Distribution coefficient based on the continuous phase and mixture velocity.
The liquid phase is oil continuous for water cuts < 50% and water continuous
for water cuts >50%.
Friction (dp/dL) 2
dp-
----- f ρt Vm
= -----------------------
-
dL f 2g c d 144
Mist flow
Holdup (HL), Friction (dp/dL)
Same as Duns & Ross.
Elevation (dp/dL)
Same a bubble flow.
Acceleration (dp/dL)
dp-
----- V m V sg ρ m dp
- ------ .
dL acc = ----------------------
g c P 144 dL T
Friction (dp/dL)
Elevation (dp/dL)
Acceleration (dp/dL)
Angel-Welchon-Ross
Holdup (HL)
Hl = λl (no-slip holdup)
Friction (dp/dL) 2
dp-
----- f tp ρ n V m
= -----------------------
-
dL f 2g c d 144
Elevation (dp/dL)
Acceleration (dp/dL)
Aziz
Bubble flow
Holdup (Hl )
V sg
H l = 1 Ó -------
- V bf = 1.2V m + V bs
V bf
Friction (dp/dL)
2
dp-
----- f ρs Vm
1488 ρ l V m d
dL f = 2g
-----------------------
-
N Re = ---------------------------
-
c d 144 µl
f from Moody diagram
ρ tp = ρ l H l + ρ g H g
Acceleration (dp/dL)
Same as Duns & Ross
Slug flow
Holdup (HL)
V sg
H l = 1 Ó -------
- V bfsl = 1.2V m + V bsl
V bf
dg ( ρ l Ó ρ g )
V bsl = C ---------------------------
-
ρl
Friction (dp/dL)
2
dp-
----- f ρl Vm Hl 1488 ρ l V m d
= -----------------------
- N Re = ---------------------------
-
dL f 2g c d 144 µl
Mist flow
Holdup (HL), Friction (dp/dL)
Same as Duns & Ross.
Elevation (dp/dL).0
Same as bubble flow.
Acceleration (dp/dL)
Same as Hagedorn & Brown.
Transition flow
Holdup (HL)
H l = A s ( H l ) slug + B 3 ( H l )slug
A 3 = f (dimensionless numbers) 0 ≤ A3 ≤ 1
B3 = 1 Ó A3
Friction (dp/dL)
dp-
----- dp-
----- dp-
-----
dL f = A 4 dL f, slug + B 4 dL f, mist
Acceleration (dp/dL)
dp-
----- dp dp
= A 3 ------ + B 3 ------
dL acc dL acc, slug dL acc, mist
ϕ = 0 ψ = 0
when
ϕ ¼ 0 ψ = 1 + C [ sin ( 1.8 ϕ ) Ó 0.33 sin ( 1.8 ϕ ) ]
1 f g
C = ( 1 Ó λ l ) ln ( d λ l eN lv N Fr )
a ,b ,c ,d ,e ,f ,g = constants, f ( flow pattern )
Friction (dp/dL)
2
dp-
----- f ρs Vm s 1488 ρ l V m d
= -----------------------
- f tp = e f n N Re = ---------------------------
-
dL f 2g c d 144 µl
f n from Moody diagram for smooth pipe
y
S = -------------------------------------------------------------------------------------------------------
2 4
Ó 0.0523 + 3.182y Ó 0.8725y Ó 0.01863y
y y
S = ln ( 2.2e Ó 1.2 ) if 1 < e < 1.2
λl
y = ln -----2-
µl
Elevation (dp/dL)
Same as Aziz.
Acceleration (dp/dL)
Transition flow
Holdup (HL)
H l = A 4 ( H l ) seg + B 4 ( H l ) int
A 4 = f(dimensionless numbers) 0 ≤ A4 ≤ 1
B4 = 1 Ó A4
Gray
Holdup (HL)
1
A
Hl = 1 Ó Hg 1Óe -
H g = ----------------
R+1
1
205- B
A = Ó 2.314 N v 1 + --------
1
Nd
Acceleration (dp/dL)
Same as Hagedorn & Brown.
Flannigan
Holdup (HL)
1
H l = --------------------------------------
-
1.05
1 + 0.3264V sg
Acceleration (dp/dL)
Same as Duns & Ross bubble flow.
Eaton
Holdup (HL)
Friction (dp/dL)
2
dp-
----- f tp ρ n V m
dL f = -----------------------
2g c d 144
-
Acceleration (dp/dL)
2 2
dp-
----- W l DV l + W g DV g
= ------------------------------------------
-
dL acc 2g c q m DP L 144
---f- = 1 + ----------------------------------------------------------------------------------------------------------------------------
y -
fn 1.261 + ( Ó 0.478y ) + 0.444y Ó 0.094y + 0.0084y
2 3 4
Elevation (dp/dL)
Same as Aziz.
Acceleration (dp/dL)
2 2
dp-
----- 1 ρ g V eg ρ l V sl
- D --------------
= ------------------------------- + ------------
dL acc 2g c DP L 144 H g Hl
Friction (dp/dL)
2
dp-
----- f ρm Vm
1488 ρ nV m d
dL f = -----------------------
2g c d 144
-
N Re = -----------------------------
-
µg
f from Moody diagram
Elevation (dp/dL)
Same as Aziz.
Friction (dp/dL)
Same as bubble flow, but use mn in Reynolds number.
Acceleration (dp/dL)
Same as bubble flow.
Definition of a Network
A PIPEPHASE network is defined as a system of two or more links
joined together. A link is defined as a connection between two
nodes. A node can be a sink (where fluid leaves the system), a
source (where fluid enters the system), or a junction (where two
links join together).
The network solution algorithm can be used to solve any type of
pipeline network, from complex, multiphase looped systems to
single-phase gas transmission lines.
Internally, PIPEPHASE generates a set of material and pressure
balance equations from the input data, and proceeds to solve these
equations simultaneously using a Newton-Raphson scheme and a
matrix solver. As will be seen in the following section, almost any
combination of flow and pressure node conditions can be solved,
which gives you tremendous flexibility in solving a wide variety of
problems.
● You may then specify the details of the structure within the
links. The devices appearing in each link should be ordered
sequentially in the direction dictated by the FROM=/TO=
statement (see Chapter 3, Input Reference), or, in the case
of loop links, the expected direction of flow.
● Assuming all other categories of input are satisfied, you
are then ready to run the simulation. When problems are
encountered, a printed iteration history can assist in diag-
nosing which course of action to take to produce a solu-
tion. To do this, use the ITER keyword in the PRINT
statement prior to executing the run.
There are several additional tips on the setting up of networks, and
these are given in a later section on Converging Network
Simulations.
986- + 0.01M
X = 3.5 + -------- (5-41)
TA
where:
TA = Temperature in Rankine
where:
T= temperature in ºF
CpG = heat capacity in BTU/lb
Single-phase Liquid
The single liquid phase fluid model is used when there is no gas
phase present throughout the simulation. The liquid specific gravity
is used to calculate required physical properties. With the non-
compositional single-phase fluid model the you are able to specify
the liquid as water or hydrocarbon, and in doing so activate the
relevant default physical property correlations.
Hydrocarbon Liquid Viscosity, µL
You have the choice between the TUFFP (Vazquez/Beggs)10
(default, described below) and Beal-Standing/Chew-Conally11
correlations for hydrocarbon liquid viscosity calculations. The latter
method is based on an API gravity of 60 or lower, and a temperature
of 300ºF or lower. Also, PIPEPHASE sets a minimum viscosity of
0.2 cP and a maximum of 10,000 cP for the Beal-Standing/Chew-
Conally method.
The TUFFP (Vazquez/Beggs) correlation is based on gravities in
the range 16 < API < 58, temperatures in the range 70 < T (ºF) <
295, and pressures in the range 0 < P (psig) < 5250.
x
µ L = 10 Ó 1 (5-43)
3.0324 Ó 0.02023API
X = 10
----------------------------------------------- (5-44)
1.163
T
PIPEPHASE 9.0 Keyword Manual 5-45
Water Viscosity, µw
You have the choice between the Beal (default) and ASME12 steam
table methods.
Specific Heat Capacity, Cp
The specific heat capacity is evaluated as a function of oil gravity
(degree API) and temperature (degree F):
C p ( BTU / lb ) = 0.33 + 0.0022 ⋅ API + 0.00055 ⋅ T (5-45)
Oil-water Viscosity, µL
Oil-water mixture viscosity may be determined from volumetric
mixing, or by the following API Procedure 14B.
q (5-46)
R = -----o-
qw
For R > 1,
µL = µ1 + µ2 µ3 (5-47)
For R < 1,
µ L = µ 2 ( 1 + 2.5R ) (5-48)
where
API
A = ---------------------
( T + 460 )
Where D = (------------------------------
T Ó 60 )API
SG
For P > Pb, see oil compressibility
(discussed under Blackoil Physical
Properties).
STANDIN For P < P b , Experimental 70
G accuracy was 5%
1.175
B 0 = 0.972 + 0.000147F
Where 0.5
g γ
F = R s ----------
- + 1.25T
γ osc
For P > Pb, see oil compressibility
(discussed under Blackoil Physical
Properties).
Condensate
PIPEPHASE simulates gas condensate systems using the API
Procedure 14B model. For these systems, gas may or may not
condense depending on the in situ pressure and temperature. This
model assumes no liquid is present below the dew point pressure. In
situ condensate flowrate is calculated by multiplying the standard
volumetric flowrate by a pseudoformation volume factor (pseudo-
FVF).
The pseudo-FVF is the ratio of in situ condensate mass to the mass
of condensate at stock tank conditions. The model assumes the
condensate density is constant and equal to the density at stock tank
conditions. (Since densities are assumed constant, the definition is
based on mass.) The pseudo-FVF is a function of condensate
specific gravity, dew point pressure, pressure, and temperature.
Dew point pressure, mass phase split (mass distribution between the
liquid and vapor phases), and surface tensions of condensate and
water are calculated from empirical relationships. Dew point
pressure is a function of condensate specific gravity and
temperature.
Property Method
Steam quality and enthalpy SimSci steam package53
Steam viscosity SimSci component library
Water enthalpy SimSci steam package
Water viscosity Bingham & Jackson32 data
Steam and water densities ASME steam tables (1967)
The change in the fluid temperature due to heat transfer from the
fluid is given in differential form as:
dq· = mC p dT· (5-50)
where:
dq· = the rate of heat change in the fluid (superscript to denote
difference with equation (49))
m= the mass flowrate
Cp = the specific heat capacity of the fluid
dT· = the differential change in fluid temperature (superscript
to denote difference with equation (49))
Figure 5-17: Heat Transfer for Compositional Fluid Models and Steam
Σ Resis tan ces = Rinside, film + Rpipe + Rinsulation + Rsurr + Rinside + Routside + Rrad
n dj
1 1
R insulation = ------ d ∑ ---- log e ----------- (5-58)
24 k d j Ó 1
j=1 j
2 2 0.5
dlog e [ ( 2D + ( 4D Ó D t ) ) ⁄ D t ]
R surr = ----------------------------------------------------------------------------------
- (5-59)
24k surr
where:
D= depth from top of soil to pipe center line
Dt = diameter of pipe plus insulation
ksurr = thermal conductivity of surroundings
Compressor
PIPEPHASE uses the standard GPSA equation to relate compressor
power and outlet pressure:
Ó 1-
k----------
k
1545mz avg T inlet ( P 2 ⁄ P 1 ) Ó1
Power = --------------------------------------------------------------------------------------- (5-67)
550M η adia [ ( k Ó 1 ) ⁄ k ]
DPDT Devices
DPDT devices simulate equipment for which no standard
PIPEPHASE model exists. These devices are typically used to
model the performance of specially designed valves and fittings.
For these devices, you supply data relating the fluid flowrate, the
pressure change and temperature change in tabular form.
PIPEPHASE linearly interpolates this table during calculations, and
therefore you should ensure that data entered covers the whole
range of anticipated equipment process conditions. If the entered
range of data is exceeded at any point in during the simulation,
PIPEPHASE uses the last tabular data point. Therefore if you are
unsure as to the likely simulation range, then a dummy high or low
value should be entered in this device in order that a reasonable
value is selected by PIPEPHASE in any possible simulation
condition.
Chokes
The fluid model type you have chosen dictates which correlations
are used for calculating the pressure drop across a choke
Single-phase Gas and Single-phase Liquid Models
For these fluid models, the choke pressure drop is calculated from
equations (69-73) based on a square-edged orifice (shown in Figure
5-19).
∆ P = ∆ P1 Ó ∆ P2 (5-69)
2
( ν o ρ o ⁄ 96.26YC )
∆ P 1 = --------------------------------------------
- (5-70)
ρ1
ν2 ρ ν2 ρ νo
2
-----------
o o Ó ----------- 2 2 2 2
Ó ρ o --------- -(1 Ó β )
64.4 64.4 64.4
∆ P 2 = ---------------------------------------------------------------------------------------------------------- (5-71)
144
4
Y = 1 Ó ( 0.41 + 0.35 β ) ( 1 ⁄ k ) ( 1 Ó Po ⁄ P 1 )
4 0.5
C = D dis ⁄ ( 1 Ó β ) (5-72)
β = d0 ⁄ d1 (5-73)
where:
k= the specific heat ratio, Cp/Cv
Y= the gas expansion factor for nozzles
Ddis = orifice discharge coefficient
Where:
P1= Inlet pressure (psia for Ros and psig for others)
ql =Liquid flow rate (stb/day)
Rp= Producing Gas-Liquid Ratio Scf/stb
d= Diameter of the choke in 64ths of an inch
5-64 Technical Reference
A,B,C are constants. The standard values of these constants are
as follows:
Check Valves
Check valves are used to permit flow in one direction only; to effect
this the valve closes to prevent backflow. In PIPEPHASE, these
actions are similarly simulated and the relevant pressure drop
calculations use the square-edged orifice equations as per the choke
Separators
The phase split at separator conditions is determined from the fluid
model equilibrium calculations. The separator model then removes
a user-specified percentage volume or volumetric rate of fluid from
a phase or phases.
Blackoil
The phase split is determined using the blackoil empirical
correlations. Only gas may be removed from the system.
Condensate
The phase split is determined from the condensate model
equilibrium calculations. Condensate and/or water may be removed
from the system.
Fittings
PIPEPHASE allows you to specify the pipe fittings shown in Table
5-7 as flow devices within any link:
Table 5-7: Fitting Devices Modeled by PIPEPHASE
Expansion Contraction
Valve Bend
Orifice Nozzle
Venturimeter Entrance
Exit Tee
With the exception of the nozzle and venturimeter devices, all other
fittings pressure drop equations are taken from the Crane59 manual.
The nozzle and venturimeter pressure drop equations have been
taken from Blevins61. You are referred to these publications for
further details concerning these formulations.
Two-phase Flow Pressure Drop Corrections for Fittings
The pressure drop equations for the fittings given in Table 5-7 can
only be applied with any reliability to single-phase gas, or single-
phase liquid flow. If a two-phase fluid flows through any of these
devices, then the associated pressure drop tends to be higher than
the single-phase flow equivalent.
In PIPEPHASE you have two options to calculate a factor which is
subsequently used as a “two-phase multiplier” to the standard
single-phase pressure drop equations. These are referred to as the
CHISHOLM or HOMOGENEOUS methods. The general format
for this correction factor can be represented as:
2
∆ P FITTING = Φ K FITTING ρν
---------
2g c
(5-79)
2
f d ρν
= Φ Kmul FITTING -------------
2g c
where:
Φ= the two-phase multiplier for the standard pressure
drop equation
Chisholm Method:
The two-phase pressure drop across a fitting using the Chisholm
model, ∆PTP, is given by:
∆ P TP
- = 1+C 1-
Φ = ------------ ---- + ----- (5-80)
∆ PL X X2
when:
∆ PG 0.5
X = -----------
∆ PL
ν ν l 0.5
0.5
----g- H ----- (5-82)
νl ν g
2Ón
λ = 0.5 ( 2 Ó 2) (5-83)
where:
∆PL and ∆PG = the pressure drops over the fitting with only single-
phase liquid or single-phase gas flowing respectively
at the same total mass rate as the two-phase fluid
v= the specific volume of the gas (vG), liquid (vL), or the
difference between both phases (vG - vL = vGL)
n= a constant in PIPEPHASE that is set to zero (the
default value of λ is therefore 1.00). The user is able
to alter the value of λ directly in the fittings
statements
C2 = a user-definable constant in the above expression that
defaults to a value of 0.50 in PIPEPHASE (unless
otherwise stated in Chapter 3, Input Reference)
Completion
The method used to calculate the pressure drop depends on the fluid
model and the completion type. Table 5-8 lists the pressure drop
relationships for well completions. The Mcleod equations, used for
open-perforated completions are based on radial flow. The Jones et
al. equations, used for gravel-packed completions, are based on
linear flow.
Table 5-8: Completion Models
Completion Type
(Reference) Open-perforated (McLeod) Gravel-packed (Jones et
al)
Turbulence 10
Coefficient β = 2.33x10 ⁄ k 1.201
p β = 1.47x10 ⁄ k p
7 0.55
Fluid Model
1. Blackoil or 2 2
P in Ó P out = Cq L + Dq L P in Ó P out = Cq L + Dq L
Single-phase
liquid µ ln ( r e ⁄ r w )
Lµ L
C = --------------------------------------------------
- C = ------------------------------------------------
-
Ó3 w Ó3
1.127x10 2 k p hN 1.127x10 k grav A
Ó3
1- Ó -----
1- Ó3
9.08x10 βρ ---- 9.08x10 βρ L L
r e r w D = ----------------------------------------
2
-
D = ---------------------------------------------------------- A
2 2 2
4π h N
2. Single-phase 2 2 2 2 2 2
Gas P in Ó P out = Cq g + Dq g P in Ó P out = Cq g + Dq g
3 3
1.424x10 µ TZ ln ( r e ⁄ r w ) 8.93x10 µ TLZ-
C = -------------------------------------
C = --------------------------------------------------------------
- k grav A
k p hN
Ó 10
12
3.16x10 β γTZ ln ---- 1 Ó ----- 1- 1.24x10 β γ TLZ
r r D = ----------------------------------------------
e w 2
D = -------------------------------------------------------------------- A
2 2 2
4π h N
Symbols
2
A area open to flow d p hSPF ⁄ 4, ft qg standard volumetric flow rate)
d diameter qL, qm in situ volumetrid flowrate, bbl/d
λ specific gravity (60 F/60 F) r radius, ft
h perforated interval, ft (Jones) ρ density, lb/ft3
penetraction depth, ft (Mcleod) SPF shots per foot
k permeability, (md) T temperature
L ft N total # of holes in perforated
m viscosity, cP interval
P pressure, psia w mass flowrate
x quality
Subscripts
e perforation plus crushed zone p open perforated area
grav gravel w perforation
g gas in inlet of completion
L liguid out outlet of completion
m mixture
You can have PIPEPHASE print out a simple box diagram of the
structure once all data has been entered. This is achieved, in the
General Data Category of input, by including the following
statements:
CALC NORUN, ..... $$ which stops PIPEPHASE from performing any
calculations
PRINT $$ which activates the box structure diagram
CONNECT=FULL
In this case, since node A and B flowrates have been fixed, the
subsequent fixing of both pump outlet pressures ensures that it
is impossible to balance pressures at junction C. This type of
incorrect setup can be more easily identified in existing simula-
tions, or avoided in future simulations, by referring to a previ-
ously prepared network diagram.
■ Maximum Number of Iterations
By default, PIPEPHASE will use 20 iterations to try to reach a
solution to network problems. For large and complex systems,
it is recommended that this number be reduced so that mini-
mum time is spent waiting for a potentially diverging simula-
tion to finish. This is particularly true for calculationally-
intensive compositional fluid simulations. In the Methods Data
Category of input, if you specify SOLUTION MAXITER=5,
then the simulation will stop after five iterations (if it has not
already reached solution). You may then diagnose whether
additional iterations will produce a solution, or alternatively
which actions should be taken in order to achieve convergence.
By using restart files, you can continue the simulation where it
stopped.
■ Iteration History
You should include the statement PRINT ITER in the General
Data Category of input when running new or problematical
simulations. This will ensure that the convergence history is
printed both to the screen and to the output file, to facilitate
fault diagnosis.
■ Link Shut-ins
A link shut-in is the description given to a link (a series of
devices between two nodes) which PIPEPHASE has closed
down and removed completely from the solution procedure.
Link shut-ins occur during the network solution procedure in
these circumstances.
● When there is flow in the reverse direction through a check
valve.
● When insignificant flowrates are determined for a link
within a loop configuration.
Inspect the iteration history and look more closely at the first
link which is causing problems. If there are no obvious anoma-
lies in the input after careful inspection, you should first try to
reformulate the local boundary node pressure and flowrate def-
initions (for example, swap a fixed pressure for a fixed flow-
rate). Secondly, you should enter link flowrate estimates for all
local links. When an internal link shut-in occurs, you may also
see the “link shut-in” error message.
There is also an option in the Methods Data Category of input
to instruct PIPEPHASE not to reverse flows during solution
(the NOFR keyword). Activating this feature will assist partic-
ularly in loop configurations where the direction of flow is
known (for example cooling water networks). However, this
option can generally be detrimental in systems where the esti-
mated flow directions are incorrect.
■ Flowrate Estimation in Links
In addition to ensuring that the best estimates are supplied for
node pressures and flowrates (or having PIPEPHASE generate
estimates automatically), you may also provide link flowrate
estimates to assist PIPEHASE’s own auto estimation logic.
PIPEPHASE has four methods for allocating link flowrates
prior to the start of the solution procedure:
● Flow Allocation Model 1
This is the default method, and allocates initial link flows
based on the diameter of the first pipe device that appears
● Jump-over Piping
So-called “jump-overs” are short pipe runs that connect
longer, parallel pipes in order that flows in each pipe are
relatively well-balanced. These jump-over pipes are usu-
ally of no hydrostatic significance, and the loop that is cre-
ated by virtue of their inclusion in the simulation can be
eliminated by making the two junction nodes into one, as
is shown inFigure 5-24, with negligable loss in simulation
accuracy.
Link name = L1
A B
Mreg or Mchok or
Mcomp
Flow specified
source
A ‘2’ ‘ 3’ B
Mreg or Mchok or
Mcomp
Pressure or flow
specified sink
COLUMN UID=COL2,NAME=FRAC-002
PARAM TRAY=22,IO=20
FEED 8,9,NOTSEP
PROD OVHD=OV8,BTMS=BT8,4289
COND TYPE=BUBB,PRESS=1000
DUTY 1,1,-40/2,22,40
PSPEC TOP=1000
General Information
The Component Data category defines the pure and
pseudocomponents in the problem and, if necessary, defines or
modifies component properties. All components encountered in a
problem, except for assay stream components, must be defined in
this category. Streams defined by distillation assay curves in the
Stream Data category are broken into pseudocomponents based on
the rules defined in the Component Data category.
Using keyword input, PRO/II accepts an unlimited number of
components.
Non-library Components
Components not found in the PRO/II library may be entered as
NONLIBRARY components. The format for entering user
components is straightorward, however PRO/II users who do this
regularly or need help in estimating unknown required properties
should use SIMSCI’s Property Data Management functionality
present in PRO/II with PROVISION to assist the user in
determining all necessary component properties and develop a
keyword file segment in PRO/II ready form.
Petroleum Components
PRO/II handles petroleum components using industry standard
characterization techniques. PRO/II estimates all required
component data given two out of three of molecular weight, boiling
point, or gravity.
Refer to the SIMSCI Component and Thermodynamic Data Input
Manual for instructions on how to enter basic PETROLEUM data,
how to change the default characterization procedures, and entering
stream assay data.
Solid Components
PRO/II handles solids with particle size distributions and user-
defined attributes. See the SIMSCI Component and Thermodynamic
Data Input Manual for information on property data requirements
for solid components and associated input format. The SIMSCI
Component and Thermodynamic Data Input Manual is also used to
define particle size intervals and GENERAL attributes, and for
entering actual solid component attribute values.
Component Properties
The user may define or override component properties for all
components in the simulation. This includes components in the
PRO/II component library, user-defined components, petroleum
pseudocomponents and solid forming components. The properties
UNIFAC Data
Section 1.9 of the SIMSCI Component and Thermodynamic Data
Input Manual discusses the methods for assigning UNIFAC
structural groups and van der Waals parameters for pure
components. As discussed starting in Section 20 and in the PRO/II
Reference Manual, UNIFAC provides a means of estimating liquid
activity coefficients when actual VLE or LLE data are unavailable.
Category Heading Statement (required)
COMPONENT DATA
The COMPONENT DATA statement has no entries and is required
for all PRO/II simulations.
Remaining COMPONENT Data Category Statements
The remaining Component Data category statements are discussed
in the SIMSCI Component and Thermodynamic Data Input Manual.
■ Component Definition
■ Petroleum Component Characterizations
■ Solid Attributes
■ Component Properties
■ Component Structural Data for UNIFAC
COMPONENT DATA
STRUCTURE i, igroup(n)/...
GROUP igroup, Qj, Rj
or DENSITY(VL)= option
DENSITY(V)= option and DENSITY(L)= option,
or ENTROPY(VL)= NONE
ENTROPY(V)= option, ENTROPY(L)= option,
DIFFUSIVITY(L)
DIFDATA (tunit) i, j, c1, c2, c3 / ...
KVALUE(VLE or LLE)
KDATA CORR=icorr, LN or LOG or
EXPFAC=ipos,
PREF(punit)=value
DATA=i, tmax, tmin, c1, ...c8/ ...
or
KDATA TABU=t1, t2, .../ i, p1, p2, .../ ...,
PREF(punit)=value
HEXA(K or R) i, j, kija, kjia, kijb, kjib, kijc, kjic, cij, cji / ...
or
SRKH(K or KCAL or KJ)or i, j, aij, bij, cij, aji, bji, cji, aij, bij / ...
PRH(K or KCAL or KJ)
or
SRKS(K or R) i, j, kija, kjia, kijb, kjib, kijc, kjic, cij, cji /
...
FLORY i, j, / ...
SOLUTE i, {j ...}
HENDATA(pres, temp) i, l, c1, c2, c3, c4 / ...
C(unit) i, value/...
PC(unit) i, value/...
VC(unit) i, value/...
ZC i, value/...
ACENTRIC i, value/...
NBP(unit) i, value/...
MOLVOL(unit) i, value/...
DIPOLE(unit) i, value/...
RADIUS(unit) i, value/...
SOLUPARA i, value/...
RACKETT i, value/...
WDELT i, value/...
PARACHOR i, value/...
PENELOUX(volunit) i, value/...
1 p b 0.04
f Z ------ ------------
94 vρT b
WEYMOUT 2 ρg sin φ-
dP fρv - dP
------- dP
-------
H ------- Z -------------------- dL e Z ----------------- dL acc Z 0
dL f 2g c d144 g c 144
1 -
f Z ---------------------
0.33
71.6d
MOODY 2 ρg sin φ- ρV 1 ( V 1 Ó V 2 )
dP fρv - dP
------- Z ----------------- dP
-------
------- Z --------------------------------
-
(default) dL f Z 2g
-------------------- dL e g c 144 dL acc 144g c ∆L
c d144
1
----- 2ε 18.7 -
f Z 1.74 Ó 2 log -----
H --------------
d N f Re
AMERICAN 2 2 0.5
( P 1 Ó P 2 )Z avg T avg
GAS ---------------------------------------------- Ó 0.0375∆ e
2
ASSOCIATI 5⁄2 1⁄2 1⁄2 γ g P avg
ON Q g Z 38.77d 1 f E5280 ---------------------------------------------------------------------------
∆L
N Re
f 1 Z 4 log --------- Ó 0.6
f1
LIQUIDS
HAZEN- 2.63 ( P 1 Ó P 2 ) Ó [ 0.433∆ e ]γ L 0.54
WILLIAMS Q Z 15.2Ed 1 ----------------------------------------------------------
- Q = bbl/day
γ L ∆L
E = Hazen-Williams coefficient; ∆e = elevational change (ft); d1 = diameter (in)
ρvd
N Re Z 1488 ---------
µ
f from Moody diagram
* Note: Vertical upward flow correlations not available in PIPEPHASE -- most correlations
were developed for large scale production applications.
Schedule 100
12 323.9 21.44 281.0
14 355.6 23.82 308.0
16 406.4 26.19 354.0
18 457.2 29.36 398.5
20 508.0 32.54 422.9
24 609.6 38.89 531.8
4 114.3 11.13 92.0
5 141.3 12.70 115.9
6 168.3 14.27 139.8
8 219.1 18.26 182.6
Schedule 120
D-2 References
17. API Technical Data Book, 5th Ed. (1978).
Reid, Prausnitz and Sherwood: ‘‘The Properties of Gases and
Liquids,’’ McGraw-Hill, p. 524 (1977).
Riedel, L., Chem. Ing. Tech., 21, p. 349 (1949).
18. Roy, D. and G. Thodos, I & E.C. Fund., 9, p. 71 (1970).
Stiel, L. I. and G. Thodos, A.I.Ch.E. J., 10 p. 26 (1964).
Reid, Prausnitz and Sherwood: ‘‘The Properties of Gases and
Liquids,’’ McGraw-Hill, p. 481-504 (1977).
Perry, R.H. and C.H. Chilton: ‘‘Chemical Engineers Hand-
book,’’ McGraw-Hill, p. 3-244 (1973).
19. API Technical Data Book - Petroleum Refining, 5th Revision
(1978), pp. 6-45, 6-46.
20. Soave, G., Chem Engr. Sci., 27, No. 6, p. 1197 (1972). Erbar,
J.H., GPA K & MOD II Program (August 1974).
Reid, Prausnitz, and Sherwood, The Properties of Gases and
Liquids, 3rd Edition (1977).
21. Peng, D.Y., and D.B. Robinson: ‘‘A New Two Constant Equa-
tion of State,’’ I. & E.C. Fund., 51, pp. 59-64 (1976).
22. Kesler, M.G. and B.I. Lee, A.I.Ch.E. J., 21, No. 3, p. 510
(1975).
Kesler, M.G. and B.I. Lee, Hydrocarbon Proc., p. 153, March
1976.
Tarakad, R.R. and Ronald Danner, A.I.Ch.E. J., 22, No. 2, pp.
409-411, March 1976.
API Technical Data Book - Petroleum Refining, 3rd Edition,
pp. 2-1 to 7-4.
23. Lee, B.I., M.G. Kesler, A.I.Ch.E. J., 21 (3), 510 (1975).
Leland, T.W., W.H. Mueller, I. & E.C., 51 (4), 597, (1959).
Pitzer, K.S., G. O. Hultgren, J.Am.Chem.Soc., 80, 4793 (1958).
Plocker, U., Helmult Knapp, John Prausnitz, I. & E.C.
Proc.Des.Dev., Vol. 17, No. 3 (1978).
Prausnitz, J.M., R.D. Gunn, A.I.Ch.E.J., 4, 430, 494 (1958).
24. Simulation Sciences Inc., 1983: ‘‘The Twu Method for Predic-
tion of Critical Properties and Molecular Weights for Petroleum
and Coal Tar Liquids,’’ Technical Bulletin #27.
Starling, K.E., J.E. Powers, I. & E.C. Fund., 9,531 (1970).
D-4 References
33. Duns, H., Jr. and N.C.J. Ros: ‘‘Vertical Flow of Gas and Liquid
Mixtures in Wells,’’ Proc., 6th World Pet. Congress (1963),
451.
34. Hagedorn, A.R. and K.E. Brown: ‘‘Experimental Study of
Pressure Gradients Occurring During Continuous Two-Phase
Flow in Small-Diameter Vertical Conduits,’’ J. Pet. Tech.
(April, 1965) 475-484.
35. Orkiszewski, J.: ‘‘Predicting Two-Phase Pressure Drops in Ver-
tical Pipes,’’ J. Pet. Tech. (June, 1967) 829-838.
36. Angel, R.R. and J.K. Welchon: ‘‘Low Ratio Gas-Lift Correla-
tion for Casing-Tubing Annuli and Large-Diameter Tubing,’’
Drill. and Prod. Prac., API (1964) 100.
37. Aziz, K., G.W. Govier, and M. Fogarasi: ‘‘Pressure Drop in
Wells Producing Oil and Gas,’’ J. Cdn. Pet. Tech. (July-Sept.,
1972) 38-48.
38. Beggs, H.D.: ‘‘An Experimental Study of Two-Phase Flow in
Inclined Pipes,’’ Ph.D. Dissertation, the U. of Tulsa (1972).
39. Gray, H.E.: ‘‘Vertical Flow Correlation in Gas Wells,’’ in User
Manual for API 14B, Subsurface Controlled Safety Valve Siz-
ing Computer Program, App. B (June 1974).
40. Flanigan, O.: ‘‘Effect of Uphill Flow on Pressure Drop in
Design of Two-Phase Gathering Systems,’’ Oil and Gas Jour.
(March 10, 1958) 56.
41. Lockhart, R.W. and R.C. Martinelli: ‘‘Proposed Correlation of
Data for Isothermal Two-Phase, Two Component Flow in
Pipes,’’ Chem. Eng. Prog. (Jan. 1949) 45, 39.
42. Eaton, B.A.: ‘‘The Prediction of Flow Patterns, Liquid Holdup
and Pressure Losses Occurring during Continuous Two-Phase
Flow in Horizontal Pipelines, ’’ Ph.D. Thesis, The U. of Texas
(1966).
43. Steady-State Flow Computation Manual for Natural Gas Trans-
mission Lines, American Gas Association, New York (1964).
44. Mukherjee, H. K. : ‘‘An Experimental Study of Inclined Two
Phase Flow’’, Ph.D. dissertation, University of Tulsa, 1979.
45. Lawson, J. D. and J.P. Brill: ‘‘A Statistical Evaluation of Meth-
ods used to Predict Pressure Losses for Multiphase Flow in
Vertical Oil Well Tubing’’, SPE 4267 to be presented at 48th
Annual SPE fall Meeting, Las Vegas, Nev.,Sept 30 -Oct. 3,
1973.
Vohra, I. R., J.R. Robinson,J.P. Brill: ‘‘Evaluation of Three
New Methods for Predicting Pressure Losses in Vertical Oil
Well Tubing’’, SPE 4689, presented at the 48th annual SPE Fall
meeting, Las Vegas, Nev., 1973.
D-6 References
61. Blevins, Robrt D.: ‘‘ Applied Fluid Dynamics Handbook.’’ Van
Nostrand Reinhold Company.
62. Fisher, H.G. et al: ‘‘Emergency Relief System Design Using
DIERS Technology-Project Manual.’’ AIChE, 1992.
63. API Standard 526, ‘‘Flanged Steel Safety--Relief Valves,’’
Third Edition (1989).
64. Leung, J.C., ‘‘A Generalized Correlation for One-Component
Homogeneous Equilibrium Flashing Choked Flow,’’ AIChE J.,
1743--1746, October (1986).
65. Nazario, F.N. and J.C. Leung,‘‘Sizing pressure relief valves in
flashing two-phase service: an alternative procedure,’’ J. Loss
Prev. Proc. Ind., 263-269, 5 (1992).
66. Simpson, L.L., ‘‘Estimate Two-Phase Flow in Safety Devices,’’
Chem. Eng., 98--102, August (1991).
67. Smith, J.M., and H.C. Van Ness, Introduction to Chemical
Engineering Thermodynamics, 3rd edition, McGraw-Hill
(1981).
68. API Recommended Practice 520: ‘‘Recommended Practice for
the Design and Installation of Pressure-Relieving Systems in
Refineries: Part II - Design,’’ Sixth Edition, (1993).
69. Lasater, J.A.: ‘‘Bubble Point Pressure Correlation,’’ Trans.
AIME, 1958, 379.
70. Standing, M.B.: ‘‘A General Pressure-Volume-Temperature
Correlation -- For Mixtures of California Oils and Greases,’’
Drilling and Production Practice API (1947), 275.
71. Vazquez, A., M.E.: ‘‘ Correlations for Fluid Physical Property
Prediction,’’ M.S. Thesis, Tulsa University.
72. Ramey, H.J. Jr., ‘‘Wellbore heat Transmission,’’ J. Pet. Tech.,
April 1962, 427-440.
73. Churchill, S.W., ‘‘Comprehensive Correlating Equations for
Heat, Mass and Momentum Transfer in Fully-Developed Flow
in Smooth Tubes,’’ Industrial & Engineering Chemistry Funda-
mentals, 1977, 16 (1), pp 109-115.
74. Churchill, S.W. (1977), ‘‘Comprehensive Correlating Equa-
tions for Heat, Mass, and Momentum Transfer in Fully Devel-
oped Flow in Smooth Tubes,’’ Ind. Eng. Chemistry
Fundamentals, Vol. 16, No. 1, pp. 109-115.
75. Ansari, A.M.: “A Comprehensive Mechanistic Model for
Upward Two-Phase Flow,’’ MS Thesis, University of Tulsa
(1988).
D-8 References
89. Nicklin, D.J., Wilkes, J.O, and Davidson, J.F.: “Two-Phase
Flow in Vertical Tubes,’’ Trans. Inst. Chem. Engrs., Vol 40,
497-514.
90. Andreussi, P. and Bendiksen, K.: “An Investigation of Void
Fraction in Liquid Slugs for Horizontal and Inclined Gas-Liq-
uid Flow’’, Int. J. Multiphase Flow, Vol 15, 2, 937-946.
91. Bendiksen, K.H., Malnes, D., Moe, R., and Nuland, S.: “The
Dynamic Two-Fluid Model OLGA: Theory and Application,’’
SPE Production Eng., May 1991.
92. Pratts, Michael.:Thermal Recovery, SPE Monograph.,
Volume 7.
93. Barua, S.: “Computation of Heat Transfer in Wellbores in sin-
gle and dual completions,” SPE 22868.
94. Perkins, Thomas K.: “Critical and Subcritical Flow of Mul-
tiphase Mixtures Through Chokes,” SPE 20633.
95. Ueda, Y., Samizo, N., and Shirakawa, S.: “Application of Pro-
duction System Analysis to an Offshore Oil Field,” SPE 21419.
96. Jones, L., Blount, E., and Glaze, C.: “Use of Short Term Multi-
ple Rate Flow Tests to Predict Performance of Wells having
Turbulence,” SPE 6133, Oct. 3-6, 1976.
97. Hong, K. C.: “Two-phase Flow Splitting at a Pipe Tee,” JPT,
pp. 290, 1978.
98. Bergman, D. F., Tek, M. R., and Katz, D. L.: “ Retrograd Con-
densation in Natural Gas Pipelines, “ AGA Project PR 26-69,
191-199, 1975.
99. Johansen, S. E.: “Experimental Study of Gas-Liquid Flow in a
Pipe Tee,” M. S. Thesis, Univ. of Tulsa, 1979.
100.Chien and Rubel: SPE 22764, Nov. 1992, SPEJ.
101.Oranje, L.: “Condensate Behavior in Gas Pipelines is Predict-
able,” Oil & Gas Journal, 39-44, July 2, 1973.
102.Seeger et al: Internaltional Journal of Multiphase Flow, Vol. 12,
No. 4, 575-585, 1986.
Table G-1: Results Access System Database (dBase IV) File Structure
Table E-1: Results Access System Database (dBase IV) File Structure
Database Field Name Format Description
Name
LINK.DBF
CASE_STUDY C4
CASE_NAME C4
LINK_NAME C4
LINK_TYPE C4
FROM_NODE C4
FROM_NTYPE C4
TO_NODE C4
TO_NTYPE C4
TIME_STEP F 17.6
DEVICE.DBF
CASE_STUDY C4
LINK_NAME C4
DEV_NAME C4
DEV_DOMAIN C4
DEV_TYPE C4
SEQUENCE C4
PROB_NAME C 12
STATVAR.DBF STATE VARIABLES
CASE_STUDY C4
LINK_NAME C4
DEV_NAME C4
SEGMENT N9
PRESSURE F 17.6
TEMPERATURE F 17.6
AMB_TEMP F 17.6
GAS_ENTHAL F 17.6
OIL_ENTHAL F 17.6
WTR_ENTHAL F 17.6
FLOWDEV.DB
F
CASE_STUDY C4
LINK_NAME C4
DEV_NAME C4
SEGMENT N9
ID F 17.6
UFACTOR F 17.6
ROUGHNESS F 17.6
FILM_IRES F 17.6
RESISTANCE F 17.6
INSUL_TRES F 17.6
SURR_RES F 17.6
FLOW_AREA F 17.6
GEOTH_GRAD F 17.6
FRICTION F 17.6
VLVCHK.DBF
CASE_STUDY C4
LINK_NAME C4
DEV_NAME C4
SEGMENT N9
ID F 17.6
COEFF F 17.6
FRAC_DISS F 17.6
GAS_RATE F 17.6
COMPLETN.D
BF
CASE_STUDY C4
LINK_NAME C4
DEV_NAME C4
SEGMENT N9
PERF_DIAM F 17.6
PERF_SDENS F 17.6
TUNNEL_LEN F 17.6
PERMEABLTY F 17.6
A depth 3-108
flow efficiency 3-109
heat transfer calculations 2-38
Abandonment pressure 3-127 heat transfer coefficient 3-22, 3-109
ACCELERATION 3-46 inside diameter 3-23
Acceleration medium 3-112
network solution 3-46 Palmer correction factors 3-109
pressure gradient 2-29 pressure drop correlations 2-27
ACENTRIC 3-36 roughness 3-109
segment size 3-106, 3-109
Acentric factor 3-36
segmentation 3-24
Adiabatic specific heat of medium 3-112
compressor 3-120 thermal conductivity of medium 3-112
efficiency 3-120 velocity of medium 3-112
Adiabatic efficiency 3-118 viscosity of medium 3-112
ADJUST 3-62 Antoine
Adjust viscosity 3-57
formation volume factor 3-62 API 3-36
gas oil ratio 3-62 API gravity 3-36, 3-92
water-oil viscosity 3-66
Aqueous phase enthalpy 2-12
Air
ASSAY 3-34
density of surrounding 3-105
thermal conductivity 3-21, 3-105 Assay
velocity 3-105 in source 3-84
viscosity of surounding 3-105 Assay data 2-10, 3-30
Ambient API gravity 3-36
temperature 3-21, 3-105 characterization 3-34
cutpoints 3-30, 3-35
Ambient temperature 2-39
lightends 3-94
Angle method 3-34
of bend 3-143 molecular weight 3-34, 3-93
of contraction device 3-147 specific gravity 3-34
of expansion device 3-151
ASTM
of valve 3-155
D1160 3-90
Angle valve 3-154 D2887 3-90
ANNULUS 3-108 D86 3-90
Annulus 2-24, 3-108 Automatic segmentation 3-25
P
O
Palmer liquid holdup
of annular medium 3-112 correction factors 3-18
OLGA 3-19, 3-20 Palmer liquid holdup correction factors
Options in annulus 3-109
output 3-28 in pipes 3-104
in risers 3-107
ORIFICE 3-152
in tubing 3-110
Orifice 3-152
Parallel compressor trains 3-119
flow coefficient 3-152
pressure drop calculation 2-33 Parameter
user-defined pressure drop 3-153 definition 2-49
Hildebrand solubility 3-32
Ouput
component input 4-8 Parameters
general input data 4-9 binary interaction 3-48
network input data 4-11 convergence 3-39