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 | ||
how_tos [2012/02/08 19:02] shona.weldon |
how_tos [2018/10/20 16:01] marcus.williams [General] |
||
---|---|---|---|
Line 5: | Line 5: | ||
* [[Framework Information Settings]] | * [[Framework Information Settings]] | ||
* [[Creating a Calibration Diagram]] | * [[Creating a Calibration Diagram]] | ||
+ | * [[Sim Binding Links|Sim Binding Links in 4.7.0+]] | ||
+ | * [[Breaking out a mini model for focused work]] | ||
===== TOOL coding ===== | ===== TOOL coding ===== | ||
Line 15: | Line 17: | ||
* [[howtos:toolcoding:TOOL Shell Scripts]] FIXME /*- Marcus*/ | * [[howtos:toolcoding:TOOL Shell Scripts]] FIXME /*- Marcus*/ | ||
* [[howtos:toolcoding:Conditional logic for code running in simulation vs calibration]] | * [[howtos:toolcoding:Conditional logic for code running in simulation vs calibration]] | ||
+ | * [[howtos:toolcoding:Informant naming conventions]] | ||
==== View Writing ==== | ==== View Writing ==== | ||
* [[howtos:toolcoding:user_interaction|Interacting with the user in views]] | * [[howtos:toolcoding:user_interaction|Interacting with the user in views]] | ||
* [[howtos:toolcoding:General View Writing]] | * [[howtos:toolcoding:General View Writing]] | ||
+ | * [[howtos:toolcoding:View Naming Conventions]] | ||
* [[howtos:toolcoding:Common History and Background Checks]] | * [[howtos:toolcoding:Common History and Background Checks]] | ||
* [[howtos:toolcoding:Multiple Scenario Display Views]] | * [[howtos:toolcoding:Multiple Scenario Display Views]] | ||
* [[howtos:toolcoding:Feedback views]] | * [[howtos:toolcoding:Feedback views]] | ||
- | * [[howtos:toolcoding:View templates]] FIXME /* marcus */ | + | * [[https://www.whatiftechnologies.com/doku.php?id=how_tos#feedback_tracking_methods|Feedback Tracking Methods]] |
+ | * Data directories | ||
+ | * **primaryData** - all your source data for your history and calibration usually lives in: /models/<model>/primaryData (note NOT under the version number) | ||
+ | * **referenceData** - all the various data that will inform your projections & comparisons in the simulation time /models/<model>/referenceData (note NOT under the version number) | ||
+ | * **viewData** - data informing views including: past user interaction, custom aggregation mappings, parameters for reference scenario: /models/<model>/<Version>/viewData | ||
+ | === Re-usable code - Templates & Subroutines === | ||
+ | * [[howtos:toolcoding:RachetingInView|Ratcheting - Save project specific view interactions for next run]] | ||
+ | * [[howtos:toolcoding:projectNamesDefn|Defining a project for the project list]] | ||
+ | * [[howtos:toolcoding:viewInformants|view specific informants]] | ||
+ | * [[howtos:toolcoding:getProjectExportPath|Getting project specific paths]] | ||
+ | * [[howtos:toolcoding:subRoutinePackage|Sub-routine package - setup and loading]] | ||
+ | * [[howtos:toolcoding:exogSwitch|Exogenous Variable Switch]] | ||
+ | * Templates | ||
+ | * [[howtos:toolcoding:levelORIntenstiveVarProjection|level or intenstive variable projection]] | ||
+ | * [[howtos:toolcoding:shareVarProjection|share variable projection]] | ||
+ | * Subroutines | ||
+ | * [[howtos:toolcoding:satProjForReference|saturated projection for reference]] | ||
+ | * [[howtos:toolcoding:stepwiseChangeQuietOption|stepwise change]] | ||
==== Recipes ==== | ==== Recipes ==== | ||
* [[howtos:toolcoding:Boolean Masks]] | * [[howtos:toolcoding:Boolean Masks]] | ||
+ | * [[howtos:toolcoding:Bitwise operations]] | ||
* [[howtos:toolcoding:Projecting A Share into Simulation Time|Projecting a Variable into Simulation Time]] | * [[howtos:toolcoding:Projecting A Share into Simulation Time|Projecting a Variable into Simulation Time]] | ||
* [[howtos:toolcoding:Ranges]] | * [[howtos:toolcoding:Ranges]] | ||
Line 40: | Line 62: | ||
===== Model Loading ===== | ===== Model Loading ===== | ||
- | * [[howtos:model_loading|Model Loading: From Documenter to SAMM]] | + | /* * [[howtos:model_loading|Model Loading: From Documenter to SAMM]] */ |
* [[howtos:model_loading_4.7.0|Model Loading version 4.7.0: From Documenter to SAMM]] | * [[howtos:model_loading_4.7.0|Model Loading version 4.7.0: From Documenter to SAMM]] | ||
* [[howtos:update_code_diagram|Updating model code and diagrams without a full reload]] | * [[howtos:update_code_diagram|Updating model code and diagrams without a full reload]] | ||
Line 51: | Line 73: | ||
* [[howtos:workwithdata:Overview of reading data]] FIXME | * [[howtos:workwithdata:Overview of reading data]] FIXME | ||
* [[howtos:workwithdata:Data Format vs File Format]] | * [[howtos:workwithdata:Data Format vs File Format]] | ||
+ | ==== Preparing files ==== | ||
+ | In general the data files should not be touched! Try hard to take the data file from it's source and manipulate it | ||
+ | in the model or in a view to fit the objects you need to file. | ||
+ | |||
+ | If, however, you want to prepare an empty file to then get others to fill in: | ||
+ | * [[howtos:workwithdata:Prepare empty file from documenter]] | ||
==== Reading data ==== | ==== Reading data ==== | ||
Line 69: | Line 97: | ||
=== Examples === | === Examples === | ||
- | * [[howtos:workwithdata:Import Quick Reference| Import examples]] - single ''import()'' calls | + | * [[howtos:workwithdata:Import Quick Reference| Import and create examples]] - example ''import()'' and ''create()'' calls |
Line 134: | Line 162: | ||
* [[howtos:admin:Model Base Patching]] | * [[howtos:admin:Model Base Patching]] | ||
* [[howtos:admin:Freeing a ReadOnly documentor file]] | * [[howtos:admin:Freeing a ReadOnly documentor file]] | ||
- |