필터 지우기
필터 지우기

How to speed up integration of big ODE system?

조회 수: 2 (최근 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 CenterFile Exchange에서 Ordinary Differential Equations에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by