batpred icon indicating copy to clipboard operation
batpred copied to clipboard

Plan Discharging At Loss

Open nbullus opened this issue 1 year ago • 2 comments

Describe the bug Battery is being discharged at a loss. See attachment showing plan discharging at a loss.

Expected behavior Battery should not discharge back to the grid at higher cost than what it cost to charge it up.

Predbat version

8.3.1

Environment details

  • Solis 5kw Inverter + GivEnergy AIO Battery
  • Standard HAOS installer
  • Settings: predbat_metric_battery_value_scaling = 1 predbat_metric_min_improvement_discharge = 0.1

Screenshots

See attached document containing charts and plan.

Log file

See attached document containing Predbat log.

Plan, Charts, Log.docx

nbullus avatar Jul 22 '24 22:07 nbullus

Predbat doesn't compute the cost of each kWh in the battery and track it. It plans best times to charge/discharge to maximise returns. So, if the battery is full and there's money to be made discharging then it will do so if that power isn't needed.

It is possible that it force charged at an expensive time, thinking the house would need more power than it did, in which case the issue is more that it charged incorrectly than it then exported that power.

Can you add log/debug output and the plan - that's more useful than a word doc which I'm not going to open I'm afraid.

cyberkryten avatar Aug 01 '24 09:08 cyberkryten

The attached comment contains the Predbat log and plan already. If you wan't to review the contents in a different application then just cut/paste as required. I don't have the contents in any other format now.

nbullus avatar Aug 01 '24 09:08 nbullus

As this ticket is old I'm going to close it, please re-open if the issue is there on latest.

springfall2008 avatar Jan 01 '25 19:01 springfall2008