Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions apps/predbat/predbat.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
import os
import yaml

THIS_VERSION = "v7.14.39"
THIS_VERSION = "v7.14.40"
TIME_FORMAT = "%Y-%m-%dT%H:%M:%S%z"
TIME_FORMAT_SECONDS = "%Y-%m-%dT%H:%M:%S.%f%z"
TIME_FORMAT_OCTOPUS = "%Y-%m-%d %H:%M:%S%z"
Expand Down Expand Up @@ -272,7 +272,7 @@
"unit": "p/kWh",
"icon": "mdi:currency-usd",
"enable": "expert_mode",
"default": 2.0,
"default": 1.0,
},
{
"name": "metric_battery_value_scaling",
Expand Down
2 changes: 1 addition & 1 deletion docs/configuration-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Also set **switch.inverter_hybrid** to True or False depending upon if you have
The setting **input_number.metric_battery_cycle** (_expert mode_) can be used to put a 'virtual cost' in pence on using your battery for charging and discharging.<BR>
In theory if you think your battery will last say 6000 complete cycles and cost you £4000 and is 9.5kWh then each cycle is 19kWh and so the cost per cycle is £4000 / 19 / 6000 = 3.5p.
If you configure this number higher then more expensive plans will be selected which avoids charging and discharging your battery as much.
The default is 2p but can be set to 0 if you want to turn this feature off.
The default is 1p but can be set to 0 if you want to turn this feature off.
Note that the cycle cost will not be included in the cost predictions that Predbat produces, its just taken into account in the planning stage.<BR>
_NB: Setting this to a non-zero value will increase your daily cost, but will reduce your home battery usage._

Expand Down
2 changes: 1 addition & 1 deletion docs/customisation.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ you have inverter losses as it's AC coupled battery.

**input_number.metric_battery_cycle** (_expert mode_) Sets the cost in pence per kWh of using your battery for charging and discharging.
Higher numbers will reduce battery cycles at the expense of using higher energy costs.
Figures of around 1p-5p are recommended, the default is 2p.
Figures of around 1p-5p are recommended, the default is 1p per kWh.

**input_number.predbat_metric_battery_value_scaling** (_expert mode_) Can be used to scale the value of the energy
in the battery at the end of the plan. The battery value is accounted for in the optimisations at the lowest future
Expand Down