Model 3b - Assignment of Stochastic Process Variables

Parent Previous Next

Goals of this lesson


How-to

The exclusive gateway in Model 3.a from lesson Exclusive Gateways is pretty static. During the simulation every process instance will use the same path, because the evaluation will always get the same result. Models with more dynamic (and realistic) path selection can be achieved by defining stochastic attributes. Stochastic attributes are variables, whose values change (similarly to the duration of activities) by a stochastic distribution.

Figure 1: Model 3b - Assignment of Stochastic Attributes / IYOPRO-Link


Creating Stochastic Attributes

To use a stochastic variable, we need to define it at the activity before the gateway:

  1. Make sure, you selected the Simulation option from the Property Set drop-down-box
  2. Click the first activity in the model
  3. Click the button right to the Stochastic Attribute Assignment property under Optional Simulation Properties
  4. The Process Attribute Editor shows up (see the picture below)
  5. Click the Add button to add a new stochastic attribute
  6. The Distribution Editor shows up. You will notice, that it is the same Distribution Editor that you already got to know by assigning durations of activities or inter-arrival times of start events.
  7. Now select the normal distribution with a mean value of 10 and a standard deviation of 3
  8. The variable will be given a name (something like "v1"). You can change this by double-clicking into the Name field. Rename it to X.


Assigning Conditions with Stochastic Attributes

We are now ready to go. Simply define the conditions (see lesson Assigning Gateway Conditions) like this:


Figure 2: IYOPRO'S Simulation Process Attribute Editor