Defining Shift Schedules

You can add, edit, and delete shift models, and individual shifts inside these models.

This task shows you how to:


Before you begin: From the Interrupt Behavior section of the action bar, click Define Shift Schedule . The Shift Models panel displays with the following columns: Name, Simulation Start Time, Simulation End Time, and Activation.

Create a Shift Model

  1. In the Shift Models panel, click . A calendar view displays. In this view, each day node corresponds to a day starting at 00:00 and ending at 23:59:59.



    Note: This Month View is displayed by default.

  2. Optional: You can switch views for the Calendar panel:

    • Click to switch to Week View:

    • Click to switch to Day View:

    • Click to switch back to Month View.

  3. Define the following parameters:

    • Set the shift model's Name.
    • Select or clear the Activate Shift Model for Simulation option to activate or deactivate the shift model.
    • Set the duration of the shift in Simulation start time and Simulation end time. The Simulation days's counter updates.

  4. Optional: You can define holidays, on which nodes there can be no shifts: click a day node, then click Set or Unset Holiday. Press Ctrl to select multiple day nodes.
    The holiday nodes display in color.
    Notes:
    • To unset a holiday, repeat the operation.
    • To change the holiday nodes' color, use the Holiday cell color option in Me > Preferences > App Preferences > Simulation Virtual Factory > Factory Flow Simulation > Shift Model.
  5. Click OK to save the shift model.
    The created shift model displays in the Shift Models panel.

    To edit the shift model, double-click it, or click it then click . To delete it, click it then click . To activate/deactivate a shift model, right-click it and click Activate/Deactivate.

Edit a Shift

You can edit individual shifts inside a shift model.

Before you begin: In the Shift Models panel, double-click a shift model, or click a shift model then click .
  1. In the calendar view, double-click a day node, or click a day node then click Edit Day Shifts.
    A dialog displays with the following columns: Shift Name, Resources, Resource Zones, Start Time, End Time.
    Note: A shift can overlap with the next day. In this case, an additional shift is created.
  2. Click to create a shift on the date.
  3. Define the Name, Start Time, and Duration of the shift.

    Note: To display the End Time instead of the Duration, activate the Input End Time instead of Duration option in Me > Preferences > App Preferences > Simulation Virtual Factory > Factory Flow Simulation > Shift Model.

  4. Set Shift End Behavior to either:

    • Pause Operation
      Note: In the Resource Selection part of the panel, select either Available Resource or Same Resource.
    • Continue Till Operation End
    • Abort Operation.

  5. To assign one or several resource zones to the end of the shift, click Assign in the Resource Zones at End of Shift section of the panel and select them in the Select Resource Zones dialog that displays or in the 3D view. Click OK.
    The assigned resource zones are displayed in the Resource Zones at End of Shift section of the panel. To to unassign a resource zone, click it then click Unassign.
  6. To associate one or several resources (workers and machines) to the shift, click Add and select them in the Select Resource dialog that displays or in the 3D view. Click OK to validate the selection.

    Note: If the Assign all valid Resources to Shift when created option is selected in Me > Preferences > App Preferences > Simulation Virtual Factory > Factory Flow Simulation > Shift Model, all eligible resources are automatically assigned to the shift when a new shift is created.

    The associated resources display.

    To activate or deactivate a resource, click it then click Activate/Deactivate (deactivating does not remove the association of the resource to the shift). To remove a resource, click it then click Remove.

    Note: You can unassign all children resources from the shift by clicking Remove then clicking the parent resource in the PPR tree or in the 3D view.
  7. Click OK.
    The shift displays in the dialog.

  8. Optional: If several shifts are created for the day, you can click to display them all then select them according to the requirement.
  9. Click OK.
    The shifts display in the day node in the calendar view. Hovering the mouse on the day node displays the shift's detail: start time, end time, and breaks if applicable.

  10. Optional: You can repeat shifts: click a day node on which at least a shift is defined, then click Repeat Day Shift.

    In the dialog that displays, define the Start Date, End Date, which shifts to repeat, and the Days on which to repeat them.

    Note: Click Reset Days Shift to remove existing shifts from the day nodes and replace them with the repeated shifts.


  11. Optional: Click OK.
    The shifts defined on the day node are repeated on the specified day nodes.

Create Breaks in a Shift

You can create breaks in a shift.

Before you begin: In the Shift Models panel, click to create a shift, or to edit an existing shift.
  1. Click Add in the Breaks section of the panel.
  2. Define the Name, Start Time, and Duration.

    Notes:
    • A break can overlap with the next day. In this case, an additional break is created.
    • To display the End Time instead of the Duration, activate the Input End Time instead of Duration option in Me > Preferences > App Preferences > Simulation Virtual Factory > Factory Flow Simulation > Shift Model.

  3. Specify the Break Start Behavior to either:
    • Pause Operation: the activity pauses when a shift ends, or the break resumes when a shift starts or a break ends.
      Note: In the Resource Selection part of the panel, select either Available Resource or Same Resource.
    • Continue Till Operation End: the activity continues, irrespective of shifts ending or breaks starting, until the activity is completed.
    • Abort Operation: the activity stops when either a shift ending or a break starting is encountered.
  4. To associate one or several resource zones to the break, click Assign in the Resource Zones part of the panel, and select them in the Select Resource Zones dialog box that displays.
  5. To assign one or several resources to the break, click Add and select them in the Select Resource dialog that displays or in the 3D view. Click OK to validate the selection.



    The assigned resources display. To remove a resource, select it then click Remove.
    Note: When a break is created on a shift with preassigned resources, these resources are automatically assigned to the created break.
  6. Specify the Break Start Behavior and Shift End Behavior of the AGV or train and associated driver.
    • Complete Current Task: The AGV or train completes its assigned task and proceeds to the parking zone. The associated driver parks the AGV or train and moves to the parking zone.
    • Pause current task and go to parking: The AGV or train pauses its current task and proceeds directly to the parking zone. The associated driver the AGV or train and moves to the parking zone.
    • Immediate Stop: The AGV or train completes its current task and remains at the current location. If there are any remaining tasks, the associated driver completes them before proceeding to the parking zone.
  7. Click OK to save the break.
    The break displays in the Breaks section of the panel.

  8. Optional: To edit it, click the break then Edit. To assign it, click it then click Assign. To unassign it, click it then click UnAssign.

Preemptable Table

The Preemptable Table lists all preemptable with their relevant property values. You can edit and delete Preemptable. You can also edit, delete, assign, and unassign shifts.

  1. Click the Shifts and Breaks Table command.
  2. Click right on a shift or a break and select Preemption > Assign Preemption.
    The Preemptable Activities panel opens.
  3. Select parameters and click OK to create preemption.

    • If the Shift/Break is not associated with a preemptible activity, the Current/Default behavior is applied to the worker for shift end and break start.
    • If the Shift/Break is associated with a preemptible activity, the worker can only go to break or off shift when performing a preemptible activity.
    • While performing a preemptible activity, the worker is preempted using two options:
      • End of Activity: If set to Yes, the worker completes the activity and then goes off-break/off-shift.
      • Threshold percentage: If you set End of activity to No, the worker is preempted, based on the percentage of work completed. If the percentage of work completed is more that than the threshold value, the worker completes the activity, and then goes off-break/off-shift. If the percentage of work completed is less than the threshold value, the worker pauses the current activity and goes off-break/off-shift.
    • If the operation completion time is after the break end time, the worker skips the break and starts the next activity immediately.
    • If the operation completion time is before the break end time, the worker goes on break only for the remaining time and after that starts the next activity.

  4. Click Preemptable Table .

    You can use the shortcut toolbar to edit or delete a preemption. You can also assign or unassign shifts and breaks.

Manage Off-Shift Behavior

You can assign and unassign off-shift behaviors from the Shifts and Breaks Table, and manage them in the Manage Off Shift Behavior panel.

  1. Click the Shifts and Breaks Table command.
  2. Click right on a shift or a break and select Off Shift Behavior > Assign Off Shift Behavior.
    The Manage Off Shift Behavior panel opens.
  3. Select a behavior and click OK to assign it.
  4. Click Manage Off Shift Behavior .

    You can add, edit, and delete a behavior.

  5. Click Edit Behavior to open the Edit Off Shift Behavior panel.
  6. You can select Allow or Blocked for the Inflow and Outflow.

    • Buffer: When the Buffer is part of the off-shift behavior model, there are two options:
      • In-Flow Blocked: the Buffer stops accepting parts, but it can continue to route parts.
      • Out-Flow Blocked: the Buffer continues to accept parts, but does not route parts.
      • If both options are On, the Buffer stops accepting and routing parts.
    • In Zone: When the In-Zone is part of the off-shift behavior model, there are two options:
      • Processing Blocked: the In-Zone stops producing parts, but can continue to route parts.
      • Out-Flow Blocked: the In-Zone continues to produce parts, but does not route parts.
      • If both options are On, the In-Zone stops producing and routing parts.

Manage Shift Parking Group

You can create a Shift parking group with a list of AGV decision zones and assign the group to shifts and breaks.

  1. In the Shifts and Breaks Table panel, click right on a shift or a break and select Parking Zones > Assign Parking Zone.
    The Manage Shift Parking Group panel opens.
  2. Select a group and click OK to assign it.
  3. Click Manage Shift Parking Group .

    In the Edit Shift Parking Group panel, you can add or remove AGV decision zones to the group.

  4. Click Add and select one or multiple zones to add to the group.

Display Shift Status with B.I. Essentials

You can useB.I. Essentials to display shift model status in the work area.

  1. From the Tools section of the action bar, click B.I. Essentials .
    The B.I. Essentials panel opens.
  2. From the list, select Factory Flow Shift Model Status.
    The B.I. Essentials panel for Factory Flow Shift Model Status contains the following information:

    Color Factory Flow Shift Model Status
    Overlapping shifts on resource.
    Valid shift definition.
    Preemtable activity on the resource.
    No shift definition on resoure.
    Note: B.I. Essentials are displayed for activated Shift Models.


Import and Export of Shift Models

You can import and export shift model information using the Shifts and Breaks table.

  1. Click Shifts and Breaks Table .
    The panel opens.
  2. From the panel, right-click Shifts and Breaks:

  3. Click either Import Shift Model from XML or Export Shift Model as XML according to the chosen action.
  4. If you chose to export the shift model, select the location for the XML file.
    The XML file containing shift information is created.

  5. You can import the same XML or another to create a model.

    Tip: You can also modify the exported file with new attributes and update the existing model using Import Shift Model from XML.