Solving Implicit differential differential equations.

I have been posed with the following problem of chemical engineering:
dX/dz = (a*((1-X)/(1+X))^2)/Uo
da/dz = X/(1+2X)/Uo
The maximum value of z = 15.
The objective is choose an optimum value of Uo so as to maximize 'X', at maximum z, i.e, at z=15. The initial conditions are :
At z = 0; X = 0
At z = 0; a = 1.
Thanks a lot in advance.

回答(3 个)

My guess is that an optimum value for Uo does not exist, but that the closer to 0 you choose Uo, the faster X will approach 1.
Best wishes
Torsten.

1 个评论

Please look at the question once more; I had missed a major point.
Thanks for bearing with me.

请先登录,再进行评论。

Couple fmincon and bvp4c to solve the system
max: Uo
s.c.
dX/dz = (a*((1-X)/(1+X))^2)/Uo
da/dz = X/(1+2X)/Uo
X(0)=0
a(0)=1
X(15)=1
Best wishes
Torsten.

3 个评论

I think the maximum value X can reach is 1 because it seems to be a conversion rate in chemical reaction engineering. This value should be attained exactly at z=15 and not at a smaller value of z - that's why Uo must be maximized.
Best wishes
Torsten.
My analysis is that the integral of a(z) must be complex when X(z) is less than 1.
Maple refuses to solve analytically. Unless, that is, you add a delta to the da/dz right hand side, in which case it can find a formula based on finding the root of a messy function involving the integral of something or other.
I have to wonder if the equations are correct.

请先登录,再进行评论。

My tests with ode45 and ode15s show that the optimal value for U0 is approximately 7.94E-154, yielding X(15) = 8.92239656364801e+307 . 7.93E-154 and smaller values give NaN, so the tension is to reduce 7.94E-154 by less than 1E-156 to get as close as possible to realmax = 1.79769313486232e+308 without getting NaN.

类别

在 帮助中心 和 File Exchange 中查找有关 Chemistry 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by