eflips-depot 4.3.12__tar.gz → 4.3.14__tar.gz

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.

Files changed (41) hide show
  1. {eflips_depot-4.3.12 → eflips_depot-4.3.14}/PKG-INFO +1 -1
  2. {eflips_depot-4.3.12 → eflips_depot-4.3.14}/eflips/depot/api/__init__.py +1 -1
  3. {eflips_depot-4.3.12 → eflips_depot-4.3.14}/eflips/depot/api/private/smart_charging.py +1 -1
  4. {eflips_depot-4.3.12 → eflips_depot-4.3.14}/eflips/depot/rating.py +0 -1
  5. {eflips_depot-4.3.12 → eflips_depot-4.3.14}/pyproject.toml +1 -1
  6. {eflips_depot-4.3.12 → eflips_depot-4.3.14}/LICENSE.md +0 -0
  7. {eflips_depot-4.3.12 → eflips_depot-4.3.14}/README.md +0 -0
  8. {eflips_depot-4.3.12 → eflips_depot-4.3.14}/eflips/depot/__init__.py +0 -0
  9. {eflips_depot-4.3.12 → eflips_depot-4.3.14}/eflips/depot/api/defaults/default_settings.json +0 -0
  10. {eflips_depot-4.3.12 → eflips_depot-4.3.14}/eflips/depot/api/private/__init__.py +0 -0
  11. {eflips_depot-4.3.12 → eflips_depot-4.3.14}/eflips/depot/api/private/depot.py +0 -0
  12. {eflips_depot-4.3.12 → eflips_depot-4.3.14}/eflips/depot/api/private/util.py +0 -0
  13. {eflips_depot-4.3.12 → eflips_depot-4.3.14}/eflips/depot/configuration.py +0 -0
  14. {eflips_depot-4.3.12 → eflips_depot-4.3.14}/eflips/depot/depot.py +0 -0
  15. {eflips_depot-4.3.12 → eflips_depot-4.3.14}/eflips/depot/evaluation.py +0 -0
  16. {eflips_depot-4.3.12 → eflips_depot-4.3.14}/eflips/depot/filters.py +0 -0
  17. {eflips_depot-4.3.12 → eflips_depot-4.3.14}/eflips/depot/input_epex_power_price.py +0 -0
  18. {eflips_depot-4.3.12 → eflips_depot-4.3.14}/eflips/depot/layout_opt/__init__.py +0 -0
  19. {eflips_depot-4.3.12 → eflips_depot-4.3.14}/eflips/depot/layout_opt/doc/__init__.py +0 -0
  20. {eflips_depot-4.3.12 → eflips_depot-4.3.14}/eflips/depot/layout_opt/doc/direct_details.pdf +0 -0
  21. {eflips_depot-4.3.12 → eflips_depot-4.3.14}/eflips/depot/layout_opt/evaluation.py +0 -0
  22. {eflips_depot-4.3.12 → eflips_depot-4.3.14}/eflips/depot/layout_opt/opt_tools/__init__.py +0 -0
  23. {eflips_depot-4.3.12 → eflips_depot-4.3.14}/eflips/depot/layout_opt/opt_tools/crossover.py +0 -0
  24. {eflips_depot-4.3.12 → eflips_depot-4.3.14}/eflips/depot/layout_opt/opt_tools/fitness_c_urfd.py +0 -0
  25. {eflips_depot-4.3.12 → eflips_depot-4.3.14}/eflips/depot/layout_opt/opt_tools/fitness_util.py +0 -0
  26. {eflips_depot-4.3.12 → eflips_depot-4.3.14}/eflips/depot/layout_opt/opt_tools/init.py +0 -0
  27. {eflips_depot-4.3.12 → eflips_depot-4.3.14}/eflips/depot/layout_opt/opt_tools/mutation.py +0 -0
  28. {eflips_depot-4.3.12 → eflips_depot-4.3.14}/eflips/depot/layout_opt/optimize_c_urfd.py +0 -0
  29. {eflips_depot-4.3.12 → eflips_depot-4.3.14}/eflips/depot/layout_opt/packing.py +0 -0
  30. {eflips_depot-4.3.12 → eflips_depot-4.3.14}/eflips/depot/layout_opt/settings.py +0 -0
  31. {eflips_depot-4.3.12 → eflips_depot-4.3.14}/eflips/depot/layout_opt/template_creation.py +0 -0
  32. {eflips_depot-4.3.12 → eflips_depot-4.3.14}/eflips/depot/layout_opt/util.py +0 -0
  33. {eflips_depot-4.3.12 → eflips_depot-4.3.14}/eflips/depot/plots.py +0 -0
  34. {eflips_depot-4.3.12 → eflips_depot-4.3.14}/eflips/depot/processes.py +0 -0
  35. {eflips_depot-4.3.12 → eflips_depot-4.3.14}/eflips/depot/resources.py +0 -0
  36. {eflips_depot-4.3.12 → eflips_depot-4.3.14}/eflips/depot/settings_config.py +0 -0
  37. {eflips_depot-4.3.12 → eflips_depot-4.3.14}/eflips/depot/simple_vehicle.py +0 -0
  38. {eflips_depot-4.3.12 → eflips_depot-4.3.14}/eflips/depot/simulation.py +0 -0
  39. {eflips_depot-4.3.12 → eflips_depot-4.3.14}/eflips/depot/smart_charging.py +0 -0
  40. {eflips_depot-4.3.12 → eflips_depot-4.3.14}/eflips/depot/standalone.py +0 -0
  41. {eflips_depot-4.3.12 → eflips_depot-4.3.14}/eflips/depot/validation.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: eflips-depot
3
- Version: 4.3.12
3
+ Version: 4.3.14
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
@@ -2091,7 +2091,7 @@ def _add_events_into_database(
2091
2091
  vehicle=db_vehicle,
2092
2092
  station_id=None,
2093
2093
  area_id=int(process_dict["area"]),
2094
- subloc_no=int(process_dict["slot"])
2094
+ subloc_no=int(process_dict["slot"]) - 1
2095
2095
  if "slot" in process_dict.keys()
2096
2096
  else 00,
2097
2097
  trip_id=None,
@@ -135,7 +135,7 @@ def optimize_charging_events_even(charging_events: List[Event]) -> None:
135
135
  optimized_power, params_for_event["max_power"]
136
136
  )
137
137
 
138
- if not np.all(optimized_power_capped != optimized_power):
138
+ if not np.all(optimized_power_capped == optimized_power):
139
139
  # If the power draw is capped, we will just use the mean power draw
140
140
  optimized_power = params_for_event["charging_allowed"] * mean_power
141
141
 
@@ -148,7 +148,6 @@ class BufferPark(BaseCriterion):
148
148
  total_vehicles_charging / total_line_area_capacity
149
149
  )
150
150
  target_ratio = 0.3
151
- print(ratio_of_vehicles_in_line_areas)
152
151
 
153
152
  if ratio_of_vehicles_in_line_areas < target_ratio:
154
153
  return 1
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "eflips-depot"
3
- version = "4.3.12"
3
+ version = "4.3.14"
4
4
  description = "Depot Simulation for eFLIPS"
5
5
  authors = ["Enrico Lauth <enrico.lauth@tu-berlin.de>",
6
6
  "Ludger Heide <ludger.heide@tu-berlin.de",
File without changes
File without changes