logo


Menus & Buttons : File > Save

Save your model parameters as a project file.


Save your current project file with any changes you have made.

Saving Partial Modules

SimSAGS 4.1 project file format is identical to the Windows operating system's registry file and is compatible with both win98 and winXP (and possibly still with win95). Because of this it is possible to partition the parameters stored in the project file ad nauseum but if you do pursue this possibility you may prefer to group parameters by the main modules in your model; Time, Climate, Soil, Plants and Animals, but there is nothing stopping you from extracting subsets of the parameter list shown in the Parameter View window. For this purpose, there is a selector for the parameter scope when saving your project files included in the Parameter View window. Switch it from the default "Save All"
which saves the entire project to file, to "Save Selected Branch"
to literally save just the parameters currently selected in the tree hierarchy in the lower portion of the window. The resulting project file will only include the current parameter branch and branches stemming from it, so be careful not to overwrite your entire project files!

Inserting these partial module project files is less well supported in this version of the model software, but the simplest way is to navigate to where they are in Windows Explorer, rename them to *.reg files and double click them to get them inserted into the registry. Refresh your Parameter View and you will see those parameters newly appearing in your model. Now go ahead and "Save All" your entire project and you have a model constructed from partial modules. A bit tricky at present, but nonetheless, a very flexible and powerful method for combining parts of separate models. It is on the wish list.

Another complexity may be the internal naming of plant and animal types used within the project files (e.g., annual_grass_1 and herbivore_3). You will need to make sure that any imported parameter sets do not clash with current parameter sets in your current model (unless you really want to overwrite the current settings with the new ones) and also that the numbering in those internal names for the plant and animal types are continuous, i.e., annual_grass_1, annual_grass_2, annual_grass_3, perennial_grass_1, herbivore_1, herbivore_2, etc. It is on the wish list. Most text editors have a search and replace utility that can be used to prepare your project files.

Troubleshooting

You should be aware of an inconvenient Microsoft modification to registry file format since win98. If you get this type of error message in win98 "Registry Editor cannot import drive:\path\filename.reg: The specified file is not a registry script." then you need to manually edit the sags4.sgs file (or whichever sgs file is causing the problem) in your installation directory (default is C:\Program Files\SimSAGS4.1) using the following steps:
  • Open the sgs file using Notepad, and then change the header from Windows Registry Editor Version 5.0 to REGEDIT4.
  • On the File menu, click Save

    Note:
    • If you are using a Microsoft Windows NT-based OS, clear the Save as Unicode check box.
    • If you are using Windows 2000, change Encoding to ANSI.
  • Exit Notepad.exe.
REM
registered
XHTML 1.0 6sm Get PFE