Help in solving the equation of van der vusse reactor
Show older comments
dx=(u1)*(x0-x)-(k10*exp(E1/t+273.15)*x)-(k30*exp(E3/t+273.15)*x^2);
dy=-((u1)*y)+(k10*exp(E1/t+273.15)*x)-(k20*exp(E2/t+273.15)*y);
dt=(u1*(t0-t))-(k10*exp(E1/t+273.15)*x*DHab+k20*exp(E2/t+273.15)*y*DHbc+k30*exp(E3/t+273.15)*(x^2)*DHad)/(P*Cp)+ ((Kw*Ar)/(P*Cp))*(t-tk);
dtk=((Fck*Cpk)*(tk0-tk)+(Kw*Ar)*(t-tk))/(Mk*Cpk);
% param Vr=10; E1=9758.3; %(K) E2=E1; %(K)
E3=-8560; %(k)
DHab=4.2; %(KJ/MOL A)
DHbc=-11.0; %(KJ/MOL A)
DHad=-41.85; %(KJ/MOL A)
P=0.9342; %(KG/L)
Cp=3.01; %(KJ/KG K)
Kw=432; %(KJ/h M^2 K)
Ar=0.215; %(M^2)
Mk=5; %(KG)
Cpk=2.0; %(KJ/KG K)
x0=5.1;
t0=60;
tk0=110;
y0=0;
Fck=10.52; %(KG/H)
k10=1.287e+12;
k20=1.287e+12;
k30=9.043e+9;
in stat sapce i wantknow
x=!
y=!
t=!
tk=!
help me plz
[x,y,t,tk]=solve('(u1)*(x0-x)-(k10*exp(E1/t+273.15)*x)-(k30*exp(E3/t+273.15)*x^2)=0','-((u1)*y)+(k10*exp(E1/t+273.15)*x)-(k20*exp(E2/t+273.15)*y)=0','(u1*(t0-t))-(k10*exp(E1/t+273.15)*x*DHab+k20*exp(E2/t+273.15)*y*DHbc+k30*exp(E3/t+273.15)*(x^2)*DHad)/(P*Cp)+ ((Kw*Ar)/(P*Cp))*(t-tk)=0','((Fck*Cpk)*(tk0-tk)+(Kw*Ar)*(t-tk))/(Mk*Cpk)=0')
Warning: Explicit solution could not be found. > In solve at 81 In Untitled14 at 31
x =
[ empty sym ]
y =
[]
t =
[]
tk =
[]
Answers (1)
bym
on 15 May 2011
You need some parentheses, for example
k10*exp(E1/t+273.15)*x %<-- your expression
should be
k10*exp(E1/(t+273.15))*x
fix all occurrences and see what you get
3 Comments
azou
on 15 May 2011
bym
on 15 May 2011
what are u1 u2 k z0
Walter Roberson
on 15 May 2011
What does asking for S.x show?
Categories
Find more on Special Values in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!