Download LIAM2 User Guide

Transcript
LIAM2 User Guide, Release 0.10.2
3.6.8 skip_shows
If set to True, makes all show() functions do nothing. This can speed up simulations which include many shows
(usually for debugging). Defaults to False.
3.6.9 assertions
This option can take any of the following values:
raise interrupt the simulation if an assertion fails (this is the default).
warn display a warning message.
skip do not run the assertions at all.
3.6.10 default_entity
If set to the name of an entity, the interactive console will start in that entity.
3.6.11 logging
level
Sets logging level. If set, it should be one of the three following values (by increasing level of verbosity):
periods show only periods.
functions show periods and functions (this is the default).
Changed in version 0.10: Renamed from “procedures” to “functions”.
procedures Deprecated since version 0.10: Please use “functions” instead.
processes show periods, functions and individual processes.
timings
If set to False, hide all timings from the simulation log, so that two simulation log files are more easily comparable
(for example with “diff” tools like WinMerge). Defaults to True.
3.6.12 autodump
If this option is used, at the end of each function, all (non-scalar) variables changed during the function (including
temporaries) will be dumped in an hdf5 file (named “autodump.h5” by default). This option can be used alone for
debugging, or in combination with autodiff (in a later run). This option can take either a filename or a boolean (in
which case “autodump.h5” is used as the filename). Defaults to False.
3.6.13 autodiff
If this option is used, at the end of each function, all (non-scalar) variables changed during the function (including
temporaries) will be compared with the values stored previously by autodump in another run of the model (or a
variant of it). This can be used to precisely compare two versions/variants of a model and see exactly where they
start to differ. This option can take either a filename or a boolean (in which case “autodump.h5” is used as the
filename). Defaults to False.
3.6. simulation
11