Professional Documents
Culture Documents
Tubular Reactor
Inner Diameter: 0.025 m
Length: 1 m
Linear Velocity: 50 cm / s
Initial Feed:
10% o-xylene
2, 6, 10% oxygen
Balance Helium (inerts)
U = 20 W / m^2 K
Activation Energies
E1: 8.76*10^4 J / mol
E2: 10^5 J / mol
k0:
Cp (J / mol K)
xylene 187
O2 29
Anhydride 160
H2O 75
CO 29
Inert 20
Goals
1: Investigate the impact of changing feed temperatures of 585, 605, and 625 K. Also,
permutate with the jacket temperatures of 290, 300, and 310 K
3. Based on results from Parts 1 and 2, what operating conditions of entering reactor fluid
temperature, jacket fluid temperature, and oxygen partial pressure would you recommend?
Justify such recommendation
Pressure in atm
Rates in mol / m^3 s
2: a Graphs - Graphs of outlet conversion of o-Xylene vs Inlet Temperature (585, 605, 625 K)
Graphs of outlet conversion of o-Xylene vs Entering Oxygen Partial Pressure (P total = 1 atm,
oxygen mol percent is changing, 0.02, 0.06, 0.1)
Graphs of outlet conversion of o-Xylene vs Jacket Fluid Temperature (585, 605, 625 K)
2: b Graphs - Graphs of temperature vs reactor volume for all conditions in 2 a
2: c. Graphs - Graphs of selectivity of Anhydride relative to undesired Carbon Monoxide for all
conditions in 2 a (rxn 1 has anhydride and rxn 2 has carbon monoxide, which is favored)
3: Out of the 3 changing variables; feed temperature, jacket temperature, and oxygen partial
pressure, which combination of the three would you want to use, aka best ratio of conversion of
the o-Xylene and oxygen while considering how much anhydride and carbon monoxide you
produce (minimize the carbon monoxide, maximize the anhydride)
Selectivity
Overall selectivity
S R/S = FR / FS = exit moles R / time / exit moles S / time (Flow reactor)
% Constants
P = 1; %Given ambient pressure in atm
yXo = 0.1; %Given mole fraction of 0-xylene
VT = ((0.025/2)^2)*3.14*1; %Calculated volume of the reactor in m^3
A = ((0.025/2)^2)*3.14; %Calculated area of the reactor
V = 0.5; %Given feed velocity in m/s
Q = V*A; %Calculated volumetric flow rate in m^3/s
SA = 3.14*0.025; %Calculated surface area of the reactor
%Initializations
FPo = 0; %No initial moles of anhydride
FCOo = 0; %No initial moles of carbon monoxide
FH2Oo = 0; %No initial moles of water
Conversion = 0;
QRxn = 0;
FI = FIo;
FT = x(1)+x(2)+x(3)+x(4)+x(5)+FI;
yX = (x(1)/FXo)*(To/x(6));
yO2 = (x(2)/FXo)*(To/x(6));
k1 = ko1*exp(-Ea1/(R*x(6)));
k2 = ko2*exp(-Ea2/(R*x(6)));
rate1 = k1*(yX*P)*(yO2*P)^0.5;
rate2 = k2*(yX*P)*(yO2*P);
tspan = [0 VT];
[t,x]=ode23s(@(t,x) odefcn(t,x,FXo,FO2o,FPo,FCOo,FH2Oo,To,FI),tspan,xo);
figure(1)
plot(t,x(:,6),'-');
legend ('Temperature');
% FX = x(1);
% FO2 = x(2);
% FP = x(3);
% FCO = x(4);
% FH20 = x(5);
% T = x(5);
% Constants
P = 1; %Given ambient pressure in atm
yXo = 0.1; %Given mole fraction of o-xylene
VT = ((0.025/2)^2)*3.14*1; %Calculated volume of the reactor in m^3
A = ((0.025/2)^2)*3.14; %Calculated area of the reactor
V = 0.5; %Given feed velocity in m/s
Q = V*A; %Calculated volumetric flow rate in m^3/s
SA = 3.14*0.025; %Calculated surface area of the reactor
% Rate 1 constants
ko1 = 7.146*10^7; %Given pre exponential factor for reaction constant 1
Ea1 = 87.6; %Given energy of activation for rate constant 1
%Rate 2 Constants
ko2 = 1.758*10^8; %Given pre exponential factor for reaction constant 2
Ea2 = 100; %Given energy of activation for rate constant 2
Tj=290;
FTo = Q*P/(Rg*To);
FT = x(1) + x(2) + x(3) +x(4) + x(5)+ FI;
yX = (x(1)/FXo)*(To/x(6));
yO2 = (x(2)/FXo)*(To/x(6));
k1 = (ko1)*exp(-Ea1/(0.008314*x(6)));
k2 = (ko2)*exp(-Ea2/(0.008314*x(6)));
rate1 = k1*(yX*P)*(yO2*P)^0.5;
rate2 = k2*(yX*P)*(yO2*P);
FTCPT = x(1)*Cpx + x(2)*Cpo2 + x(3)*Cpp + x(4)*Cph2o + x(5)*Cpco + FI*Cpi;
%dxdt=[];
dxdt = zeros(6,1);
dxdt(1) = -rate1-rate2;
dxdt(2) = -3*rate1-6.5*rate2;
dxdt(3) = rate1;
dxdt(4) = 3*rate1+5*rate2;
dxdt(5) = 8*rate2;
dxdt(6) = (-(HR1*rate1)-(HR2*rate2)+UA*(Tj-(x(6))))/FTCPT;
end