Professional Documents
Culture Documents
OUTCOME
At the end of the lab session, one should be able to:
OPERATION OF REFINERY
A schematic of a refinery is shown below, the objective is to maximise the profit of the refinery
Cost($/bbl) 24 crude #1 15 crude #2 Volume percent yield Crude 1 Crude 2 Gasoline kerosene Fuel oil Residual Processing cost ($/bbl) 80 5 10 5 0.5 44 10 36 10 1
4
Refinery
Price($/bbl) 36 24 21 10
MODEL DEVELOPMENT
Step 1- Define variables: x1=bbl/day of crude 1 consumed x2=bbl/day of crude 2 consumed x3=bbl/day of gasoline produced x4=bbl/day of kerosene produced x5=bbl/day of fuel oil produced x6=bbl/day of residual produced
MODEL DEVELOPMENT
Step 2 Formulate equations
a) Equations : Gasoline 0.8 x1 0.44 x2 x3 Kerosene 0.05 x1 0.1x2 x4 Fuel oil 0.1x1 0.36 x2 x5 Residual 0.05 x1 0.1x2 x6 b) Inequaliti es : Gasoline x3 24000 ; or 0.8 x1 0.44 x2 24000 Kerosene x4 2000 ; or 0.05 x1 0.1x2 2000 Fuel oil x5 6000 ; or 0.1x1 0.36 x2 6000 Although not explicitly stated, all variables are non negative x1, x2 , x3 , x4 , x5 , x6 0
Copyright reserved Murni Melati Ahmad, UTP 6
FORMULATION
Step 3 Formulate objective function
Maximise f ( x) profit income raw material cost processing cost Income : 36 x3 24 x4 21x5 10 x6 ($ / day) Raw material cost : 24 x1 15 x2 Processing cost : 0.5 x1 x2 ($ / day) ($ / day)
f ( x) 36 x3 24 x4 21x5 10 x6 24 x1 15 x2 0.5 x1 x2 f ( x) 36 x3 24 x4 21x5 10 x6 24.5 x1 16 x2 Obviously the dimensiona lity of the problem can be reduced by eliminatin g variables x3 , x4 , x5 and x6 via the equality constraint s, leaving only two variables x1 and x2 f ( x) 8.1x1 10.8 x2
Copyright reserved Murni Melati Ahmad, UTP 7
The reduced version LP Objective : maximise f ( x) 8.1x1 10.8 x2 Subject to : 0.8 x1 0.44 x2 24000 0.05 x1 0.1x2 2000 0.1x1 0.36 x2 6000 x1 , x2 0 Let us represent the LP model graphically
Assignment 2
1. Plot the constraints and feasible region for the LP problem. Show the details of the working. 2. Solve for the maximum profit for the refinery . 3. Provide some analysis on the solution.
10
FEASIBLE REGION
x2 60
( A) ( B) (C )
40
20
Feasible region
20
40
60
x1
s.t. 0.8 x1 0.44 x2 24000 0.05 x1 0.1x2 2000 0.1x1 0.36 x2 6000 ( A) ( B) (C )
20 2 C 3 10
f 1 180,000
f 3 286,740
x1 , x2 0
f 2 243,000
A 4
10
20
30
Graphical solution to the problem indicates that optimum value of the profit occurs roughly at x*1 = 26,000 bbl/day x*2 = 7,000 bbl/day f(x*) = 286,200 $/day
Copyright reserved Murni Melati Ahmad, UTP
12
s.t. 0.8 x1 0.44 x2 24000 0.05 x1 0.1x2 2000 0.1x1 0.36 x2 6000 ( A) ( B) (C )
20 2 C 3 10
f 1 180,000
f 3 286,740
x1 , x2 0
f 2 243,000
A 4
10
20
30
Graphical solution to the problem indicates that optimum value of the profit occurs roughly at x*1 = 26,000 bbl/day x*2 = 7,000 bbl/day f(x*) = 286,200 $/day
Copyright reserved Murni Melati Ahmad, UTP
13
14
15
16
17
18
MODEL DEVELOPMENT
Step 1- Define variables: Let x1, x2, x3 - mass input flows of A to each process x4,x5,x6, and x7 - individual reactant flows of B and C x8, x9 and x10 - the three mass product flows (E, F, G) x11 and x12 - total amounts of A and B and C is the same as x7 A total of 12 variables
19
MODEL DEVELOPMENT
Step 2 Formulate equations a) Linear mass balances:
A x11 x1 x2 x3 B x12 x4 x5 x6 x1 0.667 x8 x2 0.667 x9 x3 0.5 x10 x4 0.333x8 x5 0.333x9 x6 0.167 x10 x7 0.333x10
Copyright reserved Murni Melati Ahmad, UTP 20
MODEL DEVELOPMENT
Step 2 Formulate equations a) Inequalities:
Suppose that the supply of reactant was limited
FORMULATION
Step 3 Formulate objective function
Maximise f ( x) profit income raw material cost processing cost Income : Processing cost : 0.04 x8 0.0033 x9 0.038 x10 ($ / day ) 0.015 x8 0.005 x9 0.01x10 ($ / day )
Raw material cost : 0.015 x11 0.02 x12 0.025 x7 ($ / day ) f ( x) 0.025 x8 0.028 x9 0.028 x10 0.015 x11 0.02 x12 0.025 x7
22
The reducedversion LP Objective: maximise f ( x) 0.025x8 0.028x9 0.028x10 0.015x11 0.02 x12 0.025x7 Subject to : x11 0.667 x8 0.667 x9 0.5 x10 ; x12 0.333x8 0.333x9 0.167 x10 ; x7 0.333x10 ; x11 40,000, x12 30,000, x 7 25,000 x 8 20,000, x 9 25,000, x10 5,000
Copyright reserved Murni Melati Ahmad, UTP 24
25
RECAP
26
REFERENCES
1. Edgar T. F. and Himmelblau, Optimization of Chemical Processes, McGraw Hill, 2001. 2. Biegler, L.T., Grossmann E.I. and Westerberg, A.W., Systematic Methods of Chemical Process Design, Prentice Hall, 1997. 3. Lecture notes, MSc Process Integration, UTP-University of Manchester
27