I cannot get a new random number at each time step. I downloaded the project_generator (http://www.ventanasystems.co.uk/forum/v ... php?t=2825). When I load this it creates a uniform random number for each time period, but my model creates a single value at time 1 and remains constant for the rest of the simulation. My variable is Auxiliary:Normal with the following argument [integer(RANDOM UNIFORM(0,max random, 0))].
I checked all of the settings between the example and my settings, but I can't find any difference.
Changing a random number each time period
-
- Junior Member
- Posts: 7
- Joined: Tue May 12, 2009 10:18 pm
-
- Super Administrator
- Posts: 4592
- Joined: Wed Mar 05, 2003 3:10 am
-
- Junior Member
- Posts: 7
- Joined: Tue May 12, 2009 10:18 pm
-
- Super Administrator
- Posts: 4592
- Joined: Wed Mar 05, 2003 3:10 am
-
- Junior Member
- Posts: 7
- Joined: Tue May 12, 2009 10:18 pm
Here is the portion of the model
- Attachments
-
- random number model.mdl
- (1.27 KiB) Downloaded 192 times
-
- Senior Member
- Posts: 1107
- Joined: Wed Mar 12, 2003 2:46 pm
If I simulate the model you posted it generates a 101 points in a random sequence. Are you trying to use this in gaming mode?
[Edited on 2010-1-25 by bob@vensim.com]
[Edited on 2010-1-25 by bob@vensim.com]
-
- Junior Member
- Posts: 7
- Joined: Tue May 12, 2009 10:18 pm
-
- Senior Member
- Posts: 1107
- Joined: Wed Mar 12, 2003 2:46 pm