Question 22.10: A batch reactor converts component A into B, which in turn d...

A batch reactor converts component A into B, which in turn decomposes into C :

\begin{gathered}k_{1} \quad k_{2} \\A \rightarrow B \rightarrow C\end{gathered}

where k_{1}=k_{10} e^{-E_{1} / R T} and k_{2}=k_{20} e^{-E_{2} / R T}.

The concentrations of A and B are denoted by x_{1} and x_{2}, respectively. The reactor model is

\begin{aligned}&\frac{d x_{1}}{d t}=-k_{10} x_{1} e^{-E_{1} / R T} \\&\frac{d x_{2}}{d t}=k_{10} x_{1} e^{-E_{1} / R T}-k_{20} x_{2} e^{-E_{2} / R T}\end{aligned}

Thus, the ultimate values of x_{1} and x_{2} depend on the reactor temperature as a function of time. For

\begin{aligned}k_{10} &=1.335 \times 10^{10} min ^{-1}, & & k_{20}=1.149 \times 10^{17} min ^{-1} \\E_{1} &=75,000  J / g mol , & & E_{2}=125,000  J / g mol \\R &=8.31  J /( g mol K ) & & x_{10}=0.7  mol / L , \quad x_{20}=0\end{aligned}

Find the constant temperature in K that maximizes the amount of B, for 0 \leq t \leq 8 min. Next allow the temperature to change as a cubic function of time

T(t)=a_{0}+a_{1} t+a_{2} t^{2}+a_{3} t^{3}

Find the values of a_{0}, a_{1}, a_{2}, a_{3} that maximize x_{2} by integrating the model and using a suitable optimization method.

The Blue Check Mark means that this solution has been answered and checked by an expert. This guarantees that the final answer is accurate.
Learn more on how we answer questions.

The reactor equations are:

\begin{aligned}&\frac{d x_{1}}{d t}=-k_{1} x_{1}              (1)\\&\frac{d x_{2}}{d t}=k_{1} x_{1}-k_{2} x_{2}               (2)\end{aligned}

where k_{1}=1.335 \times 10^{10} e ^{-75,000 /(8.31 \times T)} and k_{2}=1.149 \times 10^{17} e ^{-125,000 /(8.31 \times T)}

By using MATLAB, this differential equation system can be solved using the command “ode45”. Furthermore we need to apply the command “fiminsearch” in order to optimize the temperature. In doing so, the results are:

a)

Isothermal operation to maximize conversion \left(x_{2}(8)\right) :

T_{o p}=357.8 K \quad and \quad x_{2 \max }=0.3627

b) Cubic temperature profile: the values of the parameters in T=a_{0}+ a_{1} t+a_{2} t^{2}+a_{3} t^{3} that maximize x_{2}(8) are:

\left\{\begin{array}{l}a_{0}=372.78 \\a_{1}=-10.44 \\a_{2}=2.0217 \\a_{3}=-0.1316\end{array} \quad \text { and } \quad x_{2 \max }=0.3699\right.

The optimum temperature profile and the optimum isothermal operation are shown in Fig. S22.10.

22.10
The 'Blue Check Mark' means that either the MATLAB code/script/answer provided in the answer section has been tested by our team of experts; or the answer in general has be fact checked.

Learn more on how do we answer questions.

a) Constant temperature (First declare Temp as global variable)

1.- Define the differential equation system in a file called batchreactor:

function dx_dt=batchreactor(time_row,x)
global Temp
dx_dt(1,1)=-1.335e10*x(1)*exp(-75000/8.31/Temp);
dx_dt(2,1)=1.335e10*x(1)*exp(-75000/8.31/Temp) -
1.149e17*x(2)*exp(-125000/8.31/Temp);

2.- Define a function called conversion that gives the final value of x_{2} (given a value of the temperature)

function x2=conversion(T)
global Temp
Temp=T;
x_0=[0.7,0];
[time_row, x] = ode45('batchreactor', [0 8], x_0 );
x2=-(x(length(x),2));

3.- Find the optimum temperature by using the command fminsearch

[T,negative_x2max]=fminsearch('conversion', To)

where T_{o} is our initial value to find the optimum temperature.

b) Temperature profile (First declare a0 a1 a2 a3 as global variables)

1.- Define the differential equation system in a file called batchreactor2.

function dx_dt=batchreactor2(time_row,x)
global a0 a1 a2 a3
Temp=a0+a1*time_row+a2*time_row^2+a3*time_row^3;
dx_dt(1,1)=-1.335e10*x(1)*exp(-75000/8.31/Temp);
dx_dt(2,1)=1.335e10*x(1)*exp(-75000/8.31/Temp) -
1.149e17*x(2)*exp(-125000/8.31/Temp);

2.- Define a function called conversion2 that gives the final value of x_{2} (given the values of the temperature coefficients)

function x2b=conversion(a)
global a0 a1 a2 a3
a0=a(1);a1=a(2);a2=a(3);a3=a(4);x_0=[0.7,0];
[time_row, x] = ode45('batchreactor2', [0 8], x_0 );
x2b=-x(length(x),2);

3.- Find the optimum temperature profile by using the command fminserach

[T,negative_x2max]=fminsearch('conversion2', ao)

where a_{o} is the vector of initial values to find the optimum temperature profile.

Related Answered Questions