Page 1 of 1

custom tables

Posted: Mon Mar 29, 2004 4:58 pm
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

Posted: Mon Mar 29, 2004 6:17 pm
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.

Posted: Tue Mar 30, 2004 1:11 pm
by vraimondi
thanks very much: it did help!