Question: Speeding up MapleSim simulations

Hi all,

I'm currently running a parameter space search via Maple scripting. The pseudo-code goes something like this:


fopen text file to write data to;

initialize parameters (variable) x, y, and z;

for x number of iterations

   A:-Simulate(model.msim, with [parameters]);

   Update parameters with new values;

   Write to text file;

end do;

fclose(text file)


The Maple run-time for this script is relatively long. Although I'm not sure about this but I think its because at each iteration, -Simulate opens the .msim file and recompiles itself? If it is, is there a way to structure the code so that I'm only updating the parameters and not recompiling the model each time?

Thank you.



Please Wait...