Dear Tom, Dear Administrator,
I would like to put a variable in my Venapp, that the user can change the Noise Seed and/or Number of Simulation before any sensitivity run. I was looking in Vensim parameters but there is not a Noise Seed and Number of Simulation (like INITIAL TIME) that can be changed through Venapp. Is it any possibility that I can do so?
BR,
Hossein
Noise Seed in Venapp
Re: Noise Seed in Venapp
Add NOISE SEED to the model and change it with SETVAL.
https://www.vensim.com/documentation/noise_seed.htm
https://www.vensim.com/documentation/noise_seed.htm
/*
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: Noise Seed in Venapp
Dear Tom,
but the problem is that the "Noise Seed" can be changed in the "Sensitivity Simulation Setup" window in Vensim as well as "Number of simulations". But in the Venapp, how should I connect my defined variable to Nose seed? Because in the Venapp, it is not possible to open the "Sensitivity Simulation Setup" window and make the changes! I would appreciate it if you could provide an example.
BR,
Hossein
but the problem is that the "Noise Seed" can be changed in the "Sensitivity Simulation Setup" window in Vensim as well as "Number of simulations". But in the Venapp, how should I connect my defined variable to Nose seed? Because in the Venapp, it is not possible to open the "Sensitivity Simulation Setup" window and make the changes! I would appreciate it if you could provide an example.
BR,
Hossein
-
- Super Administrator
- Posts: 4589
- Joined: Wed Mar 05, 2003 3:10 am
Re: Noise Seed in Venapp
Add a constant to the model called "NOISE SEED". You can now change this using SIMULATE>SETVAL. This overrides the value in the sensitivity setup window.
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: Noise Seed in Venapp
Hossein is correct - the sensitivity seed can't be changed programmatically. We should change that.
A workaround is to provide several different vsc files with different seeds. Another possibility is to use the vsc file to vary noise seed, and generate the distributions for the target variables inside the model, using the regular RANDOM functions.
A workaround is to provide several different vsc files with different seeds. Another possibility is to use the vsc file to vary noise seed, and generate the distributions for the target variables inside the model, using the regular RANDOM functions.
/*
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
*/