Skip to content

normal

Syntax

normal(mean, stdev)

Parameters

mean
Mean of the distribution.
stdev
Standard deviation of the distribution.

Returns

Returns a variate according to a normal distribution.

Description

Returns a variate of a normal distribution with a given mean and standard deviation. This action is often used to model waiting times.

Examples

The following state will make entering agents collectively wait with a normal distribution (mean = 10, stdev = 2) of individual hourly wait times:

state Demo {
    wait(normal(10, 2))
    next(Excluded)
}

See Also