Please enable JavaScript to view this site.

Vensim Help

Navigation: Reference Guide > Text Editor

Interacting With Models

Scroll Prev Top Next More

When you have a model in the Text Editor, you can translate the text into a collection of logical and computable interconnections.  The parts of the model that are successively translated in this manner can then be used as the Workbench model.

Normally, this translation process is carried out automatically every time you use a tool, select a variable, or invoke one of the main menu commands.  With automatic translation, Vensim attempts to hide the process.  If there are syntax errors, this is not possible because large parts of what you perceive to be your model might be unintelligible to Vensim.  If this is the case, you are notified of the error and asked if you want to correct it.  If you do not correct a syntax error, the resulting causal structure as understood by Vensim can be incomplete and incorrect.  If you do correct a syntax error, you will need to invoke the command that triggered the reporting of the error again.

When you explicitly ask to translate your equations using the Model>Check Model command, the results of translation are reported.  Translation will stop if there is a syntax error.  In off-line mode, the File>Load command also causes the model to be checked and the existing Workbench model will not be replaced if there are syntax errors.  If there are semantic errors (simultaneous equations or misused subscripts), you will not be able to simulate.  These two types of errors are discussed in the following two sections.  See also Errors.