custom tables

Use this forum to post Vensim related questions.
Post Reply
vraimondi
Junior Member
Posts: 9
Joined: Mon Mar 29, 2004 4:47 pm

custom tables

Post by vraimondi »

HI all,

I need to show data on tables by year end (am not interested in values during the year). I looked in the manual in the custom tables part, but could not find anything on this.

Can anybody help me?

Thanks,

Vittorio
Wilson
Administrator
Posts: 51
Joined: Thu Mar 06, 2003 5:05 am

Post by Wilson »

Several ways depending on what you actually need.

1) Easiest way it to create a second version of the table tool on the analysis toolset and set the "print every" to the yearly interval.

2) create a custom table using the wizard dialog, select the variable names and use to "From", "to" and "by" inputs to control the reporting interval.

3) Manually create a custom report template in a vgd file using the text editor to form a table. You can then use the vgd command line:

:VAR varname #timebase@time&dataset%format?val=label?val=label

The" @time" is the time you want to show the value. Creating the table using a report is more tricky but gives you more flexibility.

There are other ways as well, such as exporting to Excel when the simulation time is an EOY value.

Hope some of this helps.
vraimondi
Junior Member
Posts: 9
Joined: Mon Mar 29, 2004 4:47 pm

Post by vraimondi »

thanks very much: it did help!
Post Reply