Please enable JavaScript to view this site.

Vensim Help

Compares two loaded runs and writes the result to outfile, as the Runs Compare tool does, but without opening a window. It is meant for scripts.

run1 and run2 name loaded runs. A name is matched against the run as loaded; failing that, against the run's file name without its directory or extension, so a run loaded from a folder is found by its file name alone.

The file is tab-delimited, with the same columns the tool shows: variable, type, difference, time, the two values, and for time series the difference statistics.

Every variable type is compared, at zero tolerance, whatever the tool's own options say - a script gets the same answer on any machine. Gaming inputs are not compared.

SPECIAL>LOADMODEL|mymodel.mdl

SPECIAL>LOADRUN|base.vdfx

SPECIAL>LOADRUN|policy.vdfx

MENU>RUNCOMPARE|base|policy|diff.tab