Ability to control random stream for whole model?

Hi,

Is it possible to control the random stream of the whole model, for example incrementing the stream on reset?
Right now, all distributions give the same value on each simulation run (like intended because it’s the same stream in each component), but what if I want to run a new simulation where the streams are changed and therefore give different results? It’s not a viable solution to change every stream in every component before each run obviously.

In other simulation software that I know of, it’s easily controlled in some general settings of the model, e.g. EventController menu in Siemens Technomatix Plant Simulation. Any similar setting/solution in Visual Components?

Best Regards
Rasmus

There is no UI for it, but you can get and set the random stream seed values through ISimWorld interface in the .NET API.
These should affect all your distribution properties where a random stream has been selected.

Hi! Can this be used as a plug-in or other form of assigning values to component properties?

image
I use it by Python. So far this is how I use it

@tangtang

Will this code enable to have a random stream between 3 and 10 for each simulation run?

Yes. It has a different value every time.