Replies: 3 comments 3 replies
-
Looks like Predbat is crashing when trying to set the charge limit for your inverter Can you share what you have configured in apps.yaml for charge limit, its probably set wrong |
Beta Was this translation helpful? Give feedback.
-
I think I have most of it working now however I am getting the below errors in the logs: 2024-12-06 16:50:02.901593: Warn: Return bad float value sunsynk_max_battery_charge_rate from inverter_limit_charge using default 8000.0 I tried using | round(2), as below, on them but that did not help
Any ideas of how to cure this? |
Beta Was this translation helpful? Give feedback.
-
I worked it out, I had not turned on Predbat and thus even with the Control Charge Mode enabled it was not set correctly to charge the battery. I do feel like a fool now. |
Beta Was this translation helpful? Give feedback.
-
Hi
I have a Sunsynk 8k inverter and I think I have set thing up as needed but when in Control Charge Mode I seem to be getting an error in the log, it looks like something is missing a value but it is not clear as to what.
I have put a good chunk of the log below:
024-12-06 00:45:00.591679: --------------- PredBat - update at 2024-12-06 00:45:00+00:00 with clock skew 0 minutes, minutes now 45
2024-12-06 00:45:00.592848: Saved current settings to /addon_configs/6adb4f0d_predbat/predbat_config.json
2024-12-06 00:45:00.592986: Using cached GITHub data for https://api.github.com/repos/springfall2008/batpred/releases age 70.0 minutes
2024-12-06 00:45:00.593245: Predbat /config/predbat.py version v8.8.1 currently running, latest version is v8.8.1 latest beta v8.8.1
2024-12-06 00:45:00.593498: Autoupdate: Currently up to date
2024-12-06 00:45:00.689308: Configuration: forecast_hours 48 num_cars 0 debug enable is False calculate_plan_every 10
2024-12-06 00:45:00.689938: Predbat mode is set to Control charge
2024-12-06 00:45:01.269654: Found 21600 load_today datapoints going back 10 days
2024-12-06 00:45:01.857451: Car charging hold False threshold 6.0
2024-12-06 00:45:01.857599: Current data so far today: load 0.52 kWh import 0.0 kWh export 0.0 kWh pv 0.0 kWh
2024-12-06 00:45:01.893437: Standing charge is set to 56.6265 p
2024-12-06 00:45:02.442030: Rate min forward looking: now 0.0 at end of forecast 0.0
2024-12-06 00:45:02.442394: Import rates min 0.0 max 42.07 average 20.7
2024-12-06 00:45:02.460225: Export rates min 0 max 0 average 0.0
2024-12-06 00:45:02.460338: Rate thresholds (for charge/export) are import 41.57p (0.0) export 0p (0.0)
2024-12-06 00:45:02.461997: High export rate found rates in range 99 to -99
2024-12-06 00:45:02.465919: Low Import rate found rates in range 0.0 to 40.92
2024-12-06 00:45:02.466052: Battery level now 8.0 -1hr 6.0 midnight 5.79 battery value change hour 2.0 day 2.21 rate_forward 1.0
2024-12-06 00:45:02.466276: Hour energy 0.0 import 0.0 export 0.0 car 0 load 0.79 cost 0.0 import 0.0 export 0.0 car 0.0 carbon 0.0 kG
2024-12-06 00:45:02.663851: Today's energy import 0.0 kWh export 0.0 kWh total 0.0 kWh cost 56.63 p import 0.0 p export 0.0 p carbon 0.0 kg
2024-12-06 00:45:02.663956: Using Solcast integration from inside HA for solar forecast
2024-12-06 00:45:02.664080: PV Data for pv_forecast_today total 1.8 kWh
2024-12-06 00:45:02.664147: PV Data for pv_forecast_tomorrow total 10.15 kWh
2024-12-06 00:45:02.664208: PV Data for pv_forecast_d3 total 18.87 kWh
2024-12-06 00:45:02.664269: PV Data for pv_forecast_d4 total 9.16 kWh
2024-12-06 00:45:02.669116: PV Forecast for today is 1.8 (0.19 10% 11.28 90%) kWh and left today is 1.8 (0.19 10% 11.28 90%) kWh
2024-12-06 00:45:02.741117: PV Forecast for day tomorrow is 10.15 (1.11 10% 22.45 90%) kWh
2024-12-06 00:45:02.771495: PV Forecast for day d2 is 18.87 (1.67 10% 23.45 90%) kWh
2024-12-06 00:45:02.809466: PV Forecast for day d3 is 9.16 (0.89 10% 23.86 90%) kWh
2024-12-06 00:45:02.876899: Historical data totals for days [7, 14] are [20.8, 21.4] - min 20.8
2024-12-06 00:45:02.877831: Historical days now [7, 14] weight [1, 1]
2024-12-06 00:45:02.897281: Today's load divergence 100.0 % in-day adjustment 100.0 % damping 0.95x
2024-12-06 00:45:02.897380: Today's predicted so far 0.49 kWh with 0.0 kWh car/iBoost excluded and 0.17 kWh import ignored and 0 forecast extra.
2024-12-06 00:45:02.897402: Today's actual load so far 0.52 kWh with 0.0 kWh Car/iBoost excluded and 0 kWh import ignored.
2024-12-06 00:45:03.098148: Inverter 0: Type SK Sunsynk
2024-12-06 00:45:03.098258: Warn: Inverter 0: Using inverter type SK - not all features are available
2024-12-06 00:45:03.098438: Reserve min: 4.0% Battery_min:4.0%
2024-12-06 00:45:03.098496: Inverter 0 with soc_max 20.0 kWh nominal_capacity 20.0 kWh battery rate raw 8000.0 w charge rate 8.0 kW discharge rate 8.0 kW battery_rate_min 0.0 w ac limit 8.0 kW export limit 8.0 kW reserve 4.0 % current_reserve 4.0 %
2024-12-06 00:45:03.098628: Inverter 0 scheduled_charge_enable off scheduled_discharge_enable off
2024-12-06 00:45:03.098720: Inverter 0 SOC: 7.8kW 39% Current charge rate 8000W Current discharge rate 8000W Current power 0.0W Current voltage 52.591V
2024-12-06 00:45:03.098875: Inverter 0 No write needed for scheduled_charge_enable as False == False
2024-12-06 00:45:03.098899: Inverter 0 scheduled_charge_enable set to False
2024-12-06 00:45:03.098966: Inverter 0 scheduled charge enable is False
2024-12-06 00:45:03.098984: Inverter 0 charge windows currently []
2024-12-06 00:45:03.098999: Inverter 0 Charge settings: timed charged is disabled, power 8.0 kW
2024-12-06 00:45:03.099076: Inverter 0 No write needed for scheduled_discharge_enable as False == False
2024-12-06 00:45:03.099094: Inverter 0 sensor.predbat_SK_0_scheduled_discharge_enable set to False
2024-12-06 00:45:03.099117: Inverter 0 scheduled discharge enable is False
2024-12-06 00:45:03.099203: Inverter 0 idle time is 12-06 00:30:00-12-06 23:59:00
2024-12-06 00:45:03.099224: Inverter 0 discharge windows currently []
2024-12-06 00:45:03.099248: Note: Inverter does not support discharge freeze - disabled
2024-12-06 00:45:03.099260: Note: Inverter does not support charge freeze - disabled
2024-12-06 00:45:03.099269: Note: Inverter does not support reserve - disabling reserve functions
2024-12-06 00:45:03.099321: Found 1 inverters totals: min reserve 0.8 current reserve 0.8 soc_max 20.0 soc 7.8 charge rate 8.0 kW discharge rate 8.0 kW battery_rate_min 0.0 w ac limit 8.0 export limit 8.0 kW loss charge 3 % loss discharge 3 % inverter loss 4 %
2024-12-06 00:45:03.264727: Base charge window [ ]
2024-12-06 00:45:03.264861: Base export window [ ]
2024-12-06 00:45:03.264934: Plan was last updated on 2024-12-06 00:40:00+00:00 and is now 5.0 minutes old
2024-12-06 00:45:03.265273: Best charge window [ 06-12 01:30:00 - 06-12 02:00:00 @ 0.99p 100%, 06-12 02:30:00 - 06-12 05:30:00 @ 6.1p 100%, 07-12 00:00:00 - 07-12 00:30:00 @ 0.0p 100%, 07-12 01:30:00 - 07-12 17:00:00 @ 37.35p 100%, 07-12 17:30:00 - 08-12 01:00:00 @ 6.92p 100% ]
2024-12-06 00:45:03.265325: Best export window [ ]
2024-12-06 00:45:03.266733: PV Forecast 11.9 kWh and 10% Forecast 1.3 kWh pv cloud factor 0.4
2024-12-06 00:45:03.270073: Load divergence over 8.0 hours mean 588.25 W, min 324.6 W, max 1170.0 W, std dev 225.33 W, divergence 19.15%
2024-12-06 00:45:03.311556: Creating pool of 4 processes to match your CPU count
2024-12-06 00:45:03.395214: predict base end_record 12-07 01:35:00 final soc 0.8 kWh metric 459.29 p metric_keep 210.75 min_soc 0.8 @ 12-06 13:00:00 kWh load 22.45 pv 1.8
2024-12-06 00:45:03.396300: [ 00:45, 01:00, 01:30, 02:00, 02:30, 03:00, 03:30, 04:00, 04:30, 05:00, 05:30, 06:00, 06:30, 07:00, 07:30, 08:00, 08:30, 09:00, 09:30, 10:00, 10:30, 11:00, 11:30, 12:00, 12:30, 13:00, 13:30, 14:00, 14:30, 15:00, 15:30, 16:00, 16:30, 17:00, 17:30, 18:00, 18:30, 19:00, 19:30, 20:00, 20:30, 21:00, 21:30, 22:00, 22:30, 23:00, 23:30, 00:00, 00:30, 01:00, 01:30, 02:00]
2024-12-06 00:45:03.397390: SOC: [ 7.8, 7.52, 6.99, 6.5, 6.03, 5.77, 5.59, 5.34, 5.13, 4.92, 4.69, 4.42, 4.11, 3.87, 3.56, 3.27, 2.93, 2.6, 2.42, 2.14, 1.89, 1.74, 1.53, 1.25, 1.03, 0.8, 0.8, 0.8, 0.8, 0.8, 0.8, 0.8, 0.8, 0.8, 0.8, 0.8, 0.8, 0.8, 0.8, 0.8, 0.8, 0.8, 0.8, 0.8, 0.8, 0.8, 0.8, 0.8, 0.8, 0.8, 0.8, 0.8]
2024-12-06 00:45:03.398759: BAT: [ g
be-, gbe-, gbe-, gbe-, gbe-, gbe-, gbe-, gbe-, gbe-, gbe-, gbe-, gbe-, gbe-, gbe-, gbe-, g<be-, gbe-, gbe-, g<be-, g<be-, g<be-, g<be-, gbe-, g<be-, gbe-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, gbe~, g<be-, g<be-, g<be-, g<be-]2024-12-06 00:45:03.401232: LOAD: [ 0.52, 0.78, 1.27, 1.73, 2.17, 2.41, 2.58, 2.81, 3.0, 3.2, 3.42, 3.66, 3.96, 4.18, 4.47, 4.74, 5.06, 5.41, 5.65, 6.02, 6.41, 6.73, 7.12, 7.58, 7.97, 8.36, 8.69, 9.01, 9.4, 9.94, 10.44, 10.83, 11.34, 11.96, 12.48, 13.04, 13.58, 14.15, 15.09, 16.12, 16.77, 17.45, 18.07, 18.68, 19.37, 19.91, 20.56, 20.98, 21.36, 21.84, 22.4, 22.78]
2024-12-06 00:45:03.402469: PV: [ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.01, 0.05, 0.12, 0.24, 0.4, 0.59, 0.8, 1.0, 1.2, 1.38, 1.53, 1.64, 1.72, 1.77, 1.79, 1.8, 1.8, 1.8, 1.8, 1.8, 1.8, 1.8, 1.8, 1.8, 1.8, 1.8, 1.8, 1.8, 1.8, 1.8, 1.8, 1.8, 1.8, 1.8, 1.8, 1.8]
2024-12-06 00:45:03.403585: IMPORT: [ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.19, 0.4, 0.71, 1.21, 1.68, 2.07, 2.57, 3.2, 3.72, 4.28, 4.82, 5.39, 6.33, 7.36, 8.01, 8.68, 9.31, 9.92, 10.61, 11.15, 11.8, 12.22, 12.6, 13.08, 13.64, 14.02]
2024-12-06 00:45:03.405623: 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, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 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-12-06 00:45:03.406799: METRIC: [ 56.63, 56.63, 56.63, 56.63, 56.63, 56.63, 56.63, 56.63, 56.63, 56.63, 56.63, 56.63, 56.63, 56.63, 56.63, 56.63, 56.63, 56.63, 56.63, 56.63, 56.63, 56.63, 56.63, 56.63, 56.63, 56.63, 61.34, 66.81, 74.98, 87.56, 99.92, 110.74, 131.21, 156.76, 178.74, 201.41, 223.64, 245.3, 269.99, 297.37, 312.82, 329.14, 344.75, 359.0, 373.54, 381.88, 391.92, 398.43, 455.06, 457.77, 459.23, 459.61]
2024-12-06 00:45:04.234933: Battery has 12.25 hours left - now at 7.8
2024-12-06 00:45:04.334589: predict base10 end_record 12-07 01:35:00 final soc 0.8 kWh metric 554.92 p metric_keep 256.18 min_soc 0.8 @ 12-06 10:35:00 kWh load 24.64 pv 0.18
2024-12-06 00:45:04.335373: [ 00:45, 01:00, 01:30, 02:00, 02:30, 03:00, 03:30, 04:00, 04:30, 05:00, 05:30, 06:00, 06:30, 07:00, 07:30, 08:00, 08:30, 09:00, 09:30, 10:00, 10:30, 11:00, 11:30, 12:00, 12:30, 13:00, 13:30, 14:00, 14:30, 15:00, 15:30, 16:00, 16:30, 17:00, 17:30, 18:00, 18:30, 19:00, 19:30, 20:00, 20:30, 21:00, 21:30, 22:00, 22:30, 23:00, 23:30, 00:00, 00:30, 01:00, 01:30, 02:00]
2024-12-06 00:45:04.335998: SOC: [ 7.8, 7.45, 6.87, 6.33, 5.82, 5.55, 5.35, 5.08, 4.85, 4.62, 4.35, 4.06, 3.71, 3.45, 3.12, 2.79, 2.4, 2.02, 1.73, 1.3, 0.86, 0.8, 0.8, 0.8, 0.8, 0.8, 0.8, 0.8, 0.8, 0.8, 0.8, 0.8, 0.8, 0.8, 0.8, 0.8, 0.8, 0.8, 0.8, 0.8, 0.8, 0.8, 0.8, 0.8, 0.8, 0.8, 0.8, 0.8, 0.8, 0.8, 0.8, 0.8]
2024-12-06 00:45:04.336455: BAT: [ g
be-, gbe-, gbe-, gbe-, gbe-, gbe-, gbe-, gbe-, gbe-, gbe-, gbe-, gbe-, gbe-, gbe-, gbe-, gbe-, g<be-, g>be-, g<be-, g>be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, gbe, g<be-, g<be-, g<be-, g<be-]2024-12-06 00:45:04.337207: LOAD: [ 0.52, 0.85, 1.38, 1.89, 2.36, 2.62, 2.8, 3.05, 3.27, 3.48, 3.73, 4.0, 4.33, 4.57, 4.88, 5.19, 5.54, 5.91, 6.19, 6.6, 7.03, 7.38, 7.82, 8.32, 8.75, 9.18, 9.52, 9.89, 10.32, 10.93, 11.46, 11.89, 12.48, 13.15, 13.73, 14.32, 14.93, 15.59, 16.64, 17.73, 18.45, 19.21, 19.88, 20.56, 21.31, 21.91, 22.62, 23.03, 23.48, 24.01, 24.62, 25.02]
2024-12-06 00:45:04.337936: PV: [ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.01, 0.02, 0.03, 0.05, 0.06, 0.08, 0.09, 0.11, 0.12, 0.14, 0.15, 0.17, 0.18, 0.18, 0.18, 0.18, 0.18, 0.18, 0.18, 0.18, 0.18, 0.18, 0.18, 0.18, 0.18, 0.18, 0.18, 0.18, 0.18, 0.18, 0.18, 0.18, 0.18, 0.18, 0.18]
2024-12-06 00:45:04.338595: IMPORT: [ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.28, 0.7, 1.19, 1.6, 2.02, 2.35, 2.71, 3.12, 3.72, 4.25, 4.67, 5.26, 5.93, 6.51, 7.11, 7.72, 8.37, 9.43, 10.52, 11.23, 11.99, 12.66, 13.34, 14.09, 14.69, 15.41, 15.81, 16.26, 16.8, 17.41, 17.81]
2024-12-06 00:45:04.339082: 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, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 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-12-06 00:45:04.339587: METRIC: [ 56.63, 56.63, 56.63, 56.63, 56.63, 56.63, 56.63, 56.63, 56.63, 56.63, 56.63, 56.63, 56.63, 56.63, 56.63, 56.63, 56.63, 56.63, 56.63, 56.63, 56.63, 63.83, 74.35, 86.31, 96.98, 107.6, 116.04, 125.08, 135.86, 151.08, 164.96, 176.92, 200.74, 228.11, 252.58, 276.79, 301.68, 326.6, 354.41, 383.29, 400.29, 418.67, 435.4, 451.32, 467.09, 476.33, 487.36, 493.65, 550.28, 553.32, 554.9, 555.29]
2024-12-06 00:45:04.768824: predict best10 end_record 12-07 01:35:00 final soc 3.92 kWh metric 156.67 p metric_keep 46.38 min_soc 0.8 @ 12-06 22:55:00 kWh load 24.64 pv 0.18
2024-12-06 00:45:04.770250: [ 00:45, 01:00, 01:30, 02:00, 02:30, 03:00, 03:30, 04:00, 04:30, 05:00, 05:30, 06:00, 06:30, 07:00, 07:30, 08:00, 08:30, 09:00, 09:30, 10:00, 10:30, 11:00, 11:30, 12:00, 12:30, 13:00, 13:30, 14:00, 14:30, 15:00, 15:30, 16:00, 16:30, 17:00, 17:30, 18:00, 18:30, 19:00, 19:30, 20:00, 20:30, 21:00, 21:30, 22:00, 22:30, 23:00, 23:30, 00:00, 00:30, 01:00, 01:30, 02:00]
2024-12-06 00:45:04.771168: SOC: [ 7.8, 7.45, 6.87, 10.6, 10.08, 13.81, 17.53, 20.0, 20.0, 20.0, 20.0, 19.71, 19.36, 19.1, 18.77, 18.44, 18.06, 17.67, 17.38, 16.95, 16.51, 16.15, 15.7, 15.17, 14.73, 14.28, 13.93, 13.55, 13.1, 12.46, 11.89, 11.43, 10.8, 10.08, 9.46, 8.82, 8.16, 7.46, 6.33, 5.16, 4.39, 3.57, 2.85, 2.12, 1.32, 0.8, 0.8, 0.8, 4.53, 3.95, 3.3, 7.02]
2024-12-06 00:45:04.771762: BAT: [ g
be-, gbe-, g<bf+, gbe-, g<bf+, g<bf+, g<bf+, g<bf+, g<be-, g<be-, gbe-, gbe-, gbe-, gbe-, gbe-, gbe-, g<be-, g>be-, g<be-, g>be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g>be-, g<be-, g>be-, g>be-, gbe-, gbe-, gbe-, gbe-, gbe-, gbe-, gbe-, gbe-, gbe-, gbe-, gbe-, gbe-, gbe-, gbe-, gbe-, g<be-, g<be-, g<bf+, gbe-, gbe-, g<bf+, g<bf+]2024-12-06 00:45:04.773127: LOAD: [ 0.52, 0.85, 1.38, 1.89, 2.36, 2.62, 2.8, 3.05, 3.27, 3.48, 3.73, 4.0, 4.33, 4.57, 4.88, 5.19, 5.54, 5.91, 6.19, 6.6, 7.03, 7.38, 7.82, 8.32, 8.75, 9.18, 9.52, 9.89, 10.32, 10.93, 11.46, 11.89, 12.48, 13.15, 13.73, 14.32, 14.93, 15.59, 16.64, 17.73, 18.45, 19.21, 19.88, 20.56, 21.31, 21.91, 22.62, 23.03, 23.48, 24.01, 24.62, 25.02]
2024-12-06 00:45:04.774161: PV: [ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.01, 0.02, 0.03, 0.05, 0.06, 0.08, 0.09, 0.11, 0.12, 0.14, 0.15, 0.17, 0.18, 0.18, 0.18, 0.18, 0.18, 0.18, 0.18, 0.18, 0.18, 0.18, 0.18, 0.18, 0.18, 0.18, 0.18, 0.18, 0.18, 0.18, 0.18, 0.18, 0.18, 0.18, 0.18]
2024-12-06 00:45:04.775663: IMPORT: [ 0.0, 0.0, 0.0, 4.5, 4.5, 8.76, 12.94, 15.84, 16.06, 16.27, 16.52, 16.52, 16.52, 16.52, 16.52, 16.52, 16.52, 16.52, 16.52, 16.52, 16.52, 16.52, 16.52, 16.52, 16.52, 16.52, 16.52, 16.52, 16.52, 16.52, 16.52, 16.52, 16.52, 16.52, 16.52, 16.52, 16.52, 16.52, 16.52, 16.52, 16.52, 16.52, 16.52, 16.52, 16.52, 16.64, 17.35, 17.76, 22.21, 22.21, 22.21, 26.61]
2024-12-06 00:45:04.777518: 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, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 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-12-06 00:45:04.778193: METRIC: [ 56.63, 56.63, 56.63, 61.07, 61.07, 63.12, 71.21, 76.57, 77.19, 77.86, 80.25, 80.25, 80.25, 80.25, 80.25, 80.25, 80.25, 80.25, 80.25, 80.25, 80.25, 80.25, 80.25, 80.25, 80.25, 80.25, 80.25, 80.25, 80.25, 80.25, 80.25, 80.25, 80.25, 80.25, 80.25, 80.25, 80.25, 80.25, 80.25, 80.25, 80.25, 80.25, 80.25, 80.25, 80.25, 82.04, 93.08, 99.37, 155.99, 155.99, 155.99, 160.34]
2024-12-06 00:45:05.307606: predict best end_record 12-07 01:35:00 final soc 6.21 kWh metric 136.72 p metric_keep 7.73 min_soc 2.99 @ 12-06 23:55:00 kWh load 22.45 pv 1.8
2024-12-06 00:45:05.309184: [ 00:45, 01:00, 01:30, 02:00, 02:30, 03:00, 03:30, 04:00, 04:30, 05:00, 05:30, 06:00, 06:30, 07:00, 07:30, 08:00, 08:30, 09:00, 09:30, 10:00, 10:30, 11:00, 11:30, 12:00, 12:30, 13:00, 13:30, 14:00, 14:30, 15:00, 15:30, 16:00, 16:30, 17:00, 17:30, 18:00, 18:30, 19:00, 19:30, 20:00, 20:30, 21:00, 21:30, 22:00, 22:30, 23:00, 23:30, 00:00, 00:30, 01:00, 01:30, 02:00]
2024-12-06 00:45:05.310975: SOC: [ 7.8, 7.52, 6.99, 10.72, 10.24, 13.97, 17.69, 20.0, 20.0, 20.0, 20.0, 19.73, 19.42, 19.18, 18.87, 18.58, 18.24, 17.91, 17.73, 17.45, 17.2, 17.05, 16.84, 16.56, 16.34, 16.11, 15.91, 15.68, 15.34, 14.81, 14.3, 13.89, 13.35, 12.68, 12.12, 11.52, 10.93, 10.32, 9.31, 8.21, 7.51, 6.78, 6.11, 5.46, 4.72, 4.14, 3.44, 2.99, 6.71, 6.2, 5.59, 9.32]
2024-12-06 00:45:05.312186: BAT: [ g
be-, gbe-, g<bf+, gbe-, g<bf+, g<bf+, g<bf+, g<bf+, g<be-, g<be-, gbe-, gbe-, gbe-, gbe-, gbe-, g<be-, gbe-, gbe-, g<be-, g<be-, g<be-, g<be-, gbe-, g<be-, gbe-, g>be-, g<be-, g>be-, g<be-, g>be-, g<be-, gbe-, gbe-, gbe-, gbe-, gbe-, gbe-, gbe-, gbe-, gbe-, gbe-, gbe-, gbe-, gbe-, gbe-, gbe-, gbe-, g<bf+, gbe-, gbe-, g<bf+, g<bf+]2024-12-06 00:45:05.314436: LOAD: [ 0.52, 0.78, 1.27, 1.73, 2.17, 2.41, 2.58, 2.81, 3.0, 3.2, 3.42, 3.66, 3.96, 4.18, 4.47, 4.74, 5.06, 5.41, 5.65, 6.02, 6.41, 6.73, 7.12, 7.58, 7.97, 8.36, 8.69, 9.01, 9.4, 9.94, 10.44, 10.83, 11.34, 11.96, 12.48, 13.04, 13.58, 14.15, 15.09, 16.12, 16.77, 17.45, 18.07, 18.68, 19.37, 19.91, 20.56, 20.98, 21.36, 21.84, 22.4, 22.78]
2024-12-06 00:45:05.315131: PV: [ 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.01, 0.05, 0.12, 0.24, 0.4, 0.59, 0.8, 1.0, 1.2, 1.38, 1.53, 1.64, 1.72, 1.77, 1.79, 1.8, 1.8, 1.8, 1.8, 1.8, 1.8, 1.8, 1.8, 1.8, 1.8, 1.8, 1.8, 1.8, 1.8, 1.8, 1.8, 1.8, 1.8, 1.8, 1.8, 1.8]
2024-12-06 00:45:05.315725: IMPORT: [ 0.0, 0.0, 0.0, 4.46, 4.46, 8.7, 12.86, 15.57, 15.77, 15.96, 16.18, 16.18, 16.18, 16.18, 16.18, 16.18, 16.18, 16.18, 16.18, 16.18, 16.18, 16.18, 16.18, 16.18, 16.18, 16.18, 16.18, 16.18, 16.18, 16.18, 16.18, 16.18, 16.18, 16.18, 16.18, 16.18, 16.18, 16.18, 16.18, 16.18, 16.18, 16.18, 16.18, 16.18, 16.18, 16.18, 16.18, 16.18, 20.56, 20.56, 20.56, 24.94]
2024-12-06 00:45:05.316264: 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, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 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-12-06 00:45:05.317081: METRIC: [ 56.63, 56.63, 56.63, 61.02, 61.02, 63.07, 71.12, 76.13, 76.69, 77.3, 79.38, 79.38, 79.38, 79.38, 79.38, 79.38, 79.38, 79.38, 79.38, 79.38, 79.38, 79.38, 79.38, 79.38, 79.38, 79.38, 79.38, 79.38, 79.38, 79.38, 79.38, 79.38, 79.38, 79.38, 79.38, 79.38, 79.38, 79.38, 79.38, 79.38, 79.38, 79.38, 79.38, 79.38, 79.38, 79.38, 79.38, 79.38, 136.01, 136.01, 136.01, 140.33]
2024-12-06 00:45:05.318607: STATE: [ , , Chrg, , Chrg, Chrg, Chrg, Chrg, Chrg, Chrg, , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , Chrg, , , Chrg]
2024-12-06 00:45:06.753259: Evaluate trigger {'name': 'large', 'minutes': 60, 'energy': 1.0} results off total_energy 0
2024-12-06 00:45:06.818889: Evaluate trigger {'name': 'small', 'minutes': 15, 'energy': 0.25} results off total_energy 0
2024-12-06 00:45:06.892389: Best charging limit socs [20.0, 20.0, 20.0, 20.0, 20.0] export [] gives import battery 51.8 house 0.0 export 4.92 metric 136.72 metric10 156.67
2024-12-06 00:45:07.484124: Web interface history update
2024-12-06 00:45:07.715266: Export threshold used for optimisation was 43.9p
2024-12-06 00:45:07.719876: No high rate period found
2024-12-06 00:45:08.173964: Import threshold used for optimisation was 2.1p
2024-12-06 00:45:08.465861: Low import rate windows [0: 12-06 00:30:00 - 12-06 01:00:00 @ 5.67, 1: 12-06 01:00:00 - 12-06 01:30:00 @ 2.6, 2: 12-06 01:30:00 - 12-06 02:00:00 @ 0.99, 3: 12-06 02:00:00 - 12-06 02:30:00 @ 2.32, 4: 12-06 02:30:00 - 12-06 03:00:00 @ 0.48, 5: 12-06 03:00:00 - 12-06 03:30:00 @ 1.93, 6: 12-06 03:30:00 - 12-06 04:00:00 @ 1.85, 7: 12-06 04:00:00 - 12-06 04:30:00 @ 2.9, 8: 12-06 04:30:00 - 12-06 05:00:00 @ 3.13, 9: 12-06 05:00:00 - 12-06 05:30:00 @ 9.52, 10: 12-06 05:30:00 - 12-06 06:00:00 @ 14.73, 11: 12-06 06:00:00 - 12-06 06:30:00 @ 15.76, 12: 12-06 06:30:00 - 12-06 07:00:00 @ 20.04, 13: 12-06 07:00:00 - 12-06 07:30:00 @ 24.44, 14: 12-06 07:30:00 - 12-06 08:00:00 @ 24.15, 15: 12-06 08:00:00 - 12-06 08:30:00 @ 24.0, 16: 12-06 08:30:00 - 12-06 09:00:00 @ 24.15, 17: 12-06 09:00:00 - 12-06 09:30:00 @ 23.91, 18: 12-06 09:30:00 - 12-06 10:00:00 @ 23.18, 19: 12-06 10:00:00 - 12-06 10:30:00 @ 25.36, 20: 12-06 10:30:00 - 12-06 11:00:00 @ 25.36, 21: 12-06 11:00:00 - 12-06 11:30:00 @ 25.07, 22: 12-06 11:30:00 - 12-06 12:00:00 @ 24.61, 23: 12-06 12:00:00 - 12-06 12:30:00 @ 25.71, 24: 12-06 12:30:00 - 12-06 13:00:00 @ 25.63, 25: 12-06 13:00:00 - 12-06 13:30:00 @ 25.36, 26: 12-06 13:30:00 - 12-06 14:00:00 @ 25.58, 27: 12-06 14:00:00 - 12-06 14:30:00 @ 25.97, 28: 12-06 14:30:00 - 12-06 15:00:00 @ 25.36, 29: 12-06 15:00:00 - 12-06 15:30:00 @ 26.17, 30: 12-06 15:30:00 - 12-06 16:00:00 @ 28.2, 31: 12-06 16:00:00 - 12-06 16:30:00 @ 40.53, 32: 12-06 16:30:00 - 12-06 17:00:00 @ 40.92, 33: 12-06 17:30:00 - 12-06 18:00:00 @ 40.53, 34: 12-06 18:00:00 - 12-06 18:30:00 @ 40.92, 35: 12-06 18:30:00 - 12-06 19:00:00 @ 38.07, 36: 12-06 19:00:00 - 12-06 19:30:00 @ 26.32, 37: 12-06 19:30:00 - 12-06 20:00:00 @ 26.57, 38: 12-06 20:00:00 - 12-06 20:30:00 @ 23.77, 39: 12-06 20:30:00 - 12-06 21:00:00 @ 24.15, 40: 12-06 21:00:00 - 12-06 21:30:00 @ 25.01, 41: 12-06 21:30:00 - 12-06 22:00:00 @ 23.43, 42: 12-06 22:00:00 - 12-06 22:30:00 @ 21.01, 43: 12-06 22:30:00 - 12-06 23:00:00 @ 15.44, 44: 12-06 23:00:00 - 12-06 23:30:00 @ 15.44, 45: 12-06 23:30:00 - 12-07 00:00:00 @ 15.44, 46: 12-07 00:00:00 - 12-07 00:30:00 @ 0.0, 47: 12-07 00:30:00 - 12-07 01:00:00 @ 5.67, 48: 12-07 01:00:00 - 12-07 01:30:00 @ 2.6, 49: 12-07 01:30:00 - 12-07 02:00:00 @ 0.99, 50: 12-07 02:00:00 - 12-07 02:30:00 @ 2.32, 51: 12-07 02:30:00 - 12-07 03:00:00 @ 0.48, 52: 12-07 03:00:00 - 12-07 03:30:00 @ 1.93, 53: 12-07 03:30:00 - 12-07 04:00:00 @ 1.85, 54: 12-07 04:00:00 - 12-07 04:30:00 @ 2.9, 55: 12-07 04:30:00 - 12-07 05:00:00 @ 3.13, 56: 12-07 05:00:00 - 12-07 05:30:00 @ 9.52, 57: 12-07 05:30:00 - 12-07 06:00:00 @ 14.73, 58: 12-07 06:00:00 - 12-07 06:30:00 @ 15.76, 59: 12-07 06:30:00 - 12-07 07:00:00 @ 20.04, 60: 12-07 07:00:00 - 12-07 07:30:00 @ 24.44, 61: 12-07 07:30:00 - 12-07 08:00:00 @ 24.15, 62: 12-07 08:00:00 - 12-07 08:30:00 @ 24.0, 63: 12-07 08:30:00 - 12-07 09:00:00 @ 24.15, 64: 12-07 09:00:00 - 12-07 09:30:00 @ 23.91, 65: 12-07 09:30:00 - 12-07 10:00:00 @ 23.18, 66: 12-07 10:00:00 - 12-07 10:30:00 @ 25.36, 67: 12-07 10:30:00 - 12-07 11:00:00 @ 25.36, 68: 12-07 11:00:00 - 12-07 11:30:00 @ 25.07, 69: 12-07 11:30:00 - 12-07 12:00:00 @ 24.61, 70: 12-07 12:00:00 - 12-07 12:30:00 @ 25.71, 71: 12-07 12:30:00 - 12-07 13:00:00 @ 25.63, 72: 12-07 13:00:00 - 12-07 13:30:00 @ 25.36, 73: 12-07 13:30:00 - 12-07 14:00:00 @ 25.58, 74: 12-07 14:00:00 - 12-07 14:30:00 @ 25.97, 75: 12-07 14:30:00 - 12-07 15:00:00 @ 25.36, 76: 12-07 15:00:00 - 12-07 15:30:00 @ 26.17, 77: 12-07 15:30:00 - 12-07 16:00:00 @ 28.2, 78: 12-07 16:00:00 - 12-07 16:30:00 @ 40.53, 79: 12-07 16:30:00 - 12-07 17:00:00 @ 40.92, 80: 12-07 17:30:00 - 12-07 18:00:00 @ 40.53, 81: 12-07 18:00:00 - 12-07 18:30:00 @ 40.92, 82: 12-07 18:30:00 - 12-07 19:00:00 @ 38.07, 83: 12-07 19:00:00 - 12-07 19:30:00 @ 26.32, 84: 12-07 19:30:00 - 12-07 20:00:00 @ 26.57, 85: 12-07 20:00:00 - 12-07 20:30:00 @ 23.77, 86: 12-07 20:30:00 - 12-07 21:00:00 @ 24.15, 87: 12-07 21:00:00 - 12-07 21:30:00 @ 25.01, 88: 12-07 21:30:00 - 12-07 22:00:00 @ 23.43, 89: 12-07 22:00:00 - 12-07 22:30:00 @ 21.01, 90: 12-07 22:30:00 - 12-07 23:00:00 @ 15.44, 91: 12-07 23:00:00 - 12-07 23:30:00 @ 15.44, 92: 12-07 23:30:00 - 12-08 00:00:00 @ 15.44, 93: 12-08 00:00:00 - 12-08 00:30:00 @ 0.0, 94: 12-08 00:30:00 - 12-08 01:00:00 @ 5.67]
2024-12-06 00:45:08.496361: Charge window will be: 2024-12-06 01:30:00+00:00 - 2024-12-06 02:00:00+00:00 - current soc 39 target 100
2024-12-06 00:45:08.496547: Inverter 0 disabled charge window while waiting for schedule (now 12-06 00:45:00 target set_window_minutes 30 charge start time 12-06 01:30:00)
2024-12-06 00:45:08.496638: Adjust idle time, charge 00:00:00-00:00:00 discharge 00:00:00-00:00:00
2024-12-06 00:45:08.496800: Adjust demand (idle) time computed is 00:30:00-23:59:00
2024-12-06 00:45:08.496884: Inverter 0 Skipping service charge_stop_service domain charge with data {'device_id': ''} as already called
2024-12-06 00:45:08.496957: Not setting charging SoC as we are not within the window (now 12-06 00:45:00 target set_soc_minutes 30 charge start time 12-06 01:30:00)
2024-12-06 00:45:08.496991: Inverter 0 adjust target soc for export to 0.0% based on requested all inverter soc 0%
2024-12-06 00:45:08.497016: Inverter 0 Current charge limit is 100% and new target is 4%
2024-12-06 00:45:08.497048: Error: Exception raised float() argument must be a string or a real number, not 'NoneType'
2024-12-06 00:45:08.497300: Error: Traceback (most recent call last):
File "/config/predbat.py", line 959, in run_time_loop
self.update_pred(scheduled=True)
File "/config/predbat.py", line 550, in update_pred
status, status_extra = self.execute_plan()
File "/config/execute.py", line 442, in execute_plan
self.adjust_battery_target_multi(inverter, 0, isCharging, isExporting)
File "/config/execute.py", line 486, in adjust_battery_target_multi
inverter.adjust_battery_target(new_soc_percent, is_charging, is_exporting)
File "/config/inverter.py", line 1242, in adjust_battery_target
self.write_and_poll_value("charge_limit", self.base.get_arg("charge_limit", indirect=False, index=self.id), soc)
File "/config/inverter.py", line 1312, in write_and_poll_value
matched = abs(float(current_state) - new_value) <= fuzzy
TypeError: float() argument must be a string or a real number, not 'NoneType'
2024-12-06 00:45:08.529088: Info: record_status Error: Exception raised float() argument must be a string or a real number, not 'NoneType'
2024-12-06 00:45:08.529298: Error: float() argument must be a string or a real number, not 'NoneType'
Can anyone help with this?
Beta Was this translation helpful? Give feedback.
All reactions