-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not utilising battery #574
Comments
Can you attached a full cycle of the log (one 5 minute update), this one is incomplete? |
2024-01-03 21:11:50.144092 INFO pred_bat: Updating HA config expert_mode to True |
Sorry had to enable the logging first - is this what you need? |
Sure looks good. Some minor things:
It might be worth setting tweak plan to False and plan_every to either 5 or 10, however I doubt either will change things much.
You could reduce battery cycle down to 2.0 or 1.0 and see if it changes anything.
Is this right, you said you have two batteries but it's reporting only 5.22 kWh of battery capacity in total?? |
Will give them a go - does Predbat only like multiples of 5 for some reason?
Will try
Sadly yes, 2x2.6kWh |
Can you try best soc keep as 0? |
How do the overnight rates compare can you show the full plan? I think if you have enough charge left that 7:30pm slot will vanish later in the day |
Tuesday I think Predbat seemed to struggle with the flat rates (and my export rate had gone up slightly on 1/1), so it wanted to discharge for no benefit to recharge later on. But tomorrow morning we have a power-up event from 7-9am (first time we've had one so early in the morning) and predbat v7.14.31 is really struggling to manage the battery for it. A bit of charging is fine to get through the 21:00 slot, 00:30 slot, and later on a bit of charge to get through the 06:00 slot, but otherwise just keeping the soc low ready for the power up event would seem best, but instead the soc is being held at 86% all night so its having to do a force discharge in the power-up event to get the battery lower to take advantage of the free electricity. I accidentally installed 7.14.29 - plan was the same. Installed the new 7.14.32 and other than 20:30 now being a freeze charge rather than a charge, its the same issue, too much soc being retained through the night ahead of the zero rate period at 7am. Changing mode to Charging only produces a much more sensible plan, overnight it only charges enough to get through the 06:00 more expensive slot Its a cheaper plan as well, by 9am, its 18p cheaper than the Charging and Discharging plan @naltsta @dandwhelan have you got Mode set to Charging only or Charging and Discharging? |
I'm in charge only mode but set to monitor for the evenings.
I've a mixergy hot water tank which can charge on electric on cheap agile
rates and gas when it's expensive. I'm thinking maybe some of my data is
off because of this. Maybe I should put a request in to treat this hot
water tank as a car charger.
…On Thu, 4 Jan 2024, 21:06 Geoffrey Coan, ***@***.***> wrote:
Tuesday I think Predbat seemed to struggle with the flat rates (and my
export rate had gone up slightly on 1/1), so it wanted to discharge for no
benefit to recharge later on.
I set it to read-only mode and stopped the discharge, played around a bit
with setting mode to Charging only (which improved things), but after that
its been quite OK with charge and discharge planning.
But tomorrow morning we have a power-up event from 7-9am (first time we've
had one so early in the morning) and predbat v7.14.31 is really struggling
to manage the battery for it. A bit of charging is fine to get through the
21:00 slot, 00:30 slot, and later on a bit of charge to get through the
06:00 slot, but otherwise just keeping the soc low ready for the power up
event would seem best, but instead the soc is being held at 86% all night
so its having to do a force discharge in the power-up event to get the
battery lower to take advantage of the free electricity.
image.png (view on web)
<https://github.com/springfall2008/batpred/assets/142018870/0dd4f1e8-b52b-4468-b512-fe291aec09f2>
I accidentally installed 7.14.29 - plan was the same. Installed the new
7.14.32 and other than 20:30 now being a freeze charge rather than a
charge, its the same issue, too much soc being retained through the night
ahead of the zero rate period at 7am.
image.png (view on web)
<https://github.com/springfall2008/batpred/assets/142018870/b192d76e-2a04-45da-9a3e-da95b3cbdbbf>
Changing mode to Charging only produces a much more sensible plan,
overnight it only charges enough to get through the 06:00 more expensive
slot
image.png (view on web)
<https://github.com/springfall2008/batpred/assets/142018870/810ea211-7eac-4815-858b-4f9751019667>
Its a cheaper plan as well, by 9am, its 18p cheaper than the Charging and
Discharging plan
appdaemon (12).log
<https://github.com/springfall2008/batpred/files/13835493/appdaemon.12.log>
@naltsta <https://github.com/naltsta> @dandwhelan
<https://github.com/dandwhelan> have you got Mode set to Charging only or
Charging and Discharging?
—
Reply to this email directly, view it on GitHub
<#574 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AS34JH3RUSUPNXMP5BLGGYLYM4KT5AVCNFSM6AAAAABBL7ROXCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZXG42TSNRTGA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Switching between charging only and charging and discharging does not seem to change my plan (did check it had updated!) normally running on charge and discharge. No amount of fiddling seems to persuade it to charge at 22.30 tonight which is the cheapest slot for the foreseeable... Ps @gcoan who is giving you those export rates?! |
yes, is strange @naltsta why its not charging in that slot when mine is charging OK here's my config if you can see anything relevant: Export wise I'm on Octopus flux which is why you see the rates go up and down during the day/night |
@dandwhelan Can you feed the mixergy electric charging data in as load_forecast in apps.yaml and it should automatically get excluded:
|
Ok, I'll check it out.
Will I enter something like this?
load_forecast:
- predheat.heat_energy$sensor.namehere
…On Thu, 4 Jan 2024, 21:35 Geoffrey Coan, ***@***.***> wrote:
I've a mixergy hot water tank which can charge on electric on cheap agile
rates and gas when it's expensive. I'm thinking maybe some of my data is
off because of this. Maybe I should put a request in to treat this hot
water tank as a car charger.
Can you feed the mixergy electric charging data in as load_forecast in
apps.yaml and it should automatically get excluded:
# Load forecast can be used to add to the historical load data (heat-pump)
# To link to Predheat
# Data must be in the format of 'last_updated' timestamp and 'energy' for incrementing kWh
#load_forecast:
# - predheat.heat_energy$external
—
Reply to this email directly, view it on GitHub
<#574 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AS34JH2DKZ3MCESG333KZITYM4OA7AVCNFSM6AAAAABBL7ROXCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZXG44TCNZQHE>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Thanks - I've been tweaking and adjusting to see what I can get it to do but generally very similar settings. I now have no charge until 09.30 on Saturday morning! Aah so you're pretend on agile but actually on flux? Thanks for investigating |
How did you get the Watt loss on the price tab?
…On Thu, 4 Jan 2024, 22:07 naltsta, ***@***.***> wrote:
yes, is strange @naltsta <https://github.com/naltsta> why its not
charging in that slot when mine is charging OK
here's my config if you can see anything relevant:
image.png (view on web)
<https://github.com/springfall2008/batpred/assets/142018870/1623aaa6-1198-451f-b7ce-a3711b16eaef>
image.png (view on web)
<https://github.com/springfall2008/batpred/assets/142018870/5b11447a-b8a4-4fc7-af20-065c45fad17a>
image.png (view on web)
<https://github.com/springfall2008/batpred/assets/142018870/ff9be9f3-6511-4b4e-a2f4-b9119309e63f>
Export wise I'm on Octopus flux which is why you see the rates go up and
down during the day/night
Thanks - I've been tweaking and adjusting to see what I can get it to do
but generally very similar settings.
I now have no charge until 09.30 on Saturday morning!
Aah so you're pretend on agile but actually on flux?
Thanks for investigating
—
Reply to this email directly, view it on GitHub
<#574 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AS34JH4NSI5GAUQBNRSCUILYM4RZZAVCNFSM6AAAAABBL7ROXCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZXHAZDIOJTHA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Hi @dandwhelan Its unfortunately not at all well documented, the only description of how this works is in the template apps.yaml file (there's nothing [currently] in the documentation). Looking at the python code that loads this extra load:
I take this to read load_forecast is set in apps.yaml to the string "entityname$attribute name" and you need a sensor called "entityname" which is of type energy, unit of measurement kWh e.g. sensor.mixergy_consumption_today_kwh and if the consumption is in an attribute called 'import' the apps.yaml entry would be:
If there isn't a separate attribute to read and the data you want is just the main sensor value, I am assuming you put the string as: sensor.mixergy_consumption_today_kwh$ But I am no expert on reading someone else's Python code..... Answering your other Q, yes, to see the effective rate for import and export after conversion losses, you set: @naltsta and answering your Q about tariff. I was on Octopus Flux in the summer, (import and export tariffs) then requested a move to Octopus Agile in mid October. Octopus moved my import tariff over to Agile. |
@naltsta agreed, doesn't seem any real reason to charge at midnight at 18.57p, but let the battery discharge at 03:00 when the rate is 17.63p. Unless best_soc_keep or best_soc_min is causing predbat to want to retain your charge? As you can see I have set mine to 0.1 and 0 to let predbat manage the battery fully and not keep anything in reserve. I only have a 5.2 battery so there's no point |
I would agree in setting best keep to 0 and change combine charge slots to off. I believe these two are causing predbat to seek two continuous slots to perform the charge, ignoring cheaper slots to find one combined that satisfies. Again no expert but from my observations. |
Thanks for the detailed reply. I forgot to post but I tried that formatted and it caused a system error. load_forecast: I've no way to see if it's working but it never crashed. |
If it's loading extra load info then you should see something in the logfile. Can you attach a logfile please? But I'm not convinced this is working as I think it'll be looking for an entity 'predheat.heat_energy' which it won't find. But I may be wrong! I have separately asked @springfall2008 for advice / documentation on how this is supposed to be configured so I can add it to the documentation |
The name should be the sensor name, the bit after the dollar is the attribute name. Clearly the above won’t work |
That’s what I thought Trefor.
What if there’s no attribute, it’s just the default sensor value?
… On 10 Jan 2024, at 20:19, Trefor Southwell ***@***.***> wrote:
The name should be the sensor name, the bit after the dollar is the attribute name. Clearly the above won’t work
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.
|
You can’t put future data into a sensor value afaik. The data has to be an array of dates and values of a specific format. |
Ah OK @springfall2008 it doesn't sound like this will do what @dandwhelan wanted which was:
I had suggested:
But now I think I better understand that load_forecast is to ADD an additional forecasted load into the predbat plan, NOT to remove load, like historical EV charging Looks like @dandwhelan could get what he wants by configuring car_charging_energy:
if he set:
then this would have the desired effect of excluding the mixergy load from the historic house load? As for load_forecast, I can add some more to apps.yaml to explain how this works now I understand it better |
Yes I agree with your comments, car charging energy is for excluding while load forecast is for including extra load in the future, mostly to link to predheat |
Been looking at Predheat, I can see the family resemblance! Have added to the apps.yaml documentation to explain how car_charging_energy can be used to exclude load data such as Mixergy electric heating, and how load_forecast works now I (hopefully) understand it. Draft updated doc here: https://github.com/gcoan/batpred/blob/main/docs/apps-yaml.md |
…f config items (#625) * Review and update configuration guide * Review & refine 'what does predbat do' * Expand explanation days_previous with examples * Added explanation of how set_reserve_min could be used to retain SOC ahead of predicted storms #571 * Add explanation of using car_charging_energy to filter other loads such as Mixergy out #574 * Add details of load_forecast and predheat Not utilising battery #574 * Added 'choose' branching to givtcp activity monitor * Added givtcp alert if inverter temperature <5 degrees (should never happen, indicates inverter offline) * Added GivTCP restart to activity monitor * Move GivTCP 'output raw register values' image into images folder * Move 'Predbat sample data-out dashboard' into images folder * Added rounding to rate_min_forward_looking log message * Reformat 'joined Octopus saving session' log & alert for improved readability * [pre-commit.ci lite] apply automatic fixes * Expanded and updated Predbat Plan card documentation * Line length fix * Minor changes to predbat-plan-card --------- Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
…for impoving the plan, days_previous (#670) * Review and update configuration guide * Review & refine 'what does predbat do' * Expand explanation days_previous with examples * Added explanation of how set_reserve_min could be used to retain SOC ahead of predicted storms #571 * Add explanation of using car_charging_energy to filter other loads such as Mixergy out #574 * Add details of load_forecast and predheat Not utilising battery #574 * Added 'choose' branching to givtcp activity monitor * Added givtcp alert if inverter temperature <5 degrees (should never happen, indicates inverter offline) * Added GivTCP restart to activity monitor * Move GivTCP 'output raw register values' image into images folder * Move 'Predbat sample data-out dashboard' into images folder * Added rounding to rate_min_forward_looking log message * Reformat 'joined Octopus saving session' log & alert for improved readability * [pre-commit.ci lite] apply automatic fixes * Expanded and updated Predbat Plan card documentation * Line length fix * Minor changes to predbat-plan-card * Expanded installation guide for #645, clarify Monitor mode * Added Arg0t's tip to use metric_future_rate_offset_import for more aggressive charging * Improve battery loss & scaling and weight documentation sections * New FAQ for improving the plan * Move configuration docs from config guide to customisation doc * Completed new FAQ for understanding losses & battery metric #643 * Expanded explanation of how days_previous works #647 * Move extended days_previous examples to separate section --------- Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
* Review and update configuration guide * Review & refine 'what does predbat do' * Expand explanation days_previous with examples * Added explanation of how set_reserve_min could be used to retain SOC ahead of predicted storms #571 * Add explanation of using car_charging_energy to filter other loads such as Mixergy out #574 * Add details of load_forecast and predheat Not utilising battery #574 * Added 'choose' branching to givtcp activity monitor * Added givtcp alert if inverter temperature <5 degrees (should never happen, indicates inverter offline) * Added GivTCP restart to activity monitor * Move GivTCP 'output raw register values' image into images folder * Move 'Predbat sample data-out dashboard' into images folder * Added rounding to rate_min_forward_looking log message * Reformat 'joined Octopus saving session' log & alert for improved readability * [pre-commit.ci lite] apply automatic fixes * Expanded and updated Predbat Plan card documentation * Line length fix * Minor changes to predbat-plan-card * Expanded installation guide for #645, clarify Monitor mode * Added Arg0t's tip to use metric_future_rate_offset_import for more aggressive charging * Improve battery loss & scaling and weight documentation sections * New FAQ for improving the plan * Move configuration docs from config guide to customisation doc * Completed new FAQ for understanding losses & battery metric #643 * Expanded explanation of how days_previous works #647 * Move extended days_previous examples to separate section * Update configuration-guide.md, add missing predbat_ prefixes predbat_ prefix missing from a number of entities * Update energy-rates.md, minor typos * Update install.mdUpdate install.md, extra highlight of what Monitor mode does * Update configuration-guide.md, more missing predbat_ prefixes * Update car-charge-planning.md, clarify settings for Octopus Intelligent * Typo & formatting corrections * Create charge curve, more info on entities required for history to create the curve #666 * Added missing predbat_ prefixes to HA entity names * Expanded predbat freeze charge/discharge statii descriptions #689 --------- Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com> Co-authored-by: Trefor Southwell <48591903+springfall2008@users.noreply.github.com>
* Fix constant reset inverter issue with previous release (#526) * Add 'main' to list of updates, catch some extra errors (#528) * Cloud coverage PV fix (#529) * Cloud coverage PV fix * PV power prediction issues * Cloud coverage pv fix (attempt 2) (#532) #530 * Discharge optimisation (#533) * Discharge optimisation * [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> * Tweaks to optimisation to try to prevent locked in discharge (#538) * Tweaks to optimisation to try to prevent locked in discharge --------- Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com> * Miscalculation of car charging window size (#544) Possible fix for: #542 * Avoid resetting charge window when charge isn't enabled (#549) * Avoid resetting charge window when charge isn't enabled #545 * [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> * Update video-guides.md (#550) * Update video-guides.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> * Update video-guides.md (#551) * Update video-guides.md (#552) * Update video-guides.md * Template sofar inverter sensors (#524) * Template sofar inverter sensors --------- Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com> * Update video-guides.md (#555) * Update video-guides.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> * Do not reset inverter in read-only mode even for mode (#557) * Update README.md (#558) * Update README.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> * Update dynamic-entities-card.yaml (#559) * Fix update selector showing blank (#562) * Update to handling of update entity (#563) * Fix to sanity check for apps_dir default (#564) * Fix to sanity check for apps_dir default --------- Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com> * Car charging soc manual (#569) * Car charging soc manual #568 * Update customisation.md --------- Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com> * Predbat documentation enhancements (#570) * Improved readability for new users * Add Redownload * Further tweaks * Full unix pathnames * Restructure & enhance to guide new users better * Explain how to change the 'enforce basepath' switch for File Editor add-on * Explain how to stop Predbat joining & managing Octopus saving sessions * Clarify Predbat mode settings required for saving sessions * Expanded metric_min_improvement_discharge description for #530 * Restructure & enhance config-yml.md for readability * Improve car charging description in apps.yaml * Renamed config-yml-settings to apps-yaml & completed review & updates * Merge in appdaemon-predbat add-on install instructions * Add AppDaemon/Predbat combined add-on install method #566 --------- Co-authored-by: Trefor Southwell <48591903+springfall2008@users.noreply.github.com> * Fix crash with calculate soc only (#573) * Fix crash with calculate soc only * [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> * Fix issue causing extra high slots to be used in charging (#579) * Potential fixes for handling of NoCharge (#578) * Potential fixes for handling of NoCharge * Ensure charges are discarded if they are set to reserve * Avoid selecting reserve if charge freeze is off * Don't set reserve while charging if SOC is above target * [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> * Update predbat.py (#580) * Do not set reserve while actively charging (#584) * Don't reset charge window going read-only if not controlling it (#585) * Don't reset charge window going read-only if not controlling it * [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> * Documentation fixes: explain nordpool apps.yaml cfg, 'so solar data' FAQ, corrected menu structure (#581) * Remove stray loom references * Added 'no solar data' FAQ * Added rounding to 'Rate min forward looking' log message * Further reword to 'Rate min forward looking' msg * Added explanation of nordpool future rates apps.yaml config. Changed import adjust to True & export to False for #576 * Corrected menu structure for apps-yaml * [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> * Potential fix for too many freeze charges (#587) * Potential fix for too many freeze charges #586 * [pre-commit.ci lite] apply automatic fixes * Update predbat.py --------- Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com> * Update predbat.py (#588) * New calculation regions optimisation feature (#589) * New calculation regions optimisation feature * [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> * Calculate region feature (#591) * Calculate region feature Fix threshold value issue after region pass: #590 * [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> * Set calculate regions to be expert mode switch (#592) * Set calculate regions to be expert mode switch * [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> * Region optimisation tweaks (#593) * Set calculate regions to be expert mode switch * [pre-commit.ci lite] apply automatic fixes * Update customisation.md --------- Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com> * Fix to avoid crash if car charging plan time is not set correctly (#594) * Fix freeze charging appearing too often issue (#597) * Fix freeze charging appearing too often issue #595 * Apply same fix for freeze discharge * Documentation enhancements (#596) * Review and update configuration guide * Review & refine 'what does predbat do' * Update README.md (#599) * Update README.md * Update install.md * Minor tweak to allow new installs not to get zero data (#603) * Additional fix for missing load scenario (#604) Prevent negative data during wrap of days previous * Update video-guides.md (#606) * Update video-guides.md * [pre-commit.ci lite] apply automatic fixes * Update custom-dictionary-workspace.txt --------- Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com> * Update video-guides.md (#607) * Fix to allow continued operation after REST error (#609) * Fix time window wrap issue, predbat restore automation (#610) * Fix time window wrap issue, predbat restore automation #608 * [pre-commit.ci lite] apply automatic fixes * Fix to state save code * [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> * Change default metric battery cycle to 1.0 (#613) * Change default metric battery cycle to 1.0 * [pre-commit.ci lite] apply automatic fixes * Update customisation.md * Update configuration-guide.md --------- Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com> * Account for time taken to calculate plan but reading inverter status again afterwards (#615) * Account for time taken to calculate plan but reading inverter status again afterwards * [pre-commit.ci lite] apply automatic fixes * Update predbat.py --------- Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com> * Save/Restore settings selector function (#616) * Save/Restore settings selector function * Remove old save settings for automation code * Update customisation.md - document save/restore --------- Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com> * Update dynamic-entities-card.yaml (#618) * Fix restore of previous.yaml (avoid overwriting itself) (#622) * Fix restore of previous.yaml (avoid overwriting itself) * [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> * Fix issue where inverter skew is falsely reported (#623) * Fix issue where inverter skew is falsely reported * [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> * Fix save/restore to not restore counters, fix bug in monitor mode where reserve was reset (#624) * Fix save/restore to not restore counters, fix bug in monitor mode where reserve was reset - Save/restore no longer restores holiday days left, iboost today or manual car SOC - Do not reset reserve when in monitor mode --------- Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com> * Override (#635) * Manual charge override feature * Finish off override function for charge & discharge * [pre-commit.ci lite] apply automatic fixes * Update predbat.py --------- Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com> * Documentation updates, givtcp activity monitor, further explanation of config items (#625) * Review and update configuration guide * Review & refine 'what does predbat do' * Expand explanation days_previous with examples * Added explanation of how set_reserve_min could be used to retain SOC ahead of predicted storms #571 * Add explanation of using car_charging_energy to filter other loads such as Mixergy out #574 * Add details of load_forecast and predheat Not utilising battery #574 * Added 'choose' branching to givtcp activity monitor * Added givtcp alert if inverter temperature <5 degrees (should never happen, indicates inverter offline) * Added GivTCP restart to activity monitor * Move GivTCP 'output raw register values' image into images folder * Move 'Predbat sample data-out dashboard' into images folder * Added rounding to rate_min_forward_looking log message * Reformat 'joined Octopus saving session' log & alert for improved readability * [pre-commit.ci lite] apply automatic fixes * Expanded and updated Predbat Plan card documentation * Line length fix * Minor changes to predbat-plan-card --------- Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com> * Fix bug in monitor mode changing charge window (#636) * Fix bug in monitor mode changing charge window * [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> * Fix bug in car charging smart calculation (#637) * Fix bug in car charging smart calculation #621 * [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> * Add manual idle time, fix bug in manual mode related to 60 minute slots (#638) * Add manual idle time, fix bug in manual mode related to 60 minute slots * [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> * Update customisation.md (#639) * 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> * New saving session scaling feature (#640) * New saving session scaling feature * Load scaling in manual rates overrides * Change manual override to 18 hours --------- Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com> * fixes to manual override mode (#641) * fixes to manual override mode * [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> * Update car-charge-planning.md (#642) * Update car-charge-planning.md * Update car-charge-planning.md * Optimisation to speed up first pass levelling (#651) * Optimisation to speed up first pass levelling --------- Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com> * Fix issue with charge rate being reset when it shouldn't be in low power mode (#652) * Fix issue with charge rate being reset when it shouldn't be in low power mode Maybe related to: #650 --------- Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com> * Reduce low power margin to 10 minutes (#653) * Reduce low power margin to 10 minutes #650 * [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> * Low power charging, more accurate setting and some debug (#654) * Low power charging, more accurate setting and some debug #650 * [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> * Update customisation.md - car charging hold docs (#655) * 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> * Fix battery charge curve modelling for lower than max battery charge rate setting (#657) * Fix battery charge curve modelling for lower than max battery charge rate settings --------- Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com> * Find charge curve code (#658) * Find charge curve code --------- Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com> * Tidy up battery power curve calculations/reporting (#659) * Tidy up battery power curve calculations/reporting * Update apps.yaml --------- Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com> * Update apps-yaml.md (#660) * Update apps-yaml.md --------- Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com> * Fix crash with .replace in battery power curve code (#663) * Fix crash with .replace in battery power curve code * Update apps.yaml - change number to sensor * Async fetch history to avoid timeouts (#665) * Async fetch history to avoid timeouts * [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> * Issue with reserve max causing flip/flop charging at 100% (#668) * Issue with reserve max causing flip/flop charging at 100% #667 --------- Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com> * Documentation updates: Monitor mode, Battery loss & scaling, new FAQ for impoving the plan, days_previous (#670) * Review and update configuration guide * Review & refine 'what does predbat do' * Expand explanation days_previous with examples * Added explanation of how set_reserve_min could be used to retain SOC ahead of predicted storms #571 * Add explanation of using car_charging_energy to filter other loads such as Mixergy out #574 * Add details of load_forecast and predheat Not utilising battery #574 * Added 'choose' branching to givtcp activity monitor * Added givtcp alert if inverter temperature <5 degrees (should never happen, indicates inverter offline) * Added GivTCP restart to activity monitor * Move GivTCP 'output raw register values' image into images folder * Move 'Predbat sample data-out dashboard' into images folder * Added rounding to rate_min_forward_looking log message * Reformat 'joined Octopus saving session' log & alert for improved readability * [pre-commit.ci lite] apply automatic fixes * Expanded and updated Predbat Plan card documentation * Line length fix * Minor changes to predbat-plan-card * Expanded installation guide for #645, clarify Monitor mode * Added Arg0t's tip to use metric_future_rate_offset_import for more aggressive charging * Improve battery loss & scaling and weight documentation sections * New FAQ for improving the plan * Move configuration docs from config guide to customisation doc * Completed new FAQ for understanding losses & battery metric #643 * Expanded explanation of how days_previous works #647 * Move extended days_previous examples to separate section --------- Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com> * Fix issue with charge curve calculation and battery scaling (#671) * Fix issue with charge curve calculation and battery scaling --------- Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com> * Model use of DC charging from PV with AC grid charger (#675) * Model use of DC charging from PV with AC grid charger #669 --------- Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com> * Debug output fixes (#676) * Debug output fixes * [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> * Attempt to fix power curve generation for smaller batteries (#678) * Support adjustment to existing rates in override (#679) * Support adjustment to existing rates in override * Update energy-rates.md --------- Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com> * Automatic charge curve calculation: allow for gaps in battery SOC % (#680) * Charge curve, allow for gaps in battery SOC % #666 * [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> * Rate scaling divide by 0 protection in charge curve calcuation (#681) * Automatic unit detected for Watts vs Kwh when reading historical data (#682) * Automatic unit detected for Watts vs Kwh when reading historical data * [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> * Charge curve averaging and auto mode (#683) * Charge curve averaging and auto mode * [pre-commit.ci lite] apply automatic fixes * Update predbat.py - typo --------- Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com> * Fix to repeat of incremental rate adjustments (#685) * Fix to repeat of incremental rate adjustments --------- Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com> * Improve charge curve, and add discharge curve calculations (#690) * Improve charge curve, and add discharge curve calculations * Add seperate battery_rate_max_scaling_discharge input entity --------- Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com> * Fix unit display on input_number (#691) * Fix unit display on input_number * [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> * Documentation updates (#692) * Review and update configuration guide * Review & refine 'what does predbat do' * Expand explanation days_previous with examples * Added explanation of how set_reserve_min could be used to retain SOC ahead of predicted storms #571 * Add explanation of using car_charging_energy to filter other loads such as Mixergy out #574 * Add details of load_forecast and predheat Not utilising battery #574 * Added 'choose' branching to givtcp activity monitor * Added givtcp alert if inverter temperature <5 degrees (should never happen, indicates inverter offline) * Added GivTCP restart to activity monitor * Move GivTCP 'output raw register values' image into images folder * Move 'Predbat sample data-out dashboard' into images folder * Added rounding to rate_min_forward_looking log message * Reformat 'joined Octopus saving session' log & alert for improved readability * [pre-commit.ci lite] apply automatic fixes * Expanded and updated Predbat Plan card documentation * Line length fix * Minor changes to predbat-plan-card * Expanded installation guide for #645, clarify Monitor mode * Added Arg0t's tip to use metric_future_rate_offset_import for more aggressive charging * Improve battery loss & scaling and weight documentation sections * New FAQ for improving the plan * Move configuration docs from config guide to customisation doc * Completed new FAQ for understanding losses & battery metric #643 * Expanded explanation of how days_previous works #647 * Move extended days_previous examples to separate section * Update configuration-guide.md, add missing predbat_ prefixes predbat_ prefix missing from a number of entities * Update energy-rates.md, minor typos * Update install.mdUpdate install.md, extra highlight of what Monitor mode does * Update configuration-guide.md, more missing predbat_ prefixes * Update car-charge-planning.md, clarify settings for Octopus Intelligent * Typo & formatting corrections * Create charge curve, more info on entities required for history to create the curve #666 * Added missing predbat_ prefixes to HA entity names * Expanded predbat freeze charge/discharge statii descriptions #689 --------- Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com> Co-authored-by: Trefor Southwell <48591903+springfall2008@users.noreply.github.com> * Update apps.yaml (#694) * Update apps.yaml * Update apps-yaml.md - line length fix * Code cleanup (#656) * refactor: clean up code for efficiencies and readability * refactor: clean up code for efficiencies and readability * refactor: sorted imports * [pre-commit.ci lite] apply automatic fixes * refactor: update cspell dict * refactor: add fstring * [pre-commit.ci lite] apply automatic fixes * refactor: cspell dictionary update --------- Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com> * Supporting nordpool format rates (#697) * Supporting nordpool format rates * [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> * Support multiple files for Predbat internal update feature (#701) * Support multiple files for Predbat internal update feature --------- Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com> * Auto update fixes (#702) * Auto update fixes --------- Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com> * Auto update issues (#703) * Doc strings & some refactoring (#704) * Doc strings * Minor refactoing --------- Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com> * Code optimisations (#705) * Code optimisations * [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> * Fix units on calculate plan every (#710) * Fix units on calculate plan every #708 * [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> * Update settings right away rather than waiting for HA run (#711) * Update settings right away rather than waiting for HA run #707 * [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> * Add symbols in the plan for different rate sources (#712) * Add symbols in the plan for different rate sources * Update predbat-plan-card.md --------- Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com> * Set max charge/discharge rate fuzzy threshold to be max_rate/25 rathe… (#715) * Set max charge/discharge rate fuzzy threshold to be max_rate/25 rather than fixed at 100 #714 --------- Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com> * Show creation time on html plan (#716) * Show creation time on html plan * [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> * Detect GE inverter in calibration mode, fix to previous charge/discharge rate code (#717) * Detect GE inverter in calibration mode, fix to previous charge/discharge rate code #706 * Calibration mode to also reset charge/discharge rate * [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> * Fixes for force selector not changing correctly in all cases (#719) * Fixes for force selector not changing correctly in all cases --------- Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com> * Support updates via HA update entity (#721) #575 * Fixes to predbat update (#722) #575 * Fix predbat update to show its active (#723) --------- Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com> Co-authored-by: Geoffrey Coan <142018870+gcoan@users.noreply.github.com> Co-authored-by: Steven Marks <marksie1988@users.noreply.github.com>
Describe the bug
Not choosing cheapest slots to charge
Expected behavior
Cheapest slots selected
Predbat version
7.14.31
Environment details
Screenshots
![Screenshot 2024-01-03 at 21 02 15](https://private-user-images.githubusercontent.com/128919622/294027383-52174139-330a-45c7-92f5-9e9867571368.jpg?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjM1MzAxOTgsIm5iZiI6MTcyMzUyOTg5OCwicGF0aCI6Ii8xMjg5MTk2MjIvMjk0MDI3MzgzLTUyMTc0MTM5LTMzMGEtNDVjNy05MmY1LTllOTg2NzU3MTM2OC5qcGc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwODEzJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDgxM1QwNjE4MThaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0wODlkODJkNGE4ZjI2ZmIxZjgxM2I3YzYyMWIwMGQ4NjQxZDE5YmU5NGU3YTc4YWUwMmExMTE0ZGI3ZWIyYTc4JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.eu5gRG0AwpXsVAyMDYWNJbAgPFE36C-Gt6fdah1SpWc)
Log file
2024-01-03 20:56:21.304329 INFO pred_bat: Optimise price set 25.0 start_at_low True best_price 29.0
2024-01-03 20:56:22.107520 INFO pred_bat: Try optimising charge window(s) 29: 01-04 15:00:00 - 01-04 15:30:00 price 20.53 cost 461.23 metric 388.01 keep 0.0 selected 5.22 was 5.22 results {5.22: 388.01, 4.72: 388.02, 0.0: 392.3, 0.21: 388.12}
2024-01-03 20:56:22.117346 INFO pred_bat: Optimise price set 25.8 start_at_low True best_price 29.0
2024-01-03 20:56:22.954790 INFO pred_bat: Try optimising charge window(s) 22: 01-04 10:00:00 - 01-04 10:30:00 price 21.25 cost 461.23 metric 388.01 keep 0.0 selected 5.22 was 5.22 results {5.22: 388.01, 4.72: 388.02, 0.0: 390.86, 0.21: 388.12}
2024-01-03 20:56:22.964790 INFO pred_bat: Optimise price set 25.9 start_at_low True best_price 29.0
2024-01-03 20:56:23.767574 INFO pred_bat: Try optimising charge window(s) 26: 01-04 13:00:00 - 01-04 13:30:00 price 21.35 cost 461.23 metric 388.01 keep 0.0 selected 5.22 was 5.22 results {5.22: 388.01, 4.72: 388.02, 0.0: 388.9, 0.21: 388.12}
2024-01-03 20:56:23.777286 INFO pred_bat: Optimise price set 26.6 start_at_low True best_price 29.0
2024-01-03 20:56:25.113291 INFO pred_bat: Try optimising charge window(s) 20: 01-04 08:30:00 - 01-04 09:30:00 price 21.98 cost 461.23 metric 388.01 keep 0.0 selected 5.22 was 5.22 results {5.22: 388.01, 4.97: 388.02, 4.72: 388.02, 4.47: 388.02, 0.0: 391.95, 0.21: 388.12}
2024-01-03 20:56:25.900991 INFO pred_bat: Try optimising charge window(s) 23: 01-04 10:30:00 - 01-04 11:00:00 price 21.96 cost 461.23 metric 388.01 keep 0.0 selected 5.22 was 5.22 results {5.22: 388.01, 4.72: 388.02, 0.0: 388.17, 0.21: 388.12}
2024-01-03 20:56:25.910802 INFO pred_bat: Optimise price set 27.0 start_at_low True best_price 29.0
2024-01-03 20:56:27.486642 INFO pred_bat: Try optimising charge window(s) 28: 01-04 14:00:00 - 01-04 15:00:00 price 22.39 cost 461.23 metric 388.01 keep 0.0 selected 5.22 was 5.22 results {5.22: 388.01, 4.97: 388.02, 4.72: 388.02, 4.47: 388.02, 4.22: 388.02, 3.97: 388.02, 3.72: 388.02, 0.0: 395.15, 0.21: 388.12}
2024-01-03 20:56:27.496590 INFO pred_bat: Optimise price set 27.4 start_at_low True best_price 29.0
2024-01-03 20:56:28.226453 INFO pred_bat: Try optimising charge window(s) 21: 01-04 09:30:00 - 01-04 10:00:00 price 22.7 cost 461.23 metric 388.01 keep 0.0 selected 5.22 was 5.22 results {5.22: 388.01, 4.72: 388.02, 0.0: 388.82, 0.21: 388.12}
2024-01-03 20:56:28.236605 INFO pred_bat: Optimise price set 27.9 start_at_low True best_price 29.0
2024-01-03 20:56:28.976921 INFO pred_bat: Try optimising charge window(s) 38: 01-04 20:00:00 - 01-04 20:30:00 price 23.18 cost 461.23 metric 388.01 keep 0.0 selected 5.22 was 5.22 results {5.22: 388.01, 4.72: 388.02, 0.0: 389.89, 0.21: 388.12}
2024-01-03 20:56:28.987656 INFO pred_bat: Optimise price set 29.0 start_at_low True best_price 29.0
2024-01-03 20:56:29.823996 INFO pred_bat: Try optimising charge window(s) 30: 01-04 15:30:00 - 01-04 16:00:00 price 24.2 cost 461.23 metric 388.01 keep 0.0 selected 5.22 was 5.22 results {5.22: 388.01, 4.72: 388.02, 0.0: 394.57, 0.21: 388.12}
2024-01-03 20:56:29.834785 INFO pred_bat: Optimise price set 30.5 start_at_low True best_price 29.0
2024-01-03 20:56:30.673144 INFO pred_bat: Try optimising charge window(s) 36: 01-04 19:00:00 - 01-04 19:30:00 price 25.6 cost 461.23 metric 388.01 keep 0.0 selected 5.22 was 5.22 results {5.22: 388.01, 4.72: 388.02, 0.0: 388.89, 0.21: 388.12}
2024-01-03 20:56:30.687615 INFO pred_bat: Optimise price set 40.3 start_at_low True best_price 29.0
2024-01-03 20:56:31.510182 INFO pred_bat: Try optimising charge window(s) 35: 01-04 18:30:00 - 01-04 19:00:00 price 34.73 cost 461.23 metric 388.01 keep 0.0 selected 5.22 was 5.22 results {5.22: 388.01, 4.72: 388.02, 0.0: 388.45, 0.21: 388.12}
2024-01-03 20:56:31.519927 INFO pred_bat: Optimise price set 41.8 start_at_low True best_price 29.0
2024-01-03 20:56:32.306213 INFO pred_bat: Try optimising charge window(s) 31: 01-04 16:00:00 - 01-04 16:30:00 price 36.18 cost 461.23 metric 388.01 keep 0.0 selected 5.22 was 5.22 results {5.22: 388.01, 4.72: 388.02, 0.0: 392.35, 0.21: 388.12}
2024-01-03 20:56:32.315888 INFO pred_bat: Optimise price set 42.9 start_at_low True best_price 29.0
2024-01-03 20:56:33.092342 INFO pred_bat: Try optimising charge window(s) 34: 01-04 18:00:00 - 01-04 18:30:00 price 37.13 cost 461.23 metric 388.01 keep 0.0 selected 5.22 was 5.22 results {5.22: 388.01, 4.72: 388.02, 0.0: 390.5, 0.21: 388.12}
2024-01-03 20:56:33.102602 INFO pred_bat: Optimise price set 43.6 start_at_low True best_price 29.0
2024-01-03 20:56:34.030714 INFO pred_bat: Try optimising charge window(s) 32: 01-04 17:00:00 - 01-04 17:30:00 price 37.82 cost 461.23 metric 388.01 keep 0.0 selected 5.22 was 5.22 results {5.22: 388.01, 4.72: 388.28, 4.22: 388.28, 0.0: 391.74, 0.21: 388.38}
2024-01-03 20:56:34.039763 INFO pred_bat: Optimise price set 44.4 start_at_low True best_price 29.0
2024-01-03 20:56:34.808609 INFO pred_bat: Try optimising charge window(s) 33: 01-04 17:30:00 - 01-04 18:00:00 price 38.58 cost 461.23 metric 388.01 keep 0.0 selected 5.22 was 5.22 results {5.22: 388.01, 4.72: 388.02, 0.0: 391.19, 0.21: 388.12}
2024-01-03 20:56:34.828106 INFO pred_bat: Best charge windows in price group 44.4 best_metric 388.01 best_cost 461.23 metric_keep 0.0 windows [ 03-01 20:00:00 - 03-01 21:00:00 @ 18.2p 0.21%, 03-01 21:00:00 - 03-01 22:00:00 @ 18.41p 5.22%, 03-01 22:00:00 - 03-01 22:30:00 @ 18.38p 5.22%, 03-01 22:30:00 - 03-01 23:00:00 @ 16.4p 5.22%, 03-01 23:00:00 - 04-01 00:00:00 @ 16.78p 5.22%, 04-01 00:00:00 - 04-01 00:30:00 @ 16.27p 5.22%, 04-01 00:30:00 - 04-01 01:00:00 @ 18.17p 5.22%, 04-01 01:00:00 - 04-01 01:30:00 @ 18.6p 5.22%, 04-01 01:30:00 - 04-01 02:00:00 @ 16.33p 5.22%, 04-01 02:00:00 - 04-01 02:30:00 @ 16.74p 5.22%, 04-01 02:30:00 - 04-01 03:30:00 @ 16.12p 5.22%, 04-01 03:30:00 - 04-01 04:00:00 @ 15.16p 5.22%, 04-01 04:00:00 - 04-01 04:30:00 @ 16.27p 5.22%, 04-01 04:30:00 - 04-01 05:00:00 @ 15.12p 5.22%, 04-01 05:00:00 - 04-01 05:30:00 @ 16.27p 5.22%, 04-01 05:30:00 - 04-01 06:00:00 @ 17.07p 5.22%, 04-01 06:00:00 - 04-01 06:30:00 @ 18.96p 5.22%, 04-01 06:30:00 - 04-01 07:00:00 @ 17.78p 5.22%, 04-01 07:00:00 - 04-01 08:00:00 @ 18.96p 5.22%, 04-01 08:00:00 - 04-01 08:30:00 @ 19.19p 5.22%, 04-01 08:30:00 - 04-01 09:30:00 @ 21.98p 5.22%, 04-01 09:30:00 - 04-01 10:00:00 @ 22.7p 5.22%, 04-01 10:00:00 - 04-01 10:30:00 @ 21.25p 5.22%, 04-01 10:30:00 - 04-01 11:00:00 @ 21.96p 5.22%, 04-01 11:00:00 - 04-01 12:00:00 @ 19.04p 5.22%, 04-01 12:00:00 - 04-01 13:00:00 @ 19.28p 5.22%, 04-01 13:00:00 - 04-01 13:30:00 @ 21.35p 5.22%, 04-01 13:30:00 - 04-01 14:00:00 @ 19.8p 5.22%, 04-01 14:00:00 - 04-01 15:00:00 @ 22.39p 5.22%, 04-01 15:00:00 - 04-01 15:30:00 @ 20.53p 5.22%, 04-01 15:30:00 - 04-01 16:00:00 @ 24.2p 5.22%, 04-01 16:00:00 - 04-01 16:30:00 @ 36.18p 5.22%, 04-01 17:00:00 - 04-01 17:30:00 @ 37.82p 5.22%, 04-01 17:30:00 - 04-01 18:00:00 @ 38.58p 5.22%, 04-01 18:00:00 - 04-01 18:30:00 @ 37.13p 5.22%, 04-01 18:30:00 - 04-01 19:00:00 @ 34.73p 5.22%, 04-01 19:00:00 - 04-01 19:30:00 @ 25.6p 5.22%, 04-01 19:30:00 - 04-01 20:00:00 @ 19.56p 5.22%, 04-01 20:00:00 - 04-01 20:30:00 @ 23.18p 5.22%, 04-01 20:30:00 - 04-01 21:00:00 @ 19.71p 5.22%, 04-01 21:00:00 - 04-01 21:30:00 @ 21.86p 5.22%, 04-01 21:30:00 - 04-01 22:00:00 @ 19.27p 5.22%, 04-01 22:00:00 - 04-01 22:30:00 @ 17.78p 5.22%, 04-01 22:30:00 - 04-01 23:00:00 @ 15.46p 5.22%, 04-01 23:00:00 - 05-01 00:00:00 @ 16.78p 5.22%, 05-01 00:00:00 - 05-01 00:30:00 @ 16.27p 5.22%, 05-01 00:30:00 - 05-01 01:00:00 @ 18.17p 5.22%, 05-01 01:00:00 - 05-01 01:30:00 @ 18.6p 5.22%, 05-01 01:30:00 - 05-01 02:00:00 @ 16.33p 5.22%, 05-01 02:00:00 - 05-01 02:30:00 @ 16.74p 5.22%, 05-01 02:30:00 - 05-01 03:30:00 @ 16.12p 5.22%, 05-01 03:30:00 - 05-01 04:00:00 @ 15.16p 5.22%, 05-01 04:00:00 - 05-01 04:30:00 @ 16.27p 5.22%, 05-01 04:30:00 - 05-01 05:00:00 @ 15.12p 5.22%, 05-01 05:00:00 - 05-01 05:30:00 @ 16.27p 5.22%, 05-01 05:30:00 - 05-01 06:00:00 @ 17.07p 5.22%, 05-01 06:00:00 - 05-01 06:30:00 @ 18.96p 5.22%, 05-01 06:30:00 - 05-01 07:00:00 @ 17.78p 5.22%, 05-01 07:00:00 - 05-01 08:00:00 @ 18.96p 5.22%, 05-01 08:00:00 - 05-01 08:30:00 @ 19.19p 5.22%, 05-01 08:30:00 - 05-01 09:30:00 @ 21.98p 5.22% ]
2024-01-03 20:56:34.839738 INFO pred_bat: Best discharge windows in price group 44.4 best_metric 388.01 best_cost 461.23 metric_keep 0.0 windows [ ]
2024-01-03 20:56:34.849041 INFO pred_bat: Tweak optimisation started
2024-01-03 20:56:35.630997 INFO pred_bat: Try optimising charge window(s) 0: 01-03 20:00:00 - 01-03 21:00:00 price 18.2 cost 461.23 metric 387.62 keep 0.0 selected 0.21 was 0.21 results {5.22: 388.01, 4.97: 388.02, 0.0: 388.66, 0.21: 387.62}
2024-01-03 20:56:37.019317 INFO pred_bat: Try optimising charge window(s) 1: 01-03 21:00:00 - 01-03 22:00:00 price 18.41 cost 461.23 metric 388.01 keep 0.0 selected 5.22 was 5.22 results {5.22: 388.01, 4.97: 388.02, 4.72: 388.02, 4.47: 388.02, 4.22: 388.02, 3.97: 388.02, 0.0: 396.28, 0.21: 388.12}
2024-01-03 20:56:38.077635 INFO pred_bat: Try optimising charge window(s) 2: 01-03 22:00:00 - 01-03 22:30:00 price 18.38 cost 461.23 metric 388.01 keep 0.0 selected 5.22 was 5.22 results {5.22: 388.01, 4.72: 388.02, 0.0: 390.69, 0.21: 388.12}
2024-01-03 20:56:39.007475 INFO pred_bat: Try optimising charge window(s) 3: 01-03 22:30:00 - 01-03 23:00:00 price 16.4 cost 461.23 metric 388.01 keep 0.0 selected 5.22 was 5.22 results {5.22: 388.01, 4.72: 388.02, 0.0: 391.34, 0.21: 388.12}
2024-01-03 20:56:40.193474 INFO pred_bat: Try optimising charge window(s) 4: 01-03 23:00:00 - 01-04 00:00:00 price 16.78 cost 461.23 metric 388.01 keep 0.0 selected 5.22 was 5.22 results {5.22: 388.01, 4.97: 388.02, 4.72: 388.02, 4.47: 388.02, 0.0: 393.03, 0.21: 388.12}
2024-01-03 20:56:40.981859 INFO pred_bat: Try optimising charge window(s) 5: 01-04 00:00:00 - 01-04 00:30:00 price 16.27 cost 461.23 metric 388.01 keep 0.0 selected 5.22 was 5.22 results {5.22: 388.01, 4.72: 388.02, 0.0: 391.13, 0.21: 388.12}
2024-01-03 20:56:41.772701 INFO pred_bat: Try optimising charge window(s) 6: 01-04 00:30:00 - 01-04 01:00:00 price 18.17 cost 461.23 metric 388.01 keep 0.0 selected 5.22 was 5.22 results {5.22: 388.01, 4.72: 388.02, 0.0: 391.54, 0.21: 388.12}
2024-01-03 20:56:42.717576 INFO pred_bat: Try optimising charge window(s) 7: 01-04 01:00:00 - 01-04 01:30:00 price 18.6 cost 461.23 metric 388.01 keep 0.0 selected 5.22 was 5.22 results {5.22: 388.01, 4.72: 388.02, 4.22: 388.02, 0.0: 391.39, 0.21: 388.12}
2024-01-03 20:56:42.727897 INFO pred_bat: Tweak optimisation finished metric 388.01 cost 461.23 metric_keep 0.0
2024-01-03 20:56:42.853114 INFO pred_bat: predict debug end_record 01-04 21:00:00 final soc 5.22 kWh metric 517.86 p metric_keep 0.0 min_soc 4.9 @ 01-04 16:55:00 kWh load 26.79 pv 8.29
2024-01-03 20:56:42.886580 INFO pred_bat: [ 20:55, 21:55, 22:55, 23:55, 00:55, 01:55, 02:55, 03:55, 04:55, 05:55, 06:55, 07:55, 08:55, 09:55, 10:55, 11:55, 12:55, 13:55, 14:55, 15:55, 16:55, 17:55, 18:55, 19:55, 20:55]
2024-01-03 20:56:42.905368 INFO pred_bat: SOC: [ 5.22, 5.22, 5.22, 5.22, 5.22, 5.22, 5.22, 5.22, 5.22, 5.22, 5.22, 5.22, 5.22, 5.22, 5.22, 5.22, 5.22, 5.22, 5.22, 5.22, 4.96, 5.22, 5.22, 5.22, 5.22]
2024-01-03 20:56:42.922546 INFO pred_bat: STATE: [ g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g
be-, g<bf+, g<be-, g<be-, g<be-]be-, g2024-01-03 20:56:42.939951 INFO pred_bat: LOAD: [ 10.04, 10.94, 11.65, 12.27, 12.92, 14.01, 15.35, 15.84, 16.14, 16.52, 16.8, 17.22, 17.73, 18.33, 19.23, 20.08, 20.94, 21.77, 23.0, 23.68, 24.27, 24.82, 25.42, 26.05, 26.78]
2024-01-03 20:56:42.957600 INFO pred_bat: PV: [ 4.3, 4.3, 4.3, 4.3, 4.3, 4.3, 4.3, 4.3, 4.3, 4.3, 4.3, 4.3, 4.33, 4.68, 5.35, 6.26, 7.16, 7.87, 8.22, 8.29, 8.29, 8.29, 8.29, 8.29, 8.29]
2024-01-03 20:56:42.976173 INFO pred_bat: IMPORT: [ 8.8, 9.7, 10.41, 11.03, 11.68, 12.78, 14.11, 14.61, 14.9, 15.28, 15.57, 15.98, 16.47, 16.76, 17.21, 17.62, 18.05, 18.4, 19.29, 19.92, 20.26, 21.1, 21.69, 22.33, 23.05]
2024-01-03 20:56:42.994925 INFO pred_bat: EXPORT: [ 3.0, 3.0, 3.0, 3.0, 3.0, 3.0, 3.0, 3.0, 3.0, 3.0, 3.0, 3.0, 3.0, 3.03, 3.23, 3.66, 4.1, 4.3, 4.3, 4.3, 4.3, 4.3, 4.3, 4.3, 4.3]
2024-01-03 20:56:43.013720 INFO pred_bat: METRIC: [ 178.12, 194.65, 207.23, 217.58, 285.42, 304.48, 326.4, 334.17, 338.85, 345.06, 350.31, 358.12, 367.96, 374.03, 380.74, 382.15, 383.91, 387.97, 407.86, 421.65, 433.65, 465.52, 487.1, 502.13, 517.5]
2024-01-03 20:56:43.362559 INFO pred_bat: Filtered charge windows [ 03-01 20:00:00 - 03-01 21:00:00 @ 18.2p 4.0%, 03-01 21:00:00 - 04-01 16:30:00 @ 18.41p 100.0%, 04-01 17:00:00 - 05-01 09:30:00 @ 37.82p 100.0% ] reserve 0.21
2024-01-03 20:56:43.441489 INFO pred_bat: predict base end_record 01-04 21:00:00 final soc 0.21 kWh metric 430.87 p metric_keep 116.6 min_soc 0.21 @ 01-04 02:25:00 kWh load 26.79 pv 8.29
2024-01-03 20:56:43.456997 INFO pred_bat: [ 20:55, 21:55, 22:55, 23:55, 00:55, 01:55, 02:55, 03:55, 04:55, 05:55, 06:55, 07:55, 08:55, 09:55, 10:55, 11:55, 12:55, 13:55, 14:55, 15:55, 16:55, 17:55, 18:55, 19:55, 20:55]
2024-01-03 20:56:43.474211 INFO pred_bat: SOC: [ 5.22, 4.26, 3.49, 2.82, 2.13, 0.95, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.27, 0.26, 0.42, 0.25, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21]
2024-01-03 20:56:43.491410 INFO pred_bat: STATE: [ g
be-, gbe-, gbe-, gbe-, gbe-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, gbe-, g<be-, gbe-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-]be-, g2024-01-03 20:56:43.509329 INFO pred_bat: LOAD: [ 10.04, 10.94, 11.65, 12.27, 12.92, 14.01, 15.35, 15.84, 16.14, 16.52, 16.8, 17.22, 17.73, 18.33, 19.23, 20.08, 20.94, 21.77, 23.0, 23.68, 24.27, 24.82, 25.42, 26.05, 26.78]
2024-01-03 20:56:43.526392 INFO pred_bat: PV: [ 4.3, 4.3, 4.3, 4.3, 4.3, 4.3, 4.3, 4.3, 4.3, 4.3, 4.3, 4.3, 4.33, 4.68, 5.35, 6.26, 7.16, 7.87, 8.22, 8.29, 8.29, 8.29, 8.29, 8.29, 8.29]
2024-01-03 20:56:43.543955 INFO pred_bat: IMPORT: [ 8.8, 8.8, 8.8, 8.8, 8.8, 8.8, 9.45, 9.94, 10.24, 10.62, 10.9, 11.32, 11.8, 12.07, 12.39, 12.39, 12.55, 12.55, 13.41, 14.03, 14.61, 15.16, 15.76, 16.39, 17.12]
2024-01-03 20:56:43.561224 INFO pred_bat: EXPORT: [ 3.0, 3.0, 3.0, 3.0, 3.0, 3.0, 3.0, 3.0, 3.0, 3.0, 3.0, 3.0, 3.0, 3.0, 3.0, 3.0, 3.0, 3.0, 3.0, 3.0, 3.0, 3.0, 3.0, 3.0, 3.0]
2024-01-03 20:56:43.579173 INFO pred_bat: METRIC: [ 178.12, 178.12, 178.12, 178.12, 234.75, 234.75, 245.15, 252.91, 257.59, 263.8, 269.05, 276.86, 286.71, 292.6, 299.56, 299.56, 302.66, 302.66, 321.79, 335.58, 357.35, 378.54, 400.11, 415.14, 430.51]
2024-01-03 20:56:44.312544 INFO pred_bat: Battery has 5.5 hours left - now at 5.22
2024-01-03 20:56:44.511500 INFO pred_bat: predict base10 end_record 01-04 21:00:00 final soc 0.21 kWh metric 499.72 p metric_keep 139.78 min_soc 0.21 @ 01-04 02:20:00 kWh load 27.03 pv 4.91
2024-01-03 20:56:44.529567 INFO pred_bat: [ 20:55, 21:55, 22:55, 23:55, 00:55, 01:55, 02:55, 03:55, 04:55, 05:55, 06:55, 07:55, 08:55, 09:55, 10:55, 11:55, 12:55, 13:55, 14:55, 15:55, 16:55, 17:55, 18:55, 19:55, 20:55]
2024-01-03 20:56:44.549914 INFO pred_bat: SOC: [ 5.22, 4.16, 3.31, 2.58, 1.88, 0.7, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21]
2024-01-03 20:56:44.573039 INFO pred_bat: STATE: [ g
be-, gbe-, gbe-, gbe-, gbe-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-]be-, g<bf+, g<be-, g<be-, g<be-]2024-01-03 20:56:44.591934 INFO pred_bat: LOAD: [ 10.04, 11.02, 11.81, 12.49, 13.15, 14.24, 15.58, 16.07, 16.37, 16.75, 17.04, 17.45, 17.96, 18.56, 19.46, 20.31, 21.17, 22.0, 23.23, 23.92, 24.5, 25.05, 25.65, 26.28, 27.01]
2024-01-03 20:56:44.610447 INFO pred_bat: PV: [ 4.3, 4.3, 4.3, 4.3, 4.3, 4.3, 4.3, 4.3, 4.3, 4.3, 4.3, 4.3, 4.31, 4.36, 4.45, 4.59, 4.73, 4.84, 4.9, 4.91, 4.91, 4.91, 4.91, 4.91, 4.91]
2024-01-03 20:56:44.628368 INFO pred_bat: IMPORT: [ 8.8, 8.8, 8.8, 8.8, 8.8, 8.8, 9.68, 10.17, 10.47, 10.85, 11.13, 11.55, 12.06, 12.61, 13.41, 14.13, 14.85, 15.58, 16.76, 17.43, 18.01, 18.56, 19.16, 19.79, 20.52]
2024-01-03 20:56:44.647228 INFO pred_bat: EXPORT: [ 3.0, 3.0, 3.0, 3.0, 3.0, 3.0, 3.0, 3.0, 3.0, 3.0, 3.0, 3.0, 3.0, 3.0, 3.0, 3.0, 3.0, 3.0, 3.0, 3.0, 3.0, 3.0, 3.0, 3.0, 3.0]
2024-01-03 20:56:44.670832 INFO pred_bat: METRIC: [ 178.12, 178.12, 178.12, 178.12, 234.75, 234.75, 249.03, 256.8, 261.48, 267.69, 272.94, 280.75, 291.06, 303.34, 320.74, 334.52, 348.48, 363.39, 389.54, 404.42, 426.2, 447.39, 468.97, 484.0, 499.36]
2024-01-03 20:56:45.060488 INFO pred_bat: predict best10 end_record 01-04 21:00:00 final soc 5.22 kWh metric 582.13 p metric_keep 0.0 min_soc 4.9 @ 01-04 16:55:00 kWh load 27.03 pv 4.91
2024-01-03 20:56:45.077699 INFO pred_bat: [ 20:55, 21:55, 22:55, 23:55, 00:55, 01:55, 02:55, 03:55, 04:55, 05:55, 06:55, 07:55, 08:55, 09:55, 10:55, 11:55, 12:55, 13:55, 14:55, 15:55, 16:55, 17:55, 18:55, 19:55, 20:55]
2024-01-03 20:56:45.095384 INFO pred_bat: SOC: [ 5.22, 5.22, 5.22, 5.22, 5.22, 5.22, 5.22, 5.22, 5.22, 5.22, 5.22, 5.22, 5.22, 5.22, 5.22, 5.22, 5.22, 5.22, 5.22, 5.22, 4.96, 5.22, 5.22, 5.22, 5.22]
2024-01-03 20:56:45.109911 INFO pred_bat: STATE: [ g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g
2024-01-03 20:56:45.124929 INFO pred_bat: LOAD: [ 10.04, 11.02, 11.81, 12.49, 13.15, 14.24, 15.58, 16.07, 16.37, 16.75, 17.04, 17.45, 17.96, 18.56, 19.46, 20.31, 21.17, 22.0, 23.23, 23.92, 24.5, 25.05, 25.65, 26.28, 27.01]
2024-01-03 20:56:45.139642 INFO pred_bat: PV: [ 4.3, 4.3, 4.3, 4.3, 4.3, 4.3, 4.3, 4.3, 4.3, 4.3, 4.3, 4.3, 4.31, 4.36, 4.45, 4.59, 4.73, 4.84, 4.9, 4.91, 4.91, 4.91, 4.91, 4.91, 4.91]
2024-01-03 20:56:45.154976 INFO pred_bat: IMPORT: [ 8.8, 9.79, 10.58, 11.25, 11.91, 13.01, 14.35, 14.84, 15.14, 15.51, 15.8, 16.21, 16.72, 17.27, 18.08, 18.81, 19.53, 20.26, 21.43, 22.1, 22.45, 23.28, 23.88, 24.52, 25.24]
2024-01-03 20:56:45.169877 INFO pred_bat: EXPORT: [ 3.0, 3.0, 3.0, 3.0, 3.0, 3.0, 3.0, 3.0, 3.0, 3.0, 3.0, 3.0, 3.0, 3.0, 3.0, 3.01, 3.01, 3.01, 3.01, 3.01, 3.01, 3.01, 3.01, 3.01, 3.01]
2024-01-03 20:56:45.187752 INFO pred_bat: METRIC: [ 178.12, 196.3, 210.14, 221.52, 289.52, 308.57, 330.5, 338.26, 342.94, 349.15, 354.4, 362.21, 372.53, 384.81, 402.2, 416.01, 429.97, 444.88, 471.03, 485.92, 497.92, 529.79, 551.37, 566.4, 581.77]
2024-01-03 20:56:45.591857 INFO pred_bat: predict best end_record 01-04 21:00:00 final soc 5.22 kWh metric 517.86 p metric_keep 0.0 min_soc 4.9 @ 01-04 16:55:00 kWh load 26.79 pv 8.29
2024-01-03 20:56:45.610527 INFO pred_bat: [ 20:55, 21:55, 22:55, 23:55, 00:55, 01:55, 02:55, 03:55, 04:55, 05:55, 06:55, 07:55, 08:55, 09:55, 10:55, 11:55, 12:55, 13:55, 14:55, 15:55, 16:55, 17:55, 18:55, 19:55, 20:55]
2024-01-03 20:56:45.627389 INFO pred_bat: SOC: [ 5.22, 5.22, 5.22, 5.22, 5.22, 5.22, 5.22, 5.22, 5.22, 5.22, 5.22, 5.22, 5.22, 5.22, 5.22, 5.22, 5.22, 5.22, 5.22, 5.22, 4.96, 5.22, 5.22, 5.22, 5.22]
2024-01-03 20:56:45.645314 INFO pred_bat: STATE: [ g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g~be-, g<bf+, g<be-, g<be-, g<be-]
2024-01-03 20:56:45.663088 INFO pred_bat: LOAD: [ 10.04, 10.94, 11.65, 12.27, 12.92, 14.01, 15.35, 15.84, 16.14, 16.52, 16.8, 17.22, 17.73, 18.33, 19.23, 20.08, 20.94, 21.77, 23.0, 23.68, 24.27, 24.82, 25.42, 26.05, 26.78]
2024-01-03 20:56:45.680952 INFO pred_bat: PV: [ 4.3, 4.3, 4.3, 4.3, 4.3, 4.3, 4.3, 4.3, 4.3, 4.3, 4.3, 4.3, 4.33, 4.68, 5.35, 6.26, 7.16, 7.87, 8.22, 8.29, 8.29, 8.29, 8.29, 8.29, 8.29]
2024-01-03 20:56:45.699439 INFO pred_bat: IMPORT: [ 8.8, 9.7, 10.41, 11.03, 11.68, 12.78, 14.11, 14.61, 14.9, 15.28, 15.57, 15.98, 16.47, 16.76, 17.21, 17.62, 18.05, 18.4, 19.29, 19.92, 20.26, 21.1, 21.69, 22.33, 23.05]
2024-01-03 20:56:45.719953 INFO pred_bat: EXPORT: [ 3.0, 3.0, 3.0, 3.0, 3.0, 3.0, 3.0, 3.0, 3.0, 3.0, 3.0, 3.0, 3.0, 3.03, 3.23, 3.66, 4.1, 4.3, 4.3, 4.3, 4.3, 4.3, 4.3, 4.3, 4.3]
2024-01-03 20:56:45.743325 INFO pred_bat: METRIC: [ 178.12, 194.65, 207.23, 217.58, 285.42, 304.48, 326.4, 334.17, 338.85, 345.06, 350.31, 358.12, 367.96, 374.03, 380.74, 382.15, 383.91, 387.97, 407.86, 421.65, 433.65, 465.52, 487.1, 502.13, 517.5]
2024-01-03 20:56:46.533677 INFO pred_bat: Evaluate trigger {'name': 'large', 'minutes': 60, 'energy': 1.0} results off total_energy 0.0
2024-01-03 20:56:46.590312 INFO pred_bat: Evaluate trigger {'name': 'small', 'minutes': 15, 'energy': 0.25} results off total_energy 0.0
2024-01-03 20:56:46.627037 INFO pred_bat: Best charging limit socs [0.21, 5.22, 5.22] export [] gives import battery 23.35 house 0.0 export 4.3 metric 517.86 metric10 582.13
2024-01-03 20:56:47.124141 INFO pred_bat: Include original charge start 01-03 20:00:00, keeping this instead of new start 01-03 20:00:00
2024-01-03 20:56:47.132374 INFO pred_bat: Charge window will be: 2024-01-03 20:00:00+00:00 - 2024-01-04 16:30:00+00:00 - current soc 100 target 4
2024-01-03 20:56:47.142538 INFO pred_bat: Setting ECO mode as no discharge window planned
2024-01-03 20:56:47.154646 INFO pred_bat: Inverter 0 Adjust force discharge to False, change times from 15:00:00 - 15:31:00 to None - None
2024-01-03 20:56:47.167967 INFO pred_bat: Within charge freeze setting target soc to current soc 100
2024-01-03 20:56:47.182901 INFO pred_bat: Inverter 0 Current Target SOC is 100 already at target
2024-01-03 20:56:47.196160 INFO pred_bat: Adjust reserve to hold current soc 100 % (set_reserve_enable is true)
2024-01-03 20:56:47.207847 INFO pred_bat: Inverter 0 Current reserve is 98.0 already at target
2024-01-03 20:56:47.271984 INFO pred_bat: Completed run status Freeze charging
The text was updated successfully, but these errors were encountered: