User Tools

Site Tools


tutorials:model_family_directory_structure

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
tutorials:model_family_directory_structure [2009/11/12 02:14]
shona.weldon
— (current)
Line 1: Line 1:
-====== Model Family Directory Structure ====== 
  
-Within the model account there needs to be a directory structure for the design diagrams and many temporary files created by running dimensional analysis on the diagrams. 
- 
-The structure below is the recommended model family directory structure: 
- 
-<​code>​ 
-models/​modelAcct/​V1/​ 
-                   cal 
-                      views 
-                      scenarios 
-                   data 
-                   ​informants 
-                   sim 
-                      views 
-                      scenarios 
- 
-models/​modelAcct/​V2/​ 
-                   cal 
-                      views 
-                      scenarios 
-                   data 
-                   ​informants 
-                      textfiles 
-                   sim 
-                      views 
-                      scenarios 
- 
-models/​modelAcct/​V1/​primaryData 
-</​code>​ 
- 
-==== cal ==== 
-The **cal** directory is where the calibration diagram is stored and all the files related to calibration are kept in sub directories. 
- 
-The **views** folder holds all the views related to calibration. ​ These views load source data, do feedback for tracking on historic data, and produce display reports wrt the calibration. 
- 
-The **scenarios** folder holds exported data from loaded models. ​ It is often useful to store the intermediate results as working through a calibration process so that if it has to be re-loaded not all the previous work needs to be repeated. ​ Usually the tracking scenario is compared to the source history scenario and the difference is exported into this directory with an import script for future use. 
- 
-==== sim ==== 
-The **sim ** directory is where the simulation diagram is stored and all the files related to simulation are kept in sub directories. 
- 
-The **views** folder holds all the views related to simulation. ​ These views provide a way to setup the business as usual scenario as well as views for creating different parameters for creating alternate futures scenarios. 
- 
-The **scenarios** folder holds exported data from loaded models. ​ It is often useful to store certain scenarios as differences from the baseline so they can be easily re-created in future loads. 
- 
-==== informants ==== 
-The **informants** directory should be created inside the version folder, the diagrams will write the informant files into this directory.  ​ 
- 
-When first creating informants in the diagram it is often helpful to load the element lists from a text file.  Any text file used for this purpose is usually kept in the **informant/​textfiles** directory. ​ 
- 
-==== data ==== 
-This is create as a container where the sim and cal diagrams store temporary files related to the variables in the model. 
- 
-==== primaryData ==== 
-This is where the external inputs to the model are stored. ​ It is at a higher level than the model version directories so the data can be easily shared between the versions.  ​ 
- 
-===== Helpful script ===== 
- 
-The attached unix shell script creates these directories. ​ It is executed by placing the script file in the desired directory and typing: 
- 
-<​code>​ 
-csh mkdirs1.csh 
-</​code>​ 
tutorials/model_family_directory_structure.1257992053.txt.gz ยท Last modified: 2009/11/12 02:14 by shona.weldon