SimLang Model Context Example
These are examples of a model context file for a SimLang model.
Learn more
For a comprehensive reference on the model context schema, please read Model context schema.
Saving run variables to database
To save variables, add a variables object to your model context file, as in the context file sample below.
Specify which variables to save
"variables": {
"Revenue": {
"save": true
},
"Cumulative Revenue": {
"save": true,
"dialect": "POINT_IN_TIME"
},
"Step": {
"save": true
}
}