Documente Academic
Documente Profesional
Documente Cultură
22/05/2012
4511 Palabras
PGINA
1
DE 19
Slide 1
Invensys 00/00/00
Invensys proprietary & confidential
Introduction to PipePhase
Oil & Gas Production Systems, Modeling and Optimization
Ana Maria Aez
Invensys Organization Management (IOM)
IOM Confidential
A Brief History of SimSci-Esscor SimSci SimSci founded in Nov. 1966 by Dr. Wang
SP05 distillation program
1974: SSI/100 - first flowsheet simulator 1979: PROCESS keyword 1988: PRO/II
- interactive 1995: PRO/II with PROVISION 1997: Simsci became a public company
1998: Simsci acquired by Siebe
A Brief History of SimSci-Esscor SimSci 1999: Siebe merged with BTR and renamed
the company Invensys
$5 Billion company located in UK Diversified Engineering and Electronics group
Employs more than 30,000 people worldwide 2002: Hextran 9 0 Simsci & Esscor
merge 9.0, 2003: Dynsim 3.0 2004: Dynsim 3 3 ROMeo 3 06 PRO/II 7 0 3.3, 3.06,
7.0 2005: Dynsim 3.4, ROMeo 3.1, PRO/II 7.1, VFS 5.0
Solution Suites of SimSci-Esscor SimSciSolution Suites Suites
Process Engineering
PRO/II HEXTRAN VISUAL FLOW SUITE INPLANT DATACON
Oil and Gas Production
PIPEPHASE NETOPT TACITE SIM4ME Portal
Dynamic Simulation
DYNSIM FSIM TRISIM OTS
OnOn-Line Performance
ROMeo CONNOISSEUR ARPM
Outline
Introduction PipePhase Desktop Environment Step-by-Step Exercises Main Steps
Common source of errors Four sets available: Petroleum English Metric SI Petroleum,
English, Metric, Petroleum is default Can be changed for entire flowsheet Define a
different output UOM set Changing the UOM set does not change the values e.g.,
14.696psia => 14.696psig values,
Entering Thermodynamic or PVT Data
150
100 0 10 20 30 40 50 60 70 80 90 100
Percent Distilled
_______ 00/00/00 Invensys
Invensys proprietary & confidential
Add in the Overlap Region
500
450
400
Many pseudocomponents Many petrocomponents in overlap region in overlap region
T Temperature (F)
350
300
250
200
150
100 0 10 20 30 40 50 60 70 80 90 100
Percent Distilled
_______ 00/00/00 Invensys
Invensys proprietary & confidential
Thermodynamic Methods
Choice of thermodynamic methods for:
Phase Equilibria (K-values) Enthalpy Liquid density Vapor density
Can supply binary interaction
parameters
Thermodynamic Methods y
Enthalpy Balance for Oil/Water Systems
Flow Correlation Palmer Correlation Inside Diameter Flow Device Inside Roughness
Flow Efficiency Fl Effi i Transitional Reynolds Number Thermal Defaults
Building the Flowsheet
_______ 00/00/00 Invensys
Invensys proprietary & confidential
Flowsheet Terminology
Nodes
Source - fluid entrance Sink - fluid exit Junction - fluid mixing/splitting
Links
Comprised of devices in series
Flow devices Equipment devices Bottomhole completions
Types of Networks
Tree Networks (gathering or distribution) Fl direction i always k Flow di ti is l known
Looped Network
Flow direction is not always known
Convergence therefore may be difficult
Source Source Sink
?
?
Sink
Source
Source Node Requirements Fluid PVT Properties
Compositional Model - Thermodynamic Equations: Component data (H2S, CH4, etc.)
Component fractions (5% H2S, 90% CH4, etc.)
NonNon-Compositional Models - Empirical Correlations: p p PVT Property Set
(phase densities)
Source and Sink Node Requirements
Source: Fluid enthalpy
Temperature (steam quality)
Source Boundary conditions
Pressure (P) fixed or estimated Flowrate (Q) fixed or estimated
Sink Boundary conditions
Pressure (P) fixed or estimated Flowrate (Q) fixed or estimated
Junction Requirements
Should be at least three links entering and exiting Pressure estimated (optional)
Boundary Conditions Single-Link SingleCase 1: P Q Case 2: P Q? Case 3: P? Q P
Q? Iterate forward calculation to find source pressure
P? Q?
Forward calculation to find sink pressure
P Q?
Iterate forward calculation to find source flowrate
Boundary Conditions Network
One unknown for each node (P or Q) At least one boundary pressure must be fixed
Source P,Q Sink P?, Q? ,Q
Junction P?
Junction P?
Junction P? Source P, Q? Sink P, Q? Source P?, Q ,
Defining Links
_______ 00/00/00 Invensys
Invensys proprietary & confidential
Links
A link is a serial string of devices between two nodes Consists of one or more
devices Can contain flow, equipment, and completion devices
3" Tubing Choke 6" Pipe Pump OpenOpen-hole Completion Sink Separator
Source
Links
Spreadsheet display for link data entry window (DEW)
Allows Cut & Paste functionality Data for following devices can edited in DEW
Pipe Pipeline Riser Annulus Tubing
Device icon labelled Link profile can be plotted Any device with insufficient data is
highlighted in red
_______ 00/00/00 Invensys Invensys proprietary & confidential
Link Profile
_______ 00/00/00 Invensys
Invensys proprietary & confidential
Flow Devices
Structure
Length, elevation change, diameter
Pressure Drop
Flow code,roughness, flow efficiency
Heat Transfer
Ambient temperature (vertical gradient) heat transfer coefficient gradient), coefficient,
detailed heat transfer (in air, water, or soil)
Flow Device - Pipe
Length: length of individual pipe section Elevation Change: relative change in
elevation
Up is positive Down is negative
Elevation Change
Pipeline Device p
Pipeline Device:
Ability to enter profile data in PipePhase Automatic conversion between Pipe &
Pipeline unit Cut & Paste functionality Ability to view profile as entered
_______ 00/00/00 Invensys
Invensys proprietary & confidential
Pipeline Device
_______ 00/00/00 Invensys
Invensys proprietary & confidential
Pipeline Device - Riser
Length: length of individual riser
section ti
Elevation Change
Elevation Ch El ti Change: distance to
top of riser system
Length
Flow Device - Tubing and Annulus
Depth
Length: measured wire line
length from the beginning of the device
Depth: true vertical depth from
Length g
the beginning of the device
Reservoir Inflow Performance Relationship (IPR)
Productivity index (single-phase liquid) VOGEL coefficient (multiphase, liquiddominated) Gas flow model (multiphase, gas-dominated) Laminar-Inertial-Turbulent
H i t l W ll Horizontal Well Tabular
Reservoir Inflow Performance Relationship (IPR)
Cum Prodn, NP or Res Pressure, Pr
X=m(Y-Z) Qo = PI ( Pr - Pwf ) Production R P d i Rate, Q
PI = Qo / ( Pr - Pwf )
Equipment Devices
Pump
Compressor
Heater/Cooler
Equipment Devices
Separator
Check Valve
Gas Lift Valve
Tub bing
Casing
Equipment Devices
PT
Q
Regulator
Choke
DPDT Device
Equipment Devices
DPDT Device
Ability to Specify Multiple Outlet Pressures in DPDT Device:
Currently enter only curves of Temperature change & Pressure
change vs Flow Rate
Enhanced DPDT will allow such curves to be entered for multiple
outlet pressures tl t
Will allow program to simulate user-added compressor curves p g p Program will
interpolate linearly between curves
_______ 00/00/00 Invensys
Invensys proprietary & confidential
Equipment Devices
DPDT Device
_______ 00/00/00 Invensys
Invensys proprietary & confidential
Injection Device
Injection: injects a separated stream (or lateral source)
Cannot use equipment devices on separated stream Can flash stream to desired
pressure and temperature Only for compositional fluids in single links Only for
compositional fluids from separators in networks
Tubings
21
Setting Up a Case Study
_______ 00/00/00 Invensys
Invensys proprietary & confidential
Perform Parametric Studies
Change one or more variables between runs g
Individual Source/Sink parameters Individual Link Device parameters Global Link
Device parameters
Runs faster
Eliminates overhead St t from last solution Starts f l t l ti
Case Study
Unlimited cases and changes per case
GUI limited to 10 of each
Global changes only affect specified devices g y p
Example: Change all 10" diameter pipes to 12"
Variable changes are cumulative
Can restore variables to base case
Case Study Summary at end of output file
Description of each case study p y
Source and Sink Variables
Source
pressure (psi) = 0 1 0.1 Recommended value: 0.1 - 5 psi Larger value adequate if
large drop in P Smaller value preferred when small drop in P
Getting Better Convergence g g
1. 1
'From'' node pressure ( ti t ) should always b greater 'F d (estimate) hld l be t than 'to'
node pressure (Possible exception: downhill flows). PFROM > PTO
2.
Every internal node (junction) must have at least one outflowing link and at least one
inflowing link g g
Getting Better Convergence g g
3. 3 Use minimum number of junctions to reduce the size of the
problem
Getting Better Convergence g g
4. 4 Arrange network input such that a source or a sink has only
one link connected to it
Better
Short Pipe Large ID
Short Pipe Large ID
Getting Better Convergence g g
5. If solution path oscillates widely due to flow reversals:
Use No Flow Reversal option if flow direction in every link is known Use Check
Valves in key links if direction is known in every link Use Damping options
Network - Connectors
Viewing the Results
_______ 00/00/00 Invensys
Invensys proprietary & confidential
Output Options
You can view results in PipePhase through:
Flowsheet Output report
Many types
Results Access System (RAS) Tables Graphs Generate PipePhase output
reports in Microsoft Excel
Interactive Output
Results can be viewed on the flowsheet by selecting View Output from the View menu
Double-click on node to display T, P, flowrate Double-click on link to view link profile
plots
Output Report p p
Output report is divided into three main sections
Input reprint Intermediate solution history and output
Useful when double-checking input
Final results output
Error summary
Components of the Output - Report
Link Plots
Pressure vs. Distance Temperature vs. Distance Ph Phase E Envelope l
Special Plot: Phase Envelope
Results Access System (RAS)
Multiple variables on same plot For case study, multiple cases on same plot View
results for specific devices within a link Microsoft Excel 5 0/7 0 links 5.0/7.0
Simulation results stored in database
Results Access System (RAS)
Results Access System ( y (RAS) export to Access database ) p
Simulation_Name.mbd created in User Directory
Access Database contains node & links summary and device profile
data
92 Device properties including physical properties Incorporates Case Studies and
Optimization Runs Includes details on UOM used in simulation File/New and select
Simulation_Name.ras
_______00/00/00 Invensys
Invensys proprietary & confidential
RAS Plot
Fluid Flow Basics
_______ 00/00/00 Invensys
Invensys proprietary & confidential
Single-Phase Pressure Drop Singleg p
dP dP dL dL
elevation
dP dL
friction
dP dL
acceleration
dP g f v vdv sin dL gc 2 g c d g c dL
2
Acceleration term usually negligible y g g Empirical correlations for friction factor
Friction Factor
f Function(
Re < 3000 Laminar Flow
d
, Re) ,
where h
vd Re
Re > 3000 Turbulent Flow
Parabolic Profile
Flat P fil Fl Profile
TwoTwo-Phase Pressure Drop
Use mixture properties for:
Friction Friction, Density,
f
mm
Velocity, v m
dP dL
dP dL
elevation
dP dL
friction
dP dL
acceleration
dP dL
2 g f m mvm dv mvm d m g m sin 2 g d g dL c c c
TwoTwo-Phase Flow Terms
Holdup (Volume Fraction)
AG AL V = VG + VL A = AG + AL
Liquid Holdup (Actual Volume Fraction)
H
A
L=AL
L
+AG q
L
No Slip (vL = vG) Holdup (Flowrate fraction)
H = LNS q
L
+
q
G
Actual Volume Fraction = Flowrate Fraction
Same Flowrates - Different Holdups
Uphill Downhill v G
vvG
L
qG = vGAG qL = vLAL v
v
L
v
L
<v
G
> vG L
H L > H LNS
H L < H LNS
Horizontal Flow Patterns
Segregated Flow
Annular Wavy Stratified
Distributed Flow
Mist Bubble
Intermittent Flow
Plug Slug
Flow Regime Correlations
Superficial velocities
qL qG vSL , vSG A A
(vSL, vSG, physical properties)
Flow Pattern = Function
Separate Correlations for:
Liquid holdup
Determines mixture density, viscosity
m = HL L + (1-HL) G
Friction factor
m = HL L + (1-HL) G
Mandhane Flow Regime Map
Horizontal only
Mist
20.0
Slug
Bubble
1.0
Annular
vSL
0.1 0.01 0.1 1.0
vSG
10.0
100
300
Stratified
Wavy
Taitel-DuklerTaitel-Dukler-Barnea Flow Regime Map
Maps change according to orientation angle
75.0 Bubbly
10.0 vSL (ft/sec) 1.00 Intermittent Annular
0.10
St at ed Stratified Smooth
Stratified Wavy
0.01 0.1 1.0 10.0 vSG (ft/sec) 100.0 900.0
Duns and Ros Flow Regime Map g p
Vertical only
10
2
10 NLV 1
Bubble Flow
Region I Plug Flow Flo
Froth Flow g Region II Region III
10-1 10-1
Slug Flow
Mist Flow
1
10 NGV
102
103
Heat Transfer Calculations
Choice of Isothermal / Rigorous heat transfer Overall heat transfer coefficients may
be supplied (U=1 BTU/ft2-hr-F by default) Overall heat transfer coefficients (U) may
be calculated for pipes ( ) y pp Wellbore Heat Transfer Ramey Function Partially
Buried Pipes Neher Formulation (Neher J H "Temperature Rise in Buried Cables in
Pipes " (Neher, J.H., Temperature Pipes,
Trans, A.I.E.E., vol. 68, no. 1 (1949))
Laminar - Turbulent - Transition Flow Churchill Correlation
Heat Transfer Calculations
Multiple insulation layers are allowed for pipes
Rigorous compression/expansion considered for compositional fluids
heating
effects
are
Temperature applications
gradient
may
be
input
for
downhole
Temperature Calculations
Heat flow through pipes Q = U.d.L.(Tf - TA) U
U= 1 Resistances
User assigns the overall heat transfer coefficient (U) (U=1 BTU/ft2-hr-F
by default)
Program calculates U from detailed heat transferproperties
Temperature Calculations
Surroundings (soil, air, or water) Insulation
Inside Film Pipe Wall
Resistance RInside, Film RPipe p RInsulation RSurr RInside ROutside RR d Rad
Due To Boundary layer on the inside of the pipe Material from which the pipe is made
Insulation (up to five concentric layers) Surroundings (soil, air, water) An additional
fluid resistance inside the pipe (optional, user-defined) An additional ambient fluid
resistance on the outside of the pipe (optional, user-defined) Radiation (optional)
Effect of Temperature p
Fluid properties Phase split Pressure drop and holdup Hydrate formation Wax
deposition Flow pattern
Applying PipePhase to p Downhole Operations
_______ 00/00/00 Invensys
Invensys proprietary & confidential
Downhole Applications pp
Downhole features in PipePhase:
Detailed Gas Lift Analysis y Electrical Submersible Pump (ESP) Time Dependent
Production Planning
Detailed Gas Lift Analysis
Problem: The bottom hole pressure is too low to support the fluid column in the well
Remedy: Reduce the density of the fluid column by injecting gas into the tubing
Dilemma: Gas injection creates additional back pressure which reduces production
rate
Gas Lift Installation
PWH Casing Head Press Injection Rates qinj PCHP 1000 ft.
Questions?