Please enable JavaScript to view this site.

Vensim Help

Navigation: Reference Guide > DSS Supplement > Venapps > Command Descriptions > SPECIAL

SPECIAL>LOADMODEL|mdlname|password

Scroll Prev Top Next More

Load the model mdlname.  If the model is in a different directory, that directory will become current.  This command can be followed by a SPECIAL>LOADAPPINT command to shift between Vensim applications.  When doing this you do not need to specify a directory for the LOADAPPINT command as long as the application interface is in the same directory as the model.  You can use relative directory strings in DOS format (e.g. ..\intro.vmf) and they will automatically be translated for the Macintosh.

You can load both text format model (.mdl files) and binary format models (.vmf) files as well as packaged models.  For anything except Vensim DSS the model needs to be contains in a package (.vpm or .vpa) file.  That is, if you have a package with multiple model you can use LOADMODEL to switch between them, but to get to a model in another packager you must use LOADMODEL|package to open the new package. If you do this the package must be a .vpm file. If you want to load a .vpa file use LOADAPPINT.

If you specify password it will be used as the password for the model or packaged model to be opened. If you do not, the user will be queried for a password.

NOTE that if you load text format models, the SIMULATE>READRUNCHG and SIMULATE>BASED commands will not work very well since the time stamps on the models will not match from session to session.

As with other file names, you can use a ? to query for the name of a model to load.