dannytsang / homeassistant-config

🏡 My Home Assistant Configs.
https://dannytsang.com
31 stars 0 forks source link

☀⚡🧠Smart(er) Home Battery Charging #102

Open dannytsang opened 3 months ago

dannytsang commented 3 months ago

Better manage the overnight charging along with Octopus tariff. In my case, Octopus Agile.

In the winter, it was 99% fully charged overnight so very little logic is required to managed the grid charging. As Spring starts, the reliance on the grid charging can be reduced as more solar generation is present.

This enhancement is to better manage the grid charging using cheaper electricity whilst leaving capacity during the day for solar storage.

A few factors it should consider:

dannytsang commented 2 months ago

Total Capacity: 13kwh Charge at 3kWh = 33.30% per hour (when below 90%).


Target charge: 45% (5.85kwh).

21:00 - Forecast and reporting time. 70% of 13kWh = 9.1kWh 60% of 13kWh = 7.8kWh (usable capacity)

2:30 - First cheapest rate to charge. 33% of 13kWh = 4.29kwh 23% of 13kWh = 2.99kWh (usable capacity)

5.5h difference between 21:00 & 2:30

dannytsang commented 2 months ago

Target charge: 45% (5.85kwh).

21:00 - Forecast and reporting time. 64% of 13kWh = 8.32kWh 54% of 13kWh = 7.02kWh (usable capacity)

3:30 - First cheapest rate to charge. 28% of 13kWh = 3.64kwh 18% of 13kWh = 2.34kWh (usable capacity)

6.5h difference between 21:00 & 3:30