When Will You Need This?

If your truck must leave for delivery when either the truck is full, or the maximum wait time has been reached.

Load Truck Model Image1

Model Object

The following model object can be found in the model objects directory: Batching \ Load Truck With Varying Load Sizes.

How to Use the Model Object

1. Open Your Model

Open your model or create a new blank model.

2. Insert the Model Object into Your Model

Locate the appropriate location in your model where you would like to place the model object, move the view to the location and then insert the model object.

3. Connect to Your Model

1. Connect your source of entities to the Staging storage.

connect to staging in Load Truck

2. Connect the route leaving Unload Truck activity to your model where you want the unloaded entities to go.

connect to your model in load truck

4. Define Values

Edit the scenario parameters to meet your requirement for load size and wait time (s_Max_Load & s_Max_Wait).

define scenario para values in load truck

5. Completion

The model object is now integrated into your model, you should now be able to save and then simulate the model.

Attributes, Variables, Scenario Parameters and Scenarios usage


1. v_Batch_Size: varying batch size (truck’s load size).

2. v_Count: the number of Items in the truck.

3. v_Minute_Count: number of minutes the truck has been waiting.

4. v_Truck_Available: flag to show when truck can be loaded, 0 = not available.

5. v_Truck_Loaded: loaded status, 1 = truck is loaded.

6. v_Waiting: number of Items waiting to be loaded.

Scenario Parameters:

1. s_Max_Load: the largest number of Items the truck can hold.

2. s_Max_Wait: the longest number of minutes the truck can wait before leaving for delivery.