# Using Model Diagnostics

When you save a model, the software keeps track of the diagram layout, equations, table and graph data, and other important information by storing lists within the model file. Occasionally a glitch or some other interruption to the save process can cause these lists to become out of sync. Although this is very unusual, if you suspect that this may have occurred, you can check for and usually correct such damage using the software’s Model Diagnostics feature.

Before using any of the Model Diagnostics features, we urge you to make a backup copy of your model.

To access the Model Diagnostics features, hold down the Shift key while opening the model. Before opening the model, the software will display the Model Diagnostic Options dialog. Among the options given are “Reparse all equations” and “Verify/Repair model.”

Checking “Reparse all equations” forces the software to examine all the equations in the model. If for some reason the model contains an invalid equation that does not have a question mark on its corresponding building block, a question mark will be added so that you can locate and correct the offending equation.

When you check “Verify/Repair Model,” the Run menu on both the Map/Model level and the Interface level will contain a new “Verify/Repair Model” option.

You should run the “Verify/Repair Model “ option on both the Interface level and the Map/Model Level. Upon pressing the Start button, the software will scan through the structure of the model. If any errors are encountered, you should press the Continue button to continue with diagnostic process. Before pressing Continue, we recommend that you make a note of any errors that you encounter in case you subsequently need to contact us.

Once you have successfully completed the procedure outlined above, you should save your model. As a precaution, the software will not allow you to overwrite the original model. You will therefore need to provide a new file name. To confirm that the problem has been corrected, close and reopen the new model file and then run it.

If the procedure highlighted any errors that could not be corrected of if you continue to experience problems loading or running your model, we recommend that you contact our Customer Services Group for assistance.