This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
howtos:model_loading_4.7.0 [2013/01/07 20:50] lindsey.pogue |
howtos:model_loading_4.7.0 [2019/03/17 16:55] marcus.williams |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Model Loading version 4.7.0: From Documenter to SAMM ====== | + | ====== Model Loading - From Documenter to SAMM ====== |
+ | |||
+ | ===== Model Family has Simulator AND Calibrator present ===== | ||
+ | |||
+ | ==== Documenter ==== | ||
* open any informant and click OK | * open any informant and click OK | ||
* open any measure and click OK | * open any measure and click OK | ||
Line 5: | Line 9: | ||
* run all in simulation mode | * run all in simulation mode | ||
* go to SAMM menu, Loading Files, Framework | * go to SAMM menu, Loading Files, Framework | ||
- | * exit Documenter and open SAMM | + | * Save the diagram Documenter; open SAMM |
+ | |||
+ | ==== SAMM ==== | ||
* Create Model Family, right click in Model Families windows and create | * Create Model Family, right click in Model Families windows and create | ||
* Set File Path | * Set File Path | ||
- | * Add sim framework (note: model base name must be root node name from documenter) | + | * Double click model family |
+ | * Right click, load | ||
+ | * Add sim framework (note: model base name must be root node name from documenter), description: sim | ||
* Add cal framework | * Add cal framework | ||
* Go to Windows -> Informants, and right click, load | * Go to Windows -> Informants, and right click, load | ||
- | * Unordered List Item | + | * Main informants (e.g. ''informants/'') |
+ | * Other informants such as subroutines (e.g. ''views/subroutines'') | ||
+ | |||
+ | ==== Calibrator view recipe ==== | ||
+ | |||
+ | * If a calibrator recipe does not yet exist you will need to start by creating a view to [[howtos:typical_initview#null_scenario_for_calibrator|make the null scenario]]. Or, if the framework 's input variables have changed since the previous nullScn view you will have to modify or recreate it. | ||
+ | * Run the null scenario view. | ||
+ | * Run the calibration recipe. | ||
+ | * Evaluate history ins for your tracking history - this prepares all the calibrator inputs and data needed for the simulator to be run over historic time. | ||
+ | * Right click on the tracking history scenario in the scenarios window and choose "Evaluate history inputs" | ||
+ | * Evaluate history outputs for your tracking history - this runs the simulator frame work over historic time and produces the history scenario | ||
+ | * Right click on the tracking history scenario in the scenarios window and choose "Evaluate history outputs" | ||
+ | * Name your historic scenario, we usually just use the name "history" - this will show up in the simulation framework | ||
+ | |||
+ | ==== Simulator view recipe ==== | ||
+ | * Enter the simulator (''sim'') framework and pick in the relevant history. | ||