From 207822dce049a20dfc7f9f731f81632fe3cd73bd Mon Sep 17 00:00:00 2001 From: Trefor Southwell <48591903+springfall2008@users.noreply.github.com> Date: Thu, 12 Dec 2024 19:59:36 +0000 Subject: [PATCH] Default metric min improvement export increased (#1724) * 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> --- apps/predbat/config.py | 2 +- docs/configuration-guide.md | 8 ++++---- docs/customisation.md | 5 +++-- 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/apps/predbat/config.py b/apps/predbat/config.py index a2597786..8287494b 100644 --- a/apps/predbat/config.py +++ b/apps/predbat/config.py @@ -321,7 +321,7 @@ "unit": "p", "icon": "mdi:currency-usd", "enable": "expert_mode", - "default": 0.1, + "default": 5, }, { "name": "metric_battery_cycle", diff --git a/docs/configuration-guide.md b/docs/configuration-guide.md index b9e864ae..839afa3c 100644 --- a/docs/configuration-guide.md +++ b/docs/configuration-guide.md @@ -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' @@ -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 | @@ -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 | @@ -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 | diff --git a/docs/customisation.md b/docs/customisation.md index c953da86..b85e2ef2 100644 --- a/docs/customisation.md +++ b/docs/customisation.md @@ -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.