This topic will provide a high-level overview of the most important elements of the Process Flow module and will explain some of its key terms and concepts. It will also link to other related topics for more in-depth information.
The most important elements of the Process Flow module are labeled in the following image:
NOTE: The process flow shown in this image is the same one that you will build in the Process Flow Basics Tutorial.
Each element will be explained in more details in the following sections:
- Process Flow View
- Process Flow Pane
- token
- Library
- Activity
- Shared Asset
- connector
- Block (Stacked Block)
- Quick Properties
- Display Objects
Process Flow View
The Process Flow view is the main workspace where you will build your process flow. See Navigating in Process Flow for more information about creating a new process flow and navigating in the process flow view.
Process Flow Pane
When you first create a new process flow, the Process Flow pane will appear next to the Model pane. Every time you create a new process flow, it will show up as its own tabbed pane. See Navigating in Process Flow for more information about rearranging the display of process flow tabs.
token
The most basic component of a process flow is the token, as shown in the following image:
tokens are objects that flow through the activities in a process flow during a simulation run. They function very similarly to flowitems in a standard 3D model. Like flowitems, tokens move from one activity to the next, much like a flowitem moving from a source to a queue to a processor and so forth. But unlike flowitems, tokens do not necessarily have to represent a physical object moving through a business system. tokens can be more abstract---meaning they can represent anything you want them to represent. For example, they can represent a customer's order being placed, a call to a call center, a logical grouping of pallets that are eventually loaded onto a truck for delivery, etc. tokens will often be logically linked to physical objects in a standard system (and to flowitems in a standard 3D model), but they do not have to be. It is essentially up to you to define the nature of the links between tokens and the physical elements in your simulation model.
At its most basic level, a token is just a bundle of data that is moving through a process flow. Each token can contain the following basic information:
- ID - When a token is created using one of the token creation activities (one of the Source activities), it is automatically assigned a unique ID number that can be used as a reference point. The ID number will be unique among all process flow objects and instances within a FlexSim model.
- Name - Naming your tokens can help you to better identify their purpose, function, or location in the process flow. tokens are not required to have a name but can be given one when they are created by one of the process flow Source activities. You could also possibly change the name at a later stage in the process flow using a Custom Code activity with the Setname picklist option or the
setname()
command. - Labels - Labels are essential to building a complex and dynamic process flow. Labels store custom information on a token that can be used to affect what happens to that token as it advances through a process flow. Various activities might assign data to a token's labels as it moves through the activities in a flowchart. See Process Flow Labels for more information about using labels generally.
tokens will only show up in a process flow when a simulation model is running. See Running a Process Flow Simulation for more information about how tokens will function and appear visually during a simulation run.
Library
When a process flow view is active, the Library will change to display all the activities and shared assets that can be added to a process flow. You can drag activities directly into the process flow to add them. See Adding and Connecting Activities for more information about additional ways to add activities to a process flow.
See Overview of Process Flow Objects for a high-level summary of each of the process flow activities available in the Library.
Activity
An activity is a logical operation or step in a process flow. As such, activities are the basic building blocks of any process flow. The following image shows an example of a typical activity (a Source):
Activities are dragged from the Library into a process flow and linked together with connectors. As a token enters an activity, it performs the logic associated with that type of activity. This can include assigning labels, moving flowitems, delaying a token, etc.
In some activities, like the Assign Labels activity, the token will start and end the activity with no time passing in the simulation clock. While running a model the token will not be visible in that activity. However, using the Step button on the simulation control bar, you can see the token move through each activity one step at a time. In other activities like the Acquire Resource, the token may be delayed and wait in that activity until certain criteria are met.
See Overview of Process Flow Objects for a high-level summary of each of the process flow activities.
Shared Asset
A shared asset is a finite resource that tokens may claim or release at certain points in the process flow. Although they are very similar to activities, there are a few subtle differences. By default, they have a different color than other activities, as shown in the following image:
Shared assets can impose constraints on the tokens by making the token wait if the requested asset is unavailable. A real-life example of this would be a certain tool that is shared by three different work stations. If one station needs the tool while it is already claimed by another station, that station must wait until the tool becomes available. In that same vein, if a token needs an asset in order to move on to the next activity, the token will wait at its current activity until the asset is available.
Currently, there are three types of shared assets:
- Resource - Represents a limited supply of some resource that can be acquired and released. It can be used to simulate a supply of goods, services, time, materials, employees, etc.
- List - Represents a list of tokens, flowitems, task executers, task sequences, numbers, strings, etc. Process flows can use a list that is local to the process flow itself or could be tied to a Global List in the simulation model.
- Zone - Can collect statistical information not available for standard activities. It can also restrict access to a section of the process flow based on certain statistics or other criteria.
connector
A connector is a connection between two activities, as shown in the following image:
During a simulation run, tokens will use connectors to go from one activity to the next downstream activity. Some activities allow more than one outgoing connector, but many do not.
See Adding and Connecting Activities for more information.
connectors are not quite the same as port connections in the 3D model
Although connectors function very similarly to port connections in the 3D model, they do not function exactly the same. For instance, there is no First Available option in process flow. tokens can always be sent through any connector at any time as activities cannot be blocked.
Block (Stacked Block)
Occasionally this manual will use the term stacked block or block to describe a set of activities that have been snapped together into one movable block, as shown in the following image:
Stacked blocks let you easily link a set of activities into a single sequence of steps, making it easy to move and edit them as if they were one block. When activities are linked together in a stacked block, they are automatically connected as though each activity were connected with connectors.
When a token enters a stacked block, it will always start at the topmost activity and then work its way down to the bottom activity. Any connections into a stacked block will be connected to the topmost activity, regardless of where the connection points to in the stacked block. Any outgoing connections from the stacked block will be connected from the bottom activity.
Quick Properties
You can use the settings that appear in the Quick Properties pane to change the basic functionality of the process flows and activities. You can also use the Quick Properties pane to view important information about a token while it is selected. See the following related topics:
- Editing Activity Properties
- Common Process Flow Object Properties
- General Process Flow Properties
- Changing Process Flow Visuals
- Using Process Flow Themes
- Troubleshooting Process Flows
Display Objects
Although they are not pictured in the image above, display objects are used as presentation tools to convey information about the process flow without actually defining any simulation logic. Display objects may group blocks together and convey flow charting concepts, as in a Flow Chart object, or they may show text, images or arrows. See Flow Chart Objects for more information.