eflips-depot 4.1.4__py3-none-any.whl → 4.1.5__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of eflips-depot might be problematic. Click here for more details.

@@ -1024,8 +1024,10 @@ def _get_finished_schedules_per_vehicle(
1024
1024
  f"interfaces or increase charging power ."
1025
1025
  )
1026
1026
 
1027
- elif i == len(list_of_finished_trips) - 1:
1028
- earliest_time = list_of_finished_trips[i - 1].atd
1027
+ elif i != 0 and i == len(list_of_finished_trips) - 1:
1028
+ # Vehicle's last trip is a non-copy trip
1029
+ if earliest_time is None:
1030
+ earliest_time = list_of_finished_trips[i - 1].atd
1029
1031
  latest_time = list_of_finished_trips[i].ata
1030
1032
 
1031
1033
  else:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: eflips-depot
3
- Version: 4.1.4
3
+ Version: 4.1.5
4
4
  Summary: Depot Simulation for eFLIPS
5
5
  Home-page: https://github.com/mpm-tu-berlin/eflips-depot
6
6
  License: AGPL-3.0-or-later
@@ -1,5 +1,5 @@
1
1
  eflips/depot/__init__.py,sha256=n7jte8R6j_Ad4Mp4hkklKwil5r8u8Q_SbXrCC-nf5jM,1556
2
- eflips/depot/api/__init__.py,sha256=ONSNwj4H8bPnOdRc49ooMQhHQuDM-Q6JQk16URDgkMc,65235
2
+ eflips/depot/api/__init__.py,sha256=GmDe728X8GcUFJKvk-jmdDp2N7V8wMVrnQ2D0G3qFMQ,65349
3
3
  eflips/depot/api/defaults/default_settings.json,sha256=0eUDTw_rtLQFvthP8oJL93iRXlmAOravAg-4qqGMQAY,5375
4
4
  eflips/depot/api/private/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
5
5
  eflips/depot/api/private/depot.py,sha256=pgLk9rdjZthk35vKCTmcl4VfjYQJRnqR-CPGwBs_9zk,18111
@@ -35,7 +35,7 @@ eflips/depot/simulation.py,sha256=ee0qTzOzG-8ybN36ie_NJallXfC7jUaS9JZvaYFziLs,10
35
35
  eflips/depot/smart_charging.py,sha256=C3BYqzn2-OYY4ipXm0ETtavbAM9QXZMYULBpVoChf0E,54311
36
36
  eflips/depot/standalone.py,sha256=VxcTzBaB67fNJUMmjPRwKXjhqTy6oQ41Coote2LvAmk,22338
37
37
  eflips/depot/validation.py,sha256=TIuY7cQtEJI4H2VVMSuY5IIVkacEEZ67weeMuY3NSAM,7097
38
- eflips_depot-4.1.4.dist-info/LICENSE.md,sha256=KB4XTk1fPHjtZCYDyPyreu6h1LVJVZXYg-5vePcWZAc,34143
39
- eflips_depot-4.1.4.dist-info/METADATA,sha256=AWjHM-eLPTc_TfvBnUqcrDMJKqWN8_H4C0g7AaIdAXk,5839
40
- eflips_depot-4.1.4.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
41
- eflips_depot-4.1.4.dist-info/RECORD,,
38
+ eflips_depot-4.1.5.dist-info/LICENSE.md,sha256=KB4XTk1fPHjtZCYDyPyreu6h1LVJVZXYg-5vePcWZAc,34143
39
+ eflips_depot-4.1.5.dist-info/METADATA,sha256=D0zJpV8Vcbh3GXGLRP97EEetV92UGYu5S74R88ZQwtA,5839
40
+ eflips_depot-4.1.5.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
41
+ eflips_depot-4.1.5.dist-info/RECORD,,