Total Cost considering single events of activity instances

View in library docs
TCsgl(i)\mathit{TC}\mathit{^{sgl}}(i)
Dimension:
Cost
Granularity:
Activity instance

Description

Total cost associated with an activity instance, measured as the latest recorded value among the events of an activity instance.

Potential use

Event log in which total cost information is recorded.

Assumptions

Minimizing total cost is desirable.

Desired Value:

MINIMIZE

Required attributes

actinst
tc
type

Equations

Formula for practitioners

{#tc(cpl(i))if #tc(cpl(i))undefined#tc(str(i))if #tc(cpl(i))=undefined#tc(str(i))undefinedundefinedif #tc(cpl(i))=undefined#tc(str(i))=undefined\begin{cases} \#^{}_{\mathit{tc}}(\mathit{cpl}(i)) & \mathit{if \ } \#^{}_{\mathit{tc}}(\mathit{cpl}(i)) \neq undefined \\ \#^{}_{\mathit{tc}}(\mathit{str}(i)) & \mathit{if \ } \#^{}_{\mathit{tc}}(\mathit{cpl}(i)) = undefined \land \#^{}_{\mathit{tc}}(\mathit{str}(i)) \neq undefined \\ undefined & \mathit{if \ } \#^{}_{\mathit{tc}}(\mathit{cpl}(i)) = undefined \land \#^{}_{\mathit{tc}}(\mathit{str}(i)) = undefined \\ \end{cases}

#tc\#^{}_{\mathit{tc}} returns the total cost associated with an event.
cpl(i)\mathit{cpl}(i) returns the completion event of activity instance ii.
str(i)\mathit{str}(i) returns the start event of activity instance ii.

Formal Definition

{#tc(cpl(i))if #tc(cpl(i))#tc(str(i))if #tc(cpl(i))=#tc(str(i))if #tc(cpl(i))=#tc(str(i))=\begin{cases} \#^{}_{\mathit{tc}}(\mathit{cpl}(i)) & \mathit{if \ } \#^{}_{\mathit{tc}}(\mathit{cpl}(i)) \neq \bot \\ \#^{}_{\mathit{tc}}(\mathit{str}(i)) & \mathit{if \ } \#^{}_{\mathit{tc}}(\mathit{cpl}(i)) = \bot \land \#^{}_{\mathit{tc}}(\mathit{str}(i)) \neq \bot \\ \bot & \mathit{if \ } \#^{}_{\mathit{tc}}(\mathit{cpl}(i)) = \bot \land \#^{}_{\mathit{tc}}(\mathit{str}(i)) = \bot \\ \end{cases}

Tags

actinst
tc
type

Python implementation

This indicator is implemented in the process_performance_indicators Python library.

process_performance_indicators.indicators.cost.instances.total_cost_for_single_events_of_activity_instances