Organize lists using partitions

Use a partition to organize, group, and manage items within your List. 


00:03

In FlexSim, partitions are a way of dividing Lists into smaller, more manageable segments based on an identifying factor, called a Partition ID.

00:13

The Partition ID can be a number, a string, or a reference to an object in your 3D model, like a Processor or Queue.

00:23

Using a partition helps you to organize values within your list

00:27

and ensures that Pullers are pulling the correct values to move to the next step in your process.

00:32

The ProcessFlow shown here includes some general information about partitions,

00:37

as well as a simple process flow with Assign Labels, Push to List, and Pull from List activities to illustrate how partitions work.

00:47

First, click Assign Labels on the left;

00:51

this activity is set up to assign each token a Type label ranging from 1 to 4.

00:57

Next, open the Push to List Quick Properties.

01:02

Here, the Partition ID is set to token.Type, which means that when pushed to the list, the tokens will be partitioned by their type.

01:13

In the List Quick Properties, click View Entries.

01:20

The simulation is Reset, Run, and Paused.

01:25

In the List, four Type 4 values, and one each of Types 3 and 1 are grouped, or partitioned, by Type.

01:34

These partitions effectively organize the List.

01:39

Open the Pull from List Quick Properties.

01:44

Here, the Partition ID is set to token.Type as well, which means that the pullers are set to pull from a specific partition.

01:53

The simulation is continued at an accelerated rate, so you can see that all four List partitions continue to be used throughout the simulation.

02:03

Now you can use partitions to help group and organize items within your List and ensure that the correct items are being pulled from the List.

Video transcript

00:03

In FlexSim, partitions are a way of dividing Lists into smaller, more manageable segments based on an identifying factor, called a Partition ID.

00:13

The Partition ID can be a number, a string, or a reference to an object in your 3D model, like a Processor or Queue.

00:23

Using a partition helps you to organize values within your list

00:27

and ensures that Pullers are pulling the correct values to move to the next step in your process.

00:32

The ProcessFlow shown here includes some general information about partitions,

00:37

as well as a simple process flow with Assign Labels, Push to List, and Pull from List activities to illustrate how partitions work.

00:47

First, click Assign Labels on the left;

00:51

this activity is set up to assign each token a Type label ranging from 1 to 4.

00:57

Next, open the Push to List Quick Properties.

01:02

Here, the Partition ID is set to token.Type, which means that when pushed to the list, the tokens will be partitioned by their type.

01:13

In the List Quick Properties, click View Entries.

01:20

The simulation is Reset, Run, and Paused.

01:25

In the List, four Type 4 values, and one each of Types 3 and 1 are grouped, or partitioned, by Type.

01:34

These partitions effectively organize the List.

01:39

Open the Pull from List Quick Properties.

01:44

Here, the Partition ID is set to token.Type as well, which means that the pullers are set to pull from a specific partition.

01:53

The simulation is continued at an accelerated rate, so you can see that all four List partitions continue to be used throughout the simulation.

02:03

Now you can use partitions to help group and organize items within your List and ensure that the correct items are being pulled from the List.

Was this information helpful?