AnswerHub Upload Issue
Our AnswerHub community currently has a bug that prevents you from attaching your model or other files to your questions. AnswerHub is aware of this issue and they are working on a fix. Until we receive their patch, you can upload your models and other files to FlexSim's file share site. Include the file name in your question so that we know which upload to reference.

question

Maria F avatar image
0 Likes"
Maria F asked Joerg Vogel commented

getstream(current) vs. getstream()

What is the difference between

getstream(current)

getstream()

What is the default stream in v 22.0.1

Thanks


FlexSim 22.1.0
getstream
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

·
Jason Lightfoot avatar image
0 Likes"
Jason Lightfoot answered Joerg Vogel commented

getstream() is invalid syntax - it needs an object parameter (current in your example) so that it can create a reference for a new stream number that it stores centrally against that object. The stream represents a unique progression of random numbers. There's no such thing as a default stream unless you are referring to stochastic functions where the stream parameter is optional. In those cases - it's the same as any other optional numeric parameter - it will be evaluated as zero.

· 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.

if you have a statistical distribution and you don't set a number generator, then the default random number generator is 0.

0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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