Announcements

Announcement: We’re aware of an issue affecting starting a new topic from category pages and creating new blog posts. New topics can still be started directly from the relevant board. Learn more here.

What representation has the use of a "stream" in the FlexSim simulator?

What representation has the use of a "stream" in the FlexSim simulator?

omar_aguilera_rico
Not applicable
772 Views
4 Replies
Message 1 of 5

What representation has the use of a "stream" in the FlexSim simulator?

omar_aguilera_rico
Not applicable

[ FlexSim 18.0.1 ]

I want to understand a little better the use or how it is affected when using the "stream".

Accepted solutions (1)
773 Views
4 Replies
Replies (4)
Message 2 of 5

Matthew_Gillespie
Autodesk
Autodesk
Accepted solution

This post explains what a random number stream is and why they're important.

This post explains why you should try to use a unique stream for each object in your model.

We recommend using a unique random number stream for each object in your model. This improves the repeatability of the model and keeps small changes made in one part of your model from affecting the behavior of other parts of your model. You can use the getstream() command to automatically assign a unique stream number to each object that uses the command. Just put getstream(current) as the stream number in any distributions you use. (Or getstream(activity) in Process Flow).



Matthew Gillespie
FlexSim Software Developer

Message 3 of 5

jing_chen
Not applicable

hi Matthew the link shows

Access Denied

0 Likes
Message 4 of 5

Ben_WilsonADSK
Community Manager
Community Manager

@jing.chen, please try the links now. I moved the Q&A's into the default "Software & Simulation Questions" space...

0 Likes
Message 5 of 5

jason_lightfoot_adsk
Autodesk
Autodesk

If an activity is shared between resources/objects in the model that are invoking a given process, and you have the option to use the object for the stream value - this will likely be better than using getstream(activity) which I would strongly recommend people avoid in those cases due to changes in sequence through the activity. If your activity is in an object/instanced process flow you can then of course use getstream(current) or similar - and ideally, you would be able to use getstream(activity) in instanced flows iff the stream was also instanced (which in v21 it is not).