ATTENTIONThis FlexSim Community Forum is read-only. Please post any new questions, ideas, or discussions to our new community (we call it Answers) at https://answers.flexsim.com/. Our new Question & Answer site brings a modern, mobile-friendly interface and more focus on getting answers quickly. There are a few differences between how our new Q&A community works vs. a classic, threaded-conversation-style forum like the one below, so be sure to read our Answers Best Practices. |
flexsim.com |
#1
|
|||
|
|||
dempirical with random seed 100
Hi,
I found a weird results from "dempirical" command with random seed of 100. It seems it always returns the first outcome. I tested with other random seeds, and they seem work fine, though. Attached is a screen capture I tested. Anybody has the same experience? Could you please test out the following script and let me know what you get? It could be just my machine??? I executed the command against a global table named "GlobalTable1". Two outcomes are defined as 1 and 2 with equal %, 50 an 50. I tested it in FlexSim 7.5 and 7.7, and got the same results. pd(dempirical("GlobalTable1", 100));pc(9);pd(dempirical("GlobalTable1", 10));pr(); Thank you for your checking. |
The Following User Says Thank You to Sung Kim For This Useful Post: | ||
arunkrmahadeva (01-26-2016) |
#2
|
||||
|
||||
"Although there are an unlimited number of random number streams available to the user, only the first one hundred streams numbered 0 through 99 have been initialized when the FlexSim application is opened. To create a new stream, simply execute the randinit() command for the new stream."
See the documentation for the randinit() command. |
The Following 4 Users Say Thank You to Phil BoBo For This Useful Post: | ||
syseo (01-27-2016) |
#4
|
|||
|
|||
You can also set it in model settings where they're initialized at reset.
|
The Following 3 Users Say Thank You to Jason Lightfoot For This Useful Post: | ||
Sung Kim (01-25-2016) |
Tags |
dempirical, random seed |
Thread | Thread Starter | Forum | Replies | Last Post |
Dempirical Issue | frankwolfe | Q&A | 2 | 02-01-2014 07:32 PM |
repeat random streams | Sebastian Hemmann | FlexSim HC: Q&A | 2 | 10-10-2013 11:25 PM |
random tasks | emrecakmak | Q&A | 1 | 09-27-2010 02:00 AM |
More random random number | Paul Dowling | Q&A | 6 | 06-01-2008 07:30 PM |
Explanation of empirical, cempirical and dempirical distributions | Cliff King | Q&A | 0 | 01-04-2008 12:12 PM |