Modeler User Guide (245-311)
Modeler User Guide (245-311)
1. To simulate your process model, click the Simulation View button on the ribbon. Doing so will
display your process in read-only simulation mode.
2. The shapes that require information will be highlighted according to the simulation level in scope.
Note Bizagi will retain the level you are currently running once you save the model returning to the
Process Model view.
4. Once all the data has been added, click Run to launch the Process Simulation window.
You may click the Stop button at any time to end the simulation.
7. Click the Export to Excel button, located at the bottom left, to transfer the Results chart to Excel.
Note: The simulation engine does not support the pattern modeled in Transactional Process, Change
Management and Ad Hoc, from our Process Central.
Level 1 - Process Validation: The first and most basic simulation level to evaluate the
structure of the process diagram.
Results: The outcomes show all paths activated during the execution and whether all tokens actually
finished. Additionally, it evaluates how many tokens passed through each Sequence Flow, Activity and
End Event.
Level 2 – Time Analysis: Second level of simulation to measure the end-to-end process
time.
Data: Apart from the data entered in Process Validation, estimated timings (service times) of each
activity and the interval time between token generation is required. This data can either be constant or
samples from statistical distributions 1.
Results: The results show process throughput times for tokens, presented as minimum, maximum,
mean and sum (total of all processing times). Similar results can be presented for individual key
activities.
Level 3 – Resource Analysis: Predicts how the process will perform with different
levels of resources. This level of detail provides a reliable estimate of how the process will perform in
operation.
Data: In addition to the data entered in Time Analysis, this level includes the definition of resources
(and/or roles): how many are available and where they are used. Due to the inclusion of resources, the
activity times should be adjusted to represent the actual work time; delay due to unavailability of staff
will be explicitly indicated.
Results: The structure of the results is similar to Time Analysis. Also, the time spent, the time spent
busy or idle for each type of resource is presented.
This level assume an unlimited number of resources.
Level 4 – Calendar Analysis: Includes calendar information that reflects the process
performance over dynamic periods of time, such as shifts, days schedules or weeks.
By default Bizagi includes a chosen calendar that works 24/7. If no calendars are defined, Bizagi will
assume that the defined Resources will always be available.
Data: Apart from the data entered in Resource Analysis, it includes the definition of resource
calendars.
EXAMPLE
To better illustrate each of the simulation levels let us consider an Emergency attendance process. In
this process a call center receives a report of an emergency. Upon receiving the call, a call center agent
enters details on the person affected, the symptoms and the physical address where the emergency
occurred.
On receipt of the report, a qualified nurse classifies the emergency according to its severity.
Green: Low severity. The patient can be easily stabilized.
Yellow: Medium severity. The patient requires special attention but can be stabilized at the place of
emergency.
Red: High severity. The patient must be collected and taken to the nearest hospital.
According to the priority assigned, the Emergency attendance department presents a different level of
response.
Green: This triage is assisted by a quick response vehicle (i.e. a motorcycle) carrying two people: a
paramedic and a doctor.
Yellow: This triage is assisted by a basic ambulance having a doctor, nurse and a paramedic on
board.
Red: This triage is assisted by a fully equipped ambulance holding two doctors, a nurse and a
paramedic.
If the emergency is green or yellow, the process finishes once the response team arrives at the at the
place of emergency.
If the emergency is red, the fully equipped ambulance transfers the patient to the nearest hospital.
During the transfer a nurse carries out the necessary paperwork to ensure quick admittance.
When the patient arrives at the hospital with the necessary paperwork, the receptionist will be able to
admit the patient quickly and provide medical assistance immediately.
1. Refer to BPSim specification to review statistical distributions supported and their explanation.
Overview
The first level of the simulation validates the Process Model, making sure the process passes through
all the sequence flows, and behaves as expected.
Resources, processing times and costs are not included in this level. Such parameters will be included
later in subsequent levels.
When validating a Process Model the simulation results will show if:
Gateways are synchronized.
Messages are synchronized.
Decisions probabilities are correctly assigned.
Routing behaves as expected.
All tokens have ended.
Bizagi offers real-time animation of simulations to easily identify problems. The Results report will show
the behavior during execution
Max.arrival count: Define the number of token instances the process will generate (or trigger).
We recommend defining a large enough number (at least 1000) to allow the execution to stabilize and
present reliable outcomes.
Select the Start Event of the process and click the Gear icon on the pie menu. Enter the Max.arrival
count in the pop-up window.
Note:
The simulation will finish when one of these options happens first: sceario's duration is reached, max
arrival count is reached.
When you define a scenario duration, (in the scenario´s configuration) the simulation will finish once
this duration is reached, disregarding the Max arrival count.
The same applies the other way around: once the max arrival count is reached the simulation will
finish disregarding the scenario's duration.
Gateways routing: Inclusive and exclusive Gateways have activation probabilities. Probabilities are
values between 0 and 100%.
If you do not define probabilities for the paths, they will be equally distributed.
Results
When the simulation is finished, view the results by selecting the Results option.
For this first level, the results of the simulated outcome will contain the following information:
You can transfer the results report to Excel by clicking the Export to Excel button.
1. In this example we will generate 1000 token instances. Click the Start Event and then the Gear icon.
Set the control's value to a 1000.
Now, click Start to run the simulation. Note how the number of completed events are displayed in
execution.
Analyzing the results we conclude that something is wrong. The number of tokens (1000) created at the
Start Event of the process differs to the sum of tokens completed at the End Events (1006+311+186).
If you watch the diagram carefully, you will see there is no point of convergence, that is, no shape has
been defined to synchronize the paths that exit the Parallel Gateway.
It is necessary to merge the outgoing flows into a single flow before the token continues to the next
activity. To do this, include a Parallel Gateway (as a convergence element) to synchronize them.
Once the change is done, Run the simulation again. Looking at the new results we can see that all is
working as expected: The number of tokens created (1000) is equal to the sum of tokens completed
(483+315+202). In addition, each token is passed correctly to the triage based on the probabilities
defined.
Overview
The second level of the simulation is useful in measuring end-to-end process time.
Here, resources are not included; Bizagi assumes an infinite capacity to avoid delays in the process
flow. This is the best case scenario under the given flow and processing times.
Arrival interval time: Defines the time interval between token instances generation. Instances
will be created until the max.arrival count is reached. This applies to Start Events, Activities that start
processes or Timer Events.
Select the Start Event of the process and click the Gear icon on the pie menu. Set the value for the
control.
Alternatively, define a statistical distribution. Click the advanced icon alongside the field to view and
select a distribution.
Processing times: Defines the amount of time an Activity or Event needs to process a token. That
is, it defines a service time period from the moment a token arrives at an Activity or Event until it is
You have the option of defining the processing time as a constant by entering values in the
corresponding units.
Alternatively, define a statistical distribution. Click the advanced icon alongside the field to view and
select a distribution.
Results
When the simulation is complete, select Results to view the outcome.
For the Time Analysis level, the results of the simulated outcome will contain the following information:
Name: Identifies the specific BPM shape for which the results are displayed.
Type: Identifies the element type of the BPM shape.
Tokens completed: Indicates how many tokens were processed (instances).
Tokens started: Indicates how many tokens arrived at the shape.
Minimum time: Indicates the minimum processing time of the shape.
You can transfer the results report to Excel by clicking the Export to Excel button.
Classify Triage 5
Pick up patient 20
Authorize entry 4
1. Define trigger times. To do so, click the Start Event and then the Gear icon on the pie menu.
For this example, the expected time between reports is 5 minutes, so set the time to this value. Note
the value entered is in minutes.
For more information about units please refer to Scenarios.
Overview
This analysis shows the potential effect of resource constrains on process performance. Remember
that a Resource is defined as a person, equipment, or space necessary for the execution of a specific
task.
In the previous level, Time Analysis, we assumed infinite resource capacity, that is, activities are able to
process infinite quantity of tokens at the same time. However this assumption is not practical at all. In
real terms there are always resources constraints.
The most common issue arising from introducing resources constraints is that tokens need to wait to
be processed at a given moment. This results in bottlenecks and increase in cycle time, thereby
reducing the capacity of the process.
Money is another resource directly or indirectly involved in a process. Consequently, this level also
allows you to analyze your business operation in terms of costs.
The purpose of this analysis is to identify and minimize the impact of these constraints in terms of cycle
time and costs.
The resource analysis results will allow you to evaluate the following performance measures:
Resources: Remember that a resource is a person, equipment or space necessary for the execution
of a specific task.
To define the Resources requirements for a task, click the task and select the Resource icon in the pie
menu.
For each resource selected you must define how many of them are used in the task.
Activity costs: The cost of performing an activity, that is, how much an activity costs once executed.
To define the cost of performing an activity, select the Activity and click Cost on the pie menu.
For the Resource Analysis level, the results of the simulated outcome will contain the following
information for Process and Resources:
For Resources
Nurse 2 5 0
Receptionist 2 3 0
Classify Triage 1
Pick up patient 0
Authorize entry 1
Classify Triage 5
Pick up patient 20
Authorize entry 4
Define the required input data for this level: Resources, requirements and costs.
1. Define the resources involved in the process. Create the necessary resources from the Resources
option.
2. For each resource define the available quantity, fixed cost and unit cost.
4. Finally, define the cost of performing each activity. Click the activity, select Cost and enter the
corresponding cost.
Here we are defining the the cost of performing the Manage patient entry activity is 1 dollar. This cost
is related to paperwork and calls.
We'll see if the situation gets better including a new nurse in the available resources. Now we would
have three nurses.
Click Run to simulate the new scenario.
Overview
In addition to the resources constrains discussed in the previous level, we should also consider the
effect of resources availability over time to obtain a better understanding of true process performance.
In real scenarios, processes are subjected to ever changing conditions in the availability of resources.
Holidays, weekends, shifts and breaks restrict and define the true performance of a process.
This level predicts how a process will perform during dynamic periods of time, such as shifts, days
schedules or weeks.
At the end of this level you will obtain more accurate information on:
Calendars: A Calendar defines resource capacity over certain periods of times. They define the
schedules, shifts, holidays and other time constraints to reflect the process in real life.
Calendars assignment:
Additionally in this level, you have to define the availability of resources for each defined calendar.
For each Resource (row) you must define the availability for each calendar (column).
Keep in mind that if you leave a Calendar blank, Bizagi will assume the availability value of a resource is
the one defined in the Default Calendar.
This calendar includes the same resources availability defined in Level 3 (Resources Analysis).
Results
When the simulation is complete, select Results to view the outcome. For a calendar analysis , the
results of the simulated outcome will contain the following information:
Name: Identifies the specific BPM shape for which the results are displayed.
Type: Identifies the element type of the BPM shape.
Tokens completed: Indicates how many tokens were processed (instances).
Tokens started: Indicates how many tokens arrived at the shape.
Minimum time: Indicates the minimum processing time of the shape.
Maximum time: Indicates the maximum processing time of the shape.
Average time: Indicates the average processing time of the shape.
Resource Morning shift (6:00 am - 2:00 pm) Day shift (2:00 Night shift
pm - 10:00 pm) (10:00 pm - 6:00
am)
Nurse 3 3 3
Basic ambulance 2 1 2
Receptionist 2 1 1
2. Through the Resources option, set the availability of resource for each calendar created previously.
3. Click the Run button. When the simulation is finished, select Results to view the outcome.
The average time a patient waits for assistance suffered a little increase from 25,06 minutes to 25,48
minutes. This is not significant.
The increase from 35 to 39 minutes in the maximum time can be explained by the existing waiting
The resources usage results will highlight any critical capacity problems.
The highest usage is for the Nurse. Remember that this resource performs two activities in the
process: Classify triage and Manage patient entry.
From the Process results we can conclude that the usage of nurses is not at full capacity since the
waiting times of the associated activities are not significant.
Assigning shifts and resources did not overtly affect the process in general; therefore, we can
conclude that the allocation is adequate for our purpose.
7.2.2 Scenarios
Bizagi Simulation allows you to create multiple scenarios for your process model, to analyze different
combinations of data input and observe many possible outcomes. Scenarios are completely
independent from one another, from the definition of the scenario itself to the data included in each
shape of the model.
When you are in Simulation View, the model will display a default scenario created by Bizagi. All
information entered belongs to that specific scenario. The name of the process scenario being
simulated is displayed above the model:
Name: The name of the scenario. It should be clear and descriptive to easily identify the simulation
conditions.
Description: A detailed description of the new assumptions and changes made to the process.
Author: The person or group that created the scenario.
Version: The version number of the scenario.
Start: Date on which the simulation starts.
Duration: Period of time during which the process will be simulated.
Base Time units: The units in which time metrics and results will be displayed.
Base currency unit: The units in which cost metrics and results will be displayed.
Replication: Number of simulations for the given scenario.
Seed: Value of the seed used to generate random numbers.
Note:
We recommend using 30 replications to make sure the simulation reaches a stable state.
For the replications to take place, keep in mind that you should run the What-If analysis which
provides direct results (instead of using the graphical simulation with Real-time display at the Run
option). Notice that you may select only 1 scenario, to run the 30 replications.
Note:
The simulation will execute according to the duration defined disregarding the max arrival count.
If the max arrival count is reached and the duration is not, the resources will remain idle and the
results may not reflect the reality.
If no duration is defined, the default duration is 30 days.
Create scenarios
To create a new what-if scenario, select the What if option (found in the Simulation group on the
ribbon) and select Manage scenarios.
Duplicate selected scenario: Creates a copy of the current scenario with the same parameters
configurations (number of resources, processing time, calendars etc).
Blank scenario: Creates a scenario with blank simulation parameters.
How would the processing time of a case decrease if the number of available resources is doubled?
What would be the cost/benefit rate of reducing the process time in a specified activity?
What would be the effect of altering the working shift configuration in the operational cost and
service level?
The reports generated in What if analysis will display the results of all scenarios to be easily
compared.
Note:
We recommend using 30 replications to make sure the simulation reaches a stable state.
For the replications to take place, keep in mind that you should run the What-If analysis which
provides direct results (instead of using the graphical simulation with Real-time display at the Run
option). Notice that you may select only 1 scenario, and in this example we used 100 replications.
Compare scenarios
When each scenario with its relevant data has been created, click What if and mark the scenarios you
wish to compare. Thereafter, run the simulation to generate the reports.
Resource Morning shift (6:00 am - 2:00 pm) Day shift (2:00 Night shift
pm - 10:00 pm) (10:00 pm - 6:00
am)
Nurse 3 3 3
Basic ambulance 2 1 2
Receptionist 2 1 1
Resource Morning shift (6:00 am - 2:00 pm) Day shift (2:00 Night shift
pm - 10:00 pm) (10:00 pm - 6:00
am)
Nurse 2 2 2
Basic ambulance 2 2 2
Receptionist 1 1 1
The resources results show that the usage of resources increased, especially for the Nurse, now at full
capacity. This gives us an idea that there will be delays and patients will be held waiting. The positive
result is that costs are reduced.