spice_ev.strategy.Strategy.step

Strategy.step(event_list=[])

Prepare next timestep for specific charging strategy.

Processes next events, makes some sanity checks and resets loads at grid connectors.

Parameters:

event_list (list) – List of events

Raises:
  • Exception – if an unknown event type is encountered or a GC has neither associated costs nor schedule at any time

  • RuntimeError – if any vehicle SoC becomes negative (use ALLOW_NEGATIVE_SOC to suppress)