BPMN Mining
VI EN
Log in Sign up free
Docs / Formulas

Overview and notation

The shared notation table used by every formula.

Every number the tool produces comes out of the seven formulas in this section. They are written in standard mathematical notation so you can cross-check them against the academic literature, and each formula has a hand-calculated example so you can verify it yourself.

Notation table

SymbolMeaningUnit
VThe set of all steps in the process—
tvThe duration of one run of step vminutes
cvThe cost of one run of step vmoney
nvThe expected number of runs of step v in one pass of the processruns
piThe probability of entering branch i of a gateway0…1
PThe transition probability matrix between steps—
e0The indicator vector of the start point (1 at the first step, 0 elsewhere)—
kThe number of branches of a parallel gateway—

Seven formulas, one thread

#FormulaUsed for
1Tseq = ∑ ti Sequential chain
2TAND = max Tj Parallel block
3CAND = ∑ Cj Parallel block
4E[TXOR] = ∑ pi Ti Exclusive gateway
5nT(I − P) = e0T Loops
6E[T] = ∑ nv tv Putting it together
7P90, P95 Simulation

Two calculation routes, to check each other

The tool computes every process by two independent methods:

AnalyticalMonte Carlo simulation
How it worksSolving a system of linear equationsRunning thousands of random trial passes
ResultOne exact expected valueA whole distribution: median, P90, P95
LoopsCounts the full infinity of turnsSamples according to the real probabilities
Parallel blocksUses the max of the per-branch expected values (an approximation)Takes the max of the simulated values (exact)
RepeatabilityAlways gives the same resultFixed by the seed
💡
Use the gap between them as a test
These two numbers should be close. A significant gap (over 5–10%) is usually a sign that the process has parallel branches where each branch itself contains randomness — in that case max E[·] < E[max ·] and the simulated number is the trustworthy one. See Monte Carlo simulation.
Anything unclear or missing?