When Will You Need This?

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.

Overtime Tracker, 3 Shifts model image

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

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 Overtime Tracker, 3 Shifts 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 the Process to your model wherever you want to track overtime.

from your model to Overtime Tracker, 3 Shifts

from Overtime Tracker, 3 Shifts to your model

4. Update Objects

1. Adjust the TIME statement in the Process action logic to reflect the correct processing time.

adjust time in action of process in Overtime Tracker

2. Copy the action logic in the Process and paste it into other activities in your model where you want to track overtime.

copy action in Overtime Tracker

3. Change the names of Process to match your organization.

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.

5. Define Values

1. 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.

update scenario 1 in  Overtime Tracker

2. Define the values for each scenario parameter s_Res, so they contain the actual names of each of your resources.

update scenario 2 in Overtime Tracker

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.

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.

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

Attributes:

1. 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.

2. a_StartDay: Do not change. Day of the week when work was started.

Variables:

1. v_DayOfWeek: Do not change. Day of the week, day 1 is Monday.

2. v_EndOfShift#: Do not change. The number of minutes after midnight when the first, second, or third shift ends and overtime begins.

3. v_Res#OTCount: Do not change. The number of times the first, second, or third resource has worked overtime.

4. v_Res#OTLength: Do not change. The number of overtime minutes the first, second, or third resource has worked.

Scenario Parameters:

1. s_OTStart#: User input required. The number of minutes after midnight when the first, second, or third shift ends and overtime begins.

2. s_Res#: User input required. The name of your first, second, or third resource.