Usage
load_model_run(model, run)
load_run(model, run)
Arguments
- model
Model digest or model name.
- run
Model run digest, run stamp or run name, modeling task run
stamp or task run name.
Value
An OpenMppModelRun
instance.
Details
load_run()
is an alias for load_model_run()
.
Public fields
RunName
Run name.
RunDigest
Run digest.
RunStamp
Run stamp.
RunMetadata
Run metadata.
Parameters
Model run parameters.
Tables
Model run output tables
OpenMppType
OpenM++ object type (used for print()
).
Active bindings
RunStatusInfo
Run status information.
RunStatus
Run status.
Methods
Method new()
Create a new OpenMppModelRun object.
Arguments
model
Model digest or name.
run
Run digest, run stamp, or run name.
Returns
A new OpenMppModelRun
object.
Print a OpenMppModelRun
object.
Usage
OpenMppModelRun$print(...)
Method get_table()
Retrieve a table.
Usage
OpenMppModelRun$get_table(name)
Method get_table_calc()
Retrieve a table calculation.
Usage
OpenMppModelRun$get_table_calc(name, calc)
Arguments
name
Table name.
calc
Name of calculation. One of "avg"
, "sum"
, "count"
,
"max"
, "min"
, "var"
, "sd"
, "se"
, or "cv"
.
Method get_table_comparison()
Retrieve a table comparison.
Usage
OpenMppModelRun$get_table_comparison(name, compare, variant)
Arguments
name
Table name.
compare
Comparison to calculate. One of "diff"
, "ratio"
, or
"percent"
.
variant
Run digest, name, or stamp for the variant model run.
Method write_table()
Write an output table to disk (CSV).
Usage
OpenMppModelRun$write_table(name, file)
Arguments
name
Table name.
file
File path.
Method write_tables()
Write all output tables to disk (CSV).
Usage
OpenMppModelRun$write_tables(dir)
Method get_log()
Get console log for model run.
Usage
OpenMppModelRun$get_log()
Method write_log()
Write console log for model run to disk.
Usage
OpenMppModelRun$write_log(dir)
Arguments
dir
Directory to save log file.