JustPaste.it

Predbat

2024-02-28 01:05:00.014662 INFO pred_bat: --------------- PredBat - update at 2024-02-28 01:05:00.012146+01:00 with clock skew 0 minutes, minutes now 65
2024-02-28 01:05:00.034703 INFO pred_bat: Using cached GITHub data for https://api.github.com/repos/springfall2008/batpred/releases age 60.0 minutes
2024-02-28 01:05:00.037363 INFO pred_bat: Predbat /config/apps/predbat.py version v7.16.2 currently running, latest version is v7.16.2 latest beta v7.16.2
2024-02-28 01:05:00.039897 INFO pred_bat: Autoupdate: Currently up to date
2024-02-28 01:05:00.056230 INFO pred_bat: Inverter type HU forecast_hours 48 max_windows 48 num_cars 0 debug enable is False calculate_plan_every 5
2024-02-28 01:05:00.057529 INFO pred_bat: WARN: Using experimental inverter type HU - not all features are available
2024-02-28 01:05:00.058822 INFO pred_bat: Predbat mode is set to Control charge & discharge
2024-02-28 01:05:00.370026 INFO pred_bat: Found 15841 load_today datapoints going back 11 days
2024-02-28 01:05:02.136459 INFO pred_bat: Car charging hold False threshold 6.0
2024-02-28 01:05:02.137387 INFO pred_bat: Current data so far today: load 0.0 kWh import 3.42 kWh export 0.0 kWh pv 0.0 kWh
2024-02-28 01:05:02.138300 INFO pred_bat: Fetching futurerate data from None
2024-02-28 01:05:02.144414 INFO pred_bat: Standing charge is set to 0.0 p
2024-02-28 01:05:02.522851 INFO pred_bat: Rate min forward looking: now 23.1 at end of forecast 23.1
2024-02-28 01:05:02.524425 INFO pred_bat: Import rates min 23.1 max 38.5 average 29.64
2024-02-28 01:05:02.533339 INFO pred_bat: Export rates min 23.1 max 38.5 average 29.64
2024-02-28 01:05:02.534842 INFO pred_bat: Rate thresholds (for charge/discharge) are import 38.0p (0.0) export 23.6p (0.0)
2024-02-28 01:05:02.541780 INFO pred_bat: High export rate found rates in range 23.9 to 38.5
2024-02-28 01:05:02.549191 INFO pred_bat: Low Import rate found rates in range 23.1 to 36.4
2024-02-28 01:05:02.570324 INFO pred_bat: Todays energy import 3.42 kWh export 0.0 kWh cost 81.69 p import 81.69 p export 0.0 p
2024-02-28 01:05:02.574429 INFO pred_bat: PV Data for pv_forecast_today total 8.36 kWh
2024-02-28 01:05:02.577525 INFO pred_bat: PV Data for pv_forecast_tomorrow total 5.72 kWh
2024-02-28 01:05:02.580676 INFO pred_bat: PV Data for pv_forecast_d3 total 3.09 kWh
2024-02-28 01:05:02.583818 INFO pred_bat: PV Data for pv_forecast_d4 total 4.64 kWh
2024-02-28 01:05:02.594746 INFO pred_bat: Historical data totals for days [10] are [18.85] - min 18.85
2024-02-28 01:05:02.596549 INFO pred_bat: WARN: Historical day 10 has 200 minutes of gap in the data, filled from 18.85 kWh to make new average 21.89 kWh (percent 86%)
2024-02-28 01:05:02.617172 INFO pred_bat: Historical days now [10] weight [1]
2024-02-28 01:05:02.624391 INFO pred_bat: Today's load divergence 100.0 % in-day adjustment 100.0 % damping 0.95x, Predicted so far 0 kWh with 0.0 kWh car excluded and 9.58 kWh import ignored and 0 forecast extra, Actual so far 0 kWh with 0.0 kWh car excluded and 0.0 kWh import ignored
2024-02-28 01:05:02.652394 INFO pred_bat: Reserve min: 14.0% Battery_min:14.0%
2024-02-28 01:05:02.653708 INFO pred_bat: Inverter 0 with soc_max 10.0 kWh nominal_capacity 10.0 kWh battery rate raw 3500.0 w charge rate 3.5 kW discharge rate 3.5 kW battery_rate_min 0.0 w ac limit 10.0 kW export limit 10.0 kW reserve 14.0 % current_reserve 14.0 %
2024-02-28 01:05:02.659558 INFO pred_bat: Inverter 0 SOC: 0.4 kW 4 % Current charge rate 4500.0 w Current discharge rate 2800.0 w Current power 0.0 w Current voltage 52.0
2024-02-28 01:05:02.660620 INFO pred_bat: Inverter 0 scheduled charge enable is False
2024-02-28 01:05:02.661649 INFO pred_bat: Inverter 0 charge windows currently []
2024-02-28 01:05:02.662728 INFO pred_bat: Inverter 0 Charge settings: timed charged is disabled, power 4.5 kW
2024-02-28 01:05:02.664772 INFO pred_bat: Inverter 0 scheduled discharge enable is False
2024-02-28 01:05:02.666018 INFO pred_bat: Inverter 0 discharge windows currently [{'start': 0, 'end': 0, 'average': 0}, {'start': 1440, 'end': 1440, 'average': 0}]
2024-02-28 01:05:02.666819 INFO pred_bat: Note: Inverter does not support discharge freeze - disabled
2024-02-28 01:05:02.667577 INFO pred_bat: Note: Inverter does not support charge freeze - disabled
2024-02-28 01:05:02.668333 INFO pred_bat: Note: Inverter does not support reserve - disabling reserve functions
2024-02-28 01:05:02.669223 INFO pred_bat: Found 1 inverters totals: min reserve 1.4 current reserve 1.4 soc_max 10.0 soc 0.4 charge rate 4.5 kW discharge rate 2.8000000000000003 kW battery_rate_min 0.0 w ac limit 10.0 export limit 10.0 kW loss charge 3 % loss discharge 3 % inverter loss 5 %
2024-02-28 01:05:02.693834 INFO pred_bat: Base charge    window [  ]
2024-02-28 01:05:02.694889 INFO pred_bat: Base discharge window [ 28-02 00:00:00 - 28-02 00:00:00 @ 0p 100.0%, 29-02 00:00:00 - 29-02 00:00:00 @ 0p 100.0% ]
2024-02-28 01:05:02.695616 INFO pred_bat: Plan was last updated on 2024-02-28 01:00:00.007301+01:00 and is now 5.0 minutes old
2024-02-28 01:05:02.696475 INFO pred_bat: Best charge    window [ 28-02 02:00:00 - 28-02 08:00:00 @ 23.15p 100%, 29-02 02:00:00 - 29-02 08:00:00 @ 23.15p 100%, 29-02 10:00:00 - 01-03 02:00:00 @ 36.4p 100% ]
2024-02-28 01:05:02.697321 INFO pred_bat: Best discharge window [ 28-02 08:00:00 - 28-02 23:00:00 @ 38.5p 14%, 29-02 00:00:00 - 29-02 01:00:00 @ 23.9p 14% ]
2024-02-28 01:05:02.707436 INFO pred_bat: Creating pool of 2 processes to match your CPU count
2024-02-28 01:05:02.738035 INFO pred_bat: predict base end_record 02-29 02:05:00 final soc 1.4 kWh metric 432.7 p metric_keep 0 min_soc 1.4 @ 02-28 01:30:00 kWh load 19.46 pv 8.36
2024-02-28 01:05:02.739778 INFO pred_bat:          [  01:05,   02:05,   03:05,   04:05,   05:05,   06:05,   07:05,   08:05,   09:05,   10:05,   11:05,   12:05,   13:05,   14:05,   15:05,   16:05,   17:05,   18:05,   19:05,   20:05,   21:05,   22:05,   23:05,   00:05,   01:05]
2024-02-28 01:05:02.741294 INFO pred_bat:     SOC: [    0.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.5,     1.4,     1.4,    1.41,    1.53,    1.45,    1.51,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4]
2024-02-28 01:05:02.742731 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<be-,   g<be-,   g~be~,   g~be~]
2024-02-28 01:05:02.744200 INFO pred_bat:    LOAD: [    0.0,     2.2,    2.32,    2.33,    2.35,    2.37,    2.38,     2.4,    3.37,    5.17,    6.38,    7.78,     9.2,   10.35,   12.38,   14.23,   15.76,    17.2,   18.25,    18.4,   18.55,   18.82,    19.0,    19.1,   19.26]
2024-02-28 01:05:02.745665 INFO pred_bat:      PV: [    0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,    0.12,    0.56,    1.46,    2.66,    4.06,    5.47,    6.75,    7.73,    8.22,    8.36,    8.36,    8.36,    8.36,    8.36,    8.36,    8.36,    8.36,    8.36]
2024-02-28 01:05:02.747134 INFO pred_bat:  IMPORT: [   3.42,    5.76,    5.87,    5.89,    5.91,    5.92,    5.94,    5.94,     6.4,    7.34,    7.45,    7.63,    7.65,    7.65,    8.64,   10.03,   11.42,   12.86,   13.91,   14.06,   14.21,   14.48,   14.66,   14.76,   14.92]
2024-02-28 01:05:02.748599 INFO pred_bat:  EXPORT: [    0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0]
2024-02-28 01:05:02.750115 INFO pred_bat:  METRIC: [  81.69,  136.57,  139.25,  139.64,  140.04,  140.47,  140.92,  140.92,  158.63,  194.74,  198.44,  204.81,  205.48,  205.48,  235.54,  278.47,   322.1,  367.95,  400.71,  405.18,  409.71,  417.04,  421.77,  424.19,  427.79]
2024-02-28 01:05:02.918676 INFO pred_bat: Battery has 0.42 hours left - now at 0.4
2024-02-28 01:05:02.951989 INFO pred_bat: predict base10 end_record 02-29 02:05:00 final soc 1.4 kWh metric 714.12 p metric_keep 0 min_soc 1.4 @ 02-28 01:30:00 kWh load 21.38 pv 1.33
2024-02-28 01:05:02.953486 INFO pred_bat:          [  01:05,   02:05,   03:05,   04:05,   05:05,   06:05,   07:05,   08:05,   09:05,   10:05,   11:05,   12:05,   13:05,   14:05,   15:05,   16:05,   17:05,   18:05,   19:05,   20:05,   21:05,   22:05,   23:05,   00:05,   01:05]
2024-02-28 01:05:02.954975 INFO pred_bat:     SOC: [    0.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,    1.41,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4]
2024-02-28 01:05:02.956368 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<be-,   g<be-,   g~be~,   g~be~]
2024-02-28 01:05:02.957823 INFO pred_bat:    LOAD: [    0.0,    2.42,    2.55,    2.57,    2.58,     2.6,    2.62,    2.64,     3.7,    5.68,    7.02,    8.56,   10.12,   11.38,   13.62,   15.66,   17.33,   18.92,   20.07,   20.24,   20.41,    20.7,    20.9,   21.02,   21.17]
2024-02-28 01:05:02.959277 INFO pred_bat:      PV: [    0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,    0.02,    0.11,    0.26,    0.43,    0.63,    0.83,    1.02,    1.19,     1.3,    1.33,    1.33,    1.33,    1.33,    1.33,    1.33,    1.33,    1.33,    1.33]
2024-02-28 01:05:02.960756 INFO pred_bat:  IMPORT: [   3.42,    5.98,    6.11,    6.12,    6.14,    6.16,    6.18,    6.18,    7.16,     9.0,   10.17,   11.52,    12.9,   13.98,   16.05,   17.99,   19.63,   21.22,   22.37,   22.54,   22.71,    23.0,    23.2,   23.31,   23.47]
2024-02-28 01:05:02.962232 INFO pred_bat:  EXPORT: [    0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0]
2024-02-28 01:05:02.963746 INFO pred_bat:  METRIC: [  81.69,  141.73,  144.68,  145.11,  145.55,  146.03,  146.56,  146.73,  184.09,  254.48,  297.12,  343.79,  386.53,  418.83,  481.55,  541.52,  593.13,  643.74,  679.77,  684.69,  689.67,  697.74,  702.94,  705.61,  709.21]
2024-02-28 01:05:03.116852 INFO pred_bat: predict best10 end_record 02-29 02:05:00 final soc 1.53 kWh metric 666.62 p metric_keep 0 min_soc 1.4 @ 02-28 10:45:00 kWh load 21.38 pv 1.33
2024-02-28 01:05:03.118381 INFO pred_bat:          [  01:05,   02:05,   03:05,   04:05,   05:05,   06:05,   07:05,   08:05,   09:05,   10:05,   11:05,   12:05,   13:05,   14:05,   15:05,   16:05,   17:05,   18:05,   19:05,   20:05,   21:05,   22:05,   23:05,   00:05,   01:05]
2024-02-28 01:05:03.119916 INFO pred_bat:     SOC: [    0.4,    1.53,     3.1,    4.55,    6.01,    7.46,    8.92,    9.75,    6.71,    3.67,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4]
2024-02-28 01:05:03.121761 INFO pred_bat:   STATE: [  g<be-,   g<bf+,   g<bf+,   g<bf+,   g<bf+,   g<bf+,   g<bf+,   g>bf-,   g>bf-,   g>bf-,   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~]
2024-02-28 01:05:03.123260 INFO pred_bat:    LOAD: [    0.0,    2.42,    2.55,    2.57,    2.58,     2.6,    2.62,    2.64,     3.7,    5.68,    7.02,    8.56,   10.12,   11.38,   13.62,   15.66,   17.33,   18.92,   20.07,   20.24,   20.41,    20.7,    20.9,   21.02,   21.17]
2024-02-28 01:05:03.124717 INFO pred_bat:      PV: [    0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,    0.02,    0.11,    0.26,    0.43,    0.63,    0.83,    1.02,    1.19,     1.3,    1.33,    1.33,    1.33,    1.33,    1.33,    1.33,    1.33,    1.33,    1.33]
2024-02-28 01:05:03.126175 INFO pred_bat:  IMPORT: [   3.42,    6.12,    7.95,    9.55,   11.14,   12.74,   14.34,   15.51,   15.51,   15.52,   15.87,   17.22,   18.59,   19.67,   21.75,   23.68,   25.33,   26.92,   28.07,   28.24,   28.41,    28.7,    28.9,   29.01,   29.16]
2024-02-28 01:05:03.127642 INFO pred_bat:  EXPORT: [    0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,    0.24,    2.06,    3.03,    4.29,    4.29,    4.29,    4.29,    4.29,    4.29,    4.29,    4.29,    4.29,    4.29,    4.29,    4.29,    4.29,    4.29,    4.29]
2024-02-28 01:05:03.129153 INFO pred_bat:  METRIC: [  81.69,  145.03,  187.25,  224.45,  263.47,  305.33,  353.42,  386.36,  316.32,  279.91,  246.34,   293.0,  335.75,  368.04,  430.77,  490.74,  542.34,  592.95,  628.99,   633.9,  638.89,  646.96,  652.16,  654.82,  658.42]
2024-02-28 01:05:03.274213 INFO pred_bat: predict best end_record 02-29 02:05:00 final soc 1.53 kWh metric 384.4 p metric_keep 0 min_soc 1.4 @ 02-28 10:45:00 kWh load 19.46 pv 8.36
2024-02-28 01:05:03.275811 INFO pred_bat:          [  01:05,   02:05,   03:05,   04:05,   05:05,   06:05,   07:05,   08:05,   09:05,   10:05,   11:05,   12:05,   13:05,   14:05,   15:05,   16:05,   17:05,   18:05,   19:05,   20:05,   21:05,   22:05,   23:05,   00:05,   01:05]
2024-02-28 01:05:03.277442 INFO pred_bat:     SOC: [    0.4,    1.53,     3.1,    4.55,    6.01,    7.46,    8.92,    9.75,    6.71,    3.67,    1.41,    1.53,    1.45,    1.51,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4]
2024-02-28 01:05:03.278982 INFO pred_bat:   STATE: [  g<be-,   g<bf+,   g<bf+,   g<bf+,   g<bf+,   g<bf+,   g<bf+,   g>bf-,   g>bf-,   g>bf-,   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~]
2024-02-28 01:05:03.280579 INFO pred_bat:    LOAD: [    0.0,     2.2,    2.32,    2.33,    2.35,    2.37,    2.38,     2.4,    3.37,    5.17,    6.38,    7.78,     9.2,   10.35,   12.38,   14.23,   15.76,    17.2,   18.25,    18.4,   18.55,   18.82,    19.0,    19.1,   19.26]
2024-02-28 01:05:03.282309 INFO pred_bat:      PV: [    0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,    0.12,    0.56,    1.46,    2.66,    4.06,    5.47,    6.75,    7.73,    8.22,    8.36,    8.36,    8.36,    8.36,    8.36,    8.36,    8.36,    8.36,    8.36]
2024-02-28 01:05:03.284762 INFO pred_bat:  IMPORT: [   3.42,     5.9,    7.72,    9.31,   10.91,    12.5,    14.1,   15.21,   15.21,   15.21,   15.24,   15.43,   15.45,   15.45,   16.44,   17.83,   19.22,   20.66,   21.71,   21.86,   22.01,   22.28,   22.46,   22.56,   22.71]
2024-02-28 01:05:03.286355 INFO pred_bat:  EXPORT: [    0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,    0.27,    2.52,    4.38,    6.42,    6.42,    6.42,    6.42,    6.42,    6.42,    6.42,    6.42,    6.42,    6.42,    6.42,    6.42,    6.42,    6.42,    6.42]
2024-02-28 01:05:03.287990 INFO pred_bat:  METRIC: [  81.69,  139.87,  181.82,  218.98,  257.96,  299.78,  347.75,  377.24,  290.58,  219.89,  146.85,  153.22,  153.89,  153.89,  183.95,  226.87,  270.51,  316.35,  349.12,  353.58,  358.11,  365.45,  370.18,   372.6,   376.2]
2024-02-28 01:05:03.539402 INFO pred_bat: Evaluate trigger {'name': 'large', 'minutes': 60, 'energy': 1.0} results off total_energy 0
2024-02-28 01:05:03.547905 INFO pred_bat: Evaluate trigger {'name': 'small', 'minutes': 15, 'energy': 0.25} results off total_energy 0
2024-02-28 01:05:03.554196 INFO pred_bat: Best charging limit socs [10.0, 10.0, 10.0] export [14, 14] gives import battery 30.25 house 9.85 export 7.43 metric 384.4 metric10 666.62
2024-02-28 01:05:03.624505 INFO pred_bat: Export threshold used for optimisation was 28.6p
2024-02-28 01:05:03.669176 INFO pred_bat: High export rate windows [0: 02-28 04:00:00 - 02-28 05:00:00 @ 24.3, 1: 02-28 05:00:00 - 02-28 06:00:00 @ 25.9, 2: 02-28 06:00:00 - 02-28 07:00:00 @ 29.6, 3: 02-28 07:00:00 - 02-28 08:00:00 @ 35.9, 4: 02-28 08:00:00 - 02-28 09:00:00 @ 38.5, 5: 02-28 09:00:00 - 02-28 10:00:00 @ 38.3, 6: 02-28 10:00:00 - 02-28 11:00:00 @ 36.4, 7: 02-28 11:00:00 - 02-28 12:00:00 @ 34.6, 8: 02-28 12:00:00 - 02-28 13:00:00 @ 31.2, 9: 02-28 13:00:00 - 02-28 15:00:00 @ 30.05, 10: 02-28 15:00:00 - 02-28 17:00:00 @ 31.1, 11: 02-28 17:00:00 - 02-28 18:00:00 @ 31.9, 12: 02-28 18:00:00 - 02-28 19:00:00 @ 31.3, 13: 02-28 19:00:00 - 02-28 20:00:00 @ 29.4, 14: 02-28 20:00:00 - 02-28 21:00:00 @ 29.8, 15: 02-28 21:00:00 - 02-28 22:00:00 @ 28.8, 16: 02-28 22:00:00 - 02-28 23:00:00 @ 26.3, 17: 02-29 00:00:00 - 02-29 01:00:00 @ 23.9, 18: 02-29 04:00:00 - 02-29 05:00:00 @ 24.3, 19: 02-29 05:00:00 - 02-29 06:00:00 @ 25.9, 20: 02-29 06:00:00 - 02-29 07:00:00 @ 29.6, 21: 02-29 07:00:00 - 02-29 08:00:00 @ 35.9, 22: 02-29 08:00:00 - 02-29 09:00:00 @ 38.5, 23: 02-29 09:00:00 - 02-29 10:00:00 @ 38.3, 24: 02-29 10:00:00 - 02-29 11:00:00 @ 36.4, 25: 02-29 11:00:00 - 02-29 12:00:00 @ 34.6, 26: 02-29 12:00:00 - 02-29 13:00:00 @ 31.2, 27: 02-29 13:00:00 - 02-29 15:00:00 @ 30.05, 28: 02-29 15:00:00 - 02-29 17:00:00 @ 31.1, 29: 02-29 17:00:00 - 02-29 18:00:00 @ 31.9, 30: 02-29 18:00:00 - 02-29 19:00:00 @ 31.3, 31: 02-29 19:00:00 - 02-29 20:00:00 @ 29.4, 32: 02-29 20:00:00 - 02-29 21:00:00 @ 29.8, 33: 02-29 21:00:00 - 02-29 22:00:00 @ 28.8, 34: 02-29 22:00:00 - 02-29 23:00:00 @ 26.3, 35: 03-01 00:00:00 - 03-01 01:00:00 @ 23.9]
2024-02-28 01:05:03.680847 INFO pred_bat: Import threshold used for optimisation was 28.3p
2024-02-28 01:05:03.724340 INFO pred_bat: Low import rate windows [0: 02-28 00:00:00 - 02-28 02:00:00 @ 23.7, 1: 02-28 02:00:00 - 02-28 04:00:00 @ 23.15, 2: 02-28 04:00:00 - 02-28 05:00:00 @ 24.3, 3: 02-28 05:00:00 - 02-28 06:00:00 @ 25.9, 4: 02-28 06:00:00 - 02-28 07:00:00 @ 29.6, 5: 02-28 07:00:00 - 02-28 08:00:00 @ 35.9, 6: 02-28 10:00:00 - 02-28 11:00:00 @ 36.4, 7: 02-28 11:00:00 - 02-28 12:00:00 @ 34.6, 8: 02-28 12:00:00 - 02-28 13:00:00 @ 31.2, 9: 02-28 13:00:00 - 02-28 15:00:00 @ 30.05, 10: 02-28 15:00:00 - 02-28 17:00:00 @ 31.1, 11: 02-28 17:00:00 - 02-28 18:00:00 @ 31.9, 12: 02-28 18:00:00 - 02-28 19:00:00 @ 31.3, 13: 02-28 19:00:00 - 02-28 20:00:00 @ 29.4, 14: 02-28 20:00:00 - 02-28 21:00:00 @ 29.8, 15: 02-28 21:00:00 - 02-28 22:00:00 @ 28.8, 16: 02-28 22:00:00 - 02-28 23:00:00 @ 26.3, 17: 02-28 23:00:00 - 02-29 00:00:00 @ 23.1, 18: 02-29 00:00:00 - 02-29 02:00:00 @ 23.7, 19: 02-29 02:00:00 - 02-29 04:00:00 @ 23.15, 20: 02-29 04:00:00 - 02-29 05:00:00 @ 24.3, 21: 02-29 05:00:00 - 02-29 06:00:00 @ 25.9, 22: 02-29 06:00:00 - 02-29 07:00:00 @ 29.6, 23: 02-29 07:00:00 - 02-29 08:00:00 @ 35.9, 24: 02-29 10:00:00 - 02-29 11:00:00 @ 36.4, 25: 02-29 11:00:00 - 02-29 12:00:00 @ 34.6, 26: 02-29 12:00:00 - 02-29 13:00:00 @ 31.2, 27: 02-29 13:00:00 - 02-29 15:00:00 @ 30.05, 28: 02-29 15:00:00 - 02-29 17:00:00 @ 31.1, 29: 02-29 17:00:00 - 02-29 18:00:00 @ 31.9, 30: 02-29 18:00:00 - 02-29 19:00:00 @ 31.3, 31: 02-29 19:00:00 - 02-29 20:00:00 @ 29.4, 32: 02-29 20:00:00 - 02-29 21:00:00 @ 29.8, 33: 02-29 21:00:00 - 02-29 22:00:00 @ 28.8, 34: 02-29 22:00:00 - 02-29 23:00:00 @ 26.3, 35: 02-29 23:00:00 - 03-01 00:00:00 @ 23.1, 36: 03-01 00:00:00 - 03-01 02:00:00 @ 23.7]
2024-02-28 01:05:03.733651 INFO pred_bat: Charge window will be: 2024-02-28 02:00:00+01:00 - 2024-02-28 08:00:00+01:00 - current soc 4 target 100
2024-02-28 01:05:03.735523 INFO pred_bat: Not setting charging window yet as not within the window (now 02-28 01:05:00 target set_window_minutes 30 charge start time 02-28 02:00:00
2024-02-28 01:05:03.736608 INFO pred_bat: Next discharge window will be: 2024-02-28 08:00:00+01:00 - 2024-02-28 23:01:00+01:00 at reserve 14
2024-02-28 01:05:03.737757 INFO pred_bat: Setting ECO mode as we are not yet within the discharge window - next time is 02-28 08:00:00 - 02-28 23:00:00
2024-02-28 01:05:03.740304 INFO pred_bat: Inverter 0 Adjust force discharge to False, change times from 00:00:00 - 00:00:00 to 00:00:00 - 00:00:00
2024-02-28 01:05:03.741773 INFO pred_bat: Inverter 0 Stop charge via Service huawei_solar/stop_forcible_charge
2024-02-28 01:05:03.743067 INFO pred_bat: Call service huawei_solar/stop_forcible_charge device_id 6893ee838a0972bd3e50d9e0faa0ba5a
2024-02-28 01:05:03.746104 INFO pred_bat: Current SOC 4% is greater than Target SOC 0. Grid Charge disabled.
2024-02-28 01:05:03.758268 INFO pred_bat: Will recompute the plan as it is now 5.0 minutes old and will exceed the max age of 5 minutes before the next run
2024-02-28 01:05:03.759962 INFO pred_bat: Best charge    window [ 28-02 00:00:00 - 28-02 02:00:00 @ 23.7p 0.0%, 28-02 02:00:00 - 28-02 04:00:00 @ 23.15p 0.0%, 28-02 04:00:00 - 28-02 05:00:00 @ 24.3p 0.0%, 28-02 05:00:00 - 28-02 06:00:00 @ 25.9p 0.0%, 28-02 06:00:00 - 28-02 07:00:00 @ 29.6p 0.0%, 28-02 07:00:00 - 28-02 08:00:00 @ 35.9p 0.0%, 28-02 10:00:00 - 28-02 11:00:00 @ 36.4p 0.0%, 28-02 11:00:00 - 28-02 12:00:00 @ 34.6p 0.0%, 28-02 12:00:00 - 28-02 13:00:00 @ 31.2p 0.0%, 28-02 13:00:00 - 28-02 15:00:00 @ 30.05p 0.0%, 28-02 15:00:00 - 28-02 17:00:00 @ 31.1p 0.0%, 28-02 17:00:00 - 28-02 18:00:00 @ 31.9p 0.0%, 28-02 18:00:00 - 28-02 19:00:00 @ 31.3p 0.0%, 28-02 19:00:00 - 28-02 20:00:00 @ 29.4p 0.0%, 28-02 20:00:00 - 28-02 21:00:00 @ 29.8p 0.0%, 28-02 21:00:00 - 28-02 22:00:00 @ 28.8p 0.0%, 28-02 22:00:00 - 28-02 23:00:00 @ 26.3p 0.0%, 28-02 23:00:00 - 29-02 00:00:00 @ 23.1p 0.0%, 29-02 00:00:00 - 29-02 02:00:00 @ 23.7p 0.0%, 29-02 02:00:00 - 29-02 04:00:00 @ 23.15p 0.0%, 29-02 04:00:00 - 29-02 05:00:00 @ 24.3p 0.0%, 29-02 05:00:00 - 29-02 06:00:00 @ 25.9p 0.0%, 29-02 06:00:00 - 29-02 07:00:00 @ 29.6p 0.0%, 29-02 07:00:00 - 29-02 08:00:00 @ 35.9p 0.0%, 29-02 10:00:00 - 29-02 11:00:00 @ 36.4p 0.0%, 29-02 11:00:00 - 29-02 12:00:00 @ 34.6p 0.0%, 29-02 12:00:00 - 29-02 13:00:00 @ 31.2p 0.0%, 29-02 13:00:00 - 29-02 15:00:00 @ 30.05p 0.0%, 29-02 15:00:00 - 29-02 17:00:00 @ 31.1p 0.0%, 29-02 17:00:00 - 29-02 18:00:00 @ 31.9p 0.0%, 29-02 18:00:00 - 29-02 19:00:00 @ 31.3p 0.0%, 29-02 19:00:00 - 29-02 20:00:00 @ 29.4p 0.0%, 29-02 20:00:00 - 29-02 21:00:00 @ 29.8p 0.0%, 29-02 21:00:00 - 29-02 22:00:00 @ 28.8p 0.0%, 29-02 22:00:00 - 29-02 23:00:00 @ 26.3p 0.0%, 29-02 23:00:00 - 01-03 00:00:00 @ 23.1p 0.0%, 01-03 00:00:00 - 01-03 02:00:00 @ 23.7p 0.0% ]
2024-02-28 01:05:03.761350 INFO pred_bat: Best discharge window [ 28-02 04:00:00 - 28-02 05:00:00 @ 24.3p 100.0%, 28-02 05:00:00 - 28-02 06:00:00 @ 25.9p 100.0%, 28-02 06:00:00 - 28-02 07:00:00 @ 29.6p 100.0%, 28-02 07:00:00 - 28-02 08:00:00 @ 35.9p 100.0%, 28-02 08:00:00 - 28-02 09:00:00 @ 38.5p 100.0%, 28-02 09:00:00 - 28-02 10:00:00 @ 38.3p 100.0%, 28-02 10:00:00 - 28-02 11:00:00 @ 36.4p 100.0%, 28-02 11:00:00 - 28-02 12:00:00 @ 34.6p 100.0%, 28-02 12:00:00 - 28-02 13:00:00 @ 31.2p 100.0%, 28-02 13:00:00 - 28-02 15:00:00 @ 30.05p 100.0%, 28-02 15:00:00 - 28-02 17:00:00 @ 31.1p 100.0%, 28-02 17:00:00 - 28-02 18:00:00 @ 31.9p 100.0%, 28-02 18:00:00 - 28-02 19:00:00 @ 31.3p 100.0%, 28-02 19:00:00 - 28-02 20:00:00 @ 29.4p 100.0%, 28-02 20:00:00 - 28-02 21:00:00 @ 29.8p 100.0%, 28-02 21:00:00 - 28-02 22:00:00 @ 28.8p 100.0%, 28-02 22:00:00 - 28-02 23:00:00 @ 26.3p 100.0%, 29-02 00:00:00 - 29-02 01:00:00 @ 23.9p 100.0%, 29-02 04:00:00 - 29-02 05:00:00 @ 24.3p 100.0%, 29-02 05:00:00 - 29-02 06:00:00 @ 25.9p 100.0%, 29-02 06:00:00 - 29-02 07:00:00 @ 29.6p 100.0%, 29-02 07:00:00 - 29-02 08:00:00 @ 35.9p 100.0%, 29-02 08:00:00 - 29-02 09:00:00 @ 38.5p 100.0%, 29-02 09:00:00 - 29-02 10:00:00 @ 38.3p 100.0%, 29-02 10:00:00 - 29-02 11:00:00 @ 36.4p 100.0%, 29-02 11:00:00 - 29-02 12:00:00 @ 34.6p 100.0%, 29-02 12:00:00 - 29-02 13:00:00 @ 31.2p 100.0%, 29-02 13:00:00 - 29-02 15:00:00 @ 30.05p 100.0%, 29-02 15:00:00 - 29-02 17:00:00 @ 31.1p 100.0%, 29-02 17:00:00 - 29-02 18:00:00 @ 31.9p 100.0%, 29-02 18:00:00 - 29-02 19:00:00 @ 31.3p 100.0%, 29-02 19:00:00 - 29-02 20:00:00 @ 29.4p 100.0%, 29-02 20:00:00 - 29-02 21:00:00 @ 29.8p 100.0%, 29-02 21:00:00 - 29-02 22:00:00 @ 28.8p 100.0%, 29-02 22:00:00 - 29-02 23:00:00 @ 26.3p 100.0%, 01-03 00:00:00 - 01-03 01:00:00 @ 23.9p 100.0% ]
2024-02-28 01:05:03.771173 INFO pred_bat: Creating pool of 2 processes to match your CPU count
2024-02-28 01:05:03.789090 INFO pred_bat: Calculate Best options: mode(Control charge & discharge) calculate_discharge_oncharge(True) set_discharge_freeze_only(False) set_discharge_during_charge(False) combine_charge_slots(True) combine_discharge_slots(True) best_soc_min(0.0 kWh) best_soc_max(0.0 kWh) best_soc_keep(0.1 kWh) inverter_loss(5 %) battery_loss(3 %) battery_loss_discharge (3 %) inverter_hybrid(True) metric_min_improvement(0.0 p) metric_min_improvement_discharge(0.0 p) metric_battery_cycle(0.2 p/kWh)metric_battery_value_scaling(0.8 x)
2024-02-28 01:05:03.790792 INFO pred_bat: Optimise all windows, total charge 36 discharge 36
2024-02-28 01:05:04.101795 INFO pred_bat: Optimise all charge for all bands best price threshold 28.5 charges at 28.3 at metric 620.95 keep 0 cost 708.37 soc_min 1.4 limits [10.0, 10.0, 10.0, 10.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10.0, 10.0, 10.0, 10.0, 10.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10.0, 0.0] discharge [100.0, 100.0, 100.0, 0, 0, 0, 0, 0, 0, 100.0, 100.0, 0, 0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 0, 0, 0, 0, 0, 0, 100.0, 100.0, 0, 0, 100.0, 100.0, 100.0, 100.0, 100.0]
2024-02-28 01:05:04.103017 INFO pred_bat: Calculated end_record as 02-29 02:00:00
2024-02-28 01:05:04.104468 INFO pred_bat: >> Region optimisation pass width 960
2024-02-28 01:05:04.276340 INFO pred_bat: Optimise all charge for all bands best price threshold 32.5 charges at 32.3 at metric 398.48 keep 0 cost 593.13 soc_min 1.4 limits [10.0, 10.0, 10.0, 10.0, 10.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10.0, 10.0, 10.0, 10.0, 10.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10.0, 0.0] discharge [100.0, 100.0, 100.0, 0, 0, 0, 0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0]
2024-02-28 01:05:04.383696 INFO pred_bat: Optimise all charge for all bands best price threshold 25.3 charges at 25.3 at metric 387.98 keep 0 cost 412.24 soc_min 1.4 limits [10.0, 10.0, 10.0, 10.0, 10.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10.0, 10.0, 10.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10.0, 0.0] discharge [100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 0, 0, 0, 0, 0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0]
2024-02-28 01:05:04.384760 INFO pred_bat: >> Region optimisation pass width 480
2024-02-28 01:05:04.503251 INFO pred_bat: Optimise all charge for all bands best price threshold 32.8 charges at 32.3 at metric 349.83 keep 0 cost 374.09 soc_min 1.4 limits [10.0, 10.0, 10.0, 10.0, 10.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10.0, 10.0, 10.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10.0, 0.0] discharge [100.0, 100.0, 100.0, 0, 0, 0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0]
2024-02-28 01:05:04.610339 INFO pred_bat: Optimise all charge for all bands best price threshold 27.3 charges at 21.8 at metric 354.5 keep 0 cost 378.89 soc_min 1.4 limits [10.0, 10.0, 10.0, 10.0, 10.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10.0, 10.0, 10.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10.0, 0.0] discharge [100.0, 100.0, 100.0, 100.0, 100.0, 0, 0, 0, 0, 0, 0, 0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0]
2024-02-28 01:05:04.712227 INFO pred_bat: Optimise all charge for all bands best price threshold 25.3 charges at 21.8 at metric 387.98 keep 0 cost 412.24 soc_min 1.4 limits [10.0, 10.0, 10.0, 10.0, 10.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10.0, 10.0, 10.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10.0, 0.0] discharge [100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 0, 0, 0, 0, 0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0]
2024-02-28 01:05:04.777199 INFO pred_bat: Optimise all charge for all bands best price threshold 25.3 charges at 25.3 at metric 388.54 keep 0 cost 412.8 soc_min 1.4 limits [10.0, 10.0, 10.0, 10.0, 10.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10.0, 10.0, 10.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10.0, 0.0] discharge [100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0]
2024-02-28 01:05:04.778250 INFO pred_bat: >> Region optimisation pass width 240
2024-02-28 01:05:04.857457 INFO pred_bat: Optimise all charge for all bands best price threshold 26.3 charges at 25.3 at metric 378.47 keep 0 cost 402.6 soc_min 1.4 limits [0, 10.0, 0, 0, 10.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10.0, 10.0, 10.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10.0, 0.0] discharge [100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0]
2024-02-28 01:05:04.957162 INFO pred_bat: Optimise all charge for all bands best price threshold 32.8 charges at 32.3 at metric 332.29 keep 0 cost 356.42 soc_min 1.4 limits [0, 10.0, 0, 10.0, 10.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10.0, 10.0, 10.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10.0, 0.0] discharge [100.0, 100.0, 100.0, 0, 0, 0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0]
2024-02-28 01:05:05.045046 INFO pred_bat: Optimise all charge for all bands best price threshold 27.3 charges at 21.8 at metric 336.95 keep 0 cost 361.22 soc_min 1.4 limits [0, 10.0, 0, 10.0, 10.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10.0, 10.0, 10.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10.0, 0.0] discharge [100.0, 100.0, 100.0, 100.0, 100.0, 0, 0, 0, 0, 0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0]
2024-02-28 01:05:05.120985 INFO pred_bat: Optimise all charge for all bands best price threshold 28.7 charges at 21.8 at metric 370.44 keep 0 cost 394.57 soc_min 1.4 limits [0, 10.0, 0, 10.0, 10.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10.0, 10.0, 10.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10.0, 0.0] discharge [100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0]
2024-02-28 01:05:05.286641 INFO pred_bat: Previous message repeated 1 times
2024-02-28 01:05:05.286809 INFO pred_bat: Optimise all charge for all bands best price threshold 25.3 charges at 21.8 at metric 370.99 keep 0 cost 395.13 soc_min 1.4 limits [0, 10.0, 0, 10.0, 10.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10.0, 10.0, 10.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10.0, 0.0] discharge [100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0]
2024-02-28 01:05:05.355641 INFO pred_bat: Optimise all charge for all bands best price threshold 25.3 charges at 25.3 at metric 370.99 keep 0 cost 395.13 soc_min 1.4 limits [0, 10.0, 0, 10.0, 10.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10.0, 10.0, 10.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10.0, 0.0] discharge [100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0]
2024-02-28 01:05:05.356851 INFO pred_bat: Calculated end_record as 02-29 02:00:00
2024-02-28 01:05:05.358196 INFO pred_bat: Starting second optimisation best_price 28.3 best_price_discharge 28.6 lowest_price_charge 25.3 with charge limits [0, 10.0, 0, 10.0, 10.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10.0, 10.0, 10.0, 10.0, 10.0, 10.0, 10.0, 10.0, 10.0, 10.0, 10.0, 10.0, 10.0, 10.0, 10.0, 10.0, 10.0, 10.0] based on
2024-02-28 01:05:05.359442 INFO pred_bat: Optimise price set 35.3 start_at_low False best_price 28.3 best_metric 370.99 best_cost 395.13
2024-02-28 01:05:05.517636 INFO pred_bat: Optimise price set 35.1 start_at_low False best_price 28.3 best_metric 394.63 best_cost 378.95
2024-02-28 01:05:05.667719 INFO pred_bat: Optimise price set 33.3 start_at_low False best_price 28.3 best_metric 383.29 best_cost 366.57
2024-02-28 01:05:05.800299 INFO pred_bat: Optimise price set 32.9 start_at_low False best_price 28.3 best_metric 372.05 best_cost 353.86
2024-02-28 01:05:05.913660 INFO pred_bat: Optimise price set 32.3 start_at_low False best_price 28.3 best_metric 372.05 best_cost 353.86
2024-02-28 01:05:05.948229 INFO pred_bat: Optimise price set 31.7 start_at_low False best_price 28.3 best_metric 372.04 best_cost 353.86
2024-02-28 01:05:06.072199 INFO pred_bat: Optimise price set 29.2 start_at_low False best_price 28.3 best_metric 372.05 best_cost 353.86
2024-02-28 01:05:06.190854 INFO pred_bat: Optimise price set 28.6 start_at_low False best_price 28.3 best_metric 372.05 best_cost 353.86
2024-02-28 01:05:06.429942 INFO pred_bat: Optimise price set 28.5 start_at_low False best_price 28.3 best_metric 372.05 best_cost 353.86
2024-02-28 01:05:06.679812 INFO pred_bat: Optimise price set 28.3 start_at_low False best_price 28.3 best_metric 372.05 best_cost 353.86
2024-02-28 01:05:06.779263 INFO pred_bat: Optimise price set 27.5 start_at_low False best_price 28.3 best_metric 372.04 best_cost 353.86
2024-02-28 01:05:07.010012 INFO pred_bat: Optimise price set 27.3 start_at_low False best_price 28.3 best_metric 372.05 best_cost 353.86
2024-02-28 01:05:07.125346 INFO pred_bat: Optimise price set 27.1 start_at_low False best_price 28.3 best_metric 372.05 best_cost 353.86
2024-02-28 01:05:07.245761 INFO pred_bat: Optimise price set 26.9 start_at_low False best_price 28.3 best_metric 372.05 best_cost 353.86
2024-02-28 01:05:07.380310 INFO pred_bat: Optimise price set 26.6 start_at_low False best_price 28.3 best_metric 372.05 best_cost 353.86
2024-02-28 01:05:07.495805 INFO pred_bat: Optimise price set 26.3 start_at_low False best_price 28.3 best_metric 368.78 best_cost 350.62
2024-02-28 01:05:07.618287 INFO pred_bat: Optimise price set 25.9 start_at_low False best_price 28.3 best_metric 368.79 best_cost 350.62
2024-02-28 01:05:08.029728 INFO pred_bat: Optimise price set 25.3 start_at_low False best_price 28.3 best_metric 368.78 best_cost 350.62
2024-02-28 01:05:08.492457 INFO pred_bat: Best charge windows best_metric 368.78 best_cost 350.62 metric_keep 0 end_record 02-29 02:00:00 windows [ 28-02 02:00:00 - 28-02 04:00:00 @ 23.15p 100%, 28-02 04:00:00 - 28-02 05:00:00 @ 24.3p 100%, 28-02 05:00:00 - 28-02 06:00:00 @ 25.9p 100%, 28-02 06:00:00 - 28-02 07:00:00 @ 29.6p 100%, 29-02 02:00:00 - 29-02 04:00:00 @ 23.15p 100%, 29-02 04:00:00 - 29-02 05:00:00 @ 24.3p 100%, 29-02 05:00:00 - 29-02 06:00:00 @ 25.9p 100%, 29-02 06:00:00 - 29-02 07:00:00 @ 29.6p 100%, 29-02 07:00:00 - 29-02 08:00:00 @ 35.9p 100%, 29-02 10:00:00 - 29-02 11:00:00 @ 36.4p 100%, 29-02 11:00:00 - 29-02 12:00:00 @ 34.6p 100%, 29-02 12:00:00 - 29-02 13:00:00 @ 31.2p 100%, 29-02 13:00:00 - 29-02 15:00:00 @ 30.05p 100%, 29-02 15:00:00 - 29-02 17:00:00 @ 31.1p 100%, 29-02 17:00:00 - 29-02 18:00:00 @ 31.9p 100%, 29-02 18:00:00 - 29-02 19:00:00 @ 31.3p 100%, 29-02 19:00:00 - 29-02 20:00:00 @ 29.4p 100%, 29-02 20:00:00 - 29-02 21:00:00 @ 29.8p 100%, 29-02 21:00:00 - 29-02 22:00:00 @ 28.8p 100%, 29-02 22:00:00 - 29-02 23:00:00 @ 26.3p 100%, 29-02 23:00:00 - 01-03 00:00:00 @ 23.1p 100%, 01-03 00:00:00 - 01-03 02:00:00 @ 23.7p 100% ]
2024-02-28 01:05:08.494034 INFO pred_bat: Best discharge windows best_metric 368.78 best_cost 350.62 metric_keep 0 end_record 02-29 02:00:00 windows [ 28-02 08:00:00 - 28-02 09:00:00 @ 38.5p 14%, 28-02 09:00:00 - 28-02 10:00:00 @ 38.3p 14%, 28-02 10:00:00 - 28-02 11:00:00 @ 36.4p 14%, 28-02 11:00:00 - 28-02 12:00:00 @ 34.6p 14%, 28-02 12:00:00 - 28-02 13:00:00 @ 31.2p 14%, 28-02 13:00:00 - 28-02 15:00:00 @ 30.05p 14%, 28-02 15:00:00 - 28-02 17:00:00 @ 31.1p 14%, 28-02 17:00:00 - 28-02 18:00:00 @ 31.9p 14%, 28-02 18:00:00 - 28-02 19:00:00 @ 31.3p 14%, 28-02 19:00:00 - 28-02 20:00:00 @ 29.4p 14%, 28-02 20:00:00 - 28-02 21:00:00 @ 29.8p 14%, 28-02 21:00:00 - 28-02 22:00:00 @ 28.8p 14% ]
2024-02-28 01:05:08.495173 INFO pred_bat: Optimise price set 25.3 start_at_low True best_price 28.3 best_metric 368.78 best_cost 350.62
2024-02-28 01:05:08.986718 INFO pred_bat: Optimise price set 25.9 start_at_low True best_price 28.3 best_metric 368.78 best_cost 350.62
2024-02-28 01:05:09.380277 INFO pred_bat: Optimise price set 26.3 start_at_low True best_price 28.3 best_metric 368.78 best_cost 350.62
2024-02-28 01:05:09.514771 INFO pred_bat: Optimise price set 26.6 start_at_low True best_price 28.3 best_metric 368.79 best_cost 350.62
2024-02-28 01:05:09.618953 INFO pred_bat: Optimise price set 26.9 start_at_low True best_price 28.3 best_metric 368.78 best_cost 350.62
2024-02-28 01:05:09.731580 INFO pred_bat: Optimise price set 27.3 start_at_low True best_price 28.3 best_metric 368.79 best_cost 350.62
2024-02-28 01:05:09.848706 INFO pred_bat: Optimise price set 27.5 start_at_low True best_price 28.3 best_metric 368.79 best_cost 350.62
2024-02-28 01:05:10.067071 INFO pred_bat: Optimise price set 28.3 start_at_low True best_price 28.3 best_metric 368.79 best_cost 350.62
2024-02-28 01:05:10.099924 INFO pred_bat: Optimise price set 28.7 start_at_low True best_price 28.3 best_metric 368.78 best_cost 350.62
2024-02-28 01:05:10.260004 INFO pred_bat: Optimise price set 31.4 start_at_low True best_price 28.3 best_metric 368.78 best_cost 350.62
2024-02-28 01:05:10.290023 INFO pred_bat: Optimise price set 32.1 start_at_low True best_price 28.3 best_metric 368.78 best_cost 350.62
2024-02-28 01:05:10.322047 INFO pred_bat: Optimise price set 32.3 start_at_low True best_price 28.3 best_metric 368.78 best_cost 350.62
2024-02-28 01:05:10.351565 INFO pred_bat: Optimise price set 32.5 start_at_low True best_price 28.3 best_metric 368.78 best_cost 350.62
2024-02-28 01:05:10.396513 INFO pred_bat: Optimise price set 32.8 start_at_low True best_price 28.3 best_metric 368.78 best_cost 350.62
2024-02-28 01:05:10.457023 INFO pred_bat: Optimise price set 34.0 start_at_low True best_price 28.3 best_metric 368.78 best_cost 350.62
2024-02-28 01:05:10.511272 INFO pred_bat: Optimise price set 34.1 start_at_low True best_price 28.3 best_metric 368.78 best_cost 350.62
2024-02-28 01:05:10.552598 INFO pred_bat: Optimise price set 34.2 start_at_low True best_price 28.3 best_metric 368.78 best_cost 350.62
2024-02-28 01:05:10.584757 INFO pred_bat: Optimise price set 34.8 start_at_low True best_price 28.3 best_metric 368.78 best_cost 350.62
2024-02-28 01:05:10.617345 INFO pred_bat: Optimise price set 37.8 start_at_low True best_price 28.3 best_metric 368.78 best_cost 350.62
2024-02-28 01:05:10.665841 INFO pred_bat: Optimise price set 39.2 start_at_low True best_price 28.3 best_metric 368.78 best_cost 350.62
2024-02-28 01:05:10.700328 INFO pred_bat: Optimise price set 39.7 start_at_low True best_price 28.3 best_metric 368.78 best_cost 350.62
2024-02-28 01:05:10.824709 INFO pred_bat: Best charge windows best_metric 368.78 best_cost 350.62 metric_keep 0 end_record 02-29 02:00:00 windows [ 28-02 02:00:00 - 28-02 04:00:00 @ 23.15p 100%, 28-02 04:00:00 - 28-02 05:00:00 @ 24.3p 100%, 28-02 05:00:00 - 28-02 06:00:00 @ 25.9p 100%, 28-02 06:00:00 - 28-02 07:00:00 @ 29.6p 100%, 28-02 07:00:00 - 28-02 08:00:00 @ 35.9p 100%, 29-02 02:00:00 - 29-02 04:00:00 @ 23.15p 100%, 29-02 04:00:00 - 29-02 05:00:00 @ 24.3p 100%, 29-02 05:00:00 - 29-02 06:00:00 @ 25.9p 100%, 29-02 06:00:00 - 29-02 07:00:00 @ 29.6p 100%, 29-02 07:00:00 - 29-02 08:00:00 @ 35.9p 100%, 29-02 10:00:00 - 29-02 11:00:00 @ 36.4p 100%, 29-02 11:00:00 - 29-02 12:00:00 @ 34.6p 100%, 29-02 12:00:00 - 29-02 13:00:00 @ 31.2p 100%, 29-02 13:00:00 - 29-02 15:00:00 @ 30.05p 100%, 29-02 15:00:00 - 29-02 17:00:00 @ 31.1p 100%, 29-02 17:00:00 - 29-02 18:00:00 @ 31.9p 100%, 29-02 18:00:00 - 29-02 19:00:00 @ 31.3p 100%, 29-02 19:00:00 - 29-02 20:00:00 @ 29.4p 100%, 29-02 20:00:00 - 29-02 21:00:00 @ 29.8p 100%, 29-02 21:00:00 - 29-02 22:00:00 @ 28.8p 100%, 29-02 22:00:00 - 29-02 23:00:00 @ 26.3p 100%, 29-02 23:00:00 - 01-03 00:00:00 @ 23.1p 100%, 01-03 00:00:00 - 01-03 02:00:00 @ 23.7p 100% ]
2024-02-28 01:05:10.826270 INFO pred_bat: Best discharge windows best_metric 368.78 best_cost 350.62 metric_keep 0 end_record 02-29 02:00:00 windows [ 28-02 08:00:00 - 28-02 09:00:00 @ 38.5p 14%, 28-02 09:00:00 - 28-02 10:00:00 @ 38.3p 14%, 28-02 10:00:00 - 28-02 11:00:00 @ 36.4p 14%, 28-02 11:00:00 - 28-02 12:00:00 @ 34.6p 14%, 28-02 12:00:00 - 28-02 13:00:00 @ 31.2p 14%, 28-02 13:00:00 - 28-02 15:00:00 @ 30.05p 14%, 28-02 15:00:00 - 28-02 17:00:00 @ 31.1p 14%, 28-02 17:00:00 - 28-02 18:00:00 @ 31.9p 14%, 28-02 18:00:00 - 28-02 19:00:00 @ 31.3p 14%, 28-02 19:00:00 - 28-02 20:00:00 @ 29.4p 14%, 28-02 20:00:00 - 28-02 21:00:00 @ 29.8p 14%, 28-02 21:00:00 - 28-02 22:00:00 @ 28.8p 14% ]
2024-02-28 01:05:10.827582 INFO pred_bat: Second pass optimisation started
2024-02-28 01:05:10.944625 INFO pred_bat: Final optimisation type c window 0 metric 368.78040355668116 metric_keep 0 cost 350.62
2024-02-28 01:05:12.562908 INFO pred_bat: Final optimisation type c window 8 metric 368.78040355668116 metric_keep 0 cost 350.62
2024-02-28 01:05:14.135492 INFO pred_bat: Final optimisation type c window 16 metric 368.78040355668116 metric_keep 0 cost 350.62
2024-02-28 01:05:14.689577 INFO pred_bat: Second pass optimisation finished metric 368.78040355668116 cost 350.62 metric_keep 0
2024-02-28 01:05:14.690617 INFO pred_bat: Tweak optimisation started
2024-02-28 01:05:15.654780 INFO pred_bat: Tweak optimisation finished metric 368.78 cost 350.62 metric_keep 0
2024-02-28 01:05:15.665047 INFO pred_bat: Discharge windows filtered [ 28-02 08:00:00 - 28-02 23:00:00 @ 38.5p 14%, 29-02 00:00:00 - 29-02 01:00:00 @ 23.9p 14% ]
2024-02-28 01:05:15.676139 INFO pred_bat: Filtered charge windows [ 28-02 02:00:00 - 28-02 08:00:00 @ 23.15p 100%, 29-02 02:00:00 - 29-02 08:00:00 @ 23.15p 100%, 29-02 10:00:00 - 01-03 02:00:00 @ 36.4p 100% ] reserve 1.4
2024-02-28 01:05:15.689640 INFO pred_bat: predict base end_record 02-29 02:00:00 final soc 1.4 kWh metric 432.66 p metric_keep 0 min_soc 1.4 @ 02-28 01:30:00 kWh load 19.46 pv 8.36
2024-02-28 01:05:15.691178 INFO pred_bat:          [  01:05,   02:05,   03:05,   04:05,   05:05,   06:05,   07:05,   08:05,   09:05,   10:05,   11:05,   12:05,   13:05,   14:05,   15:05,   16:05,   17:05,   18:05,   19:05,   20:05,   21:05,   22:05,   23:05,   00:05,   01:05]
2024-02-28 01:05:15.692638 INFO pred_bat:     SOC: [    0.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.5,     1.4,     1.4,    1.41,    1.53,    1.45,    1.51,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4]
2024-02-28 01:05:15.694078 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<be-,   g<be-,   g~be~,   g~be~]
2024-02-28 01:05:15.695536 INFO pred_bat:    LOAD: [    0.0,     2.2,    2.32,    2.33,    2.35,    2.37,    2.38,     2.4,    3.37,    5.17,    6.38,    7.78,     9.2,   10.35,   12.38,   14.23,   15.76,    17.2,   18.25,    18.4,   18.55,   18.82,    19.0,    19.1,   19.26]
2024-02-28 01:05:15.697066 INFO pred_bat:      PV: [    0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,    0.12,    0.56,    1.46,    2.66,    4.06,    5.47,    6.75,    7.73,    8.22,    8.36,    8.36,    8.36,    8.36,    8.36,    8.36,    8.36,    8.36,    8.36]
2024-02-28 01:05:15.698568 INFO pred_bat:  IMPORT: [   3.42,    5.76,    5.87,    5.89,    5.91,    5.92,    5.94,    5.94,     6.4,    7.34,    7.45,    7.63,    7.65,    7.65,    8.64,   10.03,   11.42,   12.86,   13.91,   14.06,   14.21,   14.48,   14.66,   14.76,   14.92]
2024-02-28 01:05:15.700038 INFO pred_bat:  EXPORT: [    0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0]
2024-02-28 01:05:15.701590 INFO pred_bat:  METRIC: [  81.69,  136.57,  139.25,  139.64,  140.04,  140.47,  140.92,  140.92,  158.63,  194.74,  198.44,  204.81,  205.48,  205.48,  235.54,  278.47,   322.1,  367.95,  400.71,  405.18,  409.71,  417.04,  421.77,  424.19,  427.79]
2024-02-28 01:05:15.816326 INFO pred_bat: Battery has 0.42 hours left - now at 0.4
2024-02-28 01:05:15.847284 INFO pred_bat: predict base10 end_record 02-29 02:00:00 final soc 1.4 kWh metric 714.07 p metric_keep 0 min_soc 1.4 @ 02-28 01:30:00 kWh load 21.37 pv 1.33
2024-02-28 01:05:15.848831 INFO pred_bat:          [  01:05,   02:05,   03:05,   04:05,   05:05,   06:05,   07:05,   08:05,   09:05,   10:05,   11:05,   12:05,   13:05,   14:05,   15:05,   16:05,   17:05,   18:05,   19:05,   20:05,   21:05,   22:05,   23:05,   00:05,   01:05]
2024-02-28 01:05:15.850563 INFO pred_bat:     SOC: [    0.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,    1.41,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4]
2024-02-28 01:05:15.853420 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<be-,   g<be-,   g~be~,   g~be~]
2024-02-28 01:05:15.854966 INFO pred_bat:    LOAD: [    0.0,    2.42,    2.55,    2.57,    2.58,     2.6,    2.62,    2.64,     3.7,    5.68,    7.02,    8.56,   10.12,   11.38,   13.62,   15.66,   17.33,   18.92,   20.07,   20.24,   20.41,    20.7,    20.9,   21.02,   21.17]
2024-02-28 01:05:15.856445 INFO pred_bat:      PV: [    0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,    0.02,    0.11,    0.26,    0.43,    0.63,    0.83,    1.02,    1.19,     1.3,    1.33,    1.33,    1.33,    1.33,    1.33,    1.33,    1.33,    1.33,    1.33]
2024-02-28 01:05:15.857931 INFO pred_bat:  IMPORT: [   3.42,    5.98,    6.11,    6.12,    6.14,    6.16,    6.18,    6.18,    7.16,     9.0,   10.17,   11.52,    12.9,   13.98,   16.05,   17.99,   19.63,   21.22,   22.37,   22.54,   22.71,    23.0,    23.2,   23.31,   23.47]
2024-02-28 01:05:15.859420 INFO pred_bat:  EXPORT: [    0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0]
2024-02-28 01:05:15.860945 INFO pred_bat:  METRIC: [  81.69,  141.73,  144.68,  145.11,  145.55,  146.03,  146.56,  146.73,  184.09,  254.48,  297.12,  343.79,  386.53,  418.83,  481.55,  541.52,  593.13,  643.74,  679.77,  684.69,  689.67,  697.74,  702.94,  705.61,  709.21]
2024-02-28 01:05:15.994699 INFO pred_bat: predict best10 end_record 02-29 02:00:00 final soc 1.4 kWh metric 663.29 p metric_keep 0 min_soc 1.4 @ 02-28 10:45:00 kWh load 21.37 pv 1.33
2024-02-28 01:05:15.996269 INFO pred_bat:          [  01:05,   02:05,   03:05,   04:05,   05:05,   06:05,   07:05,   08:05,   09:05,   10:05,   11:05,   12:05,   13:05,   14:05,   15:05,   16:05,   17:05,   18:05,   19:05,   20:05,   21:05,   22:05,   23:05,   00:05,   01:05]
2024-02-28 01:05:15.997753 INFO pred_bat:     SOC: [    0.4,    1.53,     3.1,    4.55,    6.01,    7.46,    8.92,    9.75,    6.71,    3.67,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4]
2024-02-28 01:05:15.999177 INFO pred_bat:   STATE: [  g<be-,   g<bf+,   g<bf+,   g<bf+,   g<bf+,   g<bf+,   g<bf+,   g>bf-,   g>bf-,   g>bf-,   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~]
2024-02-28 01:05:16.000667 INFO pred_bat:    LOAD: [    0.0,    2.42,    2.55,    2.57,    2.58,     2.6,    2.62,    2.64,     3.7,    5.68,    7.02,    8.56,   10.12,   11.38,   13.62,   15.66,   17.33,   18.92,   20.07,   20.24,   20.41,    20.7,    20.9,   21.02,   21.17]
2024-02-28 01:05:16.002165 INFO pred_bat:      PV: [    0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,    0.02,    0.11,    0.26,    0.43,    0.63,    0.83,    1.02,    1.19,     1.3,    1.33,    1.33,    1.33,    1.33,    1.33,    1.33,    1.33,    1.33,    1.33]
2024-02-28 01:05:16.003701 INFO pred_bat:  IMPORT: [   3.42,    6.12,    7.95,    9.55,   11.14,   12.74,   14.34,   15.51,   15.51,   15.52,   15.87,   17.22,   18.59,   19.67,   21.75,   23.68,   25.33,   26.92,   28.07,   28.24,   28.41,    28.7,    28.9,   29.01,   29.16]
2024-02-28 01:05:16.005225 INFO pred_bat:  EXPORT: [    0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,    0.24,    2.06,    3.03,    4.29,    4.29,    4.29,    4.29,    4.29,    4.29,    4.29,    4.29,    4.29,    4.29,    4.29,    4.29,    4.29,    4.29,    4.29]
2024-02-28 01:05:16.006759 INFO pred_bat:  METRIC: [  81.69,  145.03,  187.25,  224.45,  263.47,  305.33,  353.42,  386.36,  316.32,  279.91,  246.34,   293.0,  335.75,  368.04,  430.77,  490.74,  542.34,  592.95,  628.99,   633.9,  638.89,  646.96,  652.16,  654.82,  658.42]
2024-02-28 01:05:16.141114 INFO pred_bat: predict best end_record 02-29 02:00:00 final soc 1.4 kWh metric 381.07 p metric_keep 0 min_soc 1.4 @ 02-28 10:45:00 kWh load 19.46 pv 8.36
2024-02-28 01:05:16.142664 INFO pred_bat:          [  01:05,   02:05,   03:05,   04:05,   05:05,   06:05,   07:05,   08:05,   09:05,   10:05,   11:05,   12:05,   13:05,   14:05,   15:05,   16:05,   17:05,   18:05,   19:05,   20:05,   21:05,   22:05,   23:05,   00:05,   01:05]
2024-02-28 01:05:16.144153 INFO pred_bat:     SOC: [    0.4,    1.53,     3.1,    4.55,    6.01,    7.46,    8.92,    9.75,    6.71,    3.67,    1.41,    1.53,    1.45,    1.51,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4]
2024-02-28 01:05:16.145590 INFO pred_bat:   STATE: [  g<be-,   g<bf+,   g<bf+,   g<bf+,   g<bf+,   g<bf+,   g<bf+,   g>bf-,   g>bf-,   g>bf-,   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~]
2024-02-28 01:05:16.147094 INFO pred_bat:    LOAD: [    0.0,     2.2,    2.32,    2.33,    2.35,    2.37,    2.38,     2.4,    3.37,    5.17,    6.38,    7.78,     9.2,   10.35,   12.38,   14.23,   15.76,    17.2,   18.25,    18.4,   18.55,   18.82,    19.0,    19.1,   19.26]
2024-02-28 01:05:16.148611 INFO pred_bat:      PV: [    0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,    0.12,    0.56,    1.46,    2.66,    4.06,    5.47,    6.75,    7.73,    8.22,    8.36,    8.36,    8.36,    8.36,    8.36,    8.36,    8.36,    8.36,    8.36]
2024-02-28 01:05:16.150161 INFO pred_bat:  IMPORT: [   3.42,     5.9,    7.72,    9.31,   10.91,    12.5,    14.1,   15.21,   15.21,   15.21,   15.24,   15.43,   15.45,   15.45,   16.44,   17.83,   19.22,   20.66,   21.71,   21.86,   22.01,   22.28,   22.46,   22.56,   22.71]
2024-02-28 01:05:16.151687 INFO pred_bat:  EXPORT: [    0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,    0.27,    2.52,    4.38,    6.42,    6.42,    6.42,    6.42,    6.42,    6.42,    6.42,    6.42,    6.42,    6.42,    6.42,    6.42,    6.42,    6.42,    6.42]
2024-02-28 01:05:16.153269 INFO pred_bat:  METRIC: [  81.69,  139.87,  181.82,  218.98,  257.96,  299.78,  347.75,  377.24,  290.58,  219.89,  146.85,  153.22,  153.89,  153.89,  183.95,  226.87,  270.51,  316.35,  349.12,  353.58,  358.11,  365.45,  370.18,   372.6,   376.2]
2024-02-28 01:05:16.304082 INFO pred_bat: Evaluate trigger {'name': 'large', 'minutes': 60, 'energy': 1.0} results off total_energy 0
2024-02-28 01:05:16.310952 INFO pred_bat: Evaluate trigger {'name': 'small', 'minutes': 15, 'energy': 0.25} results off total_energy 0
2024-02-28 01:05:16.317234 INFO pred_bat: Best charging limit socs [10.0, 10.0, 10.0] export [14, 14] gives import battery 30.25 house 9.85 export 7.43 metric 381.07 metric10 663.29
2024-02-28 01:05:16.377558 INFO pred_bat: Reserve min: 14.0% Battery_min:14.0%
2024-02-28 01:05:16.378961 INFO pred_bat: Inverter 0 with soc_max 10.0 kWh nominal_capacity 10.0 kWh battery rate raw 3500.0 w charge rate 3.5 kW discharge rate 3.5 kW battery_rate_min 0.0 w ac limit 10.0 kW export limit 10.0 kW reserve 14.0 % current_reserve 14.0 %
2024-02-28 01:05:16.385191 INFO pred_bat: Inverter 0 SOC: 0.4 kW 4 % Current charge rate 4500.0 w Current discharge rate 2800.0 w Current power 0.0 w Current voltage 52.0
2024-02-28 01:05:16.386288 INFO pred_bat: Inverter 0 scheduled charge enable is False
2024-02-28 01:05:16.387378 INFO pred_bat: Inverter 0 charge windows currently []
2024-02-28 01:05:16.388816 INFO pred_bat: Inverter 0 Charge settings: timed charged is disabled, power 4.5 kW
2024-02-28 01:05:16.390909 INFO pred_bat: Inverter 0 scheduled discharge enable is False
2024-02-28 01:05:16.392197 INFO pred_bat: Inverter 0 discharge windows currently [{'start': 0, 'end': 0, 'average': 0}, {'start': 1440, 'end': 1440, 'average': 0}]
2024-02-28 01:05:16.393015 INFO pred_bat: Note: Inverter does not support discharge freeze - disabled
2024-02-28 01:05:16.393838 INFO pred_bat: Note: Inverter does not support charge freeze - disabled
2024-02-28 01:05:16.394982 INFO pred_bat: Note: Inverter does not support reserve - disabling reserve functions
2024-02-28 01:05:16.395994 INFO pred_bat: Found 1 inverters totals: min reserve 1.4 current reserve 1.4 soc_max 10.0 soc 0.4 charge rate 4.5 kW discharge rate 2.8000000000000003 kW battery_rate_min 0.0 w ac limit 10.0 export limit 10.0 kW loss charge 3 % loss discharge 3 % inverter loss 5 %
2024-02-28 01:05:16.420991 INFO pred_bat: Base charge    window [  ]
2024-02-28 01:05:16.422044 INFO pred_bat: Base discharge window [ 28-02 00:00:00 - 28-02 00:00:00 @ 0p 100.0%, 29-02 00:00:00 - 29-02 00:00:00 @ 0p 100.0% ]
2024-02-28 01:05:16.422941 INFO pred_bat: Charge window will be: 2024-02-28 02:00:00+01:00 - 2024-02-28 08:00:00+01:00 - current soc 4 target 100
2024-02-28 01:05:16.423926 INFO pred_bat: Not setting charging window yet as not within the window (now 02-28 01:05:00 target set_window_minutes 30 charge start time 02-28 02:00:00
2024-02-28 01:05:16.424991 INFO pred_bat: Next discharge window will be: 2024-02-28 08:00:00+01:00 - 2024-02-28 23:01:00+01:00 at reserve 14
2024-02-28 01:05:16.426166 INFO pred_bat: Setting ECO mode as we are not yet within the discharge window - next time is 02-28 08:00:00 - 02-28 23:00:00
2024-02-28 01:05:16.428808 INFO pred_bat: Inverter 0 Adjust force discharge to False, change times from 00:00:00 - 00:00:00 to 00:00:00 - 00:00:00
2024-02-28 01:05:16.430141 INFO pred_bat: Inverter 0 Stop charge via Service huawei_solar/stop_forcible_charge
2024-02-28 01:05:16.431451 INFO pred_bat: Call service huawei_solar/stop_forcible_charge device_id 6893ee838a0972bd3e50d9e0faa0ba5a
2024-02-28 01:05:16.434231 INFO pred_bat: Current SOC 4% is greater than Target SOC 0. Grid Charge disabled.
2024-02-28 01:05:16.445809 INFO pred_bat: Completed run status Idle
2024-02-28 01:10:00.011833 INFO pred_bat: --------------- PredBat - update at 2024-02-28 01:10:00.006412+01:00 with clock skew 0 minutes, minutes now 70
2024-02-28 01:10:00.036937 INFO pred_bat: Using cached GITHub data for https://api.github.com/repos/springfall2008/batpred/releases age 65.0 minutes
2024-02-28 01:10:00.039967 INFO pred_bat: Predbat /config/apps/predbat.py version v7.16.2 currently running, latest version is v7.16.2 latest beta v7.16.2
2024-02-28 01:10:00.042985 INFO pred_bat: Autoupdate: Currently up to date
2024-02-28 01:10:00.077045 INFO pred_bat: Inverter type HU forecast_hours 48 max_windows 48 num_cars 0 debug enable is False calculate_plan_every 5
2024-02-28 01:10:00.081145 INFO pred_bat: WARN: Using experimental inverter type HU - not all features are available
2024-02-28 01:10:00.085202 INFO pred_bat: Predbat mode is set to Control charge & discharge
2024-02-28 01:10:00.490746 INFO pred_bat: Found 15841 load_today datapoints going back 11 days
2024-02-28 01:10:02.422024 INFO pred_bat: Car charging hold False threshold 6.0
2024-02-28 01:10:02.422965 INFO pred_bat: Current data so far today: load 0.0 kWh import 3.55 kWh export 0.0 kWh pv 0.0 kWh
2024-02-28 01:10:02.423875 INFO pred_bat: Fetching futurerate data from None
2024-02-28 01:10:02.429930 INFO pred_bat: Standing charge is set to 0.0 p
2024-02-28 01:10:02.793219 INFO pred_bat: Rate min forward looking: now 23.1 at end of forecast 23.1
2024-02-28 01:10:02.794770 INFO pred_bat: Import rates min 23.1 max 38.5 average 29.64
2024-02-28 01:10:02.803751 INFO pred_bat: Export rates min 23.1 max 38.5 average 29.64
2024-02-28 01:10:02.805250 INFO pred_bat: Rate thresholds (for charge/discharge) are import 38.0p (0.0) export 23.6p (0.0)
2024-02-28 01:10:02.812087 INFO pred_bat: High export rate found rates in range 23.9 to 38.5
2024-02-28 01:10:02.819409 INFO pred_bat: Low Import rate found rates in range 23.1 to 36.4
2024-02-28 01:10:02.839569 INFO pred_bat: Todays energy import 3.55 kWh export 0.0 kWh cost 84.74 p import 84.74 p export 0.0 p
2024-02-28 01:10:02.843028 INFO pred_bat: PV Data for pv_forecast_today total 8.36 kWh
2024-02-28 01:10:02.846140 INFO pred_bat: PV Data for pv_forecast_tomorrow total 5.72 kWh
2024-02-28 01:10:02.849359 INFO pred_bat: PV Data for pv_forecast_d3 total 3.09 kWh
2024-02-28 01:10:02.852467 INFO pred_bat: PV Data for pv_forecast_d4 total 4.64 kWh
2024-02-28 01:10:02.863363 INFO pred_bat: Historical data totals for days [10] are [18.65] - min 18.65
2024-02-28 01:10:02.865101 INFO pred_bat: WARN: Historical day 10 has 205 minutes of gap in the data, filled from 18.65 kWh to make new average 21.74 kWh (percent 86%)
2024-02-28 01:10:02.886326 INFO pred_bat: Historical days now [10] weight [1]
2024-02-28 01:10:02.893586 INFO pred_bat: Today's load divergence 100.0 % in-day adjustment 100.0 % damping 0.95x, Predicted so far 0 kWh with 0.0 kWh car excluded and 9.58 kWh import ignored and 0 forecast extra, Actual so far 0 kWh with 0.0 kWh car excluded and 0.0 kWh import ignored
2024-02-28 01:10:02.921353 INFO pred_bat: Reserve min: 14.0% Battery_min:14.0%
2024-02-28 01:10:02.922707 INFO pred_bat: Inverter 0 with soc_max 10.0 kWh nominal_capacity 10.0 kWh battery rate raw 3500.0 w charge rate 3.5 kW discharge rate 3.5 kW battery_rate_min 0.0 w ac limit 10.0 kW export limit 10.0 kW reserve 14.0 % current_reserve 14.0 %
2024-02-28 01:10:02.928837 INFO pred_bat: Inverter 0 SOC: 0.4 kW 4 % Current charge rate 4500.0 w Current discharge rate 2800.0 w Current power 0.0 w Current voltage 52.0
2024-02-28 01:10:02.929869 INFO pred_bat: Inverter 0 scheduled charge enable is False
2024-02-28 01:10:02.930897 INFO pred_bat: Inverter 0 charge windows currently []
2024-02-28 01:10:02.931969 INFO pred_bat: Inverter 0 Charge settings: timed charged is disabled, power 4.5 kW
2024-02-28 01:10:02.934044 INFO pred_bat: Inverter 0 scheduled discharge enable is False
2024-02-28 01:10:02.935287 INFO pred_bat: Inverter 0 discharge windows currently [{'start': 0, 'end': 0, 'average': 0}, {'start': 1440, 'end': 1440, 'average': 0}]
2024-02-28 01:10:02.936075 INFO pred_bat: Note: Inverter does not support discharge freeze - disabled
2024-02-28 01:10:02.936842 INFO pred_bat: Note: Inverter does not support charge freeze - disabled
2024-02-28 01:10:02.937600 INFO pred_bat: Note: Inverter does not support reserve - disabling reserve functions
2024-02-28 01:10:02.938490 INFO pred_bat: Found 1 inverters totals: min reserve 1.4 current reserve 1.4 soc_max 10.0 soc 0.4 charge rate 4.5 kW discharge rate 2.8000000000000003 kW battery_rate_min 0.0 w ac limit 10.0 export limit 10.0 kW loss charge 3 % loss discharge 3 % inverter loss 5 %
2024-02-28 01:10:02.962968 INFO pred_bat: Base charge    window [  ]
2024-02-28 01:10:02.963963 INFO pred_bat: Base discharge window [ 28-02 00:00:00 - 28-02 00:00:00 @ 0p 100.0%, 29-02 00:00:00 - 29-02 00:00:00 @ 0p 100.0% ]
2024-02-28 01:10:02.964655 INFO pred_bat: Plan was last updated on 2024-02-28 01:05:00.012146+01:00 and is now 5.0 minutes old
2024-02-28 01:10:02.965512 INFO pred_bat: Best charge    window [ 28-02 02:00:00 - 28-02 08:00:00 @ 23.15p 100%, 29-02 02:00:00 - 29-02 08:00:00 @ 23.15p 100%, 29-02 10:00:00 - 01-03 02:00:00 @ 36.4p 100% ]
2024-02-28 01:10:02.966345 INFO pred_bat: Best discharge window [ 28-02 08:00:00 - 28-02 23:00:00 @ 38.5p 14%, 29-02 00:00:00 - 29-02 01:00:00 @ 23.9p 14% ]
2024-02-28 01:10:02.976502 INFO pred_bat: Creating pool of 2 processes to match your CPU count
2024-02-28 01:10:03.007281 INFO pred_bat: predict base end_record 02-29 02:05:00 final soc 1.4 kWh metric 430.94 p metric_keep 0 min_soc 1.4 @ 02-28 01:35:00 kWh load 19.26 pv 8.36
2024-02-28 01:10:03.009006 INFO pred_bat:          [  01:10,   02:10,   03:10,   04:10,   05:10,   06:10,   07:10,   08:10,   09:10,   10:10,   11:10,   12:10,   13:10,   14:10,   15:10,   16:10,   17:10,   18:10,   19:10,   20:10,   21:10,   22:10,   23:10,   00:10,   01:10]
2024-02-28 01:10:03.010549 INFO pred_bat:     SOC: [    0.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,    1.52,     1.4,    1.42,     1.4,    1.43,    1.45,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4]
2024-02-28 01:10:03.012013 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<be-,   g<be-,   g~be~,   g~be~]
2024-02-28 01:10:03.013501 INFO pred_bat:    LOAD: [    0.0,     2.1,    2.12,    2.13,    2.15,    2.17,    2.18,     2.2,    3.37,    5.03,    6.31,    7.78,     9.1,   10.38,   12.48,   14.16,   15.68,   17.11,   18.05,    18.2,   18.35,   18.68,   18.81,    18.9,   19.05]
2024-02-28 01:10:03.015023 INFO pred_bat:      PV: [    0.0,     0.0,     0.0,     0.0,     0.0,     0.0,    0.01,    0.14,    0.63,    1.55,    2.77,    4.18,    5.58,    6.84,    7.79,    8.24,    8.36,    8.36,    8.36,    8.36,    8.36,    8.36,    8.36,    8.36,    8.36]
2024-02-28 01:10:03.016490 INFO pred_bat:  IMPORT: [   3.55,    5.79,    5.81,    5.82,    5.84,    5.86,    5.87,    5.87,    6.47,    7.27,    7.39,    7.56,    7.58,    7.62,    8.82,   10.07,   11.48,    12.9,   13.84,   13.99,   14.14,   14.47,    14.6,   14.69,   14.84]
2024-02-28 01:10:03.017973 INFO pred_bat:  EXPORT: [    0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0]
2024-02-28 01:10:03.019531 INFO pred_bat:  METRIC: [  84.74,  137.26,  137.64,  138.03,  138.43,  138.87,  139.28,  139.28,  162.26,  193.09,  197.21,  203.17,  203.83,  205.02,  241.52,   280.2,  324.41,  369.59,  399.06,   403.5,   408.0,  416.95,  420.25,  422.46,  426.04]
2024-02-28 01:10:03.184487 INFO pred_bat: Battery has 0.42 hours left - now at 0.4
2024-02-28 01:10:03.214244 INFO pred_bat: predict base10 end_record 02-29 02:05:00 final soc 1.4 kWh metric 711.88 p metric_keep 0 min_soc 1.4 @ 02-28 01:35:00 kWh load 21.15 pv 1.33
2024-02-28 01:10:03.215747 INFO pred_bat:          [  01:10,   02:10,   03:10,   04:10,   05:10,   06:10,   07:10,   08:10,   09:10,   10:10,   11:10,   12:10,   13:10,   14:10,   15:10,   16:10,   17:10,   18:10,   19:10,   20:10,   21:10,   22:10,   23:10,   00:10,   01:10]
2024-02-28 01:10:03.217187 INFO pred_bat:     SOC: [    0.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,    1.41,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4]
2024-02-28 01:10:03.218578 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<be-,   g<be-,   g~be~,   g~be~]
2024-02-28 01:10:03.220038 INFO pred_bat:    LOAD: [    0.0,    2.31,    2.33,    2.35,    2.37,    2.38,     2.4,    2.42,     3.7,    5.54,    6.94,    8.56,   10.01,   11.42,   13.73,   15.57,   17.25,   18.82,   19.86,   20.02,   20.19,   20.55,   20.69,   20.79,   20.94]
2024-02-28 01:10:03.221548 INFO pred_bat:      PV: [    0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,    0.03,    0.12,    0.27,    0.45,    0.65,    0.85,    1.04,    1.21,     1.3,    1.33,    1.33,    1.33,    1.33,    1.33,    1.33,    1.33,    1.33,    1.33]
2024-02-28 01:10:03.223076 INFO pred_bat:  IMPORT: [   3.55,     6.0,    6.02,    6.04,    6.05,    6.07,    6.09,    6.09,    7.27,    8.97,   10.21,   11.64,    12.9,   14.13,   16.28,   18.03,   19.68,   21.25,   22.28,   22.45,   22.62,   22.98,   23.12,   23.22,   23.37]
2024-02-28 01:10:03.224552 INFO pred_bat:  EXPORT: [    0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0]
2024-02-28 01:10:03.226066 INFO pred_bat:  METRIC: [  84.74,  142.18,   142.6,  143.03,  143.47,  143.96,  144.48,  144.62,   190.0,  254.57,  299.25,  348.03,  387.15,  424.01,  489.32,  543.59,   595.4,  645.24,  677.66,  682.54,  687.49,  697.34,  700.97,  703.39,  706.97]
2024-02-28 01:10:03.381638 INFO pred_bat: predict best10 end_record 02-29 02:05:00 final soc 1.53 kWh metric 664.39 p metric_keep 0 min_soc 1.4 @ 02-28 10:45:00 kWh load 21.15 pv 1.33
2024-02-28 01:10:03.383205 INFO pred_bat:          [  01:10,   02:10,   03:10,   04:10,   05:10,   06:10,   07:10,   08:10,   09:10,   10:10,   11:10,   12:10,   13:10,   14:10,   15:10,   16:10,   17:10,   18:10,   19:10,   20:10,   21:10,   22:10,   23:10,   00:10,   01:10]
2024-02-28 01:10:03.384661 INFO pred_bat:     SOC: [    0.4,    1.66,    3.22,    4.67,    6.13,    7.58,    9.04,    9.49,    6.46,    3.42,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4]
2024-02-28 01:10:03.386511 INFO pred_bat:   STATE: [  g<be-,   g<bf+,   g<bf+,   g<bf+,   g<bf+,   g<bf+,   g<bf+,   g>bf-,   g>bf-,   g>bf-,   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~]
2024-02-28 01:10:03.388003 INFO pred_bat:    LOAD: [    0.0,    2.31,    2.33,    2.35,    2.37,    2.38,     2.4,    2.42,     3.7,    5.54,    6.94,    8.56,   10.01,   11.42,   13.73,   15.57,   17.25,   18.82,   19.86,   20.02,   20.19,   20.55,   20.69,   20.79,   20.94]
2024-02-28 01:10:03.389478 INFO pred_bat:      PV: [    0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,    0.03,    0.12,    0.27,    0.45,    0.65,    0.85,    1.04,    1.21,     1.3,    1.33,    1.33,    1.33,    1.33,    1.33,    1.33,    1.33,    1.33,    1.33]
2024-02-28 01:10:03.390955 INFO pred_bat:  IMPORT: [   3.55,    6.28,    7.99,    9.59,   11.19,   12.78,   14.38,   15.42,   15.42,   15.43,    15.9,   17.33,   18.59,   19.82,   21.98,   23.73,   25.38,   26.95,   27.98,   28.15,   28.31,   28.67,   28.81,   28.92,   29.07]
2024-02-28 01:10:03.392413 INFO pred_bat:  EXPORT: [    0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,    0.47,    2.08,     3.2,    4.29,    4.29,    4.29,    4.29,    4.29,    4.29,    4.29,    4.29,    4.29,    4.29,    4.29,    4.29,    4.29,    4.29,    4.29]
2024-02-28 01:10:03.393967 INFO pred_bat:  METRIC: [  84.74,  148.77,  188.22,  225.57,   264.8,  307.15,  356.07,  375.12,  313.29,  271.51,  248.46,  297.24,  336.37,  373.22,  438.53,   492.8,  544.61,  594.45,  626.87,  631.76,  636.71,  646.55,  650.18,  652.61,  656.19]
2024-02-28 01:10:03.538519 INFO pred_bat: predict best end_record 02-29 02:05:00 final soc 1.53 kWh metric 382.64 p metric_keep 0 min_soc 1.4 @ 02-28 10:45:00 kWh load 19.26 pv 8.36
2024-02-28 01:10:03.540037 INFO pred_bat:          [  01:10,   02:10,   03:10,   04:10,   05:10,   06:10,   07:10,   08:10,   09:10,   10:10,   11:10,   12:10,   13:10,   14:10,   15:10,   16:10,   17:10,   18:10,   19:10,   20:10,   21:10,   22:10,   23:10,   00:10,   01:10]
2024-02-28 01:10:03.541491 INFO pred_bat:     SOC: [    0.4,    1.66,    3.22,    4.67,    6.13,    7.58,    9.04,    9.49,    6.46,    3.42,     1.4,    1.43,    1.45,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4]
2024-02-28 01:10:03.542895 INFO pred_bat:   STATE: [  g<be-,   g<bf+,   g<bf+,   g<bf+,   g<bf+,   g<bf+,   g<bf+,   g>bf-,   g>bf-,   g>bf-,   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~]
2024-02-28 01:10:03.544338 INFO pred_bat:    LOAD: [    0.0,     2.1,    2.12,    2.13,    2.15,    2.17,    2.18,     2.2,    3.37,    5.03,    6.31,    7.78,     9.1,   10.38,   12.48,   14.16,   15.68,   17.11,   18.05,    18.2,   18.35,   18.68,   18.81,    18.9,   19.05]
2024-02-28 01:10:03.545789 INFO pred_bat:      PV: [    0.0,     0.0,     0.0,     0.0,     0.0,     0.0,    0.01,    0.14,    0.63,    1.55,    2.77,    4.18,    5.58,    6.84,    7.79,    8.24,    8.36,    8.36,    8.36,    8.36,    8.36,    8.36,    8.36,    8.36,    8.36]
2024-02-28 01:10:03.547254 INFO pred_bat:  IMPORT: [   3.55,    6.07,    7.78,    9.38,   10.97,   12.57,   14.16,   15.14,   15.14,   15.14,   15.18,   15.36,   15.38,   15.42,   16.62,   17.87,   19.27,    20.7,   21.64,   21.79,   21.94,   22.27,   22.39,   22.49,   22.64]
2024-02-28 01:10:03.548750 INFO pred_bat:  EXPORT: [    0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,    0.52,    2.62,    4.63,    6.42,    6.42,    6.42,    6.42,    6.42,    6.42,    6.42,    6.42,    6.42,    6.42,    6.42,    6.42,    6.42,    6.42,    6.42]
2024-02-28 01:10:03.550285 INFO pred_bat:  METRIC: [  84.74,  143.84,  183.26,  220.56,  259.76,  302.07,  350.78,  365.78,  285.28,  208.98,  145.62,  151.58,  152.24,  153.43,  189.93,  228.61,  272.82,   318.0,  347.47,  351.91,  356.41,  365.36,  368.66,  370.87,  374.44]
2024-02-28 01:10:03.743270 INFO pred_bat: Evaluate trigger {'name': 'large', 'minutes': 60, 'energy': 1.0} results off total_energy 0
2024-02-28 01:10:03.751736 INFO pred_bat: Evaluate trigger {'name': 'small', 'minutes': 15, 'energy': 0.25} results off total_energy 0
2024-02-28 01:10:03.757872 INFO pred_bat: Best charging limit socs [10.0, 10.0, 10.0] export [14, 14] gives import battery 30.25 house 9.65 export 7.43 metric 382.64 metric10 664.39
2024-02-28 01:10:03.827417 INFO pred_bat: Export threshold used for optimisation was 28.6p
2024-02-28 01:10:03.870044 INFO pred_bat: High export rate windows [0: 02-28 04:00:00 - 02-28 05:00:00 @ 24.3, 1: 02-28 05:00:00 - 02-28 06:00:00 @ 25.9, 2: 02-28 06:00:00 - 02-28 07:00:00 @ 29.6, 3: 02-28 07:00:00 - 02-28 08:00:00 @ 35.9, 4: 02-28 08:00:00 - 02-28 09:00:00 @ 38.5, 5: 02-28 09:00:00 - 02-28 10:00:00 @ 38.3, 6: 02-28 10:00:00 - 02-28 11:00:00 @ 36.4, 7: 02-28 11:00:00 - 02-28 12:00:00 @ 34.6, 8: 02-28 12:00:00 - 02-28 13:00:00 @ 31.2, 9: 02-28 13:00:00 - 02-28 15:00:00 @ 30.05, 10: 02-28 15:00:00 - 02-28 17:00:00 @ 31.1, 11: 02-28 17:00:00 - 02-28 18:00:00 @ 31.9, 12: 02-28 18:00:00 - 02-28 19:00:00 @ 31.3, 13: 02-28 19:00:00 - 02-28 20:00:00 @ 29.4, 14: 02-28 20:00:00 - 02-28 21:00:00 @ 29.8, 15: 02-28 21:00:00 - 02-28 22:00:00 @ 28.8, 16: 02-28 22:00:00 - 02-28 23:00:00 @ 26.3, 17: 02-29 00:00:00 - 02-29 01:00:00 @ 23.9, 18: 02-29 04:00:00 - 02-29 05:00:00 @ 24.3, 19: 02-29 05:00:00 - 02-29 06:00:00 @ 25.9, 20: 02-29 06:00:00 - 02-29 07:00:00 @ 29.6, 21: 02-29 07:00:00 - 02-29 08:00:00 @ 35.9, 22: 02-29 08:00:00 - 02-29 09:00:00 @ 38.5, 23: 02-29 09:00:00 - 02-29 10:00:00 @ 38.3, 24: 02-29 10:00:00 - 02-29 11:00:00 @ 36.4, 25: 02-29 11:00:00 - 02-29 12:00:00 @ 34.6, 26: 02-29 12:00:00 - 02-29 13:00:00 @ 31.2, 27: 02-29 13:00:00 - 02-29 15:00:00 @ 30.05, 28: 02-29 15:00:00 - 02-29 17:00:00 @ 31.1, 29: 02-29 17:00:00 - 02-29 18:00:00 @ 31.9, 30: 02-29 18:00:00 - 02-29 19:00:00 @ 31.3, 31: 02-29 19:00:00 - 02-29 20:00:00 @ 29.4, 32: 02-29 20:00:00 - 02-29 21:00:00 @ 29.8, 33: 02-29 21:00:00 - 02-29 22:00:00 @ 28.8, 34: 02-29 22:00:00 - 02-29 23:00:00 @ 26.3, 35: 03-01 00:00:00 - 03-01 01:00:00 @ 23.9]
2024-02-28 01:10:03.876268 INFO pred_bat: Import threshold used for optimisation was 28.3p
2024-02-28 01:10:03.919251 INFO pred_bat: Low import rate windows [0: 02-28 00:00:00 - 02-28 02:00:00 @ 23.7, 1: 02-28 02:00:00 - 02-28 04:00:00 @ 23.15, 2: 02-28 04:00:00 - 02-28 05:00:00 @ 24.3, 3: 02-28 05:00:00 - 02-28 06:00:00 @ 25.9, 4: 02-28 06:00:00 - 02-28 07:00:00 @ 29.6, 5: 02-28 07:00:00 - 02-28 08:00:00 @ 35.9, 6: 02-28 10:00:00 - 02-28 11:00:00 @ 36.4, 7: 02-28 11:00:00 - 02-28 12:00:00 @ 34.6, 8: 02-28 12:00:00 - 02-28 13:00:00 @ 31.2, 9: 02-28 13:00:00 - 02-28 15:00:00 @ 30.05, 10: 02-28 15:00:00 - 02-28 17:00:00 @ 31.1, 11: 02-28 17:00:00 - 02-28 18:00:00 @ 31.9, 12: 02-28 18:00:00 - 02-28 19:00:00 @ 31.3, 13: 02-28 19:00:00 - 02-28 20:00:00 @ 29.4, 14: 02-28 20:00:00 - 02-28 21:00:00 @ 29.8, 15: 02-28 21:00:00 - 02-28 22:00:00 @ 28.8, 16: 02-28 22:00:00 - 02-28 23:00:00 @ 26.3, 17: 02-28 23:00:00 - 02-29 00:00:00 @ 23.1, 18: 02-29 00:00:00 - 02-29 02:00:00 @ 23.7, 19: 02-29 02:00:00 - 02-29 04:00:00 @ 23.15, 20: 02-29 04:00:00 - 02-29 05:00:00 @ 24.3, 21: 02-29 05:00:00 - 02-29 06:00:00 @ 25.9, 22: 02-29 06:00:00 - 02-29 07:00:00 @ 29.6, 23: 02-29 07:00:00 - 02-29 08:00:00 @ 35.9, 24: 02-29 10:00:00 - 02-29 11:00:00 @ 36.4, 25: 02-29 11:00:00 - 02-29 12:00:00 @ 34.6, 26: 02-29 12:00:00 - 02-29 13:00:00 @ 31.2, 27: 02-29 13:00:00 - 02-29 15:00:00 @ 30.05, 28: 02-29 15:00:00 - 02-29 17:00:00 @ 31.1, 29: 02-29 17:00:00 - 02-29 18:00:00 @ 31.9, 30: 02-29 18:00:00 - 02-29 19:00:00 @ 31.3, 31: 02-29 19:00:00 - 02-29 20:00:00 @ 29.4, 32: 02-29 20:00:00 - 02-29 21:00:00 @ 29.8, 33: 02-29 21:00:00 - 02-29 22:00:00 @ 28.8, 34: 02-29 22:00:00 - 02-29 23:00:00 @ 26.3, 35: 02-29 23:00:00 - 03-01 00:00:00 @ 23.1, 36: 03-01 00:00:00 - 03-01 02:00:00 @ 23.7]
2024-02-28 01:10:03.925604 INFO pred_bat: Charge window will be: 2024-02-28 02:00:00+01:00 - 2024-02-28 08:00:00+01:00 - current soc 4 target 100
2024-02-28 01:10:03.926632 INFO pred_bat: Not setting charging window yet as not within the window (now 02-28 01:10:00 target set_window_minutes 30 charge start time 02-28 02:00:00
2024-02-28 01:10:03.927694 INFO pred_bat: Next discharge window will be: 2024-02-28 08:00:00+01:00 - 2024-02-28 23:01:00+01:00 at reserve 14
2024-02-28 01:10:03.928831 INFO pred_bat: Setting ECO mode as we are not yet within the discharge window - next time is 02-28 08:00:00 - 02-28 23:00:00
2024-02-28 01:10:03.931362 INFO pred_bat: Inverter 0 Adjust force discharge to False, change times from 00:00:00 - 00:00:00 to 00:00:00 - 00:00:00
2024-02-28 01:10:03.932700 INFO pred_bat: Inverter 0 Stop charge via Service huawei_solar/stop_forcible_charge
2024-02-28 01:10:03.933991 INFO pred_bat: Call service huawei_solar/stop_forcible_charge device_id 6893ee838a0972bd3e50d9e0faa0ba5a
2024-02-28 01:10:03.937021 INFO pred_bat: Current SOC 4% is greater than Target SOC 0. Grid Charge disabled.
2024-02-28 01:10:03.949525 INFO pred_bat: Will recompute the plan as it is now 5.0 minutes old and will exceed the max age of 5 minutes before the next run
2024-02-28 01:10:03.951222 INFO pred_bat: Best charge    window [ 28-02 00:00:00 - 28-02 02:00:00 @ 23.7p 0.0%, 28-02 02:00:00 - 28-02 04:00:00 @ 23.15p 0.0%, 28-02 04:00:00 - 28-02 05:00:00 @ 24.3p 0.0%, 28-02 05:00:00 - 28-02 06:00:00 @ 25.9p 0.0%, 28-02 06:00:00 - 28-02 07:00:00 @ 29.6p 0.0%, 28-02 07:00:00 - 28-02 08:00:00 @ 35.9p 0.0%, 28-02 10:00:00 - 28-02 11:00:00 @ 36.4p 0.0%, 28-02 11:00:00 - 28-02 12:00:00 @ 34.6p 0.0%, 28-02 12:00:00 - 28-02 13:00:00 @ 31.2p 0.0%, 28-02 13:00:00 - 28-02 15:00:00 @ 30.05p 0.0%, 28-02 15:00:00 - 28-02 17:00:00 @ 31.1p 0.0%, 28-02 17:00:00 - 28-02 18:00:00 @ 31.9p 0.0%, 28-02 18:00:00 - 28-02 19:00:00 @ 31.3p 0.0%, 28-02 19:00:00 - 28-02 20:00:00 @ 29.4p 0.0%, 28-02 20:00:00 - 28-02 21:00:00 @ 29.8p 0.0%, 28-02 21:00:00 - 28-02 22:00:00 @ 28.8p 0.0%, 28-02 22:00:00 - 28-02 23:00:00 @ 26.3p 0.0%, 28-02 23:00:00 - 29-02 00:00:00 @ 23.1p 0.0%, 29-02 00:00:00 - 29-02 02:00:00 @ 23.7p 0.0%, 29-02 02:00:00 - 29-02 04:00:00 @ 23.15p 0.0%, 29-02 04:00:00 - 29-02 05:00:00 @ 24.3p 0.0%, 29-02 05:00:00 - 29-02 06:00:00 @ 25.9p 0.0%, 29-02 06:00:00 - 29-02 07:00:00 @ 29.6p 0.0%, 29-02 07:00:00 - 29-02 08:00:00 @ 35.9p 0.0%, 29-02 10:00:00 - 29-02 11:00:00 @ 36.4p 0.0%, 29-02 11:00:00 - 29-02 12:00:00 @ 34.6p 0.0%, 29-02 12:00:00 - 29-02 13:00:00 @ 31.2p 0.0%, 29-02 13:00:00 - 29-02 15:00:00 @ 30.05p 0.0%, 29-02 15:00:00 - 29-02 17:00:00 @ 31.1p 0.0%, 29-02 17:00:00 - 29-02 18:00:00 @ 31.9p 0.0%, 29-02 18:00:00 - 29-02 19:00:00 @ 31.3p 0.0%, 29-02 19:00:00 - 29-02 20:00:00 @ 29.4p 0.0%, 29-02 20:00:00 - 29-02 21:00:00 @ 29.8p 0.0%, 29-02 21:00:00 - 29-02 22:00:00 @ 28.8p 0.0%, 29-02 22:00:00 - 29-02 23:00:00 @ 26.3p 0.0%, 29-02 23:00:00 - 01-03 00:00:00 @ 23.1p 0.0%, 01-03 00:00:00 - 01-03 02:00:00 @ 23.7p 0.0% ]
2024-02-28 01:10:03.952618 INFO pred_bat: Best discharge window [ 28-02 04:00:00 - 28-02 05:00:00 @ 24.3p 100.0%, 28-02 05:00:00 - 28-02 06:00:00 @ 25.9p 100.0%, 28-02 06:00:00 - 28-02 07:00:00 @ 29.6p 100.0%, 28-02 07:00:00 - 28-02 08:00:00 @ 35.9p 100.0%, 28-02 08:00:00 - 28-02 09:00:00 @ 38.5p 100.0%, 28-02 09:00:00 - 28-02 10:00:00 @ 38.3p 100.0%, 28-02 10:00:00 - 28-02 11:00:00 @ 36.4p 100.0%, 28-02 11:00:00 - 28-02 12:00:00 @ 34.6p 100.0%, 28-02 12:00:00 - 28-02 13:00:00 @ 31.2p 100.0%, 28-02 13:00:00 - 28-02 15:00:00 @ 30.05p 100.0%, 28-02 15:00:00 - 28-02 17:00:00 @ 31.1p 100.0%, 28-02 17:00:00 - 28-02 18:00:00 @ 31.9p 100.0%, 28-02 18:00:00 - 28-02 19:00:00 @ 31.3p 100.0%, 28-02 19:00:00 - 28-02 20:00:00 @ 29.4p 100.0%, 28-02 20:00:00 - 28-02 21:00:00 @ 29.8p 100.0%, 28-02 21:00:00 - 28-02 22:00:00 @ 28.8p 100.0%, 28-02 22:00:00 - 28-02 23:00:00 @ 26.3p 100.0%, 29-02 00:00:00 - 29-02 01:00:00 @ 23.9p 100.0%, 29-02 04:00:00 - 29-02 05:00:00 @ 24.3p 100.0%, 29-02 05:00:00 - 29-02 06:00:00 @ 25.9p 100.0%, 29-02 06:00:00 - 29-02 07:00:00 @ 29.6p 100.0%, 29-02 07:00:00 - 29-02 08:00:00 @ 35.9p 100.0%, 29-02 08:00:00 - 29-02 09:00:00 @ 38.5p 100.0%, 29-02 09:00:00 - 29-02 10:00:00 @ 38.3p 100.0%, 29-02 10:00:00 - 29-02 11:00:00 @ 36.4p 100.0%, 29-02 11:00:00 - 29-02 12:00:00 @ 34.6p 100.0%, 29-02 12:00:00 - 29-02 13:00:00 @ 31.2p 100.0%, 29-02 13:00:00 - 29-02 15:00:00 @ 30.05p 100.0%, 29-02 15:00:00 - 29-02 17:00:00 @ 31.1p 100.0%, 29-02 17:00:00 - 29-02 18:00:00 @ 31.9p 100.0%, 29-02 18:00:00 - 29-02 19:00:00 @ 31.3p 100.0%, 29-02 19:00:00 - 29-02 20:00:00 @ 29.4p 100.0%, 29-02 20:00:00 - 29-02 21:00:00 @ 29.8p 100.0%, 29-02 21:00:00 - 29-02 22:00:00 @ 28.8p 100.0%, 29-02 22:00:00 - 29-02 23:00:00 @ 26.3p 100.0%, 01-03 00:00:00 - 01-03 01:00:00 @ 23.9p 100.0% ]
2024-02-28 01:10:03.962751 INFO pred_bat: Creating pool of 2 processes to match your CPU count
2024-02-28 01:10:03.980883 INFO pred_bat: Calculate Best options: mode(Control charge & discharge) calculate_discharge_oncharge(True) set_discharge_freeze_only(False) set_discharge_during_charge(False) combine_charge_slots(True) combine_discharge_slots(True) best_soc_min(0.0 kWh) best_soc_max(0.0 kWh) best_soc_keep(0.1 kWh) inverter_loss(5 %) battery_loss(3 %) battery_loss_discharge (3 %) inverter_hybrid(True) metric_min_improvement(0.0 p) metric_min_improvement_discharge(0.0 p) metric_battery_cycle(0.2 p/kWh)metric_battery_value_scaling(0.8 x)
2024-02-28 01:10:03.982647 INFO pred_bat: Optimise all windows, total charge 36 discharge 36
2024-02-28 01:10:04.286670 INFO pred_bat: Optimise all charge for all bands best price threshold 28.5 charges at 28.3 at metric 618.45 keep 0 cost 706.0 soc_min 1.4 limits [10.0, 10.0, 10.0, 10.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10.0, 10.0, 10.0, 10.0, 10.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10.0, 0.0] discharge [100.0, 100.0, 100.0, 0, 0, 0, 0, 0, 0, 100.0, 100.0, 0, 0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 0, 0, 0, 0, 0, 0, 100.0, 100.0, 0, 0, 100.0, 100.0, 100.0, 100.0, 100.0]
2024-02-28 01:10:04.287859 INFO pred_bat: Calculated end_record as 02-29 02:00:00
2024-02-28 01:10:04.288901 INFO pred_bat: >> Region optimisation pass width 960
2024-02-28 01:10:04.460029 INFO pred_bat: Optimise all charge for all bands best price threshold 32.5 charges at 32.3 at metric 396.59 keep 0 cost 591.29 soc_min 1.4 limits [10.0, 10.0, 10.0, 10.0, 10.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10.0, 10.0, 10.0, 10.0, 10.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10.0, 0.0] discharge [100.0, 100.0, 100.0, 0, 0, 0, 0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0]
2024-02-28 01:10:04.565481 INFO pred_bat: Optimise all charge for all bands best price threshold 25.3 charges at 25.3 at metric 386.14 keep 0 cost 410.46 soc_min 1.4 limits [10.0, 10.0, 10.0, 10.0, 10.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10.0, 10.0, 10.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10.0, 0.0] discharge [100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 0, 0, 0, 0, 0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0]
2024-02-28 01:10:04.566520 INFO pred_bat: >> Region optimisation pass width 480
2024-02-28 01:10:04.686707 INFO pred_bat: Optimise all charge for all bands best price threshold 32.8 charges at 32.3 at metric 347.94 keep 0 cost 372.26 soc_min 1.4 limits [10.0, 10.0, 10.0, 10.0, 10.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10.0, 10.0, 10.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10.0, 0.0] discharge [100.0, 100.0, 100.0, 0, 0, 0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0]
2024-02-28 01:10:04.789624 INFO pred_bat: Optimise all charge for all bands best price threshold 27.3 charges at 21.8 at metric 352.45 keep 0 cost 376.84 soc_min 1.4 limits [10.0, 10.0, 10.0, 10.0, 10.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10.0, 10.0, 10.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10.0, 0.0] discharge [100.0, 100.0, 100.0, 100.0, 100.0, 0, 0, 0, 0, 0, 0, 0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0]
2024-02-28 01:10:04.895752 INFO pred_bat: Optimise all charge for all bands best price threshold 25.3 charges at 21.8 at metric 386.14 keep 0 cost 410.46 soc_min 1.4 limits [10.0, 10.0, 10.0, 10.0, 10.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10.0, 10.0, 10.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10.0, 0.0] discharge [100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 0, 0, 0, 0, 0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0]
2024-02-28 01:10:04.961615 INFO pred_bat: Optimise all charge for all bands best price threshold 25.3 charges at 25.3 at metric 386.63 keep 0 cost 410.95 soc_min 1.4 limits [10.0, 10.0, 10.0, 10.0, 10.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10.0, 10.0, 10.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10.0, 0.0] discharge [100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0]
2024-02-28 01:10:04.962682 INFO pred_bat: >> Region optimisation pass width 240
2024-02-28 01:10:05.034018 INFO pred_bat: Optimise all charge for all bands best price threshold 26.3 charges at 25.3 at metric 376.56 keep 0 cost 400.74 soc_min 1.4 limits [0, 10.0, 0, 0, 10.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10.0, 10.0, 10.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10.0, 0.0] discharge [100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0]
2024-02-28 01:10:05.128437 INFO pred_bat: Optimise all charge for all bands best price threshold 32.8 charges at 32.3 at metric 330.4 keep 0 cost 354.59 soc_min 1.4 limits [0, 10.0, 0, 10.0, 10.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10.0, 10.0, 10.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10.0, 0.0] discharge [100.0, 100.0, 100.0, 0, 0, 0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0]
2024-02-28 01:10:05.220659 INFO pred_bat: Optimise all charge for all bands best price threshold 27.3 charges at 21.8 at metric 334.9 keep 0 cost 359.17 soc_min 1.4 limits [0, 10.0, 0, 10.0, 10.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10.0, 10.0, 10.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10.0, 0.0] discharge [100.0, 100.0, 100.0, 100.0, 100.0, 0, 0, 0, 0, 0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0]
2024-02-28 01:10:05.300795 INFO pred_bat: Optimise all charge for all bands best price threshold 28.7 charges at 21.8 at metric 368.6 keep 0 cost 392.79 soc_min 1.4 limits [0, 10.0, 0, 10.0, 10.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10.0, 10.0, 10.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10.0, 0.0] discharge [100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0]
2024-02-28 01:10:05.471522 INFO pred_bat: Previous message repeated 1 times
2024-02-28 01:10:05.471693 INFO pred_bat: Optimise all charge for all bands best price threshold 25.3 charges at 21.8 at metric 369.09 keep 0 cost 393.28 soc_min 1.4 limits [0, 10.0, 0, 10.0, 10.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10.0, 10.0, 10.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10.0, 0.0] discharge [100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0]
2024-02-28 01:10:05.537259 INFO pred_bat: Optimise all charge for all bands best price threshold 25.3 charges at 25.3 at metric 369.09 keep 0 cost 393.28 soc_min 1.4 limits [0, 10.0, 0, 10.0, 10.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10.0, 10.0, 10.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10.0, 0.0] discharge [100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0]
2024-02-28 01:10:05.538456 INFO pred_bat: Calculated end_record as 02-29 02:00:00
2024-02-28 01:10:05.539839 INFO pred_bat: Starting second optimisation best_price 28.3 best_price_discharge 28.6 lowest_price_charge 25.3 with charge limits [0, 10.0, 0, 10.0, 10.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10.0, 10.0, 10.0, 10.0, 10.0, 10.0, 10.0, 10.0, 10.0, 10.0, 10.0, 10.0, 10.0, 10.0, 10.0, 10.0, 10.0, 10.0] based on
2024-02-28 01:10:05.541106 INFO pred_bat: Optimise price set 35.3 start_at_low False best_price 28.3 best_metric 369.09 best_cost 393.28
2024-02-28 01:10:05.666570 INFO pred_bat: Optimise price set 35.1 start_at_low False best_price 28.3 best_metric 392.8 best_cost 377.2
2024-02-28 01:10:05.779658 INFO pred_bat: Optimise price set 33.3 start_at_low False best_price 28.3 best_metric 381.46 best_cost 364.81
2024-02-28 01:10:05.935447 INFO pred_bat: Optimise price set 32.9 start_at_low False best_price 28.3 best_metric 370.22 best_cost 352.1
2024-02-28 01:10:06.058815 INFO pred_bat: Optimise price set 32.3 start_at_low False best_price 28.3 best_metric 370.22 best_cost 352.1
2024-02-28 01:10:06.088394 INFO pred_bat: Optimise price set 31.7 start_at_low False best_price 28.3 best_metric 370.21 best_cost 352.1
2024-02-28 01:10:06.204535 INFO pred_bat: Optimise price set 29.2 start_at_low False best_price 28.3 best_metric 370.22 best_cost 352.1
2024-02-28 01:10:06.320077 INFO pred_bat: Optimise price set 28.6 start_at_low False best_price 28.3 best_metric 370.22 best_cost 352.1
2024-02-28 01:10:06.553887 INFO pred_bat: Optimise price set 28.5 start_at_low False best_price 28.3 best_metric 370.22 best_cost 352.1
2024-02-28 01:10:06.824117 INFO pred_bat: Optimise price set 28.3 start_at_low False best_price 28.3 best_metric 370.22 best_cost 352.1
2024-02-28 01:10:06.970867 INFO pred_bat: Optimise price set 27.5 start_at_low False best_price 28.3 best_metric 370.21 best_cost 352.1
2024-02-28 01:10:07.198510 INFO pred_bat: Optimise price set 27.3 start_at_low False best_price 28.3 best_metric 370.22 best_cost 352.1
2024-02-28 01:10:07.313803 INFO pred_bat: Optimise price set 27.1 start_at_low False best_price 28.3 best_metric 370.22 best_cost 352.1
2024-02-28 01:10:07.448881 INFO pred_bat: Optimise price set 26.9 start_at_low False best_price 28.3 best_metric 370.22 best_cost 352.1
2024-02-28 01:10:07.576769 INFO pred_bat: Optimise price set 26.6 start_at_low False best_price 28.3 best_metric 370.22 best_cost 352.1
2024-02-28 01:10:07.670417 INFO pred_bat: Optimise price set 26.3 start_at_low False best_price 28.3 best_metric 366.95 best_cost 348.86
2024-02-28 01:10:07.781186 INFO pred_bat: Optimise price set 25.9 start_at_low False best_price 28.3 best_metric 366.96 best_cost 348.86
2024-02-28 01:10:08.168127 INFO pred_bat: Optimise price set 25.3 start_at_low False best_price 28.3 best_metric 366.95 best_cost 348.86
2024-02-28 01:10:08.612460 INFO pred_bat: Best charge windows best_metric 366.95 best_cost 348.86 metric_keep 0 end_record 02-29 02:00:00 windows [ 28-02 02:00:00 - 28-02 04:00:00 @ 23.15p 100%, 28-02 04:00:00 - 28-02 05:00:00 @ 24.3p 100%, 28-02 05:00:00 - 28-02 06:00:00 @ 25.9p 100%, 28-02 06:00:00 - 28-02 07:00:00 @ 29.6p 100%, 29-02 02:00:00 - 29-02 04:00:00 @ 23.15p 100%, 29-02 04:00:00 - 29-02 05:00:00 @ 24.3p 100%, 29-02 05:00:00 - 29-02 06:00:00 @ 25.9p 100%, 29-02 06:00:00 - 29-02 07:00:00 @ 29.6p 100%, 29-02 07:00:00 - 29-02 08:00:00 @ 35.9p 100%, 29-02 10:00:00 - 29-02 11:00:00 @ 36.4p 100%, 29-02 11:00:00 - 29-02 12:00:00 @ 34.6p 100%, 29-02 12:00:00 - 29-02 13:00:00 @ 31.2p 100%, 29-02 13:00:00 - 29-02 15:00:00 @ 30.05p 100%, 29-02 15:00:00 - 29-02 17:00:00 @ 31.1p 100%, 29-02 17:00:00 - 29-02 18:00:00 @ 31.9p 100%, 29-02 18:00:00 - 29-02 19:00:00 @ 31.3p 100%, 29-02 19:00:00 - 29-02 20:00:00 @ 29.4p 100%, 29-02 20:00:00 - 29-02 21:00:00 @ 29.8p 100%, 29-02 21:00:00 - 29-02 22:00:00 @ 28.8p 100%, 29-02 22:00:00 - 29-02 23:00:00 @ 26.3p 100%, 29-02 23:00:00 - 01-03 00:00:00 @ 23.1p 100%, 01-03 00:00:00 - 01-03 02:00:00 @ 23.7p 100% ]
2024-02-28 01:10:08.614038 INFO pred_bat: Best discharge windows best_metric 366.95 best_cost 348.86 metric_keep 0 end_record 02-29 02:00:00 windows [ 28-02 08:00:00 - 28-02 09:00:00 @ 38.5p 14%, 28-02 09:00:00 - 28-02 10:00:00 @ 38.3p 14%, 28-02 10:00:00 - 28-02 11:00:00 @ 36.4p 14%, 28-02 11:00:00 - 28-02 12:00:00 @ 34.6p 14%, 28-02 12:00:00 - 28-02 13:00:00 @ 31.2p 14%, 28-02 13:00:00 - 28-02 15:00:00 @ 30.05p 14%, 28-02 15:00:00 - 28-02 17:00:00 @ 31.1p 14%, 28-02 17:00:00 - 28-02 18:00:00 @ 31.9p 14%, 28-02 18:00:00 - 28-02 19:00:00 @ 31.3p 14%, 28-02 19:00:00 - 28-02 20:00:00 @ 29.4p 14%, 28-02 20:00:00 - 28-02 21:00:00 @ 29.8p 14%, 28-02 21:00:00 - 28-02 22:00:00 @ 28.8p 14% ]
2024-02-28 01:10:08.615182 INFO pred_bat: Optimise price set 25.3 start_at_low True best_price 28.3 best_metric 366.95 best_cost 348.86
2024-02-28 01:10:09.080626 INFO pred_bat: Optimise price set 25.9 start_at_low True best_price 28.3 best_metric 366.95 best_cost 348.86
2024-02-28 01:10:09.474898 INFO pred_bat: Optimise price set 26.3 start_at_low True best_price 28.3 best_metric 366.95 best_cost 348.86
2024-02-28 01:10:09.596347 INFO pred_bat: Optimise price set 26.6 start_at_low True best_price 28.3 best_metric 366.96 best_cost 348.86
2024-02-28 01:10:09.694462 INFO pred_bat: Optimise price set 26.9 start_at_low True best_price 28.3 best_metric 366.95 best_cost 348.86
2024-02-28 01:10:09.805185 INFO pred_bat: Optimise price set 27.3 start_at_low True best_price 28.3 best_metric 366.96 best_cost 348.86
2024-02-28 01:10:09.927315 INFO pred_bat: Optimise price set 27.5 start_at_low True best_price 28.3 best_metric 366.96 best_cost 348.86
2024-02-28 01:10:10.166131 INFO pred_bat: Optimise price set 28.3 start_at_low True best_price 28.3 best_metric 366.96 best_cost 348.86
2024-02-28 01:10:10.195222 INFO pred_bat: Optimise price set 28.7 start_at_low True best_price 28.3 best_metric 366.95 best_cost 348.86
2024-02-28 01:10:10.356773 INFO pred_bat: Optimise price set 31.4 start_at_low True best_price 28.3 best_metric 366.95 best_cost 348.86
2024-02-28 01:10:10.401104 INFO pred_bat: Optimise price set 32.1 start_at_low True best_price 28.3 best_metric 366.95 best_cost 348.86
2024-02-28 01:10:10.461821 INFO pred_bat: Optimise price set 32.3 start_at_low True best_price 28.3 best_metric 366.95 best_cost 348.86
2024-02-28 01:10:10.517159 INFO pred_bat: Optimise price set 32.5 start_at_low True best_price 28.3 best_metric 366.95 best_cost 348.86
2024-02-28 01:10:10.552441 INFO pred_bat: Optimise price set 32.8 start_at_low True best_price 28.3 best_metric 366.95 best_cost 348.86
2024-02-28 01:10:10.582732 INFO pred_bat: Optimise price set 34.0 start_at_low True best_price 28.3 best_metric 366.95 best_cost 348.86
2024-02-28 01:10:10.613127 INFO pred_bat: Optimise price set 34.1 start_at_low True best_price 28.3 best_metric 366.95 best_cost 348.86
2024-02-28 01:10:10.645209 INFO pred_bat: Optimise price set 34.2 start_at_low True best_price 28.3 best_metric 366.95 best_cost 348.86
2024-02-28 01:10:10.676330 INFO pred_bat: Optimise price set 34.8 start_at_low True best_price 28.3 best_metric 366.95 best_cost 348.86
2024-02-28 01:10:10.706223 INFO pred_bat: Optimise price set 37.8 start_at_low True best_price 28.3 best_metric 366.95 best_cost 348.86
2024-02-28 01:10:10.736286 INFO pred_bat: Optimise price set 39.2 start_at_low True best_price 28.3 best_metric 366.95 best_cost 348.86
2024-02-28 01:10:10.768261 INFO pred_bat: Optimise price set 39.7 start_at_low True best_price 28.3 best_metric 366.95 best_cost 348.86
2024-02-28 01:10:10.900599 INFO pred_bat: Best charge windows best_metric 366.95 best_cost 348.86 metric_keep 0 end_record 02-29 02:00:00 windows [ 28-02 02:00:00 - 28-02 04:00:00 @ 23.15p 100%, 28-02 04:00:00 - 28-02 05:00:00 @ 24.3p 100%, 28-02 05:00:00 - 28-02 06:00:00 @ 25.9p 100%, 28-02 06:00:00 - 28-02 07:00:00 @ 29.6p 100%, 28-02 07:00:00 - 28-02 08:00:00 @ 35.9p 100%, 29-02 02:00:00 - 29-02 04:00:00 @ 23.15p 100%, 29-02 04:00:00 - 29-02 05:00:00 @ 24.3p 100%, 29-02 05:00:00 - 29-02 06:00:00 @ 25.9p 100%, 29-02 06:00:00 - 29-02 07:00:00 @ 29.6p 100%, 29-02 07:00:00 - 29-02 08:00:00 @ 35.9p 100%, 29-02 10:00:00 - 29-02 11:00:00 @ 36.4p 100%, 29-02 11:00:00 - 29-02 12:00:00 @ 34.6p 100%, 29-02 12:00:00 - 29-02 13:00:00 @ 31.2p 100%, 29-02 13:00:00 - 29-02 15:00:00 @ 30.05p 100%, 29-02 15:00:00 - 29-02 17:00:00 @ 31.1p 100%, 29-02 17:00:00 - 29-02 18:00:00 @ 31.9p 100%, 29-02 18:00:00 - 29-02 19:00:00 @ 31.3p 100%, 29-02 19:00:00 - 29-02 20:00:00 @ 29.4p 100%, 29-02 20:00:00 - 29-02 21:00:00 @ 29.8p 100%, 29-02 21:00:00 - 29-02 22:00:00 @ 28.8p 100%, 29-02 22:00:00 - 29-02 23:00:00 @ 26.3p 100%, 29-02 23:00:00 - 01-03 00:00:00 @ 23.1p 100%, 01-03 00:00:00 - 01-03 02:00:00 @ 23.7p 100% ]
2024-02-28 01:10:10.902185 INFO pred_bat: Best discharge windows best_metric 366.95 best_cost 348.86 metric_keep 0 end_record 02-29 02:00:00 windows [ 28-02 08:00:00 - 28-02 09:00:00 @ 38.5p 14%, 28-02 09:00:00 - 28-02 10:00:00 @ 38.3p 14%, 28-02 10:00:00 - 28-02 11:00:00 @ 36.4p 14%, 28-02 11:00:00 - 28-02 12:00:00 @ 34.6p 14%, 28-02 12:00:00 - 28-02 13:00:00 @ 31.2p 14%, 28-02 13:00:00 - 28-02 15:00:00 @ 30.05p 14%, 28-02 15:00:00 - 28-02 17:00:00 @ 31.1p 14%, 28-02 17:00:00 - 28-02 18:00:00 @ 31.9p 14%, 28-02 18:00:00 - 28-02 19:00:00 @ 31.3p 14%, 28-02 19:00:00 - 28-02 20:00:00 @ 29.4p 14%, 28-02 20:00:00 - 28-02 21:00:00 @ 29.8p 14%, 28-02 21:00:00 - 28-02 22:00:00 @ 28.8p 14% ]
2024-02-28 01:10:10.903523 INFO pred_bat: Second pass optimisation started
2024-02-28 01:10:11.020920 INFO pred_bat: Final optimisation type c window 0 metric 366.95142646864423 metric_keep 0 cost 348.86
2024-02-28 01:10:12.645085 INFO pred_bat: Final optimisation type c window 8 metric 366.95142646864423 metric_keep 0 cost 348.86
2024-02-28 01:10:14.266961 INFO pred_bat: Final optimisation type c window 16 metric 366.95142646864423 metric_keep 0 cost 348.86
2024-02-28 01:10:14.835224 INFO pred_bat: Second pass optimisation finished metric 366.95142646864423 cost 348.86 metric_keep 0
2024-02-28 01:10:14.836279 INFO pred_bat: Tweak optimisation started
2024-02-28 01:10:15.796969 INFO pred_bat: Tweak optimisation finished metric 366.95 cost 348.86 metric_keep 0
2024-02-28 01:10:15.807182 INFO pred_bat: Discharge windows filtered [ 28-02 08:00:00 - 28-02 23:00:00 @ 38.5p 14%, 29-02 00:00:00 - 29-02 01:00:00 @ 23.9p 14% ]
2024-02-28 01:10:15.817266 INFO pred_bat: Filtered charge windows [ 28-02 02:00:00 - 28-02 08:00:00 @ 23.15p 100%, 29-02 02:00:00 - 29-02 08:00:00 @ 23.15p 100%, 29-02 10:00:00 - 01-03 02:00:00 @ 36.4p 100% ] reserve 1.4
2024-02-28 01:10:15.830580 INFO pred_bat: predict base end_record 02-29 02:00:00 final soc 1.4 kWh metric 430.9 p metric_keep 0 min_soc 1.4 @ 02-28 01:35:00 kWh load 19.26 pv 8.36
2024-02-28 01:10:15.832096 INFO pred_bat:          [  01:10,   02:10,   03:10,   04:10,   05:10,   06:10,   07:10,   08:10,   09:10,   10:10,   11:10,   12:10,   13:10,   14:10,   15:10,   16:10,   17:10,   18:10,   19:10,   20:10,   21:10,   22:10,   23:10,   00:10,   01:10]
2024-02-28 01:10:15.833550 INFO pred_bat:     SOC: [    0.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,    1.52,     1.4,    1.42,     1.4,    1.43,    1.45,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4]
2024-02-28 01:10:15.834961 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<be-,   g<be-,   g~be~,   g~be~]
2024-02-28 01:10:15.836417 INFO pred_bat:    LOAD: [    0.0,     2.1,    2.12,    2.13,    2.15,    2.17,    2.18,     2.2,    3.37,    5.03,    6.31,    7.78,     9.1,   10.38,   12.48,   14.16,   15.68,   17.11,   18.05,    18.2,   18.35,   18.68,   18.81,    18.9,   19.05]
2024-02-28 01:10:15.837934 INFO pred_bat:      PV: [    0.0,     0.0,     0.0,     0.0,     0.0,     0.0,    0.01,    0.14,    0.63,    1.55,    2.77,    4.18,    5.58,    6.84,    7.79,    8.24,    8.36,    8.36,    8.36,    8.36,    8.36,    8.36,    8.36,    8.36,    8.36]
2024-02-28 01:10:15.839408 INFO pred_bat:  IMPORT: [   3.55,    5.79,    5.81,    5.82,    5.84,    5.86,    5.87,    5.87,    6.47,    7.27,    7.39,    7.56,    7.58,    7.62,    8.82,   10.07,   11.48,    12.9,   13.84,   13.99,   14.14,   14.47,    14.6,   14.69,   14.84]
2024-02-28 01:10:15.840890 INFO pred_bat:  EXPORT: [    0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0]
2024-02-28 01:10:15.842410 INFO pred_bat:  METRIC: [  84.74,  137.26,  137.64,  138.03,  138.43,  138.87,  139.28,  139.28,  162.26,  193.09,  197.21,  203.17,  203.83,  205.02,  241.52,   280.2,  324.41,  369.59,  399.06,   403.5,   408.0,  416.95,  420.25,  422.46,  426.04]
2024-02-28 01:10:15.962036 INFO pred_bat: Battery has 0.42 hours left - now at 0.4
2024-02-28 01:10:15.997162 INFO pred_bat: predict base10 end_record 02-29 02:00:00 final soc 1.4 kWh metric 711.84 p metric_keep 0 min_soc 1.4 @ 02-28 01:35:00 kWh load 21.15 pv 1.33
2024-02-28 01:10:15.998710 INFO pred_bat:          [  01:10,   02:10,   03:10,   04:10,   05:10,   06:10,   07:10,   08:10,   09:10,   10:10,   11:10,   12:10,   13:10,   14:10,   15:10,   16:10,   17:10,   18:10,   19:10,   20:10,   21:10,   22:10,   23:10,   00:10,   01:10]
2024-02-28 01:10:16.000173 INFO pred_bat:     SOC: [    0.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,    1.41,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4]
2024-02-28 01:10:16.001586 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<be-,   g<be-,   g~be~,   g~be~]
2024-02-28 01:10:16.003060 INFO pred_bat:    LOAD: [    0.0,    2.31,    2.33,    2.35,    2.37,    2.38,     2.4,    2.42,     3.7,    5.54,    6.94,    8.56,   10.01,   11.42,   13.73,   15.57,   17.25,   18.82,   19.86,   20.02,   20.19,   20.55,   20.69,   20.79,   20.94]
2024-02-28 01:10:16.004527 INFO pred_bat:      PV: [    0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,    0.03,    0.12,    0.27,    0.45,    0.65,    0.85,    1.04,    1.21,     1.3,    1.33,    1.33,    1.33,    1.33,    1.33,    1.33,    1.33,    1.33,    1.33]
2024-02-28 01:10:16.006017 INFO pred_bat:  IMPORT: [   3.55,     6.0,    6.02,    6.04,    6.05,    6.07,    6.09,    6.09,    7.27,    8.97,   10.21,   11.64,    12.9,   14.13,   16.28,   18.03,   19.68,   21.25,   22.28,   22.45,   22.62,   22.98,   23.12,   23.22,   23.37]
2024-02-28 01:10:16.007498 INFO pred_bat:  EXPORT: [    0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0]
2024-02-28 01:10:16.009066 INFO pred_bat:  METRIC: [  84.74,  142.18,   142.6,  143.03,  143.47,  143.96,  144.48,  144.62,   190.0,  254.57,  299.25,  348.03,  387.15,  424.01,  489.32,  543.59,   595.4,  645.24,  677.66,  682.54,  687.49,  697.34,  700.97,  703.39,  706.97]
2024-02-28 01:10:16.147407 INFO pred_bat: predict best10 end_record 02-29 02:00:00 final soc 1.4 kWh metric 661.05 p metric_keep 0 min_soc 1.4 @ 02-28 10:45:00 kWh load 21.15 pv 1.33
2024-02-28 01:10:16.148955 INFO pred_bat:          [  01:10,   02:10,   03:10,   04:10,   05:10,   06:10,   07:10,   08:10,   09:10,   10:10,   11:10,   12:10,   13:10,   14:10,   15:10,   16:10,   17:10,   18:10,   19:10,   20:10,   21:10,   22:10,   23:10,   00:10,   01:10]
2024-02-28 01:10:16.150424 INFO pred_bat:     SOC: [    0.4,    1.66,    3.22,    4.67,    6.13,    7.58,    9.04,    9.49,    6.46,    3.42,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4]
2024-02-28 01:10:16.151861 INFO pred_bat:   STATE: [  g<be-,   g<bf+,   g<bf+,   g<bf+,   g<bf+,   g<bf+,   g<bf+,   g>bf-,   g>bf-,   g>bf-,   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~]
2024-02-28 01:10:16.153937 INFO pred_bat:    LOAD: [    0.0,    2.31,    2.33,    2.35,    2.37,    2.38,     2.4,    2.42,     3.7,    5.54,    6.94,    8.56,   10.01,   11.42,   13.73,   15.57,   17.25,   18.82,   19.86,   20.02,   20.19,   20.55,   20.69,   20.79,   20.94]
2024-02-28 01:10:16.155793 INFO pred_bat:      PV: [    0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,    0.03,    0.12,    0.27,    0.45,    0.65,    0.85,    1.04,    1.21,     1.3,    1.33,    1.33,    1.33,    1.33,    1.33,    1.33,    1.33,    1.33,    1.33]
2024-02-28 01:10:16.157333 INFO pred_bat:  IMPORT: [   3.55,    6.28,    7.99,    9.59,   11.19,   12.78,   14.38,   15.42,   15.42,   15.43,    15.9,   17.33,   18.59,   19.82,   21.98,   23.73,   25.38,   26.95,   27.98,   28.15,   28.31,   28.67,   28.81,   28.92,   29.07]
2024-02-28 01:10:16.158836 INFO pred_bat:  EXPORT: [    0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,    0.47,    2.08,     3.2,    4.29,    4.29,    4.29,    4.29,    4.29,    4.29,    4.29,    4.29,    4.29,    4.29,    4.29,    4.29,    4.29,    4.29,    4.29]
2024-02-28 01:10:16.160370 INFO pred_bat:  METRIC: [  84.74,  148.77,  188.22,  225.57,   264.8,  307.15,  356.07,  375.12,  313.29,  271.51,  248.46,  297.24,  336.37,  373.22,  438.53,   492.8,  544.61,  594.45,  626.87,  631.76,  636.71,  646.55,  650.18,  652.61,  656.19]
2024-02-28 01:10:16.292390 INFO pred_bat: predict best end_record 02-29 02:00:00 final soc 1.4 kWh metric 379.31 p metric_keep 0 min_soc 1.4 @ 02-28 10:45:00 kWh load 19.26 pv 8.36
2024-02-28 01:10:16.293940 INFO pred_bat:          [  01:10,   02:10,   03:10,   04:10,   05:10,   06:10,   07:10,   08:10,   09:10,   10:10,   11:10,   12:10,   13:10,   14:10,   15:10,   16:10,   17:10,   18:10,   19:10,   20:10,   21:10,   22:10,   23:10,   00:10,   01:10]
2024-02-28 01:10:16.295432 INFO pred_bat:     SOC: [    0.4,    1.66,    3.22,    4.67,    6.13,    7.58,    9.04,    9.49,    6.46,    3.42,     1.4,    1.43,    1.45,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4]
2024-02-28 01:10:16.296868 INFO pred_bat:   STATE: [  g<be-,   g<bf+,   g<bf+,   g<bf+,   g<bf+,   g<bf+,   g<bf+,   g>bf-,   g>bf-,   g>bf-,   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~]
2024-02-28 01:10:16.298349 INFO pred_bat:    LOAD: [    0.0,     2.1,    2.12,    2.13,    2.15,    2.17,    2.18,     2.2,    3.37,    5.03,    6.31,    7.78,     9.1,   10.38,   12.48,   14.16,   15.68,   17.11,   18.05,    18.2,   18.35,   18.68,   18.81,    18.9,   19.05]
2024-02-28 01:10:16.299842 INFO pred_bat:      PV: [    0.0,     0.0,     0.0,     0.0,     0.0,     0.0,    0.01,    0.14,    0.63,    1.55,    2.77,    4.18,    5.58,    6.84,    7.79,    8.24,    8.36,    8.36,    8.36,    8.36,    8.36,    8.36,    8.36,    8.36,    8.36]
2024-02-28 01:10:16.301350 INFO pred_bat:  IMPORT: [   3.55,    6.07,    7.78,    9.38,   10.97,   12.57,   14.16,   15.14,   15.14,   15.14,   15.18,   15.36,   15.38,   15.42,   16.62,   17.87,   19.27,    20.7,   21.64,   21.79,   21.94,   22.27,   22.39,   22.49,   22.64]
2024-02-28 01:10:16.302869 INFO pred_bat:  EXPORT: [    0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,    0.52,    2.62,    4.63,    6.42,    6.42,    6.42,    6.42,    6.42,    6.42,    6.42,    6.42,    6.42,    6.42,    6.42,    6.42,    6.42,    6.42,    6.42]
2024-02-28 01:10:16.304409 INFO pred_bat:  METRIC: [  84.74,  143.84,  183.26,  220.56,  259.76,  302.07,  350.78,  365.78,  285.28,  208.98,  145.62,  151.58,  152.24,  153.43,  189.93,  228.61,  272.82,   318.0,  347.47,  351.91,  356.41,  365.36,  368.66,  370.87,  374.44]
2024-02-28 01:10:16.463855 INFO pred_bat: Evaluate trigger {'name': 'large', 'minutes': 60, 'energy': 1.0} results off total_energy 0
2024-02-28 01:10:16.471034 INFO pred_bat: Evaluate trigger {'name': 'small', 'minutes': 15, 'energy': 0.25} results off total_energy 0
2024-02-28 01:10:16.477331 INFO pred_bat: Best charging limit socs [10.0, 10.0, 10.0] export [14, 14] gives import battery 30.25 house 9.65 export 7.43 metric 379.31 metric10 661.05
2024-02-28 01:10:16.538161 INFO pred_bat: Reserve min: 14.0% Battery_min:14.0%
2024-02-28 01:10:16.539566 INFO pred_bat: Inverter 0 with soc_max 10.0 kWh nominal_capacity 10.0 kWh battery rate raw 3500.0 w charge rate 3.5 kW discharge rate 3.5 kW battery_rate_min 0.0 w ac limit 10.0 kW export limit 10.0 kW reserve 14.0 % current_reserve 14.0 %
2024-02-28 01:10:16.544518 INFO pred_bat: Inverter 0 SOC: 0.4 kW 4 % Current charge rate 4500.0 w Current discharge rate 2800.0 w Current power 0.0 w Current voltage 52.0
2024-02-28 01:10:16.545646 INFO pred_bat: Inverter 0 scheduled charge enable is False
2024-02-28 01:10:16.546759 INFO pred_bat: Inverter 0 charge windows currently []
2024-02-28 01:10:16.547902 INFO pred_bat: Inverter 0 Charge settings: timed charged is disabled, power 4.5 kW
2024-02-28 01:10:16.550085 INFO pred_bat: Inverter 0 scheduled discharge enable is False
2024-02-28 01:10:16.551340 INFO pred_bat: Inverter 0 discharge windows currently [{'start': 0, 'end': 0, 'average': 0}, {'start': 1440, 'end': 1440, 'average': 0}]
2024-02-28 01:10:16.552158 INFO pred_bat: Note: Inverter does not support discharge freeze - disabled
2024-02-28 01:10:16.552972 INFO pred_bat: Note: Inverter does not support charge freeze - disabled
2024-02-28 01:10:16.553790 INFO pred_bat: Note: Inverter does not support reserve - disabling reserve functions
2024-02-28 01:10:16.554739 INFO pred_bat: Found 1 inverters totals: min reserve 1.4 current reserve 1.4 soc_max 10.0 soc 0.4 charge rate 4.5 kW discharge rate 2.8000000000000003 kW battery_rate_min 0.0 w ac limit 10.0 export limit 10.0 kW loss charge 3 % loss discharge 3 % inverter loss 5 %
2024-02-28 01:10:16.579271 INFO pred_bat: Base charge    window [  ]
2024-02-28 01:10:16.580326 INFO pred_bat: Base discharge window [ 28-02 00:00:00 - 28-02 00:00:00 @ 0p 100.0%, 29-02 00:00:00 - 29-02 00:00:00 @ 0p 100.0% ]
2024-02-28 01:10:16.581223 INFO pred_bat: Charge window will be: 2024-02-28 02:00:00+01:00 - 2024-02-28 08:00:00+01:00 - current soc 4 target 100
2024-02-28 01:10:16.582788 INFO pred_bat: Not setting charging window yet as not within the window (now 02-28 01:10:00 target set_window_minutes 30 charge start time 02-28 02:00:00
2024-02-28 01:10:16.583882 INFO pred_bat: Next discharge window will be: 2024-02-28 08:00:00+01:00 - 2024-02-28 23:01:00+01:00 at reserve 14
2024-02-28 01:10:16.585080 INFO pred_bat: Setting ECO mode as we are not yet within the discharge window - next time is 02-28 08:00:00 - 02-28 23:00:00
2024-02-28 01:10:16.587729 INFO pred_bat: Inverter 0 Adjust force discharge to False, change times from 00:00:00 - 00:00:00 to 00:00:00 - 00:00:00
2024-02-28 01:10:16.589058 INFO pred_bat: Inverter 0 Stop charge via Service huawei_solar/stop_forcible_charge
2024-02-28 01:10:16.590362 INFO pred_bat: Call service huawei_solar/stop_forcible_charge device_id 6893ee838a0972bd3e50d9e0faa0ba5a
2024-02-28 01:10:16.593380 INFO pred_bat: Current SOC 4% is greater than Target SOC 0. Grid Charge disabled.
2024-02-28 01:10:16.605120 INFO pred_bat: Completed run status Idle
2024-02-28 01:15:00.017301 INFO pred_bat: --------------- PredBat - update at 2024-02-28 01:15:00.011472+01:00 with clock skew 0 minutes, minutes now 75
2024-02-28 01:15:00.042240 INFO pred_bat: Using cached GITHub data for https://api.github.com/repos/springfall2008/batpred/releases age 70.0 minutes
2024-02-28 01:15:00.046728 INFO pred_bat: Predbat /config/apps/predbat.py version v7.16.2 currently running, latest version is v7.16.2 latest beta v7.16.2
2024-02-28 01:15:00.048312 INFO pred_bat: Autoupdate: Currently up to date
2024-02-28 01:15:00.062260 INFO pred_bat: Inverter type HU forecast_hours 48 max_windows 48 num_cars 0 debug enable is False calculate_plan_every 5
2024-02-28 01:15:00.063491 INFO pred_bat: WARN: Using experimental inverter type HU - not all features are available
2024-02-28 01:15:00.064669 INFO pred_bat: Predbat mode is set to Control charge & discharge
2024-02-28 01:15:00.411835 INFO pred_bat: Found 15841 load_today datapoints going back 11 days
2024-02-28 01:15:02.675032 INFO pred_bat: Car charging hold False threshold 6.0
2024-02-28 01:15:02.675961 INFO pred_bat: Current data so far today: load 0.0 kWh import 3.68 kWh export 0.0 kWh pv 0.0 kWh
2024-02-28 01:15:02.676876 INFO pred_bat: Fetching futurerate data from None
2024-02-28 01:15:02.682688 INFO pred_bat: Standing charge is set to 0.0 p
2024-02-28 01:15:03.041373 INFO pred_bat: Rate min forward looking: now 23.1 at end of forecast 23.1
2024-02-28 01:15:03.043690 INFO pred_bat: Import rates min 23.1 max 38.5 average 29.64
2024-02-28 01:15:03.054077 INFO pred_bat: Export rates min 23.1 max 38.5 average 29.64
2024-02-28 01:15:03.056357 INFO pred_bat: Rate thresholds (for charge/discharge) are import 38.0p (0.0) export 23.6p (0.0)
2024-02-28 01:15:03.063743 INFO pred_bat: High export rate found rates in range 23.9 to 38.5
2024-02-28 01:15:03.071129 INFO pred_bat: Low Import rate found rates in range 23.1 to 36.4
2024-02-28 01:15:03.093296 INFO pred_bat: Todays energy import 3.68 kWh export 0.0 kWh cost 87.8 p import 87.8 p export 0.0 p
2024-02-28 01:15:03.096494 INFO pred_bat: PV Data for pv_forecast_today total 8.36 kWh
2024-02-28 01:15:03.099532 INFO pred_bat: PV Data for pv_forecast_tomorrow total 5.72 kWh
2024-02-28 01:15:03.102682 INFO pred_bat: PV Data for pv_forecast_d3 total 3.09 kWh
2024-02-28 01:15:03.105827 INFO pred_bat: PV Data for pv_forecast_d4 total 4.64 kWh
2024-02-28 01:15:03.116800 INFO pred_bat: Historical data totals for days [10] are [18.45] - min 18.45
2024-02-28 01:15:03.118537 INFO pred_bat: WARN: Historical day 10 has 210 minutes of gap in the data, filled from 18.45 kWh to make new average 21.6 kWh (percent 85%)
2024-02-28 01:15:03.138693 INFO pred_bat: Historical days now [10] weight [1]
2024-02-28 01:15:03.146063 INFO pred_bat: Today's load divergence 100.0 % in-day adjustment 100.0 % damping 0.95x, Predicted so far 0 kWh with 0.0 kWh car excluded and 9.57 kWh import ignored and 0 forecast extra, Actual so far 0 kWh with 0.0 kWh car excluded and 0.0 kWh import ignored
2024-02-28 01:15:03.173715 INFO pred_bat: Reserve min: 14.0% Battery_min:14.0%
2024-02-28 01:15:03.175057 INFO pred_bat: Inverter 0 with soc_max 10.0 kWh nominal_capacity 10.0 kWh battery rate raw 3500.0 w charge rate 3.5 kW discharge rate 3.5 kW battery_rate_min 0.0 w ac limit 10.0 kW export limit 10.0 kW reserve 14.0 % current_reserve 14.0 %
2024-02-28 01:15:03.181474 INFO pred_bat: Inverter 0 SOC: 0.4 kW 4 % Current charge rate 4500.0 w Current discharge rate 2800.0 w Current power 0.0 w Current voltage 52.0
2024-02-28 01:15:03.182526 INFO pred_bat: Inverter 0 scheduled charge enable is False
2024-02-28 01:15:03.183652 INFO pred_bat: Inverter 0 charge windows currently []
2024-02-28 01:15:03.184770 INFO pred_bat: Inverter 0 Charge settings: timed charged is disabled, power 4.5 kW
2024-02-28 01:15:03.187772 INFO pred_bat: Inverter 0 scheduled discharge enable is False
2024-02-28 01:15:03.188995 INFO pred_bat: Inverter 0 discharge windows currently [{'start': 0, 'end': 0, 'average': 0}, {'start': 1440, 'end': 1440, 'average': 0}]
2024-02-28 01:15:03.189841 INFO pred_bat: Note: Inverter does not support discharge freeze - disabled
2024-02-28 01:15:03.190616 INFO pred_bat: Note: Inverter does not support charge freeze - disabled
2024-02-28 01:15:03.191387 INFO pred_bat: Note: Inverter does not support reserve - disabling reserve functions
2024-02-28 01:15:03.192291 INFO pred_bat: Found 1 inverters totals: min reserve 1.4 current reserve 1.4 soc_max 10.0 soc 0.4 charge rate 4.5 kW discharge rate 2.8000000000000003 kW battery_rate_min 0.0 w ac limit 10.0 export limit 10.0 kW loss charge 3 % loss discharge 3 % inverter loss 5 %
2024-02-28 01:15:03.216989 INFO pred_bat: Base charge    window [  ]
2024-02-28 01:15:03.217993 INFO pred_bat: Base discharge window [ 28-02 00:00:00 - 28-02 00:00:00 @ 0p 100.0%, 29-02 00:00:00 - 29-02 00:00:00 @ 0p 100.0% ]
2024-02-28 01:15:03.218690 INFO pred_bat: Plan was last updated on 2024-02-28 01:10:00.006412+01:00 and is now 5.0 minutes old
2024-02-28 01:15:03.219537 INFO pred_bat: Best charge    window [ 28-02 02:00:00 - 28-02 08:00:00 @ 23.15p 100%, 29-02 02:00:00 - 29-02 08:00:00 @ 23.15p 100%, 29-02 10:00:00 - 01-03 02:00:00 @ 36.4p 100% ]
2024-02-28 01:15:03.220376 INFO pred_bat: Best discharge window [ 28-02 08:00:00 - 28-02 23:00:00 @ 38.5p 14%, 29-02 00:00:00 - 29-02 01:00:00 @ 23.9p 14% ]
2024-02-28 01:15:03.230838 INFO pred_bat: Creating pool of 2 processes to match your CPU count
2024-02-28 01:15:03.261699 INFO pred_bat: predict base end_record 02-29 02:05:00 final soc 1.4 kWh metric 429.18 p metric_keep 0 min_soc 1.4 @ 02-28 01:40:00 kWh load 19.06 pv 8.36
2024-02-28 01:15:03.263430 INFO pred_bat:          [  01:15,   02:15,   03:15,   04:15,   05:15,   06:15,   07:15,   08:15,   09:15,   10:15,   11:15,   12:15,   13:15,   14:15,   15:15,   16:15,   17:15,   18:15,   19:15,   20:15,   21:15,   22:15,   23:15,   00:15,   01:15]
2024-02-28 01:15:03.264992 INFO pred_bat:     SOC: [    0.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,    1.51,     1.4,    1.41,     1.4,     1.4,    1.48,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4]
2024-02-28 01:15:03.266504 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<be-,   g<be-,   g~be~,   g~be~]
2024-02-28 01:15:03.268029 INFO pred_bat:    LOAD: [    0.0,     1.9,    1.92,    1.94,    1.95,    1.97,    1.99,    2.03,    3.33,    4.93,    6.23,    7.75,    8.98,   10.51,   12.52,   14.08,   15.61,   17.02,   17.85,    18.0,   18.15,    18.5,   18.61,    18.7,   18.85]
2024-02-28 01:15:03.269529 INFO pred_bat:      PV: [    0.0,     0.0,     0.0,     0.0,     0.0,     0.0,    0.01,    0.17,    0.69,    1.65,    2.89,     4.3,    5.69,    6.94,    7.84,    8.25,    8.36,    8.36,    8.36,    8.36,    8.36,    8.36,    8.36,    8.36,    8.36]
2024-02-28 01:15:03.271040 INFO pred_bat:  IMPORT: [   3.68,    5.72,    5.74,    5.75,    5.77,    5.79,     5.8,     5.8,     6.5,     7.2,    7.34,    7.51,    7.51,    7.79,    8.93,   10.11,   11.53,   12.94,   13.77,   13.92,   14.07,   14.42,   14.53,   14.62,   14.77]
2024-02-28 01:15:03.272546 INFO pred_bat:  EXPORT: [    0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0]
2024-02-28 01:15:03.274032 INFO pred_bat:  METRIC: [   87.8,  135.64,  136.03,  136.41,  136.82,  137.27,  137.63,  137.63,  164.62,  191.45,   196.2,  202.19,  202.19,  210.48,  245.44,  281.94,  326.72,  371.54,  397.42,  401.83,   406.3,  415.88,  418.74,  420.72,  424.28]
2024-02-28 01:15:03.450941 INFO pred_bat: Battery has 0.42 hours left - now at 0.4
2024-02-28 01:15:03.482024 INFO pred_bat: predict base10 end_record 02-29 02:05:00 final soc 1.4 kWh metric 709.64 p metric_keep 0 min_soc 1.4 @ 02-28 01:40:00 kWh load 20.93 pv 1.33
2024-02-28 01:15:03.483508 INFO pred_bat:          [  01:15,   02:15,   03:15,   04:15,   05:15,   06:15,   07:15,   08:15,   09:15,   10:15,   11:15,   12:15,   13:15,   14:15,   15:15,   16:15,   17:15,   18:15,   19:15,   20:15,   21:15,   22:15,   23:15,   00:15,   01:15]
2024-02-28 01:15:03.484928 INFO pred_bat:     SOC: [    0.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4]
2024-02-28 01:15:03.486314 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<be-,   g<be-,   g~be~,   g~be~]
2024-02-28 01:15:03.487758 INFO pred_bat:    LOAD: [    0.0,    2.09,    2.11,    2.13,    2.15,    2.17,    2.18,    2.23,    3.67,    5.43,    6.86,    8.53,    9.88,   11.56,   13.77,   15.49,   17.17,   18.73,   19.64,    19.8,   19.96,   20.35,   20.47,   20.57,   20.72]
2024-02-28 01:15:03.489197 INFO pred_bat:      PV: [    0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,    0.04,    0.14,    0.29,    0.46,    0.67,    0.86,    1.05,    1.22,     1.3,    1.33,    1.33,    1.33,    1.33,    1.33,    1.33,    1.33,    1.33,    1.33]
2024-02-28 01:15:03.490651 INFO pred_bat:  IMPORT: [   3.68,    5.91,    5.93,    5.95,    5.97,    5.98,     6.0,    6.01,    7.36,    8.98,   10.24,   11.71,   12.88,   14.38,   16.43,   18.08,   19.73,   21.29,   22.19,   22.36,   22.52,   22.91,   23.03,   23.13,   23.28]
2024-02-28 01:15:03.492131 INFO pred_bat:  EXPORT: [    0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0]
2024-02-28 01:15:03.493677 INFO pred_bat:  METRIC: [   87.8,   140.1,  140.52,  140.95,   141.4,  141.89,   142.4,  142.93,   194.5,   256.0,  301.37,  351.13,  387.33,  432.24,  494.82,  545.66,  597.67,  647.08,  675.54,  680.39,  685.31,  695.85,  698.99,  701.18,  704.74]
2024-02-28 01:15:03.646739 INFO pred_bat: predict best10 end_record 02-29 02:05:00 final soc 1.53 kWh metric 662.15 p metric_keep 0 min_soc 1.4 @ 02-28 10:45:00 kWh load 20.93 pv 1.33
2024-02-28 01:15:03.648271 INFO pred_bat:          [  01:15,   02:15,   03:15,   04:15,   05:15,   06:15,   07:15,   08:15,   09:15,   10:15,   11:15,   12:15,   13:15,   14:15,   15:15,   16:15,   17:15,   18:15,   19:15,   20:15,   21:15,   22:15,   23:15,   00:15,   01:15]
2024-02-28 01:15:03.649722 INFO pred_bat:     SOC: [    0.4,    1.79,    3.34,    4.79,    6.25,    7.71,    9.16,    9.24,     6.2,    3.16,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4]
2024-02-28 01:15:03.651547 INFO pred_bat:   STATE: [  g<be-,   g<bf+,   g<bf+,   g<bf+,   g<bf+,   g<bf+,   g<bf+,   g>bf-,   g>bf-,   g>bf-,   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~]
2024-02-28 01:15:03.653024 INFO pred_bat:    LOAD: [    0.0,    2.09,    2.11,    2.13,    2.15,    2.17,    2.18,    2.23,    3.67,    5.43,    6.86,    8.53,    9.88,   11.56,   13.77,   15.49,   17.17,   18.73,   19.64,    19.8,   19.96,   20.35,   20.47,   20.57,   20.72]
2024-02-28 01:15:03.654524 INFO pred_bat:      PV: [    0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,    0.04,    0.14,    0.29,    0.46,    0.67,    0.86,    1.05,    1.22,     1.3,    1.33,    1.33,    1.33,    1.33,    1.33,    1.33,    1.33,    1.33,    1.33]
2024-02-28 01:15:03.656025 INFO pred_bat:  IMPORT: [   3.68,    6.34,    8.03,    9.63,   11.23,   12.83,   14.42,   15.33,   15.33,   15.34,   15.94,   17.41,   18.58,   20.08,   22.13,   23.77,   25.43,   26.98,   27.89,   28.06,   28.22,   28.61,   28.73,   28.82,   28.97]
2024-02-28 01:15:03.657514 INFO pred_bat:  EXPORT: [    0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,    0.68,    2.14,    3.33,    4.29,    4.29,    4.29,    4.29,    4.29,    4.29,    4.29,    4.29,    4.29,    4.29,    4.29,    4.29,    4.29,    4.29,    4.29]
2024-02-28 01:15:03.659047 INFO pred_bat:  METRIC: [   87.8,  149.98,  189.19,  226.69,  266.13,  308.98,  358.71,  364.94,  308.85,  264.44,  250.58,  300.34,  336.55,  381.45,  444.03,  494.87,  546.88,   596.3,  624.76,  629.61,  634.53,  645.06,  648.21,  650.39,  653.95]
2024-02-28 01:15:03.799562 INFO pred_bat: predict best end_record 02-29 02:05:00 final soc 1.53 kWh metric 380.89 p metric_keep 0 min_soc 1.4 @ 02-28 10:45:00 kWh load 19.06 pv 8.36
2024-02-28 01:15:03.801368 INFO pred_bat:          [  01:15,   02:15,   03:15,   04:15,   05:15,   06:15,   07:15,   08:15,   09:15,   10:15,   11:15,   12:15,   13:15,   14:15,   15:15,   16:15,   17:15,   18:15,   19:15,   20:15,   21:15,   22:15,   23:15,   00:15,   01:15]
2024-02-28 01:15:03.802949 INFO pred_bat:     SOC: [    0.4,    1.79,    3.34,    4.79,    6.25,    7.71,    9.16,    9.24,     6.2,    3.16,     1.4,     1.4,    1.48,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4]
2024-02-28 01:15:03.804573 INFO pred_bat:   STATE: [  g<be-,   g<bf+,   g<bf+,   g<bf+,   g<bf+,   g<bf+,   g<bf+,   g>bf-,   g>bf-,   g>bf-,   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~]
2024-02-28 01:15:03.806194 INFO pred_bat:    LOAD: [    0.0,     1.9,    1.92,    1.94,    1.95,    1.97,    1.99,    2.03,    3.33,    4.93,    6.23,    7.75,    8.98,   10.51,   12.52,   14.08,   15.61,   17.02,   17.85,    18.0,   18.15,    18.5,   18.61,    18.7,   18.85]
2024-02-28 01:15:03.807824 INFO pred_bat:      PV: [    0.0,     0.0,     0.0,     0.0,     0.0,     0.0,    0.01,    0.17,    0.69,    1.65,    2.89,     4.3,    5.69,    6.94,    7.84,    8.25,    8.36,    8.36,    8.36,    8.36,    8.36,    8.36,    8.36,    8.36,    8.36]
2024-02-28 01:15:03.809418 INFO pred_bat:  IMPORT: [   3.68,    6.15,    7.84,    9.44,   11.03,   12.63,   14.22,   15.07,   15.07,   15.07,   15.13,   15.31,   15.31,   15.58,   16.73,    17.9,   19.33,   20.74,   21.57,   21.72,   21.87,   22.22,   22.33,   22.42,   22.57]
2024-02-28 01:15:03.811164 INFO pred_bat:  EXPORT: [    0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,    0.75,    2.75,    4.85,    6.42,    6.42,    6.42,    6.42,    6.42,    6.42,    6.42,    6.42,    6.42,    6.42,    6.42,    6.42,    6.42,    6.42,    6.42]
2024-02-28 01:15:03.813289 INFO pred_bat:  METRIC: [   87.8,  145.52,   184.7,  222.15,  261.56,  304.36,  353.82,  355.28,   278.7,  199.29,  144.61,   150.6,   150.6,  158.89,  193.85,  230.35,  275.13,  319.95,  345.83,  350.24,   354.7,  364.28,  367.14,  369.13,  372.69]
2024-02-28 01:15:04.019499 INFO pred_bat: Evaluate trigger {'name': 'large', 'minutes': 60, 'energy': 1.0} results off total_energy 0
2024-02-28 01:15:04.027729 INFO pred_bat: Evaluate trigger {'name': 'small', 'minutes': 15, 'energy': 0.25} results off total_energy 0
2024-02-28 01:15:04.034221 INFO pred_bat: Best charging limit socs [10.0, 10.0, 10.0] export [14, 14] gives import battery 30.25 house 9.45 export 7.43 metric 380.89 metric10 662.15
2024-02-28 01:15:04.101938 INFO pred_bat: Export threshold used for optimisation was 28.6p
2024-02-28 01:15:04.143557 INFO pred_bat: High export rate windows [0: 02-28 04:00:00 - 02-28 05:00:00 @ 24.3, 1: 02-28 05:00:00 - 02-28 06:00:00 @ 25.9, 2: 02-28 06:00:00 - 02-28 07:00:00 @ 29.6, 3: 02-28 07:00:00 - 02-28 08:00:00 @ 35.9, 4: 02-28 08:00:00 - 02-28 09:00:00 @ 38.5, 5: 02-28 09:00:00 - 02-28 10:00:00 @ 38.3, 6: 02-28 10:00:00 - 02-28 11:00:00 @ 36.4, 7: 02-28 11:00:00 - 02-28 12:00:00 @ 34.6, 8: 02-28 12:00:00 - 02-28 13:00:00 @ 31.2, 9: 02-28 13:00:00 - 02-28 15:00:00 @ 30.05, 10: 02-28 15:00:00 - 02-28 17:00:00 @ 31.1, 11: 02-28 17:00:00 - 02-28 18:00:00 @ 31.9, 12: 02-28 18:00:00 - 02-28 19:00:00 @ 31.3, 13: 02-28 19:00:00 - 02-28 20:00:00 @ 29.4, 14: 02-28 20:00:00 - 02-28 21:00:00 @ 29.8, 15: 02-28 21:00:00 - 02-28 22:00:00 @ 28.8, 16: 02-28 22:00:00 - 02-28 23:00:00 @ 26.3, 17: 02-29 00:00:00 - 02-29 01:00:00 @ 23.9, 18: 02-29 04:00:00 - 02-29 05:00:00 @ 24.3, 19: 02-29 05:00:00 - 02-29 06:00:00 @ 25.9, 20: 02-29 06:00:00 - 02-29 07:00:00 @ 29.6, 21: 02-29 07:00:00 - 02-29 08:00:00 @ 35.9, 22: 02-29 08:00:00 - 02-29 09:00:00 @ 38.5, 23: 02-29 09:00:00 - 02-29 10:00:00 @ 38.3, 24: 02-29 10:00:00 - 02-29 11:00:00 @ 36.4, 25: 02-29 11:00:00 - 02-29 12:00:00 @ 34.6, 26: 02-29 12:00:00 - 02-29 13:00:00 @ 31.2, 27: 02-29 13:00:00 - 02-29 15:00:00 @ 30.05, 28: 02-29 15:00:00 - 02-29 17:00:00 @ 31.1, 29: 02-29 17:00:00 - 02-29 18:00:00 @ 31.9, 30: 02-29 18:00:00 - 02-29 19:00:00 @ 31.3, 31: 02-29 19:00:00 - 02-29 20:00:00 @ 29.4, 32: 02-29 20:00:00 - 02-29 21:00:00 @ 29.8, 33: 02-29 21:00:00 - 02-29 22:00:00 @ 28.8, 34: 02-29 22:00:00 - 02-29 23:00:00 @ 26.3, 35: 03-01 00:00:00 - 03-01 01:00:00 @ 23.9]
2024-02-28 01:15:04.149784 INFO pred_bat: Import threshold used for optimisation was 28.3p
2024-02-28 01:15:04.200766 INFO pred_bat: Low import rate windows [0: 02-28 00:00:00 - 02-28 02:00:00 @ 23.7, 1: 02-28 02:00:00 - 02-28 04:00:00 @ 23.15, 2: 02-28 04:00:00 - 02-28 05:00:00 @ 24.3, 3: 02-28 05:00:00 - 02-28 06:00:00 @ 25.9, 4: 02-28 06:00:00 - 02-28 07:00:00 @ 29.6, 5: 02-28 07:00:00 - 02-28 08:00:00 @ 35.9, 6: 02-28 10:00:00 - 02-28 11:00:00 @ 36.4, 7: 02-28 11:00:00 - 02-28 12:00:00 @ 34.6, 8: 02-28 12:00:00 - 02-28 13:00:00 @ 31.2, 9: 02-28 13:00:00 - 02-28 15:00:00 @ 30.05, 10: 02-28 15:00:00 - 02-28 17:00:00 @ 31.1, 11: 02-28 17:00:00 - 02-28 18:00:00 @ 31.9, 12: 02-28 18:00:00 - 02-28 19:00:00 @ 31.3, 13: 02-28 19:00:00 - 02-28 20:00:00 @ 29.4, 14: 02-28 20:00:00 - 02-28 21:00:00 @ 29.8, 15: 02-28 21:00:00 - 02-28 22:00:00 @ 28.8, 16: 02-28 22:00:00 - 02-28 23:00:00 @ 26.3, 17: 02-28 23:00:00 - 02-29 00:00:00 @ 23.1, 18: 02-29 00:00:00 - 02-29 02:00:00 @ 23.7, 19: 02-29 02:00:00 - 02-29 04:00:00 @ 23.15, 20: 02-29 04:00:00 - 02-29 05:00:00 @ 24.3, 21: 02-29 05:00:00 - 02-29 06:00:00 @ 25.9, 22: 02-29 06:00:00 - 02-29 07:00:00 @ 29.6, 23: 02-29 07:00:00 - 02-29 08:00:00 @ 35.9, 24: 02-29 10:00:00 - 02-29 11:00:00 @ 36.4, 25: 02-29 11:00:00 - 02-29 12:00:00 @ 34.6, 26: 02-29 12:00:00 - 02-29 13:00:00 @ 31.2, 27: 02-29 13:00:00 - 02-29 15:00:00 @ 30.05, 28: 02-29 15:00:00 - 02-29 17:00:00 @ 31.1, 29: 02-29 17:00:00 - 02-29 18:00:00 @ 31.9, 30: 02-29 18:00:00 - 02-29 19:00:00 @ 31.3, 31: 02-29 19:00:00 - 02-29 20:00:00 @ 29.4, 32: 02-29 20:00:00 - 02-29 21:00:00 @ 29.8, 33: 02-29 21:00:00 - 02-29 22:00:00 @ 28.8, 34: 02-29 22:00:00 - 02-29 23:00:00 @ 26.3, 35: 02-29 23:00:00 - 03-01 00:00:00 @ 23.1, 36: 03-01 00:00:00 - 03-01 02:00:00 @ 23.7]
2024-02-28 01:15:04.212541 INFO pred_bat: Charge window will be: 2024-02-28 02:00:00+01:00 - 2024-02-28 08:00:00+01:00 - current soc 4 target 100
2024-02-28 01:15:04.213546 INFO pred_bat: Not setting charging window yet as not within the window (now 02-28 01:15:00 target set_window_minutes 30 charge start time 02-28 02:00:00
2024-02-28 01:15:04.214618 INFO pred_bat: Next discharge window will be: 2024-02-28 08:00:00+01:00 - 2024-02-28 23:01:00+01:00 at reserve 14
2024-02-28 01:15:04.215918 INFO pred_bat: Setting ECO mode as we are not yet within the discharge window - next time is 02-28 08:00:00 - 02-28 23:00:00
2024-02-28 01:15:04.218281 INFO pred_bat: Inverter 0 Adjust force discharge to False, change times from 00:00:00 - 00:00:00 to 00:00:00 - 00:00:00
2024-02-28 01:15:04.219583 INFO pred_bat: Inverter 0 Stop charge via Service huawei_solar/stop_forcible_charge
2024-02-28 01:15:04.220877 INFO pred_bat: Call service huawei_solar/stop_forcible_charge device_id 6893ee838a0972bd3e50d9e0faa0ba5a
2024-02-28 01:15:04.223417 INFO pred_bat: Current SOC 4% is greater than Target SOC 0. Grid Charge disabled.
2024-02-28 01:15:04.236860 INFO pred_bat: Will recompute the plan as it is now 5.0 minutes old and will exceed the max age of 5 minutes before the next run
2024-02-28 01:15:04.238638 INFO pred_bat: Best charge    window [ 28-02 00:00:00 - 28-02 02:00:00 @ 23.7p 0.0%, 28-02 02:00:00 - 28-02 04:00:00 @ 23.15p 0.0%, 28-02 04:00:00 - 28-02 05:00:00 @ 24.3p 0.0%, 28-02 05:00:00 - 28-02 06:00:00 @ 25.9p 0.0%, 28-02 06:00:00 - 28-02 07:00:00 @ 29.6p 0.0%, 28-02 07:00:00 - 28-02 08:00:00 @ 35.9p 0.0%, 28-02 10:00:00 - 28-02 11:00:00 @ 36.4p 0.0%, 28-02 11:00:00 - 28-02 12:00:00 @ 34.6p 0.0%, 28-02 12:00:00 - 28-02 13:00:00 @ 31.2p 0.0%, 28-02 13:00:00 - 28-02 15:00:00 @ 30.05p 0.0%, 28-02 15:00:00 - 28-02 17:00:00 @ 31.1p 0.0%, 28-02 17:00:00 - 28-02 18:00:00 @ 31.9p 0.0%, 28-02 18:00:00 - 28-02 19:00:00 @ 31.3p 0.0%, 28-02 19:00:00 - 28-02 20:00:00 @ 29.4p 0.0%, 28-02 20:00:00 - 28-02 21:00:00 @ 29.8p 0.0%, 28-02 21:00:00 - 28-02 22:00:00 @ 28.8p 0.0%, 28-02 22:00:00 - 28-02 23:00:00 @ 26.3p 0.0%, 28-02 23:00:00 - 29-02 00:00:00 @ 23.1p 0.0%, 29-02 00:00:00 - 29-02 02:00:00 @ 23.7p 0.0%, 29-02 02:00:00 - 29-02 04:00:00 @ 23.15p 0.0%, 29-02 04:00:00 - 29-02 05:00:00 @ 24.3p 0.0%, 29-02 05:00:00 - 29-02 06:00:00 @ 25.9p 0.0%, 29-02 06:00:00 - 29-02 07:00:00 @ 29.6p 0.0%, 29-02 07:00:00 - 29-02 08:00:00 @ 35.9p 0.0%, 29-02 10:00:00 - 29-02 11:00:00 @ 36.4p 0.0%, 29-02 11:00:00 - 29-02 12:00:00 @ 34.6p 0.0%, 29-02 12:00:00 - 29-02 13:00:00 @ 31.2p 0.0%, 29-02 13:00:00 - 29-02 15:00:00 @ 30.05p 0.0%, 29-02 15:00:00 - 29-02 17:00:00 @ 31.1p 0.0%, 29-02 17:00:00 - 29-02 18:00:00 @ 31.9p 0.0%, 29-02 18:00:00 - 29-02 19:00:00 @ 31.3p 0.0%, 29-02 19:00:00 - 29-02 20:00:00 @ 29.4p 0.0%, 29-02 20:00:00 - 29-02 21:00:00 @ 29.8p 0.0%, 29-02 21:00:00 - 29-02 22:00:00 @ 28.8p 0.0%, 29-02 22:00:00 - 29-02 23:00:00 @ 26.3p 0.0%, 29-02 23:00:00 - 01-03 00:00:00 @ 23.1p 0.0%, 01-03 00:00:00 - 01-03 02:00:00 @ 23.7p 0.0% ]
2024-02-28 01:15:04.240079 INFO pred_bat: Best discharge window [ 28-02 04:00:00 - 28-02 05:00:00 @ 24.3p 100.0%, 28-02 05:00:00 - 28-02 06:00:00 @ 25.9p 100.0%, 28-02 06:00:00 - 28-02 07:00:00 @ 29.6p 100.0%, 28-02 07:00:00 - 28-02 08:00:00 @ 35.9p 100.0%, 28-02 08:00:00 - 28-02 09:00:00 @ 38.5p 100.0%, 28-02 09:00:00 - 28-02 10:00:00 @ 38.3p 100.0%, 28-02 10:00:00 - 28-02 11:00:00 @ 36.4p 100.0%, 28-02 11:00:00 - 28-02 12:00:00 @ 34.6p 100.0%, 28-02 12:00:00 - 28-02 13:00:00 @ 31.2p 100.0%, 28-02 13:00:00 - 28-02 15:00:00 @ 30.05p 100.0%, 28-02 15:00:00 - 28-02 17:00:00 @ 31.1p 100.0%, 28-02 17:00:00 - 28-02 18:00:00 @ 31.9p 100.0%, 28-02 18:00:00 - 28-02 19:00:00 @ 31.3p 100.0%, 28-02 19:00:00 - 28-02 20:00:00 @ 29.4p 100.0%, 28-02 20:00:00 - 28-02 21:00:00 @ 29.8p 100.0%, 28-02 21:00:00 - 28-02 22:00:00 @ 28.8p 100.0%, 28-02 22:00:00 - 28-02 23:00:00 @ 26.3p 100.0%, 29-02 00:00:00 - 29-02 01:00:00 @ 23.9p 100.0%, 29-02 04:00:00 - 29-02 05:00:00 @ 24.3p 100.0%, 29-02 05:00:00 - 29-02 06:00:00 @ 25.9p 100.0%, 29-02 06:00:00 - 29-02 07:00:00 @ 29.6p 100.0%, 29-02 07:00:00 - 29-02 08:00:00 @ 35.9p 100.0%, 29-02 08:00:00 - 29-02 09:00:00 @ 38.5p 100.0%, 29-02 09:00:00 - 29-02 10:00:00 @ 38.3p 100.0%, 29-02 10:00:00 - 29-02 11:00:00 @ 36.4p 100.0%, 29-02 11:00:00 - 29-02 12:00:00 @ 34.6p 100.0%, 29-02 12:00:00 - 29-02 13:00:00 @ 31.2p 100.0%, 29-02 13:00:00 - 29-02 15:00:00 @ 30.05p 100.0%, 29-02 15:00:00 - 29-02 17:00:00 @ 31.1p 100.0%, 29-02 17:00:00 - 29-02 18:00:00 @ 31.9p 100.0%, 29-02 18:00:00 - 29-02 19:00:00 @ 31.3p 100.0%, 29-02 19:00:00 - 29-02 20:00:00 @ 29.4p 100.0%, 29-02 20:00:00 - 29-02 21:00:00 @ 29.8p 100.0%, 29-02 21:00:00 - 29-02 22:00:00 @ 28.8p 100.0%, 29-02 22:00:00 - 29-02 23:00:00 @ 26.3p 100.0%, 01-03 00:00:00 - 01-03 01:00:00 @ 23.9p 100.0% ]
2024-02-28 01:15:04.249978 INFO pred_bat: Creating pool of 2 processes to match your CPU count
2024-02-28 01:15:04.267855 INFO pred_bat: Calculate Best options: mode(Control charge & discharge) calculate_discharge_oncharge(True) set_discharge_freeze_only(False) set_discharge_during_charge(False) combine_charge_slots(True) combine_discharge_slots(True) best_soc_min(0.0 kWh) best_soc_max(0.0 kWh) best_soc_keep(0.1 kWh) inverter_loss(5 %) battery_loss(3 %) battery_loss_discharge (3 %) inverter_hybrid(True) metric_min_improvement(0.0 p) metric_min_improvement_discharge(0.0 p) metric_battery_cycle(0.2 p/kWh)metric_battery_value_scaling(0.8 x)
2024-02-28 01:15:04.269532 INFO pred_bat: Optimise all windows, total charge 36 discharge 36
2024-02-28 01:15:04.580545 INFO pred_bat: Optimise all charge for all bands best price threshold 28.5 charges at 28.3 at metric 617.66 keep 0 cost 705.27 soc_min 1.4 limits [10.0, 10.0, 10.0, 10.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10.0, 10.0, 10.0, 10.0, 10.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10.0, 0.0] discharge [100.0, 100.0, 100.0, 0, 0, 0, 0, 0, 0, 100.0, 100.0, 0, 0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 0, 0, 0, 0, 0, 0, 100.0, 100.0, 0, 0, 100.0, 100.0, 100.0, 100.0, 100.0]
2024-02-28 01:15:04.581744 INFO pred_bat: Calculated end_record as 02-29 02:00:00
2024-02-28 01:15:04.583249 INFO pred_bat: >> Region optimisation pass width 960
2024-02-28 01:15:04.757489 INFO pred_bat: Optimise all charge for all bands best price threshold 28.5 charges at 28.3 at metric 394.65 keep 0 cost 589.4 soc_min 1.4 limits [10.0, 10.0, 10.0, 10.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10.0, 10.0, 10.0, 10.0, 10.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10.0, 0.0] discharge [100.0, 100.0, 100.0, 0, 0, 0, 0, 0, 0, 100.0, 100.0, 0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0]
2024-02-28 01:15:04.864143 INFO pred_bat: Optimise all charge for all bands best price threshold 25.3 charges at 25.3 at metric 384.48 keep 0 cost 408.83 soc_min 1.4 limits [10.0, 10.0, 10.0, 10.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10.0, 10.0, 10.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10.0, 0.0] discharge [100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 0, 0, 0, 0, 0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0]
2024-02-28 01:15:04.865201 INFO pred_bat: >> Region optimisation pass width 480
2024-02-28 01:15:04.981995 INFO pred_bat: Optimise all charge for all bands best price threshold 32.8 charges at 32.3 at metric 346.12 keep 0 cost 370.47 soc_min 1.4 limits [10.0, 10.0, 10.0, 10.0, 10.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10.0, 10.0, 10.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10.0, 0.0] discharge [100.0, 100.0, 100.0, 0, 0, 0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0]
2024-02-28 01:15:05.084308 INFO pred_bat: Optimise all charge for all bands best price threshold 28.5 charges at 21.8 at metric 350.51 keep 0 cost 374.88 soc_min 1.4 limits [10.0, 10.0, 10.0, 10.0, 10.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10.0, 10.0, 10.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10.0, 0.0] discharge [100.0, 100.0, 100.0, 100.0, 100.0, 0, 0, 0, 0, 100.0, 100.0, 0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0]
2024-02-28 01:15:05.187948 INFO pred_bat: Optimise all charge for all bands best price threshold 25.3 charges at 21.8 at metric 384.4 keep 0 cost 408.75 soc_min 1.4 limits [10.0, 10.0, 10.0, 10.0, 10.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10.0, 10.0, 10.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10.0, 0.0] discharge [100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 0, 0, 0, 0, 0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0]
2024-02-28 01:15:05.253287 INFO pred_bat: Optimise all charge for all bands best price threshold 25.3 charges at 25.3 at metric 384.83 keep 0 cost 409.18 soc_min 1.4 limits [10.0, 10.0, 10.0, 10.0, 10.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10.0, 10.0, 10.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10.0, 0.0] discharge [100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0]
2024-02-28 01:15:05.254361 INFO pred_bat: >> Region optimisation pass width 240
2024-02-28 01:15:05.325667 INFO pred_bat: Optimise all charge for all bands best price threshold 26.3 charges at 25.3 at metric 374.75 keep 0 cost 398.96 soc_min 1.4 limits [0, 10.0, 0, 0, 10.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10.0, 10.0, 10.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10.0, 0.0] discharge [100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0]
2024-02-28 01:15:05.421054 INFO pred_bat: Optimise all charge for all bands best price threshold 32.8 charges at 32.3 at metric 328.57 keep 0 cost 352.79 soc_min 1.4 limits [0, 10.0, 0, 10.0, 10.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10.0, 10.0, 10.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10.0, 0.0] discharge [100.0, 100.0, 100.0, 0, 0, 0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0]
2024-02-28 01:15:05.509481 INFO pred_bat: Optimise all charge for all bands best price threshold 28.5 charges at 21.8 at metric 332.97 keep 0 cost 357.21 soc_min 1.4 limits [0, 10.0, 0, 10.0, 10.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10.0, 10.0, 10.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10.0, 0.0] discharge [100.0, 100.0, 100.0, 100.0, 100.0, 0, 0, 0, 0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0]
2024-02-28 01:15:05.586379 INFO pred_bat: Optimise all charge for all bands best price threshold 28.7 charges at 21.8 at metric 366.86 keep 0 cost 391.08 soc_min 1.4 limits [0, 10.0, 0, 10.0, 10.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10.0, 10.0, 10.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10.0, 0.0] discharge [100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0]
2024-02-28 01:15:05.751403 INFO pred_bat: Previous message repeated 1 times
2024-02-28 01:15:05.751569 INFO pred_bat: Optimise all charge for all bands best price threshold 25.3 charges at 21.8 at metric 367.29 keep 0 cost 391.51 soc_min 1.4 limits [0, 10.0, 0, 10.0, 10.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10.0, 10.0, 10.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10.0, 0.0] discharge [100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0]
2024-02-28 01:15:05.816325 INFO pred_bat: Optimise all charge for all bands best price threshold 25.3 charges at 25.3 at metric 367.29 keep 0 cost 391.51 soc_min 1.4 limits [0, 10.0, 0, 10.0, 10.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10.0, 10.0, 10.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10.0, 0.0] discharge [100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0]
2024-02-28 01:15:05.817548 INFO pred_bat: Calculated end_record as 02-29 02:00:00
2024-02-28 01:15:05.818901 INFO pred_bat: Starting second optimisation best_price 28.3 best_price_discharge 28.6 lowest_price_charge 25.3 with charge limits [0, 10.0, 0, 10.0, 10.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10.0, 10.0, 10.0, 10.0, 10.0, 10.0, 10.0, 10.0, 10.0, 10.0, 10.0, 10.0, 10.0, 10.0, 10.0, 10.0, 10.0, 10.0] based on
2024-02-28 01:15:05.820148 INFO pred_bat: Optimise price set 35.3 start_at_low False best_price 28.3 best_metric 367.29 best_cost 391.51
2024-02-28 01:15:05.957882 INFO pred_bat: Optimise price set 35.1 start_at_low False best_price 28.3 best_metric 390.97 best_cost 375.44
2024-02-28 01:15:06.073963 INFO pred_bat: Optimise price set 33.3 start_at_low False best_price 28.3 best_metric 379.63 best_cost 363.06
2024-02-28 01:15:06.194005 INFO pred_bat: Optimise price set 32.9 start_at_low False best_price 28.3 best_metric 368.39 best_cost 350.35
2024-02-28 01:15:06.317130 INFO pred_bat: Optimise price set 32.3 start_at_low False best_price 28.3 best_metric 368.39 best_cost 350.35
2024-02-28 01:15:06.348326 INFO pred_bat: Optimise price set 31.7 start_at_low False best_price 28.3 best_metric 368.38 best_cost 350.35
2024-02-28 01:15:06.482545 INFO pred_bat: Optimise price set 29.2 start_at_low False best_price 28.3 best_metric 368.39 best_cost 350.35
2024-02-28 01:15:06.604710 INFO pred_bat: Optimise price set 28.6 start_at_low False best_price 28.3 best_metric 368.39 best_cost 350.35
2024-02-28 01:15:06.840411 INFO pred_bat: Optimise price set 28.5 start_at_low False best_price 28.3 best_metric 368.39 best_cost 350.35
2024-02-28 01:15:07.109611 INFO pred_bat: Optimise price set 28.3 start_at_low False best_price 28.3 best_metric 368.39 best_cost 350.35
2024-02-28 01:15:07.206345 INFO pred_bat: Optimise price set 27.5 start_at_low False best_price 28.3 best_metric 368.38 best_cost 350.35
2024-02-28 01:15:07.443501 INFO pred_bat: Optimise price set 27.3 start_at_low False best_price 28.3 best_metric 368.39 best_cost 350.35
2024-02-28 01:15:07.558568 INFO pred_bat: Optimise price set 27.1 start_at_low False best_price 28.3 best_metric 368.39 best_cost 350.35
2024-02-28 01:15:07.687244 INFO pred_bat: Optimise price set 26.9 start_at_low False best_price 28.3 best_metric 368.39 best_cost 350.35
2024-02-28 01:15:07.801638 INFO pred_bat: Optimise price set 26.6 start_at_low False best_price 28.3 best_metric 368.39 best_cost 350.35
2024-02-28 01:15:07.917162 INFO pred_bat: Optimise price set 26.3 start_at_low False best_price 28.3 best_metric 365.12 best_cost 347.1
2024-02-28 01:15:08.042333 INFO pred_bat: Optimise price set 25.9 start_at_low False best_price 28.3 best_metric 365.13 best_cost 347.1
2024-02-28 01:15:08.483294 INFO pred_bat: Optimise price set 25.3 start_at_low False best_price 28.3 best_metric 365.12 best_cost 347.1
2024-02-28 01:15:09.166073 INFO pred_bat: Best charge windows best_metric 365.12 best_cost 347.1 metric_keep 0 end_record 02-29 02:00:00 windows [ 28-02 02:00:00 - 28-02 04:00:00 @ 23.15p 100%, 28-02 04:00:00 - 28-02 05:00:00 @ 24.3p 100%, 28-02 05:00:00 - 28-02 06:00:00 @ 25.9p 100%, 28-02 06:00:00 - 28-02 07:00:00 @ 29.6p 100%, 29-02 02:00:00 - 29-02 04:00:00 @ 23.15p 100%, 29-02 04:00:00 - 29-02 05:00:00 @ 24.3p 100%, 29-02 05:00:00 - 29-02 06:00:00 @ 25.9p 100%, 29-02 06:00:00 - 29-02 07:00:00 @ 29.6p 100%, 29-02 07:00:00 - 29-02 08:00:00 @ 35.9p 100%, 29-02 10:00:00 - 29-02 11:00:00 @ 36.4p 100%, 29-02 11:00:00 - 29-02 12:00:00 @ 34.6p 100%, 29-02 12:00:00 - 29-02 13:00:00 @ 31.2p 100%, 29-02 13:00:00 - 29-02 15:00:00 @ 30.05p 100%, 29-02 15:00:00 - 29-02 17:00:00 @ 31.1p 100%, 29-02 17:00:00 - 29-02 18:00:00 @ 31.9p 100%, 29-02 18:00:00 - 29-02 19:00:00 @ 31.3p 100%, 29-02 19:00:00 - 29-02 20:00:00 @ 29.4p 100%, 29-02 20:00:00 - 29-02 21:00:00 @ 29.8p 100%, 29-02 21:00:00 - 29-02 22:00:00 @ 28.8p 100%, 29-02 22:00:00 - 29-02 23:00:00 @ 26.3p 100%, 29-02 23:00:00 - 01-03 00:00:00 @ 23.1p 100%, 01-03 00:00:00 - 01-03 02:00:00 @ 23.7p 100% ]
2024-02-28 01:15:09.167648 INFO pred_bat: Best discharge windows best_metric 365.12 best_cost 347.1 metric_keep 0 end_record 02-29 02:00:00 windows [ 28-02 08:00:00 - 28-02 09:00:00 @ 38.5p 14%, 28-02 09:00:00 - 28-02 10:00:00 @ 38.3p 14%, 28-02 10:00:00 - 28-02 11:00:00 @ 36.4p 14%, 28-02 11:00:00 - 28-02 12:00:00 @ 34.6p 14%, 28-02 12:00:00 - 28-02 13:00:00 @ 31.2p 14%, 28-02 13:00:00 - 28-02 15:00:00 @ 30.05p 14%, 28-02 15:00:00 - 28-02 17:00:00 @ 31.1p 14%, 28-02 17:00:00 - 28-02 18:00:00 @ 31.9p 14%, 28-02 18:00:00 - 28-02 19:00:00 @ 31.3p 14%, 28-02 19:00:00 - 28-02 20:00:00 @ 29.4p 14%, 28-02 20:00:00 - 28-02 21:00:00 @ 29.8p 14%, 28-02 21:00:00 - 28-02 22:00:00 @ 28.8p 14% ]
2024-02-28 01:15:09.168824 INFO pred_bat: Optimise price set 25.3 start_at_low True best_price 28.3 best_metric 365.12 best_cost 347.1
2024-02-28 01:15:09.614195 INFO pred_bat: Optimise price set 25.9 start_at_low True best_price 28.3 best_metric 365.12 best_cost 347.1
2024-02-28 01:15:10.011955 INFO pred_bat: Optimise price set 26.3 start_at_low True best_price 28.3 best_metric 365.12 best_cost 347.1
2024-02-28 01:15:10.128140 INFO pred_bat: Optimise price set 26.6 start_at_low True best_price 28.3 best_metric 365.13 best_cost 347.1
2024-02-28 01:15:10.228694 INFO pred_bat: Optimise price set 26.9 start_at_low True best_price 28.3 best_metric 365.12 best_cost 347.1
2024-02-28 01:15:10.343096 INFO pred_bat: Optimise price set 27.3 start_at_low True best_price 28.3 best_metric 365.13 best_cost 347.1
2024-02-28 01:15:10.544827 INFO pred_bat: Optimise price set 27.5 start_at_low True best_price 28.3 best_metric 365.13 best_cost 347.1
2024-02-28 01:15:10.820452 INFO pred_bat: Optimise price set 28.3 start_at_low True best_price 28.3 best_metric 365.13 best_cost 347.1
2024-02-28 01:15:10.850661 INFO pred_bat: Optimise price set 28.7 start_at_low True best_price 28.3 best_metric 365.12 best_cost 347.1
2024-02-28 01:15:11.017278 INFO pred_bat: Optimise price set 31.4 start_at_low True best_price 28.3 best_metric 365.12 best_cost 347.1
2024-02-28 01:15:11.046475 INFO pred_bat: Optimise price set 32.1 start_at_low True best_price 28.3 best_metric 365.12 best_cost 347.1
2024-02-28 01:15:11.075538 INFO pred_bat: Optimise price set 32.3 start_at_low True best_price 28.3 best_metric 365.12 best_cost 347.1
2024-02-28 01:15:11.107818 INFO pred_bat: Optimise price set 32.5 start_at_low True best_price 28.3 best_metric 365.12 best_cost 347.1
2024-02-28 01:15:11.141318 INFO pred_bat: Optimise price set 32.8 start_at_low True best_price 28.3 best_metric 365.12 best_cost 347.1
2024-02-28 01:15:11.175796 INFO pred_bat: Optimise price set 34.0 start_at_low True best_price 28.3 best_metric 365.12 best_cost 347.1
2024-02-28 01:15:11.205606 INFO pred_bat: Optimise price set 34.1 start_at_low True best_price 28.3 best_metric 365.12 best_cost 347.1
2024-02-28 01:15:11.235119 INFO pred_bat: Optimise price set 34.2 start_at_low True best_price 28.3 best_metric 365.12 best_cost 347.1
2024-02-28 01:15:11.267172 INFO pred_bat: Optimise price set 34.8 start_at_low True best_price 28.3 best_metric 365.12 best_cost 347.1
2024-02-28 01:15:11.298567 INFO pred_bat: Optimise price set 37.8 start_at_low True best_price 28.3 best_metric 365.12 best_cost 347.1
2024-02-28 01:15:11.329988 INFO pred_bat: Optimise price set 39.2 start_at_low True best_price 28.3 best_metric 365.12 best_cost 347.1
2024-02-28 01:15:11.365276 INFO pred_bat: Optimise price set 39.7 start_at_low True best_price 28.3 best_metric 365.12 best_cost 347.1
2024-02-28 01:15:11.497336 INFO pred_bat: Best charge windows best_metric 365.12 best_cost 347.1 metric_keep 0 end_record 02-29 02:00:00 windows [ 28-02 02:00:00 - 28-02 04:00:00 @ 23.15p 100%, 28-02 04:00:00 - 28-02 05:00:00 @ 24.3p 100%, 28-02 05:00:00 - 28-02 06:00:00 @ 25.9p 100%, 28-02 06:00:00 - 28-02 07:00:00 @ 29.6p 100%, 28-02 07:00:00 - 28-02 08:00:00 @ 35.9p 100%, 29-02 02:00:00 - 29-02 04:00:00 @ 23.15p 100%, 29-02 04:00:00 - 29-02 05:00:00 @ 24.3p 100%, 29-02 05:00:00 - 29-02 06:00:00 @ 25.9p 100%, 29-02 06:00:00 - 29-02 07:00:00 @ 29.6p 100%, 29-02 07:00:00 - 29-02 08:00:00 @ 35.9p 100%, 29-02 10:00:00 - 29-02 11:00:00 @ 36.4p 100%, 29-02 11:00:00 - 29-02 12:00:00 @ 34.6p 100%, 29-02 12:00:00 - 29-02 13:00:00 @ 31.2p 100%, 29-02 13:00:00 - 29-02 15:00:00 @ 30.05p 100%, 29-02 15:00:00 - 29-02 17:00:00 @ 31.1p 100%, 29-02 17:00:00 - 29-02 18:00:00 @ 31.9p 100%, 29-02 18:00:00 - 29-02 19:00:00 @ 31.3p 100%, 29-02 19:00:00 - 29-02 20:00:00 @ 29.4p 100%, 29-02 20:00:00 - 29-02 21:00:00 @ 29.8p 100%, 29-02 21:00:00 - 29-02 22:00:00 @ 28.8p 100%, 29-02 22:00:00 - 29-02 23:00:00 @ 26.3p 100%, 29-02 23:00:00 - 01-03 00:00:00 @ 23.1p 100%, 01-03 00:00:00 - 01-03 02:00:00 @ 23.7p 100% ]
2024-02-28 01:15:11.498958 INFO pred_bat: Best discharge windows best_metric 365.12 best_cost 347.1 metric_keep 0 end_record 02-29 02:00:00 windows [ 28-02 08:00:00 - 28-02 09:00:00 @ 38.5p 14%, 28-02 09:00:00 - 28-02 10:00:00 @ 38.3p 14%, 28-02 10:00:00 - 28-02 11:00:00 @ 36.4p 14%, 28-02 11:00:00 - 28-02 12:00:00 @ 34.6p 14%, 28-02 12:00:00 - 28-02 13:00:00 @ 31.2p 14%, 28-02 13:00:00 - 28-02 15:00:00 @ 30.05p 14%, 28-02 15:00:00 - 28-02 17:00:00 @ 31.1p 14%, 28-02 17:00:00 - 28-02 18:00:00 @ 31.9p 14%, 28-02 18:00:00 - 28-02 19:00:00 @ 31.3p 14%, 28-02 19:00:00 - 28-02 20:00:00 @ 29.4p 14%, 28-02 20:00:00 - 28-02 21:00:00 @ 29.8p 14%, 28-02 21:00:00 - 28-02 22:00:00 @ 28.8p 14% ]
2024-02-28 01:15:11.500302 INFO pred_bat: Second pass optimisation started
2024-02-28 01:15:11.592101 INFO pred_bat: Final optimisation type c window 0 metric 365.1215268026588 metric_keep 0 cost 347.1
2024-02-28 01:15:13.222742 INFO pred_bat: Final optimisation type c window 8 metric 365.1215268026588 metric_keep 0 cost 347.1
2024-02-28 01:15:14.811124 INFO pred_bat: Final optimisation type c window 16 metric 365.1215268026588 metric_keep 0 cost 347.1
2024-02-28 01:15:15.369773 INFO pred_bat: Second pass optimisation finished metric 365.1215268026588 cost 347.1 metric_keep 0
2024-02-28 01:15:15.370816 INFO pred_bat: Tweak optimisation started
2024-02-28 01:15:16.284059 INFO pred_bat: Tweak optimisation finished metric 365.12 cost 347.1 metric_keep 0
2024-02-28 01:15:16.295358 INFO pred_bat: Discharge windows filtered [ 28-02 08:00:00 - 28-02 23:00:00 @ 38.5p 14%, 29-02 00:00:00 - 29-02 01:00:00 @ 23.9p 14% ]
2024-02-28 01:15:16.305628 INFO pred_bat: Filtered charge windows [ 28-02 02:00:00 - 28-02 08:00:00 @ 23.15p 100%, 29-02 02:00:00 - 29-02 08:00:00 @ 23.15p 100%, 29-02 10:00:00 - 01-03 02:00:00 @ 36.4p 100% ] reserve 1.4
2024-02-28 01:15:16.318800 INFO pred_bat: predict base end_record 02-29 02:00:00 final soc 1.4 kWh metric 429.14 p metric_keep 0 min_soc 1.4 @ 02-28 01:40:00 kWh load 19.06 pv 8.36
2024-02-28 01:15:16.320320 INFO pred_bat:          [  01:15,   02:15,   03:15,   04:15,   05:15,   06:15,   07:15,   08:15,   09:15,   10:15,   11:15,   12:15,   13:15,   14:15,   15:15,   16:15,   17:15,   18:15,   19:15,   20:15,   21:15,   22:15,   23:15,   00:15,   01:15]
2024-02-28 01:15:16.321762 INFO pred_bat:     SOC: [    0.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,    1.51,     1.4,    1.41,     1.4,     1.4,    1.48,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4]
2024-02-28 01:15:16.323167 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<be-,   g<be-,   g~be~,   g~be~]
2024-02-28 01:15:16.324617 INFO pred_bat:    LOAD: [    0.0,     1.9,    1.92,    1.94,    1.95,    1.97,    1.99,    2.03,    3.33,    4.93,    6.23,    7.75,    8.98,   10.51,   12.52,   14.08,   15.61,   17.02,   17.85,    18.0,   18.15,    18.5,   18.61,    18.7,   18.85]
2024-02-28 01:15:16.326082 INFO pred_bat:      PV: [    0.0,     0.0,     0.0,     0.0,     0.0,     0.0,    0.01,    0.17,    0.69,    1.65,    2.89,     4.3,    5.69,    6.94,    7.84,    8.25,    8.36,    8.36,    8.36,    8.36,    8.36,    8.36,    8.36,    8.36,    8.36]
2024-02-28 01:15:16.327545 INFO pred_bat:  IMPORT: [   3.68,    5.72,    5.74,    5.75,    5.77,    5.79,     5.8,     5.8,     6.5,     7.2,    7.34,    7.51,    7.51,    7.79,    8.93,   10.11,   11.53,   12.94,   13.77,   13.92,   14.07,   14.42,   14.53,   14.62,   14.77]
2024-02-28 01:15:16.329007 INFO pred_bat:  EXPORT: [    0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0]
2024-02-28 01:15:16.330496 INFO pred_bat:  METRIC: [   87.8,  135.64,  136.03,  136.41,  136.82,  137.27,  137.63,  137.63,  164.62,  191.45,   196.2,  202.19,  202.19,  210.48,  245.44,  281.94,  326.72,  371.54,  397.42,  401.83,   406.3,  415.88,  418.74,  420.72,  424.28]
2024-02-28 01:15:16.445666 INFO pred_bat: Battery has 0.42 hours left - now at 0.4
2024-02-28 01:15:16.476815 INFO pred_bat: predict base10 end_record 02-29 02:00:00 final soc 1.4 kWh metric 709.6 p metric_keep 0 min_soc 1.4 @ 02-28 01:40:00 kWh load 20.92 pv 1.33
2024-02-28 01:15:16.478347 INFO pred_bat:          [  01:15,   02:15,   03:15,   04:15,   05:15,   06:15,   07:15,   08:15,   09:15,   10:15,   11:15,   12:15,   13:15,   14:15,   15:15,   16:15,   17:15,   18:15,   19:15,   20:15,   21:15,   22:15,   23:15,   00:15,   01:15]
2024-02-28 01:15:16.479833 INFO pred_bat:     SOC: [    0.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4]
2024-02-28 01:15:16.481648 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<be-,   g<be-,   g~be~,   g~be~]
2024-02-28 01:15:16.483165 INFO pred_bat:    LOAD: [    0.0,    2.09,    2.11,    2.13,    2.15,    2.17,    2.18,    2.23,    3.67,    5.43,    6.86,    8.53,    9.88,   11.56,   13.77,   15.49,   17.17,   18.73,   19.64,    19.8,   19.96,   20.35,   20.47,   20.57,   20.72]
2024-02-28 01:15:16.484656 INFO pred_bat:      PV: [    0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,    0.04,    0.14,    0.29,    0.46,    0.67,    0.86,    1.05,    1.22,     1.3,    1.33,    1.33,    1.33,    1.33,    1.33,    1.33,    1.33,    1.33,    1.33]
2024-02-28 01:15:16.486153 INFO pred_bat:  IMPORT: [   3.68,    5.91,    5.93,    5.95,    5.97,    5.98,     6.0,    6.01,    7.36,    8.98,   10.24,   11.71,   12.88,   14.38,   16.43,   18.08,   19.73,   21.29,   22.19,   22.36,   22.52,   22.91,   23.03,   23.13,   23.28]
2024-02-28 01:15:16.487629 INFO pred_bat:  EXPORT: [    0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0]
2024-02-28 01:15:16.489173 INFO pred_bat:  METRIC: [   87.8,   140.1,  140.52,  140.95,   141.4,  141.89,   142.4,  142.93,   194.5,   256.0,  301.37,  351.13,  387.33,  432.24,  494.82,  545.66,  597.67,  647.08,  675.54,  680.39,  685.31,  695.85,  698.99,  701.18,  704.74]
2024-02-28 01:15:16.623556 INFO pred_bat: predict best10 end_record 02-29 02:00:00 final soc 1.4 kWh metric 658.82 p metric_keep 0 min_soc 1.4 @ 02-28 10:45:00 kWh load 20.92 pv 1.33
2024-02-28 01:15:16.625104 INFO pred_bat:          [  01:15,   02:15,   03:15,   04:15,   05:15,   06:15,   07:15,   08:15,   09:15,   10:15,   11:15,   12:15,   13:15,   14:15,   15:15,   16:15,   17:15,   18:15,   19:15,   20:15,   21:15,   22:15,   23:15,   00:15,   01:15]
2024-02-28 01:15:16.626568 INFO pred_bat:     SOC: [    0.4,    1.79,    3.34,    4.79,    6.25,    7.71,    9.16,    9.24,     6.2,    3.16,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4]
2024-02-28 01:15:16.628004 INFO pred_bat:   STATE: [  g<be-,   g<bf+,   g<bf+,   g<bf+,   g<bf+,   g<bf+,   g<bf+,   g>bf-,   g>bf-,   g>bf-,   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~]
2024-02-28 01:15:16.629517 INFO pred_bat:    LOAD: [    0.0,    2.09,    2.11,    2.13,    2.15,    2.17,    2.18,    2.23,    3.67,    5.43,    6.86,    8.53,    9.88,   11.56,   13.77,   15.49,   17.17,   18.73,   19.64,    19.8,   19.96,   20.35,   20.47,   20.57,   20.72]
2024-02-28 01:15:16.631004 INFO pred_bat:      PV: [    0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,    0.04,    0.14,    0.29,    0.46,    0.67,    0.86,    1.05,    1.22,     1.3,    1.33,    1.33,    1.33,    1.33,    1.33,    1.33,    1.33,    1.33,    1.33]
2024-02-28 01:15:16.632499 INFO pred_bat:  IMPORT: [   3.68,    6.34,    8.03,    9.63,   11.23,   12.83,   14.42,   15.33,   15.33,   15.34,   15.94,   17.41,   18.58,   20.08,   22.13,   23.77,   25.43,   26.98,   27.89,   28.06,   28.22,   28.61,   28.73,   28.82,   28.97]
2024-02-28 01:15:16.634017 INFO pred_bat:  EXPORT: [    0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,    0.68,    2.14,    3.33,    4.29,    4.29,    4.29,    4.29,    4.29,    4.29,    4.29,    4.29,    4.29,    4.29,    4.29,    4.29,    4.29,    4.29,    4.29]
2024-02-28 01:15:16.635551 INFO pred_bat:  METRIC: [   87.8,  149.98,  189.19,  226.69,  266.13,  308.98,  358.71,  364.94,  308.85,  264.44,  250.58,  300.34,  336.55,  381.45,  444.03,  494.87,  546.88,   596.3,  624.76,  629.61,  634.53,  645.06,  648.21,  650.39,  653.95]
2024-02-28 01:15:16.768899 INFO pred_bat: predict best end_record 02-29 02:00:00 final soc 1.4 kWh metric 377.55 p metric_keep 0 min_soc 1.4 @ 02-28 10:45:00 kWh load 19.06 pv 8.36
2024-02-28 01:15:16.770540 INFO pred_bat:          [  01:15,   02:15,   03:15,   04:15,   05:15,   06:15,   07:15,   08:15,   09:15,   10:15,   11:15,   12:15,   13:15,   14:15,   15:15,   16:15,   17:15,   18:15,   19:15,   20:15,   21:15,   22:15,   23:15,   00:15,   01:15]
2024-02-28 01:15:16.772118 INFO pred_bat:     SOC: [    0.4,    1.79,    3.34,    4.79,    6.25,    7.71,    9.16,    9.24,     6.2,    3.16,     1.4,     1.4,    1.48,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4]
2024-02-28 01:15:16.773611 INFO pred_bat:   STATE: [  g<be-,   g<bf+,   g<bf+,   g<bf+,   g<bf+,   g<bf+,   g<bf+,   g>bf-,   g>bf-,   g>bf-,   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~]
2024-02-28 01:15:16.775186 INFO pred_bat:    LOAD: [    0.0,     1.9,    1.92,    1.94,    1.95,    1.97,    1.99,    2.03,    3.33,    4.93,    6.23,    7.75,    8.98,   10.51,   12.52,   14.08,   15.61,   17.02,   17.85,    18.0,   18.15,    18.5,   18.61,    18.7,   18.85]
2024-02-28 01:15:16.776747 INFO pred_bat:      PV: [    0.0,     0.0,     0.0,     0.0,     0.0,     0.0,    0.01,    0.17,    0.69,    1.65,    2.89,     4.3,    5.69,    6.94,    7.84,    8.25,    8.36,    8.36,    8.36,    8.36,    8.36,    8.36,    8.36,    8.36,    8.36]
2024-02-28 01:15:16.778426 INFO pred_bat:  IMPORT: [   3.68,    6.15,    7.84,    9.44,   11.03,   12.63,   14.22,   15.07,   15.07,   15.07,   15.13,   15.31,   15.31,   15.58,   16.73,    17.9,   19.33,   20.74,   21.57,   21.72,   21.87,   22.22,   22.33,   22.42,   22.57]
2024-02-28 01:15:16.780356 INFO pred_bat:  EXPORT: [    0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,    0.75,    2.75,    4.85,    6.42,    6.42,    6.42,    6.42,    6.42,    6.42,    6.42,    6.42,    6.42,    6.42,    6.42,    6.42,    6.42,    6.42,    6.42]
2024-02-28 01:15:16.782084 INFO pred_bat:  METRIC: [   87.8,  145.52,   184.7,  222.15,  261.56,  304.36,  353.82,  355.28,   278.7,  199.29,  144.61,   150.6,   150.6,  158.89,  193.85,  230.35,  275.13,  319.95,  345.83,  350.24,   354.7,  364.28,  367.14,  369.13,  372.69]
2024-02-28 01:15:16.931194 INFO pred_bat: Evaluate trigger {'name': 'large', 'minutes': 60, 'energy': 1.0} results off total_energy 0
2024-02-28 01:15:16.937940 INFO pred_bat: Evaluate trigger {'name': 'small', 'minutes': 15, 'energy': 0.25} results off total_energy 0
2024-02-28 01:15:16.944023 INFO pred_bat: Best charging limit socs [10.0, 10.0, 10.0] export [14, 14] gives import battery 30.25 house 9.45 export 7.43 metric 377.55 metric10 658.82
2024-02-28 01:15:17.005769 INFO pred_bat: Reserve min: 14.0% Battery_min:14.0%
2024-02-28 01:15:17.007143 INFO pred_bat: Inverter 0 with soc_max 10.0 kWh nominal_capacity 10.0 kWh battery rate raw 3500.0 w charge rate 3.5 kW discharge rate 3.5 kW battery_rate_min 0.0 w ac limit 10.0 kW export limit 10.0 kW reserve 14.0 % current_reserve 14.0 %
2024-02-28 01:15:17.013028 INFO pred_bat: Inverter 0 SOC: 0.4 kW 4 % Current charge rate 4500.0 w Current discharge rate 2800.0 w Current power 0.0 w Current voltage 52.0
2024-02-28 01:15:17.014130 INFO pred_bat: Inverter 0 scheduled charge enable is False
2024-02-28 01:15:17.015223 INFO pred_bat: Inverter 0 charge windows currently []
2024-02-28 01:15:17.016411 INFO pred_bat: Inverter 0 Charge settings: timed charged is disabled, power 4.5 kW
2024-02-28 01:15:17.018596 INFO pred_bat: Inverter 0 scheduled discharge enable is False
2024-02-28 01:15:17.019867 INFO pred_bat: Inverter 0 discharge windows currently [{'start': 0, 'end': 0, 'average': 0}, {'start': 1440, 'end': 1440, 'average': 0}]
2024-02-28 01:15:17.020697 INFO pred_bat: Note: Inverter does not support discharge freeze - disabled
2024-02-28 01:15:17.021509 INFO pred_bat: Note: Inverter does not support charge freeze - disabled
2024-02-28 01:15:17.022337 INFO pred_bat: Note: Inverter does not support reserve - disabling reserve functions
2024-02-28 01:15:17.023293 INFO pred_bat: Found 1 inverters totals: min reserve 1.4 current reserve 1.4 soc_max 10.0 soc 0.4 charge rate 4.5 kW discharge rate 2.8000000000000003 kW battery_rate_min 0.0 w ac limit 10.0 export limit 10.0 kW loss charge 3 % loss discharge 3 % inverter loss 5 %
2024-02-28 01:15:17.047970 INFO pred_bat: Base charge    window [  ]
2024-02-28 01:15:17.049026 INFO pred_bat: Base discharge window [ 28-02 00:00:00 - 28-02 00:00:00 @ 0p 100.0%, 29-02 00:00:00 - 29-02 00:00:00 @ 0p 100.0% ]
2024-02-28 01:15:17.049918 INFO pred_bat: Charge window will be: 2024-02-28 02:00:00+01:00 - 2024-02-28 08:00:00+01:00 - current soc 4 target 100
2024-02-28 01:15:17.050907 INFO pred_bat: Not setting charging window yet as not within the window (now 02-28 01:15:00 target set_window_minutes 30 charge start time 02-28 02:00:00
2024-02-28 01:15:17.052229 INFO pred_bat: Next discharge window will be: 2024-02-28 08:00:00+01:00 - 2024-02-28 23:01:00+01:00 at reserve 14
2024-02-28 01:15:17.053384 INFO pred_bat: Setting ECO mode as we are not yet within the discharge window - next time is 02-28 08:00:00 - 02-28 23:00:00
2024-02-28 01:15:17.055943 INFO pred_bat: Inverter 0 Adjust force discharge to False, change times from 00:00:00 - 00:00:00 to 00:00:00 - 00:00:00
2024-02-28 01:15:17.057255 INFO pred_bat: Inverter 0 Stop charge via Service huawei_solar/stop_forcible_charge
2024-02-28 01:15:17.058546 INFO pred_bat: Call service huawei_solar/stop_forcible_charge device_id 6893ee838a0972bd3e50d9e0faa0ba5a
2024-02-28 01:15:17.061128 INFO pred_bat: Current SOC 4% is greater than Target SOC 0. Grid Charge disabled.
2024-02-28 01:15:17.073024 INFO pred_bat: Completed run status Idle
2024-02-28 01:20:00.010750 INFO pred_bat: --------------- PredBat - update at 2024-02-28 01:20:00.009941+01:00 with clock skew 0 minutes, minutes now 80
2024-02-28 01:20:00.019723 INFO pred_bat: Using cached GITHub data for https://api.github.com/repos/springfall2008/batpred/releases age 75.0 minutes
2024-02-28 01:20:00.020741 INFO pred_bat: Predbat /config/apps/predbat.py version v7.16.2 currently running, latest version is v7.16.2 latest beta v7.16.2
2024-02-28 01:20:00.021645 INFO pred_bat: Autoupdate: Currently up to date
2024-02-28 01:20:00.033376 INFO pred_bat: Inverter type HU forecast_hours 48 max_windows 48 num_cars 0 debug enable is False calculate_plan_every 5
2024-02-28 01:20:00.034613 INFO pred_bat: WARN: Using experimental inverter type HU - not all features are available
2024-02-28 01:20:00.035819 INFO pred_bat: Predbat mode is set to Control charge & discharge
2024-02-28 01:20:00.380643 INFO pred_bat: Found 15841 load_today datapoints going back 11 days
2024-02-28 01:20:02.035878 INFO pred_bat: Car charging hold False threshold 6.0
2024-02-28 01:20:02.036781 INFO pred_bat: Current data so far today: load 0.0 kWh import 3.87 kWh export 0.0 kWh pv 0.0 kWh
2024-02-28 01:20:02.038138 INFO pred_bat: Fetching futurerate data from None
2024-02-28 01:20:02.044991 INFO pred_bat: Standing charge is set to 0.0 p
2024-02-28 01:20:02.408238 INFO pred_bat: Rate min forward looking: now 23.1 at end of forecast 23.1
2024-02-28 01:20:02.409795 INFO pred_bat: Import rates min 23.1 max 38.5 average 29.64
2024-02-28 01:20:02.418737 INFO pred_bat: Export rates min 23.1 max 38.5 average 29.64
2024-02-28 01:20:02.420272 INFO pred_bat: Rate thresholds (for charge/discharge) are import 38.0p (0.0) export 23.6p (0.0)
2024-02-28 01:20:02.427160 INFO pred_bat: High export rate found rates in range 23.9 to 38.5
2024-02-28 01:20:02.434520 INFO pred_bat: Low Import rate found rates in range 23.1 to 36.4
2024-02-28 01:20:02.453899 INFO pred_bat: Todays energy import 3.87 kWh export 0.0 kWh cost 92.26 p import 92.26 p export 0.0 p
2024-02-28 01:20:02.457265 INFO pred_bat: PV Data for pv_forecast_today total 8.36 kWh
2024-02-28 01:20:02.460262 INFO pred_bat: PV Data for pv_forecast_tomorrow total 5.72 kWh
2024-02-28 01:20:02.463405 INFO pred_bat: PV Data for pv_forecast_d3 total 3.09 kWh
2024-02-28 01:20:02.466602 INFO pred_bat: PV Data for pv_forecast_d4 total 4.64 kWh
2024-02-28 01:20:02.477433 INFO pred_bat: Historical data totals for days [10] are [18.15] - min 18.15
2024-02-28 01:20:02.479169 INFO pred_bat: WARN: Historical day 10 has 215 minutes of gap in the data, filled from 18.15 kWh to make new average 21.33 kWh (percent 85%)
2024-02-28 01:20:02.501121 INFO pred_bat: Historical days now [10] weight [1]
2024-02-28 01:20:02.508646 INFO pred_bat: Today's load divergence 100.0 % in-day adjustment 100.0 % damping 0.95x, Predicted so far 0 kWh with 0.0 kWh car excluded and 9.57 kWh import ignored and 0 forecast extra, Actual so far 0 kWh with 0.0 kWh car excluded and 0.0 kWh import ignored
2024-02-28 01:20:02.536234 INFO pred_bat: Reserve min: 14.0% Battery_min:14.0%
2024-02-28 01:20:02.537543 INFO pred_bat: Inverter 0 with soc_max 10.0 kWh nominal_capacity 10.0 kWh battery rate raw 3500.0 w charge rate 3.5 kW discharge rate 3.5 kW battery_rate_min 0.0 w ac limit 10.0 kW export limit 10.0 kW reserve 14.0 % current_reserve 14.0 %
2024-02-28 01:20:02.543676 INFO pred_bat: Inverter 0 SOC: 0.4 kW 4 % Current charge rate 4500.0 w Current discharge rate 2800.0 w Current power 0.0 w Current voltage 52.0
2024-02-28 01:20:02.544709 INFO pred_bat: Inverter 0 scheduled charge enable is False
2024-02-28 01:20:02.545767 INFO pred_bat: Inverter 0 charge windows currently []
2024-02-28 01:20:02.546885 INFO pred_bat: Inverter 0 Charge settings: timed charged is disabled, power 4.5 kW
2024-02-28 01:20:02.549009 INFO pred_bat: Inverter 0 scheduled discharge enable is False
2024-02-28 01:20:02.550215 INFO pred_bat: Inverter 0 discharge windows currently [{'start': 0, 'end': 0, 'average': 0}, {'start': 1440, 'end': 1440, 'average': 0}]
2024-02-28 01:20:02.550976 INFO pred_bat: Note: Inverter does not support discharge freeze - disabled
2024-02-28 01:20:02.551745 INFO pred_bat: Note: Inverter does not support charge freeze - disabled
2024-02-28 01:20:02.552511 INFO pred_bat: Note: Inverter does not support reserve - disabling reserve functions
2024-02-28 01:20:02.553397 INFO pred_bat: Found 1 inverters totals: min reserve 1.4 current reserve 1.4 soc_max 10.0 soc 0.4 charge rate 4.5 kW discharge rate 2.8000000000000003 kW battery_rate_min 0.0 w ac limit 10.0 export limit 10.0 kW loss charge 3 % loss discharge 3 % inverter loss 5 %
2024-02-28 01:20:02.577948 INFO pred_bat: Base charge    window [  ]
2024-02-28 01:20:02.578943 INFO pred_bat: Base discharge window [ 28-02 00:00:00 - 28-02 00:00:00 @ 0p 100.0%, 29-02 00:00:00 - 29-02 00:00:00 @ 0p 100.0% ]
2024-02-28 01:20:02.579639 INFO pred_bat: Plan was last updated on 2024-02-28 01:15:00.011472+01:00 and is now 5.0 minutes old
2024-02-28 01:20:02.580498 INFO pred_bat: Best charge    window [ 28-02 02:00:00 - 28-02 08:00:00 @ 23.15p 100%, 29-02 02:00:00 - 29-02 08:00:00 @ 23.15p 100%, 29-02 10:00:00 - 01-03 02:00:00 @ 36.4p 100% ]
2024-02-28 01:20:02.581338 INFO pred_bat: Best discharge window [ 28-02 08:00:00 - 28-02 23:00:00 @ 38.5p 14%, 29-02 00:00:00 - 29-02 01:00:00 @ 23.9p 14% ]
2024-02-28 01:20:02.591545 INFO pred_bat: Creating pool of 2 processes to match your CPU count
2024-02-28 01:20:02.624346 INFO pred_bat: predict base end_record 02-29 02:05:00 final soc 1.4 kWh metric 428.74 p metric_keep 0 min_soc 1.4 @ 02-28 01:45:00 kWh load 18.85 pv 8.36
2024-02-28 01:20:02.626076 INFO pred_bat:          [  01:20,   02:20,   03:20,   04:20,   05:20,   06:20,   07:20,   08:20,   09:20,   10:20,   11:20,   12:20,   13:20,   14:20,   15:20,   16:20,   17:20,   18:20,   19:20,   20:20,   21:20,   22:20,   23:20,   00:20,   01:20]
2024-02-28 01:20:02.627607 INFO pred_bat:     SOC: [    0.4,     1.4,     1.4,     1.4,     1.4,     1.4,    1.41,    1.51,     1.4,     1.5,     1.4,    1.48,    1.48,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4]
2024-02-28 01:20:02.629060 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<be-,   g<be-,   g~be~,   g~be~]
2024-02-28 01:20:02.630530 INFO pred_bat:    LOAD: [    0.0,     1.7,    1.72,    1.74,    1.75,    1.77,    1.79,    1.85,    3.25,    4.73,    6.14,    7.58,    8.88,   10.48,   12.46,   14.03,   15.52,   16.93,   17.65,    17.8,   17.95,    18.3,   18.42,   18.49,   18.64]
2024-02-28 01:20:02.632010 INFO pred_bat:      PV: [    0.0,     0.0,     0.0,     0.0,     0.0,     0.0,    0.01,    0.19,    0.76,    1.74,     3.0,    4.43,     5.8,    7.03,     7.9,    8.27,    8.36,    8.36,    8.36,    8.36,    8.36,    8.36,    8.36,    8.36,    8.36]
2024-02-28 01:20:02.633483 INFO pred_bat:  IMPORT: [   3.87,    5.71,    5.73,    5.75,    5.76,    5.78,    5.79,    5.79,    6.54,    7.19,    7.33,     7.5,     7.5,    7.86,    9.01,   10.23,   11.64,   13.04,   13.76,   13.91,   14.06,   14.41,   14.53,    14.6,   14.75]
2024-02-28 01:20:02.634953 INFO pred_bat:  EXPORT: [    0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0]
2024-02-28 01:20:02.636468 INFO pred_bat:  METRIC: [  92.26,  135.44,  135.82,  136.21,  136.62,  137.07,   137.4,   137.4,  166.35,  191.21,  196.08,  201.95,  201.95,  212.82,  247.94,  285.86,  330.12,  374.75,  397.18,  401.54,  405.95,  415.72,  418.55,  420.33,  423.84]
2024-02-28 01:20:02.808465 INFO pred_bat: Battery has 0.42 hours left - now at 0.4
2024-02-28 01:20:02.838903 INFO pred_bat: predict base10 end_record 02-29 02:05:00 final soc 1.4 kWh metric 708.72 p metric_keep 0 min_soc 1.4 @ 02-28 01:45:00 kWh load 20.7 pv 1.33
2024-02-28 01:20:02.840394 INFO pred_bat:          [  01:20,   02:20,   03:20,   04:20,   05:20,   06:20,   07:20,   08:20,   09:20,   10:20,   11:20,   12:20,   13:20,   14:20,   15:20,   16:20,   17:20,   18:20,   19:20,   20:20,   21:20,   22:20,   23:20,   00:20,   01:20]
2024-02-28 01:20:02.841835 INFO pred_bat:     SOC: [    0.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,    1.41,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4]
2024-02-28 01:20:02.843221 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<be-,   g<be-,   g~be~,   g~be~]
2024-02-28 01:20:02.844686 INFO pred_bat:    LOAD: [    0.0,    1.87,    1.89,    1.91,    1.93,    1.95,    1.97,    2.04,    3.57,    5.21,    6.76,    8.34,    9.77,   11.53,    13.7,   15.44,   17.08,   18.63,   19.41,   19.58,   19.74,   20.13,   20.26,   20.34,   20.49]
2024-02-28 01:20:02.846135 INFO pred_bat:      PV: [    0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,    0.04,    0.15,     0.3,    0.48,    0.68,    0.88,    1.07,    1.23,    1.31,    1.33,    1.33,    1.33,    1.33,    1.33,    1.33,    1.33,    1.33,    1.33]
2024-02-28 01:20:02.847587 INFO pred_bat:  IMPORT: [   3.87,    5.88,     5.9,    5.92,    5.94,    5.96,    5.97,    6.01,    7.44,    8.95,   10.31,    11.7,   12.95,   14.53,   16.55,   18.21,   19.83,   21.38,   22.16,   22.33,   22.49,   22.88,   23.01,   23.09,   23.24]
2024-02-28 01:20:02.849051 INFO pred_bat:  EXPORT: [    0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0]
2024-02-28 01:20:02.850548 INFO pred_bat:  METRIC: [  92.26,  139.43,  139.85,  140.28,  140.73,  141.23,  141.73,  143.14,  198.17,  255.29,  304.33,  351.06,  389.47,  436.89,  498.61,   550.0,   601.0,  650.16,  674.84,  679.63,  684.49,  695.24,  698.35,   700.3,  703.81]
2024-02-28 01:20:03.015370 INFO pred_bat: predict best10 end_record 02-29 02:05:00 final soc 1.53 kWh metric 661.22 p metric_keep 0 min_soc 1.4 @ 02-28 10:45:00 kWh load 20.7 pv 1.33
2024-02-28 01:20:03.016905 INFO pred_bat:          [  01:20,   02:20,   03:20,   04:20,   05:20,   06:20,   07:20,   08:20,   09:20,   10:20,   11:20,   12:20,   13:20,   14:20,   15:20,   16:20,   17:20,   18:20,   19:20,   20:20,   21:20,   22:20,   23:20,   00:20,   01:20]
2024-02-28 01:20:03.018360 INFO pred_bat:     SOC: [    0.4,    1.93,    3.46,    4.92,    6.37,    7.83,    9.28,    8.99,    5.95,    2.91,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4]
2024-02-28 01:20:03.020183 INFO pred_bat:   STATE: [  g<be-,   g<bf+,   g<bf+,   g<bf+,   g<bf+,   g<bf+,   g<bf+,   g>bf-,   g>bf-,   g>bf-,   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~]
2024-02-28 01:20:03.021651 INFO pred_bat:    LOAD: [    0.0,    1.87,    1.89,    1.91,    1.93,    1.95,    1.97,    2.04,    3.57,    5.21,    6.76,    8.34,    9.77,   11.53,    13.7,   15.44,   17.08,   18.63,   19.41,   19.58,   19.74,   20.13,   20.26,   20.34,   20.49]
2024-02-28 01:20:03.023133 INFO pred_bat:      PV: [    0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,    0.04,    0.15,     0.3,    0.48,    0.68,    0.88,    1.07,    1.23,    1.31,    1.33,    1.33,    1.33,    1.33,    1.33,    1.33,    1.33,    1.33,    1.33]
2024-02-28 01:20:03.024636 INFO pred_bat:  IMPORT: [   3.87,    6.45,    8.14,    9.74,   11.33,   12.93,   14.52,    15.3,    15.3,   15.31,   16.01,    17.4,   18.65,   20.22,   22.25,    23.9,   25.52,   27.07,   27.86,   28.02,   28.19,   28.58,    28.7,   28.79,   28.94]
2024-02-28 01:20:03.026101 INFO pred_bat:  EXPORT: [    0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,    0.89,    2.26,    3.58,    4.29,    4.29,    4.29,    4.29,    4.29,    4.29,    4.29,    4.29,    4.29,    4.29,    4.29,    4.29,    4.29,    4.29,    4.29]
2024-02-28 01:20:03.027652 INFO pred_bat:  METRIC: [  92.26,   152.6,  191.58,  229.21,  268.88,  312.21,  362.77,  356.17,  303.58,  254.78,  253.54,  300.27,  338.69,   386.1,  447.83,  499.21,  550.21,  599.38,  624.05,  628.84,   633.7,  644.45,  647.56,  649.51,  653.02]
2024-02-28 01:20:03.176768 INFO pred_bat: predict best end_record 02-29 02:05:00 final soc 1.53 kWh metric 380.45 p metric_keep 0 min_soc 1.4 @ 02-28 10:45:00 kWh load 18.85 pv 8.36
2024-02-28 01:20:03.178277 INFO pred_bat:          [  01:20,   02:20,   03:20,   04:20,   05:20,   06:20,   07:20,   08:20,   09:20,   10:20,   11:20,   12:20,   13:20,   14:20,   15:20,   16:20,   17:20,   18:20,   19:20,   20:20,   21:20,   22:20,   23:20,   00:20,   01:20]
2024-02-28 01:20:03.179722 INFO pred_bat:     SOC: [    0.4,    1.93,    3.46,    4.92,    6.37,    7.83,    9.28,    8.99,    5.95,    2.91,     1.4,    1.48,    1.48,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4]
2024-02-28 01:20:03.181116 INFO pred_bat:   STATE: [  g<be-,   g<bf+,   g<bf+,   g<bf+,   g<bf+,   g<bf+,   g<bf+,   g>bf-,   g>bf-,   g>bf-,   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~]
2024-02-28 01:20:03.182585 INFO pred_bat:    LOAD: [    0.0,     1.7,    1.72,    1.74,    1.75,    1.77,    1.79,    1.85,    3.25,    4.73,    6.14,    7.58,    8.88,   10.48,   12.46,   14.03,   15.52,   16.93,   17.65,    17.8,   17.95,    18.3,   18.42,   18.49,   18.64]
2024-02-28 01:20:03.184045 INFO pred_bat:      PV: [    0.0,     0.0,     0.0,     0.0,     0.0,     0.0,    0.01,    0.19,    0.76,    1.74,     3.0,    4.43,     5.8,    7.03,     7.9,    8.27,    8.36,    8.36,    8.36,    8.36,    8.36,    8.36,    8.36,    8.36,    8.36]
2024-02-28 01:20:03.185510 INFO pred_bat:  IMPORT: [   3.87,    6.28,    7.97,    9.56,   11.16,   12.75,   14.34,   15.06,   15.06,   15.06,   15.13,    15.3,    15.3,   15.66,   16.81,   18.03,   19.43,   20.84,   21.56,   21.71,   21.85,   22.21,   22.32,    22.4,   22.55]
2024-02-28 01:20:03.187013 INFO pred_bat:  EXPORT: [    0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,    0.98,    2.93,    5.17,    6.42,    6.42,    6.42,    6.42,    6.42,    6.42,    6.42,    6.42,    6.42,    6.42,    6.42,    6.42,    6.42,    6.42,    6.42]
2024-02-28 01:20:03.188545 INFO pred_bat:  METRIC: [  92.26,  148.61,  187.55,  225.15,  264.77,  308.06,  358.26,  346.19,  271.49,  187.37,  144.49,  150.36,  150.36,  161.23,  196.35,  234.27,  278.53,  323.16,  345.59,  349.95,  354.36,  364.13,  366.96,  368.73,  372.25]
2024-02-28 01:20:03.396145 INFO pred_bat: Evaluate trigger {'name': 'large', 'minutes': 60, 'energy': 1.0} results off total_energy 0
2024-02-28 01:20:03.405390 INFO pred_bat: Evaluate trigger {'name': 'small', 'minutes': 15, 'energy': 0.25} results off total_energy 0
2024-02-28 01:20:03.411602 INFO pred_bat: Best charging limit socs [10.0, 10.0, 10.0] export [14, 14] gives import battery 30.25 house 9.24 export 7.43 metric 380.45 metric10 661.22
2024-02-28 01:20:03.480638 INFO pred_bat: Export threshold used for optimisation was 28.6p
2024-02-28 01:20:03.522522 INFO pred_bat: High export rate windows [0: 02-28 04:00:00 - 02-28 05:00:00 @ 24.3, 1: 02-28 05:00:00 - 02-28 06:00:00 @ 25.9, 2: 02-28 06:00:00 - 02-28 07:00:00 @ 29.6, 3: 02-28 07:00:00 - 02-28 08:00:00 @ 35.9, 4: 02-28 08:00:00 - 02-28 09:00:00 @ 38.5, 5: 02-28 09:00:00 - 02-28 10:00:00 @ 38.3, 6: 02-28 10:00:00 - 02-28 11:00:00 @ 36.4, 7: 02-28 11:00:00 - 02-28 12:00:00 @ 34.6, 8: 02-28 12:00:00 - 02-28 13:00:00 @ 31.2, 9: 02-28 13:00:00 - 02-28 15:00:00 @ 30.05, 10: 02-28 15:00:00 - 02-28 17:00:00 @ 31.1, 11: 02-28 17:00:00 - 02-28 18:00:00 @ 31.9, 12: 02-28 18:00:00 - 02-28 19:00:00 @ 31.3, 13: 02-28 19:00:00 - 02-28 20:00:00 @ 29.4, 14: 02-28 20:00:00 - 02-28 21:00:00 @ 29.8, 15: 02-28 21:00:00 - 02-28 22:00:00 @ 28.8, 16: 02-28 22:00:00 - 02-28 23:00:00 @ 26.3, 17: 02-29 00:00:00 - 02-29 01:00:00 @ 23.9, 18: 02-29 04:00:00 - 02-29 05:00:00 @ 24.3, 19: 02-29 05:00:00 - 02-29 06:00:00 @ 25.9, 20: 02-29 06:00:00 - 02-29 07:00:00 @ 29.6, 21: 02-29 07:00:00 - 02-29 08:00:00 @ 35.9, 22: 02-29 08:00:00 - 02-29 09:00:00 @ 38.5, 23: 02-29 09:00:00 - 02-29 10:00:00 @ 38.3, 24: 02-29 10:00:00 - 02-29 11:00:00 @ 36.4, 25: 02-29 11:00:00 - 02-29 12:00:00 @ 34.6, 26: 02-29 12:00:00 - 02-29 13:00:00 @ 31.2, 27: 02-29 13:00:00 - 02-29 15:00:00 @ 30.05, 28: 02-29 15:00:00 - 02-29 17:00:00 @ 31.1, 29: 02-29 17:00:00 - 02-29 18:00:00 @ 31.9, 30: 02-29 18:00:00 - 02-29 19:00:00 @ 31.3, 31: 02-29 19:00:00 - 02-29 20:00:00 @ 29.4, 32: 02-29 20:00:00 - 02-29 21:00:00 @ 29.8, 33: 02-29 21:00:00 - 02-29 22:00:00 @ 28.8, 34: 02-29 22:00:00 - 02-29 23:00:00 @ 26.3, 35: 03-01 00:00:00 - 03-01 01:00:00 @ 23.9]
2024-02-28 01:20:03.528716 INFO pred_bat: Import threshold used for optimisation was 28.3p
2024-02-28 01:20:03.571246 INFO pred_bat: Low import rate windows [0: 02-28 00:00:00 - 02-28 02:00:00 @ 23.7, 1: 02-28 02:00:00 - 02-28 04:00:00 @ 23.15, 2: 02-28 04:00:00 - 02-28 05:00:00 @ 24.3, 3: 02-28 05:00:00 - 02-28 06:00:00 @ 25.9, 4: 02-28 06:00:00 - 02-28 07:00:00 @ 29.6, 5: 02-28 07:00:00 - 02-28 08:00:00 @ 35.9, 6: 02-28 10:00:00 - 02-28 11:00:00 @ 36.4, 7: 02-28 11:00:00 - 02-28 12:00:00 @ 34.6, 8: 02-28 12:00:00 - 02-28 13:00:00 @ 31.2, 9: 02-28 13:00:00 - 02-28 15:00:00 @ 30.05, 10: 02-28 15:00:00 - 02-28 17:00:00 @ 31.1, 11: 02-28 17:00:00 - 02-28 18:00:00 @ 31.9, 12: 02-28 18:00:00 - 02-28 19:00:00 @ 31.3, 13: 02-28 19:00:00 - 02-28 20:00:00 @ 29.4, 14: 02-28 20:00:00 - 02-28 21:00:00 @ 29.8, 15: 02-28 21:00:00 - 02-28 22:00:00 @ 28.8, 16: 02-28 22:00:00 - 02-28 23:00:00 @ 26.3, 17: 02-28 23:00:00 - 02-29 00:00:00 @ 23.1, 18: 02-29 00:00:00 - 02-29 02:00:00 @ 23.7, 19: 02-29 02:00:00 - 02-29 04:00:00 @ 23.15, 20: 02-29 04:00:00 - 02-29 05:00:00 @ 24.3, 21: 02-29 05:00:00 - 02-29 06:00:00 @ 25.9, 22: 02-29 06:00:00 - 02-29 07:00:00 @ 29.6, 23: 02-29 07:00:00 - 02-29 08:00:00 @ 35.9, 24: 02-29 10:00:00 - 02-29 11:00:00 @ 36.4, 25: 02-29 11:00:00 - 02-29 12:00:00 @ 34.6, 26: 02-29 12:00:00 - 02-29 13:00:00 @ 31.2, 27: 02-29 13:00:00 - 02-29 15:00:00 @ 30.05, 28: 02-29 15:00:00 - 02-29 17:00:00 @ 31.1, 29: 02-29 17:00:00 - 02-29 18:00:00 @ 31.9, 30: 02-29 18:00:00 - 02-29 19:00:00 @ 31.3, 31: 02-29 19:00:00 - 02-29 20:00:00 @ 29.4, 32: 02-29 20:00:00 - 02-29 21:00:00 @ 29.8, 33: 02-29 21:00:00 - 02-29 22:00:00 @ 28.8, 34: 02-29 22:00:00 - 02-29 23:00:00 @ 26.3, 35: 02-29 23:00:00 - 03-01 00:00:00 @ 23.1, 36: 03-01 00:00:00 - 03-01 02:00:00 @ 23.7]
2024-02-28 01:20:03.577546 INFO pred_bat: Charge window will be: 2024-02-28 02:00:00+01:00 - 2024-02-28 08:00:00+01:00 - current soc 4 target 100
2024-02-28 01:20:03.578550 INFO pred_bat: Not setting charging window yet as not within the window (now 02-28 01:20:00 target set_window_minutes 30 charge start time 02-28 02:00:00
2024-02-28 01:20:03.579587 INFO pred_bat: Next discharge window will be: 2024-02-28 08:00:00+01:00 - 2024-02-28 23:01:00+01:00 at reserve 14
2024-02-28 01:20:03.580751 INFO pred_bat: Setting ECO mode as we are not yet within the discharge window - next time is 02-28 08:00:00 - 02-28 23:00:00
2024-02-28 01:20:03.583245 INFO pred_bat: Inverter 0 Adjust force discharge to False, change times from 00:00:00 - 00:00:00 to 00:00:00 - 00:00:00
2024-02-28 01:20:03.584531 INFO pred_bat: Inverter 0 Stop charge via Service huawei_solar/stop_forcible_charge
2024-02-28 01:20:03.585805 INFO pred_bat: Call service huawei_solar/stop_forcible_charge device_id 6893ee838a0972bd3e50d9e0faa0ba5a
2024-02-28 01:20:03.588777 INFO pred_bat: Current SOC 4% is greater than Target SOC 0. Grid Charge disabled.
2024-02-28 01:20:03.601545 INFO pred_bat: Will recompute the plan as it is now 5.0 minutes old and will exceed the max age of 5 minutes before the next run
2024-02-28 01:20:03.603533 INFO pred_bat: Best charge    window [ 28-02 00:00:00 - 28-02 02:00:00 @ 23.7p 0.0%, 28-02 02:00:00 - 28-02 04:00:00 @ 23.15p 0.0%, 28-02 04:00:00 - 28-02 05:00:00 @ 24.3p 0.0%, 28-02 05:00:00 - 28-02 06:00:00 @ 25.9p 0.0%, 28-02 06:00:00 - 28-02 07:00:00 @ 29.6p 0.0%, 28-02 07:00:00 - 28-02 08:00:00 @ 35.9p 0.0%, 28-02 10:00:00 - 28-02 11:00:00 @ 36.4p 0.0%, 28-02 11:00:00 - 28-02 12:00:00 @ 34.6p 0.0%, 28-02 12:00:00 - 28-02 13:00:00 @ 31.2p 0.0%, 28-02 13:00:00 - 28-02 15:00:00 @ 30.05p 0.0%, 28-02 15:00:00 - 28-02 17:00:00 @ 31.1p 0.0%, 28-02 17:00:00 - 28-02 18:00:00 @ 31.9p 0.0%, 28-02 18:00:00 - 28-02 19:00:00 @ 31.3p 0.0%, 28-02 19:00:00 - 28-02 20:00:00 @ 29.4p 0.0%, 28-02 20:00:00 - 28-02 21:00:00 @ 29.8p 0.0%, 28-02 21:00:00 - 28-02 22:00:00 @ 28.8p 0.0%, 28-02 22:00:00 - 28-02 23:00:00 @ 26.3p 0.0%, 28-02 23:00:00 - 29-02 00:00:00 @ 23.1p 0.0%, 29-02 00:00:00 - 29-02 02:00:00 @ 23.7p 0.0%, 29-02 02:00:00 - 29-02 04:00:00 @ 23.15p 0.0%, 29-02 04:00:00 - 29-02 05:00:00 @ 24.3p 0.0%, 29-02 05:00:00 - 29-02 06:00:00 @ 25.9p 0.0%, 29-02 06:00:00 - 29-02 07:00:00 @ 29.6p 0.0%, 29-02 07:00:00 - 29-02 08:00:00 @ 35.9p 0.0%, 29-02 10:00:00 - 29-02 11:00:00 @ 36.4p 0.0%, 29-02 11:00:00 - 29-02 12:00:00 @ 34.6p 0.0%, 29-02 12:00:00 - 29-02 13:00:00 @ 31.2p 0.0%, 29-02 13:00:00 - 29-02 15:00:00 @ 30.05p 0.0%, 29-02 15:00:00 - 29-02 17:00:00 @ 31.1p 0.0%, 29-02 17:00:00 - 29-02 18:00:00 @ 31.9p 0.0%, 29-02 18:00:00 - 29-02 19:00:00 @ 31.3p 0.0%, 29-02 19:00:00 - 29-02 20:00:00 @ 29.4p 0.0%, 29-02 20:00:00 - 29-02 21:00:00 @ 29.8p 0.0%, 29-02 21:00:00 - 29-02 22:00:00 @ 28.8p 0.0%, 29-02 22:00:00 - 29-02 23:00:00 @ 26.3p 0.0%, 29-02 23:00:00 - 01-03 00:00:00 @ 23.1p 0.0%, 01-03 00:00:00 - 01-03 02:00:00 @ 23.7p 0.0% ]
2024-02-28 01:20:03.604973 INFO pred_bat: Best discharge window [ 28-02 04:00:00 - 28-02 05:00:00 @ 24.3p 100.0%, 28-02 05:00:00 - 28-02 06:00:00 @ 25.9p 100.0%, 28-02 06:00:00 - 28-02 07:00:00 @ 29.6p 100.0%, 28-02 07:00:00 - 28-02 08:00:00 @ 35.9p 100.0%, 28-02 08:00:00 - 28-02 09:00:00 @ 38.5p 100.0%, 28-02 09:00:00 - 28-02 10:00:00 @ 38.3p 100.0%, 28-02 10:00:00 - 28-02 11:00:00 @ 36.4p 100.0%, 28-02 11:00:00 - 28-02 12:00:00 @ 34.6p 100.0%, 28-02 12:00:00 - 28-02 13:00:00 @ 31.2p 100.0%, 28-02 13:00:00 - 28-02 15:00:00 @ 30.05p 100.0%, 28-02 15:00:00 - 28-02 17:00:00 @ 31.1p 100.0%, 28-02 17:00:00 - 28-02 18:00:00 @ 31.9p 100.0%, 28-02 18:00:00 - 28-02 19:00:00 @ 31.3p 100.0%, 28-02 19:00:00 - 28-02 20:00:00 @ 29.4p 100.0%, 28-02 20:00:00 - 28-02 21:00:00 @ 29.8p 100.0%, 28-02 21:00:00 - 28-02 22:00:00 @ 28.8p 100.0%, 28-02 22:00:00 - 28-02 23:00:00 @ 26.3p 100.0%, 29-02 00:00:00 - 29-02 01:00:00 @ 23.9p 100.0%, 29-02 04:00:00 - 29-02 05:00:00 @ 24.3p 100.0%, 29-02 05:00:00 - 29-02 06:00:00 @ 25.9p 100.0%, 29-02 06:00:00 - 29-02 07:00:00 @ 29.6p 100.0%, 29-02 07:00:00 - 29-02 08:00:00 @ 35.9p 100.0%, 29-02 08:00:00 - 29-02 09:00:00 @ 38.5p 100.0%, 29-02 09:00:00 - 29-02 10:00:00 @ 38.3p 100.0%, 29-02 10:00:00 - 29-02 11:00:00 @ 36.4p 100.0%, 29-02 11:00:00 - 29-02 12:00:00 @ 34.6p 100.0%, 29-02 12:00:00 - 29-02 13:00:00 @ 31.2p 100.0%, 29-02 13:00:00 - 29-02 15:00:00 @ 30.05p 100.0%, 29-02 15:00:00 - 29-02 17:00:00 @ 31.1p 100.0%, 29-02 17:00:00 - 29-02 18:00:00 @ 31.9p 100.0%, 29-02 18:00:00 - 29-02 19:00:00 @ 31.3p 100.0%, 29-02 19:00:00 - 29-02 20:00:00 @ 29.4p 100.0%, 29-02 20:00:00 - 29-02 21:00:00 @ 29.8p 100.0%, 29-02 21:00:00 - 29-02 22:00:00 @ 28.8p 100.0%, 29-02 22:00:00 - 29-02 23:00:00 @ 26.3p 100.0%, 01-03 00:00:00 - 01-03 01:00:00 @ 23.9p 100.0% ]
2024-02-28 01:20:03.615113 INFO pred_bat: Creating pool of 2 processes to match your CPU count
2024-02-28 01:20:03.632922 INFO pred_bat: Calculate Best options: mode(Control charge & discharge) calculate_discharge_oncharge(True) set_discharge_freeze_only(False) set_discharge_during_charge(False) combine_charge_slots(True) combine_discharge_slots(True) best_soc_min(0.0 kWh) best_soc_max(0.0 kWh) best_soc_keep(0.1 kWh) inverter_loss(5 %) battery_loss(3 %) battery_loss_discharge (3 %) inverter_hybrid(True) metric_min_improvement(0.0 p) metric_min_improvement_discharge(0.0 p) metric_battery_cycle(0.2 p/kWh)metric_battery_value_scaling(0.8 x)
2024-02-28 01:20:03.634608 INFO pred_bat: Optimise all windows, total charge 36 discharge 36
2024-02-28 01:20:03.939846 INFO pred_bat: Optimise all charge for all bands best price threshold 28.5 charges at 28.3 at metric 617.48 keep 0 cost 705.02 soc_min 1.4 limits [10.0, 10.0, 10.0, 10.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10.0, 10.0, 10.0, 10.0, 10.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10.0, 0.0] discharge [100.0, 100.0, 100.0, 0, 0, 0, 0, 0, 0, 100.0, 100.0, 0, 0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 0, 0, 0, 0, 0, 0, 100.0, 100.0, 0, 0, 100.0, 100.0, 100.0, 100.0, 100.0]
2024-02-28 01:20:03.941055 INFO pred_bat: Calculated end_record as 02-29 02:00:00
2024-02-28 01:20:03.942458 INFO pred_bat: >> Region optimisation pass width 960
2024-02-28 01:20:04.113011 INFO pred_bat: Optimise all charge for all bands best price threshold 32.5 charges at 32.3 at metric 394.16 keep 0 cost 588.87 soc_min 1.4 limits [10.0, 10.0, 10.0, 10.0, 10.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10.0, 10.0, 10.0, 10.0, 10.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10.0, 0.0] discharge [100.0, 100.0, 100.0, 0, 0, 0, 0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0]
2024-02-28 01:20:04.219176 INFO pred_bat: Optimise all charge for all bands best price threshold 25.3 charges at 25.3 at metric 384.25 keep 0 cost 408.58 soc_min 1.4 limits [10.0, 10.0, 10.0, 10.0, 10.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10.0, 10.0, 10.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10.0, 0.0] discharge [100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 0, 0, 0, 0, 0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0]
2024-02-28 01:20:04.220255 INFO pred_bat: >> Region optimisation pass width 480
2024-02-28 01:20:04.336075 INFO pred_bat: Optimise all charge for all bands best price threshold 32.8 charges at 32.3 at metric 345.5 keep 0 cost 369.83 soc_min 1.4 limits [10.0, 10.0, 10.0, 10.0, 10.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10.0, 10.0, 10.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10.0, 0.0] discharge [100.0, 100.0, 100.0, 0, 0, 0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0]
2024-02-28 01:20:04.437530 INFO pred_bat: Optimise all charge for all bands best price threshold 27.3 charges at 21.8 at metric 349.39 keep 0 cost 373.77 soc_min 1.4 limits [10.0, 10.0, 10.0, 10.0, 10.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10.0, 10.0, 10.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10.0, 0.0] discharge [100.0, 100.0, 100.0, 100.0, 100.0, 0, 0, 0, 0, 0, 0, 0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0]
2024-02-28 01:20:04.538151 INFO pred_bat: Optimise all charge for all bands best price threshold 25.3 charges at 21.8 at metric 384.25 keep 0 cost 408.58 soc_min 1.4 limits [10.0, 10.0, 10.0, 10.0, 10.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10.0, 10.0, 10.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10.0, 0.0] discharge [100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 0, 0, 0, 0, 0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0]
2024-02-28 01:20:04.602987 INFO pred_bat: Optimise all charge for all bands best price threshold 25.3 charges at 25.3 at metric 384.61 keep 0 cost 408.94 soc_min 1.4 limits [10.0, 10.0, 10.0, 10.0, 10.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10.0, 10.0, 10.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10.0, 0.0] discharge [100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0]
2024-02-28 01:20:04.604045 INFO pred_bat: >> Region optimisation pass width 240
2024-02-28 01:20:04.674457 INFO pred_bat: Optimise all charge for all bands best price threshold 26.3 charges at 25.3 at metric 373.59 keep 0 cost 397.82 soc_min 1.4 limits [0, 10.0, 0, 0, 10.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10.0, 10.0, 10.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10.0, 0.0] discharge [100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0]
2024-02-28 01:20:04.771380 INFO pred_bat: Optimise all charge for all bands best price threshold 32.8 charges at 32.3 at metric 327.37 keep 0 cost 351.61 soc_min 1.4 limits [0, 10.0, 0, 10.0, 10.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10.0, 10.0, 10.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10.0, 0.0] discharge [100.0, 100.0, 100.0, 0, 0, 0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0]
2024-02-28 01:20:04.858787 INFO pred_bat: Optimise all charge for all bands best price threshold 27.3 charges at 21.8 at metric 331.26 keep 0 cost 355.55 soc_min 1.4 limits [0, 10.0, 0, 10.0, 10.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10.0, 10.0, 10.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10.0, 0.0] discharge [100.0, 100.0, 100.0, 100.0, 100.0, 0, 0, 0, 0, 0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0]
2024-02-28 01:20:04.936099 INFO pred_bat: Optimise all charge for all bands best price threshold 28.7 charges at 21.8 at metric 366.12 keep 0 cost 390.36 soc_min 1.4 limits [0, 10.0, 0, 10.0, 10.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10.0, 10.0, 10.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10.0, 0.0] discharge [100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0]
2024-02-28 01:20:05.100276 INFO pred_bat: Previous message repeated 1 times
2024-02-28 01:20:05.100434 INFO pred_bat: Optimise all charge for all bands best price threshold 25.3 charges at 21.8 at metric 366.48 keep 0 cost 390.72 soc_min 1.4 limits [0, 10.0, 0, 10.0, 10.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10.0, 10.0, 10.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10.0, 0.0] discharge [100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0]
2024-02-28 01:20:05.164726 INFO pred_bat: Optimise all charge for all bands best price threshold 25.3 charges at 25.3 at metric 366.48 keep 0 cost 390.72 soc_min 1.4 limits [0, 10.0, 0, 10.0, 10.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10.0, 10.0, 10.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10.0, 0.0] discharge [100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0]
2024-02-28 01:20:05.166438 INFO pred_bat: Calculated end_record as 02-29 02:00:00
2024-02-28 01:20:05.168160 INFO pred_bat: Starting second optimisation best_price 28.3 best_price_discharge 28.6 lowest_price_charge 25.3 with charge limits [0, 10.0, 0, 10.0, 10.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10.0, 10.0, 10.0, 10.0, 10.0, 10.0, 10.0, 10.0, 10.0, 10.0, 10.0, 10.0, 10.0, 10.0, 10.0, 10.0, 10.0, 10.0] based on
2024-02-28 01:20:05.169995 INFO pred_bat: Optimise price set 35.3 start_at_low False best_price 28.3 best_metric 366.48 best_cost 390.72
2024-02-28 01:20:05.293098 INFO pred_bat: Optimise price set 35.1 start_at_low False best_price 28.3 best_metric 390.46 best_cost 375.0
2024-02-28 01:20:05.413363 INFO pred_bat: Optimise price set 33.3 start_at_low False best_price 28.3 best_metric 379.12 best_cost 362.62
2024-02-28 01:20:05.527706 INFO pred_bat: Optimise price set 32.9 start_at_low False best_price 28.3 best_metric 367.88 best_cost 349.9
2024-02-28 01:20:05.649515 INFO pred_bat: Optimise price set 32.3 start_at_low False best_price 28.3 best_metric 367.88 best_cost 349.9
2024-02-28 01:20:05.680255 INFO pred_bat: Optimise price set 31.7 start_at_low False best_price 28.3 best_metric 367.86 best_cost 349.9
2024-02-28 01:20:05.815375 INFO pred_bat: Optimise price set 29.2 start_at_low False best_price 28.3 best_metric 367.88 best_cost 349.9
2024-02-28 01:20:05.929042 INFO pred_bat: Optimise price set 28.6 start_at_low False best_price 28.3 best_metric 367.88 best_cost 349.9
2024-02-28 01:20:06.157580 INFO pred_bat: Optimise price set 28.5 start_at_low False best_price 28.3 best_metric 367.88 best_cost 349.9
2024-02-28 01:20:06.385502 INFO pred_bat: Optimise price set 28.3 start_at_low False best_price 28.3 best_metric 367.88 best_cost 349.9
2024-02-28 01:20:06.483249 INFO pred_bat: Optimise price set 27.5 start_at_low False best_price 28.3 best_metric 367.86 best_cost 349.9
2024-02-28 01:20:06.736767 INFO pred_bat: Optimise price set 27.3 start_at_low False best_price 28.3 best_metric 367.88 best_cost 349.9
2024-02-28 01:20:06.856689 INFO pred_bat: Optimise price set 27.1 start_at_low False best_price 28.3 best_metric 367.88 best_cost 349.9
2024-02-28 01:20:06.973103 INFO pred_bat: Optimise price set 26.9 start_at_low False best_price 28.3 best_metric 367.88 best_cost 349.9
2024-02-28 01:20:07.090493 INFO pred_bat: Optimise price set 26.6 start_at_low False best_price 28.3 best_metric 367.88 best_cost 349.9
2024-02-28 01:20:07.199786 INFO pred_bat: Optimise price set 26.3 start_at_low False best_price 28.3 best_metric 364.61 best_cost 346.66
2024-02-28 01:20:07.312344 INFO pred_bat: Optimise price set 25.9 start_at_low False best_price 28.3 best_metric 364.62 best_cost 346.66
2024-02-28 01:20:07.709646 INFO pred_bat: Optimise price set 25.3 start_at_low False best_price 28.3 best_metric 364.61 best_cost 346.66
2024-02-28 01:20:08.231532 INFO pred_bat: Best charge windows best_metric 364.61 best_cost 346.66 metric_keep 0 end_record 02-29 02:00:00 windows [ 28-02 02:00:00 - 28-02 04:00:00 @ 23.15p 100%, 28-02 04:00:00 - 28-02 05:00:00 @ 24.3p 100%, 28-02 05:00:00 - 28-02 06:00:00 @ 25.9p 100%, 28-02 06:00:00 - 28-02 07:00:00 @ 29.6p 100%, 29-02 02:00:00 - 29-02 04:00:00 @ 23.15p 100%, 29-02 04:00:00 - 29-02 05:00:00 @ 24.3p 100%, 29-02 05:00:00 - 29-02 06:00:00 @ 25.9p 100%, 29-02 06:00:00 - 29-02 07:00:00 @ 29.6p 100%, 29-02 07:00:00 - 29-02 08:00:00 @ 35.9p 100%, 29-02 10:00:00 - 29-02 11:00:00 @ 36.4p 100%, 29-02 11:00:00 - 29-02 12:00:00 @ 34.6p 100%, 29-02 12:00:00 - 29-02 13:00:00 @ 31.2p 100%, 29-02 13:00:00 - 29-02 15:00:00 @ 30.05p 100%, 29-02 15:00:00 - 29-02 17:00:00 @ 31.1p 100%, 29-02 17:00:00 - 29-02 18:00:00 @ 31.9p 100%, 29-02 18:00:00 - 29-02 19:00:00 @ 31.3p 100%, 29-02 19:00:00 - 29-02 20:00:00 @ 29.4p 100%, 29-02 20:00:00 - 29-02 21:00:00 @ 29.8p 100%, 29-02 21:00:00 - 29-02 22:00:00 @ 28.8p 100%, 29-02 22:00:00 - 29-02 23:00:00 @ 26.3p 100%, 29-02 23:00:00 - 01-03 00:00:00 @ 23.1p 100%, 01-03 00:00:00 - 01-03 02:00:00 @ 23.7p 100% ]
2024-02-28 01:20:08.233115 INFO pred_bat: Best discharge windows best_metric 364.61 best_cost 346.66 metric_keep 0 end_record 02-29 02:00:00 windows [ 28-02 08:00:00 - 28-02 09:00:00 @ 38.5p 14%, 28-02 09:00:00 - 28-02 10:00:00 @ 38.3p 14%, 28-02 10:00:00 - 28-02 11:00:00 @ 36.4p 14%, 28-02 11:00:00 - 28-02 12:00:00 @ 34.6p 14%, 28-02 12:00:00 - 28-02 13:00:00 @ 31.2p 14%, 28-02 13:00:00 - 28-02 15:00:00 @ 30.05p 14%, 28-02 15:00:00 - 28-02 17:00:00 @ 31.1p 14%, 28-02 17:00:00 - 28-02 18:00:00 @ 31.9p 14%, 28-02 18:00:00 - 28-02 19:00:00 @ 31.3p 14%, 28-02 19:00:00 - 28-02 20:00:00 @ 29.4p 14%, 28-02 20:00:00 - 28-02 21:00:00 @ 29.8p 14%, 28-02 21:00:00 - 28-02 22:00:00 @ 28.8p 14% ]
2024-02-28 01:20:08.234376 INFO pred_bat: Optimise price set 25.3 start_at_low True best_price 28.3 best_metric 364.61 best_cost 346.66
2024-02-28 01:20:08.705599 INFO pred_bat: Optimise price set 25.9 start_at_low True best_price 28.3 best_metric 364.61 best_cost 346.66
2024-02-28 01:20:09.060094 INFO pred_bat: Optimise price set 26.3 start_at_low True best_price 28.3 best_metric 364.61 best_cost 346.66
2024-02-28 01:20:09.175231 INFO pred_bat: Optimise price set 26.6 start_at_low True best_price 28.3 best_metric 364.62 best_cost 346.66
2024-02-28 01:20:09.273442 INFO pred_bat: Optimise price set 26.9 start_at_low True best_price 28.3 best_metric 364.61 best_cost 346.66
2024-02-28 01:20:09.384580 INFO pred_bat: Optimise price set 27.3 start_at_low True best_price 28.3 best_metric 364.62 best_cost 346.66
2024-02-28 01:20:09.546154 INFO pred_bat: Optimise price set 27.5 start_at_low True best_price 28.3 best_metric 364.62 best_cost 346.66
2024-02-28 01:20:09.795769 INFO pred_bat: Optimise price set 28.3 start_at_low True best_price 28.3 best_metric 364.62 best_cost 346.66
2024-02-28 01:20:09.846282 INFO pred_bat: Optimise price set 28.7 start_at_low True best_price 28.3 best_metric 364.61 best_cost 346.66
2024-02-28 01:20:10.011721 INFO pred_bat: Optimise price set 31.4 start_at_low True best_price 28.3 best_metric 364.61 best_cost 346.66
2024-02-28 01:20:10.041322 INFO pred_bat: Optimise price set 32.1 start_at_low True best_price 28.3 best_metric 364.61 best_cost 346.66
2024-02-28 01:20:10.070966 INFO pred_bat: Optimise price set 32.3 start_at_low True best_price 28.3 best_metric 364.61 best_cost 346.66
2024-02-28 01:20:10.104136 INFO pred_bat: Optimise price set 32.5 start_at_low True best_price 28.3 best_metric 364.61 best_cost 346.66
2024-02-28 01:20:10.137580 INFO pred_bat: Optimise price set 32.8 start_at_low True best_price 28.3 best_metric 364.61 best_cost 346.66
2024-02-28 01:20:10.166954 INFO pred_bat: Optimise price set 34.0 start_at_low True best_price 28.3 best_metric 364.61 best_cost 346.66
2024-02-28 01:20:10.197376 INFO pred_bat: Optimise price set 34.1 start_at_low True best_price 28.3 best_metric 364.61 best_cost 346.66
2024-02-28 01:20:10.227568 INFO pred_bat: Optimise price set 34.2 start_at_low True best_price 28.3 best_metric 364.61 best_cost 346.66
2024-02-28 01:20:10.261881 INFO pred_bat: Optimise price set 34.8 start_at_low True best_price 28.3 best_metric 364.61 best_cost 346.66
2024-02-28 01:20:10.290360 INFO pred_bat: Optimise price set 37.8 start_at_low True best_price 28.3 best_metric 364.61 best_cost 346.66
2024-02-28 01:20:10.318986 INFO pred_bat: Optimise price set 39.2 start_at_low True best_price 28.3 best_metric 364.61 best_cost 346.66
2024-02-28 01:20:10.352652 INFO pred_bat: Optimise price set 39.7 start_at_low True best_price 28.3 best_metric 364.61 best_cost 346.66
2024-02-28 01:20:10.541490 INFO pred_bat: Best charge windows best_metric 364.61 best_cost 346.66 metric_keep 0 end_record 02-29 02:00:00 windows [ 28-02 02:00:00 - 28-02 04:00:00 @ 23.15p 100%, 28-02 04:00:00 - 28-02 05:00:00 @ 24.3p 100%, 28-02 05:00:00 - 28-02 06:00:00 @ 25.9p 100%, 28-02 06:00:00 - 28-02 07:00:00 @ 29.6p 100%, 28-02 07:00:00 - 28-02 08:00:00 @ 35.9p 100%, 29-02 02:00:00 - 29-02 04:00:00 @ 23.15p 100%, 29-02 04:00:00 - 29-02 05:00:00 @ 24.3p 100%, 29-02 05:00:00 - 29-02 06:00:00 @ 25.9p 100%, 29-02 06:00:00 - 29-02 07:00:00 @ 29.6p 100%, 29-02 07:00:00 - 29-02 08:00:00 @ 35.9p 100%, 29-02 10:00:00 - 29-02 11:00:00 @ 36.4p 100%, 29-02 11:00:00 - 29-02 12:00:00 @ 34.6p 100%, 29-02 12:00:00 - 29-02 13:00:00 @ 31.2p 100%, 29-02 13:00:00 - 29-02 15:00:00 @ 30.05p 100%, 29-02 15:00:00 - 29-02 17:00:00 @ 31.1p 100%, 29-02 17:00:00 - 29-02 18:00:00 @ 31.9p 100%, 29-02 18:00:00 - 29-02 19:00:00 @ 31.3p 100%, 29-02 19:00:00 - 29-02 20:00:00 @ 29.4p 100%, 29-02 20:00:00 - 29-02 21:00:00 @ 29.8p 100%, 29-02 21:00:00 - 29-02 22:00:00 @ 28.8p 100%, 29-02 22:00:00 - 29-02 23:00:00 @ 26.3p 100%, 29-02 23:00:00 - 01-03 00:00:00 @ 23.1p 100%, 01-03 00:00:00 - 01-03 02:00:00 @ 23.7p 100% ]
2024-02-28 01:20:10.543073 INFO pred_bat: Best discharge windows best_metric 364.61 best_cost 346.66 metric_keep 0 end_record 02-29 02:00:00 windows [ 28-02 08:00:00 - 28-02 09:00:00 @ 38.5p 14%, 28-02 09:00:00 - 28-02 10:00:00 @ 38.3p 14%, 28-02 10:00:00 - 28-02 11:00:00 @ 36.4p 14%, 28-02 11:00:00 - 28-02 12:00:00 @ 34.6p 14%, 28-02 12:00:00 - 28-02 13:00:00 @ 31.2p 14%, 28-02 13:00:00 - 28-02 15:00:00 @ 30.05p 14%, 28-02 15:00:00 - 28-02 17:00:00 @ 31.1p 14%, 28-02 17:00:00 - 28-02 18:00:00 @ 31.9p 14%, 28-02 18:00:00 - 28-02 19:00:00 @ 31.3p 14%, 28-02 19:00:00 - 28-02 20:00:00 @ 29.4p 14%, 28-02 20:00:00 - 28-02 21:00:00 @ 29.8p 14%, 28-02 21:00:00 - 28-02 22:00:00 @ 28.8p 14% ]
2024-02-28 01:20:10.544396 INFO pred_bat: Second pass optimisation started
2024-02-28 01:20:10.629961 INFO pred_bat: Final optimisation type c window 0 metric 364.60843203735783 metric_keep 0 cost 346.66
2024-02-28 01:20:12.261237 INFO pred_bat: Final optimisation type c window 8 metric 364.60843203735783 metric_keep 0 cost 346.66
2024-02-28 01:20:14.042710 INFO pred_bat: Final optimisation type c window 16 metric 364.60843203735783 metric_keep 0 cost 346.66
2024-02-28 01:20:14.603480 INFO pred_bat: Second pass optimisation finished metric 364.60843203735783 cost 346.66 metric_keep 0
2024-02-28 01:20:14.604525 INFO pred_bat: Tweak optimisation started
2024-02-28 01:20:15.560790 INFO pred_bat: Tweak optimisation finished metric 364.61 cost 346.66 metric_keep 0
2024-02-28 01:20:15.571060 INFO pred_bat: Discharge windows filtered [ 28-02 08:00:00 - 28-02 23:00:00 @ 38.5p 14%, 29-02 00:00:00 - 29-02 01:00:00 @ 23.9p 14% ]
2024-02-28 01:20:15.581554 INFO pred_bat: Filtered charge windows [ 28-02 02:00:00 - 28-02 08:00:00 @ 23.15p 100%, 29-02 02:00:00 - 29-02 08:00:00 @ 23.15p 100%, 29-02 10:00:00 - 01-03 02:00:00 @ 36.4p 100% ] reserve 1.4
2024-02-28 01:20:15.595049 INFO pred_bat: predict base end_record 02-29 02:00:00 final soc 1.4 kWh metric 428.7 p metric_keep 0 min_soc 1.4 @ 02-28 01:45:00 kWh load 18.85 pv 8.36
2024-02-28 01:20:15.596561 INFO pred_bat:          [  01:20,   02:20,   03:20,   04:20,   05:20,   06:20,   07:20,   08:20,   09:20,   10:20,   11:20,   12:20,   13:20,   14:20,   15:20,   16:20,   17:20,   18:20,   19:20,   20:20,   21:20,   22:20,   23:20,   00:20,   01:20]
2024-02-28 01:20:15.598029 INFO pred_bat:     SOC: [    0.4,     1.4,     1.4,     1.4,     1.4,     1.4,    1.41,    1.51,     1.4,     1.5,     1.4,    1.48,    1.48,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4]
2024-02-28 01:20:15.599444 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<be-,   g<be-,   g~be~,   g~be~]
2024-02-28 01:20:15.600913 INFO pred_bat:    LOAD: [    0.0,     1.7,    1.72,    1.74,    1.75,    1.77,    1.79,    1.85,    3.25,    4.73,    6.14,    7.58,    8.88,   10.48,   12.46,   14.03,   15.52,   16.93,   17.65,    17.8,   17.95,    18.3,   18.42,   18.49,   18.64]
2024-02-28 01:20:15.602429 INFO pred_bat:      PV: [    0.0,     0.0,     0.0,     0.0,     0.0,     0.0,    0.01,    0.19,    0.76,    1.74,     3.0,    4.43,     5.8,    7.03,     7.9,    8.27,    8.36,    8.36,    8.36,    8.36,    8.36,    8.36,    8.36,    8.36,    8.36]
2024-02-28 01:20:15.603944 INFO pred_bat:  IMPORT: [   3.87,    5.71,    5.73,    5.75,    5.76,    5.78,    5.79,    5.79,    6.54,    7.19,    7.33,     7.5,     7.5,    7.86,    9.01,   10.23,   11.64,   13.04,   13.76,   13.91,   14.06,   14.41,   14.53,    14.6,   14.75]
2024-02-28 01:20:15.605408 INFO pred_bat:  EXPORT: [    0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0]
2024-02-28 01:20:15.606922 INFO pred_bat:  METRIC: [  92.26,  135.44,  135.82,  136.21,  136.62,  137.07,   137.4,   137.4,  166.35,  191.21,  196.08,  201.95,  201.95,  212.82,  247.94,  285.86,  330.12,  374.75,  397.18,  401.54,  405.95,  415.72,  418.55,  420.33,  423.84]
2024-02-28 01:20:15.723522 INFO pred_bat: Battery has 0.42 hours left - now at 0.4
2024-02-28 01:20:15.755740 INFO pred_bat: predict base10 end_record 02-29 02:00:00 final soc 1.4 kWh metric 708.68 p metric_keep 0 min_soc 1.4 @ 02-28 01:45:00 kWh load 20.7 pv 1.33
2024-02-28 01:20:15.757272 INFO pred_bat:          [  01:20,   02:20,   03:20,   04:20,   05:20,   06:20,   07:20,   08:20,   09:20,   10:20,   11:20,   12:20,   13:20,   14:20,   15:20,   16:20,   17:20,   18:20,   19:20,   20:20,   21:20,   22:20,   23:20,   00:20,   01:20]
2024-02-28 01:20:15.758737 INFO pred_bat:     SOC: [    0.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,    1.41,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4]
2024-02-28 01:20:15.761576 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<be-,   g<be-,   g~be~,   g~be~]
2024-02-28 01:20:15.763110 INFO pred_bat:    LOAD: [    0.0,    1.87,    1.89,    1.91,    1.93,    1.95,    1.97,    2.04,    3.57,    5.21,    6.76,    8.34,    9.77,   11.53,    13.7,   15.44,   17.08,   18.63,   19.41,   19.58,   19.74,   20.13,   20.26,   20.34,   20.49]
2024-02-28 01:20:15.764611 INFO pred_bat:      PV: [    0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,    0.04,    0.15,     0.3,    0.48,    0.68,    0.88,    1.07,    1.23,    1.31,    1.33,    1.33,    1.33,    1.33,    1.33,    1.33,    1.33,    1.33,    1.33]
2024-02-28 01:20:15.766097 INFO pred_bat:  IMPORT: [   3.87,    5.88,     5.9,    5.92,    5.94,    5.96,    5.97,    6.01,    7.44,    8.95,   10.31,    11.7,   12.95,   14.53,   16.55,   18.21,   19.83,   21.38,   22.16,   22.33,   22.49,   22.88,   23.01,   23.09,   23.24]
2024-02-28 01:20:15.767628 INFO pred_bat:  EXPORT: [    0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0]
2024-02-28 01:20:15.769181 INFO pred_bat:  METRIC: [  92.26,  139.43,  139.85,  140.28,  140.73,  141.23,  141.73,  143.14,  198.17,  255.29,  304.33,  351.06,  389.47,  436.89,  498.61,   550.0,   601.0,  650.16,  674.84,  679.63,  684.49,  695.24,  698.35,   700.3,  703.81]
2024-02-28 01:20:15.902303 INFO pred_bat: predict best10 end_record 02-29 02:00:00 final soc 1.4 kWh metric 657.89 p metric_keep 0 min_soc 1.4 @ 02-28 10:45:00 kWh load 20.7 pv 1.33
2024-02-28 01:20:15.903834 INFO pred_bat:          [  01:20,   02:20,   03:20,   04:20,   05:20,   06:20,   07:20,   08:20,   09:20,   10:20,   11:20,   12:20,   13:20,   14:20,   15:20,   16:20,   17:20,   18:20,   19:20,   20:20,   21:20,   22:20,   23:20,   00:20,   01:20]
2024-02-28 01:20:15.905285 INFO pred_bat:     SOC: [    0.4,    1.93,    3.46,    4.92,    6.37,    7.83,    9.28,    8.99,    5.95,    2.91,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4]
2024-02-28 01:20:15.906700 INFO pred_bat:   STATE: [  g<be-,   g<bf+,   g<bf+,   g<bf+,   g<bf+,   g<bf+,   g<bf+,   g>bf-,   g>bf-,   g>bf-,   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~]
2024-02-28 01:20:15.908164 INFO pred_bat:    LOAD: [    0.0,    1.87,    1.89,    1.91,    1.93,    1.95,    1.97,    2.04,    3.57,    5.21,    6.76,    8.34,    9.77,   11.53,    13.7,   15.44,   17.08,   18.63,   19.41,   19.58,   19.74,   20.13,   20.26,   20.34,   20.49]
2024-02-28 01:20:15.909645 INFO pred_bat:      PV: [    0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,    0.04,    0.15,     0.3,    0.48,    0.68,    0.88,    1.07,    1.23,    1.31,    1.33,    1.33,    1.33,    1.33,    1.33,    1.33,    1.33,    1.33,    1.33]
2024-02-28 01:20:15.911151 INFO pred_bat:  IMPORT: [   3.87,    6.45,    8.14,    9.74,   11.33,   12.93,   14.52,    15.3,    15.3,   15.31,   16.01,    17.4,   18.65,   20.22,   22.25,    23.9,   25.52,   27.07,   27.86,   28.02,   28.19,   28.58,    28.7,   28.79,   28.94]
2024-02-28 01:20:15.912654 INFO pred_bat:  EXPORT: [    0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,    0.89,    2.26,    3.58,    4.29,    4.29,    4.29,    4.29,    4.29,    4.29,    4.29,    4.29,    4.29,    4.29,    4.29,    4.29,    4.29,    4.29,    4.29]
2024-02-28 01:20:15.914187 INFO pred_bat:  METRIC: [  92.26,   152.6,  191.58,  229.21,  268.88,  312.21,  362.77,  356.17,  303.58,  254.78,  253.54,  300.27,  338.69,   386.1,  447.83,  499.21,  550.21,  599.38,  624.05,  628.84,   633.7,  644.45,  647.56,  649.51,  653.02]
2024-02-28 01:20:16.058034 INFO pred_bat: predict best end_record 02-29 02:00:00 final soc 1.4 kWh metric 377.11 p metric_keep 0 min_soc 1.4 @ 02-28 10:45:00 kWh load 18.85 pv 8.36
2024-02-28 01:20:16.059580 INFO pred_bat:          [  01:20,   02:20,   03:20,   04:20,   05:20,   06:20,   07:20,   08:20,   09:20,   10:20,   11:20,   12:20,   13:20,   14:20,   15:20,   16:20,   17:20,   18:20,   19:20,   20:20,   21:20,   22:20,   23:20,   00:20,   01:20]
2024-02-28 01:20:16.061065 INFO pred_bat:     SOC: [    0.4,    1.93,    3.46,    4.92,    6.37,    7.83,    9.28,    8.99,    5.95,    2.91,     1.4,    1.48,    1.48,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4]
2024-02-28 01:20:16.062492 INFO pred_bat:   STATE: [  g<be-,   g<bf+,   g<bf+,   g<bf+,   g<bf+,   g<bf+,   g<bf+,   g>bf-,   g>bf-,   g>bf-,   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~]
2024-02-28 01:20:16.063987 INFO pred_bat:    LOAD: [    0.0,     1.7,    1.72,    1.74,    1.75,    1.77,    1.79,    1.85,    3.25,    4.73,    6.14,    7.58,    8.88,   10.48,   12.46,   14.03,   15.52,   16.93,   17.65,    17.8,   17.95,    18.3,   18.42,   18.49,   18.64]
2024-02-28 01:20:16.065474 INFO pred_bat:      PV: [    0.0,     0.0,     0.0,     0.0,     0.0,     0.0,    0.01,    0.19,    0.76,    1.74,     3.0,    4.43,     5.8,    7.03,     7.9,    8.27,    8.36,    8.36,    8.36,    8.36,    8.36,    8.36,    8.36,    8.36,    8.36]
2024-02-28 01:20:16.066972 INFO pred_bat:  IMPORT: [   3.87,    6.28,    7.97,    9.56,   11.16,   12.75,   14.34,   15.06,   15.06,   15.06,   15.13,    15.3,    15.3,   15.66,   16.81,   18.03,   19.43,   20.84,   21.56,   21.71,   21.85,   22.21,   22.32,    22.4,   22.55]
2024-02-28 01:20:16.068474 INFO pred_bat:  EXPORT: [    0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,    0.98,    2.93,    5.17,    6.42,    6.42,    6.42,    6.42,    6.42,    6.42,    6.42,    6.42,    6.42,    6.42,    6.42,    6.42,    6.42,    6.42,    6.42]
2024-02-28 01:20:16.070009 INFO pred_bat:  METRIC: [  92.26,  148.61,  187.55,  225.15,  264.77,  308.06,  358.26,  346.19,  271.49,  187.37,  144.49,  150.36,  150.36,  161.23,  196.35,  234.27,  278.53,  323.16,  345.59,  349.95,  354.36,  364.13,  366.96,  368.73,  372.25]
2024-02-28 01:20:16.230028 INFO pred_bat: Evaluate trigger {'name': 'large', 'minutes': 60, 'energy': 1.0} results off total_energy 0
2024-02-28 01:20:16.236868 INFO pred_bat: Evaluate trigger {'name': 'small', 'minutes': 15, 'energy': 0.25} results off total_energy 0
2024-02-28 01:20:16.243077 INFO pred_bat: Best charging limit socs [10.0, 10.0, 10.0] export [14, 14] gives import battery 30.25 house 9.24 export 7.43 metric 377.11 metric10 657.89
2024-02-28 01:20:16.303644 INFO pred_bat: Reserve min: 14.0% Battery_min:14.0%
2024-02-28 01:20:16.305053 INFO pred_bat: Inverter 0 with soc_max 10.0 kWh nominal_capacity 10.0 kWh battery rate raw 3500.0 w charge rate 3.5 kW discharge rate 3.5 kW battery_rate_min 0.0 w ac limit 10.0 kW export limit 10.0 kW reserve 14.0 % current_reserve 14.0 %
2024-02-28 01:20:16.310892 INFO pred_bat: Inverter 0 SOC: 0.4 kW 4 % Current charge rate 4500.0 w Current discharge rate 2800.0 w Current power 0.0 w Current voltage 52.0
2024-02-28 01:20:16.311980 INFO pred_bat: Inverter 0 scheduled charge enable is False
2024-02-28 01:20:16.313064 INFO pred_bat: Inverter 0 charge windows currently []
2024-02-28 01:20:16.314200 INFO pred_bat: Inverter 0 Charge settings: timed charged is disabled, power 4.5 kW
2024-02-28 01:20:16.316375 INFO pred_bat: Inverter 0 scheduled discharge enable is False
2024-02-28 01:20:16.317637 INFO pred_bat: Inverter 0 discharge windows currently [{'start': 0, 'end': 0, 'average': 0}, {'start': 1440, 'end': 1440, 'average': 0}]
2024-02-28 01:20:16.318462 INFO pred_bat: Note: Inverter does not support discharge freeze - disabled
2024-02-28 01:20:16.319270 INFO pred_bat: Note: Inverter does not support charge freeze - disabled
2024-02-28 01:20:16.320103 INFO pred_bat: Note: Inverter does not support reserve - disabling reserve functions
2024-02-28 01:20:16.321048 INFO pred_bat: Found 1 inverters totals: min reserve 1.4 current reserve 1.4 soc_max 10.0 soc 0.4 charge rate 4.5 kW discharge rate 2.8000000000000003 kW battery_rate_min 0.0 w ac limit 10.0 export limit 10.0 kW loss charge 3 % loss discharge 3 % inverter loss 5 %
2024-02-28 01:20:16.345771 INFO pred_bat: Base charge    window [  ]
2024-02-28 01:20:16.346870 INFO pred_bat: Base discharge window [ 28-02 00:00:00 - 28-02 00:00:00 @ 0p 100.0%, 29-02 00:00:00 - 29-02 00:00:00 @ 0p 100.0% ]
2024-02-28 01:20:16.347816 INFO pred_bat: Charge window will be: 2024-02-28 02:00:00+01:00 - 2024-02-28 08:00:00+01:00 - current soc 4 target 100
2024-02-28 01:20:16.348805 INFO pred_bat: Not setting charging window yet as not within the window (now 02-28 01:20:00 target set_window_minutes 30 charge start time 02-28 02:00:00
2024-02-28 01:20:16.350114 INFO pred_bat: Next discharge window will be: 2024-02-28 08:00:00+01:00 - 2024-02-28 23:01:00+01:00 at reserve 14
2024-02-28 01:20:16.351276 INFO pred_bat: Setting ECO mode as we are not yet within the discharge window - next time is 02-28 08:00:00 - 02-28 23:00:00
2024-02-28 01:20:16.353881 INFO pred_bat: Inverter 0 Adjust force discharge to False, change times from 00:00:00 - 00:00:00 to 00:00:00 - 00:00:00
2024-02-28 01:20:16.355195 INFO pred_bat: Inverter 0 Stop charge via Service huawei_solar/stop_forcible_charge
2024-02-28 01:20:16.356499 INFO pred_bat: Call service huawei_solar/stop_forcible_charge device_id 6893ee838a0972bd3e50d9e0faa0ba5a
2024-02-28 01:20:16.359079 INFO pred_bat: Current SOC 4% is greater than Target SOC 0. Grid Charge disabled.
2024-02-28 01:20:16.370786 INFO pred_bat: Completed run status Idle
2024-02-28 01:25:00.005867 INFO pred_bat: --------------- PredBat - update at 2024-02-28 01:25:00.005056+01:00 with clock skew 0 minutes, minutes now 85
2024-02-28 01:25:00.014096 INFO pred_bat: Using cached GITHub data for https://api.github.com/repos/springfall2008/batpred/releases age 80.0 minutes
2024-02-28 01:25:00.015071 INFO pred_bat: Predbat /config/apps/predbat.py version v7.16.2 currently running, latest version is v7.16.2 latest beta v7.16.2
2024-02-28 01:25:00.015969 INFO pred_bat: Autoupdate: Currently up to date
2024-02-28 01:25:00.026564 INFO pred_bat: Inverter type HU forecast_hours 48 max_windows 48 num_cars 0 debug enable is False calculate_plan_every 5
2024-02-28 01:25:00.027762 INFO pred_bat: WARN: Using experimental inverter type HU - not all features are available
2024-02-28 01:25:00.028962 INFO pred_bat: Predbat mode is set to Control charge & discharge
2024-02-28 01:25:00.348318 INFO pred_bat: Found 15841 load_today datapoints going back 11 days
2024-02-28 01:25:02.013474 INFO pred_bat: Car charging hold False threshold 6.0
2024-02-28 01:25:02.014408 INFO pred_bat: Current data so far today: load 0.0 kWh import 4.01 kWh export 0.0 kWh pv 0.0 kWh
2024-02-28 01:25:02.015314 INFO pred_bat: Fetching futurerate data from None
2024-02-28 01:25:02.021595 INFO pred_bat: Standing charge is set to 0.0 p
2024-02-28 01:25:02.378433 INFO pred_bat: Rate min forward looking: now 23.1 at end of forecast 23.1
2024-02-28 01:25:02.381998 INFO pred_bat: Import rates min 23.1 max 38.5 average 29.64
2024-02-28 01:25:02.392501 INFO pred_bat: Export rates min 23.1 max 38.5 average 29.64
2024-02-28 01:25:02.395141 INFO pred_bat: Rate thresholds (for charge/discharge) are import 38.0p (0.0) export 23.6p (0.0)
2024-02-28 01:25:02.402130 INFO pred_bat: High export rate found rates in range 23.9 to 38.5
2024-02-28 01:25:02.409581 INFO pred_bat: Low Import rate found rates in range 23.1 to 36.4
2024-02-28 01:25:02.438556 INFO pred_bat: Todays energy import 4.01 kWh export 0.0 kWh cost 95.55 p import 95.55 p export 0.0 p
2024-02-28 01:25:02.442028 INFO pred_bat: PV Data for pv_forecast_today total 8.36 kWh
2024-02-28 01:25:02.447841 INFO pred_bat: PV Data for pv_forecast_tomorrow total 5.72 kWh
2024-02-28 01:25:02.451142 INFO pred_bat: PV Data for pv_forecast_d3 total 3.09 kWh
2024-02-28 01:25:02.454542 INFO pred_bat: PV Data for pv_forecast_d4 total 4.64 kWh
2024-02-28 01:25:02.465794 INFO pred_bat: Historical data totals for days [10] are [18.05] - min 18.05
2024-02-28 01:25:02.467698 INFO pred_bat: WARN: Historical day 10 has 220 minutes of gap in the data, filled from 18.05 kWh to make new average 21.3 kWh (percent 85%)
2024-02-28 01:25:02.489499 INFO pred_bat: Historical days now [10] weight [1]
2024-02-28 01:25:02.496809 INFO pred_bat: Today's load divergence 100.0 % in-day adjustment 100.0 % damping 0.95x, Predicted so far 0 kWh with 0.0 kWh car excluded and 9.57 kWh import ignored and 0 forecast extra, Actual so far 0 kWh with 0.0 kWh car excluded and 0.0 kWh import ignored
2024-02-28 01:25:02.524013 INFO pred_bat: Reserve min: 14.0% Battery_min:14.0%
2024-02-28 01:25:02.525391 INFO pred_bat: Inverter 0 with soc_max 10.0 kWh nominal_capacity 10.0 kWh battery rate raw 3500.0 w charge rate 3.5 kW discharge rate 3.5 kW battery_rate_min 0.0 w ac limit 10.0 kW export limit 10.0 kW reserve 14.0 % current_reserve 14.0 %
2024-02-28 01:25:02.531295 INFO pred_bat: Inverter 0 SOC: 0.4 kW 4 % Current charge rate 4500.0 w Current discharge rate 2800.0 w Current power 0.0 w Current voltage 52.0
2024-02-28 01:25:02.532338 INFO pred_bat: Inverter 0 scheduled charge enable is False
2024-02-28 01:25:02.533398 INFO pred_bat: Inverter 0 charge windows currently []
2024-02-28 01:25:02.534476 INFO pred_bat: Inverter 0 Charge settings: timed charged is disabled, power 4.5 kW
2024-02-28 01:25:02.536539 INFO pred_bat: Inverter 0 scheduled discharge enable is False
2024-02-28 01:25:02.537747 INFO pred_bat: Inverter 0 discharge windows currently [{'start': 0, 'end': 0, 'average': 0}, {'start': 1440, 'end': 1440, 'average': 0}]
2024-02-28 01:25:02.538497 INFO pred_bat: Note: Inverter does not support discharge freeze - disabled
2024-02-28 01:25:02.539264 INFO pred_bat: Note: Inverter does not support charge freeze - disabled
2024-02-28 01:25:02.540031 INFO pred_bat: Note: Inverter does not support reserve - disabling reserve functions
2024-02-28 01:25:02.540927 INFO pred_bat: Found 1 inverters totals: min reserve 1.4 current reserve 1.4 soc_max 10.0 soc 0.4 charge rate 4.5 kW discharge rate 2.8000000000000003 kW battery_rate_min 0.0 w ac limit 10.0 export limit 10.0 kW loss charge 3 % loss discharge 3 % inverter loss 5 %
2024-02-28 01:25:02.565444 INFO pred_bat: Base charge    window [  ]
2024-02-28 01:25:02.566438 INFO pred_bat: Base discharge window [ 28-02 00:00:00 - 28-02 00:00:00 @ 0p 100.0%, 29-02 00:00:00 - 29-02 00:00:00 @ 0p 100.0% ]
2024-02-28 01:25:02.567132 INFO pred_bat: Plan was last updated on 2024-02-28 01:20:00.009941+01:00 and is now 5.0 minutes old
2024-02-28 01:25:02.567988 INFO pred_bat: Best charge    window [ 28-02 02:00:00 - 28-02 08:00:00 @ 23.15p 100%, 29-02 02:00:00 - 29-02 08:00:00 @ 23.15p 100%, 29-02 10:00:00 - 01-03 02:00:00 @ 36.4p 100% ]
2024-02-28 01:25:02.568830 INFO pred_bat: Best discharge window [ 28-02 08:00:00 - 28-02 23:00:00 @ 38.5p 14%, 29-02 00:00:00 - 29-02 01:00:00 @ 23.9p 14% ]
2024-02-28 01:25:02.579066 INFO pred_bat: Creating pool of 2 processes to match your CPU count
2024-02-28 01:25:02.612246 INFO pred_bat: predict base end_record 02-29 02:05:00 final soc 1.4 kWh metric 427.31 p metric_keep 0 min_soc 1.4 @ 02-28 01:50:00 kWh load 18.65 pv 8.36
2024-02-28 01:25:02.614109 INFO pred_bat:          [  01:25,   02:25,   03:25,   04:25,   05:25,   06:25,   07:25,   08:25,   09:25,   10:25,   11:25,   12:25,   13:25,   14:25,   15:25,   16:25,   17:25,   18:25,   19:25,   20:25,   21:25,   22:25,   23:25,   00:25,   01:25]
2024-02-28 01:25:02.615813 INFO pred_bat:     SOC: [    0.4,     1.4,     1.4,     1.4,     1.4,     1.4,    1.41,    1.51,     1.4,    1.59,     1.4,    1.44,    1.47,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4]
2024-02-28 01:25:02.617635 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<be-,   g<be-,   g~be~,   g~be~]
2024-02-28 01:25:02.619272 INFO pred_bat:    LOAD: [    0.0,     1.5,    1.52,    1.54,    1.55,    1.57,    1.59,    1.68,    3.17,    4.53,    6.06,    7.53,     8.8,   10.42,   12.36,   13.96,   15.43,   16.86,   17.52,   17.67,   17.82,   18.11,   18.23,   18.29,   18.44]
2024-02-28 01:25:02.621092 INFO pred_bat:      PV: [    0.0,     0.0,     0.0,     0.0,     0.0,     0.0,    0.01,    0.22,    0.82,    1.83,    3.11,    4.55,    5.91,    7.13,    7.96,    8.29,    8.36,    8.36,    8.36,    8.36,    8.36,    8.36,    8.36,    8.36,    8.36]
2024-02-28 01:25:02.623676 INFO pred_bat:  IMPORT: [   4.01,    5.65,    5.67,    5.69,     5.7,    5.72,    5.73,    5.73,    6.54,    7.13,    7.28,    7.44,    7.44,    7.84,     9.0,   10.28,   11.68,   13.11,   13.77,   13.92,   14.07,   14.36,   14.48,   14.54,   14.69]
2024-02-28 01:25:02.625212 INFO pred_bat:  EXPORT: [    0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0]
2024-02-28 01:25:02.626791 INFO pred_bat:  METRIC: [  95.55,  134.06,  134.44,  134.84,  135.25,   135.7,  135.99,  135.99,  167.15,   189.8,  194.96,  200.54,  200.54,  212.72,  248.14,  287.83,  332.19,  377.25,  397.95,  402.33,  406.66,  414.54,  417.34,   418.9,   422.4]
2024-02-28 01:25:02.798238 INFO pred_bat: Battery has 0.42 hours left - now at 0.4
2024-02-28 01:25:02.825888 INFO pred_bat: predict base10 end_record 02-29 02:05:00 final soc 1.4 kWh metric 706.81 p metric_keep 0 min_soc 1.4 @ 02-28 01:50:00 kWh load 20.48 pv 1.33
2024-02-28 01:25:02.827393 INFO pred_bat:          [  01:25,   02:25,   03:25,   04:25,   05:25,   06:25,   07:25,   08:25,   09:25,   10:25,   11:25,   12:25,   13:25,   14:25,   15:25,   16:25,   17:25,   18:25,   19:25,   20:25,   21:25,   22:25,   23:25,   00:25,   01:25]
2024-02-28 01:25:02.828825 INFO pred_bat:     SOC: [    0.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,    1.43,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4]
2024-02-28 01:25:02.830224 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<be-,   g<be-,   g~be~,   g~be~]
2024-02-28 01:25:02.831751 INFO pred_bat:    LOAD: [    0.0,    1.66,    1.67,    1.69,    1.71,    1.73,    1.75,    1.85,    3.48,    4.99,    6.66,    8.29,    9.68,   11.46,    13.6,   15.35,   16.98,   18.54,   19.28,   19.44,    19.6,   19.92,   20.05,   20.12,   20.27]
2024-02-28 01:25:02.833193 INFO pred_bat:      PV: [    0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,    0.05,    0.16,    0.31,    0.49,     0.7,    0.89,    1.09,    1.24,    1.31,    1.33,    1.33,    1.33,    1.33,    1.33,    1.33,    1.33,    1.33,    1.33]
2024-02-28 01:25:02.834646 INFO pred_bat:  IMPORT: [   4.01,     5.8,    5.82,    5.84,    5.86,    5.88,    5.89,    5.95,    7.48,    8.87,   10.35,   11.77,   12.98,   14.58,   16.58,   18.26,   19.87,   21.43,   22.17,   22.33,   22.49,   22.81,   22.94,   23.01,   23.16]
2024-02-28 01:25:02.836122 INFO pred_bat:  EXPORT: [    0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0]
2024-02-28 01:25:02.837613 INFO pred_bat:  METRIC: [  95.55,  137.59,  138.01,  138.44,  138.89,  139.39,  139.88,  142.18,  200.94,  253.41,   306.3,  353.81,  390.99,  438.98,  499.99,   552.3,  602.98,  652.59,  675.35,  680.17,  684.94,  693.61,  696.69,   698.4,   701.9]
2024-02-28 01:25:02.989394 INFO pred_bat: predict best10 end_record 02-29 02:05:00 final soc 1.53 kWh metric 659.32 p metric_keep 0 min_soc 1.4 @ 02-28 10:45:00 kWh load 20.48 pv 1.33
2024-02-28 01:25:02.990932 INFO pred_bat:          [  01:25,   02:25,   03:25,   04:25,   05:25,   06:25,   07:25,   08:25,   09:25,   10:25,   11:25,   12:25,   13:25,   14:25,   15:25,   16:25,   17:25,   18:25,   19:25,   20:25,   21:25,   22:25,   23:25,   00:25,   01:25]
2024-02-28 01:25:02.992377 INFO pred_bat:     SOC: [    0.4,    2.06,    3.58,    5.04,    6.49,    7.95,     9.4,    8.73,     5.7,    2.66,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4]
2024-02-28 01:25:02.994171 INFO pred_bat:   STATE: [  g<be-,   g<bf+,   g<bf+,   g<bf+,   g<bf+,   g<bf+,   g<bf+,   g>bf-,   g>bf-,   g>bf-,   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~]
2024-02-28 01:25:02.995633 INFO pred_bat:    LOAD: [    0.0,    1.66,    1.67,    1.69,    1.71,    1.73,    1.75,    1.85,    3.48,    4.99,    6.66,    8.29,    9.68,   11.46,    13.6,   15.35,   16.98,   18.54,   19.28,   19.44,    19.6,   19.92,   20.05,   20.12,   20.27]
2024-02-28 01:25:02.997092 INFO pred_bat:      PV: [    0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,    0.05,    0.16,    0.31,    0.49,     0.7,    0.89,    1.09,    1.24,    1.31,    1.33,    1.33,    1.33,    1.33,    1.33,    1.33,    1.33,    1.33,    1.33]
2024-02-28 01:25:02.998554 INFO pred_bat:  IMPORT: [   4.01,    6.52,    8.19,    9.79,   11.39,   12.98,   14.58,   15.22,   15.22,   15.23,   16.04,   17.47,   18.68,   20.28,   22.27,   23.96,   25.56,   27.13,   27.86,   28.03,   28.19,   28.51,   28.63,   28.71,   28.86]
2024-02-28 01:25:03.000023 INFO pred_bat:  EXPORT: [    0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     1.1,    2.37,    3.83,    4.29,    4.29,    4.29,    4.29,    4.29,    4.29,    4.29,    4.29,    4.29,    4.29,    4.29,    4.29,    4.29,    4.29,    4.29]
2024-02-28 01:25:03.001528 INFO pred_bat:  METRIC: [  95.55,  154.05,  192.78,  230.57,  270.44,  314.27,  365.65,  346.23,  297.42,  243.94,  255.52,  303.03,   340.2,   388.2,   449.2,  501.51,  552.19,   601.8,  624.57,  629.38,  634.15,  642.82,   645.9,  647.61,  651.12]
2024-02-28 01:25:03.143693 INFO pred_bat: predict best end_record 02-29 02:05:00 final soc 1.53 kWh metric 379.01 p metric_keep 0 min_soc 1.4 @ 02-28 10:45:00 kWh load 18.65 pv 8.36
2024-02-28 01:25:03.145210 INFO pred_bat:          [  01:25,   02:25,   03:25,   04:25,   05:25,   06:25,   07:25,   08:25,   09:25,   10:25,   11:25,   12:25,   13:25,   14:25,   15:25,   16:25,   17:25,   18:25,   19:25,   20:25,   21:25,   22:25,   23:25,   00:25,   01:25]
2024-02-28 01:25:03.146657 INFO pred_bat:     SOC: [    0.4,    2.06,    3.58,    5.04,    6.49,    7.95,     9.4,    8.73,     5.7,    2.66,     1.4,    1.44,    1.47,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4]
2024-02-28 01:25:03.148101 INFO pred_bat:   STATE: [  g<be-,   g<bf+,   g<bf+,   g<bf+,   g<bf+,   g<bf+,   g<bf+,   g>bf-,   g>bf-,   g>bf-,   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~]
2024-02-28 01:25:03.149598 INFO pred_bat:    LOAD: [    0.0,     1.5,    1.52,    1.54,    1.55,    1.57,    1.59,    1.68,    3.17,    4.53,    6.06,    7.53,     8.8,   10.42,   12.36,   13.96,   15.43,   16.86,   17.52,   17.67,   17.82,   18.11,   18.23,   18.29,   18.44]
2024-02-28 01:25:03.151090 INFO pred_bat:      PV: [    0.0,     0.0,     0.0,     0.0,     0.0,     0.0,    0.01,    0.22,    0.82,    1.83,    3.11,    4.55,    5.91,    7.13,    7.96,    8.29,    8.36,    8.36,    8.36,    8.36,    8.36,    8.36,    8.36,    8.36,    8.36]
2024-02-28 01:25:03.152567 INFO pred_bat:  IMPORT: [   4.01,    6.37,    8.04,    9.63,   11.23,   12.83,   14.41,    15.0,    15.0,    15.0,   15.07,   15.24,   15.24,   15.64,    16.8,   18.08,   19.48,   20.91,   21.57,   21.72,   21.87,   22.16,   22.27,   22.34,   22.49]
2024-02-28 01:25:03.154080 INFO pred_bat:  EXPORT: [    0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,    1.21,     3.1,     5.5,    6.42,    6.42,    6.42,    6.42,    6.42,    6.42,    6.42,    6.42,    6.42,    6.42,    6.42,    6.42,    6.42,    6.42,    6.42]
2024-02-28 01:25:03.155589 INFO pred_bat:  METRIC: [  95.55,  150.53,  189.22,  226.97,   266.8,  310.58,  361.53,  335.93,  263.35,  174.27,  143.36,  148.95,  148.95,  161.13,  196.54,  236.24,   280.6,  325.66,  346.36,  350.73,  355.07,  362.95,  365.75,  367.31,  370.81]
2024-02-28 01:25:03.357964 INFO pred_bat: Evaluate trigger {'name': 'large', 'minutes': 60, 'energy': 1.0} results off total_energy 0
2024-02-28 01:25:03.367332 INFO pred_bat: Evaluate trigger {'name': 'small', 'minutes': 15, 'energy': 0.25} results off total_energy 0
2024-02-28 01:25:03.373483 INFO pred_bat: Best charging limit socs [10.0, 10.0, 10.0] export [14, 14] gives import battery 30.25 house 9.04 export 7.43 metric 379.01 metric10 659.32
2024-02-28 01:25:03.441740 INFO pred_bat: Export threshold used for optimisation was 28.6p
2024-02-28 01:25:03.483627 INFO pred_bat: High export rate windows [0: 02-28 04:00:00 - 02-28 05:00:00 @ 24.3, 1: 02-28 05:00:00 - 02-28 06:00:00 @ 25.9, 2: 02-28 06:00:00 - 02-28 07:00:00 @ 29.6, 3: 02-28 07:00:00 - 02-28 08:00:00 @ 35.9, 4: 02-28 08:00:00 - 02-28 09:00:00 @ 38.5, 5: 02-28 09:00:00 - 02-28 10:00:00 @ 38.3, 6: 02-28 10:00:00 - 02-28 11:00:00 @ 36.4, 7: 02-28 11:00:00 - 02-28 12:00:00 @ 34.6, 8: 02-28 12:00:00 - 02-28 13:00:00 @ 31.2, 9: 02-28 13:00:00 - 02-28 15:00:00 @ 30.05, 10: 02-28 15:00:00 - 02-28 17:00:00 @ 31.1, 11: 02-28 17:00:00 - 02-28 18:00:00 @ 31.9, 12: 02-28 18:00:00 - 02-28 19:00:00 @ 31.3, 13: 02-28 19:00:00 - 02-28 20:00:00 @ 29.4, 14: 02-28 20:00:00 - 02-28 21:00:00 @ 29.8, 15: 02-28 21:00:00 - 02-28 22:00:00 @ 28.8, 16: 02-28 22:00:00 - 02-28 23:00:00 @ 26.3, 17: 02-29 00:00:00 - 02-29 01:00:00 @ 23.9, 18: 02-29 04:00:00 - 02-29 05:00:00 @ 24.3, 19: 02-29 05:00:00 - 02-29 06:00:00 @ 25.9, 20: 02-29 06:00:00 - 02-29 07:00:00 @ 29.6, 21: 02-29 07:00:00 - 02-29 08:00:00 @ 35.9, 22: 02-29 08:00:00 - 02-29 09:00:00 @ 38.5, 23: 02-29 09:00:00 - 02-29 10:00:00 @ 38.3, 24: 02-29 10:00:00 - 02-29 11:00:00 @ 36.4, 25: 02-29 11:00:00 - 02-29 12:00:00 @ 34.6, 26: 02-29 12:00:00 - 02-29 13:00:00 @ 31.2, 27: 02-29 13:00:00 - 02-29 15:00:00 @ 30.05, 28: 02-29 15:00:00 - 02-29 17:00:00 @ 31.1, 29: 02-29 17:00:00 - 02-29 18:00:00 @ 31.9, 30: 02-29 18:00:00 - 02-29 19:00:00 @ 31.3, 31: 02-29 19:00:00 - 02-29 20:00:00 @ 29.4, 32: 02-29 20:00:00 - 02-29 21:00:00 @ 29.8, 33: 02-29 21:00:00 - 02-29 22:00:00 @ 28.8, 34: 02-29 22:00:00 - 02-29 23:00:00 @ 26.3, 35: 03-01 00:00:00 - 03-01 01:00:00 @ 23.9]
2024-02-28 01:25:03.489802 INFO pred_bat: Import threshold used for optimisation was 28.3p
2024-02-28 01:25:03.542333 INFO pred_bat: Low import rate windows [0: 02-28 00:00:00 - 02-28 02:00:00 @ 23.7, 1: 02-28 02:00:00 - 02-28 04:00:00 @ 23.15, 2: 02-28 04:00:00 - 02-28 05:00:00 @ 24.3, 3: 02-28 05:00:00 - 02-28 06:00:00 @ 25.9, 4: 02-28 06:00:00 - 02-28 07:00:00 @ 29.6, 5: 02-28 07:00:00 - 02-28 08:00:00 @ 35.9, 6: 02-28 10:00:00 - 02-28 11:00:00 @ 36.4, 7: 02-28 11:00:00 - 02-28 12:00:00 @ 34.6, 8: 02-28 12:00:00 - 02-28 13:00:00 @ 31.2, 9: 02-28 13:00:00 - 02-28 15:00:00 @ 30.05, 10: 02-28 15:00:00 - 02-28 17:00:00 @ 31.1, 11: 02-28 17:00:00 - 02-28 18:00:00 @ 31.9, 12: 02-28 18:00:00 - 02-28 19:00:00 @ 31.3, 13: 02-28 19:00:00 - 02-28 20:00:00 @ 29.4, 14: 02-28 20:00:00 - 02-28 21:00:00 @ 29.8, 15: 02-28 21:00:00 - 02-28 22:00:00 @ 28.8, 16: 02-28 22:00:00 - 02-28 23:00:00 @ 26.3, 17: 02-28 23:00:00 - 02-29 00:00:00 @ 23.1, 18: 02-29 00:00:00 - 02-29 02:00:00 @ 23.7, 19: 02-29 02:00:00 - 02-29 04:00:00 @ 23.15, 20: 02-29 04:00:00 - 02-29 05:00:00 @ 24.3, 21: 02-29 05:00:00 - 02-29 06:00:00 @ 25.9, 22: 02-29 06:00:00 - 02-29 07:00:00 @ 29.6, 23: 02-29 07:00:00 - 02-29 08:00:00 @ 35.9, 24: 02-29 10:00:00 - 02-29 11:00:00 @ 36.4, 25: 02-29 11:00:00 - 02-29 12:00:00 @ 34.6, 26: 02-29 12:00:00 - 02-29 13:00:00 @ 31.2, 27: 02-29 13:00:00 - 02-29 15:00:00 @ 30.05, 28: 02-29 15:00:00 - 02-29 17:00:00 @ 31.1, 29: 02-29 17:00:00 - 02-29 18:00:00 @ 31.9, 30: 02-29 18:00:00 - 02-29 19:00:00 @ 31.3, 31: 02-29 19:00:00 - 02-29 20:00:00 @ 29.4, 32: 02-29 20:00:00 - 02-29 21:00:00 @ 29.8, 33: 02-29 21:00:00 - 02-29 22:00:00 @ 28.8, 34: 02-29 22:00:00 - 02-29 23:00:00 @ 26.3, 35: 02-29 23:00:00 - 03-01 00:00:00 @ 23.1, 36: 03-01 00:00:00 - 03-01 02:00:00 @ 23.7]
2024-02-28 01:25:03.552814 INFO pred_bat: Charge window will be: 2024-02-28 02:00:00+01:00 - 2024-02-28 08:00:00+01:00 - current soc 4 target 100
2024-02-28 01:25:03.553876 INFO pred_bat: Not setting charging window yet as not within the window (now 02-28 01:25:00 target set_window_minutes 30 charge start time 02-28 02:00:00
2024-02-28 01:25:03.555000 INFO pred_bat: Next discharge window will be: 2024-02-28 08:00:00+01:00 - 2024-02-28 23:01:00+01:00 at reserve 14
2024-02-28 01:25:03.557347 INFO pred_bat: Setting ECO mode as we are not yet within the discharge window - next time is 02-28 08:00:00 - 02-28 23:00:00
2024-02-28 01:25:03.559986 INFO pred_bat: Inverter 0 Adjust force discharge to False, change times from 00:00:00 - 00:00:00 to 00:00:00 - 00:00:00
2024-02-28 01:25:03.561572 INFO pred_bat: Inverter 0 Stop charge via Service huawei_solar/stop_forcible_charge
2024-02-28 01:25:03.563582 INFO pred_bat: Call service huawei_solar/stop_forcible_charge device_id 6893ee838a0972bd3e50d9e0faa0ba5a
2024-02-28 01:25:03.566348 INFO pred_bat: Current SOC 4% is greater than Target SOC 0. Grid Charge disabled.
2024-02-28 01:25:03.580815 INFO pred_bat: Will recompute the plan as it is now 5.0 minutes old and will exceed the max age of 5 minutes before the next run
2024-02-28 01:25:03.582507 INFO pred_bat: Best charge    window [ 28-02 00:00:00 - 28-02 02:00:00 @ 23.7p 0.0%, 28-02 02:00:00 - 28-02 04:00:00 @ 23.15p 0.0%, 28-02 04:00:00 - 28-02 05:00:00 @ 24.3p 0.0%, 28-02 05:00:00 - 28-02 06:00:00 @ 25.9p 0.0%, 28-02 06:00:00 - 28-02 07:00:00 @ 29.6p 0.0%, 28-02 07:00:00 - 28-02 08:00:00 @ 35.9p 0.0%, 28-02 10:00:00 - 28-02 11:00:00 @ 36.4p 0.0%, 28-02 11:00:00 - 28-02 12:00:00 @ 34.6p 0.0%, 28-02 12:00:00 - 28-02 13:00:00 @ 31.2p 0.0%, 28-02 13:00:00 - 28-02 15:00:00 @ 30.05p 0.0%, 28-02 15:00:00 - 28-02 17:00:00 @ 31.1p 0.0%, 28-02 17:00:00 - 28-02 18:00:00 @ 31.9p 0.0%, 28-02 18:00:00 - 28-02 19:00:00 @ 31.3p 0.0%, 28-02 19:00:00 - 28-02 20:00:00 @ 29.4p 0.0%, 28-02 20:00:00 - 28-02 21:00:00 @ 29.8p 0.0%, 28-02 21:00:00 - 28-02 22:00:00 @ 28.8p 0.0%, 28-02 22:00:00 - 28-02 23:00:00 @ 26.3p 0.0%, 28-02 23:00:00 - 29-02 00:00:00 @ 23.1p 0.0%, 29-02 00:00:00 - 29-02 02:00:00 @ 23.7p 0.0%, 29-02 02:00:00 - 29-02 04:00:00 @ 23.15p 0.0%, 29-02 04:00:00 - 29-02 05:00:00 @ 24.3p 0.0%, 29-02 05:00:00 - 29-02 06:00:00 @ 25.9p 0.0%, 29-02 06:00:00 - 29-02 07:00:00 @ 29.6p 0.0%, 29-02 07:00:00 - 29-02 08:00:00 @ 35.9p 0.0%, 29-02 10:00:00 - 29-02 11:00:00 @ 36.4p 0.0%, 29-02 11:00:00 - 29-02 12:00:00 @ 34.6p 0.0%, 29-02 12:00:00 - 29-02 13:00:00 @ 31.2p 0.0%, 29-02 13:00:00 - 29-02 15:00:00 @ 30.05p 0.0%, 29-02 15:00:00 - 29-02 17:00:00 @ 31.1p 0.0%, 29-02 17:00:00 - 29-02 18:00:00 @ 31.9p 0.0%, 29-02 18:00:00 - 29-02 19:00:00 @ 31.3p 0.0%, 29-02 19:00:00 - 29-02 20:00:00 @ 29.4p 0.0%, 29-02 20:00:00 - 29-02 21:00:00 @ 29.8p 0.0%, 29-02 21:00:00 - 29-02 22:00:00 @ 28.8p 0.0%, 29-02 22:00:00 - 29-02 23:00:00 @ 26.3p 0.0%, 29-02 23:00:00 - 01-03 00:00:00 @ 23.1p 0.0%, 01-03 00:00:00 - 01-03 02:00:00 @ 23.7p 0.0% ]
2024-02-28 01:25:03.583912 INFO pred_bat: Best discharge window [ 28-02 04:00:00 - 28-02 05:00:00 @ 24.3p 100.0%, 28-02 05:00:00 - 28-02 06:00:00 @ 25.9p 100.0%, 28-02 06:00:00 - 28-02 07:00:00 @ 29.6p 100.0%, 28-02 07:00:00 - 28-02 08:00:00 @ 35.9p 100.0%, 28-02 08:00:00 - 28-02 09:00:00 @ 38.5p 100.0%, 28-02 09:00:00 - 28-02 10:00:00 @ 38.3p 100.0%, 28-02 10:00:00 - 28-02 11:00:00 @ 36.4p 100.0%, 28-02 11:00:00 - 28-02 12:00:00 @ 34.6p 100.0%, 28-02 12:00:00 - 28-02 13:00:00 @ 31.2p 100.0%, 28-02 13:00:00 - 28-02 15:00:00 @ 30.05p 100.0%, 28-02 15:00:00 - 28-02 17:00:00 @ 31.1p 100.0%, 28-02 17:00:00 - 28-02 18:00:00 @ 31.9p 100.0%, 28-02 18:00:00 - 28-02 19:00:00 @ 31.3p 100.0%, 28-02 19:00:00 - 28-02 20:00:00 @ 29.4p 100.0%, 28-02 20:00:00 - 28-02 21:00:00 @ 29.8p 100.0%, 28-02 21:00:00 - 28-02 22:00:00 @ 28.8p 100.0%, 28-02 22:00:00 - 28-02 23:00:00 @ 26.3p 100.0%, 29-02 00:00:00 - 29-02 01:00:00 @ 23.9p 100.0%, 29-02 04:00:00 - 29-02 05:00:00 @ 24.3p 100.0%, 29-02 05:00:00 - 29-02 06:00:00 @ 25.9p 100.0%, 29-02 06:00:00 - 29-02 07:00:00 @ 29.6p 100.0%, 29-02 07:00:00 - 29-02 08:00:00 @ 35.9p 100.0%, 29-02 08:00:00 - 29-02 09:00:00 @ 38.5p 100.0%, 29-02 09:00:00 - 29-02 10:00:00 @ 38.3p 100.0%, 29-02 10:00:00 - 29-02 11:00:00 @ 36.4p 100.0%, 29-02 11:00:00 - 29-02 12:00:00 @ 34.6p 100.0%, 29-02 12:00:00 - 29-02 13:00:00 @ 31.2p 100.0%, 29-02 13:00:00 - 29-02 15:00:00 @ 30.05p 100.0%, 29-02 15:00:00 - 29-02 17:00:00 @ 31.1p 100.0%, 29-02 17:00:00 - 29-02 18:00:00 @ 31.9p 100.0%, 29-02 18:00:00 - 29-02 19:00:00 @ 31.3p 100.0%, 29-02 19:00:00 - 29-02 20:00:00 @ 29.4p 100.0%, 29-02 20:00:00 - 29-02 21:00:00 @ 29.8p 100.0%, 29-02 21:00:00 - 29-02 22:00:00 @ 28.8p 100.0%, 29-02 22:00:00 - 29-02 23:00:00 @ 26.3p 100.0%, 01-03 00:00:00 - 01-03 01:00:00 @ 23.9p 100.0% ]
2024-02-28 01:25:03.593774 INFO pred_bat: Creating pool of 2 processes to match your CPU count
2024-02-28 01:25:03.611314 INFO pred_bat: Calculate Best options: mode(Control charge & discharge) calculate_discharge_oncharge(True) set_discharge_freeze_only(False) set_discharge_during_charge(False) combine_charge_slots(True) combine_discharge_slots(True) best_soc_min(0.0 kWh) best_soc_max(0.0 kWh) best_soc_keep(0.1 kWh) inverter_loss(5 %) battery_loss(3 %) battery_loss_discharge (3 %) inverter_hybrid(True) metric_min_improvement(0.0 p) metric_min_improvement_discharge(0.0 p) metric_battery_cycle(0.2 p/kWh)metric_battery_value_scaling(0.8 x)
2024-02-28 01:25:03.613040 INFO pred_bat: Optimise all windows, total charge 36 discharge 36
2024-02-28 01:25:03.923381 INFO pred_bat: Optimise all charge for all bands best price threshold 28.5 charges at 28.3 at metric 616.03 keep 0 cost 703.54 soc_min 1.4 limits [10.0, 10.0, 10.0, 10.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10.0, 10.0, 10.0, 10.0, 10.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10.0, 0.0] discharge [100.0, 100.0, 100.0, 0, 0, 0, 0, 0, 0, 100.0, 100.0, 0, 0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 0, 0, 0, 0, 0, 0, 100.0, 100.0, 0, 0, 100.0, 100.0, 100.0, 100.0, 100.0]
2024-02-28 01:25:03.924569 INFO pred_bat: Calculated end_record as 02-29 02:00:00
2024-02-28 01:25:03.926022 INFO pred_bat: >> Region optimisation pass width 960
2024-02-28 01:25:04.095831 INFO pred_bat: Optimise all charge for all bands best price threshold 32.5 charges at 32.3 at metric 392.64 keep 0 cost 587.36 soc_min 1.4 limits [10.0, 10.0, 10.0, 10.0, 10.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10.0, 10.0, 10.0, 10.0, 10.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10.0, 0.0] discharge [100.0, 100.0, 100.0, 0, 0, 0, 0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0]
2024-02-28 01:25:04.200360 INFO pred_bat: Optimise all charge for all bands best price threshold 25.3 charges at 25.3 at metric 383.29 keep 0 cost 407.6 soc_min 1.4 limits [10.0, 10.0, 10.0, 10.0, 10.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10.0, 10.0, 10.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10.0, 0.0] discharge [100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 0, 0, 0, 0, 0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0]
2024-02-28 01:25:04.201446 INFO pred_bat: >> Region optimisation pass width 480
2024-02-28 01:25:04.316715 INFO pred_bat: Optimise all charge for all bands best price threshold 32.8 charges at 32.3 at metric 343.99 keep 0 cost 368.33 soc_min 1.4 limits [10.0, 10.0, 10.0, 10.0, 10.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10.0, 10.0, 10.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10.0, 0.0] discharge [100.0, 100.0, 100.0, 0, 0, 0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0]
2024-02-28 01:25:04.420889 INFO pred_bat: Optimise all charge for all bands best price threshold 27.3 charges at 21.8 at metric 347.91 keep 0 cost 372.29 soc_min 1.4 limits [10.0, 10.0, 10.0, 10.0, 10.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10.0, 10.0, 10.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10.0, 0.0] discharge [100.0, 100.0, 100.0, 100.0, 100.0, 0, 0, 0, 0, 0, 0, 0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0]
2024-02-28 01:25:04.521323 INFO pred_bat: Optimise all charge for all bands best price threshold 25.3 charges at 21.8 at metric 383.29 keep 0 cost 407.6 soc_min 1.4 limits [10.0, 10.0, 10.0, 10.0, 10.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10.0, 10.0, 10.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10.0, 0.0] discharge [100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 0, 0, 0, 0, 0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0]
2024-02-28 01:25:04.585596 INFO pred_bat: Optimise all charge for all bands best price threshold 25.3 charges at 25.3 at metric 383.57 keep 0 cost 407.89 soc_min 1.4 limits [10.0, 10.0, 10.0, 10.0, 10.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10.0, 10.0, 10.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10.0, 0.0] discharge [100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0]
2024-02-28 01:25:04.586688 INFO pred_bat: >> Region optimisation pass width 240
2024-02-28 01:25:04.659559 INFO pred_bat: Optimise all charge for all bands best price threshold 26.3 charges at 25.3 at metric 370.2 keep 0 cost 394.49 soc_min 1.4 limits [0, 10.0, 0, 0, 10.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10.0, 10.0, 10.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10.0, 0.0] discharge [100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0]
2024-02-28 01:25:04.758639 INFO pred_bat: Optimise all charge for all bands best price threshold 32.8 charges at 32.3 at metric 324.38 keep 0 cost 348.71 soc_min 1.4 limits [0, 10.0, 0, 10.0, 10.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10.0, 10.0, 10.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10.0, 0.0] discharge [100.0, 100.0, 100.0, 0, 0, 0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0]
2024-02-28 01:25:04.848101 INFO pred_bat: Optimise all charge for all bands best price threshold 27.3 charges at 21.8 at metric 328.29 keep 0 cost 352.67 soc_min 1.4 limits [0, 10.0, 0, 10.0, 10.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10.0, 10.0, 10.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10.0, 0.0] discharge [100.0, 100.0, 100.0, 100.0, 100.0, 0, 0, 0, 0, 0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0]
2024-02-28 01:25:04.922189 INFO pred_bat: Optimise all charge for all bands best price threshold 28.7 charges at 21.8 at metric 363.68 keep 0 cost 387.98 soc_min 1.4 limits [0, 10.0, 0, 10.0, 10.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10.0, 10.0, 10.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10.0, 0.0] discharge [100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0]
2024-02-28 01:25:05.087908 INFO pred_bat: Previous message repeated 1 times
2024-02-28 01:25:05.088070 INFO pred_bat: Optimise all charge for all bands best price threshold 25.3 charges at 21.8 at metric 363.96 keep 0 cost 388.26 soc_min 1.4 limits [0, 10.0, 0, 10.0, 10.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10.0, 10.0, 10.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10.0, 0.0] discharge [100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0]
2024-02-28 01:25:05.151747 INFO pred_bat: Optimise all charge for all bands best price threshold 25.3 charges at 25.3 at metric 363.96 keep 0 cost 388.26 soc_min 1.4 limits [0, 10.0, 0, 10.0, 10.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10.0, 10.0, 10.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10.0, 0.0] discharge [100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0]
2024-02-28 01:25:05.152919 INFO pred_bat: Calculated end_record as 02-29 02:00:00
2024-02-28 01:25:05.154275 INFO pred_bat: Starting second optimisation best_price 28.3 best_price_discharge 28.6 lowest_price_charge 25.3 with charge limits [0, 10.0, 0, 10.0, 10.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10.0, 10.0, 10.0, 10.0, 10.0, 10.0, 10.0, 10.0, 10.0, 10.0, 10.0, 10.0, 10.0, 10.0, 10.0, 10.0, 10.0, 10.0] based on
2024-02-28 01:25:05.155557 INFO pred_bat: Optimise price set 35.3 start_at_low False best_price 28.3 best_metric 363.96 best_cost 388.26
2024-02-28 01:25:05.269294 INFO pred_bat: Optimise price set 35.1 start_at_low False best_price 28.3 best_metric 388.96 best_cost 373.56
2024-02-28 01:25:05.382687 INFO pred_bat: Optimise price set 33.3 start_at_low False best_price 28.3 best_metric 377.62 best_cost 361.18
2024-02-28 01:25:05.498623 INFO pred_bat: Optimise price set 32.9 start_at_low False best_price 28.3 best_metric 366.37 best_cost 348.47
2024-02-28 01:25:05.619173 INFO pred_bat: Optimise price set 32.3 start_at_low False best_price 28.3 best_metric 366.37 best_cost 348.47
2024-02-28 01:25:05.655225 INFO pred_bat: Optimise price set 31.7 start_at_low False best_price 28.3 best_metric 366.36 best_cost 348.47
2024-02-28 01:25:05.789581 INFO pred_bat: Optimise price set 29.2 start_at_low False best_price 28.3 best_metric 366.37 best_cost 348.47
2024-02-28 01:25:05.902960 INFO pred_bat: Optimise price set 28.6 start_at_low False best_price 28.3 best_metric 366.37 best_cost 348.47
2024-02-28 01:25:06.139308 INFO pred_bat: Optimise price set 28.5 start_at_low False best_price 28.3 best_metric 366.37 best_cost 348.47
2024-02-28 01:25:06.363928 INFO pred_bat: Optimise price set 28.3 start_at_low False best_price 28.3 best_metric 366.37 best_cost 348.47
2024-02-28 01:25:06.467646 INFO pred_bat: Optimise price set 27.5 start_at_low False best_price 28.3 best_metric 366.36 best_cost 348.47
2024-02-28 01:25:06.715654 INFO pred_bat: Optimise price set 27.3 start_at_low False best_price 28.3 best_metric 366.37 best_cost 348.47
2024-02-28 01:25:06.835212 INFO pred_bat: Optimise price set 27.1 start_at_low False best_price 28.3 best_metric 366.37 best_cost 348.47
2024-02-28 01:25:06.957255 INFO pred_bat: Optimise price set 26.9 start_at_low False best_price 28.3 best_metric 366.37 best_cost 348.47
2024-02-28 01:25:07.073166 INFO pred_bat: Optimise price set 26.6 start_at_low False best_price 28.3 best_metric 366.37 best_cost 348.47
2024-02-28 01:25:07.177766 INFO pred_bat: Optimise price set 26.3 start_at_low False best_price 28.3 best_metric 363.11 best_cost 345.23
2024-02-28 01:25:07.296568 INFO pred_bat: Optimise price set 25.9 start_at_low False best_price 28.3 best_metric 363.12 best_cost 345.23
2024-02-28 01:25:07.648009 INFO pred_bat: Optimise price set 25.3 start_at_low False best_price 28.3 best_metric 363.11 best_cost 345.23
2024-02-28 01:25:08.122753 INFO pred_bat: Best charge windows best_metric 363.11 best_cost 345.23 metric_keep 0 end_record 02-29 02:00:00 windows [ 28-02 02:00:00 - 28-02 04:00:00 @ 23.15p 100%, 28-02 04:00:00 - 28-02 05:00:00 @ 24.3p 100%, 28-02 05:00:00 - 28-02 06:00:00 @ 25.9p 100%, 28-02 06:00:00 - 28-02 07:00:00 @ 29.6p 100%, 29-02 02:00:00 - 29-02 04:00:00 @ 23.15p 100%, 29-02 04:00:00 - 29-02 05:00:00 @ 24.3p 100%, 29-02 05:00:00 - 29-02 06:00:00 @ 25.9p 100%, 29-02 06:00:00 - 29-02 07:00:00 @ 29.6p 100%, 29-02 07:00:00 - 29-02 08:00:00 @ 35.9p 100%, 29-02 10:00:00 - 29-02 11:00:00 @ 36.4p 100%, 29-02 11:00:00 - 29-02 12:00:00 @ 34.6p 100%, 29-02 12:00:00 - 29-02 13:00:00 @ 31.2p 100%, 29-02 13:00:00 - 29-02 15:00:00 @ 30.05p 100%, 29-02 15:00:00 - 29-02 17:00:00 @ 31.1p 100%, 29-02 17:00:00 - 29-02 18:00:00 @ 31.9p 100%, 29-02 18:00:00 - 29-02 19:00:00 @ 31.3p 100%, 29-02 19:00:00 - 29-02 20:00:00 @ 29.4p 100%, 29-02 20:00:00 - 29-02 21:00:00 @ 29.8p 100%, 29-02 21:00:00 - 29-02 22:00:00 @ 28.8p 100%, 29-02 22:00:00 - 29-02 23:00:00 @ 26.3p 100%, 29-02 23:00:00 - 01-03 00:00:00 @ 23.1p 100%, 01-03 00:00:00 - 01-03 02:00:00 @ 23.7p 100% ]
2024-02-28 01:25:08.124361 INFO pred_bat: Best discharge windows best_metric 363.11 best_cost 345.23 metric_keep 0 end_record 02-29 02:00:00 windows [ 28-02 08:00:00 - 28-02 09:00:00 @ 38.5p 14%, 28-02 09:00:00 - 28-02 10:00:00 @ 38.3p 14%, 28-02 10:00:00 - 28-02 11:00:00 @ 36.4p 14%, 28-02 11:00:00 - 28-02 12:00:00 @ 34.6p 14%, 28-02 12:00:00 - 28-02 13:00:00 @ 31.2p 14%, 28-02 13:00:00 - 28-02 15:00:00 @ 30.05p 14%, 28-02 15:00:00 - 28-02 17:00:00 @ 31.1p 14%, 28-02 17:00:00 - 28-02 18:00:00 @ 31.9p 14%, 28-02 18:00:00 - 28-02 19:00:00 @ 31.3p 14%, 28-02 19:00:00 - 28-02 20:00:00 @ 29.4p 14%, 28-02 20:00:00 - 28-02 21:00:00 @ 29.8p 14%, 28-02 21:00:00 - 28-02 22:00:00 @ 28.8p 14% ]
2024-02-28 01:25:08.125517 INFO pred_bat: Optimise price set 25.3 start_at_low True best_price 28.3 best_metric 363.11 best_cost 345.23
2024-02-28 01:25:08.584156 INFO pred_bat: Optimise price set 25.9 start_at_low True best_price 28.3 best_metric 363.11 best_cost 345.23
2024-02-28 01:25:08.967609 INFO pred_bat: Optimise price set 26.3 start_at_low True best_price 28.3 best_metric 363.11 best_cost 345.23
2024-02-28 01:25:09.124056 INFO pred_bat: Optimise price set 26.6 start_at_low True best_price 28.3 best_metric 363.12 best_cost 345.23
2024-02-28 01:25:09.221964 INFO pred_bat: Optimise price set 26.9 start_at_low True best_price 28.3 best_metric 363.11 best_cost 345.23
2024-02-28 01:25:09.342669 INFO pred_bat: Optimise price set 27.3 start_at_low True best_price 28.3 best_metric 363.12 best_cost 345.23
2024-02-28 01:25:09.462343 INFO pred_bat: Optimise price set 27.5 start_at_low True best_price 28.3 best_metric 363.12 best_cost 345.23
2024-02-28 01:25:09.694423 INFO pred_bat: Optimise price set 28.3 start_at_low True best_price 28.3 best_metric 363.12 best_cost 345.23
2024-02-28 01:25:09.727515 INFO pred_bat: Optimise price set 28.7 start_at_low True best_price 28.3 best_metric 363.11 best_cost 345.23
2024-02-28 01:25:09.913794 INFO pred_bat: Optimise price set 31.4 start_at_low True best_price 28.3 best_metric 363.11 best_cost 345.23
2024-02-28 01:25:09.948102 INFO pred_bat: Optimise price set 32.1 start_at_low True best_price 28.3 best_metric 363.11 best_cost 345.23
2024-02-28 01:25:09.978630 INFO pred_bat: Optimise price set 32.3 start_at_low True best_price 28.3 best_metric 363.11 best_cost 345.23
2024-02-28 01:25:10.008804 INFO pred_bat: Optimise price set 32.5 start_at_low True best_price 28.3 best_metric 363.11 best_cost 345.23
2024-02-28 01:25:10.043149 INFO pred_bat: Optimise price set 32.8 start_at_low True best_price 28.3 best_metric 363.11 best_cost 345.23
2024-02-28 01:25:10.074107 INFO pred_bat: Optimise price set 34.0 start_at_low True best_price 28.3 best_metric 363.11 best_cost 345.23
2024-02-28 01:25:10.103804 INFO pred_bat: Optimise price set 34.1 start_at_low True best_price 28.3 best_metric 363.11 best_cost 345.23
2024-02-28 01:25:10.135097 INFO pred_bat: Optimise price set 34.2 start_at_low True best_price 28.3 best_metric 363.11 best_cost 345.23
2024-02-28 01:25:10.165505 INFO pred_bat: Optimise price set 34.8 start_at_low True best_price 28.3 best_metric 363.11 best_cost 345.23
2024-02-28 01:25:10.200762 INFO pred_bat: Optimise price set 37.8 start_at_low True best_price 28.3 best_metric 363.11 best_cost 345.23
2024-02-28 01:25:10.230192 INFO pred_bat: Optimise price set 39.2 start_at_low True best_price 28.3 best_metric 363.11 best_cost 345.23
2024-02-28 01:25:10.259598 INFO pred_bat: Optimise price set 39.7 start_at_low True best_price 28.3 best_metric 363.1 best_cost 345.23
2024-02-28 01:25:10.395365 INFO pred_bat: Best charge windows best_metric 363.1 best_cost 345.23 metric_keep 0 end_record 02-29 02:00:00 windows [ 28-02 02:00:00 - 28-02 04:00:00 @ 23.15p 100%, 28-02 04:00:00 - 28-02 05:00:00 @ 24.3p 100%, 28-02 05:00:00 - 28-02 06:00:00 @ 25.9p 100%, 28-02 06:00:00 - 28-02 07:00:00 @ 29.6p 100%, 28-02 07:00:00 - 28-02 08:00:00 @ 35.9p 100%, 29-02 02:00:00 - 29-02 04:00:00 @ 23.15p 100%, 29-02 04:00:00 - 29-02 05:00:00 @ 24.3p 100%, 29-02 05:00:00 - 29-02 06:00:00 @ 25.9p 100%, 29-02 06:00:00 - 29-02 07:00:00 @ 29.6p 100%, 29-02 07:00:00 - 29-02 08:00:00 @ 35.9p 100%, 29-02 10:00:00 - 29-02 11:00:00 @ 36.4p 100%, 29-02 11:00:00 - 29-02 12:00:00 @ 34.6p 100%, 29-02 12:00:00 - 29-02 13:00:00 @ 31.2p 100%, 29-02 13:00:00 - 29-02 15:00:00 @ 30.05p 100%, 29-02 15:00:00 - 29-02 17:00:00 @ 31.1p 100%, 29-02 17:00:00 - 29-02 18:00:00 @ 31.9p 100%, 29-02 18:00:00 - 29-02 19:00:00 @ 31.3p 100%, 29-02 19:00:00 - 29-02 20:00:00 @ 29.4p 100%, 29-02 20:00:00 - 29-02 21:00:00 @ 29.8p 100%, 29-02 21:00:00 - 29-02 22:00:00 @ 28.8p 100%, 29-02 22:00:00 - 29-02 23:00:00 @ 26.3p 100%, 29-02 23:00:00 - 01-03 00:00:00 @ 23.1p 100%, 01-03 00:00:00 - 01-03 02:00:00 @ 23.7p 100% ]
2024-02-28 01:25:10.397220 INFO pred_bat: Best discharge windows best_metric 363.1 best_cost 345.23 metric_keep 0 end_record 02-29 02:00:00 windows [ 28-02 08:00:00 - 28-02 09:00:00 @ 38.5p 14%, 28-02 09:00:00 - 28-02 10:00:00 @ 38.3p 14%, 28-02 10:00:00 - 28-02 11:00:00 @ 36.4p 14%, 28-02 11:00:00 - 28-02 12:00:00 @ 34.6p 14%, 28-02 12:00:00 - 28-02 13:00:00 @ 31.2p 14%, 28-02 13:00:00 - 28-02 15:00:00 @ 30.05p 14%, 28-02 15:00:00 - 28-02 17:00:00 @ 31.1p 14%, 28-02 17:00:00 - 28-02 18:00:00 @ 31.9p 14%, 28-02 18:00:00 - 28-02 19:00:00 @ 31.3p 14%, 28-02 19:00:00 - 28-02 20:00:00 @ 29.4p 14%, 28-02 20:00:00 - 28-02 21:00:00 @ 29.8p 14%, 28-02 21:00:00 - 28-02 22:00:00 @ 28.8p 14% ]
2024-02-28 01:25:10.398589 INFO pred_bat: Second pass optimisation started
2024-02-28 01:25:10.535467 INFO pred_bat: Final optimisation type c window 0 metric 363.10391436414193 metric_keep 0 cost 345.23
2024-02-28 01:25:12.403179 INFO pred_bat: Final optimisation type c window 8 metric 363.10391436414193 metric_keep 0 cost 345.23
2024-02-28 01:25:14.030662 INFO pred_bat: Final optimisation type c window 16 metric 363.10391436414193 metric_keep 0 cost 345.23
2024-02-28 01:25:14.596821 INFO pred_bat: Second pass optimisation finished metric 363.10391436414193 cost 345.23 metric_keep 0
2024-02-28 01:25:14.597992 INFO pred_bat: Tweak optimisation started
2024-02-28 01:25:15.499519 INFO pred_bat: Tweak optimisation finished metric 363.1 cost 345.23 metric_keep 0
2024-02-28 01:25:15.509805 INFO pred_bat: Discharge windows filtered [ 28-02 08:00:00 - 28-02 23:00:00 @ 38.5p 14%, 29-02 00:00:00 - 29-02 01:00:00 @ 23.9p 14% ]
2024-02-28 01:25:15.521372 INFO pred_bat: Filtered charge windows [ 28-02 02:00:00 - 28-02 08:00:00 @ 23.15p 100%, 29-02 02:00:00 - 29-02 08:00:00 @ 23.15p 100%, 29-02 10:00:00 - 01-03 02:00:00 @ 36.4p 100% ] reserve 1.4
2024-02-28 01:25:15.536014 INFO pred_bat: predict base end_record 02-29 02:00:00 final soc 1.4 kWh metric 427.27 p metric_keep 0 min_soc 1.4 @ 02-28 01:50:00 kWh load 18.65 pv 8.36
2024-02-28 01:25:15.537527 INFO pred_bat:          [  01:25,   02:25,   03:25,   04:25,   05:25,   06:25,   07:25,   08:25,   09:25,   10:25,   11:25,   12:25,   13:25,   14:25,   15:25,   16:25,   17:25,   18:25,   19:25,   20:25,   21:25,   22:25,   23:25,   00:25,   01:25]
2024-02-28 01:25:15.539005 INFO pred_bat:     SOC: [    0.4,     1.4,     1.4,     1.4,     1.4,     1.4,    1.41,    1.51,     1.4,    1.59,     1.4,    1.44,    1.47,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4]
2024-02-28 01:25:15.540483 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<be-,   g<be-,   g~be~,   g~be~]
2024-02-28 01:25:15.542000 INFO pred_bat:    LOAD: [    0.0,     1.5,    1.52,    1.54,    1.55,    1.57,    1.59,    1.68,    3.17,    4.53,    6.06,    7.53,     8.8,   10.42,   12.36,   13.96,   15.43,   16.86,   17.52,   17.67,   17.82,   18.11,   18.23,   18.29,   18.44]
2024-02-28 01:25:15.543463 INFO pred_bat:      PV: [    0.0,     0.0,     0.0,     0.0,     0.0,     0.0,    0.01,    0.22,    0.82,    1.83,    3.11,    4.55,    5.91,    7.13,    7.96,    8.29,    8.36,    8.36,    8.36,    8.36,    8.36,    8.36,    8.36,    8.36,    8.36]
2024-02-28 01:25:15.544954 INFO pred_bat:  IMPORT: [   4.01,    5.65,    5.67,    5.69,     5.7,    5.72,    5.73,    5.73,    6.54,    7.13,    7.28,    7.44,    7.44,    7.84,     9.0,   10.28,   11.68,   13.11,   13.77,   13.92,   14.07,   14.36,   14.48,   14.54,   14.69]
2024-02-28 01:25:15.546421 INFO pred_bat:  EXPORT: [    0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0]
2024-02-28 01:25:15.547990 INFO pred_bat:  METRIC: [  95.55,  134.06,  134.44,  134.84,  135.25,   135.7,  135.99,  135.99,  167.15,   189.8,  194.96,  200.54,  200.54,  212.72,  248.14,  287.83,  332.19,  377.25,  397.95,  402.33,  406.66,  414.54,  417.34,   418.9,   422.4]
2024-02-28 01:25:15.661191 INFO pred_bat: Battery has 0.42 hours left - now at 0.4
2024-02-28 01:25:15.691735 INFO pred_bat: predict base10 end_record 02-29 02:00:00 final soc 1.4 kWh metric 706.77 p metric_keep 0 min_soc 1.4 @ 02-28 01:50:00 kWh load 20.48 pv 1.33
2024-02-28 01:25:15.693311 INFO pred_bat:          [  01:25,   02:25,   03:25,   04:25,   05:25,   06:25,   07:25,   08:25,   09:25,   10:25,   11:25,   12:25,   13:25,   14:25,   15:25,   16:25,   17:25,   18:25,   19:25,   20:25,   21:25,   22:25,   23:25,   00:25,   01:25]
2024-02-28 01:25:15.694758 INFO pred_bat:     SOC: [    0.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,    1.43,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4]
2024-02-28 01:25:15.696535 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<be-,   g<be-,   g~be~,   g~be~]
2024-02-28 01:25:15.698031 INFO pred_bat:    LOAD: [    0.0,    1.66,    1.67,    1.69,    1.71,    1.73,    1.75,    1.85,    3.48,    4.99,    6.66,    8.29,    9.68,   11.46,    13.6,   15.35,   16.98,   18.54,   19.28,   19.44,    19.6,   19.92,   20.05,   20.12,   20.27]
2024-02-28 01:25:15.699537 INFO pred_bat:      PV: [    0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,    0.05,    0.16,    0.31,    0.49,     0.7,    0.89,    1.09,    1.24,    1.31,    1.33,    1.33,    1.33,    1.33,    1.33,    1.33,    1.33,    1.33,    1.33]
2024-02-28 01:25:15.701054 INFO pred_bat:  IMPORT: [   4.01,     5.8,    5.82,    5.84,    5.86,    5.88,    5.89,    5.95,    7.48,    8.87,   10.35,   11.77,   12.98,   14.58,   16.58,   18.26,   19.87,   21.43,   22.17,   22.33,   22.49,   22.81,   22.94,   23.01,   23.16]
2024-02-28 01:25:15.702541 INFO pred_bat:  EXPORT: [    0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0]
2024-02-28 01:25:15.704075 INFO pred_bat:  METRIC: [  95.55,  137.59,  138.01,  138.44,  138.89,  139.39,  139.88,  142.18,  200.94,  253.41,   306.3,  353.81,  390.99,  438.98,  499.99,   552.3,  602.98,  652.59,  675.35,  680.17,  684.94,  693.61,  696.69,   698.4,   701.9]
2024-02-28 01:25:15.841663 INFO pred_bat: predict best10 end_record 02-29 02:00:00 final soc 1.4 kWh metric 655.98 p metric_keep 0 min_soc 1.4 @ 02-28 10:45:00 kWh load 20.48 pv 1.33
2024-02-28 01:25:15.844820 INFO pred_bat:          [  01:25,   02:25,   03:25,   04:25,   05:25,   06:25,   07:25,   08:25,   09:25,   10:25,   11:25,   12:25,   13:25,   14:25,   15:25,   16:25,   17:25,   18:25,   19:25,   20:25,   21:25,   22:25,   23:25,   00:25,   01:25]
2024-02-28 01:25:15.849433 INFO pred_bat:     SOC: [    0.4,    2.06,    3.58,    5.04,    6.49,    7.95,     9.4,    8.73,     5.7,    2.66,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4]
2024-02-28 01:25:15.851298 INFO pred_bat:   STATE: [  g<be-,   g<bf+,   g<bf+,   g<bf+,   g<bf+,   g<bf+,   g<bf+,   g>bf-,   g>bf-,   g>bf-,   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~]
2024-02-28 01:25:15.853267 INFO pred_bat:    LOAD: [    0.0,    1.66,    1.67,    1.69,    1.71,    1.73,    1.75,    1.85,    3.48,    4.99,    6.66,    8.29,    9.68,   11.46,    13.6,   15.35,   16.98,   18.54,   19.28,   19.44,    19.6,   19.92,   20.05,   20.12,   20.27]
2024-02-28 01:25:15.855835 INFO pred_bat:      PV: [    0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,    0.05,    0.16,    0.31,    0.49,     0.7,    0.89,    1.09,    1.24,    1.31,    1.33,    1.33,    1.33,    1.33,    1.33,    1.33,    1.33,    1.33,    1.33]
2024-02-28 01:25:15.857343 INFO pred_bat:  IMPORT: [   4.01,    6.52,    8.19,    9.79,   11.39,   12.98,   14.58,   15.22,   15.22,   15.23,   16.04,   17.47,   18.68,   20.28,   22.27,   23.96,   25.56,   27.13,   27.86,   28.03,   28.19,   28.51,   28.63,   28.71,   28.86]
2024-02-28 01:25:15.858925 INFO pred_bat:  EXPORT: [    0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     1.1,    2.37,    3.83,    4.29,    4.29,    4.29,    4.29,    4.29,    4.29,    4.29,    4.29,    4.29,    4.29,    4.29,    4.29,    4.29,    4.29,    4.29]
2024-02-28 01:25:15.860472 INFO pred_bat:  METRIC: [  95.55,  154.05,  192.78,  230.57,  270.44,  314.27,  365.65,  346.23,  297.42,  243.94,  255.52,  303.03,   340.2,   388.2,   449.2,  501.51,  552.19,   601.8,  624.57,  629.38,  634.15,  642.82,   645.9,  647.61,  651.12]
2024-02-28 01:25:15.993965 INFO pred_bat: predict best end_record 02-29 02:00:00 final soc 1.4 kWh metric 375.68 p metric_keep 0 min_soc 1.4 @ 02-28 10:45:00 kWh load 18.65 pv 8.36
2024-02-28 01:25:15.995509 INFO pred_bat:          [  01:25,   02:25,   03:25,   04:25,   05:25,   06:25,   07:25,   08:25,   09:25,   10:25,   11:25,   12:25,   13:25,   14:25,   15:25,   16:25,   17:25,   18:25,   19:25,   20:25,   21:25,   22:25,   23:25,   00:25,   01:25]
2024-02-28 01:25:15.996985 INFO pred_bat:     SOC: [    0.4,    2.06,    3.58,    5.04,    6.49,    7.95,     9.4,    8.73,     5.7,    2.66,     1.4,    1.44,    1.47,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4]
2024-02-28 01:25:15.998415 INFO pred_bat:   STATE: [  g<be-,   g<bf+,   g<bf+,   g<bf+,   g<bf+,   g<bf+,   g<bf+,   g>bf-,   g>bf-,   g>bf-,   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~]
2024-02-28 01:25:15.999906 INFO pred_bat:    LOAD: [    0.0,     1.5,    1.52,    1.54,    1.55,    1.57,    1.59,    1.68,    3.17,    4.53,    6.06,    7.53,     8.8,   10.42,   12.36,   13.96,   15.43,   16.86,   17.52,   17.67,   17.82,   18.11,   18.23,   18.29,   18.44]
2024-02-28 01:25:16.001415 INFO pred_bat:      PV: [    0.0,     0.0,     0.0,     0.0,     0.0,     0.0,    0.01,    0.22,    0.82,    1.83,    3.11,    4.55,    5.91,    7.13,    7.96,    8.29,    8.36,    8.36,    8.36,    8.36,    8.36,    8.36,    8.36,    8.36,    8.36]
2024-02-28 01:25:16.003010 INFO pred_bat:  IMPORT: [   4.01,    6.37,    8.04,    9.63,   11.23,   12.83,   14.41,    15.0,    15.0,    15.0,   15.07,   15.24,   15.24,   15.64,    16.8,   18.08,   19.48,   20.91,   21.57,   21.72,   21.87,   22.16,   22.27,   22.34,   22.49]
2024-02-28 01:25:16.004639 INFO pred_bat:  EXPORT: [    0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,    1.21,     3.1,     5.5,    6.42,    6.42,    6.42,    6.42,    6.42,    6.42,    6.42,    6.42,    6.42,    6.42,    6.42,    6.42,    6.42,    6.42,    6.42]
2024-02-28 01:25:16.006411 INFO pred_bat:  METRIC: [  95.55,  150.53,  189.22,  226.97,   266.8,  310.58,  361.53,  335.93,  263.35,  174.27,  143.36,  148.95,  148.95,  161.13,  196.54,  236.24,   280.6,  325.66,  346.36,  350.73,  355.07,  362.95,  365.75,  367.31,  370.81]
2024-02-28 01:25:16.175195 INFO pred_bat: Evaluate trigger {'name': 'large', 'minutes': 60, 'energy': 1.0} results off total_energy 0
2024-02-28 01:25:16.181988 INFO pred_bat: Evaluate trigger {'name': 'small', 'minutes': 15, 'energy': 0.25} results off total_energy 0
2024-02-28 01:25:16.188178 INFO pred_bat: Best charging limit socs [10.0, 10.0, 10.0] export [14, 14] gives import battery 30.25 house 9.04 export 7.43 metric 375.68 metric10 655.98
2024-02-28 01:25:16.248438 INFO pred_bat: Reserve min: 14.0% Battery_min:14.0%
2024-02-28 01:25:16.249863 INFO pred_bat: Inverter 0 with soc_max 10.0 kWh nominal_capacity 10.0 kWh battery rate raw 3500.0 w charge rate 3.5 kW discharge rate 3.5 kW battery_rate_min 0.0 w ac limit 10.0 kW export limit 10.0 kW reserve 14.0 % current_reserve 14.0 %
2024-02-28 01:25:16.255413 INFO pred_bat: Inverter 0 SOC: 0.4 kW 4 % Current charge rate 4500.0 w Current discharge rate 2800.0 w Current power 0.0 w Current voltage 52.0
2024-02-28 01:25:16.256518 INFO pred_bat: Inverter 0 scheduled charge enable is False
2024-02-28 01:25:16.257638 INFO pred_bat: Inverter 0 charge windows currently []
2024-02-28 01:25:16.258798 INFO pred_bat: Inverter 0 Charge settings: timed charged is disabled, power 4.5 kW
2024-02-28 01:25:16.260951 INFO pred_bat: Inverter 0 scheduled discharge enable is False
2024-02-28 01:25:16.262229 INFO pred_bat: Inverter 0 discharge windows currently [{'start': 0, 'end': 0, 'average': 0}, {'start': 1440, 'end': 1440, 'average': 0}]
2024-02-28 01:25:16.263063 INFO pred_bat: Note: Inverter does not support discharge freeze - disabled
2024-02-28 01:25:16.263881 INFO pred_bat: Note: Inverter does not support charge freeze - disabled
2024-02-28 01:25:16.264707 INFO pred_bat: Note: Inverter does not support reserve - disabling reserve functions
2024-02-28 01:25:16.265651 INFO pred_bat: Found 1 inverters totals: min reserve 1.4 current reserve 1.4 soc_max 10.0 soc 0.4 charge rate 4.5 kW discharge rate 2.8000000000000003 kW battery_rate_min 0.0 w ac limit 10.0 export limit 10.0 kW loss charge 3 % loss discharge 3 % inverter loss 5 %
2024-02-28 01:25:16.290165 INFO pred_bat: Base charge    window [  ]
2024-02-28 01:25:16.291231 INFO pred_bat: Base discharge window [ 28-02 00:00:00 - 28-02 00:00:00 @ 0p 100.0%, 29-02 00:00:00 - 29-02 00:00:00 @ 0p 100.0% ]
2024-02-28 01:25:16.292130 INFO pred_bat: Charge window will be: 2024-02-28 02:00:00+01:00 - 2024-02-28 08:00:00+01:00 - current soc 4 target 100
2024-02-28 01:25:16.293302 INFO pred_bat: Not setting charging window yet as not within the window (now 02-28 01:25:00 target set_window_minutes 30 charge start time 02-28 02:00:00
2024-02-28 01:25:16.294392 INFO pred_bat: Next discharge window will be: 2024-02-28 08:00:00+01:00 - 2024-02-28 23:01:00+01:00 at reserve 14
2024-02-28 01:25:16.295541 INFO pred_bat: Setting ECO mode as we are not yet within the discharge window - next time is 02-28 08:00:00 - 02-28 23:00:00
2024-02-28 01:25:16.298082 INFO pred_bat: Inverter 0 Adjust force discharge to False, change times from 00:00:00 - 00:00:00 to 00:00:00 - 00:00:00
2024-02-28 01:25:16.299434 INFO pred_bat: Inverter 0 Stop charge via Service huawei_solar/stop_forcible_charge
2024-02-28 01:25:16.300747 INFO pred_bat: Call service huawei_solar/stop_forcible_charge device_id 6893ee838a0972bd3e50d9e0faa0ba5a
2024-02-28 01:25:16.303289 INFO pred_bat: Current SOC 4% is greater than Target SOC 0. Grid Charge disabled.
2024-02-28 01:25:16.314833 INFO pred_bat: Completed run status Idle
2024-02-28 01:30:00.008788 INFO pred_bat: --------------- PredBat - update at 2024-02-28 01:30:00.007890+01:00 with clock skew 0 minutes, minutes now 90
2024-02-28 01:30:00.017170 INFO pred_bat: Using cached GITHub data for https://api.github.com/repos/springfall2008/batpred/releases age 85.0 minutes
2024-02-28 01:30:00.018200 INFO pred_bat: Predbat /config/apps/predbat.py version v7.16.2 currently running, latest version is v7.16.2 latest beta v7.16.2
2024-02-28 01:30:00.019240 INFO pred_bat: Autoupdate: Currently up to date
2024-02-28 01:30:00.032084 INFO pred_bat: Inverter type HU forecast_hours 48 max_windows 48 num_cars 0 debug enable is False calculate_plan_every 5
2024-02-28 01:30:00.033467 INFO pred_bat: WARN: Using experimental inverter type HU - not all features are available
2024-02-28 01:30:00.034802 INFO pred_bat: Predbat mode is set to Control charge & discharge
2024-02-28 01:30:00.392040 INFO pred_bat: Found 15841 load_today datapoints going back 11 days
2024-02-28 01:30:02.543625 INFO pred_bat: Car charging hold False threshold 6.0
2024-02-28 01:30:02.544541 INFO pred_bat: Current data so far today: load 0.0 kWh import 4.13 kWh export 0.0 kWh pv 0.0 kWh
2024-02-28 01:30:02.545438 INFO pred_bat: Fetching futurerate data from None
2024-02-28 01:30:02.551843 INFO pred_bat: Standing charge is set to 0.0 p
2024-02-28 01:30:02.905378 INFO pred_bat: Rate min forward looking: now 23.1 at end of forecast 23.1
2024-02-28 01:30:02.906914 INFO pred_bat: Import rates min 23.1 max 38.5 average 29.64
2024-02-28 01:30:02.915957 INFO pred_bat: Export rates min 23.1 max 38.5 average 29.64
2024-02-28 01:30:02.917457 INFO pred_bat: Rate thresholds (for charge/discharge) are import 38.0p (0.0) export 23.6p (0.0)
2024-02-28 01:30:02.924342 INFO pred_bat: High export rate found rates in range 23.9 to 38.5
2024-02-28 01:30:02.931699 INFO pred_bat: Low Import rate found rates in range 23.1 to 36.4
2024-02-28 01:30:02.951626 INFO pred_bat: Todays energy import 4.13 kWh export 0.0 kWh cost 98.37 p import 98.37 p export 0.0 p
2024-02-28 01:30:02.955062 INFO pred_bat: PV Data for pv_forecast_today total 8.36 kWh
2024-02-28 01:30:02.958153 INFO pred_bat: PV Data for pv_forecast_tomorrow total 5.72 kWh
2024-02-28 01:30:02.961254 INFO pred_bat: PV Data for pv_forecast_d3 total 3.09 kWh
2024-02-28 01:30:02.964357 INFO pred_bat: PV Data for pv_forecast_d4 total 4.64 kWh
2024-02-28 01:30:02.975415 INFO pred_bat: Historical data totals for days [10] are [17.85] - min 17.85
2024-02-28 01:30:02.977148 INFO pred_bat: WARN: Historical day 10 has 225 minutes of gap in the data, filled from 17.85 kWh to make new average 21.15 kWh (percent 84%)
2024-02-28 01:30:02.997542 INFO pred_bat: Historical days now [10] weight [1]
2024-02-28 01:30:03.004760 INFO pred_bat: Today's load divergence 100.0 % in-day adjustment 100.0 % damping 0.95x, Predicted so far 0 kWh with 0.0 kWh car excluded and 9.56 kWh import ignored and 0 forecast extra, Actual so far 0 kWh with 0.0 kWh car excluded and 0.0 kWh import ignored
2024-02-28 01:30:03.032659 INFO pred_bat: Reserve min: 14.0% Battery_min:14.0%
2024-02-28 01:30:03.033994 INFO pred_bat: Inverter 0 with soc_max 10.0 kWh nominal_capacity 10.0 kWh battery rate raw 3500.0 w charge rate 3.5 kW discharge rate 3.5 kW battery_rate_min 0.0 w ac limit 10.0 kW export limit 10.0 kW reserve 14.0 % current_reserve 14.0 %
2024-02-28 01:30:03.039627 INFO pred_bat: Inverter 0 SOC: 0.4 kW 4 % Current charge rate 4500.0 w Current discharge rate 2800.0 w Current power 0.0 w Current voltage 52.0
2024-02-28 01:30:03.040654 INFO pred_bat: Inverter 0 scheduled charge enable is False
2024-02-28 01:30:03.041952 INFO pred_bat: Inverter 0 charge windows currently []
2024-02-28 01:30:03.043040 INFO pred_bat: Inverter 0 Charge settings: timed charged is disabled, power 4.5 kW
2024-02-28 01:30:03.045102 INFO pred_bat: Inverter 0 scheduled discharge enable is False
2024-02-28 01:30:03.046313 INFO pred_bat: Inverter 0 discharge windows currently [{'start': 0, 'end': 0, 'average': 0}, {'start': 1440, 'end': 1440, 'average': 0}]
2024-02-28 01:30:03.047074 INFO pred_bat: Note: Inverter does not support discharge freeze - disabled
2024-02-28 01:30:03.047836 INFO pred_bat: Note: Inverter does not support charge freeze - disabled
2024-02-28 01:30:03.048592 INFO pred_bat: Note: Inverter does not support reserve - disabling reserve functions
2024-02-28 01:30:03.049484 INFO pred_bat: Found 1 inverters totals: min reserve 1.4 current reserve 1.4 soc_max 10.0 soc 0.4 charge rate 4.5 kW discharge rate 2.8000000000000003 kW battery_rate_min 0.0 w ac limit 10.0 export limit 10.0 kW loss charge 3 % loss discharge 3 % inverter loss 5 %
2024-02-28 01:30:03.074478 INFO pred_bat: Base charge    window [  ]
2024-02-28 01:30:03.075482 INFO pred_bat: Base discharge window [ 28-02 00:00:00 - 28-02 00:00:00 @ 0p 100.0%, 29-02 00:00:00 - 29-02 00:00:00 @ 0p 100.0% ]
2024-02-28 01:30:03.076184 INFO pred_bat: Plan was last updated on 2024-02-28 01:25:00.005056+01:00 and is now 5.0 minutes old
2024-02-28 01:30:03.077061 INFO pred_bat: Best charge    window [ 28-02 02:00:00 - 28-02 08:00:00 @ 23.15p 100%, 29-02 02:00:00 - 29-02 08:00:00 @ 23.15p 100%, 29-02 10:00:00 - 01-03 02:00:00 @ 36.4p 100% ]
2024-02-28 01:30:03.077920 INFO pred_bat: Best discharge window [ 28-02 08:00:00 - 28-02 23:00:00 @ 38.5p 14%, 29-02 00:00:00 - 29-02 01:00:00 @ 23.9p 14% ]
2024-02-28 01:30:03.088133 INFO pred_bat: Creating pool of 2 processes to match your CPU count
2024-02-28 01:30:03.124832 INFO pred_bat: predict base end_record 02-29 02:05:00 final soc 1.4 kWh metric 427.66 p metric_keep 0 min_soc 1.4 @ 02-28 01:50:00 kWh load 18.54 pv 8.36
2024-02-28 01:30:03.126471 INFO pred_bat:          [  01:30,   02:30,   03:30,   04:30,   05:30,   06:30,   07:30,   08:30,   09:30,   10:30,   11:30,   12:30,   13:30,   14:30,   15:30,   16:30,   17:30,   18:30,   19:30,   20:30,   21:30,   22:30,   23:30,   00:30,   01:30]
2024-02-28 01:30:03.127946 INFO pred_bat:     SOC: [    0.4,     1.4,     1.4,     1.4,     1.4,     1.4,    1.41,     1.5,     1.4,    1.68,     1.4,    1.41,    1.49,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4]
2024-02-28 01:30:03.129332 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<be-,   g<be-,   g<be-,   g~be~]
2024-02-28 01:30:03.130771 INFO pred_bat:    LOAD: [    0.0,    1.41,    1.42,    1.44,    1.46,    1.47,    1.49,    1.61,    3.22,    4.43,    6.11,    7.58,    8.78,   10.52,   12.45,   13.98,   15.46,   16.86,   17.42,   17.57,   17.72,   18.02,   18.13,   18.19,   18.34]
2024-02-28 01:30:03.132214 INFO pred_bat:      PV: [    0.0,     0.0,     0.0,     0.0,     0.0,     0.0,    0.02,    0.24,    0.89,    1.92,    3.22,    4.67,    6.02,    7.22,    8.01,    8.31,    8.36,    8.36,    8.36,    8.36,    8.36,    8.36,    8.36,    8.36,    8.36]
2024-02-28 01:30:03.133669 INFO pred_bat:  IMPORT: [   4.13,    5.68,    5.69,    5.71,    5.72,    5.74,    5.75,    5.75,    6.65,    7.15,    7.34,    7.46,    7.46,    7.97,    9.15,   10.41,   11.83,   13.23,   13.79,   13.94,   14.09,   14.39,    14.5,   14.56,   14.71]
2024-02-28 01:30:03.135110 INFO pred_bat:  EXPORT: [    0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0]
2024-02-28 01:30:03.136599 INFO pred_bat:  METRIC: [  98.37,  134.56,  134.95,  135.34,  135.75,  136.21,  136.46,  136.46,  170.99,  190.27,  196.93,  201.01,  201.01,  216.52,  252.73,  291.69,  336.61,  381.01,   398.4,  402.75,  407.05,  415.17,  417.94,  419.28,  422.76]
2024-02-28 01:30:03.306650 INFO pred_bat: Battery has 0.33 hours left - now at 0.4
2024-02-28 01:30:03.338135 INFO pred_bat: predict base10 end_record 02-29 02:05:00 final soc 1.4 kWh metric 706.92 p metric_keep 0 min_soc 1.4 @ 02-28 01:50:00 kWh load 20.36 pv 1.33
2024-02-28 01:30:03.339769 INFO pred_bat:          [  01:30,   02:30,   03:30,   04:30,   05:30,   06:30,   07:30,   08:30,   09:30,   10:30,   11:30,   12:30,   13:30,   14:30,   15:30,   16:30,   17:30,   18:30,   19:30,   20:30,   21:30,   22:30,   23:30,   00:30,   01:30]
2024-02-28 01:30:03.341249 INFO pred_bat:     SOC: [    0.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,    1.44,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4]
2024-02-28 01:30:03.342687 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<be-,   g<be-,   g<be-,   g~be~]
2024-02-28 01:30:03.344170 INFO pred_bat:    LOAD: [    0.0,    1.55,    1.56,    1.58,     1.6,    1.62,    1.64,    1.77,    3.54,    4.88,    6.72,    8.34,    9.66,   11.57,    13.7,   15.38,    17.0,   18.55,   19.17,   19.33,   19.49,   19.82,   19.94,   20.01,   20.16]
2024-02-28 01:30:03.345643 INFO pred_bat:      PV: [    0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,    0.05,    0.17,    0.33,    0.51,    0.72,    0.91,     1.1,    1.25,    1.32,    1.33,    1.33,    1.33,    1.33,    1.33,    1.33,    1.33,    1.33,    1.33]
2024-02-28 01:30:03.347112 INFO pred_bat:  IMPORT: [   4.13,    5.82,    5.83,    5.85,    5.87,    5.89,     5.9,    5.99,    7.65,    8.88,   10.51,   11.93,   13.07,   14.79,   16.78,    18.4,   20.01,   21.56,   22.18,   22.34,    22.5,   22.83,   22.95,   23.02,   23.16]
2024-02-28 01:30:03.348583 INFO pred_bat:  EXPORT: [    0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0]
2024-02-28 01:30:03.350147 INFO pred_bat:  METRIC: [  98.37,  137.86,  138.28,  138.71,  139.17,  139.67,  140.15,   143.5,  207.09,  253.65,  311.73,  358.69,  393.52,  445.41,  506.25,  556.71,   607.6,  656.44,  675.57,  680.35,  685.09,  694.01,  697.06,  698.53,  702.01]
2024-02-28 01:30:03.503014 INFO pred_bat: predict best10 end_record 02-29 02:05:00 final soc 1.53 kWh metric 659.43 p metric_keep 0 min_soc 1.4 @ 02-28 10:45:00 kWh load 20.36 pv 1.33
2024-02-28 01:30:03.504540 INFO pred_bat:          [  01:30,   02:30,   03:30,   04:30,   05:30,   06:30,   07:30,   08:30,   09:30,   10:30,   11:30,   12:30,   13:30,   14:30,   15:30,   16:30,   17:30,   18:30,   19:30,   20:30,   21:30,   22:30,   23:30,   00:30,   01:30]
2024-02-28 01:30:03.505978 INFO pred_bat:     SOC: [    0.4,    2.19,     3.7,    5.16,    6.61,    8.07,    9.52,    8.48,    5.44,     2.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4]
2024-02-28 01:30:03.507380 INFO pred_bat:   STATE: [  g<be-,   g<bf+,   g<bf+,   g<bf+,   g<bf+,   g<bf+,   g<bf+,   g>bf-,   g>bf-,   g>bf-,   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~]
2024-02-28 01:30:03.508866 INFO pred_bat:    LOAD: [    0.0,    1.55,    1.56,    1.58,     1.6,    1.62,    1.64,    1.77,    3.54,    4.88,    6.72,    8.34,    9.66,   11.57,    13.7,   15.38,    17.0,   18.55,   19.17,   19.33,   19.49,   19.82,   19.94,   20.01,   20.16]
2024-02-28 01:30:03.510709 INFO pred_bat:      PV: [    0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,    0.05,    0.17,    0.33,    0.51,    0.72,    0.91,     1.1,    1.25,    1.32,    1.33,    1.33,    1.33,    1.33,    1.33,    1.33,    1.33,    1.33,    1.33]
2024-02-28 01:30:03.512218 INFO pred_bat:  IMPORT: [   4.13,    6.67,    8.33,    9.93,   11.53,   13.13,   14.72,   15.23,   15.23,   15.24,    16.2,   17.63,   18.77,   20.49,   22.48,    24.1,   25.71,   27.26,   27.87,   28.03,    28.2,   28.53,   28.65,   28.71,   28.86]
2024-02-28 01:30:03.513709 INFO pred_bat:  EXPORT: [    0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,    1.31,    2.45,    4.07,    4.29,    4.29,    4.29,    4.29,    4.29,    4.29,    4.29,    4.29,    4.29,    4.29,    4.29,    4.29,    4.29,    4.29,    4.29]
2024-02-28 01:30:03.515225 INFO pred_bat:  METRIC: [  98.37,  157.61,  196.11,  234.04,  274.13,  318.45,  370.64,  338.56,  294.63,  235.21,  260.94,   307.9,  342.73,  394.62,  455.47,  505.93,  556.82,  605.65,  624.78,  629.57,   634.3,  643.22,  646.27,  647.75,  651.23]
2024-02-28 01:30:03.659822 INFO pred_bat: predict best end_record 02-29 02:05:00 final soc 1.53 kWh metric 379.37 p metric_keep 0 min_soc 1.4 @ 02-28 10:45:00 kWh load 18.54 pv 8.36
2024-02-28 01:30:03.661331 INFO pred_bat:          [  01:30,   02:30,   03:30,   04:30,   05:30,   06:30,   07:30,   08:30,   09:30,   10:30,   11:30,   12:30,   13:30,   14:30,   15:30,   16:30,   17:30,   18:30,   19:30,   20:30,   21:30,   22:30,   23:30,   00:30,   01:30]
2024-02-28 01:30:03.662776 INFO pred_bat:     SOC: [    0.4,    2.19,     3.7,    5.16,    6.61,    8.07,    9.53,    8.48,    5.44,     2.4,     1.4,    1.41,    1.49,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4]
2024-02-28 01:30:03.664176 INFO pred_bat:   STATE: [  g<be-,   g<bf+,   g<bf+,   g<bf+,   g<bf+,   g<bf+,   g<bf+,   g>bf-,   g>bf-,   g>bf-,   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~]
2024-02-28 01:30:03.665627 INFO pred_bat:    LOAD: [    0.0,    1.41,    1.42,    1.44,    1.46,    1.47,    1.49,    1.61,    3.22,    4.43,    6.11,    7.58,    8.78,   10.52,   12.45,   13.98,   15.46,   16.86,   17.42,   17.57,   17.72,   18.02,   18.13,   18.19,   18.34]
2024-02-28 01:30:03.667084 INFO pred_bat:      PV: [    0.0,     0.0,     0.0,     0.0,     0.0,     0.0,    0.02,    0.24,    0.89,    1.92,    3.22,    4.67,    6.02,    7.22,    8.01,    8.31,    8.36,    8.36,    8.36,    8.36,    8.36,    8.36,    8.36,    8.36,    8.36]
2024-02-28 01:30:03.668543 INFO pred_bat:  IMPORT: [   4.13,    6.53,    8.19,    9.79,   11.38,   12.98,   14.56,   15.02,   15.02,   15.02,   15.14,   15.26,   15.26,   15.77,   16.95,    18.2,   19.63,   21.03,   21.59,   21.74,   21.88,   22.19,    22.3,   22.36,    22.5]
2024-02-28 01:30:03.670040 INFO pred_bat:  EXPORT: [    0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,    1.44,    3.25,    5.82,    6.42,    6.42,    6.42,    6.42,    6.42,    6.42,    6.42,    6.42,    6.42,    6.42,    6.42,    6.42,    6.42,    6.42,    6.42]
2024-02-28 01:30:03.671549 INFO pred_bat:  METRIC: [  98.37,  154.32,  192.78,  230.67,  270.71,  314.99,  366.68,  327.69,  258.25,  163.05,  145.33,  149.42,  149.42,  164.93,  201.14,  240.09,  285.02,  329.42,  346.81,  351.16,  355.46,  363.57,  366.34,  367.68,  371.17]
2024-02-28 01:30:03.873748 INFO pred_bat: Evaluate trigger {'name': 'large', 'minutes': 60, 'energy': 1.0} results off total_energy 0
2024-02-28 01:30:03.881594 INFO pred_bat: Evaluate trigger {'name': 'small', 'minutes': 15, 'energy': 0.25} results off total_energy 0
2024-02-28 01:30:03.888509 INFO pred_bat: Best charging limit socs [10.0, 10.0, 10.0] export [14, 14] gives import battery 30.25 house 8.93 export 7.43 metric 379.37 metric10 659.43
2024-02-28 01:30:03.953860 INFO pred_bat: Export threshold used for optimisation was 28.6p
2024-02-28 01:30:03.998354 INFO pred_bat: High export rate windows [0: 02-28 04:00:00 - 02-28 05:00:00 @ 24.3, 1: 02-28 05:00:00 - 02-28 06:00:00 @ 25.9, 2: 02-28 06:00:00 - 02-28 07:00:00 @ 29.6, 3: 02-28 07:00:00 - 02-28 08:00:00 @ 35.9, 4: 02-28 08:00:00 - 02-28 09:00:00 @ 38.5, 5: 02-28 09:00:00 - 02-28 10:00:00 @ 38.3, 6: 02-28 10:00:00 - 02-28 11:00:00 @ 36.4, 7: 02-28 11:00:00 - 02-28 12:00:00 @ 34.6, 8: 02-28 12:00:00 - 02-28 13:00:00 @ 31.2, 9: 02-28 13:00:00 - 02-28 15:00:00 @ 30.05, 10: 02-28 15:00:00 - 02-28 17:00:00 @ 31.1, 11: 02-28 17:00:00 - 02-28 18:00:00 @ 31.9, 12: 02-28 18:00:00 - 02-28 19:00:00 @ 31.3, 13: 02-28 19:00:00 - 02-28 20:00:00 @ 29.4, 14: 02-28 20:00:00 - 02-28 21:00:00 @ 29.8, 15: 02-28 21:00:00 - 02-28 22:00:00 @ 28.8, 16: 02-28 22:00:00 - 02-28 23:00:00 @ 26.3, 17: 02-29 00:00:00 - 02-29 01:00:00 @ 23.9, 18: 02-29 04:00:00 - 02-29 05:00:00 @ 24.3, 19: 02-29 05:00:00 - 02-29 06:00:00 @ 25.9, 20: 02-29 06:00:00 - 02-29 07:00:00 @ 29.6, 21: 02-29 07:00:00 - 02-29 08:00:00 @ 35.9, 22: 02-29 08:00:00 - 02-29 09:00:00 @ 38.5, 23: 02-29 09:00:00 - 02-29 10:00:00 @ 38.3, 24: 02-29 10:00:00 - 02-29 11:00:00 @ 36.4, 25: 02-29 11:00:00 - 02-29 12:00:00 @ 34.6, 26: 02-29 12:00:00 - 02-29 13:00:00 @ 31.2, 27: 02-29 13:00:00 - 02-29 15:00:00 @ 30.05, 28: 02-29 15:00:00 - 02-29 17:00:00 @ 31.1, 29: 02-29 17:00:00 - 02-29 18:00:00 @ 31.9, 30: 02-29 18:00:00 - 02-29 19:00:00 @ 31.3, 31: 02-29 19:00:00 - 02-29 20:00:00 @ 29.4, 32: 02-29 20:00:00 - 02-29 21:00:00 @ 29.8, 33: 02-29 21:00:00 - 02-29 22:00:00 @ 28.8, 34: 02-29 22:00:00 - 02-29 23:00:00 @ 26.3, 35: 03-01 00:00:00 - 03-01 01:00:00 @ 23.9]
2024-02-28 01:30:04.004538 INFO pred_bat: Import threshold used for optimisation was 28.3p
2024-02-28 01:30:04.047223 INFO pred_bat: Low import rate windows [0: 02-28 00:00:00 - 02-28 02:00:00 @ 23.7, 1: 02-28 02:00:00 - 02-28 04:00:00 @ 23.15, 2: 02-28 04:00:00 - 02-28 05:00:00 @ 24.3, 3: 02-28 05:00:00 - 02-28 06:00:00 @ 25.9, 4: 02-28 06:00:00 - 02-28 07:00:00 @ 29.6, 5: 02-28 07:00:00 - 02-28 08:00:00 @ 35.9, 6: 02-28 10:00:00 - 02-28 11:00:00 @ 36.4, 7: 02-28 11:00:00 - 02-28 12:00:00 @ 34.6, 8: 02-28 12:00:00 - 02-28 13:00:00 @ 31.2, 9: 02-28 13:00:00 - 02-28 15:00:00 @ 30.05, 10: 02-28 15:00:00 - 02-28 17:00:00 @ 31.1, 11: 02-28 17:00:00 - 02-28 18:00:00 @ 31.9, 12: 02-28 18:00:00 - 02-28 19:00:00 @ 31.3, 13: 02-28 19:00:00 - 02-28 20:00:00 @ 29.4, 14: 02-28 20:00:00 - 02-28 21:00:00 @ 29.8, 15: 02-28 21:00:00 - 02-28 22:00:00 @ 28.8, 16: 02-28 22:00:00 - 02-28 23:00:00 @ 26.3, 17: 02-28 23:00:00 - 02-29 00:00:00 @ 23.1, 18: 02-29 00:00:00 - 02-29 02:00:00 @ 23.7, 19: 02-29 02:00:00 - 02-29 04:00:00 @ 23.15, 20: 02-29 04:00:00 - 02-29 05:00:00 @ 24.3, 21: 02-29 05:00:00 - 02-29 06:00:00 @ 25.9, 22: 02-29 06:00:00 - 02-29 07:00:00 @ 29.6, 23: 02-29 07:00:00 - 02-29 08:00:00 @ 35.9, 24: 02-29 10:00:00 - 02-29 11:00:00 @ 36.4, 25: 02-29 11:00:00 - 02-29 12:00:00 @ 34.6, 26: 02-29 12:00:00 - 02-29 13:00:00 @ 31.2, 27: 02-29 13:00:00 - 02-29 15:00:00 @ 30.05, 28: 02-29 15:00:00 - 02-29 17:00:00 @ 31.1, 29: 02-29 17:00:00 - 02-29 18:00:00 @ 31.9, 30: 02-29 18:00:00 - 02-29 19:00:00 @ 31.3, 31: 02-29 19:00:00 - 02-29 20:00:00 @ 29.4, 32: 02-29 20:00:00 - 02-29 21:00:00 @ 29.8, 33: 02-29 21:00:00 - 02-29 22:00:00 @ 28.8, 34: 02-29 22:00:00 - 02-29 23:00:00 @ 26.3, 35: 02-29 23:00:00 - 03-01 00:00:00 @ 23.1, 36: 03-01 00:00:00 - 03-01 02:00:00 @ 23.7]
2024-02-28 01:30:04.053495 INFO pred_bat: Charge window will be: 2024-02-28 02:00:00+01:00 - 2024-02-28 08:00:00+01:00 - current soc 4 target 100
2024-02-28 01:30:04.054476 INFO pred_bat: Configuring charge window now (now 02-28 01:30:00 target set_window_minutes 30 charge start time 02-28 02:00:00
2024-02-28 01:30:06.065942 INFO pred_bat: Inverter 0 Wrote 02:00:00 to charge_start_time, successfully now 02:00:00
2024-02-28 01:30:06.087166 INFO pred_bat: Inverter 0 Updated start and end charge window to 02:00:00 - 08:00:00 (old 01:00:00 - 08:00:00)
2024-02-28 01:30:06.090697 INFO pred_bat: Next discharge window will be: 2024-02-28 08:00:00+01:00 - 2024-02-28 23:01:00+01:00 at reserve 14
2024-02-28 01:30:06.094368 INFO pred_bat: Setting ECO mode as we are not yet within the discharge window - next time is 02-28 08:00:00 - 02-28 23:00:00
2024-02-28 01:30:06.101457 INFO pred_bat: Inverter 0 Adjust force discharge to False, change times from 00:00:00 - 00:00:00 to 00:00:00 - 00:00:00
2024-02-28 01:30:06.105756 INFO pred_bat: Inverter 0 Stop charge via Service huawei_solar/stop_forcible_charge
2024-02-28 01:30:06.108994 INFO pred_bat: Call service huawei_solar/stop_forcible_charge device_id 6893ee838a0972bd3e50d9e0faa0ba5a
2024-02-28 01:30:06.114474 INFO pred_bat: Inverter 0 Current charge limit is 33 % and new target is 100 %
2024-02-28 01:30:08.130621 INFO pred_bat: Inverter 0 Wrote 100 to charge_limit, successfully now 100
2024-02-28 01:30:08.160374 INFO pred_bat: Current SOC 4% is less than Target SOC 100. Grid charging enabled with charge current set to 65.00
2024-02-28 01:30:08.181821 INFO pred_bat: Will recompute the plan as it is now 5.0 minutes old and will exceed the max age of 5 minutes before the next run
2024-02-28 01:30:08.184169 INFO pred_bat: Best charge    window [ 28-02 00:00:00 - 28-02 02:00:00 @ 23.7p 0.0%, 28-02 02:00:00 - 28-02 04:00:00 @ 23.15p 0.0%, 28-02 04:00:00 - 28-02 05:00:00 @ 24.3p 0.0%, 28-02 05:00:00 - 28-02 06:00:00 @ 25.9p 0.0%, 28-02 06:00:00 - 28-02 07:00:00 @ 29.6p 0.0%, 28-02 07:00:00 - 28-02 08:00:00 @ 35.9p 0.0%, 28-02 10:00:00 - 28-02 11:00:00 @ 36.4p 0.0%, 28-02 11:00:00 - 28-02 12:00:00 @ 34.6p 0.0%, 28-02 12:00:00 - 28-02 13:00:00 @ 31.2p 0.0%, 28-02 13:00:00 - 28-02 15:00:00 @ 30.05p 0.0%, 28-02 15:00:00 - 28-02 17:00:00 @ 31.1p 0.0%, 28-02 17:00:00 - 28-02 18:00:00 @ 31.9p 0.0%, 28-02 18:00:00 - 28-02 19:00:00 @ 31.3p 0.0%, 28-02 19:00:00 - 28-02 20:00:00 @ 29.4p 0.0%, 28-02 20:00:00 - 28-02 21:00:00 @ 29.8p 0.0%, 28-02 21:00:00 - 28-02 22:00:00 @ 28.8p 0.0%, 28-02 22:00:00 - 28-02 23:00:00 @ 26.3p 0.0%, 28-02 23:00:00 - 29-02 00:00:00 @ 23.1p 0.0%, 29-02 00:00:00 - 29-02 02:00:00 @ 23.7p 0.0%, 29-02 02:00:00 - 29-02 04:00:00 @ 23.15p 0.0%, 29-02 04:00:00 - 29-02 05:00:00 @ 24.3p 0.0%, 29-02 05:00:00 - 29-02 06:00:00 @ 25.9p 0.0%, 29-02 06:00:00 - 29-02 07:00:00 @ 29.6p 0.0%, 29-02 07:00:00 - 29-02 08:00:00 @ 35.9p 0.0%, 29-02 10:00:00 - 29-02 11:00:00 @ 36.4p 0.0%, 29-02 11:00:00 - 29-02 12:00:00 @ 34.6p 0.0%, 29-02 12:00:00 - 29-02 13:00:00 @ 31.2p 0.0%, 29-02 13:00:00 - 29-02 15:00:00 @ 30.05p 0.0%, 29-02 15:00:00 - 29-02 17:00:00 @ 31.1p 0.0%, 29-02 17:00:00 - 29-02 18:00:00 @ 31.9p 0.0%, 29-02 18:00:00 - 29-02 19:00:00 @ 31.3p 0.0%, 29-02 19:00:00 - 29-02 20:00:00 @ 29.4p 0.0%, 29-02 20:00:00 - 29-02 21:00:00 @ 29.8p 0.0%, 29-02 21:00:00 - 29-02 22:00:00 @ 28.8p 0.0%, 29-02 22:00:00 - 29-02 23:00:00 @ 26.3p 0.0%, 29-02 23:00:00 - 01-03 00:00:00 @ 23.1p 0.0%, 01-03 00:00:00 - 01-03 02:00:00 @ 23.7p 0.0% ]
2024-02-28 01:30:08.185821 INFO pred_bat: Best discharge window [ 28-02 04:00:00 - 28-02 05:00:00 @ 24.3p 100.0%, 28-02 05:00:00 - 28-02 06:00:00 @ 25.9p 100.0%, 28-02 06:00:00 - 28-02 07:00:00 @ 29.6p 100.0%, 28-02 07:00:00 - 28-02 08:00:00 @ 35.9p 100.0%, 28-02 08:00:00 - 28-02 09:00:00 @ 38.5p 100.0%, 28-02 09:00:00 - 28-02 10:00:00 @ 38.3p 100.0%, 28-02 10:00:00 - 28-02 11:00:00 @ 36.4p 100.0%, 28-02 11:00:00 - 28-02 12:00:00 @ 34.6p 100.0%, 28-02 12:00:00 - 28-02 13:00:00 @ 31.2p 100.0%, 28-02 13:00:00 - 28-02 15:00:00 @ 30.05p 100.0%, 28-02 15:00:00 - 28-02 17:00:00 @ 31.1p 100.0%, 28-02 17:00:00 - 28-02 18:00:00 @ 31.9p 100.0%, 28-02 18:00:00 - 28-02 19:00:00 @ 31.3p 100.0%, 28-02 19:00:00 - 28-02 20:00:00 @ 29.4p 100.0%, 28-02 20:00:00 - 28-02 21:00:00 @ 29.8p 100.0%, 28-02 21:00:00 - 28-02 22:00:00 @ 28.8p 100.0%, 28-02 22:00:00 - 28-02 23:00:00 @ 26.3p 100.0%, 29-02 00:00:00 - 29-02 01:00:00 @ 23.9p 100.0%, 29-02 04:00:00 - 29-02 05:00:00 @ 24.3p 100.0%, 29-02 05:00:00 - 29-02 06:00:00 @ 25.9p 100.0%, 29-02 06:00:00 - 29-02 07:00:00 @ 29.6p 100.0%, 29-02 07:00:00 - 29-02 08:00:00 @ 35.9p 100.0%, 29-02 08:00:00 - 29-02 09:00:00 @ 38.5p 100.0%, 29-02 09:00:00 - 29-02 10:00:00 @ 38.3p 100.0%, 29-02 10:00:00 - 29-02 11:00:00 @ 36.4p 100.0%, 29-02 11:00:00 - 29-02 12:00:00 @ 34.6p 100.0%, 29-02 12:00:00 - 29-02 13:00:00 @ 31.2p 100.0%, 29-02 13:00:00 - 29-02 15:00:00 @ 30.05p 100.0%, 29-02 15:00:00 - 29-02 17:00:00 @ 31.1p 100.0%, 29-02 17:00:00 - 29-02 18:00:00 @ 31.9p 100.0%, 29-02 18:00:00 - 29-02 19:00:00 @ 31.3p 100.0%, 29-02 19:00:00 - 29-02 20:00:00 @ 29.4p 100.0%, 29-02 20:00:00 - 29-02 21:00:00 @ 29.8p 100.0%, 29-02 21:00:00 - 29-02 22:00:00 @ 28.8p 100.0%, 29-02 22:00:00 - 29-02 23:00:00 @ 26.3p 100.0%, 01-03 00:00:00 - 01-03 01:00:00 @ 23.9p 100.0% ]
2024-02-28 01:30:08.196192 INFO pred_bat: Creating pool of 2 processes to match your CPU count
2024-02-28 01:30:08.215807 INFO pred_bat: Calculate Best options: mode(Control charge & discharge) calculate_discharge_oncharge(True) set_discharge_freeze_only(False) set_discharge_during_charge(False) combine_charge_slots(True) combine_discharge_slots(True) best_soc_min(0.0 kWh) best_soc_max(0.0 kWh) best_soc_keep(0.1 kWh) inverter_loss(5 %) battery_loss(3 %) battery_loss_discharge (3 %) inverter_hybrid(True) metric_min_improvement(0.0 p) metric_min_improvement_discharge(0.0 p) metric_battery_cycle(0.2 p/kWh)metric_battery_value_scaling(0.8 x)
2024-02-28 01:30:08.217528 INFO pred_bat: Optimise all windows, total charge 36 discharge 36
2024-02-28 01:30:08.524941 INFO pred_bat: Optimise all charge for all bands best price threshold 28.5 charges at 28.3 at metric 616.71 keep 0 cost 703.93 soc_min 1.4 limits [10.0, 10.0, 10.0, 10.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10.0, 10.0, 10.0, 10.0, 10.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10.0, 0.0] discharge [100.0, 100.0, 100.0, 0, 0, 0, 0, 0, 0, 100.0, 100.0, 0, 0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 0, 0, 0, 0, 0, 0, 100.0, 100.0, 0, 0, 100.0, 100.0, 100.0, 100.0, 100.0]
2024-02-28 01:30:08.526127 INFO pred_bat: Calculated end_record as 02-29 02:00:00
2024-02-28 01:30:08.527148 INFO pred_bat: >> Region optimisation pass width 960
2024-02-28 01:30:08.697647 INFO pred_bat: Optimise all charge for all bands best price threshold 32.5 charges at 32.3 at metric 393.94 keep 0 cost 588.56 soc_min 1.4 limits [10.0, 10.0, 10.0, 10.0, 10.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10.0, 10.0, 10.0, 10.0, 10.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10.0, 0.0] discharge [100.0, 100.0, 100.0, 0, 0, 0, 0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0]
2024-02-28 01:30:08.810881 INFO pred_bat: Optimise all charge for all bands best price threshold 25.3 charges at 25.3 at metric 383.1 keep 0 cost 407.34 soc_min 1.4 limits [10.0, 10.0, 10.0, 10.0, 10.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10.0, 10.0, 10.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10.0, 0.0] discharge [100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 0, 0, 0, 0, 0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0]
2024-02-28 01:30:08.811935 INFO pred_bat: >> Region optimisation pass width 480
2024-02-28 01:30:08.928897 INFO pred_bat: Optimise all charge for all bands best price threshold 32.8 charges at 32.3 at metric 345.28 keep 0 cost 369.53 soc_min 1.4 limits [10.0, 10.0, 10.0, 10.0, 10.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10.0, 10.0, 10.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10.0, 0.0] discharge [100.0, 100.0, 100.0, 0, 0, 0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0]
2024-02-28 01:30:09.033043 INFO pred_bat: Optimise all charge for all bands best price threshold 27.3 charges at 21.8 at metric 350.53 keep 0 cost 374.9 soc_min 1.4 limits [10.0, 10.0, 10.0, 10.0, 10.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10.0, 10.0, 10.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10.0, 0.0] discharge [100.0, 100.0, 100.0, 100.0, 100.0, 0, 0, 0, 0, 0, 0, 0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0]
2024-02-28 01:30:09.133582 INFO pred_bat: Optimise all charge for all bands best price threshold 25.3 charges at 21.8 at metric 383.1 keep 0 cost 407.34 soc_min 1.4 limits [10.0, 10.0, 10.0, 10.0, 10.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10.0, 10.0, 10.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10.0, 0.0] discharge [100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 0, 0, 0, 0, 0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0]
2024-02-28 01:30:09.198510 INFO pred_bat: Optimise all charge for all bands best price threshold 25.3 charges at 25.3 at metric 383.74 keep 0 cost 407.99 soc_min 1.4 limits [10.0, 10.0, 10.0, 10.0, 10.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10.0, 10.0, 10.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10.0, 0.0] discharge [100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0]
2024-02-28 01:30:09.199640 INFO pred_bat: >> Region optimisation pass width 240
2024-02-28 01:30:09.271141 INFO pred_bat: Optimise all charge for all bands best price threshold 26.3 charges at 25.3 at metric 363.76 keep 0 cost 388.21 soc_min 1.4 limits [0, 10.0, 0, 0, 10.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10.0, 10.0, 10.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10.0, 0.0] discharge [100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0]
2024-02-28 01:30:09.367675 INFO pred_bat: Optimise all charge for all bands best price threshold 32.8 charges at 32.3 at metric 321.22 keep 0 cost 345.68 soc_min 1.4 limits [0, 10.0, 0, 10.0, 10.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10.0, 10.0, 10.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10.0, 0.0] discharge [100.0, 100.0, 100.0, 0, 0, 0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0]
2024-02-28 01:30:09.457732 INFO pred_bat: Optimise all charge for all bands best price threshold 27.3 charges at 21.8 at metric 326.47 keep 0 cost 351.05 soc_min 1.4 limits [0, 10.0, 0, 10.0, 10.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10.0, 10.0, 10.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10.0, 0.0] discharge [100.0, 100.0, 100.0, 100.0, 100.0, 0, 0, 0, 0, 0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0]
2024-02-28 01:30:09.532432 INFO pred_bat: Optimise all charge for all bands best price threshold 28.7 charges at 21.8 at metric 359.04 keep 0 cost 383.49 soc_min 1.4 limits [0, 10.0, 0, 10.0, 10.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10.0, 10.0, 10.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10.0, 0.0] discharge [100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0]
2024-02-28 01:30:09.698914 INFO pred_bat: Previous message repeated 1 times
2024-02-28 01:30:09.699059 INFO pred_bat: Optimise all charge for all bands best price threshold 25.3 charges at 21.8 at metric 359.68 keep 0 cost 384.14 soc_min 1.4 limits [0, 10.0, 0, 10.0, 10.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10.0, 10.0, 10.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10.0, 0.0] discharge [100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0]
2024-02-28 01:30:09.763996 INFO pred_bat: Optimise all charge for all bands best price threshold 25.3 charges at 25.3 at metric 359.68 keep 0 cost 384.14 soc_min 1.4 limits [0, 10.0, 0, 10.0, 10.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10.0, 10.0, 10.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10.0, 0.0] discharge [100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0]
2024-02-28 01:30:09.765165 INFO pred_bat: Calculated end_record as 02-29 02:00:00
2024-02-28 01:30:09.766483 INFO pred_bat: Starting second optimisation best_price 28.3 best_price_discharge 28.6 lowest_price_charge 25.3 with charge limits [0, 10.0, 0, 10.0, 10.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10.0, 10.0, 10.0, 10.0, 10.0, 10.0, 10.0, 10.0, 10.0, 10.0, 10.0, 10.0, 10.0, 10.0, 10.0, 10.0, 10.0, 10.0] based on
2024-02-28 01:30:09.767736 INFO pred_bat: Optimise price set 35.3 start_at_low False best_price 28.3 best_metric 359.68 best_cost 384.14
2024-02-28 01:30:09.888551 INFO pred_bat: Optimise price set 35.1 start_at_low False best_price 28.3 best_metric 389.27 best_cost 373.92
2024-02-28 01:30:10.004540 INFO pred_bat: Optimise price set 33.3 start_at_low False best_price 28.3 best_metric 377.93 best_cost 361.54
2024-02-28 01:30:10.134037 INFO pred_bat: Optimise price set 32.9 start_at_low False best_price 28.3 best_metric 366.69 best_cost 348.83
2024-02-28 01:30:10.282642 INFO pred_bat: Optimise price set 32.3 start_at_low False best_price 28.3 best_metric 366.69 best_cost 348.83
2024-02-28 01:30:10.315528 INFO pred_bat: Optimise price set 31.7 start_at_low False best_price 28.3 best_metric 366.68 best_cost 348.83
2024-02-28 01:30:10.513007 INFO pred_bat: Optimise price set 29.2 start_at_low False best_price 28.3 best_metric 366.69 best_cost 348.83
2024-02-28 01:30:10.782317 INFO pred_bat: Optimise price set 28.6 start_at_low False best_price 28.3 best_metric 366.69 best_cost 348.83
2024-02-28 01:30:11.053507 INFO pred_bat: Optimise price set 28.5 start_at_low False best_price 28.3 best_metric 366.69 best_cost 348.83
2024-02-28 01:30:11.289909 INFO pred_bat: Optimise price set 28.3 start_at_low False best_price 28.3 best_metric 366.69 best_cost 348.83
2024-02-28 01:30:11.385980 INFO pred_bat: Optimise price set 27.5 start_at_low False best_price 28.3 best_metric 366.68 best_cost 348.83
2024-02-28 01:30:11.667924 INFO pred_bat: Optimise price set 27.3 start_at_low False best_price 28.3 best_metric 366.69 best_cost 348.83
2024-02-28 01:30:11.788706 INFO pred_bat: Optimise price set 27.1 start_at_low False best_price 28.3 best_metric 366.69 best_cost 348.83
2024-02-28 01:30:11.912150 INFO pred_bat: Optimise price set 26.9 start_at_low False best_price 28.3 best_metric 366.69 best_cost 348.83
2024-02-28 01:30:12.030417 INFO pred_bat: Optimise price set 26.6 start_at_low False best_price 28.3 best_metric 366.69 best_cost 348.83
2024-02-28 01:30:12.182375 INFO pred_bat: Optimise price set 26.3 start_at_low False best_price 28.3 best_metric 363.42 best_cost 345.58
2024-02-28 01:30:12.310264 INFO pred_bat: Optimise price set 25.9 start_at_low False best_price 28.3 best_metric 363.43 best_cost 345.58
2024-02-28 01:30:12.655824 INFO pred_bat: Optimise price set 25.3 start_at_low False best_price 28.3 best_metric 363.42 best_cost 345.58
2024-02-28 01:30:13.145305 INFO pred_bat: Best charge windows best_metric 363.42 best_cost 345.58 metric_keep 0 end_record 02-29 02:00:00 windows [ 28-02 02:00:00 - 28-02 04:00:00 @ 23.15p 100%, 28-02 04:00:00 - 28-02 05:00:00 @ 24.3p 100%, 28-02 05:00:00 - 28-02 06:00:00 @ 25.9p 100%, 28-02 06:00:00 - 28-02 07:00:00 @ 29.6p 100%, 29-02 02:00:00 - 29-02 04:00:00 @ 23.15p 100%, 29-02 04:00:00 - 29-02 05:00:00 @ 24.3p 100%, 29-02 05:00:00 - 29-02 06:00:00 @ 25.9p 100%, 29-02 06:00:00 - 29-02 07:00:00 @ 29.6p 100%, 29-02 07:00:00 - 29-02 08:00:00 @ 35.9p 100%, 29-02 10:00:00 - 29-02 11:00:00 @ 36.4p 100%, 29-02 11:00:00 - 29-02 12:00:00 @ 34.6p 100%, 29-02 12:00:00 - 29-02 13:00:00 @ 31.2p 100%, 29-02 13:00:00 - 29-02 15:00:00 @ 30.05p 100%, 29-02 15:00:00 - 29-02 17:00:00 @ 31.1p 100%, 29-02 17:00:00 - 29-02 18:00:00 @ 31.9p 100%, 29-02 18:00:00 - 29-02 19:00:00 @ 31.3p 100%, 29-02 19:00:00 - 29-02 20:00:00 @ 29.4p 100%, 29-02 20:00:00 - 29-02 21:00:00 @ 29.8p 100%, 29-02 21:00:00 - 29-02 22:00:00 @ 28.8p 100%, 29-02 22:00:00 - 29-02 23:00:00 @ 26.3p 100%, 29-02 23:00:00 - 01-03 00:00:00 @ 23.1p 100%, 01-03 00:00:00 - 01-03 02:00:00 @ 23.7p 100% ]
2024-02-28 01:30:13.146882 INFO pred_bat: Best discharge windows best_metric 363.42 best_cost 345.58 metric_keep 0 end_record 02-29 02:00:00 windows [ 28-02 08:00:00 - 28-02 09:00:00 @ 38.5p 14%, 28-02 09:00:00 - 28-02 10:00:00 @ 38.3p 14%, 28-02 10:00:00 - 28-02 11:00:00 @ 36.4p 14%, 28-02 11:00:00 - 28-02 12:00:00 @ 34.6p 14%, 28-02 12:00:00 - 28-02 13:00:00 @ 31.2p 14%, 28-02 13:00:00 - 28-02 15:00:00 @ 30.05p 14%, 28-02 15:00:00 - 28-02 17:00:00 @ 31.1p 14%, 28-02 17:00:00 - 28-02 18:00:00 @ 31.9p 14%, 28-02 18:00:00 - 28-02 19:00:00 @ 31.3p 14%, 28-02 19:00:00 - 28-02 20:00:00 @ 29.4p 14%, 28-02 20:00:00 - 28-02 21:00:00 @ 29.8p 14%, 28-02 21:00:00 - 28-02 22:00:00 @ 28.8p 14% ]
2024-02-28 01:30:13.148029 INFO pred_bat: Optimise price set 25.3 start_at_low True best_price 28.3 best_metric 363.42 best_cost 345.58
2024-02-28 01:30:13.618427 INFO pred_bat: Optimise price set 25.9 start_at_low True best_price 28.3 best_metric 363.42 best_cost 345.58
2024-02-28 01:30:13.986469 INFO pred_bat: Optimise price set 26.3 start_at_low True best_price 28.3 best_metric 363.42 best_cost 345.58
2024-02-28 01:30:14.100103 INFO pred_bat: Optimise price set 26.6 start_at_low True best_price 28.3 best_metric 363.43 best_cost 345.58
2024-02-28 01:30:14.195685 INFO pred_bat: Optimise price set 26.9 start_at_low True best_price 28.3 best_metric 363.42 best_cost 345.58
2024-02-28 01:30:14.313805 INFO pred_bat: Optimise price set 27.3 start_at_low True best_price 28.3 best_metric 363.43 best_cost 345.58
2024-02-28 01:30:14.438324 INFO pred_bat: Optimise price set 27.5 start_at_low True best_price 28.3 best_metric 363.43 best_cost 345.58
2024-02-28 01:30:14.664290 INFO pred_bat: Optimise price set 28.3 start_at_low True best_price 28.3 best_metric 363.43 best_cost 345.58
2024-02-28 01:30:14.694060 INFO pred_bat: Optimise price set 28.7 start_at_low True best_price 28.3 best_metric 363.42 best_cost 345.58
2024-02-28 01:30:14.857789 INFO pred_bat: Optimise price set 31.4 start_at_low True best_price 28.3 best_metric 363.42 best_cost 345.58
2024-02-28 01:30:14.888172 INFO pred_bat: Optimise price set 32.1 start_at_low True best_price 28.3 best_metric 363.42 best_cost 345.58
2024-02-28 01:30:14.918967 INFO pred_bat: Optimise price set 32.3 start_at_low True best_price 28.3 best_metric 363.42 best_cost 345.58
2024-02-28 01:30:14.951535 INFO pred_bat: Optimise price set 32.5 start_at_low True best_price 28.3 best_metric 363.42 best_cost 345.58
2024-02-28 01:30:14.981120 INFO pred_bat: Optimise price set 32.8 start_at_low True best_price 28.3 best_metric 363.42 best_cost 345.58
2024-02-28 01:30:15.011085 INFO pred_bat: Optimise price set 34.0 start_at_low True best_price 28.3 best_metric 363.42 best_cost 345.58
2024-02-28 01:30:15.042879 INFO pred_bat: Optimise price set 34.1 start_at_low True best_price 28.3 best_metric 363.42 best_cost 345.58
2024-02-28 01:30:15.075071 INFO pred_bat: Optimise price set 34.2 start_at_low True best_price 28.3 best_metric 363.42 best_cost 345.58
2024-02-28 01:30:15.119391 INFO pred_bat: Optimise price set 34.8 start_at_low True best_price 28.3 best_metric 363.42 best_cost 345.58
2024-02-28 01:30:15.160662 INFO pred_bat: Optimise price set 37.8 start_at_low True best_price 28.3 best_metric 363.42 best_cost 345.58
2024-02-28 01:30:15.192534 INFO pred_bat: Optimise price set 39.2 start_at_low True best_price 28.3 best_metric 363.42 best_cost 345.58
2024-02-28 01:30:15.224137 INFO pred_bat: Optimise price set 39.7 start_at_low True best_price 28.3 best_metric 363.42 best_cost 345.58
2024-02-28 01:30:15.357020 INFO pred_bat: Best charge windows best_metric 363.42 best_cost 345.58 metric_keep 0 end_record 02-29 02:00:00 windows [ 28-02 02:00:00 - 28-02 04:00:00 @ 23.15p 100%, 28-02 04:00:00 - 28-02 05:00:00 @ 24.3p 100%, 28-02 05:00:00 - 28-02 06:00:00 @ 25.9p 100%, 28-02 06:00:00 - 28-02 07:00:00 @ 29.6p 100%, 28-02 07:00:00 - 28-02 08:00:00 @ 35.9p 100%, 29-02 02:00:00 - 29-02 04:00:00 @ 23.15p 100%, 29-02 04:00:00 - 29-02 05:00:00 @ 24.3p 100%, 29-02 05:00:00 - 29-02 06:00:00 @ 25.9p 100%, 29-02 06:00:00 - 29-02 07:00:00 @ 29.6p 100%, 29-02 07:00:00 - 29-02 08:00:00 @ 35.9p 100%, 29-02 10:00:00 - 29-02 11:00:00 @ 36.4p 100%, 29-02 11:00:00 - 29-02 12:00:00 @ 34.6p 100%, 29-02 12:00:00 - 29-02 13:00:00 @ 31.2p 100%, 29-02 13:00:00 - 29-02 15:00:00 @ 30.05p 100%, 29-02 15:00:00 - 29-02 17:00:00 @ 31.1p 100%, 29-02 17:00:00 - 29-02 18:00:00 @ 31.9p 100%, 29-02 18:00:00 - 29-02 19:00:00 @ 31.3p 100%, 29-02 19:00:00 - 29-02 20:00:00 @ 29.4p 100%, 29-02 20:00:00 - 29-02 21:00:00 @ 29.8p 100%, 29-02 21:00:00 - 29-02 22:00:00 @ 28.8p 100%, 29-02 22:00:00 - 29-02 23:00:00 @ 26.3p 100%, 29-02 23:00:00 - 01-03 00:00:00 @ 23.1p 100%, 01-03 00:00:00 - 01-03 02:00:00 @ 23.7p 100% ]
2024-02-28 01:30:15.358595 INFO pred_bat: Best discharge windows best_metric 363.42 best_cost 345.58 metric_keep 0 end_record 02-29 02:00:00 windows [ 28-02 08:00:00 - 28-02 09:00:00 @ 38.5p 14%, 28-02 09:00:00 - 28-02 10:00:00 @ 38.3p 14%, 28-02 10:00:00 - 28-02 11:00:00 @ 36.4p 14%, 28-02 11:00:00 - 28-02 12:00:00 @ 34.6p 14%, 28-02 12:00:00 - 28-02 13:00:00 @ 31.2p 14%, 28-02 13:00:00 - 28-02 15:00:00 @ 30.05p 14%, 28-02 15:00:00 - 28-02 17:00:00 @ 31.1p 14%, 28-02 17:00:00 - 28-02 18:00:00 @ 31.9p 14%, 28-02 18:00:00 - 28-02 19:00:00 @ 31.3p 14%, 28-02 19:00:00 - 28-02 20:00:00 @ 29.4p 14%, 28-02 20:00:00 - 28-02 21:00:00 @ 29.8p 14%, 28-02 21:00:00 - 28-02 22:00:00 @ 28.8p 14% ]
2024-02-28 01:30:15.359917 INFO pred_bat: Second pass optimisation started
2024-02-28 01:30:15.430455 INFO pred_bat: Final optimisation type c window 0 metric 363.42142843847193 metric_keep 0 cost 345.58
2024-02-28 01:30:17.060049 INFO pred_bat: Final optimisation type c window 8 metric 363.42142843847193 metric_keep 0 cost 345.58
2024-02-28 01:30:18.634048 INFO pred_bat: Final optimisation type c window 16 metric 363.42142843847193 metric_keep 0 cost 345.58
2024-02-28 01:30:19.183582 INFO pred_bat: Second pass optimisation finished metric 363.42142843847193 cost 345.58 metric_keep 0
2024-02-28 01:30:19.184626 INFO pred_bat: Tweak optimisation started
2024-02-28 01:30:20.086021 INFO pred_bat: Tweak optimisation finished metric 363.42 cost 345.58 metric_keep 0
2024-02-28 01:30:20.096113 INFO pred_bat: Discharge windows filtered [ 28-02 08:00:00 - 28-02 23:00:00 @ 38.5p 14%, 29-02 00:00:00 - 29-02 01:00:00 @ 23.9p 14% ]
2024-02-28 01:30:20.106110 INFO pred_bat: Filtered charge windows [ 28-02 02:00:00 - 28-02 08:00:00 @ 23.15p 100%, 29-02 02:00:00 - 29-02 08:00:00 @ 23.15p 100%, 29-02 10:00:00 - 01-03 02:00:00 @ 36.4p 100% ] reserve 1.4
2024-02-28 01:30:20.119272 INFO pred_bat: predict base end_record 02-29 02:00:00 final soc 1.4 kWh metric 427.62 p metric_keep 0 min_soc 1.4 @ 02-28 01:50:00 kWh load 18.54 pv 8.36
2024-02-28 01:30:20.120769 INFO pred_bat:          [  01:30,   02:30,   03:30,   04:30,   05:30,   06:30,   07:30,   08:30,   09:30,   10:30,   11:30,   12:30,   13:30,   14:30,   15:30,   16:30,   17:30,   18:30,   19:30,   20:30,   21:30,   22:30,   23:30,   00:30,   01:30]
2024-02-28 01:30:20.122197 INFO pred_bat:     SOC: [    0.4,     1.4,     1.4,     1.4,     1.4,     1.4,    1.41,     1.5,     1.4,    1.68,     1.4,    1.41,    1.49,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4]
2024-02-28 01:30:20.123594 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<be-,   g<be-,   g<be-,   g~be~]
2024-02-28 01:30:20.125058 INFO pred_bat:    LOAD: [    0.0,    1.41,    1.42,    1.44,    1.46,    1.47,    1.49,    1.61,    3.22,    4.43,    6.11,    7.58,    8.78,   10.52,   12.45,   13.98,   15.46,   16.86,   17.42,   17.57,   17.72,   18.02,   18.13,   18.19,   18.34]
2024-02-28 01:30:20.126521 INFO pred_bat:      PV: [    0.0,     0.0,     0.0,     0.0,     0.0,     0.0,    0.02,    0.24,    0.89,    1.92,    3.22,    4.67,    6.02,    7.22,    8.01,    8.31,    8.36,    8.36,    8.36,    8.36,    8.36,    8.36,    8.36,    8.36,    8.36]
2024-02-28 01:30:20.128007 INFO pred_bat:  IMPORT: [   4.13,    5.68,    5.69,    5.71,    5.72,    5.74,    5.75,    5.75,    6.65,    7.15,    7.34,    7.46,    7.46,    7.97,    9.15,   10.41,   11.83,   13.23,   13.79,   13.94,   14.09,   14.39,    14.5,   14.56,   14.71]
2024-02-28 01:30:20.129534 INFO pred_bat:  EXPORT: [    0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0]
2024-02-28 01:30:20.131477 INFO pred_bat:  METRIC: [  98.37,  134.56,  134.95,  135.34,  135.75,  136.21,  136.46,  136.46,  170.99,  190.27,  196.93,  201.01,  201.01,  216.52,  252.73,  291.69,  336.61,  381.01,   398.4,  402.75,  407.05,  415.17,  417.94,  419.28,  422.76]
2024-02-28 01:30:20.247285 INFO pred_bat: Battery has 0.33 hours left - now at 0.4
2024-02-28 01:30:20.278144 INFO pred_bat: predict base10 end_record 02-29 02:00:00 final soc 1.4 kWh metric 706.88 p metric_keep 0 min_soc 1.4 @ 02-28 01:50:00 kWh load 20.36 pv 1.33
2024-02-28 01:30:20.279733 INFO pred_bat:          [  01:30,   02:30,   03:30,   04:30,   05:30,   06:30,   07:30,   08:30,   09:30,   10:30,   11:30,   12:30,   13:30,   14:30,   15:30,   16:30,   17:30,   18:30,   19:30,   20:30,   21:30,   22:30,   23:30,   00:30,   01:30]
2024-02-28 01:30:20.281204 INFO pred_bat:     SOC: [    0.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,    1.44,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4]
2024-02-28 01:30:20.283019 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<be-,   g<be-,   g<be-,   g~be~]
2024-02-28 01:30:20.284510 INFO pred_bat:    LOAD: [    0.0,    1.55,    1.56,    1.58,     1.6,    1.62,    1.64,    1.77,    3.54,    4.88,    6.72,    8.34,    9.66,   11.57,    13.7,   15.38,    17.0,   18.55,   19.17,   19.33,   19.49,   19.82,   19.94,   20.01,   20.16]
2024-02-28 01:30:20.286013 INFO pred_bat:      PV: [    0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,    0.05,    0.17,    0.33,    0.51,    0.72,    0.91,     1.1,    1.25,    1.32,    1.33,    1.33,    1.33,    1.33,    1.33,    1.33,    1.33,    1.33,    1.33]
2024-02-28 01:30:20.287520 INFO pred_bat:  IMPORT: [   4.13,    5.82,    5.83,    5.85,    5.87,    5.89,     5.9,    5.99,    7.65,    8.88,   10.51,   11.93,   13.07,   14.79,   16.78,    18.4,   20.01,   21.56,   22.18,   22.34,    22.5,   22.83,   22.95,   23.02,   23.16]
2024-02-28 01:30:20.288998 INFO pred_bat:  EXPORT: [    0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0]
2024-02-28 01:30:20.290514 INFO pred_bat:  METRIC: [  98.37,  137.86,  138.28,  138.71,  139.17,  139.67,  140.15,   143.5,  207.09,  253.65,  311.73,  358.69,  393.52,  445.41,  506.25,  556.71,   607.6,  656.44,  675.57,  680.35,  685.09,  694.01,  697.06,  698.53,  702.01]
2024-02-28 01:30:20.425225 INFO pred_bat: predict best10 end_record 02-29 02:00:00 final soc 1.4 kWh metric 656.09 p metric_keep 0 min_soc 1.4 @ 02-28 10:45:00 kWh load 20.36 pv 1.33
2024-02-28 01:30:20.426770 INFO pred_bat:          [  01:30,   02:30,   03:30,   04:30,   05:30,   06:30,   07:30,   08:30,   09:30,   10:30,   11:30,   12:30,   13:30,   14:30,   15:30,   16:30,   17:30,   18:30,   19:30,   20:30,   21:30,   22:30,   23:30,   00:30,   01:30]
2024-02-28 01:30:20.428240 INFO pred_bat:     SOC: [    0.4,    2.19,     3.7,    5.16,    6.61,    8.07,    9.52,    8.48,    5.44,     2.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4]
2024-02-28 01:30:20.429720 INFO pred_bat:   STATE: [  g<be-,   g<bf+,   g<bf+,   g<bf+,   g<bf+,   g<bf+,   g<bf+,   g>bf-,   g>bf-,   g>bf-,   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~]
2024-02-28 01:30:20.431245 INFO pred_bat:    LOAD: [    0.0,    1.55,    1.56,    1.58,     1.6,    1.62,    1.64,    1.77,    3.54,    4.88,    6.72,    8.34,    9.66,   11.57,    13.7,   15.38,    17.0,   18.55,   19.17,   19.33,   19.49,   19.82,   19.94,   20.01,   20.16]
2024-02-28 01:30:20.432751 INFO pred_bat:      PV: [    0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,    0.05,    0.17,    0.33,    0.51,    0.72,    0.91,     1.1,    1.25,    1.32,    1.33,    1.33,    1.33,    1.33,    1.33,    1.33,    1.33,    1.33,    1.33]
2024-02-28 01:30:20.434251 INFO pred_bat:  IMPORT: [   4.13,    6.67,    8.33,    9.93,   11.53,   13.13,   14.72,   15.23,   15.23,   15.24,    16.2,   17.63,   18.77,   20.49,   22.48,    24.1,   25.71,   27.26,   27.87,   28.03,    28.2,   28.53,   28.65,   28.71,   28.86]
2024-02-28 01:30:20.435753 INFO pred_bat:  EXPORT: [    0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,    1.31,    2.45,    4.07,    4.29,    4.29,    4.29,    4.29,    4.29,    4.29,    4.29,    4.29,    4.29,    4.29,    4.29,    4.29,    4.29,    4.29,    4.29]
2024-02-28 01:30:20.437275 INFO pred_bat:  METRIC: [  98.37,  157.61,  196.11,  234.04,  274.13,  318.45,  370.64,  338.56,  294.63,  235.21,  260.94,   307.9,  342.73,  394.62,  455.47,  505.93,  556.82,  605.65,  624.78,  629.57,   634.3,  643.22,  646.27,  647.75,  651.23]
2024-02-28 01:30:20.567902 INFO pred_bat: predict best end_record 02-29 02:00:00 final soc 1.4 kWh metric 376.03 p metric_keep 0 min_soc 1.4 @ 02-28 10:45:00 kWh load 18.54 pv 8.36
2024-02-28 01:30:20.569485 INFO pred_bat:          [  01:30,   02:30,   03:30,   04:30,   05:30,   06:30,   07:30,   08:30,   09:30,   10:30,   11:30,   12:30,   13:30,   14:30,   15:30,   16:30,   17:30,   18:30,   19:30,   20:30,   21:30,   22:30,   23:30,   00:30,   01:30]
2024-02-28 01:30:20.570972 INFO pred_bat:     SOC: [    0.4,    2.19,     3.7,    5.16,    6.61,    8.07,    9.53,    8.48,    5.44,     2.4,     1.4,    1.41,    1.49,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4,     1.4]
2024-02-28 01:30:20.572404 INFO pred_bat:   STATE: [  g<be-,   g<bf+,   g<bf+,   g<bf+,   g<bf+,   g<bf+,   g<bf+,   g>bf-,   g>bf-,   g>bf-,   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~]
2024-02-28 01:30:20.573889 INFO pred_bat:    LOAD: [    0.0,    1.41,    1.42,    1.44,    1.46,    1.47,    1.49,    1.61,    3.22,    4.43,    6.11,    7.58,    8.78,   10.52,   12.45,   13.98,   15.46,   16.86,   17.42,   17.57,   17.72,   18.02,   18.13,   18.19,   18.34]
2024-02-28 01:30:20.575385 INFO pred_bat:      PV: [    0.0,     0.0,     0.0,     0.0,     0.0,     0.0,    0.02,    0.24,    0.89,    1.92,    3.22,    4.67,    6.02,    7.22,    8.01,    8.31,    8.36,    8.36,    8.36,    8.36,    8.36,    8.36,    8.36,    8.36,    8.36]
2024-02-28 01:30:20.576886 INFO pred_bat:  IMPORT: [   4.13,    6.53,    8.19,    9.79,   11.38,   12.98,   14.56,   15.02,   15.02,   15.02,   15.14,   15.26,   15.26,   15.77,   16.95,    18.2,   19.63,   21.03,   21.59,   21.74,   21.88,   22.19,    22.3,   22.36,    22.5]
2024-02-28 01:30:20.578378 INFO pred_bat:  EXPORT: [    0.0,     0.0,     0.0,     0.0,     0.0,     0.0,     0.0,    1.44,    3.25,    5.82,    6.42,    6.42,    6.42,    6.42,    6.42,    6.42,    6.42,    6.42,    6.42,    6.42,    6.42,    6.42,    6.42,    6.42,    6.42]
2024-02-28 01:30:20.579928 INFO pred_bat:  METRIC: [  98.37,  154.32,  192.78,  230.67,  270.71,  314.99,  366.68,  327.69,  258.25,  163.05,  145.33,  149.42,  149.42,  164.93,  201.14,  240.09,  285.02,  329.42,  346.81,  351.16,  355.46,  363.57,  366.34,  367.68,  371.17]
2024-02-28 01:30:20.738085 INFO pred_bat: Evaluate trigger {'name': 'large', 'minutes': 60, 'energy': 1.0} results off total_energy 0
2024-02-28 01:30:20.744923 INFO pred_bat: Evaluate trigger {'name': 'small', 'minutes': 15, 'energy': 0.25} results off total_energy 0
2024-02-28 01:30:20.751181 INFO pred_bat: Best charging limit socs [10.0, 10.0, 10.0] export [14, 14] gives import battery 30.25 house 8.93 export 7.43 metric 376.03 metric10 656.09
2024-02-28 01:30:20.822550 INFO pred_bat: Reserve min: 14.0% Battery_min:14.0%
2024-02-28 01:30:20.823938 INFO pred_bat: Inverter 0 with soc_max 10.0 kWh nominal_capacity 10.0 kWh battery rate raw 3500.0 w charge rate 3.5 kW discharge rate 3.5 kW battery_rate_min 0.0 w ac limit 10.0 kW export limit 10.0 kW reserve 14.0 % current_reserve 14.0 %
2024-02-28 01:30:20.829379 INFO pred_bat: Inverter 0 SOC: 0.4 kW 4 % Current charge rate 4500.0 w Current discharge rate 2800.0 w Current power 0.0 w Current voltage 52.0
2024-02-28 01:30:20.830473 INFO pred_bat: Inverter 0 scheduled charge enable is False
2024-02-28 01:30:20.831878 INFO pred_bat: Inverter 0 charge windows currently []
2024-02-28 01:30:20.833029 INFO pred_bat: Inverter 0 Charge settings: timed charged is disabled, power 4.5 kW
2024-02-28 01:30:20.835176 INFO pred_bat: Inverter 0 scheduled discharge enable is False
2024-02-28 01:30:20.836436 INFO pred_bat: Inverter 0 discharge windows currently [{'start': 0, 'end': 0, 'average': 0}, {'start': 1440, 'end': 1440, 'average': 0}]
2024-02-28 01:30:20.837258 INFO pred_bat: Note: Inverter does not support discharge freeze - disabled
2024-02-28 01:30:20.838071 INFO pred_bat: Note: Inverter does not support charge freeze - disabled
2024-02-28 01:30:20.838905 INFO pred_bat: Note: Inverter does not support reserve - disabling reserve functions
2024-02-28 01:30:20.839861 INFO pred_bat: Found 1 inverters totals: min reserve 1.4 current reserve 1.4 soc_max 10.0 soc 0.4 charge rate 4.5 kW discharge rate 2.8000000000000003 kW battery_rate_min 0.0 w ac limit 10.0 export limit 10.0 kW loss charge 3 % loss discharge 3 % inverter loss 5 %
2024-02-28 01:30:20.864546 INFO pred_bat: Base charge    window [  ]
2024-02-28 01:30:20.865595 INFO pred_bat: Base discharge window [ 28-02 00:00:00 - 28-02 00:00:00 @ 0p 100.0%, 29-02 00:00:00 - 29-02 00:00:00 @ 0p 100.0% ]
2024-02-28 01:30:20.866485 INFO pred_bat: Charge window will be: 2024-02-28 02:00:00+01:00 - 2024-02-28 08:00:00+01:00 - current soc 4 target 100
2024-02-28 01:30:20.867464 INFO pred_bat: Configuring charge window now (now 02-28 01:30:00 target set_window_minutes 30 charge start time 02-28 02:00:00
2024-02-28 01:30:20.869806 INFO pred_bat: Next discharge window will be: 2024-02-28 08:00:00+01:00 - 2024-02-28 23:01:00+01:00 at reserve 14
2024-02-28 01:30:20.870978 INFO pred_bat: Setting ECO mode as we are not yet within the discharge window - next time is 02-28 08:00:00 - 02-28 23:00:00
2024-02-28 01:30:20.873445 INFO pred_bat: Inverter 0 Adjust force discharge to False, change times from 00:00:00 - 00:00:00 to 00:00:00 - 00:00:00
2024-02-28 01:30:20.874783 INFO pred_bat: Inverter 0 Stop charge via Service huawei_solar/stop_forcible_charge
2024-02-28 01:30:20.876088 INFO pred_bat: Call service huawei_solar/stop_forcible_charge device_id 6893ee838a0972bd3e50d9e0faa0ba5a
2024-02-28 01:30:20.879119 INFO pred_bat: Inverter 0 Current Target SOC is 100 already at target
2024-02-28 01:30:20.880779 INFO pred_bat: Current SOC 4% is less than Target SOC 100. Grid charging enabled with charge current set to 65.00
2024-02-28 01:30:20.891694 INFO pred_bat: Completed run status Idle