question

Visakh Sakulan avatar image
0 Likes"
Visakh Sakulan asked Jacob Gillespie edited

geometric function always giving same value.

I have made a model where I have to use geometric distribution. I have attached a model where i set label on a source at exit trigger with value = geometric(2,1). But I find that the value is always coming as '-2147483648'. Why is that?

untitled.png

model1.fsm

FlexSim 17.1.1
statistical distributiongeometric
untitled.png (166.4 KiB)
model1.fsm (86.0 KiB)
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

Jacob Gillespie avatar image
1 Like"
Jacob Gillespie answered Jacob Gillespie edited

The first parameter should be a probability between 0 and 1.

var geometric(num prob[, num stream])
5 |100000

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