Description
Sum of elapsed time between the start event of an activity instance and the complete event of the activity instance that precedes it, for all activity instances in a case that occur between the earliest instantiation of a specific activity and the earliest instantiation of another specific activity that occurs after the former one, including both.
Potential use
Event log in which the time spent between every activity instance of a specific subprocess is of relevance.
Assumptions
Minimizing waiting time is desirable.
Desired Value:
Required attributes
actactinstcasetimetype
Equations
Formula for practitioners
returns the waiting time between activity instance and activity instance .
returns the set of first started instances of activity in case .
returns the set of first instances of activity that occur after the first instance of in case .
Formal Definition
The indicates that the PPI can take multiple forms, in this case, . If , then the function considers activity instances that were started within the start and end activity instances, i.e., it uses ; if , then the function considers activity instances that were completed within the start and end activity instances, i.e., it uses ; if , then the function considers activity instances that were either started or completed within the start and end activity instances, i.e., it uses ; if , then the function considers all activity instances that were active within the start and end activity instances, i.e., it uses .
Tags
Python implementation
This indicator is implemented in the process_performance_indicators Python library.
process_performance_indicators.indicators.time.cases.waiting_time_from_activity_a_to_b
