When Will You Need This?
When you need to control the specific number and sequence of each entity type to be processed at a single activity.
The following model object can be found in the model objects directory: Flow Control \ Specific Quantities in Sequence.
Ease of Use: Easy
Ease of Modification: Moderate
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
1. Locate the model object Specific Quantities in Sequence and select the insert button.
2. Move the cursor to the point of insertion and left mouse-click. The upper left corner of the model object will be inserted at the location of the mouse-click.
3. Connect to Your Model
1. Using arrival routes, connect your entities source to each Bin.
2. Using a percentage route, connect each Bin to your common activity where processing occurs.
If you need more entity types, just add additional storages containing a copy of the action logic used in one of the existing “Bin” storages, adding the appropriate variable names and scenario parameters for the additional entities. Make sure you have the last storage set the v_Item1_Count variable equal to 0 (in the last line of its action logic), thus releasing the first entity type and starting the processing cycle over.
4. Define Values
1. Define the values for scenario parameters s_Item1_Max, s_Item1_Max, and s_Item3_Max based on the information provided under the heading Scenario Parameters below.
5. Update Objects
1. Change the names of Bin1 – 3 to what maybe appropriate for your model.
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_Item1 – 3_Count: Number of Item1 – 3 entities sent to be processed.
1. s_Item1 – 3_Max: The number of Item1 – 3 entities needed to complete a processing cycle