I just ran that small model and it generates a random number each period. This is a copy/paste from the model and both where run as simulations.
I originally had some game variables, but these were changed back to constants.
Search found 7 matches
- Mon Jan 25, 2010 2:39 pm
- Forum: Vensim
- Topic: Changing a random number each time period
- Replies: 7
- Views: 6306
- Mon Jan 25, 2010 12:36 pm
- Forum: Vensim
- Topic: Changing a random number each time period
- Replies: 7
- Views: 6306
- Mon Jan 25, 2010 3:00 am
- Forum: Vensim
- Topic: Changing a random number each time period
- Replies: 7
- Views: 6306
- Sun Jan 24, 2010 10:18 pm
- Forum: Vensim
- Topic: Changing a random number each time period
- Replies: 7
- Views: 6306
Changing a random number each time period
I cannot get a new random number at each time step. I downloaded the project_generator (http://www.ventanasystems.co.uk/forum/viewtopic.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 re...
- Sat Jan 23, 2010 6:12 am
- Forum: Vensim
- Topic: Reading a single variable during a game
- Replies: 2
- Views: 2890
Reading a single variable during a game
I am using VB to control a game (really a simulation with discrete time stops) so that I can process data/results from the current time step. I then will rewrite the .cin/.gin file and run the next time step. I have some complex decision processes that are much easier to code and run in VB. My issue...
- Wed Jul 15, 2009 1:50 am
- Forum: Vensim
- Topic: Trouble with cin load during simulation
- Replies: 1
- Views: 1909
- Tue Jul 14, 2009 11:28 pm
- Forum: Vensim
- Topic: Trouble with cin load during simulation
- Replies: 1
- Views: 1909
Trouble with cin load during simulation
I am trying to load a cin file so that I can change the cin file between runs and simulate multiple iterations of my model. I have the constant set in my list file for output and everytime I check the output files, my constant values used for the simulation do no reflect the cin file. I am using VB ...