datafev.routines.simple_reservation package

Submodules

datafev.routines.simple_reservation.arrival module

src.datafev.routines.simple_reservation.arrival.arrival_routine(ts, tdelta, fleet)[source]

This routine is executed upon arrival of EVs that have smart reservations.

Parameters:
  • ts (datetime) – Current time.

  • tdelta (timedelta) – Resolution of scheduling.

  • fleet (data_handling.fleet) – EV fleet object.

Return type:

None.

datafev.routines.simple_reservation.reservation module

src.datafev.routines.simple_reservation.reservation.reservation_routine(ts, tdelta, system, fleet, traffic_forecast)[source]

This routine is executed to reserve chargers for the EVs approaching a multi-cluster system. The smart reservations specifies the cluster and charger the approaching EVs must connect to.

Parameters:
  • ts (datetime) – Current time.

  • tdelta (timedelta) – Resolution of scheduling.

  • system (data_handling.multi_cluster) – Multi-cluster system object.

  • fleet (data_handling.fleet) – EV fleet object.

  • traffic_forecast (dict of dict) – Traffic forecast data.

Return type:

None.