turn on suggestions

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

- Navigation
- Tecnomatix
- Forums
- Blogs
- Knowledge Bases
- Groups

- Siemens PLM Community
- Tecnomatix
- Plant Simulation
- Random Number Stream Logic

Options

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

09-19-2016 04:53 AM - edited 09-19-2016 04:54 AM

Hallo,

Question in Short: Does the random number stream always start from the first digit when the stochastic variable itself is changed as above, i.e., by assigning new parameters, such as a,b, or c in case of triangular -- or 'mu' and 'sigma' in case of normal?

I am using version 8.2 and so have to manage random number streams myself. I handled this by writing creation controls that allocate unique number streams to all stochastic variables in the model automatically.

However, the ProcTime is supposed to be MU specific and based on a custom MU variable 'Qty'. Basically, there are steel cages filled with parts and so I want to base the ProcTime on the specific number of parts in the steel cage.

To achieve this, I am currently doing the following: Assuming the distribution is triangular, I am calculating 'a', 'b', and 'c' based on 'Qty' and the fixed parameters for a,b,c ProcTimes per piece. Then, I allocate this these numbers to the corresponding SingleProc's stochastic triangular variable. Again, the stochastic variable already has a number stream assigned to it. The hope is that the random number stream will just continue with the new parameters.

If this is not the case, my current procedure isn't working and other ideas are very much appreciated.

Best regards,

Sebastian

Solved! Go to Solution.

1 REPLY

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

09-19-2016 05:12 AM - edited 09-19-2016 05:14 AM

Plant Simultion does not reset the random number stream when you change the distribution parameters. So everything works like you expected, i.e. new random numbers will be generated.

_________________________________________________________________

Did you like the answer? Then click the Thumbs Up button.

Did the answer solve your problem? Then accept the answer as solution.

Did you like the answer? Then click the Thumbs Up button.

Did the answer solve your problem? Then accept the answer as solution.

Follow Siemens PLM Software

© 2018 Siemens Product Lifecycle Management Software Inc