Basically, I have 3 ODEs (dX/dz, dT/dz, dP/dz), z for bed length (or height). So I have 3 variables: X (conversion), T(temperature), P(pressure).
The initial conditions are : X=0 % of oxidized SO2, feed temperature of around 430-500 C(converted in R), initial pressure of 1.2 atm.
The feed flow is 56113.46 m^3/h, which i converted to m^3/s.
The initial composition is (vol. %) : 12% SO2, 9% O2, 79% N2
With this, I can calculate molar flows.
The bed volume is 11.8 m^3, and bulk density is 33.8 lb/ft^3.
So it's 11.8 * 35.3146667 to convert in ft^3
I think the strategy here is mainly, for each step:
1) Set initial conditions and parameters
2) Calculate temperature dependant variables (k, Kp, Cp, dHRx)
3) Calculate reaction rate:
- for below 5 % of oxidized SO2, the rate equation is : -r = k*(0.848 - 0.012/Kp^2) (1)
- for above 5%: r = -k * (P_SO2/P_SO3)^0.5 * [P_O2 - (P_SO3/(Kp*P_SO2))^2] (2)
where P_i = P_SO20 * (theta_i*+mu*X) / (1+e*X) * (P/P0) * (T0/T)
Here i assumed that e = 0 (since dPdz does not depend on conversion). So by substituting this last equation in equation (2), I should get
r = -k * (1-X/X)^0.5 * [ (P/P0) * P_SO20 * (thetaO2-X/2) * (T0/T) - (X/(1-X))^2 * (1/Kp^2) ]
(although I took out the (T0/T) for testing, it didn't make much of a difference).
** r is expressed in lbmol SO2/(lb. cat*s).
4) Solve balance equations
Mass : dX/dz = (-r)/F_SO20 * rho_k * (surface), which is in (-)/ft,
Since r is per unit mass, I need to multiply by density then by surface to have unit length. (1-epsilon) is to substract the void fraction.
Energy: dT/dz = [ ((-r)*dHRx) * rho_k * (surface) ] / sum (F_i*Cp_i), in degrees R/ft
Momentum : basically Ergun equation.