Skip to content

Commit

Permalink
Default metric min improvement export increased (#1724)
Browse files Browse the repository at this point in the history
* Default metric min improvement export to 3

* Update config.py

* Update configuration-guide.md

* Update customisation.md

* [pre-commit.ci lite] apply automatic fixes

---------

Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
  • Loading branch information
springfall2008 and pre-commit-ci-lite[bot] authored Dec 12, 2024
1 parent 2fc1a76 commit 207822d
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion apps/predbat/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@
"unit": "p",
"icon": "mdi:currency-usd",
"enable": "expert_mode",
"default": 0.1,
"default": 5,
},
{
"name": "metric_battery_cycle",
Expand Down
8 changes: 4 additions & 4 deletions docs/configuration-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ If you are using expert mode then these options maybe worth reviewing:
|---------|---------------|-------------|
| input_number.predbat_forecast_plan_hours | 24 | If you set this to 24 then you will have quicker updates, the cycle repeats itself anyhow |
| input_number.predbat_metric_min_improvement | 0 | Charge less if it's cost neutral |
| input_number.predbat_metric_min_improvement_export | 0.1 | Export only if there is a profit |
| input_number.predbat_metric_min_improvement_export | 5 | Export only if there is a profit |

You should set **select.predbat_mode** to 'Control charge'

Expand All @@ -72,7 +72,7 @@ If you are using expert mode then these options maybe worth reviewing, otherwise
|---------|---------------|-------------|
| input_number.predbat_forecast_plan_hours | 24 | If you set this to 24 then you will have quicker updates, the cycle repeats itself anyhow |
| input_number.predbat_metric_min_improvement | 0 | Charge less if it's cost neutral |
| input_number.predbat_metric_min_improvement_export | 0.1 | Export only if there is a profit |
| input_number.predbat_metric_min_improvement_export | 5 | Export only if there is a profit |
| input_number.predbat_metric_battery_cycle | 0-2 | Higher numbers mean less charging and discharging but higher costs |
| input_number.predbat_best_soc_min | 0 | Can be set non-zero if you want to force a minimum charge level |

Expand All @@ -95,7 +95,7 @@ If you are using expert mode then these options maybe worth reviewing, otherwise
|---------|---------------|-------------|
| input_number.predbat_forecast_plan_hours | 24 | If you set this to 24 then you will have quicker updates, the cycle repeats itself anyhow |
| input_number.predbat_metric_min_improvement | 0 | Charge less if it's cost neutral |
| input_number.predbat_metric_min_improvement_export | 0.1 | Export only if there is a profit |
| input_number.predbat_metric_min_improvement_export | 5 | Export only if there is a profit |
| input_number.predbat_metric_battery_cycle | 0-2 | Higher numbers mean less charging and discharging but higher costs |
| input_number.predbat_best_soc_min | 0 | Don't use non-zero otherwise all slots will be force charging |

Expand All @@ -116,7 +116,7 @@ If you are using expert mode then these options maybe worth reviewing, otherwise
|---------|---------------|-------------|
| input_number.predbat_forecast_plan_hours | 24-48 | If you set this to 24 then you will have quicker updates, going to 36/48 for a longer plan |
| input_number.predbat_metric_min_improvement | 0 | Charge less if it's cost neutral |
| input_number.predbat_metric_min_improvement_export | 0.1 | Export only if there is a profit |
| input_number.predbat_metric_min_improvement_export | 5 | Export only if there is a profit |
| input_number.predbat_metric_battery_cycle | 0-2 | Higher numbers mean less charging and discharging but higher costs |
| input_number.predbat_best_soc_min | 0 | Don't use non-zero otherwise all slots will be force charging |

Expand Down
5 changes: 3 additions & 2 deletions docs/customisation.md
Original file line number Diff line number Diff line change
Expand Up @@ -271,8 +271,9 @@ Do not use if you have multiple charge windows in a given period as it won't lea
You could even go to something like -0.1 to say you would charge less even if it cost up to 0.1p more (best used with metric10).

**input_number.predbat_metric_min_improvement_export** (_expert mode_) Sets the minimum pence cost improvement it's worth doing a forced export for.
A value of 0.1 is the default which prevents any marginal exports. If you increase this value (e.g. you only want to force export if definitely very profitable),
then exports will become less common and shorter. The value is in pence per 30 minutes of export time.
A value of 5 is the default which prevents any marginal exports as they must be worth at least 5 pence for a 30 minute slot (less for shorter slots.
If you increase this value (e.g. you only want to force export if definitely very profitable), then exports will become less common.
The value is in pence per 30 minutes of export time.

**input_number.predbat_rate_low_threshold** (_expert mode_) When set to 0 (the default) Predbat will automatically look at the future import rates in the plan
and determine the import rate threshold below which a slot will be considered to be a potential charging slot.<BR>
Expand Down

0 comments on commit 207822d

Please sign in to comment.