19.07.2014 Views

[Luyben] Process Mod.. - Student subdomain for University of Bath

[Luyben] Process Mod.. - Student subdomain for University of Bath

[Luyben] Process Mod.. - Student subdomain for University of Bath

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

NUMERICAL METHODS 97<br />

T<br />

Newton-Raphson convergence.<br />

Generalizing Eq. (4.9), we get the recursive iteration algorithm :<br />

where Tn + 1 = new guess <strong>of</strong> temperature<br />

Tn = old guess <strong>of</strong> temperature<br />

f, = value <strong>of</strong>f,,, at T = T.<br />

fi = value <strong>of</strong> the derivative <strong>of</strong>f, df/dT, at T = T.<br />

(4.10)<br />

The technique requires the evaluation <strong>of</strong>f ‘, the derivative <strong>of</strong> the function<br />

f(r) with respect to temperature. In our bubblepoint example this can be<br />

obtained analytically.<br />

AT, = PC;: -<br />

p = x &WT+BI) + (1 _ $ &‘z/T+Bz)<br />

-xA,P, -(l -x)&P;<br />

=<br />

T2<br />

(4.11)<br />

If the function .were so complex that an analytical derivative could not be<br />

obtained explicitly, an approximate derivative would have to be calculated<br />

numerically: make a small change in temperature AT, evaluate fat T + AT and<br />

use the approximation<br />

(4.12)<br />

A digital computer program using Eqs. (4.10) and (4.11) is given in Table<br />

4.2. The problem is the same bubblepoint calculation <strong>for</strong> benzene-toluene per<strong>for</strong>med<br />

by interval-halving in Table 4.1, and the same initial guesses are made <strong>of</strong><br />

temperature. The results given in Table 4.2 show that the Newton-Raphson algorithm<br />

is much more effective in this problem than interval halving: only 4 to 5

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!