An example that shows how certain processes can be tracked in real-time. The data for this example simulates a large number of processes going through several steps, using three scenarios, some of which include loops.
The three simulated process flows are:
Flow 1 (Scenario 1):
Mold.
Trim.
Package.
Flow 2A (Scenario 2, with a loop on steps 2 and 3 repeated):
Premix.
Dye injection.
Dye curing.
Dye injection.
Dye curing.
Varnish.
Polish.
Flow 2B (Scenario 2, with step 4 repeated):
Premix.
Dye injection.
Dye curing.
Varnish.
Varnish.
Polish.
Flow 3 (Scenario 3):
Premix.
Dye mix-in.
Dye curing.
Brush.
Polish.
The example then computes:
The number of completed steps.
The number of uncompleted steps.
The average duration of each step.
The average number of processes that have completed in a given scenario.
Several other metrics.
Finally, this example shows how to compute complex metrics based on these simple metrics.