Problem with updating of Check Button, Radio Button, Combo B

Use this forum to post Sable related questions.

Moderator: Administrator

Post Reply
Administrator
Super Administrator
Posts: 4590
Joined: Wed Mar 05, 2003 3:10 am

Problem with updating of Check Button, Radio Button, Combo B

Post by Administrator »

[ADMIN]This was received via e-mail.[ADMIN]

I have problem using any of the following tools to set up my model and simulate
it:

Check Button, Radio Button, Combo Box, and Slider.

The problem is that when I use the above tools to set a constant and/or a game
variable at specific value different from what is initially loaded in a CIN
file, as soon as I click on the run button and start the simulation, the tools
return to their initial value and I do not get the simulation based on the
value of parameters that I set by the above tools. What I am not doing right?
I used different set of commands in the "run" button. Here is one example of
the commands that I put in the "run" button:

SIMULATE>READCIN|temp
SIMULATE>RUNNAME|temp
Run
SIMULATE>WRITECIN|temp

Please let me know how can I get to the mailing list of peaople who are using
sable and might have faced the same problems that I am facing now and might be
able to help me as I continue to work with sable.

Thanks

[Edited on 7-8-2003 by Administrator]
Administrator
Super Administrator
Posts: 4590
Joined: Wed Mar 05, 2003 3:10 am

Post by Administrator »

[ADMIN]Response via e-mail.[ADMIN]

This is how Sable/Vensim works. When you are in Vensim and do a run, all constants etc return to their previous values. This is exactly how Sable works as well.

To get around the problem, simply write a CIN file before the run is done, and read it immediately afterwards
SIMULATE>WRITECIN|temp
Run
SIMULATE>READCIN|temp

This will load all the values you had for the simulation.

There is no mailing list for Sable, but there is a forum, http://www.ventanasystems.co.uk, feel free to ask these types of questions there.

Tony.

[Edited on 7-8-2003 by Administrator]
Post Reply