The equations describing the CSTR were shown to be:
cA - cA0 = (-k1cA+k2cB-k4cA^2)*t cB - cB0 = t*S4i=1 riB = (k1cA-k2cB-k3cB)*t
We need to solve these two equations simultaneously for a given t. We start by diving the two equations to eliminate t.
(cA - cA0) / (cB - cB0) = (-k1cA+k2cB-k4cA^2)/(k1cA-k2cB-k3cB)We can multiply this out to obtain a quadratic in cB. Substituting for no B in the feed, cB0 = 0, we obtain the following quadratic equation:
(cA - cA0)*(k1cA-k2cB-k3cB) - (cB - cB0)*(-k1cA+k2cB-k4cA^2) = 0
a*cB2 + b*cB + c = 0Finally, we can deterine the space time of the CSTR from:a(cA) = -k1*cA2 + k1*cA*cA0
b(cA) = -k4*cA2 + (k2+k3-k1)*cA - (k2+k3)*cA0
c(cA) = k2
cB(cA) = (-b(cA) +/- (b(cA)2 - 4*a(cA)*c(cA))0.5) / (2*a(cA))
t = cBA / (k1cA-k2cB-k3cB)We can plot the solution in PolyMath using the following procedure:
Return