No Title |POLVER05_0 |1
# second order reaction in laminar flow reactor
# calculate conversion assuming segregated flow
d(Clam) / d(t) = p*Cbatch # laminar flow reactor
Clam(0) = 0 # initial condition for above ODE
d(Cbatch) / d(t) = -k*Cbatch^2 #batch reactor mass balance
Cbatch(0) = 12 # initial condition for above ODE
k = 0.35
Tau = 3
t(0) = 0 # starting time to integrate ODEs
t(f) = 10 # ending time to integrate ODEs
p = If (t>Tau/2) then (Tau^2/(2*t^3)) else (0) # RTD for laminar flow reactor
x = (12-Clam)/12 # calculate conversion