0% found this document useful (0 votes)
61 views5 pages

Lab No.4 Batch and Assign Module: SSUET/QR/11

The document discusses the Batch and Assign module in Arena simulation software. The Batch module is used to assign new values to variables, attributes, entity types or pictures when an entity enters the module. It allows multiple assignments with a single module. The Assign module similarly allows assigning new values. An example is provided of using these modules to model patient priority assignments in a hospital emergency department simulation. The lab task asks students to model a box packing assembly line using these modules.

Uploaded by

Aisha Anwar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
61 views5 pages

Lab No.4 Batch and Assign Module: SSUET/QR/11

The document discusses the Batch and Assign module in Arena simulation software. The Batch module is used to assign new values to variables, attributes, entity types or pictures when an entity enters the module. It allows multiple assignments with a single module. The Assign module similarly allows assigning new values. An example is provided of using these modules to model patient priority assignments in a hospital emergency department simulation. The lab task asks students to model a box packing assembly line using these modules.

Uploaded by

Aisha Anwar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

SSUET/QR/11

Simulation and modeling (CE- 409)

LAB NO.4

Batch and Assign Module


OBJECTIVE:
To analyze the Batch and Assign module.

THEORY
Batch Module: This module is used for assigning new values to variables, entity attributes, entity
types, entity pictures, or other system variables. Multiple assignments can be made with a
single Assign module.

TYPICAL USES:

 Accumulate the number of subassemblies added to a part


 Change an entity’s type to represent the customer copy of a multi-page form
 Establish a customer’s priority

PROMPT:

Prompt Description:

Name: Unique module identifier displayed on the module shape.

Assignments: Specifies the one or more assignments that will be made when an
entity executes the module.

Type: Type of assignment to be made. Other can include system variables, such as
resource capacity or simulation end time.

Variable Name: Name of the variable that will be assigned a new value when an
entity enters the module. Applies only when Type is Variable, Variable Array (1D), or
Variable Array (2D).

Row: Specifies the row index for a variable array.

Column: Specifies the column index for a variable array.

Attribute Name: Name of the entity attribute that will be assigned a new value when
the entity enters the module. Applies only when Type is Attribute.

Entity Type: New entity type that will be assigned to the entity when the entity enters the
module. Applies only when Type is Entity Type.

Entity Picture: New entity picture that will be assigned to the entity when the entity enters
the module. Applies only when Type is Entity Picture.

27
SSUET/QR/11
Simulation and modeling (CE- 409)

Other: Identifies the special system variable that will be assigned a new value when an
entity enters the module. Applies only when Type is Other.

New Value: Assignment value of the attribute, variable or other system variable.
Does not apply when Type is Entity Type or Entity Picture.

Example: Emergency Department of Hospital

Step 1:

Two create modules one for ordinary other for emergency cases.

28
SSUET/QR/11
Simulation and modeling (CE- 409)

Step 2:

Add a clock

Step 3:

Add a variable.

29
SSUET/QR/11
Simulation and modeling (CE- 409)

See Result:

Step 4 :

Assign priority to emergency cases using assign module

Step 5:

Go to Queue--Type highest attribute value----Attribute name prio

30
SSUET/QR/11
Simulation and modeling (CE- 409)

See the results emergency cases handles first in the queue.

LAB TASK
1. An assembly line creates a box for packing. Each box contains six bottle at a
time. create the scenario using batch module.
2. Change the box size to same color/same picture of bottles.
3. Change the box size to 16

31

You might also like