User Tools

Site Tools


howtos:update_code_diagram

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
howtos:update_code_diagram [2011/10/07 18:13]
shona.weldon
howtos:update_code_diagram [2011/10/07 18:16] (current)
shona.weldon
Line 1: Line 1:
 There are times after the first load into SAMM while you shakedown / debugging when it is useful to modify some model code without having to go through the full model reload procedure. ​ There are times after the first load into SAMM while you shakedown / debugging when it is useful to modify some model code without having to go through the full model reload procedure. ​
  
-  * make the code changes in the .dmm diagram and run dimensional analysis which will refresh the code on the server.+  * In Documenter ​make the code changes in the .dmm diagram and run dimensional analysis which will refresh the code on the server.
 OR OR
   * Alternatively,​ in the appropriate ''​sim''​ or ''​cal''​ directory, locate the .t file for the calculator you want to modify (e.g. cal/​dwellingsC.t).   * Alternatively,​ in the appropriate ''​sim''​ or ''​cal''​ directory, locate the .t file for the calculator you want to modify (e.g. cal/​dwellingsC.t).
Line 7: Line 7:
  
 Then Then
-  - In SAMM, go to //Windows | Hierarchy//​.+  - Open SAMM 
   - //Set File Path...// to the appropriate cal or sim directory.   - //Set File Path...// to the appropriate cal or sim directory.
-  - Select //Hierarchy Actions | Reload Calculator...//​.+  ​- Go in the diagram to the calculator you want to patch the code for and open it up 
 +  - Go to the Windows menu and choose Hierarchy  
 +  ​- Select ​from the menus //Hierarchy Actions | Reload Calculator...//​.
   - The code can be verified from //Hierarchy Actions | Show Code...//.   - The code can be verified from //Hierarchy Actions | Show Code...//.
 Note: every variable downstream of this procedure will be out of date and need to be re-evaluated.\\ ​ Note: every variable downstream of this procedure will be out of date and need to be re-evaluated.\\ ​
howtos/update_code_diagram.1318011239.txt.gz · Last modified: 2011/10/07 18:13 by shona.weldon