ATTRIBUTES

The ATTRIBUTES element specifies the total number of general purpose entity attributes, their name and (optionally) the attribute initial values.

Attributes can be referenced in the model either by using their Name or by using the A(k) attribute array where k is calculated as the index into the attribute array.

Named attributes may also be one or two dimensional arrays defined by the operand ‘Array index’ as listed below :

Name Scaler attribute, No. array
Name(N) One dimensional array of N attributes starting at index 1
Name(Low..high) One dimensional array of (high-low+1) attributes in the range low to high
Name(N1,N2) Two dimensional attribute array with N1 rows and N2 columns
Name(low1..high1,low2..high2) Two dimensional attribute array with start and end indices indicated

Prompt Description Default
Number Attribute number [integer] Sequential
Name Attribute name [symbol name] Blank
1-D array Index First dimension index into named attributes array No array
2-D array index Second dimension index into the named attributes array No array
Initial Value Initial Value upon entry creation 0.0

Examples
Prompt Value
Name Process time
Initial Value 5

Entities will have an attribute named ‘Process_time’ which will be given an initial value of 5
Prompt Value
Name Duedates(3)
1-D array Index2..4
Initial Value 1
Initial Value 6.667
Initial Value 4.2

This defines a 1 dimensional attribute array called Duedates. The index runs from 2 to 4 and thus Duedates(2) = 1, Duedates(3) = 6.667 and Duedates(4) = 4.2.
Note : The three elements could also be referred to as A(1), A(2) and A(3)