Page 1 of 1

Importing sensitivity analysis

Posted: Wed Oct 18, 2017 12:37 pm
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,

Re: Importing sensitivity analysis

Posted: Wed Oct 18, 2017 12:50 pm
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.

Re: Importing sensitivity analysis

Posted: Wed Oct 18, 2017 1:31 pm
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,

Re: Importing sensitivity analysis

Posted: Wed Oct 18, 2017 1:44 pm
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

Re: Importing sensitivity analysis

Posted: Thu Oct 19, 2017 7:41 am
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,

Re: Importing sensitivity analysis

Posted: Thu Oct 19, 2017 1:59 pm
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.