Hello Folks,
I'm trying to make Monte Carlo Sensitivity analysis on venapp for the users in order for them to change the input value in the preset ranges.
I tried the following methods that I've read from the modules but It unfortunately didn't not work for me.
For example,
Discount rate(%) = 10
Gold price($/oz) = 1000
MODVAR, "Discount rate(%) MIN",
MODVAR, "Discount rate(%) MAX",
MODVAR, "Gold price($/oz) MIN",
MODVAR, "Gold price($/oz) MAX",
SLIDEVAR,""Vol MIN"",23,83,15,5,,,,
SLIDEVAR,""Vol MAX"",47,83,15,5,,,,
......
......
...... etc
When I run the venapp, the value didn't show up on the screen. I can't figure it out what the errors were. Could anyone help suggesting to fix this problem?
I appreciate any help.
Thank you so much.
Regards,
Inthan
Set MIN/MAX Values for Monte Carlo Sensitivity in Venapp
-
- Member
- Posts: 34
- Joined: Thu Jan 28, 2016 6:01 pm
- Vensim version: DSS
-
- Super Administrator
- Posts: 4573
- Joined: Wed Mar 05, 2003 3:10 am
Re: Set MIN/MAX Values for Monte Carlo Sensitivity in Venapp
Can you post the venapp and model? It's impossible to see what the error is without them.
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: Set MIN/MAX Values for Monte Carlo Sensitivity in Venapp
Can we assume that you have variables named "Discount rate(%) MIN" etc.?
/*
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
*/
-
- Member
- Posts: 34
- Joined: Thu Jan 28, 2016 6:01 pm
- Vensim version: DSS
Re: Set MIN/MAX Values for Monte Carlo Sensitivity in Venapp
Hi Admin, Hi Tom,
Thanks for your response.
Yes, I've all of these variables in the model and it's constant variable.
Sorry, I'm revising the model and I'll post it asap for your to check it out.
Regards,
Inthan
Thanks for your response.
Yes, I've all of these variables in the model and it's constant variable.
Sorry, I'm revising the model and I'll post it asap for your to check it out.
Regards,
Inthan
-
- Member
- Posts: 34
- Joined: Thu Jan 28, 2016 6:01 pm
- Vensim version: DSS
Re: Set MIN/MAX Values for Monte Carlo Sensitivity in Venapp
Hi Tom,
I was confusing about the variable.
I've a variable named " Dicount rate (WACC, %)" then I put "MIN" or "MAX" at the quote to specified the min and max value for sensitivity analysis. For instance, " Dicount rate (WACC, %) MIN", for the minimum value, and Dicount rate (WACC, %) MAX", for the maximum value like if I use RANDOM UNIFORM (MIN, MAX) in Monte Carlo Sensitivity in Vensim.
I was confusing about the variable.
I've a variable named " Dicount rate (WACC, %)" then I put "MIN" or "MAX" at the quote to specified the min and max value for sensitivity analysis. For instance, " Dicount rate (WACC, %) MIN", for the minimum value, and Dicount rate (WACC, %) MAX", for the maximum value like if I use RANDOM UNIFORM (MIN, MAX) in Monte Carlo Sensitivity in Vensim.
-
- Member
- Posts: 34
- Joined: Thu Jan 28, 2016 6:01 pm
- Vensim version: DSS
Re: Set MIN/MAX Values for Monte Carlo Sensitivity in Venapp
Here I've uploaded the models.
Could you please check it out for the errors.
Thank you so much.
Could you please check it out for the errors.
Thank you so much.
Last edited by Inthanongsone on Fri Feb 03, 2017 6:05 pm, edited 1 time in total.
Re: Set MIN/MAX Values for Monte Carlo Sensitivity in Venapp
Appending MIN or MAX to the name isn't going to do anything, because there's no such syntax support in Vensim. You could, however, create explicit x_MIN and x_MAX variables and use those in your interface and random definitions, however.
/*
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
*/
-
- Member
- Posts: 34
- Joined: Thu Jan 28, 2016 6:01 pm
- Vensim version: DSS
Re: Set MIN/MAX Values for Monte Carlo Sensitivity in Venapp
Hi Tom,
Thank you very much for your suggestion.
I'll do so.
Best regards,
Inthan
Thank you very much for your suggestion.
I'll do so.
Best regards,
Inthan