PM.PROCESS.ANIMATION

You are here:

AXCEL.PM.PROCESS.ANIMATION function

This function is part of Process Mining (PM) functions in Axcel and generates a process animation. This function animates the cases stored in an event log on top of a process model. Each case is represented by a token that travels through the process model according to the waiting and processing times of activities. 

Syntax

AXCEL.PM.PROCESS.ANIMATION(data, [type], [colored], [coordinates], [zoom])


The AXCEL.PM.PROCESS.ANIMATION function syntax has the following arguments:

data Required. This is a table of events. Input data could be provided in 4,5, and 6 column formats.

4-column data:

Data should be structured in the order of record, process, resource, and timestamp as follows:

record process resource timestamp
record 1 process xresource y 2012-01-02T12:23:00.000+01:00

In this format, Axcel assumes that all processes are “complete” and every event is an individual process.

5-column data:

Data should be structured in the order of record, process, resource, start_time and end_time as follows:

record process resource start_time end_time
record 1 process xresource y 2012-01-02T12:23:00.000+01:00 2012-01-02T12:46:00.000+01:00

6-column data:

Data should be structured in the order of record, process, resource, timestamp, status and handling_id as follows:

record process resource timestamp status handling_id
record 1 process xresource y 2012-01-02T12:23:00.000+01:00 start1
record 1process xresource y2012-01-02T12:46:00.000+01:00 complete 1

type Optional. By default Axcel uses absolute type but user can define “absolute”, or “relative”. Here is the definition of each:

  • Absolute frequency of flows
  • Relative frequency of flows

colored Optional. By default (TRUE), Axcel shows tokens with different colors based on allocated resources. If set FALSE, all tokens are shown in single color red.

coordinates Optional. By default, Axcel set the position of the nodes in a way to provide an optimal view of the process. If you would like to set the position of nodes manually, you should define it in a table as follows:

activity latitude (x) longitude (y)
Activity A x_a y_a
Activity B x_b y_b
ARTIFICIAL_START x_starty_start
ARTIFICIAL_END x_endy_end

If you use a map to show the positions (please see zoom), you need to define latitude and longitude of nodes. Otherwise, you define the positions in a X-Y plane. Also, please note that you need to define all positions as well as the start and end positions which must be defined as ARTIFICIAL_START and ARTIFIIAL_END, respectively.

zoom Optional. If you defne coordinates as explained above, you need to set zoom level for creating maps. If you define coordinates in a X-Y plane, you need to set this variable to 0.


Here is an example based on patient-hospital operation data. You can pull this data by executing AXCEL.DATASETS(“hospital-process-mining”). Considering you pulled your data in cell A1#, you need to run:

=AXCEL.PM.PROCESS.ANIMATION(A1#)

After execution, the details of the event is shown in the console and a process animation is also generated in the task pane:

In another example we use the dataset called “example-log” from Axcel datasets which you can pull by running AXCEL.DATASETS(“example-log”). Assuming this data is pulled at cell A1, we can show the process animation on a map by running:

=AXCEL.PM.PROCESS.ANIMATION(A1:F21,,,H1:J7, 12)

which generates a graph as presented below:

Alternatively, you can present this process in a X-Y plane. In our example, you need to run:

=AXCEL.PM.PROCESS.ANIMATION(A1:F21,,,H9:J15, 0)

which generates this graph: