User Tools

Site Tools


howtos:model_loading

This is an old revision of the document!


How to Load a Model from Documenter into SAMM

Prepare for loading from inside Documenter

1. Ensure the calibrator and simulator diagrams are synchronized

2. Open the calibrator diagram & simulator diagrams in Documenter

3. In the simulator diagram, run one calculator forward

4. In the calibrator diagram, touch the informants and measures to trigger the model to output the informants

 a. Go into any one informant under the informants tab and click OK
 b. Go into any measure under the measures tab and click OK

Note: The calibrator versions of the informants and measures are the authority versions and the simulator ones may get out of sync

5. In the calibrator diagram, run all calculators forward

6. In the simulator diagram, run all calculators forward

7. In the simulator diagram, run all calculators backward

8. In the simulator diagram, create the loading files for SAMM

  a. Choose menu item SAMM > Loading files > Framework...
  b. Click "simulator with calibrator" button
  c. Make sure the "informant" check box is OFF!!
  d. Click OK

9. In the calibrator diagram, create the loading files for SAMM

  a. Choose menu item SAMM > Loading files > Framework...
  b. Click "calibrator" button
  c. Make sure the "informant" check box is ON!!
  d. Click OK

Load model inside SAMM

1. Open SAMM and login under model account

2. Create a new model family

 a. Choose menu item MF Actions > Create OR right click in Model Families window and choose Create
 b. "MB name" should be a string with no spaces or strange characters.  It is Often related to the ModelBase name in the root of the model but it does not have to be.
 c. Fill in an English description.
 d. Click OK

3. Enter the Model Family by double clicking on it. A check mark appears in the Model Families window.

4. Setup the default file path

 a. Choose menu item File > Set File Path...
 b. This is a unix style path so use forward slashes and direct it to the location of the simulator files (e.g. /models/tcteem/V5/sim)

5. Load the simulator and calibrator frameworks

 a. Choose menu item FW Actions > Load OR right click and select Load (note the location is what you set in step 4)
 b. MB name: MUST be the model base name from the root of the simulation diagram, give it the description “sim”
 c. Adjust your default file path to the cal location (e.g. /models/tcteem/V5/cal)
 d. Repeat loading framework for cal BUT choose the check button to say it is a calibration framework, use the MB name from the calibration diagram, and enter "cal" as the description

6. Load informants

 a. Choose menu item Windows > Informants
 b. Right click and select Load (path should be correct because of 5c)
 c. Adjust the file location if it is incorrect (should be something like /models/tcteem/V5/cal/informs.samm)
howtos/model_loading.1257454665.txt.gz · Last modified: 2009/11/05 20:57 by shona.weldon