Simulate process

Apromore allows users to simulate .bpmn models to understand how the business process will look and work in different scenarios.

We can do the simulation of process models in Apromore by performing two steps:

  • Specification of simulation parameters

  • Creation of simulated log

Double-click the BPMN model to open it.

image1

A window will open up, showing the selected BPMN model.

image2

Specification of simulation parameters

To specify simulation parameters, click on the “Toggle simulation parameters panel” button.

image3

The simulation panel with different parameters to be specified will appear from the BPMN editor window’s right side

image4

Note

If we want to hide the parameters panel, we can always click on the “>>” sign located at the right side of the panel and click on it once again to make it visible.

image34

The parameters are organized into different tabs. For convenience, it is recommended to fill it in the following order: General -> Timetables -> Resources -> Tasks -> Gateways.

Note

We can`t proceed without the specification of the mandatory parameters. These are marked red.

image5

General parameters tab

The inter-arrival time is the time between each arrival of the process instances. It shows how frequently a new process instance starts.

Apromore offers a variety of options for inter-arrival time, as shown below.

image6

The value denotes the inter-arrival time unit. In the following example, the inter-arrival time is fixed and equals 5 hours, meaning that a new process instance starts every 5 hours.

image7

The total number of process instances shows how many BPMN process instances start in the simulation scenario.

image8

Note

For preventing us from entering incorrect values, Apromore displays inline alert messages signaling that we need to recheck the data.

image10

We can specify the simulated scenario start date and time to determine when the first process starts.

image11

We can exclude a certain percentage of statistics from the start and the end of the process instances that fall between the start and the end time of the simulation scenario. This is usually done, considering the availability of resources and activities that are handled without any delays.

image12

For the cost calculations, we may choose a suitable currency from the drop-down list.

image13

Timetables, Resources and Tasks parameters tabs

After we finished entering the general tab information, we then switch to the “Timetables” tab.

image20

While adding the new timetable, it is required to name it and specify the working timeslot

image21

Note

One timetable may consist of many different timeslots. This is very useful when workers (also known as actors/resources) work in shifts.

In the example below, workers who follow “Timeslot 3” from “Timetable-1” work five days (Monday-Friday) from 9.00 till 17.00.

image22

In the “Resources” tab, the default resource is created automatically.

image17

To add the new resource, select it from the list and press “+”. To delete it, select and then press “x”.

image18

Specify all the resource details required in the new resource window, which loads right after clicking on “+”.

image19

Number of Resources is the amount of the new resource type actors participating in this scenario. Cost per hour is the amount the resource earns per hour working. A timetable is assigned to a resource from the “Resource timetable” drop-down list. After we finished entering the information in the “Resources” tab, we then switch to the “Tasks” tab.

image14

For any type of task in the BPMN model we can choose the resource (the actor for the task) and duration distribution (time the task takes on average).

image15

We can use an alternative approach for more complex models by just clicking on the task we would like to change. The task details window will open automatically.

image29

Gateways

Gateways is a BPMN notation used to control how a process flows. Gateways can be exclusive (XOR), meaning that precisely one alternative path can be selected or inclusive (OR), meaning that there can be several paths.

image25

All gateway elements in the BPMN model require execution probabilities for their outgoing sequence flows.

image26

Note

The sum of the probabilities for the execution of each gateway must be 100%.

image27

After we entered the simulation parameters, we can save the model.

image28

When the save dialog appears, click “OK”.

image30

To simulate the saved model, go to the main workspace -> “Analyze” -> “Simulate model”.

image32

To save the simulated log, click on Save.

image35

The simulated log appears in the workspace.

image37

Note

Suppose, for some reason (for instance, the model was quite complex with the variety of tasks and many resources), we ignored the mandatory data lines and didn`t specify them before. In that case, Apromore will display the list of errors to correct them.

image33

We can view a range of statistics for simulated logs, including case duration, case duration within timetable, case waiting time, cycle time, waiting time, and cost in dashboards.

image38