Azzera filtri
Azzera filtri

How to speed up integration of big ODE system?

3 visualizzazioni (ultimi 30 giorni)
Hoang Nguyen
Hoang Nguyen il 22 Gen 2018
Commentato: Hoang Nguyen il 23 Gen 2018
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 Commenti
Torsten
Torsten il 23 Gen 2018
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 il 23 Gen 2018
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 :)

Accedi per commentare.

Risposte (0)

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by