Skip to content

Commit

Permalink
actually track the charger occupation #70
Browse files Browse the repository at this point in the history
  • Loading branch information
mosc5 committed Nov 29, 2023
1 parent e4c7108 commit 8a82db2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/advantage/simulation_types/schedule.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ def _distribute_charging_slots(self, start: int, end: int, end_soc: float):
counter += 1
print(f"==== Simulating vehicle {veh.id} ====")
self._add_chosen_events(veh, chosen_events)
self.simulation.observer.add_all_vehicle_events(veh)

def _find_charging_slots(
self, start: int, end: int, vehicle: "Vehicle", end_soc: float
Expand Down

0 comments on commit 8a82db2

Please sign in to comment.