Importing sensitivity analysis

Use this forum to post Vensim related questions.
Post Reply
Hossein
Member
Posts: 48
Joined: Thu Sep 15, 2016 7:50 am
Vensim version: DSS

Importing sensitivity analysis

Post by Hossein »

Dear Tom/Administrator,

I want to import the sensitivity analysis of one model into another model. The ordinary GET DIRECT DATA (XLS) commands, just import one variable, while in sensitivity analysis, I need to import different runs of sensitivity. Is it possible to do?

BR,
Administrator
Super Administrator
Posts: 4573
Joined: Wed Mar 05, 2003 3:10 am

Re: Importing sensitivity analysis

Post by Administrator »

Why would you want to do this?

The only way I can think of doing it is to subscript the parameter you are importing by the number of simulations. I cannot think of why you would need to do this though.
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
Hossein
Member
Posts: 48
Joined: Thu Sep 15, 2016 7:50 am
Vensim version: DSS

Re: Importing sensitivity analysis

Post by Hossein »

Dear Administrator,

Thanks for your reply. Because as the first step, I need to normalize all the sensitivity analysis data before processing. Hence, I need to import the sensitivity analysis data.

BR,
tomfid
Administrator
Posts: 3806
Joined: Wed May 24, 2006 4:54 am

Re: Importing sensitivity analysis

Post by tomfid »

You could export the sensitivity run to a file, then import it as a .vdf.

If you do this more than once, you'll probably want to automate it with a command script.

https://www.vensim.com/documentation/sens2file.htm
https://www.vensim.com/documentation/25180.htm
Hossein
Member
Posts: 48
Joined: Thu Sep 15, 2016 7:50 am
Vensim version: DSS

Re: Importing sensitivity analysis

Post by Hossein »

Dear Tom,

Thnaks so much for your answer. By using GET VDF DATA, I just could import just one varibale as 'varname' while my sensitivity analysis is consists of 34 runs (please find the attached file). Is there any way to import all outputs?

BR,
Attachments
SA.tab.rar
(5.4 KiB) Downloaded 159 times
tomfid
Administrator
Posts: 3806
Joined: Wed May 24, 2006 4:54 am

Re: Importing sensitivity analysis

Post by tomfid »

You can't use GET VDF DATA - it only works on regular output.

See the links I posted above for file I/O with SENS2FILE and TAB2VDF.
Post Reply