Data2Dynamics / d2d

a modeling environment tailored to parameter estimation in dynamical systems
https://github.com/Data2Dynamics/d2d
57 stars 28 forks source link

Long model compilation times #176

Open stephanmg opened 4 months ago

stephanmg commented 4 months ago

Following the instructions here (https://github.com/Data2Dynamics/d2d/wiki/First%20steps) I try to compile a model, specifically MATLAB, to be exported into PEtab format.

I understand the workflow as follows (after navigating to the Examples subfolder containing the Alkan benchmark):

  1. arInit
  2. arLoadModel
  3. arLoadData(...) statements
  4. arCompileAll

(Which essentially boils down to running Setup.m file for the model under consideration)

arCompileAll seems to do a lot of work (which is reasonable as it ocmpiles each condition into a separate model as I understand), howver it takes 24 hours for Bachmann and Alkan model examples. Is this reasonable?

MATLAB versions 2024a, 2023b and 2021a tested.

I wonder if the time required to compile the models is as expected, or if it could be improved.