Please enable JavaScript to view this site.

Vensim Help

It is possible to use a database to store any number of scenarios.

:CONNECT DATA1

:CONSTANTS

:VARNAME varname

:VALUE DataValue

:SELECT CONSTANT_VALS WHERE SCENARIO = ‘baseline’

Alternatively, you can use the Runname to map to the scenario name as in:

:CONNECT DATA1

:CONSTANTS

:VARNAME varname

:VALUE DataValue

:FILED SCENARIO=!

:SELECT CONSTANT_VALS

In this case the values would be selected from the scenario matching the run name.