multi runs and multi variables

Use this forum to post Vensim related questions.
Post Reply
kai wang
Member
Posts: 25
Joined: Thu Dec 06, 2012 5:35 pm
Vensim version: DSS

multi runs and multi variables

Post by kai wang »

Hi, I want to compare multi-runs of multi-variables in a single graph. However, it seems I can only get multi-runs OR multi-variables at one time. Is there any way to achieve both (such as variable1 of run1 and run2 and variable2 of run1 and run2 in ONE graph)?

Many thanks!

Kai
Administrator
Super Administrator
Posts: 4590
Joined: Wed Mar 05, 2003 3:10 am

Re: multi runs and multi variables

Post by Administrator »

I get multiple variables and runs when I use the graph tool.
vars.jpg
vars.jpg (19.49 KiB) Viewed 3942 times
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
kai wang
Member
Posts: 25
Joined: Thu Dec 06, 2012 5:35 pm
Vensim version: DSS

Re: multi runs and multi variables

Post by kai wang »

Oh, how can you do it? I can add multi-variables in the customer graph. But it only shows results of one run only.

I am using DSS 6.4(*32)
Attachments
test.jpg
test.jpg (97.04 KiB) Viewed 3940 times
tomfid
Administrator
Posts: 3811
Joined: Wed May 24, 2006 4:54 am

Re: multi runs and multi variables

Post by tomfid »

You can use a wildcard like *2, *3 etc. in the dataset field of a custom graph definition as a shortcut for the 2nd, 3rd etc. run.

You can also use the Selected Variables option on the Graph analysis tool to create multivar, multirun graphs on the fly.
kai wang
Member
Posts: 25
Joined: Thu Dec 06, 2012 5:35 pm
Vensim version: DSS

Re: multi runs and multi variables

Post by kai wang »

Thanks for your email.

For the first solution (using *2, *3 in the dataset field), I can still ONLY have ONE run load in the graph instead of multiruns.

For the second solution, it works when you using the ”Shift" key to select multivars and show the results which have multiruns there. However, I want to show the multivar and multirun in the mode of I/O object (custom graph). Then the users don't need to select variables, they just run the model and see the results which I already set up in the custom graph.

In summary, I want to achieve the second solution under the mode of the first solution.

Thanks.

Kai
Administrator
Super Administrator
Posts: 4590
Joined: Wed Mar 05, 2003 3:10 am

Re: multi runs and multi variables

Post by Administrator »

Try right clicking on the graph tool and tick the box "Define custom graph on use". Then use the shift key to display the graph. Vensim will now create a custom graph definition which you can use.
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
kai wang
Member
Posts: 25
Joined: Thu Dec 06, 2012 5:35 pm
Vensim version: DSS

Re: multi runs and multi variables

Post by kai wang »

It works. Thank you so much!
Post Reply