Constructor

Create a simulation

Simulation ( name, caching=True )

Params:

  • name: string, a unique name for simulation
  • caching: (optional), default True
    • use local caching system

Return:

New simulation instance.

myhome = Simulation('myhome')

❗️

Danger: do not set caching to false

If you choose not to use caching, it is unstable. We recommend you to use default, set caching to True. The problem requires upgrade underlying data structure, so it can not be resolved until next release. The caching option is only here for having persistent API.