When you want to track the number of minutes of overtime each of 3 resources works, and count the number of times each resource worked overtime.
Where to Find the Model Object
The following model object can be found in the model objects directory:
- Shift \ Overtime Tracker, 3 Shifts.
- Ease of Use: Moderate
- Ease of Modification: Moderate
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 Overtime Tracker, 3 Shifts 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.
- Connect to your model: Connect the Process to your model wherever you want to track overtime.
- Update objects:
- Adjust the TIME statement in the Process action logic to reflect the correct processing time.
- Copy the action logic in the Process and paste it into other activities in your model where you want to track overtime.
- Change the names of Process to match your organization.
Note: The gray boxes at the bottom of this model object (Labels) are only used to display the collected overtime values. They are not required and thus are not included when pasting into your model.
- Define values:
- Define the values for each scenario parameter s_OTStart, to reflect the number of minutes past midnight when each shift ends (starts overtime). You can find the scenario parameters list by clicking Simulation \ Define Scenarios \ Scenario Parameters.
- Define the values for each scenario parameter s_Res, so they contain the actual names of each of your resources.Note: To modify this model object to use fewer than 3 shifts per day: 1. Delete the action logic designated for the unwanted shifts. 2. Delete the unused variables and scenario parameters.
Note: To add more shifts: 1. Copy and paste one of the “shift” sections of action logic in the “Process” activity, changing the variable and scenario parameter names to reference the additional shift. 2. In the “Set Shift End Time Variables” activity, copy and paste the last line of action logic and change the variable name and scenario parameter to reference the additional shift. 3. Add the variables and scenario parameters you have specified in the new action logic.
- Completion: The model object is now integrated into your model, you should now be able to save and then simulate the model.
- a_Reset: Do not change. Number of minutes to increase or decrease by if the day when work was started is different than the day when work is finished.
- a_StartDay: Do not change. Day of the week when work was started.
- v_DayOfWeek: Do not change. Day of the week, day 1 is Monday.
- v_EndOfShift#: Do not change. The number of minutes after midnight when the first, second, or third shift ends and overtime begins.
- v_Res#OTCount: Do not change. The number of times the first, second, or third resource has worked overtime.
- v_Res#OTLength: Do not change. The number of overtime minutes the first, second, or third resource has worked.
- s_OTStart#: User input required. The number of minutes after midnight when the first, second, or third shift ends and overtime begins.
- s_Res#: User input required. The name of your first, second, or third resource.