Maple Solutions to the Chemical Engineering Problem Set
Maple Solutions to the Chemical Engineering Problem Set
Maple Solutions to the Chemical Engineering Problem Set
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
100<br />
95<br />
90<br />
85<br />
80<br />
75<br />
70<br />
65<br />
0<br />
50<br />
100<br />
150<br />
200<br />
D. Proportional Control<br />
K<br />
c<br />
Proportional only control is simulated by setting <strong>the</strong> term = 0. We can accomplish this by giving τ a<br />
τ I<br />
I<br />
very high value as shown here.<br />
> params :={V=4000/rho/C[P],W=500/C[P],T[i,s]=60,T[r]=80,tau[d]=1,tau[m]=5,tau[I]=1e99,K[c]=500};<br />
4000<br />
params := { V = , W = , , , , , ,<br />
}<br />
ρC<br />
P<br />
500<br />
T = 60 T = 80 τ = 1 τ = 5 τ = .1 10<br />
C i, s r d m I<br />
P<br />
100<br />
K = 500<br />
c<br />
We carry out <strong>the</strong> integrations for this situation.<br />
> result:=dsolve({diff(x(t),t)=0,diff(y(t),t)=0,diff(w(t),t)=0,diff(z(t),t)=0}, {w(t),x(t),y(t),z(t)},type=numeric,<br />
method=rkf45, initial=vec<strong>to</strong>r([80,80,80,0]),start=0,procedure=deproc,<br />
value=array([0,seq(i,i=9..60)])):<br />
The output table is extracted from <strong>the</strong> result:<br />
> Ttable :=op([1,3,2,2],result):<br />
and <strong>the</strong> three temperatures plotted as a function of time.<br />
> plot({seq([seq([Ttable[i,1],Ttable[i,k]],i=1..rowdim(Ttable))],k=2..4)},color=[red,blue,black]);<br />
><br />
80<br />
78<br />
76<br />
74<br />
72<br />
70<br />
0<br />
10<br />
20<br />
30<br />
40<br />
50<br />
60<br />
Page 48