Question: Write code for matlab Note the 3 reactions (1 reversible) carried out in a continuous stirred tank reactor (CSTR) shown in the figure below: Q

Write code for matlab Note the 3 reactions (1 reversible) carried out in a continuous stirred tank reactor (CSTR) shown in the figure below: Q CAO TA a CA, CR, Cc, Cp VA CAN Cg, Cc, co The reactions and their rate expressions are: 1 ri A 2B r 2 r = k1CA = r3 k = 1.1 sec liter0.5 k2 = 0.25 gmole0.5. s. 1.5 A C r2 = k2CA = rz = kzCc k3 = 0.06 liter gmole - S r4 B C+D 2 r4 = k Cp? k4 0.35 liter gmole - S The mass balance can be written for the 4 reactions as follows: OUT = IN + GENERATION CONSUMPTION (Component A) CAQ = CA. O + V (13) VRO 1 + ) (Component B) CBQ = 0 + VR(211) VRTA) (Component C) CcQ = 0 Vp(r2 + 4) VR(+3) (Component D) CDQ = 0 + VR(74) 0 Assuming a reactor volume VR of 1800 liters and an initial concentration of A (i.e Cao) equal to 2.0 gmole/liter, find the overall conversion of A (defined below) as a function of the volumetric flow rate Q varied between 50 & 500 liters/s in increments of 5 liters/s. Plot this relationship in a labeled plot nad print the concentrations for each of the 4 components at Q=50 and Q=500 liers/s.. The conversion of A can be defined as: (CAO-CA) XA CAO Use the Matlab function fsolve for this problem. For initial concentrations you may assumem Ca=CB=Cc=CD=0.4
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
