Business hour definitions

The business hours scheduler provides a way to define the open and close times at locations (customers and sites) and the start and end times for transportation assets in your model for each day of the week. Business hours act as constraints on when locations are open and assets can be in use. If you do not define business hours for days in the week, locations are considered open and assets can be in continuous use for that entire day. See Closing a location or asset for a day.

Once you have created Business Hours records, you can use the scheduler to review and update them. Click Scheduler, then select the entity you want to review. The time segments defined for that entity are displayed on the calendar.

Closing a location or asset for a day

If no specific time segment is defined for a location or asset on a day of the week, that location/asset is considered open/available for the entire day. This is the case when the open time is 00:00 and close time for the day is 23:59.

For example, DC_Atlanta is open 6 days a week and closed on Sunday. Each of the open days has two time segments (the location is closed in the middle of the day). In order to close the location on Sunday, the records would look like the following, with Sunday Closed set to 00:01 on both records:

Close a location or asset

  1. In the Business Hours table, identify the day for which you want to close the entity.
  2. Enter 00:00 for the open time and 00:01 for the close time for that day.
  3. Repeat steps 1 and 2 for each day to close and for each record that applies to the entity.

Modeling business hours for assets

You can model driver shifts and driver working days and hours using business hours. These cases include:

  • Making an asset unavailable on specific days.
  • Making an asset available only during a specific time window within a day.
  • Modeling driver shifts to restricting routes to certain time windows.

Case 1: Make an asset unavailable on specific days

In this case, the asset is unavailable on Sunday, but available for the full day on Monday. The Business Hours record would have the following definition for those days.

Entity Sunday Open Sunday Closed Monday Open Monday Closed
Asset1 23:59 23:59    

Case 2: Make an asset available during a specific time window

The asset in this case is available from 8 AM to 6 PM on Sunday, and from 9 AM to 5 PM on Monday.

Entity Sunday Open Sunday Closed Monday Open Monday Closed
Asset1 06:00 18:00 09:00 17:00

Case 3: Create driver shifts to restrict route time windows

You use the business hours to model driver shifts in these distinct ways as illustrated in the table below:

The end of the time window sets both the end of the route and the end of the driver shift. In this case, the gap between the first Closed value and the second Open value must be greater that 1 minute. The first route must end on or before 6 PM on Sunday.

The end of the time window sets the end of the route only. The driver shift can continue to handle another route. In this case, the gap between the first Closed value and the second Open value must be 1 minute or less. A second route can start on or after 6:02 on Sunday and must end on or before 6 AM on Monday. The shift is continuous based on the 1 minute gap between Sunday Closed and Monday Open.

Entity Sunday Open Sunday Closed Monday Open Monday Closed
Asset1 06:00 18:00 00:00 06:00
Asset1 18:02 23:59 06:02 18:00

Last modified: Wednesday May 15, 2024

Is this useful?