When the simulation is being run continuously reflecting multiple shifts, one after another. This timer help make display the current shift time, the day of the week and the week number, or to certain logic needs to be deployed based on specific shift times, day or week. This model object allows you to query the time of day and the week number.
Where to Find the Model Object
The following model object can be found in the model objects directory:
- Time \ Shift Timer
- Ease of Use: Easy
- Ease of Modification: Easy
How to Use the Model Object
- Open your model: Open your model or create a new blank model.
- Insert the Model Object into your model: Locate the model object Shift Timer and select the insert button.
- 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.
- Update Objects: Update the scenario parameters according to your requirements, based on the information provided under the heading Scenario Parameters below. The values for these Scenario Parameters must be provided before the simulation start.
- Completion: The model object is now integrated into your model, you should now be able to save and then simulate the model.
- v_TimeOfDay1: Do not change. Stores the current time of day based on the shift. Do not change the variable value.
- v_DayOfWeek1: Do not change. Stores the current day of week based on the shift. Do not change the variable value.
- v_WeekNum1: Do not change. Stores the current week number based on the shift. Do not change the variable value.
- s_Clock_Off_0: User input required. Used to turn the timer on or off. 1 = On, 0 = Off.
- s_LengthOfDay: User input required. Used to declare the length of each day / shift.
- s_TotalWorkDays: User input required. Used to declare total work days in a week.