# Model 3f - Exclusive Gateway with Probabilities

## Goals of this lesson

• Usage of Exclusive Gateways with Probabilities instead of process variables

Model 3f uses probabilities to determine which sequence flows shall be pursued.

## How-to

Instead of declaring process variables, we can simply use probabilities (or weighs) for each sequence flow at an exclusive gateway to determine the sequence flow to be pursued. Please have a look at the section Using Probabilities from the Gateway Decision Making chapter for more information.

Figure 1. Model 3f - Exclusive Gateway with Probabilities / IYOPRO-Link

### Approach

• Click on each of the 3 sequence flows successive to the exclusive gateway and supply the following values to its Probability property:

• Top sequence flow: Probability = 0.1

• Middle sequence flow: Probability = 0.4

• bottom sequence flow: Probability = 0.5

• Remember that the sum of the sequence flows' probabilities must be equal to 1

## Report

See below for the run configuration, which we set up to receive the report statistics from below.

### Run configuration

• Stochastic Seed: 12345

• Simulation start date: 1/1/2014 12:00:00 a.m.

• Simulation stop time: 240

• Simulation stop time unit: Hours

### Report statistics

• Have a look at this report’s gateway details (see Figure 2)

• You will notice that the probability configuration is reflected in the gateway statistics

Figure 2. The report’s gateway details