EHY2351 Modeling Heavy Oil & Gas Production and Facilities Using Aspen HYSYS Upstream Course Number EHY2351.084.01 . a
Views 844 Downloads 93 File size 4MB
EHY2351 Modeling Heavy Oil & Gas Production and Facilities Using Aspen HYSYS Upstream Course Number EHY2351.084.01 .
aspen.
EHY2351 Modeling Heavy Oil & Gas Production and Facilities Using Aspen HYSYS Upstream AspenTech Customer Education Training Manual Course Number EHY2351.084.01
Copyright© 2014 by Aspen Technology, Inc. 200 Wheeler Road, Burlington, Massachusetts 01803, USA All rights reserved. This document may not be reproduced or distributed in whole or part in any form or by any means without the prior written permission of Aspen Technology, Inc. The information contained herein is subject to change without notice, and Aspen Technology assumes no responsibility for any typographical or other errors that may appear.
Aspen Technology may provide information regarding possible future product developments including new products, product features, product interfaces, integration, design, architecture, etc. that may be represented as "product roadmaps." Any such information is for discussion purposes only and does not constitute a commitment by Aspen Technology to do or deliver anything in these product roadmaps or otherwise. Any such commitment must be explicitly set forth in a written contract between the customer and Aspen Technology, executed by an authorized officer of each company.
Modeling I-Ieavy Oil & Gas Production and Facilities Using Aspen HYSYS Upstrea111
Contents
Contents Section
Introduction to Heavy Oil Characterization Heavy Oil Characterization Workshop Oil & Gas Separation Plant Oil & Gas Separation Plant Workshop Pipeline Simulation Using Pipe Segment Oil and Gas Pipeline Simulation using HYSYS Pipe Segment Workshop Aspen Hydraulics Workshop Hydraulics in Dynamic Pigging Model Gas Oil Separation Plant (GOSP) Explore Conceptual Design Builder to swiftly build GOSP Modeling Real Separators Modeling Real Separators Workshops Tuning Viscosity Tw1ing Viscosity Workshop
©2014 AspenTech. All Rights Reserved.
Aspen Technology, Inc.
Agenda
Using Aspen HYSYS Upstream
Modeling Heavy Oil & Gas Production and facilities using Aspen HYSYS Upstream Course Number EHY2351.084.01
Disclaimer Aspen Technology may provide information regarding possible future product developments including new products, product features, product interfaces, integration, design, architecture, etc. that may be represented as "product roadmaps." Any such information is for discussion purposes only and does not constitute a commitment by Aspen Technology to do or deliver anything in these product roadmaps or otherwise. Any such commitment must be explicitly set forth in a written contract between the customer and Aspen Technology, executed by an authorized officer of each company.
©2014 AspenTech. All Rights Rese1ved.
Aspen Technology, Inc.
Using Aspen HYSYS Upstream
Agenda
Course Objectives At the end of this course you will be able to: Use upstream PVT information to simulate component based processes in HYSYS Model a oil and gas separation plant Simulate pipeline and piping networks using both the Pipe Segment operation and Aspen Hydraulics Simulate pipeline pigging using HYSYS Dynamics
Course Agenda Day 1
Introduction to Aspen HYSYS Upstream Heavy Oil Characterization Pipeline Simulation Using Pipe Segment I
Model Oil-Gas Separation Plant (OGSP) Pipeline Simulation Using Aspen Hydraulics
©2014 AspenTech. All Rights Reserved.
2
Aspen Technology, Inc.
Agenda
Using Aspen HYSYS Upstream
Course Agenda Day 2
Dynamic Pigging Using Aspen Hydraulics Conceptual Design Builder Modeling Real Separators Tuning Viscosity
Class Structure
"Hands-on" learning philosophy Brief introduction to each module, with demos as required Learning is achieved primarily by doing workshops and asking questions as problems are encountered, rather than via lecture
Tell me and I forget, Show me and I may remember, Involve me and I understand. Once each simulation model has been completed, attempt to answer the challenge questions posed at the end of the module Discussions and requests for demonstrations are welcome at any time
©2014 AspenTech. All Rights Reserved.
3
Aspen Technology, Inc.
Using Aspen HYSYS Upstream
Agenda
Course logistics
Morning Session - 8:30 am to 12:00 pm - Coffee break mid-morning
Lunch Break - 12:00 pm to 1:00 pm
Afternoon Session - 1:00pmto4:30pm - Coffee break mid-afternoon
Emergency exits, restrooms, etc.
AspenTech Contact Information Internet:
http://Support.AspenTech.com
Email:
[email protected] Training [email protected]
Phone:
NALA: +1 888 996 7100
EMEA: +44 (0) 118 922 6555 APAC:
+66 33 132920
Technical Support Hotline Training Customized Support Services Knowledge Base Solutions Product Patches
©2014 AspenTech. All Rights Reserved.
4
Aspen Technology, Inc.
Agenda
Using Aspen HYSYS Upstream
Q ues t .ions.']
©2014 AspenTech. All Rights Reserved.
5
Aspen Technology, Inc.
Introduction
Aspen HYSYS Upstream
Introduction to Aspen HYSYS Upstream Modeling Heavy Oil & Gas Production and Facilities Using Aspen HYSYS Upstream
lesson Objective Introduction to the Aspen HYSYS Upstream product Overview of key product features
©2014 AspenTech. All Rights Reserved.
Aspen Technology, Inc.
Introduction
Aspen HYSYS Upstream
Aspen HVSVS Upstream learning the Oil and Gas language
•Black Oil
•Mo/% • Components
•GOR
•Water Cut
• OH Characterization
•PVT
• FfowsheeUng • Equipment Sizing
• Well Modeling • Nodal Analysis
Production Engineer
Facility Engineer
forming the foundation Aspen HYSYS forms the foundation for AspenTech's oil and gas process modeling vision Oil &Gas Petroleum Upstream
AspenHYSYS Upstream
&
Downstream
Aspen HYSYS Petroleum Refining
Aspen HYsYS l.Jpstream Dynamics
©2014 AspenTech. All Rights Reserved.
2
Aspen Technology, Inc.
Introduction
Aspen HYSYS Upstream
Aspen HYSYS Upstrearn (1} Aspen HYSYS Upstream - Steady State: - Oil and Gas Thermodynamics and Methods ~ ~
-
Oil and Gas Feed Neotec Black Oil
Oil and Gas Flowsheeting Black Oil Translation in the case of Neotec Black Oil Component Lumping\Delumping Hydraulics Subflowsheet ~
Steady state pipeline network solver
- Production Allocation Utility - PVT Environment Infochem Multiflash Schlumberger DBR PVTPro Link with Calsep's PVTSim
Aspen HYSVS Upstream - Field Model Integration PIPESIM-Net Link -
Black Oil, Compositional, Gas Lift
Prosper/GAP Link
Aspen HYSYS Upstream - Dynamics: - Hydraulics Subflowsheet • ProFES engine inside
- OLGA 2000 Runtime Interface - Oil and Gas Feed I Black Oil Flowsheeting - Dynamics
©2014 AspenTech. All Rights Reserved.
3
Aspen Technology, Inc.
Aspen HYSYS Upstream
Introduction
Black Oils
Surface
-~=~""'r----1
1
·. •
Production Fluid (oil/water/gas)
•
Language of the Upstream industry - Reservoir, well, and flowline simulators use black oil models Reduces computational complexity of the problem
.1
- Petroleum/Production engineers have limited information on production fluid from well tests rv i
Complete compositional analyses rarely available
Black Oil Translation
Compositional Mode Standard ModeVntt Ops
Flow
Density
Oil and Gas Feed Translates automatically
©2014 AspenTech. All Rights Reserved.
4
Aspen Technology, Inc.
Introduction
Aspen HYSYS Upstream
Black Oil Translation
Compositional Mode
Neotec Black Oil Methods
Flow Density
Black Oil Translator
Cl C3 Cf
C2
N-C3 N-C4
cs
C6 C7+
PVT Environment
Resides in the basis environment Facilitates the work flow between Aspen HYSYS and third party PVT Packages Automatically generates fluid packages and component lists where appropriate Allows easy access to the created fluids from the stream level
•• I
©2014 AspenTech. All Rights Reserved.
5
Aspen Technology, Inc.
Aspen HYSYS Upstream
Introduction
Component lumping: lumper unit operation Methodology for "blending" and "grouping" components together Can be used to mix streams that have different component lists
Mainly used for hydrocarbons -
Can lump any components: pure, hypothetical, and other lumped components
Preserved Bulk Properties: - Molecular weight - Ideal liquid density - Molar and mass flow rates - Viscosities at two specified temperatures
Component lumping/ Del umping Cf
C2 C3 N-C3
C4
N-C4
C5
Cf
CB
C2
C7
C3
CB
N-C3
C4
N-C4
C5 CB CT>
C30-t
©2014 AspenTech. All Rights Rese1ved.
6
Aspen Technology, Inc.
Introduction
Aspen HYSYS Upstream
PnHluction Allocation Utility Tracks composition contribution in product streams from desired source streams
~ReporJ
Aspen Hydraulics Steady State Topology - Straight Run Convergent Branched - Looped/Divergent
Unit Operations - Pipe Segment (with/without Heat Transfer) - Valve, Mixer/Tee (Calculates Flow Direction and Pressure Drop) - Swage
Composition Tracking - Fully Compositional Model using Equation Of State (COM Thermo) - Black Oil
Refer to Sample files in folder "Irootl:\Prngr;un FiL~s\l\sPenie«~•'•0t;F~''""
H,pomoup..'
nr10
fl:.'•""""'~
nClJ
(;,) Cll' u, .. ~rt,,,...,f,,,o:i>«
'~";(;""'/~
c11 CJJ' v,.,c,o,.d>tlf°"'""
'1 10>G,oupl
u;·
'-a~,.
"
n-ni
(JS CD' u"'""'"'dft,po:til1d'">"
I
j EOS Solution Methods
IPhase ldentificatwn
. I
Surface Tens1on Method
NB-SStt>om NRTL
lhermal Conductrvlty
OLl_fi
Workbooks and view the HYSYS Workbook. Use this to compare the conditions, properties, and compositions of the three Reservoir streams. Save your case as 01_0il-Gas Feed3.hsc.
©2014 AspenTech. All Rights Reserved.
15
Aspen Technology, Inc.
Aspen HYSYS Upstream
Pipeline Simulation Using Pipe Segment
Pipeline Simulation Using Pipe Segment Modeling Heavy Oil & Gas Production and Facilities Using Aspen HYSYS Upstream
lesson Objectives
Add and connect a Pipe Segment to build a flowsheet in Aspen HYSYS Upstream Explore pipe segment results and flow assurances
Workshop: Use the Pipe Segment to simulate a pipeline
©2014 AspenTech. All Rights Reserved.
Aspen Technology, Inc.
Aspen HYSYS Upstream
Pipeline Simulation Using Pipe Segment
Summary of Available Pipe Options (1) Pipe Segment - Standard feature in HYSYS - Optional add-on license to use OLGA 2-phase, or 3-phase correlations
Compressible Gas Pipe Pipe included in Valve (shortcut option for Dynamics) - Requires HYSYS Dynamics license
PIPESYS - Requires separate PIPESYS license from SPT Group
Links to Pipesim and Prosper/Gap - Requires HYSYS Upstream license and separate license from Schlumberger
Summary of Available Pipe Options (2} Aspen Hydraulics - Requires HYSYS Upstream in Steady State and Aspen Hydraulics license in Dynamics
Link to OLGA - Requires HYSYS Upstream from AspenTech and OLGA license from Neotec
©2014 AspenTech. All Rights Reserved.
2
Aspen Technology, Inc.
Aspen HYS YS Upstream
Pipeline Simulation Using Pipe Segment
HYSYS Pipe Segment PIPE-100
Production
To
Fluid
BaUery
Part of standard HYSYS Steady State & Dynamics for modeling process piping and transport pipelines Needs feed and product streams, plus an Energy stream Represents "multi-segment" single line Segments can be pipes (different lengths, elevations, diameters) or fittings
r:,
9
6
2 __ 3 ____.,, ~========::::1x1
L4
HYSYS Pipe Segment Limited network capabilities For a single pipe you can specify two out of P; 0 , Pout & Flow Rate Alternatively, give all 3 (P; 0 , Pout & Flow) and it will calculate pipe length (for single segment only) For a single branched system of 3 pipes specify, for example, Pl & the inlet flows Calculates P2 Set mixer to equalize pressures, therefore P3 = P2 Calculates P4 and then PS P1
©2014 AspenTech. All Rights Reserved.
P2
3
Aspen Technology, Inc.
Pipeline Simulation Using Pipe Segment
Aspen HYSYS Upstream
HYSYS Pipe Segnient
Limited network capabilities A typical gathering network will have well flows that depend on the back pressure of the network and a discharge pressure. Limited network models can be done with Adjust blocks to balance pressures (use Simultaneous Adjusts) A network that gathers more than five wells is usually slow to solve - Could have more wells with some flows fixed
HYSVS Pipe Segment
Can model single phase and multiphase - Wide choice of multi phase correlations (see documentation
for details) Can model heat loss in detail Can estimate heat transfer coefficient with fluid + metal + 1 layer of insulation
..,......,_ ........ '"""";'""l•~-·l,.,•"'""'''"'"'"".... ;~lc.,.;..; ...... ·-~·/
Ambient medium can be Air, Ground or Water - Alternatively enter a coefficient
for pipe, or for each segment - Or, specify heat loss (duty)
©2014 AspenTech. All Rights Reserved.
4
Aspen Technology, Inc.
Pipeline Simulation Using Pipe Segment
Aspen HYS YS Upstream
HVSYS Pipe Segment Runs in dynamics, but does not consider phase slip Option to use OLGA 2-phase or 3-phase correlations in Pipe Segment p~~ ~1'5'Hro The pipe model -"'"!-' -ru,,_"9_r...-.""'h..1_ff-..f.,,.,.~rf"',:""-..,~~ro:,....,,..,. can predict Coe::'"' l~~~j~~''°p",(o"'~'"" typical slug length ~:::.'.:: ( , •'«t·'f'poH;,,(c.. ... >l>O and frequency ;..:;:: •.• rn.fu\S lP Not« ..
~
i
·QlGAS lP
HVSYS Pipe Segment Improvements
Improved flexibility in assigning pipe flow correlations - Can now assign different pipe flow correlations to different segment orientations (vertical, horizontal, inclined)
(·-"~""""'
;
''"""'~'
I;;:::,:_~,
~:'.~-'~~= ··}•· d,f?]~1i~~:~"'
h
directions
,.,;.., '"'"'"'"'"""
,>ms.uo""'"~
,.,,,,.~
'.,,,:
""''° "''
©2014 AspenTech. All Rights Reserved.
5
Aspen Technology, Inc.
Pipeline Simulation Using Pipe Segment
Aspen HYSYS Upstream
Pressure Drop Correlations and Usage Model
Aziz, Govlf)r & Fogarasl
Horizontal Flow
11£MIJM&&Jl£MM&IJ&!M&
Use with Care
"'
Yo;
Baxendell & Thomas
y"
No
N•
BegQs'&.Brlll (1973)
v..
v..
Yo$
Yes
Beggs&: Brill (1979)
Yes
y"
y.,
Di,ins&ROS
No
y"
"'
No
"'
"' "'
No
Yes
y.,
"' No
HTFS Homogeneous
Yes
No
Y.s
No
OLGAS 2-Phase
y" y,.
"' y,.
No
HTFS liquid, $1ij>
y.,
Yes
Yes
OlGAS 3-Phase
v..
"'
y.,
Yes
"' v..
"' No
Yes
No No
y"
Yes
"'
Gregory, Aziz, Mandhane Hagedorn &'Bi"oWn'
Orklsewskl P0ettinali
'a ca'rpei1tet
Tulsa 99
N•
No
"'
Yes
No
New f1.111ctio11ality for Pipeline Modeling Available starting from V7.3 CP1 Flow Assurance -
C02 corrosion rate profile Erosion velocity profile Hydrate formation profile Slug flow Wax deposition
Emulsion Viscosity Models - Several options for calculating viscosity of combined oil and water phase
Tulsa Unified Model Correlation - New correlation for HYSYS pipe and Aspen Hydraulics
~aspfl!'\lech
©2014 AspenTech. All Rights Reserved.
Etsed f'ha
._1((('
,,,..,
6141!)
lo-o'm'llont
9!H2
O-l591w.i
~sgg
~{l(00Cl'
~(
OJJ4.J6
!"'"""'"""\
\•->Sl01~
0461~)·
'°~
oocoxc
!o1er''1"1"1!
o_;7~i7J
04M'.E
40~'
]o,.o-n;ttrnl
iH?~Q~O
OAHJ;J
-166>
~!IE)(IC(Q
l••l«mtant
;APl-RP-t4EContiotJe.r11hm•
l'Se''"
,.
15.C>O-f----jf-----j----f----j-----J
14.oo-l---=11===+===1====1=----I n.oo
-1,~~--1----1--~ .-1-~---~.--
e
7.246 m3
~e,,..pty>
~empty>
168.000CO
168:00.000
; Plug Presrnre Drop
Depa.it Prope'11es
Actual
· -~·~;.,;plY;:-:·---s.w-,;:;-;
Deposit Trucknes~
i'''"''""-""--'"-""""'"'
012.()l)J).IXJ
I
(1;m. l.,n9th
Jnit.
o..p. Thd:.
C~k.
[mml
[mJ
100.000
0.000000
200000 300.000
0.000000 0.000000
.100.000
0.000000
500.000 600.000
0.000000 0.000000
700.000
0.000000
Dep. Thick, {mm!
Dep. Volume
Oep. R.lte
[m3]
[kg/s·m2]
4.830321 4.774047
0.717764
3.9309&.•
0.709487
3.91567
3.90473E
.\.677190 4.629901 5.113101 5.069083
3.89366(
0.688274 0.759330
O.i52863
--~---·-~-·----------~·-
"' "' _J=========---=--=---=---=---=~ o
Save your case as 02_Oil-Gas Pipeline F A.hsc.
©2014 AspenTech. All Rights Reserved.
13
Aspen Technology, Inc.
Aspen HYSYS Upstream
Model Gas Oil Separation Plant
Model Oil-Gas Separ·ation Plant Modeling Heavy Oil & Gas Production and Facilities using Aspen HYSYS Upstream
learning Objectives Build a flowsheet based on Oil & Gas Feed inputs Review HYSYS process modeling using separators, heat transfer equipment, rotating equipment, etc. Add an HC Dewpoint calculation to a stream through the Correlation Manager Use the Adjust operation to meet a desired process specification
©2014 AspenTech. All Rights Reserved.
Aspen Technology, Inc.
Aspen HYSYS Upstream
Model Gas Oil Separation Plant
Process Overview
,, I
.:it-----:::..
Questions?
©2014 AspenTech. All Rights Reserved.
2
Aspen Technology, Inc.
Modeling Heavy Oil & Gas Production Facilities Using Aspen HYSYS Upstream Oil-Gas Separation Plant Workshop
aspen.
Modeling Heavy Oil & Gas Production Facilities Using Aspen HYSYS Upstream
Workshops
Oil-Gas Separation Plant Workshop Objective This module is a continuation of the Oil and Gas Feed simulation and Pipeline by Pipe Segment modules. You will model a two-stage oil-gas separation plant used to separate the gas, crnde oil, and water contained in the streams produced from the reservoirs. Each separation train consists of a 3-phase separator followed by some additional gas processing (a low temperature separator and compressor). The lean, dry gas produced must meet a pipeline hydrocarbon dew point specification before it is delivered to the gas plant for further processing. The crude oil extracted from the separation process is exported for refining. The water produced is collected for reinsertion to the wells, where it is used to pressurize the reservoir to enhance the recovery of remaining oil and gas deposits.
Description The standard Aspen HYSYS unit operations such as separators, heat transfer equipment, and rotating equipment items can also be employed in an upstream model. This Oil-Gas Separation model is a simulation of a standard-type processing unit. The model will also attempt to meet ce1iain product specifications and this is made possible by using certain logical (or mathematical) operations in HYSYS. This workshop includes the following tasks: • • •
Task I - Open Starter & Inlet Separator Task 2 - Finish the Model Task 3 - Dew Point Control
©2014 AspenTech. All Rights Reserved.
2
Aspen Technology, Inc.
Modeling Heavy Oil & Gas Production Facilities Using Aspen HYSYS Upstrea111
Workshops
Task 1 - Open Starter & Inlet Separator You will use the case created in the Pipeline module as the base for building this module. o o
Open the case 02_Oil-Gas Pipeline.hsc. Save this case as 03_ OGSP Starter.hsc.
Note: The Oil-Gas separation plant will be built with only streams 'Reservoir I' and 'Reservoir2 '. The oil and gas production from reservoirs 1 and 2 enter the separation plant at a controlled pressure and proceed to a 3-phase separator. This separates the gas, crude oil, and water phases into three different streams. Overhead gas from the 3-phase separator is then passed through a cooler where heavier hydrocarbons condense. These hydrocarbon liquids are separated from the cooled gas in a Low-Temperature Separator. A compressor raises the pressure of the dry, cold gas up to the operating conditions of the pipeline. The condensed liquids from the low temperature separator are mixed with the crude oil from the 3-phase separator. The combined liquid stream then proceeds to the secondary separation train. An inlet valve is added to reduce the pressure of the pipeline before the production fluid enters the 3-phase Separator.
o
Add a Valve operation and specify the Connections page as follows: Valv'positio'l
Temprro!we
Co!umnOps
'fCustom
r,
j
i-
Custom...
J
G.n20 Gos 21 Gos 22
Total WOR
Uso·r Vorioblt:'s Vapour Frortirm
Variable
o
o o
o
~scription
Temperature
Click the OK button to accept the variable and return to the Adjust property view. Click the Select Var button in the Target Variable group. The Selected Target Variable view appears. Specify the following: In this list...
Select...
Object
To Gas Plant
Variable
Calculator
Variable Specifics
HC Dew Point (Gas)
Click the OK button to close the Selected Target Variable view.
Note: Any variable that has been added to the Properties Page using property correlations such as HC Dew Point must be accessed through the "Calculator" variable when using a variable navigator. The next step is to provide a value for the target variable, which in this case is the dew point temperature. The pipeline specification to which we must adhere is to keep the HC Dew Point temperature at or below -14 °F (-25.5 °C). You will allow for a I °C safety margin in your specification, however.
©2014 AspenTech. All Rights Reserved.
13
Aspen Technology, Inc.
Modeling Heavy Oil & Gas Production Facilities Using Aspen HYSYS Upstream
o
Workshops
Enter a value of-25°C (-13°F) in the Specified Target Value box. The completed Connections tab is shown below:
(011nection
':1
point
Elevation m meters
©2014 AspenTech. All Rights Reserved.
2
Aspen Technology, Inc.
Modeling Heavy Oil & Gas Production Facilities Using Aspen I-IYSYS Upstream
Workshops
The fluid in this case is varied; both sour and sweet gases are being combined in the pipeline, as well as a gas condensate mixture. Various piping connections combine all of the incoming gas streams from the outlying wells into one common header. Flow lines extending from this central site to each of the individual wells are modeled in Aspen HYSYS Upstream using the Pipe and Complex Pipe operations available in Aspen Hydraulics. Since the plant is located in an area with mixed terrain, the elevation changes must be accounted for. Aspen Hydraulics Mixer operations are used to model mixing points where flows from remote wells are combined in common lines. Pipe Diameters for each of the branches are: Pipe Branch
Diameter
Branch 1
76.2 mm (3")
Branch 2
101.6 mm (4")
Branch 3
76.2 mm (3")
Branch 4
101.6 mm (4")
Branch 5
152 mm (6")
Branch 6
76.2 mm (3")
Branch 7
152 mm (6")
Schedule 40 steel pipe is used throughout and all branches are buried in Dry Peat at a depth of 1 m (3 ft) with an ambient temperature of 12°C. All pipes are uninsulated. Elevation data for each of the branches are provided in the following table. Branches that traverse undulating terrain have been subdivided into a number of segments with elevation points assigned at locations where there is a significant slope change. Such locations in the network are labelled on the schematic diagram with the elevation value in italics.
©2014 AspenTech. All Rights Reserved.
3
Aspen Technology, Inc.
Modeling Heavy Oil & Gas Production Facilities Using Aspen HYSYS Upstream
Workshops
1
2
Branch 2
Branch 3
GasWell3 1
648 (2125)
2
634 (2080)
3
Branch 4
205 (670)
633 (2077)
.sa1..(i!g~o>···•
.B.ranchf
·
j
1
!
;:
C~ Mroltum Amy• tao,1M..n•9"
[> (.ankn EMl>olpy
Peny-PC'boM-"'1 Enlropy Ptng·llobiMOtl Cp
Peng-Robinsen (v Peng-Robinf>t~kg ' 'Peng-flD~I"""'
Properly Pkg
o
. .:v.·-.··'·'··'··.."> ...·..·.., .· .·.· ·'· · '· ·. 1;(iUod·-i-tfiy;~f', .""-:-~.............:................ ;;,.,.t'.
In the Model Options section on the right-hand side of the view, scroll down until you see the Molar Volume and Molar Density calculation options. Change these from the default Peng-Robinson option to the Costald Molar Volume and Costald Molar Density options.
Note: When in the COM Thermo environment, use this "Model Options" section to customize any physical property calculations for the selected property package. Similar modifications can be made when using the standard HYSYS packages as well. o
Save this case as 04_Hydraulics Basis.hsc.
©2014 AspenTech. All Rights Reserved.
6
Aspen Technology, Inc.
Workshops
Modeling Heavy Oil & Gas Production Facilities Using Aspen HYSYS Upstrea111
Task 2 - Add Hydraulics Sub-Flowsheet Aspen Hydraulics can be used to simulate a wide variety of piping situations ranging from single/multiphase plant piping with rigorous heat transfer estimation, to largecapacity, looped pipeline problems. It offers the pressure drop correlations developed by HTFS and the commonly used Beggs and Brill. The heat transfer can be estimated in detail including multiple layers of insulation both inside and outside the pipe. By default in steady-state, Aspen Hydraulics works with specified inlet flow rates and a specified back pressure. In this simulation we will be using some of the common unit operations available inside Aspen Hydraulics: Pipe, Complex Pipe, and Mixer. The standard mode of calculation used by Aspen Hydraulics means that the feed pressures will be calculated and therefore should be left unspecified. However, Aspen Hydraulics does need to know the thermodynamic state of the feed streams and there are two ways of achieving this: I. Install a unit operation between a completely specified feed stream that results in a stream with a known mass enthalpy and an unknown pressure. For example, you can add Valve, without specifying pressure drop. The valve will pass the Enthalpy, Flow and Composition infonnation from inlet to the outlet. 2. Provide a reference condition for each feed stream inside Aspen Hydraulics flowsheet. In this workshop, we will use the second method.
o
Click Simulation to view the HYSYS PFD.
o
Add four material streams to the PFD and define them as follows: GasWell 1
GasWell 2
GasWell 3
GasWell 4
Temperature 'C ('F)
40 (105)
45 (115)
45(115)
35 (95)
Pressure kPa (psia)
4000 (600)
3500 (500)
3800 (520)
4000 (600)
Flow kgmole/h (lbmole/hr)
425 (935)
375 (825)
575 (1270)
545 (1200)
©2014 AspenTech. All Rights Reserved.
7
Aspen Technology, Inc.
Modeling Heavy Oil & Gas Production Facilities Using Aspen HYSYS Upstream
o
o
Workshops
For the stream compositions, open the provided Excel spreadsheet (Gas Well Comps.xis) in the course workshops folder. You can copy the compositional data from the Excel spreadsheet and paste it into HYSYS. At this point all required streams should be defined. Now you can add the Aspen Hydraulics sub-flowsheet. Click on Upstream group in the object palette.
;:£! Palette
0 &.X
l+ll+I Custom
o
Click on the Aspen Hydraulics icon and then click on the PFD where you want to place the hydraulics subflowsheet.
Aspen Hydraulics operation opens automatically. If it is not open, double click on the hydraulics subflowsheet icon to open it. o
Select GasWelll under External Stream in the Connections page. Select rest of the three streams one after another.
-- Aspen H;-d~auli'cs St:ib-Fici~s'h~ H'i0R;100 Connections Name
~pe~~~i~~i]~steady staf~T-QY~~~~-~-[~~~~~~~]~~~~~-~i_~l~[T;~~~f~r_B~~~[ii~~-s~~!J:~.L~~!~J
HYDR-100
Tag
TPll
Inlet Connections to Sub-Flowsheet Internal Stream
External Stream
GasWelll GasWel!2
o o
GasWelll
GasWe113
GasWellZ GasWell3
GasWe!l4
GasWelf4
0
New'"*
Click on the Show Flowsheet button. This is where you will construct your piping network. Press F4 to open Hydraulics object palette. Alternatively, you could go to Flowsheet/Modify ribbon and click on Models and Streams Palette.
©2014 AspenTech. All Rights Reserved.
8
Aspen Technology, Inc.
Modeling Heavy Oil & Gas Production Facilities Using Aspen HYSYS Upstrea1n
Workshops
Task 3 - Build the Piping Network Aspen Hydraulics is very strict when it comes to connecting various pieces of equipment. The following three rules that need to be respected: Inlet and outlet streams need to be connected to a pipe or complex pipe segment You cannot have two fitting type objects (Swage, Tee, Mixer) in series, there needs to be a pipe in between You cannot connect two pipe or complex pipe models with different inside diameters. You must use a swage to model the change in diameter. Pipes can be modeled using either the regular Pipe or the Complex Pipe operation. The Complex Pipe allows for multiple piping segments, much like the HYSYS Pipe Segment operation, while the regular Pipe just allows for one segment. The Complex Pipe will be used for Branches 1, 3, and 6 while the regular Pipe will be used for all other piping branches in the network. o o o
Add an Aspen Hydraulics Complex Pipe from the Hydraulics object Palette. Double click on the complex pipe. On the cotmections page, connect Gas Well! as the inlet, Bl-Out as the outlet, and also add a duty stream Bl-Q. Rename the Complex Pipe-100 to Branch 1.
Asp eh Hydiaulit!O Ci.impre( P1pe·seg1tiflnt· Bra11ch I
---·o~-~-i-~-~....Lf:!!?.'.n.l~~"~J. ~~-f!-~""- · ~ -
Temperature vs Axial Distanc 0 Velocity vs Axial Distance Density vs Axial Distance Vapour fraction vs Axial Distance Liquid Holdup vs Axial Distance Mass Flow vs Axial Distance Elevation vs Horizontal Distance ····-······ -- --········-·-..;;;;::
'-....
.......... ........
3000
. .
2500 0.000
... . .. . 1000
500.0
.
1500
.......
,
.. 2500
2000
Axial Distance (m)
o
Add a new results profile showing Branches 1, 4, 5, and 7 in series. Compare your pressure profile to the one below:
Pressure vs Axial Distance
Plot Variables
Pressure vs Axial Distance 3450
........
3400 3350
.
(ti' 3300
.
'lz
3250
l!1
3200
.
"'
3150
. .
""'
£ 3100
I
........
~-i..IDistanc •1ml""3 9 Pretsure.(kP< ) ..... . .. 3 02
...... ....
......... .......... ..........
........
...... ,
3050 . 3-000
........
.
2950 0.000
. 5000
. 100.0
'
. 200.0
150J)
250.0
300.IJ
3SIJ.O
400.0
Axial Distance (m)
o
Save your case as 04_Hydraulics Profiles.hsc.
©2014 AspenTech. All Rights Reserved.
17
Aspen Technology, Inc.
Modeling Heavy Oil & Gas Production facilities Using Aspen HYSYS Upstrean1
Workshops
Task 5 - Heat Transfer Contributions The heat loss parameters to be used are as follows. Pipes buried in Dry Peat at a depth of 1 m with an ambient temperature of l 2°C. There is no insulation on the pipes. The pipe thickness is defined by the Pipe Schedule (Schedule 40). For simplicity we have used the nominal pipe diameters up till now, we now need to use the col1'ect inside and outside diameters. Below is a list of the required sizes for our pipes: Nominal Size
Inside Diameter
Wall Thickness
3" (76.2 mm)
77.93 mm
5.5mm
4" (101.6 mm)
102.3 mm
6.0mm
6" (152.0 mm)
154.1 mm
7.1 mm
Note: Before you start doing these modifications, click the ignore checkbox of the Aspen Hydraulics operation. This will prevent the operation for solving each time you change an input. Heat transfer calculations in Aspen Hydraulics take a bit of time to complete, so we will wait until all details are provided before calculating.
====------R-JI-gn-o-re_d__J
J
~~~~~~~~~~~
T
o o o o
o
Make sure the Hydraulics sub-flowsheet is Ignored as shown above. Go to the subflowsheet environment by clicking on Show Flowsheet button. Update the seven piping operations in the sub-flowsheet with the diameters Go to Data fonn to define diameter. Go to the Heat Transfer fonn of each pipe and complex pipe. Make sure Mild Steel is selected as material in each case. Define the thickness. For simple pipe, check Estimate HTC radio button to define thickness in Heat Transfer form. For each pipe and complex pipe, use the Heat Transfer fonn to enter the required heat transfer parameters. Shown below are the forms for a complex pipe and a pipe.
©2014 AspenTech. All Rights Reserved.
18
Aspen Teclmology, Inc.
Modeling Heavy Oil & Gas Production Facilities Using Aspen HYSYS Upstream
Workshops
G?:[email protected]
A~pen Hydraurif,lH'°
""°'"'"'"''""""''
"""'"'""'"'~'"'"'~"""'~'"' ""'t'~ .. -·~·-··~·'""'
'1llorr .... L•odeo'"'• ' , . ' ..~,-.,,1 .• """
' CoTIO'>,..,,!,,,l•"J
°CdO=-
'~~tl-..C
"""'
;_..,.,_'JI
_iGi:)_.,...,...,
Dynamic Pigging Workshop Familiarize yourself with the setup of a dynamic problem in Aspen Hydraulics Set up a pigging operation and illustrate how to integrate this information with an Aspen HYSYS model Review strategies for linking/associating an Aspen Hydraulics model with a pre-build HYSYS Dynamics simulation Utilize Microsoft Excel for enhanced reporting and review of the pigging model
©2014 AspenTech. All Rights Reserved.
6
Aspen Technology, Inc.
Modeling Heavy Oil & Gas Production Facilities Using Aspen HYSYS Upstream Dynamic Pigging Workshop
··aspen
Workshops
Modeling Heavy Oil & Gas Production Facilities Using Aspen HYSYS Upstrea111
Dynamic Pigging Workshop Objective After completing this workshop, you will be able to provide sufficient information to fully configure and use the pigging operations within an Aspen Hydraulics sub-flowsheet. You will also get an opportunity to use dynamic modeling capabilities of Aspen HYSYS and review some of the basics of the HYSYS Dynamics package.
Description Aspen Hydraulics is intended for use within the Aspen HYSYS® Oil & Gas option and in particular with the Dynamic Pipeline Solver embedded within Aspen Hydraulics. The Dynamic Pipeline Solver is designed for modeling transient multiphase hydrocarbon flows in wells, pipelines, and process equipment. The Dynamic Pipeline Solver solves mass, momentum and energy equations for each phase using a one-dimensional finite difference scheme. Appropriate flow pattern maps and constitutive relationships are provided for wall and interfacial friction, heat transfer, and a model for multi-component phase-change is included. You have learned about using the Aspen Hydraulics sub-flowsheet in the previous module. The purpose of this module is to set up a pigging operation in the dynamic mode of HYSYS and illustrate how to integrate this infonnation with a piping network model. This workshop includes the following tasks: • • • • •
Task 1 Task 2 Task 3 Task 4 Task 5 -
Review the Base Hydraulics Case Transition from Steady State to Dynamics Setup Pipeline Hydraulics for Pig Modeling Merge Aspen Hydraulics with the HYSYS Dynamics Case File Use Microsoft Excel to Enhance Pigging Study
©2014 AspenTech. All Rights Reserved.
2
Aspen Technology, Inc.
Modeling Heavy Oil & Gas Production Facilities Using Aspen HYSYS Upstream
Workshops
Task 1 - Review the Base Hydraulics Case In this section, we are going to inspect and run the Aspen Hydraulics model that is included with the course files. We will configure a pigging operation and observe how it affects the liquid holdup and other variables in the piping network. o o
Open the supplied case file 05_HydroPigging_base.hsc in Aspen HYSYS. Right click on the hydraulics operation AH-100 and click on Open Flowsheet as New Tab. to reveal the sub-flowsheet.
"~J'" ;;-==--,,. ""
"''*"'
-;--~~--~=;;;;;;- ---~~'''
r===:'-;-;; ~==>----c.:-
·~'
o
o
o
Within the hydraulics sub-flowsheet view the pressure profile across the process by using the keyboard combination Shift-P. Notice that three incoming flows (Alpha-2, Bravo-2, and Charlie-2) merge into a single downstream source (108). Press Shift-N to show the stream names once again. Inspect the elevation profile for the piping network by navigating to the Design I Data page for each pipe. Pay particular attention to Pipe-104. You should see that Pipe-102 declines 60 111 and Pipe-105 exhibits a 60 111 increase in elevation. All other pipes have no elevation change. We can review the liquid hold up for each pipe in the network. This is done by navigating to the Performance I Profiles page for each pipe and selecting the Plot button toward the lower left of the window. After clicking on the Plot button, the plot window appears. Use the pull down list at the top to select the Plot Variables as Liquid Holdup vs. Axial Distance. Compare the liquid holdup for Pipe-104 vs. Pipe-102 and Pipe-105. You should see that the liquid hold-up for Pipe-104 increases with axial distance. Close all the plot windows when you are satisfied.
©20 l 4 AspenTech. All Rights Reserved.
3
Aspen Technology, Inc.
Modeling Heavy Oil & Gas Production Facilities Using Aspen HYSYS Upstream
Workshops
Task 2 - Transition from Steady State to Dynamics In this part of the workshop, you will convert the steady state file into a dynamic file. Please note that this course is not intended to serve as full instrnction of HYSYS Dynamics. Separate training on HYSYS Dynamics is recommended if you wish for a full overview and introduction into that product. In this module we will learn minimum infonnation needed to convert this particular steady state file into dynamics, particularly smrnunding the pigging of a pipeline. o
HYSYS Dynamics requires a dynamic pressure or flow specification all boundary streams (i.e. inlets/outlets). Change the color scheme to Dynamic P/F Specs. To do this, go to Flowhsheet/Modify ribbon. In the Display Options group, change the Color Scheme to Dynamic P/F Scheme. This will make it easier to see which streams have a dynamic pressure or flow specification in place.
o
If the Dynamic P/F Specs is not listed in the drop down list: click on the icon before the field to add the color scheme.
.,,
Temperature
dvisor
Press>Jre
~
ecycle
L;;;il Workbook Table~ Color Scheme · Dffau!t Colour ''.";l>.>.Jy,' "'"'''JI"''· .,:;1,.-.;'
Stre~m l~b~I '~ --------·----------·----..•..
Hide Object·
'ik~Y
p_,,,rr!
'1\l"'-·1
.lohbl"
• f'QWrJ>C~'"'
Coo... r;,,
r.,,w...,.,
C:::> o
~
'i'.QWrn> LJS1mmAnoft'" ; r:J; [~rn~monl D.,•9n
LJto .. S!ud•« [QDot.frl
. ~t-up : H,-.1~oil c~'re;>o-.'' • Hjdrtw!d?e,fS!ixk_ C/1~rf•e-2 MtXer-100@TPl1 Mi..u;t Tempeto~Jre Bu1'.Ed Dplh fle•·a:ion Chan9e Gm~nd Comf;,cr;;ity ln.ullion (ct>ducfait/ Thicl-rn:n
lnwla~·=
: lnterno/ Ciametu
Variable Specifics
OK
Object Fi!t~r q,-AJI • 'S1reariv; • tJriitOps
: fr11g!h
Pip.,[email protected]
--1
i Profile Oii/ante
'Logical
econd> Cuffent Segment Origh
I
- ----------- ---
[~$WellA Op~~n
Y"'°"""J l.,t.!fnd. C"&G"""'
"'"'"~'''"'
Po•rnb."'?'"P'"t-1
fl>•U>tao T;•e•
'l•P""") .mp!y>
SP fo
:i\ !o ;~>;
Jo
i;,; •CJ El {CJ 3"3 tC)
i4l 'o '~l Jo 'i~ fo 5iilio
_i-(C>fG..
o~-;;-V;-:@ac.ooc
•
~ i ~:I
10 O.ll«lO
"'
Otloto.o..I:
"'"'"Po
''"""0"''
Pacd\m>
""'P1P ""'P1P
•
A,.!ooF,··O
~o)
«
«mpty> «mptp
-J!!.JJ -7HJ
-79.44
'""P'"
i cI ;c I
0.0000
00000
O.~H
«mp!y>
1'5~
rn.oo
Ol!iiC)
99.00
134.Q
tSlo
""'PIP
..,
4'!'i (() ~;~ :;,;~
'°'"""' «mptp
"'
,'""""' .....,,
49.\D >l.)O
«mp!y>
'''""'" "'"P1''
"""pty> «mp!y>
};flV•>