## ASSIGN

The assign module allows the assignment of a value to a user defined variable, entity attribute or picture, model status variable, or a resource state. Multiple assignments may be made by a single assign module.

Prompt | Valid Entry | Default
Assignment Type | Attribute,Variable,State,Picture, Picture Set, Other | Attribute
Attribute | Symbol Name [Attribute] | Required
Variable | Symbol Name [Variable] | Required
Row | Expression | --------
Column | Expression | --------
Resource | Symbol Name [Resources] | Required
State | Symbol Name [States] | Required
Picture | Symbol Name [Pictures] | Required
Picture Set | Symbol Name [Picture Sets] | Required
Set Index | Expression Truncated to integer (Attributes) | Required
Other | Assignable Variable | Required
Value | Expression | Required

Examples :

Prompt | Value
Assignment Type | Attribute
Attribute | Process_time
Value | UNIF(8,12)

Each entity arriving at this module will have the attribute ‘Process_time’ set to a sample from a uniform distribution with a minimum of 8 and a maximum of 12.

Prompt | Value
Assignment Type | Variable
Variable | Rate
Row | 2
Column | 3
Value | EXPO(12)

The variable rate has been defined as a two-dimensional variable in the Variables module. The variable Rate(2,3) will be assigned the value sampled from the exponential distribution with a mean of 12.

Prompt | Value
Assignment Type | Other
Other | VT(Fork)
Value | VT(Fork) + 12

The velocity of the transporter named ‘Fork’ will be increased by 12. Note VT(name) is a reserved ARENA expression meaning Velocity of Transporter name.