eflips-depot 4.2.2__py3-none-any.whl → 4.3.0__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.
@@ -130,11 +130,7 @@ def repeat_vehicle_schedules(
130
130
 
131
131
  for vehicle_schedule in vehicle_schedules:
132
132
  schedule_list_backward.append(vehicle_schedule.repeat(-repetition_period))
133
- if repetition_period == timedelta(days=1):
134
- # For daily schedules, repeat the schedule backward twice for the stability of the results
135
- schedule_list_backward.append(
136
- vehicle_schedule.repeat(-2 * repetition_period)
137
- )
133
+ schedule_list_backward.append(vehicle_schedule.repeat(-2 * repetition_period))
138
134
 
139
135
  schedule_list_forward.append(vehicle_schedule.repeat(repetition_period))
140
136
 
@@ -180,7 +176,9 @@ def start_and_end_times(vehicle_schedules) -> Tuple[datetime, int]:
180
176
 
181
177
  def check_depot_validity(depot: Depot) -> None:
182
178
  """
183
- Check if the depot is valid for the eflips-depot simulation. Raise an AssertionError if it is not.
179
+ Check if the depot is valid for the eflips-depot simulation.
180
+
181
+ Raise an AssertionError if it is not.
184
182
  :param depot: a :class:`eflips.model.Depot` object.
185
183
  :return: None
186
184
  """
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: eflips-depot
3
- Version: 4.2.2
3
+ Version: 4.3.0
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
@@ -4,7 +4,7 @@ eflips/depot/api/defaults/default_settings.json,sha256=0eUDTw_rtLQFvthP8oJL93iRX
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
6
6
  eflips/depot/api/private/smart_charging.py,sha256=JqYlUv_TnEqnp1Ks3FV3Od2rkYMOSORfUhrxZ49lUyE,13775
7
- eflips/depot/api/private/util.py,sha256=0l1ZFtMamdapPjk3OXiGCP5STefmN6b-RlfUyMd9PbQ,17017
7
+ eflips/depot/api/private/util.py,sha256=LtDIW904chDby9ERmvbVum5YtOZXi1OmN4a2SszmIfs,16834
8
8
  eflips/depot/configuration.py,sha256=Op3hlir-dEN7yHr0kTqbYANoCBKFWK6uKOv3NJl8w_w,35678
9
9
  eflips/depot/depot.py,sha256=afIlaiX-J-M5-K_oAGMr_soL3_QjIAwrQKDaZzTwle0,105566
10
10
  eflips/depot/evaluation.py,sha256=qqXyP4jA1zFcKuWhliQ6n25ZlGl9mJV-vtXf0yu8WN8,140842
@@ -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.2.2.dist-info/LICENSE.md,sha256=KB4XTk1fPHjtZCYDyPyreu6h1LVJVZXYg-5vePcWZAc,34143
39
- eflips_depot-4.2.2.dist-info/METADATA,sha256=t4Xabe9jTtFICqcvdTvCsqRS5Ix0aOl0A2GlKAsOT1g,5839
40
- eflips_depot-4.2.2.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
41
- eflips_depot-4.2.2.dist-info/RECORD,,
38
+ eflips_depot-4.3.0.dist-info/LICENSE.md,sha256=KB4XTk1fPHjtZCYDyPyreu6h1LVJVZXYg-5vePcWZAc,34143
39
+ eflips_depot-4.3.0.dist-info/METADATA,sha256=dQypVYCyV6xQti1cM4rsLTofJ8nJnvQaA95uarxhfr4,5839
40
+ eflips_depot-4.3.0.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
41
+ eflips_depot-4.3.0.dist-info/RECORD,,