Expected Service Time from activity A to activity B

View in library docs
eSTAB×(g,a,b)\mathit{e}\mathit{STAB}\mathit{^{\times}}(g, \mathit{a}, \mathit{b})
×{s,c,sc,w}\mathit{\times} \in \{\mathit{s}, \mathit{c}, \mathit{sc}, \mathit{w}\}
Dimension:
Time
Granularity:
Group of cases

Description

Expected sum of elapsed time between the start and complete events of all activity instances of a case belonging to a group of cases, which 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 is associated with a process in which the actual time spent executing a specific subprocess is of relevance.

Assumptions

Minimizing service time is desirable.

Desired Value:

MINIMIZE

Required attributes

act
actinst
case
time
type

Equations

Formula for practitioners

STAB(g,a,b){cgfi(c,a,b)}\frac{\mathit{STAB}(g, \mathit{a}, \mathit{b})}{|\{c \in g \mid \mathit{fi}(c, \mathit{a}, \mathit{b}) \neq \emptyset\}|}

STAB\mathit{STAB} returns the total service time from activity a\mathit{a} to activity b\mathit{b} accumulated across all cases in group gg.
fi\mathit{fi} returns the set of first instances of activity b\mathit{b} that occur after the first instance of a\mathit{a} in case cc.

Formal Definition

STAB×(g,a,b){cgfisc(c,a,b)}\frac{\mathit{STAB}\mathit{^{\times}}(g, \mathit{a}, \mathit{b})}{|\{c \in g \mid \mathit{fi}\mathit{^{sc}}(c, \mathit{a}, \mathit{b}) \neq \emptyset\}|}
The ×\mathit{\times} indicates that the PPI can take multiple forms, in this case, ×{s,c,sc,w}\mathit{\times} \in \{\mathit{s}, \mathit{c}, \mathit{sc}, \mathit{w}\}. If ×=s\mathit{\times} = \mathit{s}, then the function considers activity instances that were started within the start and end activity instances, i.e., it uses STABs\mathit{STAB}\mathit{^{s}}; if ×=c\mathit{\times} = \mathit{c}, then the function considers activity instances that were completed within the start and end activity instances, i.e., it uses STABc\mathit{STAB}\mathit{^{c}}; if ×=sc\mathit{\times} = \mathit{sc}, then the function considers activity instances that were either started or completed within the start and end activity instances, i.e., it uses STABsc\mathit{STAB}\mathit{^{sc}}; if ×=w\mathit{\times} = \mathit{^{w}}, then the function considers all activity instances that were active within the start and end activity instances, i.e., it uses STABw\mathit{STAB}\mathit{^{w}}.

Tags

act
actinst
case
time
type

Python implementation

This indicator is implemented in the process_performance_indicators Python library.

process_performance_indicators.indicators.time.groups.expected_service_time_from_activity_a_to_b