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
Sensitivity run
Re: Sensitivity run
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
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.
You can't interrupt a sensitivity run for viewing, but you could break the test into subsets.
/*
Advice to posters (it really helps us to help you)
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391
Blog: http://blog.metasd.com
Model library: http://models.metasd.com
Bookmarks: http://delicious.com/tomfid/SystemDynamics
*/
Advice to posters (it really helps us to help you)
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391
Blog: http://blog.metasd.com
Model library: http://models.metasd.com
Bookmarks: http://delicious.com/tomfid/SystemDynamics
*/
Re: Sensitivity run
Thanks a lot. I will look into the scripting for running in a batch mode then. Kind regards
Re: Sensitivity run
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,
Thanks,
Re: Sensitivity run
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.
/*
Advice to posters (it really helps us to help you)
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391
Blog: http://blog.metasd.com
Model library: http://models.metasd.com
Bookmarks: http://delicious.com/tomfid/SystemDynamics
*/
Advice to posters (it really helps us to help you)
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391
Blog: http://blog.metasd.com
Model library: http://models.metasd.com
Bookmarks: http://delicious.com/tomfid/SystemDynamics
*/
Re: Sensitivity run
Okay, greatly appreciate it. I will try that. Thanks,
Re: Sensitivity run
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
-
- Super Administrator
- Posts: 4832
- Joined: Wed Mar 05, 2003 3:10 am
Re: Sensitivity run
There is no way to do this.
Advice to posters seeking help (it really helps us to help you)
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391
Units are important!
http://www.bbc.co.uk/news/magazine-27509559
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391
Units are important!
http://www.bbc.co.uk/news/magazine-27509559
Re: Sensitivity run
Good to know. Thanks for your assistance