ev_smart_charging icon indicating copy to clipboard operation
ev_smart_charging copied to clipboard

Optimisation: Use the cheapest hour as much as possible

Open cnrd opened this issue 2 years ago • 2 comments

Let me start with an example:

The car is 20% below the targeted charge level, the charger can add 15% charge per hour, which means that we will be looking for 2 hours. Now let's say that the first hour is more expensive than the second hour we find.

Currently the system will start at the beginning of the first hour, charging for the full duration of that hour and then only fill up the last 5% during the second (cheaper) hour.

It would be better if we could calculate the minute on which to start, so that we fill up 5% during the first hour and then fill up the 15% during the second hour.

I know that this adds a lot of complexity to the way that start times are calculated, but it could be a not insignificant saving, depending on the difference between the hours needed.

cnrd avatar Jan 04 '23 18:01 cnrd

Thanks for the suggestion. I'm aware of this possibility of further optimization, but as you say, this would effect of lot of the current implementation. So frankly, this improvement would be the last item on the to-do-list. And I wonder how much the savings would be in practice.

jonasbkarlsson avatar Jan 04 '23 20:01 jonasbkarlsson

One additional comment. The Nordpool prices (and all EU prices I assume) are planned to be changed from 60 minutes intervals to 15 minutes intervals. It's not untill 2025, but eventually that's an update that needs to be done. So I would prefer to solve your request by implementing 15 minutes time resolution, sometimes before 2025... 😄

jonasbkarlsson avatar Jan 09 '23 20:01 jonasbkarlsson