Professional Documents
Culture Documents
Question: Model and simulate an isothermal CSTR in which a 1st order liquid-phase reaction
takes place.
𝑘 (𝑡𝑖𝑚𝑒)−1
A → B
Estimate the outlet concentration profile of component A for first 50 minutes (with an interval of
1 min). Use Euler’s method for solving the differential equation.
Given that
Assumptions:
1. Isothermal system
2. Constant density system
3. Constant hold up
1
4. First order reaction
Model:
𝐹0 = 𝐹1 = 𝐹
𝑑(𝑉𝐶𝐴 )
𝐹 𝐶𝐴0 − 𝐹 𝐶𝐴 − (−𝑟𝐴 )𝑉 =
𝑑𝑡
𝑑𝐶𝐴
𝐹(𝐶𝐴0 − 𝐶𝐴 ) − 𝑘𝐶𝐴 𝑉 = 𝑉
𝑑𝑡
𝑑𝐶𝐴 𝐹
= (𝐶𝐴0 − 𝐶𝐴 ) − 𝑘𝐶𝐴
𝑑𝑡 𝑉
Where
rA = rate of reaction
F = flow rate
𝑑𝐶𝐴
= 0.05 − 0.123𝐶𝐴
𝑑𝑡
2
MATLAB CODE:
3
Output: