springfall2008 / batpred

Home battery prediction and charging automation for Home Assistant, supporting many inverter types
https://springfall2008.github.io/batpred/
120 stars 42 forks source link

Precharge Battery before saver session config #476

Closed Bcrutt closed 8 months ago

Bcrutt commented 10 months ago

Hi

I was wondering why my current setup seems not to charge the battery before a saver session, I have added some screenshots below showing my current setup when using Octopus Flux, any comments would be appreciated.

image d

image

image

image

springfall2008 commented 10 months ago

Your rate low threshold is hard wired so it can't use the more expensive rate - if you set it to 0 then it's automatic and it can do

Bcrutt commented 10 months ago

Changed Low Threshold to 0

image

Plan still not showing any sign of charging before saver session

image

Also charging on saturday am now looks like this

image

I have attached the appdaemon log Thanks appdaemon.log

Bcrutt commented 10 months ago

After awhile it did start charging and then held the charge at 45%, it then changed again to this image

appdaemon.log

Bcrutt commented 10 months ago

Then changed to this image

Bcrutt commented 10 months ago

V 7.14.12

JonathanLew1s commented 10 months ago

The hold charge from 2pm to 4pm looked like a good plan. No point in incurring losses to charge the battery to discharge later, hold the battery at 45% and run the house load from the grid. Going into the saving session with 40% battery. No sure why the following runs changed from that plan.

Personally, I would set the high threshold rate to 0 and enable charge freeze switch.

Bcrutt commented 10 months ago

I thought the plan looked ok, then on the next pass it dropped the hold charge and would have gone into the saver session with just 11% soc. So I decided to set to read only and charged from 15:00 to 16:00 and then set to charge \ discharge and it exported from 17:00 to 18:00. The plan then showed it was going to charge next from 02:00 saturday am all the way to 16:00 Saturday pm, which I don't understand why it would do that.

image image

springfall2008 commented 10 months ago

Maybe combine charge needs to be turned off?

gcoan commented 10 months ago

@Bcrutt as you are on a 3 period time of day tariff, once you've charged the battery overnight (starting in the cheap period and finishing in the day rate), there's no point in predbat doing anything different with the battery until the evening peak import rate when the battery starts discharging to support your load.

So I think the plan is correct. If you look at the soc column, once the battery reaches 100% at 5am it then stays there until 4pm discharge. Maybe from 5am to 4pm it could be labelled 'hold charge' or 'charge freeze', but its the same as charge and maintain 100%

You could look at the config options for your tariff, as Trefor says, turn combine charge off, but it is recommended to be on for Cozy/Flux type of tariffs, and I think the plan is correct anyway https://springfall2008.github.io/batpred/configuration-guide/

Unless you have a different view what should be planned?