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개)

Torsten
Torsten 2016년 10월 17일

0 개 추천

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.

댓글을 달려면 로그인하십시오.

Torsten
Torsten 2016년 10월 18일
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 do not see why X(15)=1 ?
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.

댓글을 달려면 로그인하십시오.

Walter Roberson
Walter Roberson 2016년 10월 18일

0 개 추천

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에 대해 자세히 알아보기

질문:

2016년 10월 17일

댓글:

2016년 10월 18일

Community Treasure Hunt

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

Start Hunting!

Translated by