Page 1 of 1

Running multiple models

Posted: Wed Apr 17, 2019 7:51 am
by rozariol
Hi,
I would like to understand if there is any way to run PENSIM models with a Visual Basic program. This to facilitate running one set of models (7 models)seamlessly as presently I have to open one at a time to get the results at the end.
Regards,
Louis

Re: Running multiple models

Posted: Wed Apr 17, 2019 8:14 am
by Administrator
Do you mean running models in parallel? This is difficult.

There is an example on how to use Visual basic with the Vensim DLL (search in c:\users\public\vensim). But this will only allow one model to run at a time.

Re: Running multiple models

Posted: Wed Apr 17, 2019 12:57 pm
by tomfid
It sounds like you're running a chain of models, where the output from one is the input to the next. This is easy with a command script (requires Vensim DSS).

Re: Running multiple models

Posted: Wed Apr 17, 2019 1:20 pm
by tomfid