Total Cost considering the sum of all events of activity instances

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

Description

Total cost associated with an activity instance, measured as the sum of all values 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(str(i))+#tc(cpl(i))if #tc(cpl(i))undefined#tc(str(i))undefinedundefinedif #tc(cpl(i))=undefined#tc(str(i))=undefined\begin{cases} \#^{}_{\mathit{tc}}(\mathit{str}(i)) + & \\ \#^{}_{\mathit{tc}}(\mathit{cpl}(i)) & \mathit{if \ } \#^{}_{\mathit{tc}}(\mathit{cpl}(i)) \neq undefined \land \#^{}_{\mathit{tc}}(\mathit{str}(i)) \neq undefined \\ undefined & \mathit{if \ } \#^{}_{\mathit{tc}}(\mathit{cpl}(i)) = undefined \lor \#^{}_{\mathit{tc}}(\mathit{str}(i)) = undefined \\ \end{cases}

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

Formal Definition

{#tc(str(i))+#tc(cpl(i))if #tc(cpl(i))#tc(str(i))if #tc(cpl(i))=#tc(str(i))=\begin{cases} \#^{}_{\mathit{tc}}(\mathit{str}(i)) + & \\ \#^{}_{\mathit{tc}}(\mathit{cpl}(i)) & \mathit{if \ } \#^{}_{\mathit{tc}}(\mathit{cpl}(i)) \neq \bot \land \#^{}_{\mathit{tc}}(\mathit{str}(i)) \neq \bot \\ \bot & \mathit{if \ } \#^{}_{\mathit{tc}}(\mathit{cpl}(i)) = \bot \lor \#^{}_{\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_sum_of_all_events_of_activity_instances