sim_explorer.case

Python module to manage cases with respect to reading *.cases files, running cases and storing results.

Module Attributes

logger

sim_explorer module for definition and execution of simulation experiments * read and compile the case definitions from configuration file Note that Json5 is here restriced to 'ordered keys' and 'unique keys within an object' * set the start variables for a given case * manipulate variables according to conditions during the simulation run * save requested variables at given communication points during a simulation run * check the validity of results when saving variables

Classes

Case(cases, name, spec[, special])

Instantiation of a Case object.

Cases(spec)

Global book-keeping of all cases defined for a system model.

Results([case, file])

Manage the results of a case.

sim_explorer.case.logger = <Logger sim_explorer.case (WARNING)>

sim_explorer module for definition and execution of simulation experiments * read and compile the case definitions from configuration file

Note that Json5 is here restriced to ‘ordered keys’ and ‘unique keys within an object’

  • set the start variables for a given case

  • manipulate variables according to conditions during the simulation run

  • save requested variables at given communication points during a simulation run

  • check the validity of results when saving variables

With respect to MVx in general, this module serves the preparation of start conditions for smart testing. Note: The classes Case and Cases should be kept together in this file to avoid circular references.