eflips-depot 4.3.15__tar.gz → 4.3.17__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.
- {eflips_depot-4.3.15 → eflips_depot-4.3.17}/PKG-INFO +1 -1
- {eflips_depot-4.3.15 → eflips_depot-4.3.17}/eflips/depot/api/private/depot.py +5 -1
- {eflips_depot-4.3.15 → eflips_depot-4.3.17}/pyproject.toml +1 -1
- {eflips_depot-4.3.15 → eflips_depot-4.3.17}/LICENSE.md +0 -0
- {eflips_depot-4.3.15 → eflips_depot-4.3.17}/README.md +0 -0
- {eflips_depot-4.3.15 → eflips_depot-4.3.17}/eflips/depot/__init__.py +0 -0
- {eflips_depot-4.3.15 → eflips_depot-4.3.17}/eflips/depot/api/__init__.py +0 -0
- {eflips_depot-4.3.15 → eflips_depot-4.3.17}/eflips/depot/api/defaults/default_settings.json +0 -0
- {eflips_depot-4.3.15 → eflips_depot-4.3.17}/eflips/depot/api/private/__init__.py +0 -0
- {eflips_depot-4.3.15 → eflips_depot-4.3.17}/eflips/depot/api/private/smart_charging.py +0 -0
- {eflips_depot-4.3.15 → eflips_depot-4.3.17}/eflips/depot/api/private/util.py +0 -0
- {eflips_depot-4.3.15 → eflips_depot-4.3.17}/eflips/depot/configuration.py +0 -0
- {eflips_depot-4.3.15 → eflips_depot-4.3.17}/eflips/depot/depot.py +0 -0
- {eflips_depot-4.3.15 → eflips_depot-4.3.17}/eflips/depot/evaluation.py +0 -0
- {eflips_depot-4.3.15 → eflips_depot-4.3.17}/eflips/depot/filters.py +0 -0
- {eflips_depot-4.3.15 → eflips_depot-4.3.17}/eflips/depot/input_epex_power_price.py +0 -0
- {eflips_depot-4.3.15 → eflips_depot-4.3.17}/eflips/depot/layout_opt/__init__.py +0 -0
- {eflips_depot-4.3.15 → eflips_depot-4.3.17}/eflips/depot/layout_opt/doc/__init__.py +0 -0
- {eflips_depot-4.3.15 → eflips_depot-4.3.17}/eflips/depot/layout_opt/doc/direct_details.pdf +0 -0
- {eflips_depot-4.3.15 → eflips_depot-4.3.17}/eflips/depot/layout_opt/evaluation.py +0 -0
- {eflips_depot-4.3.15 → eflips_depot-4.3.17}/eflips/depot/layout_opt/opt_tools/__init__.py +0 -0
- {eflips_depot-4.3.15 → eflips_depot-4.3.17}/eflips/depot/layout_opt/opt_tools/crossover.py +0 -0
- {eflips_depot-4.3.15 → eflips_depot-4.3.17}/eflips/depot/layout_opt/opt_tools/fitness_c_urfd.py +0 -0
- {eflips_depot-4.3.15 → eflips_depot-4.3.17}/eflips/depot/layout_opt/opt_tools/fitness_util.py +0 -0
- {eflips_depot-4.3.15 → eflips_depot-4.3.17}/eflips/depot/layout_opt/opt_tools/init.py +0 -0
- {eflips_depot-4.3.15 → eflips_depot-4.3.17}/eflips/depot/layout_opt/opt_tools/mutation.py +0 -0
- {eflips_depot-4.3.15 → eflips_depot-4.3.17}/eflips/depot/layout_opt/optimize_c_urfd.py +0 -0
- {eflips_depot-4.3.15 → eflips_depot-4.3.17}/eflips/depot/layout_opt/packing.py +0 -0
- {eflips_depot-4.3.15 → eflips_depot-4.3.17}/eflips/depot/layout_opt/settings.py +0 -0
- {eflips_depot-4.3.15 → eflips_depot-4.3.17}/eflips/depot/layout_opt/template_creation.py +0 -0
- {eflips_depot-4.3.15 → eflips_depot-4.3.17}/eflips/depot/layout_opt/util.py +0 -0
- {eflips_depot-4.3.15 → eflips_depot-4.3.17}/eflips/depot/plots.py +0 -0
- {eflips_depot-4.3.15 → eflips_depot-4.3.17}/eflips/depot/processes.py +0 -0
- {eflips_depot-4.3.15 → eflips_depot-4.3.17}/eflips/depot/rating.py +0 -0
- {eflips_depot-4.3.15 → eflips_depot-4.3.17}/eflips/depot/resources.py +0 -0
- {eflips_depot-4.3.15 → eflips_depot-4.3.17}/eflips/depot/settings_config.py +0 -0
- {eflips_depot-4.3.15 → eflips_depot-4.3.17}/eflips/depot/simple_vehicle.py +0 -0
- {eflips_depot-4.3.15 → eflips_depot-4.3.17}/eflips/depot/simulation.py +0 -0
- {eflips_depot-4.3.15 → eflips_depot-4.3.17}/eflips/depot/smart_charging.py +0 -0
- {eflips_depot-4.3.15 → eflips_depot-4.3.17}/eflips/depot/standalone.py +0 -0
- {eflips_depot-4.3.15 → eflips_depot-4.3.17}/eflips/depot/validation.py +0 -0
|
@@ -87,6 +87,10 @@ def depot_to_template(depot: Depot) -> Dict[str, str | Dict[str, str | int]]:
|
|
|
87
87
|
# Helper for adding processes to the template
|
|
88
88
|
list_of_processes = []
|
|
89
89
|
|
|
90
|
+
# Load all areas, sorted by their type
|
|
91
|
+
area_type_order = [AreaType.LINE, AreaType.DIRECT_ONESIDE, AreaType.DIRECT_TWOSIDE]
|
|
92
|
+
sorted_areas = sorted(depot.areas, key=lambda x: area_type_order.index(x.area_type))
|
|
93
|
+
|
|
90
94
|
# Get dictionary of each area
|
|
91
95
|
for area in depot.areas:
|
|
92
96
|
area_name = str(area.id)
|
|
@@ -236,7 +240,7 @@ def depot_to_template(depot: Depot) -> Dict[str, str | Dict[str, str | int]]:
|
|
|
236
240
|
}
|
|
237
241
|
if process_type(process) == ProcessType.CHARGING:
|
|
238
242
|
template["groups"][group_name]["typename"] = "ParkingAreaGroup"
|
|
239
|
-
template["groups"][group_name]["parking_strategy_name"] = "
|
|
243
|
+
template["groups"][group_name]["parking_strategy_name"] = "FIRST"
|
|
240
244
|
|
|
241
245
|
# Fill in locations of the plan
|
|
242
246
|
template["plans"]["default"]["locations"].append(group_name)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{eflips_depot-4.3.15 → eflips_depot-4.3.17}/eflips/depot/layout_opt/opt_tools/fitness_c_urfd.py
RENAMED
|
File without changes
|
{eflips_depot-4.3.15 → eflips_depot-4.3.17}/eflips/depot/layout_opt/opt_tools/fitness_util.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|