sim_explorer.simulator_interface

Module Attributes

Json5Val

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

SimulatorInterface([system, name, ...])

Class providing the interface to the simulator itself.

Exceptions

CaseInitError

Special error indicating that something is wrong during initialization of cases.

CaseUseError

Special error indicating that something is wrong during usage of cases.

exception sim_explorer.simulator_interface.CaseInitError

Special error indicating that something is wrong during initialization of cases.

exception sim_explorer.simulator_interface.CaseUseError

Special error indicating that something is wrong during usage of cases.

sim_explorer.simulator_interface.Json5Val: TypeAlias = str | float | int | bool | dict[str, 'Json5Val'] | list['Json5Val']

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.