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 件のコメント

NILADRI SEKHAR  MANDAL
NILADRI SEKHAR MANDAL 2016 年 10 月 17 日
Please look at the question once more; I had missed a major point.
Thanks for bearing with me.

サインインしてコメントする。

Torsten
Torsten 2016 年 10 月 18 日

0 投票

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 件のコメント

Walter Roberson
Walter Roberson 2016 年 10 月 18 日
I do not see why X(15)=1 ?
Torsten
Torsten 2016 年 10 月 18 日
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.
Walter Roberson
Walter Roberson 2016 年 10 月 18 日
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