spice_ev.scenario.Scenario.run

Scenario.run(strategy_name, options)

Run the scenario.

Goes stepwise through all timesteps of the simulation and calls the strategy.step method for each timestep. Prints and saves results.

Parameters:
  • strategy_name (str) – name of the charging strategy

  • options (dict) – options of the charging strategy defined in simulate.cfg