Discover simulation scenario from log

We can automatically enhance a BPMN model with simulation parameters extracted from an event log. This feature reduces the time and increases the data accuracy needed to perform simulations. For example, many large businesses have more than 100 activities per process to analyze - manually adding the simulation parameters will take a lot of time. We can extract the simulation parameters by selecting the option “include simulation parameters” to obtain a model ready for simulation.

From Portal, select the log on which you would like to perform the simulation and double-click on it to open Process Discoverer.

../_images/Discov0021.png

Switch from Process Map to BPMN model using the slider in the Visualization settings tab placed left in the menu bar.

../_images/Discov0031.png

Note

Depending on the complexity of the model, we can play around with the Abstraction settings.

../_images/Discov0041.png

After applying all the necessary settings and filter(s), click the Save icon Discov010 and click Save BPMN model.

../_images/Discov0051.png

Save BPMN model window opens. Enter the model’s name, description, version number and tick the Include simulation parameters box. Click OK.

../_images/Discov0061.png

By default, the BPMN model is saved in the same working directory as the log file. We can also specify a folder by clicking Browse.

../_images/Discov0111.png

A notification showing the file was successfully saved pops up.

../_images/Discov0071.png

The BPMN model saves in the same working directory as the log file.

We can simulate the generated BPMN model. To simulate the discovered model, return to Apromore Portal, right-click the model, and click Simulate.

../_images/Discov0081.png

Save generated simulation log window appears. Enter the name of the simulated log. Click Save.

../_images/Discov0091.png

Discover probability distributions in simulation models

When a BPMN model is saved with simulation parameters, each activity in the model is assigned a probability distribution (normal, exponential, fixed, or uniform) depending on the distribution of activity durations in the event log.

../_images/Discov0121.png

Discover case attributes and their probability distributions

When a BPMN model is saved with simulation parameters, the case attributes of the event log are also saved in the simulation scenario.

../_images/Discov0131.png

For each case attribute, the simulation scenario will contain its data type (String, Integer, Real, Timestamp) and its probability distribution (normal, exponential, uniform, fixed).

In the screenshot below, “Country” is a categorical case attribute, and its probability distribution is as follows: NZL – 27%, JPN – 25%, SGP – 26% and AUS – 22%.

../_images/Discov0141.png

Conversely, in the screenshot below, “Discount” is another discovered case attribute with Numerical datatype. It follows an exponential distribution with mean of 91709.55.

../_images/Discov0151.png

Note

When a simulation model is discovered, only case attributes are included in the simulation scenario. Event attributes are not included in a discovered simulation model, but can be added manually. To learn more about adding event attributs, see Attributes.