You are on page 1of 2

Program EO_RRHR

function [Rate_comp, Sum_DeltaH_rxni, Sum_F_Cp]=EO_RRHR(Ymol, T)


global nu Nc Nr Pz rop Ftot vDHr eff_f1 eff_f2
Rate_rxn=zeros(Nr,1);% Nr=numar de reactii
DeltaH_rxn=zeros(1,Nr);
Cp_g=zeros(Nc,1); % Nc=numar de componenti
krxn1=6*0.76e+6*exp(-8800/T);% T in grade K
krxn2=1.15*1.05e+10*exp(-12800/T);
kads1=0.01*exp(3000/T);
kads2=0.0021*exp(3500/T);
vcp=Ymol*Pz;
petyl=vcp(1);po2=vcp(2);pEO=vcp(3);pco2=vcp(4);pw=vcp(5);pch4=vcp(6);pn2=vcp(7
);
rr1H=krxn1*kads1*sqrt(2.2)*petyl*sqrt(po2);
rr1L=(1+kads1*petyl+sqrt(2.2)*sqrt(po2)+24*pco2+50*pw)^2;
rr2H=krxn2*kads2*sqrt(10.4)*petyl*sqrt(po2);
rr2L=(1+kads2*petyl+sqrt(10.4)*sqrt(po2)+89*pco2+40*pw)^2;
Rate_rxn(1) = eff_f1*rr1H/rr1L*rop*1000;% rop - densitatea particolei de
catalizator
Rate_rxn(2) = eff_f2*rr2H/rr2L*rop*1000;% eff_f - factorul de eficacitate
for i=1:Nc
for j=1:Nr
Rate_c_rxn(i,j) = nu(i,j)*Rate_rxn(j);% consumul/productia din fiecare
component in fiecare reactie
end;
end;
for i=1:Nc
Rate_comp(i)=sum(Rate_c_rxn(i,:));% productia/consumul din fiecare
component in toate reactiile
end;
DeltaH_rxn(1) =
reactia 1
DeltaH_rxn(2) =
reactia 1
Cp_g(1)
C2H4
Cp_g(2)
Cp_g(3)
EO
Cp_g(4)
CO2
Cp_g(5)
H2O
Cp_g(6)
CH4
Cp_g(7)

vDHr(1);% -105000

%//J/mol caldura de reactie -

vDHr(2);%-1218000

%//J/mol caldura de reactie -

= 3.806+1.566e-1*T-8.348e-5*T^2+1.755e-8*T^3

; % //J/mol/K

= 28.11-3.68e-6*T +1.746e-5*T^2-1.065e-8*T^3
= -7.519+2.222e-1*T-1.256e-4*T^2+2.592e-8*T^3
= 19.8+7.344e-2*T-5.602e-5*T^2+1.715e-8*T^3

; % //J/mol/K O2
; % //J/mol/K
;

%//J/mol/K

= 32.24+1.924e-3*T+1.055e-5*T^2-3.596e-9*T^3

%//J/mol/K

= 19.25+5.213e-2*T+1.197e-5*T^2-1.132e-8*T^3

; % //J/mol/K

= 31.15-1.357e-2*T+2.68e-5*T^2-1.168e-8*T^3

%//J/mol/K

N2

Sum_DeltaH_rxni = DeltaH_rxn*Rate_rxn;% cadura prudusa de reactii in sectiunea


de integrare curenta
Sum_F_Cp =Ftot*(Ymol*Cp_g);
%disp(Sum_F_Cp);pause;
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

You might also like