User Tools

Site Tools


howtos:update_code_diagram

This is an old revision of the document!


There are times during model shakedown / debugging when it is useful to modify some model code without having to go through the full model reload procedure.

  1. In the appropriate sim or cal directory, locate the .t file for the calculator you want to modify (e.g. cal/dwellingsC.t).
  2. Make the desired code modifications in this file. Alternatively, make the code changes in the .dmm diagram and run dimensional analysis to output the .t file (recommended as it ensures that the .dmm is up to date).
  3. In SAMM, go to Windows | Hierarchy.
  4. Set File Path… to the appropriate cal or sim directory.
  5. Select Hierarchy Actions | Reload Calculator….
  6. The code can be verified from Hierarchy Actions | Show Code….
  7. Note: the diagram code will not reflect the updated code. However, this can be manually updated from Windows | Frameworks and then FW Actions | Load Diagram.
howtos/update_code_diagram.1258394233.txt.gz · Last modified: 2009/11/16 17:57 by marcus.williams