simplelife¶
The main module to build a simplelife model.
This module contains only one function build()
,
which creates a model from source modules and return it.
If this module is run as a script, the build()
function is called
and the created model is available as model
global variable.
Functions
|
Build a model and return it. |
-
build
(load_saved=False)[source]¶ Build a model and return it.
Read input data from input.xlsm, create Input space and its subspace and cells and populate them with the data.
- Parameters
load_saved – If
True
, input data is read from simplelife.mx file instead of input.xlsm, which is saved whenbuild_input
is executed last time. Defaults toFalse