When measuring time intervals, we should take into account the fact that business hours may be different from astronomical hours, as businesses may operate on their own working calendars. For example, if a patient arrives in an emergency room at 4:00 p.m. on a Friday and is released at 4:00 p.m. on Monday , (s)he will have spent 72 hours in the hospital. On the other hand, if a mortgage application is submitted to a bank at 4:00 p.m. on a Friday and is processed by 4:00 p.m. on Monday, it will have taken only 8 hours to process (i.e. 1 hour on Friday and 7 hours on Monday, assuming 9:00 a.m. – 5:00 p.m. business hours). A business calendar may also include holidays, short hours, and even snow days. Additionally, different parts of the same company may have different working hours. The accounting department of a company may work 9–5 Monday to Friday, while its technical support department may work 24/7.
You can use the Calendars tool to specify a working calendar. Applying a calendar to your project will affect the relevant analysis modules, timeline sets, visualizations, and some Timeline tools. For details, see Effects of applying a calendar.
Creating a calendar
- Click Tools > Calendars.
- On the Calendars form, click New calendar.
You can create multiple calendars and modify and delete individual calendars.
- Configure your calendar.
- In the Schedule section, specify your working days and hours. If you need to add holidays or short hours, click Add exception. For details, see Exceptions.
- Select events to which this calendar will apply.
Be sure to uncheck any events that will have their own calendars. Each event may have only one calendar associated with it (i.e. if you add an event to one calendar, you will not be able to add it to another calendar).
In the figure below, the "Goods Shipped" and "Order Hold" events are already part of another calendar and so cannot be added to the calendar that is being created.
- Click Save.
- On the Calendars form, click Recalculate to update the data in your project.
Clicking Recalculate will apply the new calendar to the project. Recalculating all the project data based on the new calendar will affect multiple Timeline items. For details, see Effects of applying a calendar.
Important! After a calendar is applied, Unknown will be displayed for the number of timelines in dynamic sets. To see the actual number, you will need to update each set by opening it and clicking Recalculate Sets.
Exceptions are days or hours outside a given schedule. To create an exception, select its date and either specify a separate schedule or select Whole day for a holiday.
Effects of applying a calendar
Applying a calendar to your project will affect the relevant analysis modules, timeline sets, visualizations, and some Timeline tools.
- Detailed Case (Instance) Analysis
For each timeline, you will see the working time periods between events. See Example 1.
- Timeline sets obtained by applying time filters
You can use filters (e.g. specifying time intervals) to create timeline sets. Such dynamic sets must be recalculated after a calendar is applied. See Example 2.
- All analysis modules except Protocol (for which a 24-hour working day is always used)
Calendars will determine the time intervals to be used by various analysis modules, affecting the results. See Example 3.
- Cost calculations
After a calendar is applied, any project items with cost calculations will be updated. For example, the cost metric will be recalculated.
- Metrics, diagrams, and dashboards
Various metrics are used to create diagrams and display data on dashboards. These metrics will be recalculated after a calendar is applied.
Important! The business duration metric will not be available if no calendar has been specified.
Note: Applying a calendar will not affect the Query, Protocol, and Classification features. Nor will it change the duration of the timelines and time gaps between events displayed at the top of the screen (see figure below).
Example 1: Work time in timeline instance
After a calendar is applied, the following additional information will become available in Detailed Case (Instance) Analysis:
- Displayed in orange will be the work time elapsed between consecutive events (calculated based on the calendar). The calendar will not affect the duration of the timeline or the time gaps between consecutive events displayed in the Statistics section on the right.
- Displayed in gray and in brackets will be the actual time elapsed between events calculated with the calendar ignored (i.e. assuming a 24-hour working day).
Example 2: Timeline sets with and without calendars
Without a calendar:
In this example, interval measurements have selected timelines with "Order Hold" and "Stock Packed" events. Time intervals between these events range from 1 to 2 days (see figure below).
Click Apply to pick out timelines matching the specified time interval. The timelines thus selected can then be saved as a set.
With a calendar:
Be sure to recalculate the timeline sets.
On applying the calendar, the number of timelines matching the criteria and the interval start and end points will change. As our calendar specifies work days and non-work days, the interval between the specified events will increase to 7 days (see figure below).
Example 3: Analysis modules with and without calendars
Applying a calendar will affect any dynamic sets you have saved, as times will have to be recalculated. As a result, the output of various analysis modules will be different with and without a calendar. This example shows how applying a calendar affects deadline analysis.
Without a calendar:
In this example, deadline analysis performed on a dynamic set shows that 108 timelines missed the deadline, with more than 27 hours elapsing between the "Order Hold" and "Stock Packed" events (see figure below).
With a calendar:
Once you have created a calendar and recalculated the timeline sets, click Run in the Deadline analysis screen. Note the change in the number of timelines that have failed to meet the deadline. The calendar has affected the timeline sets and, as a consequence, the number of timelines meeting your criteria has changed.
Note: In some analysis modules (e.g. in Path analysis), the business duration metric will not be available if no calendar has been specified.
11/30/2022 4:35:57 AM