Skip to content

Commit

Permalink
[pre-commit.ci lite] apply automatic fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci-lite[bot] authored Dec 24, 2024
1 parent d8cf5f1 commit 5c83bbf
Show file tree
Hide file tree
Showing 2 changed files with 149 additions and 136 deletions.
2 changes: 1 addition & 1 deletion apps/predbat/prediction.py
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,7 @@ def run_prediction(self, charge_limit, charge_window, export_window, export_limi
else:
keep_minute_scaling = min(((minute - 4 * 60) / (2 * 60)), 1.0) * self.best_soc_keep_weight
else:
keep_minute_scaling = self.best_soc_keep_weight
keep_minute_scaling = self.best_soc_keep_weight

# Find charge & discharge windows
charge_window_n = charge_window_optimised.get(minute_absolute, -1)
Expand Down
Loading

0 comments on commit 5c83bbf

Please sign in to comment.