On The Application of A Newton Raphson'S Iterative Method of The Fixed Point Theory To The Solution of A Chemical Equilibrium Problem
On The Application of A Newton Raphson'S Iterative Method of The Fixed Point Theory To The Solution of A Chemical Equilibrium Problem
On The Application of A Newton Raphson'S Iterative Method of The Fixed Point Theory To The Solution of A Chemical Equilibrium Problem
ABSTRACT
(a)
x1 Figure 1.4 (b) x1
X0 x0
Figure 1.5
t
t0 -c t0 t0 +c
However, we know that the above discussed fixed point method is just the
traditional fixed point method that is restricticted to the solution of only linear
systems and for the purpose of this research we advance onto the modified
Newton’s method which is the Newton Raphson’s iterative method here below
generated for use in section three
Sections 2 and 3 are concerned with finding the solution, or solutions, of the
system.
f n ( x1, x2 ,...,xn ) = 0,
Then, if the starting vector x0 lies in R, we show that the iterative method
expressed by (2.4)
converges to a solution of the system (2.1), that is,
lim x k = α ( 2 .6 )
k → ∞
Using the mean-value theorem, the truth of (2.1) is established by first noting
from (2.3) and (2.4), that
xik- αI = Fi (xk-1)-Fi (α).
n ∂ F i [α + ξ i , k − 1 ( x k − 1 − α )]
= Σ (x j ,k −1 −α j ) , ( 2 .7 )
j =1 ∂x j
where
ε2k = [α1+ ξ2k(x1k-α1), α2+ξ2k(x2,k-1-α2),… αn + ξ2k (xn,k-1- αn)]t. that is, |x2k-α2| ≤
µek-1 <ek-1 < h.
Therefore, |xik- αi| ≤ µkh, and convergence according to (2.1) is again
established.
Observe that the first of the sufficiency conditions of the same (2.10) has been
reaffirmed under slightly general circumstance.
The equations to be solved are again those of (2.1), and we retain the
nomenclature of the previous section. The Newton-Raphson process, to be
described, is once more iterative in character. We first define.
∂ f i (x )
f ij ( x ) = ... ( 2 . 11 )
∂x j
Next define the matrix φ (x) as
φ (x) = (fi(x)), 1 ≤ I ≤n, 1 ≤ j ≤ n. … (2.12)
Thus det (φ (x)) is the Jacobian of the system (2.1) for the vector x = [x1,
x2,…,xn)t. now define the vector
f (x) as f(x) = [fi (x), f2(x),…, fn(x)]t. (2.13)
PcoP 2 H 2
K1 = = 1 .3 x10 11 ↓ → ... (3.4 )
PCH P 1 / 2
02
PcoP 3 H 2
K2 =
P P
= 1 .7837 x10
5
→ ... (3.5)
CH 4 H 2O
PCO PH
20
K3 = = 2.6058 → ( 3 .6 )
PCO PH
2 2
Here PCO, Pco2, PH2O, PCH4 and PO2 are the partial pressured of CO (carbon
monoxide), CO2 (carbon dioxide), H2O (water vapor), H2 (hydrogen), CH4
(methane), and O2 (oxygen), respectively. Enthalpies of the various components
at 10000F and 22000F are listed in Table (3.1)
P 2 co
K 4 = = 1 . 7837 x 10 5
(3 . 8 )
ac Pco 2
where ac is the activity of carbon in the solid state. Do not include reaction (3.7)
in the equilibrium analysis. After establishing the equilibrium composition,
considering only the homogeneous gaseous reactions given by (3.1), (3.2), and
(3.3), determine the thermodynamic likelihood that solid carbon would appear as
a result of reaction (3.7). Assume that the activity of solid carbon is unaffected
by pressure and equals unity.
Use the Newton- Raphson method to solve the system of simultaneous
nonlinear equations developed as the result of the equilibrium analysis.
The relationships (3.14) and (3.15) follow directly from (3.5) and (3.6),
respectively, where P is the total pressure and Pco = Px1, etc. in addition, there
are five side conditions.
x1 ≥ 0, I = 1, 2, 5 … (3.16)
These C ions more that all mole fractions in the equilibrium mixture are
nonnegative, that is, any solution of equation (3.9) to 3.15) that contains
negative mole fractions is physically meaningless from physical-chemical
principle there is one and only one solution of the equation that satisfies
conditions (3.16). Any irrelevant solutions may be detected easily.
1 1 x
f1 ( x ) = x1 + x 2 + x3 − 6 = 0 → ( 3 . 19 a )
2 2 x7
2
f2 (x) = x3 + x4 + 2x5 − = 0 → ( 3 . 19 b )
x7
1
f 3 ( x ) = x1 + x 2 + x 5 − = 0 → ( 3 . 19 c )
x7
f 4 ( x ) = − 28837 x 1 − 139009 x 2 − 78213 x 3 + 18927 x4
13492 x6
+ 8427 x5 + − 10690 = 0 → ( 3 . 19 d )
x7 x7
f 5 ( x) = x1 x 2 x 3 x 4 x 5 − 1 = 0 → ( 3 . 19 e )
f6 (x) = P 2
x 1 x 4 − 1 . 7837 x 10 5
x3x5 = 0 → ( 3 . 19 f )
f 7 ( x ) = x 1 x 3 − 2 . 6058 x2x4 = 0 → ( 3 . 19 g )
The system of simultaneous nonlinear equations has the form (2.1), and
will be solved using the Newton- Raphson method, described in section 2.2.
The partial derivatives of above may be found by partial differentiation of the
seven functions, f1 (x), with respect to each of the seven variables. For example,
“Matrix ill-
End T Solve system of n
conditioned
linear equations
T d=
(5.44) for the
F increments
i= Itcon δ ik, δ 2k,…, δ nk
and determinant, d.
(function SIMUL)
“Convergen
ce” k, d, n, End
xi,k+1,....,xn,k +1
5
xi,k+1 T
F “No
itcon= 9 End
End Convergenc
e”
Calculate elements
End aij i = 1, 2,…., n Retur
j = 1, 2,…..n+1 of
matrix A
(see(5.5.24)).
(subroutine CALCN)
DXOLD same as XOLD. Used to avoid an excessive number of
reference to subroutine arguments in CALCN.
I, J, i and j, row and column subscript, respectively.
NRC N, dimension of the matrix A in the calling program. A
is
assumed to have the same number of rows and
columns.
P pressure, P, atm.
Computer Output
Results for the 1st Data Set
ITMAX = 50
IPRINT = 1
N = 7
EPS1 = 1.0E -10
EPS2 = 1. 0E -05
XOLD(1)....XOLD ( 7)
5.000000E -01 0.0 0.0
5.000000E-01
0.0 5.000000E -01 2.000000E 00
ITER = 1
DETER = -0.97077E 07
XOLD(1)...XOLD( 7)
2.210175E -01 2.592762E -02 6.756210E -02
4.263276E -01
2.591652E -01 3.3432350E -01 1.975559E 00
ITER = 2
DETER = -0.10221E 10
XOLD(1)…XOLD( 7)
3.101482E -01 7.142063E -03 5.538273E -02
5.791981E-01
4.812878E -02 4.681466E -01 2.524948E 00
ITER = 3
DETER = -0.41151E 09
XOLD(1)…XOLD( 7)
3.202849E -01 9.554777E -03 4.671279E -02
6.129664E -01
1.048106E-02 5.533223E -01 2.880228E 00
ITER = 4
DETER = -0.22807E 09
XOLD(1)…XOLD( 7)
3.228380E -01 9.22480E -03 4.603060E -02
6.180951E-01
3.811378E -03 5.758237E -01 2.974139E 00
ITER = 5
DETER = -0.20218E 09
XOLD(1)…XOLD( 7)
3.228708E -01 9.223551E -03 4.601710E -02
6.181716E -01
Computer Output
SUCCESSFUL CONVERGENCE
ITER = 6
XOLD(1)…XOLD( 7)
3.228708E -01 9.223547E -03
4.601710E -02 6.181716E -01
3.716847E -03 5.767153E-01 2.97863E
00
Results for the 3rd Data Set
ITMAX = 50
IPRINT = 1
N = 7
EPS1 = 1.0E -10
EPS2 = 1. 0E -05
XOLD(1)...XOLD ( 7)
2.200000E -01 7.499999e -02
9.999999e -04 5.800000E-01
1.250000e -01 4.360000e -01 2.349999e
00
ITER = 1
DETER = -0.61808E 08
XOLD(1)...XOLD( 7)
6.9514955E -01 -8.022028E -02 1.272939E
-02 1.217132E 00
-8.447912E -01 1.314754E 00 5.969404E
00
ITER = 2
DETER = 0.12576E 09
XOLD(1)…XOLD( 7)
4.958702E -01 -1.698154E -02 5.952045E
-03 9.518250E -01
-3.65007E -01 2.379797E 00
1.043425E 01
ITER = 3
DETER = 0.77199E 07
XOLD(1)…XOLD( 7)
ITER = 5
DETER = 0.49739E 07
XOLD(1)… XOLD( 7)
4.569306E -01 -4.071994E -04 -2.125205E -03
9.151721E -01
-3.695704E -01 2.610552E 00 1.150046E 01
ITER = 6
DETER = 0.49611E 07
XOLD(1)…XOLD( 7)
4.569306E -01 -4.071984E -04 -2.125199E -03
9.151720E-01
-3.695703E -01 2.610549E 00 1.150045E 01
SUCCESSFUL CONVERHENCE
ITER = 6
XOLD(1)…XOLD( 7)
4.569306E -01 -4.071984E -04 -2.125199E -03
9.151720E -01
-3.695703R -01 2.610549E 00 1.150045E 01
In the feed gases, and total number of moles of product per mole of HC4 in the
feed are tabulated in Table (3.2). Thus the required feed ratio is 0.5767 moles of
oxygen per moles of methane in the feed gases.
To establish if carbon is likely to be formed according to reaction (5.5.7) at
22000F for a gas of the computed composition, it is necessary to calculate the
magnitude of
v P co Px2 2
K=a P =a x
1
... (3.25)
c co2 c 2
If
v
K is larger than k4 from (3.25), then there will be a tendency for reaction
(3.24) to shift toward the left; carbon will be formed. Assuming that ac = 1,
REFERNCES