Modeling_Simulation_Lecture22
Modeling_Simulation_Lecture22
Ali M. Sahlodin
Department of Chemical Engineering
AmirKabir University of Technology
1397 S.H
Stream tearing
Criterion 1: minimum tear streams
Criterion 2: non-redundant tear set
Criterion 3: minimum tear variables
Criterion 4: easy initialization
Solving recycle loops
1
1/10/2021
max
x k
x k 1
si g ( xik ) g ( xik 1 )
qi , si
si 1 xik xik 1
2
1/10/2021
Converged solution
3
1/10/2021
f ( x( k ) )
x( k 1) x( k )
f '( x( k ) )
f ( x) exp( x) x 2 0
Courtesy of Benoit Chachuat
4
1/10/2021
5
1/10/2021
( x( k ) x( k 1) ) f ( x( k ) )
x( k 1) x( k )
f ( x( k ) ) f ( x ( k 1) )
f ( x) exp( x) x 2 0
Courtesy of Benoit Chachuat
Pros
Increased stability compared to Newton method
Only 1 function evaluation per iteration
Cons
Slower convergence (superlinear, not quadratic)
Two initial guesses needed
6
1/10/2021
7
1/10/2021
f1 ( x1,..., xn ) 0
f ( x ,..., x ) 0
n 1 n
1
x ( k 1) x ( k ) J ( x ( k ) ) f ( x(k ) )
Broyden’s method
Approximate Jacobian by finite difference
Update inverse of Jacobian
( s k ( J k 1 ) 1 r k )( s k )T ( J k 1 ) 1
( J k ) 1 ( J k 1 ) 1
( s k )T ( J k 1 ) 1 r k
s k x k x k 1 , r k f ( x k ) f ( x k 1 )
0 1
Initialize with ( J ) I
Only 1 function evaluation per iteration!