Simulations

Simulations can be directly from Python or suing the command line interface (CLI).

Python Interface

To run a simulation from Python, you need to provide a configuration file. Then you can start the simulation as follows:

from illuminator.engine import Simulation

simulation = Simulation('<path/to/config.yaml>')
simulation.run()

CLI

You can use the commands scenario run to start a simulation from the terminal:

illuminator scenario run <path/to/config.yaml>