Service Time from activity A to activity B

View in library docs
STAB×(g,a,b)\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

Sum of elapsed time between the start and complete events of all activity instances of every 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, within each case.

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

cg{STAB(c,a,b)if fi(c,a,b)0if fi(c,a,b)=\sum _{c \in g} \begin{cases} \mathit{STAB}(c, \mathit{a}, \mathit{b}) & \mathit{if \ } \mathit{fi}(c, \mathit{a}, \mathit{b}) \neq \emptyset \\ 0 & \mathit{if \ } \mathit{fi}(c, \mathit{a}, \mathit{b}) = \emptyset \end{cases}

STAB\mathit{STAB} returns the service time from activity a\mathit{a} to activity b\mathit{b} in case cc.
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

cg{STAB×(c,a,b)if fisc(c,a,b)0if fisc(c,a,b)=\sum _{c \in g} \begin{cases} \mathit{STAB}\mathit{^{\times}}(c, \mathit{a}, \mathit{b}) & \mathit{if \ } \mathit{fi}\mathit{^{sc}}(c, \mathit{a}, \mathit{b}) \neq \emptyset \\ 0 & \mathit{if \ } \mathit{fi}\mathit{^{sc}}(c, \mathit{a}, \mathit{b}) = \emptyset \end{cases}
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.service_time_from_activity_a_to_b