Vous êtes sur la page 1sur 30

Optimization

Oil
Stabilization
Optimization

By: Eng. Ahmed Deyab Fares http://www.adeyab.com


Mobile: 00201227549943 Email: eng.a.deab@gmail.com

Optimization

Workshop
A poor-boy stabilization scheme is used to separate an oil and gas mixture
into a stabilized oil and a saleable gas. A simple three-stage separation with
heating between each stage is used and the object of the exercise is to select
the let-down pressure and temperatures such that the products revenue less
the utilities cost is maximized. A special tool in HYSYS, the Optimizer, will
be

used

to

find

the

optimum

operating

conditions.

HYSYS includes additional modelling and decision support tools that can
be used to enhance the usability of your models. In this module, you will
use the HYSYS optimization tool available in HYSYS to investigate the
debottlenecking

and

optimization

of

crude

column.

Learning Objectives
Once you have completed this section, you will be able to:
Use the Optimizer tool in HYSYS to optimize flowsheets
Use the Spreadsheet to perform calculations

By: Eng. Ahmed Deyab Fares http://www.adeyab.com


Mobile: 00201227549943 Email: eng.a.deab@gmail.com

Optimization

OilStabilization
Afeedstream@10oC,4125kPawithaflowrateof1MMSCFDisfedtoa
heater (duty=4.25*105 kJ/hr) before entering the first separator where
the separated liquid is heated in a second heater (duty=3.15*105 kJ/hr).
The outlet from the heater is then sent to a letdown valve in order to
decreasethepressureto2050kPabeforeenteringthesecondseparator
wheretheseparatedliquidisheatedthroughathirdheater(duty=1.13*105
kJ/hr).Theoutletfromthethirdheateristhenthrottledthroughavalve
(outletpressure=350kPa)andthenfedtoathirdseparatortoobtainthe
finalliquidoilproduct.
Each gas stream from the 2nd & 3rd separators is fed to a separate
compressor to raise the pressure to 4125 kPa and then mixed (using a
mixer) with the gas stream from the 1st separator to get the final gas
productstream.
Notes:

Pressuredropacrossallheatersandseparatorsare0.0.

Calculate:

Thetotalliquidproduct=barrel/hr

Thetotalgasproduct=m3_gas/hr

By: Eng. Ahmed Deyab Fares http://www.adeyab.com


Mobile: 00201227549943 Email: eng.a.deab@gmail.com

Optimization

OilStabilizationOptimization
In this case, we want to maximize the total operating profit while
achievinganRVPofLiquidProductlessthan96.5kPa.Theincomesfrom
thePlantareboththeGasandLiquidProducts.Theoperatingcostsare
the Steam Costs for each Heater plus the Power Cost for each
Compressor.
Profit=IncomeCost

Profit=(GasProduct+LiquidProduct)(SteamCosts+CompressionCost)

Prices&costs:
OilPrice=15$/bbl
GasPrice=0.106$/m3_gas
SteamCost=0.682$/kWh
CompressionCost=0.1$/kWh

Thevariablestobeadjusted:

Heaterduties(forthe3heaters).Userangeof01e6kJ/hr

Valvesoutletpressures.
Userangeof6503500kPaforthefirstvalve
Userangeof701000kPaforthesecondvalve

Calculate:

Theoptimumvaluesfortheadjustedvariables

Themaximumprofit..$/hr

By: Eng. Ahmed Deyab Fares http://www.adeyab.com


Mobile: 00201227549943 Email: eng.a.deab@gmail.com

Optimization
Tostarttheprogram,FromStartMenu,SelectAllPrograms>>
AspenTech>>ProcessModelingV8>>>>AspenHYSYS>>Aspen
HYSYS

By: Eng. Ahmed Deyab Fares http://www.adeyab.com


Mobile: 00201227549943 Email: eng.a.deab@gmail.com

Optimization
1- First, Start a new case

2- Add the Components

3- Choose the system components from the databank:


By: Eng. Ahmed Deyab Fares http://www.adeyab.com


Mobile: 00201227549943 Email: eng.a.deab@gmail.com

Optimization

Now, select the suitable fluid package

In this case, select Peng-Robinson

By: Eng. Ahmed Deyab Fares http://www.adeyab.com


Mobile: 00201227549943 Email: eng.a.deab@gmail.com

Optimization
Now you can start drawing the flow sheet for the process by clicking the
Simulation button:

Now add a material stream to define the feed stream composition and
conditions

By: Eng. Ahmed Deyab Fares http://www.adeyab.com


Mobile: 00201227549943 Email: eng.a.deab@gmail.com

Optimization
From the palette:

By: Eng. Ahmed Deyab Fares http://www.adeyab.com


Mobile: 00201227549943 Email: eng.a.deab@gmail.com

Optimization
Addaheaterwithadutyof4.25*105kJ/hrandpressuredropof0.0

By: Eng. Ahmed Deyab Fares http://www.adeyab.com


Mobile: 00201227549943 Email: eng.a.deab@gmail.com

10

Optimization

Addthefirstseparator

By: Eng. Ahmed Deyab Fares http://www.adeyab.com


Mobile: 00201227549943 Email: eng.a.deab@gmail.com

11

Optimization

Theliquidstreamisthenheated,addasecondheaterwithapressure

dropof0.0&dutyof3.15*105

Addavalvewithoutletpressureof2050kPa

By: Eng. Ahmed Deyab Fares http://www.adeyab.com


Mobile: 00201227549943 Email: eng.a.deab@gmail.com

12

Optimization
Addthesecondseparator

Theliquidfromthesecondseparatorisnowfedtoathirdheaterwitha
pressuredropof0.0&dutyof1.13*105

By: Eng. Ahmed Deyab Fares http://www.adeyab.com


Mobile: 00201227549943 Email: eng.a.deab@gmail.com

13

Optimization
Addasecondvalvewithanoutletpressureof350kPa

Addthethirdseparator

By: Eng. Ahmed Deyab Fares http://www.adeyab.com


Mobile: 00201227549943 Email: eng.a.deab@gmail.com

14

Optimization
Thevaporfromthesecondseparatorisfedtoacompressortoraisethe
pressureto4125kPa
Addacompressorfromthepalette

Thevaporfromthethirdseparatorisfedtoasecondcompressortoraisethe
pressureto4125kPa
Addasecondcompressorwithanoutletpressureof4125kPa

By: Eng. Ahmed Deyab Fares http://www.adeyab.com


Mobile: 00201227549943 Email: eng.a.deab@gmail.com

15

Optimization
Thethreevaporstreamswillbemixedusingamixer

TheRVPoftheLiquidProductstreamshouldbeabout96.5kPatosatisfythe
pipelinecriterion.
UsecoldpropertiesanalysistoseethecurrentReidVaporPressureforthe
liquidproductfromthethirdseparator:
Fromtheattachmentstab,selectAnalysisandthenCreate:

By: Eng. Ahmed Deyab Fares http://www.adeyab.com


Mobile: 00201227549943 Email: eng.a.deab@gmail.com

16

Optimization

By: Eng. Ahmed Deyab Fares http://www.adeyab.com


Mobile: 00201227549943 Email: eng.a.deab@gmail.com

17

Optimization
ChangingtheUnits
Weneedtochangethedefaultunitsettofitthiscase
Changetheunitsasfollows:
Molarflow:m3_gas/hr
Liq.Vol.Flow:barrel/hr
Std.Vol.Flow:barrel/hr

By: Eng. Ahmed Deyab Fares http://www.adeyab.com


Mobile: 00201227549943 Email: eng.a.deab@gmail.com

18

Optimization

Optimization
HYSYS contains a multivariable Steady State Optimizer. Once your flowsheet has
been built and converged, you can use the Optimizer tool to find the operating
conditionswhichminimizeormaximizeanObjectiveFunction.TheOptimizerowns
its own Spreadsheet for definingthe Objective Functions as well as any constraint
expressions to be used. This allows you to construct Objective Functions which
maximizeprofit,minimizeutilitiesorminimizeexchangerUA.

Inthiscase,wewanttomaximizethetotaloperatingprofitwhileachievinganRVPof
LiquidProductlessthan96.5kPa.TheincomesfromthePlantareboththeGasand
LiquidProducts.TheoperatingcostsaretheSteamCostsforeachHeaterplusthe
PowerCostforeachCompressor.
Profit=IncomeCost

Profit=(GasProduct+LiquidProduct)(SteamCosts+CompressionCost)

UsetheOptimizertool:

By: Eng. Ahmed Deyab Fares http://www.adeyab.com


Mobile: 00201227549943 Email: eng.a.deab@gmail.com

19

Optimization

Thevariablestobeoptimizedinordertomaximizetheprofitshouldbe
addednow,thesevariablesare:
The3HeatersdutiesandValvesoutletpressures

By: Eng. Ahmed Deyab Fares http://www.adeyab.com


Mobile: 00201227549943 Email: eng.a.deab@gmail.com

20

Optimization

Afteraddingallthe5variables,settheupperandlowerrangesforeach
variableasfollows:

TheOptimizerhasitsownSpreadsheetfordefiningtheObjectiveand
Constraintfunctions.
Nowwehavetostartbuildingtheprofitmoduleusingthespreadsheet
operation:

By: Eng. Ahmed Deyab Fares http://www.adeyab.com


Mobile: 00201227549943 Email: eng.a.deab@gmail.com

21

Optimization

Profit=IncomeCost
Profit=(GasProduct+LiquidProduct)(SteamCosts+CompressionCost)

Prices&costs:
OilPrice=15$/bbl
GasPrice=0.106$/m3_gas
SteamCost=0.682$/kWh
CompressionCost=0.1$/kWh

By: Eng. Ahmed Deyab Fares http://www.adeyab.com


Mobile: 00201227549943 Email: eng.a.deab@gmail.com

22

Optimization
TheRVPspecfortheliquidshouldbeaddedinthespreadsheetinordertouseitas
aconstraint.
RVPspec=96.5kPa
Firstweneedtoincreasethenumberofrowsinthespreadsheettobe20fromthe
parameterstab:

Nowreturntothespreadsheettabagainandaddalltheprofitequation
parameters&variables.

Afteraddingthelabels,importthevariablesineachlabeledcell:

By: Eng. Ahmed Deyab Fares http://www.adeyab.com


Mobile: 00201227549943 Email: eng.a.deab@gmail.com

23

Optimization

Addalldutiesforheaters&compressorsthesamewayaswedidinthe
previousstep.

By: Eng. Ahmed Deyab Fares http://www.adeyab.com


Mobile: 00201227549943 Email: eng.a.deab@gmail.com

24

Optimization
DothesameforOil&gasproductionflowrates

TheRVPcurrentvalueshouldbeimportedfromtheAnalysis:

By: Eng. Ahmed Deyab Fares http://www.adeyab.com


Mobile: 00201227549943 Email: eng.a.deab@gmail.com

25

Optimization

ThePricesshouldnowaddedmanuallywithoutimportingit

CalculatetheIncome,Cost&Profitusingthecurrentformulas:
Income:=d7*b7+d8*b8
Cost:=(b1+b2+b3)*d1+(b4+b5)*d4
Profit:=d12d13

By: Eng. Ahmed Deyab Fares http://www.adeyab.com


Mobile: 00201227549943 Email: eng.a.deab@gmail.com

26

Optimization

Aftercalculatingtheoperatingprofit@currentconditions,usethe
optimizertomaximizetheprofitbychangingthe5variableswhichwe
addedbefore
OpentheoptimizerandgotoFunctionstab:

By: Eng. Ahmed Deyab Fares http://www.adeyab.com


Mobile: 00201227549943 Email: eng.a.deab@gmail.com

27

Optimization
YoumayneedtopresstheStartbutton2or3timestoensurereaching
theoptimumsolutionasfollows:

YoumayseethenewvaluesforthevariablesfromtheVariablestab:

Nowyoucanreturnbacktothespreadsheettoobservetheresults:

By: Eng. Ahmed Deyab Fares http://www.adeyab.com


Mobile: 00201227549943 Email: eng.a.deab@gmail.com

28

Optimization

SaveYourCase!

By: Eng. Ahmed Deyab Fares http://www.adeyab.com


Mobile: 00201227549943 Email: eng.a.deab@gmail.com

29

Optimization
Exercise:
OnethingyoumaynoticewiththeOptimizedsolutionisthatthePressure
of V3 has been decreased to 70 kPa (10 psia) which is less than
atmospheric.Thisisnotadesiredconditionfortheinletofacompressor.
Theinletofthesecondcompressor,cannotbelessthan125kPa(19psia).
Whatisthemaximumprofitifyouadheretothisguideline?

By: Eng. Ahmed Deyab Fares http://www.adeyab.com


Mobile: 00201227549943 Email: eng.a.deab@gmail.com

30

Vous aimerez peut-être aussi