When Will You Need This?

When you want to hold all entities in a location to be collected at the same time of the day.

Hold in a Storage Until a Specific Day and Time model image

Model Object

The following model object can be found in the model objects directory: Flow Control \ Hold in a Storage Until a Specific Day and Time.

Ease of Use: Easy

Ease of Modification: Easy

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 Hold in a Storage Until a Specific Day and Time 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. Connect a percentage route from your model,  where entities need to be stored to Storage1.

from your model Hold in a Storage Until a Specific Day and Time

2. Connect a percentage route from Storage1 to the rest of your model.

from Hold in a Storage to your model

4. Update Trigger

The Storage1 has the action logic to wait until the value for variable v_Gate1 is 1. The default value for the variable v_Gate1 is 0. This means that entities will accumulate at Strage1 until the value of the variable v_Gate1 changes to 1.

action logic in storage1 of Hold in a Storage

The Open and Close Gate1 has the action logic to change the variable value for v_Gate1 to 1 and then back to 0.

action logic in Open and Close Gate1 fromHold in a Storage

1. Adjust the trigger arrival to match the day and time when you want to release the waiting entities. You can also choose between any entity arrival type you like.

You can copy and paste the model object multiple times if you need multiple hold locations and times. Just make sure to copy both the storage and the triggering mechanism together. The gate variable will be renamed each time you paste, ensuring the gates operate independently.

setting trigger arrivals in Hold in a Storage

5. Update Objects

1. Change the name of Storage1 to what maybe appropriate for your model.

6. Completion

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

Variables:

1. v_Gate1: A value of 1 means the gate is open, allowing entities to move past the gate in the storage a value of 0 means the gate is closed, holding all entities