question

sara S2 avatar image
1 Like"
sara S2 asked sara S2 commented

exponential(0.0, 10.0, getstream(activity)) components meaning

Hello,

Where could I find the explication of the exponential distribution components "exponential(0.0, 10.0, getstream(activity))" (what does 0.0; 10.0 and getstream(activity) mean) in the user manual of Flexsim?

Regards.

FlexSim 19.0.0
exponential distribution
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

1 Answer

Ben Wilson avatar image
1 Like"
Ben Wilson answered sara S2 commented

Hi @sara S2,

FlexSim's command reference shows the parameter definitions for all FlexScript commands. Here is a direct link to the statistics command group, where you can then dive in and examine the specifics for the exponential() and other distribution commands:

https://docs.flexsim.com/en/20.0/Reference/CodingInFlexSim/CommandReference/CommandGroupsIndex.html#Statistics

From the documentation:

exponential (num location, num scale [, num stream])
Returns a random sample from an exponential distribution

Description
exponential( γ, β, stream) is a non-negative continuous probability distribution.

Inputs:
γ is the location parameter ∈ ( - ∞, ∞ )
β is the scale parameter ( 0, ∞ )
stream is a reference to one of FlexSim's random number streams {0,1,2,...}

For a deeper understanding of the location and scale parameters, you may wish to do further research into the realm of statistics:

· 1
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

sara S2 avatar image sara S2 commented ·

thank you @Ben Wilson for your reply.

0 Likes 0 ·