spice_ev.strategies.balanced.load_vehicle

spice_ev.strategies.balanced.load_vehicle(strategy, cs, gc, vehicle, cs_id, charging_stations, avail_bat_power)

Load one vehicle with balanced charging strategy.

Parameters:
  • strategy (Strategy) – current world state

  • cs (dict) – charging station dict

  • gc (dict) – grid connector dict

  • vehicle (dict) – vehicle dict

  • cs_id (str) – name of the charging station

  • charging_stations (dict) – charging stations

  • avail_bat_power (float) – available battery power of the gc

Returns:

current time and commands of the charging stations

Return type:

dict