You can pack a container flow item with basic flow items, possibly preparing the container and its contents for transportation or storage. You can customize how flow items get packed into the container flow items using the Flow Item Bin.
FlexSim provides three container items:
The following sections will discuss how to use containers in a 3D model and how to customize their packing methods.
Container flow items are a special type of flow items that can be packed with basic flow items, as demonstrated in the following image:
You will use the Flow Item Bin to determine the packing logic for the container flow item.
The following sections explain the available packing methods:
The default packing method is used by the pallet container. This method stacks flow items on top of the container, filling up as much of the available space as possible before moving onto the next layer. It is nearly identical to how the queue stacks flow items by default.
The simple packing method is used by the tote container. This method stacks flow items inside the container, filling up as much of the available space as possible before moving onto the next layer.
The layer stacking method stacks flow items based on the uniformity of their size. When flow items have a consistent height (Z axis), they will be put on one layer of the container. As soon as the height of the flow item differs from the other flow item, it will be put on a new layer. You can change the layer stacking so that it checks for width (X axis) or depth (Y axis) instead.
In the following example, the red, green, and blue boxes all have slightly different heights:
The truck stacking method is used by the truck (and can only be used by the truck). This method stacks flow items in the back of the truck on top of each other and gradually moves to the front.
If you are comfortable with FlexScript, you can create your own custom packing logic. To create custom packing logic:
The most typical way to use a container in a 3D model is to use a combiner to pack the container. When using a combiner, keep in mind that you'll need at least two sources in your model. One source will create the container flow items and the other source will create the basic flow items that will be packed into the container. These sources do not need to be directly connected to the combiner, but the flow that will feed the containers into the combiner will need to be connected to the first port. See Overview of 3D Object Flows for more information.
The combiner determines how many flow items will be packed into the container. To adjust this number:
To change a container flow item's packing method: