eflips-depot 4.3.7__py3-none-any.whl → 4.3.8__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.
- eflips/depot/depot.py +15 -9
- {eflips_depot-4.3.7.dist-info → eflips_depot-4.3.8.dist-info}/METADATA +1 -1
- {eflips_depot-4.3.7.dist-info → eflips_depot-4.3.8.dist-info}/RECORD +5 -5
- {eflips_depot-4.3.7.dist-info → eflips_depot-4.3.8.dist-info}/LICENSE.md +0 -0
- {eflips_depot-4.3.7.dist-info → eflips_depot-4.3.8.dist-info}/WHEEL +0 -0
eflips/depot/depot.py
CHANGED
|
@@ -7,14 +7,14 @@ Created on Fri Oct 13 11:12:00 2017.
|
|
|
7
7
|
Core components of the depot simulation model.
|
|
8
8
|
"""
|
|
9
9
|
|
|
10
|
+
from abc import ABC, abstractmethod
|
|
10
11
|
from collections import Counter
|
|
12
|
+
from warnings import warn
|
|
13
|
+
|
|
11
14
|
import simpy
|
|
12
|
-
from simpy.resources.store import StorePut
|
|
13
|
-
from simpy.core import BoundClass
|
|
14
|
-
from simpy.util import start_delayed
|
|
15
15
|
from eflips.evaluation import DataLogger
|
|
16
|
-
from eflips.settings import globalConstants
|
|
17
16
|
from eflips.helperFunctions import flexprint, SortedList
|
|
17
|
+
from eflips.settings import globalConstants
|
|
18
18
|
from eflips.simpy_ext import (
|
|
19
19
|
FilterStoreExt,
|
|
20
20
|
PositionalFilterStore,
|
|
@@ -26,18 +26,20 @@ from eflips.simpy_ext import (
|
|
|
26
26
|
LineFilterStoreGet,
|
|
27
27
|
ExclusiveRequest,
|
|
28
28
|
)
|
|
29
|
-
from
|
|
30
|
-
from
|
|
29
|
+
from simpy.core import BoundClass
|
|
30
|
+
from simpy.resources.store import StorePut
|
|
31
|
+
from simpy.util import start_delayed
|
|
32
|
+
|
|
33
|
+
from eflips.depot.evaluation import Departure, ProcessCalled
|
|
31
34
|
from eflips.depot.filters import VehicleFilter
|
|
35
|
+
from eflips.depot.processes import EstimateValue, ChargeAbstract, Precondition
|
|
32
36
|
from eflips.depot.rating import (
|
|
33
37
|
SlotAlternative,
|
|
34
38
|
ParkRating,
|
|
35
39
|
VehicleAlternative,
|
|
36
40
|
DispatchRating,
|
|
37
41
|
)
|
|
38
|
-
from eflips.depot.
|
|
39
|
-
from abc import ABC, abstractmethod
|
|
40
|
-
from warnings import warn
|
|
42
|
+
from eflips.depot.resources import DepotChargingInterface
|
|
41
43
|
|
|
42
44
|
|
|
43
45
|
class DepotWorkingData:
|
|
@@ -869,6 +871,10 @@ class DSSmart(BaseDispatchStrategy):
|
|
|
869
871
|
|
|
870
872
|
for parking_area_group in depot.parking_area_groups:
|
|
871
873
|
for area in parking_area_group.stores:
|
|
874
|
+
# Speedup: Skip empty areas
|
|
875
|
+
if all([item is None for item in area.items]):
|
|
876
|
+
continue
|
|
877
|
+
|
|
872
878
|
if isinstance(area, LineArea):
|
|
873
879
|
# Add one vehicle at max. at Line area
|
|
874
880
|
rg = area.range_from_side(area.side_get_default)
|
|
@@ -6,7 +6,7 @@ eflips/depot/api/private/depot.py,sha256=IpXQR2GuEUuilP02njKpvExgSkktkyHPmcn2j_Q
|
|
|
6
6
|
eflips/depot/api/private/smart_charging.py,sha256=LcD0SN26O6KPBL5Ha7tpovnMn_4dAi17Kb21jEeAoE0,13052
|
|
7
7
|
eflips/depot/api/private/util.py,sha256=Ye-WXNzHcNfunFijK7FCIU3AiCuMg83KnEhnKbtlZu8,17242
|
|
8
8
|
eflips/depot/configuration.py,sha256=Op3hlir-dEN7yHr0kTqbYANoCBKFWK6uKOv3NJl8w_w,35678
|
|
9
|
-
eflips/depot/depot.py,sha256=
|
|
9
|
+
eflips/depot/depot.py,sha256=w-5kurK-1ztEYHATHGSD0j3qBI96nM4dHfoc8OErfd8,105705
|
|
10
10
|
eflips/depot/evaluation.py,sha256=qqXyP4jA1zFcKuWhliQ6n25ZlGl9mJV-vtXf0yu8WN8,140842
|
|
11
11
|
eflips/depot/filters.py,sha256=52esFT_kldMC9-LteY4CFe8BETwr0bn-CacegVe6jsA,16131
|
|
12
12
|
eflips/depot/input_epex_power_price.py,sha256=VPDC1zy-klQpveGIZ8941hL1P_jeNq3IHoLgFTsANig,5569
|
|
@@ -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.3.
|
|
39
|
-
eflips_depot-4.3.
|
|
40
|
-
eflips_depot-4.3.
|
|
41
|
-
eflips_depot-4.3.
|
|
38
|
+
eflips_depot-4.3.8.dist-info/LICENSE.md,sha256=KB4XTk1fPHjtZCYDyPyreu6h1LVJVZXYg-5vePcWZAc,34143
|
|
39
|
+
eflips_depot-4.3.8.dist-info/METADATA,sha256=utmVXHhrJTkZY0vrilXVw6aJkp7XOzzPIVsbJdvEauY,5839
|
|
40
|
+
eflips_depot-4.3.8.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
|
41
|
+
eflips_depot-4.3.8.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|