フィルターのクリア

How to speed up integration of big ODE system?

3 ビュー (過去 30 日間)
Hoang Nguyen
Hoang Nguyen 2018 年 1 月 22 日
コメント済み: Hoang Nguyen 2018 年 1 月 23 日
Dear all,
My problem relating to chemical reaction field involves an ODE system of [37000 37000]. May I ask if we have any way to make a computational time for ODE integration faster?
I already used 'sparse' to remove zero elements and it reduce computational time 2-3 times, but still takes 2-3 hours for one simulation and 13-15 hours for parameter estimation task.
I have searched for a solution, many suggested to compile my problem to .c and then do simulation (e.g., AMICI toolbox). This approach is a really good idea. I have tried but the compilation took really long time with big ODE system and did not even seem to complete.
I would appreciate all suggestion from you.
Thanks for stopping by.
Best regards,
  4 件のコメント
Torsten
Torsten 2018 年 1 月 23 日
I guess you already supply the Jacobian matrix for ode15s ?
https://de.mathworks.com/help/matlab/ref/odeset.html
Best wishes
Torsten.
Hoang Nguyen
Hoang Nguyen 2018 年 1 月 23 日
Yes, I did. I set the options = odeset('Jacobian',jacob).
Do you have any suggestion to speed up the ODE integration?
Thanks for still being here :)

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

回答 (0 件)

カテゴリ

Help Center および File ExchangeOrdinary Differential Equations についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by