Please enable JavaScript to view this site.

Vensim Help

Change the based on run control parameter to oldrun.  If oldrun is 0 or missing Based On is reset to empty.  BASED is normally used in conjunction with the SIMULATE>RESUME command.  SIMULATE>BASED will reset any changes to constants that might have been made using SIMULATE>READCIN, SIMULATE>SETVAL or SIMULATE>READRUNCHG.

BASED acts at once: it resets the working values to the model's own and then reads oldrun. So it belongs before the commands that set values, not after. It also reads the resume switch and resume time as they stand at that moment, which is why SIMULATE>RESUME has to come first. See Sequencing simulation setup commands.