eflips-depot 4.3.1__py3-none-any.whl → 4.3.2__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/api/private/smart_charging.py +7 -4
- {eflips_depot-4.3.1.dist-info → eflips_depot-4.3.2.dist-info}/METADATA +1 -1
- {eflips_depot-4.3.1.dist-info → eflips_depot-4.3.2.dist-info}/RECORD +5 -5
- {eflips_depot-4.3.1.dist-info → eflips_depot-4.3.2.dist-info}/LICENSE.md +0 -0
- {eflips_depot-4.3.1.dist-info → eflips_depot-4.3.2.dist-info}/WHEEL +0 -0
|
@@ -264,10 +264,13 @@ def optimize_charging_events_even(charging_events: List[Event]) -> None:
|
|
|
264
264
|
], # Remove the first and last index
|
|
265
265
|
"soc": socs.tolist()[1:-1],
|
|
266
266
|
}
|
|
267
|
-
if event.timeseries["time"]
|
|
268
|
-
event.timeseries["time"][0]
|
|
269
|
-
|
|
270
|
-
event.timeseries["time"][-1]
|
|
267
|
+
if len(event.timeseries["time"]) > 0:
|
|
268
|
+
if event.timeseries["time"][0] < event.time_start.isoformat():
|
|
269
|
+
event.timeseries["time"][0] = event.time_start.isoformat()
|
|
270
|
+
if event.timeseries["time"][-1] > event.time_end.isoformat():
|
|
271
|
+
event.timeseries["time"][-1] = event.time_end.isoformat()
|
|
272
|
+
else:
|
|
273
|
+
event.timeseries = None
|
|
271
274
|
|
|
272
275
|
# Now we have the power draw and charging allowed for each event
|
|
273
276
|
if False:
|
|
@@ -3,7 +3,7 @@ eflips/depot/api/__init__.py,sha256=iAGL9CPL2pjs0ol3VW0jCokvYa-OZqnwdjfq07wpMvw,
|
|
|
3
3
|
eflips/depot/api/defaults/default_settings.json,sha256=0eUDTw_rtLQFvthP8oJL93iRXlmAOravAg-4qqGMQAY,5375
|
|
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
|
-
eflips/depot/api/private/smart_charging.py,sha256=
|
|
6
|
+
eflips/depot/api/private/smart_charging.py,sha256=Wne-C9zl-5hSidM4xxlfQ48R_s08zbomv4cY2qvJjSQ,13887
|
|
7
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
|
|
@@ -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.2.dist-info/LICENSE.md,sha256=KB4XTk1fPHjtZCYDyPyreu6h1LVJVZXYg-5vePcWZAc,34143
|
|
39
|
+
eflips_depot-4.3.2.dist-info/METADATA,sha256=vVy3PWP5czjwtyD1clOL5LPd2NAR3zX_8nO9pcMVjpE,5839
|
|
40
|
+
eflips_depot-4.3.2.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
|
41
|
+
eflips_depot-4.3.2.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|