Search found 7 matches

by miller2158
Mon Jan 25, 2010 2:39 pm
Forum: Vensim
Topic: Changing a random number each time period
Replies: 7
Views: 6306

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.
by miller2158
Mon Jan 25, 2010 12:36 pm
Forum: Vensim
Topic: Changing a random number each time period
Replies: 7
Views: 6306

Here is the portion of the model
by miller2158
Mon Jan 25, 2010 3:00 am
Forum: Vensim
Topic: Changing a random number each time period
Replies: 7
Views: 6306

It is currently set at 100 to generate a 1% distribution for a decision at each time step.
by miller2158
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...
by miller2158
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...
by miller2158
Wed Jul 15, 2009 1:50 am
Forum: Vensim
Topic: Trouble with cin load during simulation
Replies: 1
Views: 1909

Never mind. I found the error.
by miller2158
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 ...