TALLIES The TALLIES element defines all information required for the TALLY modules in the simulation model
PromptDescriptionDefault
Number Tally number [integer] Sequential
Name Tally name and identifier for labeling the summary report "Tally Number"
Output file Output file name for saving observations to a disk file No save
Report ID Report identifier to TALLIES summary statistics are written at the end of the simulation run No reporting

Examples
PromptValue
Name Time in System

This example defines one tally named 'Time in System'. This tally may be referred to in the model by its name or the number 1. The summary report will be labeled with the name.
PromptValue
Name Idle Time
Name Drill Queue
Output file "QSIZE.DAT"

This element defines two tallies: 'Idle time' which will appear in the summary statistics only and 'Drill Queue' which will appear in the summary statistics and all values, with the time of occurance will be stored in disk file 'QSIZE.DAT'

Distribution functions

(A selection from the ARENA list)

The short four letter CODE or the full name can be used as required. IST is the random number stream selected (1 to 10). If not defined this will default to 10.

Syntax Explanation
EXPOnential(m,IST) Exponential distribution with a mean of m
NORMal(m,s,IST) Normal distribution with a mean of m and standard deviation of s
TRIAangular(a,m,b,IST) Triangular distribution with a minimum of a, mode m and maximum b
UNIForm(a,b,IST) Uniform distribution from a to b

System attributes and variables

ARENA contains a very large list of variables and attributes and the follwing selection is a minimum required for the course.
Attribute or variable Explanation
M Integer attribute denoting the current station number
NQ(name) The number of entities in queue 'name'
MR(name) The maximum capacity of resource 'name'
NR(name) Number of busy units of resource 'name'
TNOW Current simulation time
NE(name) Number of entities en route to station 'name'
NC(Cname) current value of counter 'Cname'
TAVG(Tname) Current average value for tally 'Tname'
TMAX(Tname) Current maximum value for tally 'Tname'
TMIN(Tname) Current minimum value for tally 'Tname'
J System integer variable