Page 1 of 1

Sensitivity run

Posted: Mon Jun 03, 2019 4:24 am
by Quame
Dear All,

Is there a way to view sensitivity run results while model is running? Also,is it possible to run Vensim Monte Carlo simulation in a batch mode?

Thanks

Re: Sensitivity run

Posted: Mon Jun 03, 2019 3:55 pm
by Quame
I am running a huge number of simulations and wanted to view the results, say on another computer before the simulation ends.

Re: Sensitivity run

Posted: Mon Jun 03, 2019 4:01 pm
by tomfid
You can script everything with a command script - see RUN_SENSITIVITY.

You can't interrupt a sensitivity run for viewing, but you could break the test into subsets.

Re: Sensitivity run

Posted: Mon Jun 03, 2019 4:12 pm
by Quame
Thanks a lot. I will look into the scripting for running in a batch mode then. Kind regards

Re: Sensitivity run

Posted: Mon Jun 03, 2019 11:58 pm
by Quame
I have gone through the manual trying to implement Monte Carlo in a batch mode. In a normal Vensim Monte Carlo simulation, after specifying the range (min-max) values for parameters of interest, the model automatically samples from this space during each run. Now in a batch mode using the command script, how do I do this without repeating runs of same parameter values? For other applications I have used before, random numbers within the parameter space is first generated after which the numbers are incessantly feed into the model for each subset. How do I do a similar thing, using the Vensim command script?

Thanks,

Re: Sensitivity run

Posted: Tue Jun 04, 2019 1:26 am
by tomfid
I think what you'd have to do is make multiple copies of your control file (.vsc), each with a different random seed. Then use the command script to load each vsc and run_sensitivity in succession.

Re: Sensitivity run

Posted: Tue Jun 04, 2019 4:57 am
by Quame
Okay, greatly appreciate it. I will try that. Thanks,

Re: Sensitivity run

Posted: Tue Jun 04, 2019 9:07 pm
by Quame
This works great for batching, except all subset simulations start from 1 to the end specified. Just wondering if there is a way to serially do the runs: say first subset = run 1- run 500, second subset = run 501- run 1000 etc, using the .vsc file. Thanks

Re: Sensitivity run

Posted: Wed Jun 05, 2019 8:17 am
by Administrator
Quame wrote: Tue Jun 04, 2019 9:07 pm This works great for batching, except all subset simulations start from 1 to the end specified. Just wondering if there is a way to serially do the runs: say first subset = run 1- run 500, second subset = run 501- run 1000 etc, using the .vsc file. Thanks
There is no way to do this.

Re: Sensitivity run

Posted: Wed Jun 05, 2019 11:19 am
by Quame
Good to know. Thanks for your assistance