Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
19.1
Let three initial points in [0,1] be 0.25, 0.5 and 0.75. Calculate x4 using
Eq. 19-8,.
x1 f1 x2 f2 x3 f3 x4
0.25 8.02 0.5 6.52 0.75 3.98 0.0167
For next iteration, select x4, and x1 and x2 since f1 and f2 are the largest
among f1, f2, f3. Thus successive iterations are
x1 f1 x2 f2 x3 f3 x4
0.25 8.02 0.5 6.52 0.017 1.24 0.334
0.25 8.02 0.5 6.52 0.334 7.92 0.271
0.25 8.02 0.334 7.92 0.271 8.06 0.280
0.25 8.02 0.271 8.06 0.280 8.06 not needed
19.2
19-1
19.3
X1 X2
Initial values 1 1
Final values 0.776344 0.669679
max Y= 0.55419
Constraints
0 ≤ X1 ≤ 2
0 ≤ X2 ≤2
19.4
NP = 300,000 (1)
$ 0.4 hr $ batch
min TC = 400,000 +2P 50 N
batch batch hr yr
$
+ 800 P0.7
yr
19-2
b) There are three constraints on P
i) P≥0
ii) N is integer. That is,
(300,000/P) = 0, 1, 2,…
hr batch
(2 P0.4 + 14) × N ≤ 7680
batch yr
d (TC )
c) = 0 = 3 ×107 (−0.6) P −1.6 + 800(0.7) P −0.3
dP
1/1.3
3 × 107 ( −0.6) lb
P =
opt
= 2931
−800(0.7) batch
d 2 (TC )
2
= 3 ×107 (−0.6)(−1.6) P −2.6 + 800(0.7)(−0.3) P −1.3
dP
2
d (TC )
= 2.26 ×10−2 〉 0 hence minimum
dP 2 P = Popt
Time constraint is
19-3
19.5
Subject to constraints
By using Excel-Solver,
x1 x2
Initial values 1 1
Final values 0 19354.84
max P = 27096.77
Constraints
0.70 x1 + 0.31 x2 6000
0.06 x1 + 0.09 x2 1741.935
0.24 x1 + 0.60 x2 11612.9
19-4
19.6
*Balance on column 2
x2 = x4 + x5 (2)
* From column 1,
1 .0
x1 = x 2 = 1.667( x 4 + x5 ) (3)
0.60
0 .4
x3 = x 2 = 0.667( x 4 + x5 ) (4)
0.60
x4 ≥ 200 (5)
x4 ≤ 400 (6)
x1 ≤ 2000 (7)
x4 ≥ 0 x5 ≥ 0 (8)
x4 x4
0.5 ≤ ≤ 0.7 or 0.5 ≤ ≤ 0.7
x2 x4 + x5
Simplifying,
x4 –x5 ≥ 0 (9)
0.3 x4 –0.7x5 ≤ 0 (10)
No additional constraint is needed for the heavy solvent. That the heavy
solvent will be 30 to 50% of the bottoms is ensured by the restriction on
the medium solvent and the overall balance on column 2.
By using Excel-Solver,
19-5
x1 x2 x3 x4 x5
Initial values 1 1 1 1 1
Final values 1333.6 800 533.6 400 400
max R = 13068.8
Constraints
x2 - x4 - x5 0
x1 - 1.667x2 7.467E-10
x3 - 0.667x2 -1.402E-10
x4 400
x4 400
x1 - 1.667x2 1333.6
x4 - x5 0
0.3x4 - 0.7x5 -160
Substituting into (5), the maximum revenue is 13,068 $/day, and the
percentage of output streams in column 2 is 50 % for each stream.
19.7
The objective is to minimize the sum of the squares of the errors for the
material balance, that is,
min E = (wA + 11.1 – 92.4)2 + (wA +10.8 –94.3)2 + (wA + 11.4 –93.8)2
Subject to wA ≥ 0
Solve analytically,
dE
= 0 = 2 (wA + 11.1 – 92.4) + 2(wA +10.8 –94.3)
dw A
+2(wA + 11.4 –93.8)
19-6
19.8
∂f
= 0 = 5 − 40 x A − 0.005S
∂x A
∂f
= 0 = 0.002 − 4.0 × 10 −6 − 0.005 x A
∂S
19.9
By using Excel-Solver
τ1 τ2
Initial values 1 0.5
Final values 2.991562 1.9195904
19-7
Hence the optimum values are τ1=3 and τ2=1.92. The obtained model is
compared with that obtained using MATLAB.
Y/K 0.8
0.6
0.4
0.2
MATLAB
data
equation
0
0 5 10 15 20 25 30
time
Figure S19.9. Comparison between the obtained model with that obtained
using MATLAB
19.10
Subject to
x1 + x2 + x3 = 10,000 (2)
x1 ≥ 2000 (4)
x1 ≤ 9000 (5)
19-8
x2 ≥ 0 (6)
x3 ≥ 0 (7)
x1 x2 x3
Initial values 1 1 1
Final values 6666.667 3333.333 0
min C = 3000
Constraints
x1+x2+x3-10000 0
0.035x1+0.050x2- 400 0.0E+00
x1- 2000 4666.667
x1- 9000 -2333.333
x2 3333.333
x3 0
19.11
Subject to
19-9
xA xB
Initial values 1 1
Final values 20 60
max P = 1040
Constraints
120xA+ 100xB 8400
0.5 xA + 0.5 xB 40
(1/20)xA + (1/10)xB 7
19.12
19.13
max f = D e
Subject to
0.063 c –D e = 0 (1)
0.9 s e – 0.9 s c – 0.7 c – D c = 0 (2)
19-10
-0.9 s e + 0.9 s c + 10D – D s = 0 (3)
D, e, s, c ≥ 0
where f = f(D, e, c, s)
c D e s
Initial values 1 1 1 1
Final values 0.479031 0.045063 0.669707 2.079784
max f = 0.030179
Constraints
0.063 c –D e 2.08E-09
0.9 s e – 0.9 s c – 0.7 c – Dc -3.1E-07
-0.9 s e + 0.9 s c + 10D – Ds 2.88E-07
19.14
Material balance:
Overall : FA + FB = F
Subject to:
FB ≤ 200
19-11
CA, CB, FB ≥ 0
FB = 200 l/hr
19.15
Material balance:
Overall : FA + FB = F
Subject to:
FB ≤ 200
300 ≤ T ≤ 500
CA, CB, FB ≥ 0
FB = 200 l/hr
CA = 0.104 molA/l
T = 311.3 K
19-12