Mws Che Reg TXT Nonlinearmodel Examples
Mws Che Reg TXT Nonlinearmodel Examples
04
Nonlinear Models for Regression-More Examples
Chemical Engineering
Example 1
Below is given the FT-IR (Fourier Transform Infra Red) data of a 1:1 (by weight)
mixture of ethylene carbonate (EC) and dimethyl carbonate (DMC). Absorbance 𝑃 is
given as a function of wavenumber, m.
Table 1 Absorbance as a function of wavenumber.
Wavenumber, 𝑚 Absorbance, 𝑃
(cm−1 ) (arbitrary unit)
804.184 0.1591
827.326 0.0439
846.611 0.0050
869.753 0.0073
889.038 0.0448
892.895 0.0649
900.609 0.1204
06.04.1
06.04.2 Chapter 06.04
Absorban
Wavenumber,
ce, 𝑃
𝑖 𝑚 𝑚2 𝑚3 𝑚4 𝑚×𝑃 𝑚2 × 𝑃
(arbitrar
(cm−1 )
y unit)
1 804.18 0.1591 6.4671× 105 5.2008× 108 4.1824× 1011 127.95 1.0289× 105
2 827.33 0.0439 6.8447× 105 5.6628× 108 4.6849× 1011 36.319 3.0048× 104
3 846.61 0.0050 7.1675× 105 6.0681× 108 5.1373× 1011 4.233 3.583× 103
4 869.75 0.0073 7.5647× 105 6.5794× 108 5.7225× 1011 6.349 5.522× 103
5 889.04 0.0448 7.9039× 105 7.0269× 108 6.2471× 1011 39.828 3.5409× 104
6 892.90 0.0649 7.9726× 105 7.1187× 108 6.3563× 1011 57.948 5.1742× 104
7 900.61 0.1204 8.1110× 105 7.3048× 108 6.5787× 1011 108.43 9.7655× 104
7
∑ 6030.4 0.4454 5.2031× 106 4.4961× 109 3.8909× 1012 381.06 3.2685× 105
𝑖=1
𝑛 (∑ 𝑚𝑖 ) (∑ 𝑚𝑖2 ) ∑ 𝑃𝑖
𝑖=1 𝑖=1 𝑖=1
𝑛 𝑛 𝑛 𝑎0 𝑛
𝑎0 43.985
[𝑎1 ] = [−0.10268 ]
𝑎2 −5.9922 × 10−5
Example 2
The mechanism of polymer degradation reaction kinetics is suspected to follow Avrami
or random nucleation reaction,
(𝑇−𝑇0 ) − 𝐸
𝑓(α) = 𝐴 𝑒 𝑅𝑇
𝑏
06.04.4 Chapter 06.04
where 𝑓(α) = −ln(1 − α), T is the absolute temperature (K), 𝑏 is the heating rate in
K/min, 𝐴 is the frequency factor with units of rate constant, 𝑅 is the gas constant (8.314
kJ/kmol-K) and 𝑇0 is the activation temperature. Given that 𝑇0 = 338.75 K, 𝑏 = 10
K/min and conversion, α, at different temperatures are as given in table 3. Use the
method of least squares to determine the values of 𝐴and𝐸.
Solution
To set-up the table, we must re-write equation
(𝑇−𝑇0 ) − 𝐸
−ln(1 − α) = 𝐴 𝑒 𝑅𝑇
𝑏
as
𝑏ln(1 − α) 𝐸
− = 𝐴𝑒 −𝑅𝑇
(𝑇 − 𝑇0 )
∑𝑛
𝑖=1 𝑦𝑖 ∑𝑛
𝑖=1 𝑥𝑖
β0 = ( ) − β1 ( )
𝑛 𝑛
Nonlinear Models for Regression-More Examples: Chemical Engineering
06.04.5
𝑛=8
8
−2
∑ 𝑥𝑖 = 2.0322 × 10
𝑖=1
∑8𝑖=1 𝑦𝑖 = −1.5376 × 101
∑8𝑖=1 𝑥𝑖 𝑦𝑖 = −3.9787 × 10−2
∑8𝑖=1 𝑥2𝑖 = 5.1797.10−5
8(−3.9787×10−2 )−(2.0322×10−2 )(−1.5376×10−1 )
β1 = 8(5.1797×10−5 )−(2.0322×10−2 )2
3
= −4.1561 × 10
(𝑇−338.75) 4.1561×103
−ln(1 − α) = 5.6264 × 103 × 𝑒− 𝑇
10
Example 3
The progress of a homogeneous chemical reaction is followed and it is desired to
evaluate the rate constant and the order of the reaction. The rate law expression for the
reaction is known to follow the power function form
−𝑟 = 𝑘𝐶 𝑛 . (1)
Use the data provided in the table to obtain 𝑛 and𝑘.
Table 11 Chemical kinetics
𝐶𝐴 (gmol/l) 4 2.25 1.45 1.0 0.65 0.25 0.06
gmol⁄
−𝑟𝐴 ls 0.398 0.298 0.238 0.198 0.158 0.098 0.048
Solution
Taking natural log of both sides of Equation (1), we obtain
ln(−𝑟 ) = ln(𝑘) + 𝑛ln(𝐶 )
Let
ln(−𝑟 ) = 𝑧
ln(𝐶 ) = 𝑤
ln(𝑘) = 𝑎0 from which 𝑘 = 𝑒 𝑎0 (2)
𝑛 = 𝑎1 (3)
We get
𝑧 = 𝑎0 + 𝑎1 𝑤
This is a linear relation between 𝑧 and 𝑤, where
∑𝑚 𝑚 𝑚
𝑖=1 𝑤𝑖 𝑧𝑖 −∑𝑖=1 𝑤𝑖 ∑𝑖=1 𝑧𝑖
𝑎1 = 2
𝑚 ∑𝑚 2 𝑚
𝑖=1 𝑤𝑖 −(∑𝑖=1 𝑤𝑖 )
∑𝑚
𝑖=1 𝑧𝑖 ∑𝑚
𝑖=1 𝑤𝑖
𝑎0 = 𝑚
− 𝑎1 𝑚
(4a,b)
𝑖 𝐶 −𝑟 𝑤 𝑧 𝑤×𝑧 𝑤2
1 4 0.398 1.3863 −0.92130 −1.2772 1.9218
2 2.25 0.298 0.8109 −1.2107 −0.9818 0.65761
3 1.45 0.238 0.3716 −1.4355 −0.5334 0.13806
4 1 0.198 0.0000 −1.6195 0.0000 0.00000
5 0.65 0.158 −0.4308 −1.8452 0.7949 0.18557
6 0.25 0.098 −1.3863 −2.3228 3.2201 1.9218
7 0.06 0.048 −2.8134 −3.0366 8.5431 7.9153
7
∑ −2.0617 −12.391 9.7657 12.7401
𝑖=1
06.04.8 Chapter 06.04
𝑚=7
∑7𝑖=1 𝑤𝑖 = −2.0617
∑7𝑖=1 𝑧𝑖 = −12.391
∑7𝑖=1 𝑤𝑖 𝑧𝑖 = 9.7657
∑7𝑖=1 𝑤2𝑖 = 12.7401