You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When attempting to determine the Composite Schedule in 1.6, if a Profile's chargingSchedulePeriod begins after the start of the requested time range, even if it is within the time range, the Profile's chargingSchedulePeriod won't be applied.
Start Time> 2024-01-17T18:01:00.000Z
period #1 {limit: 2000 numberPhases:1 stackLevel:1} starts 0 Seconds in
period #2 {limit: 11000 numberPhases:3 stackLevel:0} starts 17 Minutes in
period #2 ends after 5 Hours 59 Minutes
However, if the time range starts one second before the Profile's chargingSchedulePeriod, even though the Profile's period is within the time range requested, it will not be applied:
OCPP Version
OCPP1.6
Describe the bug
When attempting to determine the
Composite Schedule
in 1.6, if a Profile'schargingSchedulePeriod
begins after the start of the requested time range, even if it is within the time range, the Profile'schargingSchedulePeriod
won't be applied.To Reproduce
For example, given these two Profiles:
If you set the start of the time range to
18:01:00
the generatedComposite Schedule
will include the time range that started at18:00:00
:The breakdown is:
However, if the time range starts one second before the Profile's
chargingSchedulePeriod
, even though the Profile's period is within the time range requested, it will not be applied:This image will show a graphical breakdown of the data:
Anything else?
liboccp PR #606 has tests that include both examples shown above.
The text was updated successfully, but these errors were encountered: