eflips-depot 3.0.3__tar.gz → 3.0.4__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.
Files changed (40) hide show
  1. {eflips_depot-3.0.3 → eflips_depot-3.0.4}/PKG-INFO +5 -3
  2. {eflips_depot-3.0.3 → eflips_depot-3.0.4}/eflips/depot/api/__init__.py +2 -10
  3. {eflips_depot-3.0.3 → eflips_depot-3.0.4}/pyproject.toml +4 -2
  4. {eflips_depot-3.0.3 → eflips_depot-3.0.4}/LICENSE.md +0 -0
  5. {eflips_depot-3.0.3 → eflips_depot-3.0.4}/README.md +0 -0
  6. {eflips_depot-3.0.3 → eflips_depot-3.0.4}/eflips/depot/__init__.py +0 -0
  7. {eflips_depot-3.0.3 → eflips_depot-3.0.4}/eflips/depot/api/defaults/default_settings.json +0 -0
  8. {eflips_depot-3.0.3 → eflips_depot-3.0.4}/eflips/depot/api/private/__init__.py +0 -0
  9. {eflips_depot-3.0.3 → eflips_depot-3.0.4}/eflips/depot/api/private/depot.py +0 -0
  10. {eflips_depot-3.0.3 → eflips_depot-3.0.4}/eflips/depot/api/private/util.py +0 -0
  11. {eflips_depot-3.0.3 → eflips_depot-3.0.4}/eflips/depot/configuration.py +0 -0
  12. {eflips_depot-3.0.3 → eflips_depot-3.0.4}/eflips/depot/depot.py +0 -0
  13. {eflips_depot-3.0.3 → eflips_depot-3.0.4}/eflips/depot/evaluation.py +0 -0
  14. {eflips_depot-3.0.3 → eflips_depot-3.0.4}/eflips/depot/filters.py +0 -0
  15. {eflips_depot-3.0.3 → eflips_depot-3.0.4}/eflips/depot/input_epex_power_price.py +0 -0
  16. {eflips_depot-3.0.3 → eflips_depot-3.0.4}/eflips/depot/layout_opt/__init__.py +0 -0
  17. {eflips_depot-3.0.3 → eflips_depot-3.0.4}/eflips/depot/layout_opt/doc/__init__.py +0 -0
  18. {eflips_depot-3.0.3 → eflips_depot-3.0.4}/eflips/depot/layout_opt/doc/direct_details.pdf +0 -0
  19. {eflips_depot-3.0.3 → eflips_depot-3.0.4}/eflips/depot/layout_opt/evaluation.py +0 -0
  20. {eflips_depot-3.0.3 → eflips_depot-3.0.4}/eflips/depot/layout_opt/opt_tools/__init__.py +0 -0
  21. {eflips_depot-3.0.3 → eflips_depot-3.0.4}/eflips/depot/layout_opt/opt_tools/crossover.py +0 -0
  22. {eflips_depot-3.0.3 → eflips_depot-3.0.4}/eflips/depot/layout_opt/opt_tools/fitness_c_urfd.py +0 -0
  23. {eflips_depot-3.0.3 → eflips_depot-3.0.4}/eflips/depot/layout_opt/opt_tools/fitness_util.py +0 -0
  24. {eflips_depot-3.0.3 → eflips_depot-3.0.4}/eflips/depot/layout_opt/opt_tools/init.py +0 -0
  25. {eflips_depot-3.0.3 → eflips_depot-3.0.4}/eflips/depot/layout_opt/opt_tools/mutation.py +0 -0
  26. {eflips_depot-3.0.3 → eflips_depot-3.0.4}/eflips/depot/layout_opt/optimize_c_urfd.py +0 -0
  27. {eflips_depot-3.0.3 → eflips_depot-3.0.4}/eflips/depot/layout_opt/packing.py +0 -0
  28. {eflips_depot-3.0.3 → eflips_depot-3.0.4}/eflips/depot/layout_opt/settings.py +0 -0
  29. {eflips_depot-3.0.3 → eflips_depot-3.0.4}/eflips/depot/layout_opt/template_creation.py +0 -0
  30. {eflips_depot-3.0.3 → eflips_depot-3.0.4}/eflips/depot/layout_opt/util.py +0 -0
  31. {eflips_depot-3.0.3 → eflips_depot-3.0.4}/eflips/depot/plots.py +0 -0
  32. {eflips_depot-3.0.3 → eflips_depot-3.0.4}/eflips/depot/processes.py +0 -0
  33. {eflips_depot-3.0.3 → eflips_depot-3.0.4}/eflips/depot/rating.py +0 -0
  34. {eflips_depot-3.0.3 → eflips_depot-3.0.4}/eflips/depot/resources.py +0 -0
  35. {eflips_depot-3.0.3 → eflips_depot-3.0.4}/eflips/depot/settings_config.py +0 -0
  36. {eflips_depot-3.0.3 → eflips_depot-3.0.4}/eflips/depot/simple_vehicle.py +0 -0
  37. {eflips_depot-3.0.3 → eflips_depot-3.0.4}/eflips/depot/simulation.py +0 -0
  38. {eflips_depot-3.0.3 → eflips_depot-3.0.4}/eflips/depot/smart_charging.py +0 -0
  39. {eflips_depot-3.0.3 → eflips_depot-3.0.4}/eflips/depot/standalone.py +0 -0
  40. {eflips_depot-3.0.3 → eflips_depot-3.0.4}/eflips/depot/validation.py +0 -0
@@ -1,12 +1,13 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: eflips-depot
3
- Version: 3.0.3
3
+ Version: 3.0.4
4
4
  Summary: Depot Simulation for eFLIPS
5
- License: AGPLv3
5
+ Home-page: https://github.com/mpm-tu-berlin/eflips-depot
6
+ License: AGPL-3.0-or-later
6
7
  Author: Enrico Lauth
7
8
  Author-email: enrico.lauth@tu-berlin.de
8
9
  Requires-Python: >=3.10,<4.0
9
- Classifier: License :: Other/Proprietary License
10
+ Classifier: License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)
10
11
  Classifier: Programming Language :: Python :: 3
11
12
  Classifier: Programming Language :: Python :: 3.10
12
13
  Classifier: Programming Language :: Python :: 3.11
@@ -17,6 +18,7 @@ Requires-Dist: pandas (>=2.1.4,<3.0.0)
17
18
  Requires-Dist: simpy (>=4.0.1,<5.0.0)
18
19
  Requires-Dist: xlrd (<=1.2.0)
19
20
  Requires-Dist: xlsxwriter (>=3.1.9,<4.0.0)
21
+ Project-URL: Repository, https://github.com/mpm-tu-berlin/eflips-depot
20
22
  Description-Content-Type: text/markdown
21
23
 
22
24
  [![Tests](https://github.com/mpm-tu-berlin/eflips-depot/actions/workflows/postgres_eflips_depot.yml/badge.svg)](https://github.com/mpm-tu-berlin/eflips-depot/actions/workflows/postgres_eflips_depot.yml)
@@ -306,7 +306,7 @@ def generate_depot_layout(
306
306
  max_occupancies: Dict[eflips.model.VehicleType, int] = {}
307
307
  max_clean_occupancies: Dict[eflips.model.VehicleType, int] = {}
308
308
  for vehicle_type, rotations in vehicle_type_dict.items():
309
- # Slightly convoulted vehicle summation
309
+ # Slightly convoluted vehicle summation
310
310
  start_time = min(
311
311
  [rotation.trips[0].departure_time for rotation in rotations]
312
312
  ).timestamp()
@@ -665,14 +665,10 @@ def add_evaluation_to_database(
665
665
 
666
666
  list_of_vehicles = []
667
667
 
668
- list_of_events = []
669
-
670
668
  list_of_assigned_schedules = []
671
669
 
672
670
  # Read results from depot_evaluation categorized by vehicle
673
671
  for current_vehicle in depot_evaluation.vehicle_generator.items:
674
- list_of_events_per_vehicle = []
675
-
676
672
  vehicle_type_id = int(current_vehicle.vehicle_type.ID)
677
673
 
678
674
  # Create a Vehicle object for database
@@ -759,7 +755,7 @@ def add_evaluation_to_database(
759
755
  "end": end_time,
760
756
  "area": waiting_area_id,
761
757
  "slot": current_slot,
762
- "is_area_sink": waiting_area_id,
758
+ "is_area_sink": False,
763
759
  }
764
760
 
765
761
  # Create a list of battery log in order of time asc. Convenient for looking up corresponding soc
@@ -982,9 +978,6 @@ def add_evaluation_to_database(
982
978
  timeseries=None,
983
979
  )
984
980
  session.add(current_event)
985
- list_of_events_per_vehicle.append(current_event)
986
-
987
- list_of_events.extend(list_of_events_per_vehicle)
988
981
 
989
982
  # For non-copy schedules with no predecessor events, adding a dummy standby-departure
990
983
  if (
@@ -1033,7 +1026,6 @@ def add_evaluation_to_database(
1033
1026
  )
1034
1027
 
1035
1028
  session.add(standby_event)
1036
- list_of_events.append(standby_event)
1037
1029
 
1038
1030
  # New rotation assignment
1039
1031
  for schedule_id, vehicle_id in list_of_assigned_schedules:
@@ -1,12 +1,14 @@
1
1
  [tool.poetry]
2
2
  name = "eflips-depot"
3
- version = "3.0.3"
3
+ version = "3.0.4"
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",
7
7
  "Shuyao Guo <shuyao.guo@tu-berlin.de"]
8
- license = "AGPLv3"
8
+ license = "AGPL-3.0-or-later"
9
9
  readme = "README.md"
10
+ homepage = "https://github.com/mpm-tu-berlin/eflips-depot"
11
+ repository = "https://github.com/mpm-tu-berlin/eflips-depot"
10
12
  packages = [{ include = "eflips/depot" }]
11
13
 
12
14
  [tool.poetry.dependencies]
File without changes
File without changes