Skip to content

Commit

Permalink
Fix bug where sometimes full charge is not selected to maximise export
Browse files Browse the repository at this point in the history
  • Loading branch information
springfall2008 authored Dec 31, 2024
1 parent af32839 commit e4c6501
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/predbat/plan.py
Original file line number Diff line number Diff line change
Expand Up @@ -1054,7 +1054,7 @@ def optimise_charge_limit(self, window_n, record_charge_windows, charge_limit, c
id += 1

# Assemble list of SoC's to try
try_socs = []
try_socs = [loop_soc]
loop_step = max(best_soc_step, 0.1)
best_soc_min_setting = self.best_soc_min
if best_soc_min_setting > 0:
Expand Down

0 comments on commit e4c6501

Please sign in to comment.