springfall2008 / batpred

Home battery prediction and charging automation for Home Assistant, supporting many inverter types
https://springfall2008.github.io/batpred/
129 stars 44 forks source link

Exception raised 'Battery_Charge_Rate' #1380

Open LeeFarm11 opened 2 months ago

LeeFarm11 commented 2 months ago

Describe the bug Fresh install. First run. Giving error in Log File Inverter_limit set to 11500, but I now don't think it is relevant.

2024-08-20 22:01:06.652055: Reserve min: 4.0% Battery_min:4.0% 2024-08-20 22:01:06.652288: Inverter 0 with soc_max 10.0 kWh nominal_capacity 10.0 kWh battery rate raw 11000.0 w charge rate 11.0 kW discharge rate 11.0 kW battery_rate_min 200.0 w ac limit 11.52 kW export limit 11.52 kW reserve 4.0 % current_reserve 4.0 % 2024-08-20 22:01:06.720213: Error: Exception raised 'Battery_Charge_Rate' 2024-08-20 22:01:06.727637: Error: Traceback (most recent call last): File "/config/predbat.py", line 10956, in update_time_loop self.update_pred(scheduled=False) File "/config/predbat.py", line 9800, in update_pred self.fetch_inverter_data() File "/config/predbat.py", line 9311, in fetch_inverter_data inverter.update_status(self.minutes_now) File "/config/inverter.py", line 746, in update_status self.charge_rate_now = self.rest_data["Control"]["Battery_Charge_Rate"] / MINUTE_WATT KeyError: 'Battery_Charge_Rate'

2024-08-20 22:01:06.761569: Info: record_status Error: Exception raised 'Battery_Charge_Rate' 2024-08-20 22:01:06.761805: Error: 'Battery_Charge_Rate' 2024-08-20 22:05:00.230715: --------------- PredBat - update at 2024-08-20 22:05:00+01:00 with clock skew 0 minutes, minutes now 1325

Expected behavior Not sure why I am getting this error. Is it a problem in predbat or in GivTCP?

Predbat version 1.1.8

Environment details 3 phase 11kw Gen 3 Inverter 6 batteries total 20.4kwh 18.7kW Panels

Screenshots Here is an example of the battery being charged at over 11kw. image

Log file predbat(2).log apps.yaml.zip

gcoan commented 2 months ago

Are you running the beta version of givtcp?

There still seems to be work in progress changes for givtcp to support 3 phase inverters Eg see https://github.com/britkat1980/giv_tcp/issues/186

LeeFarm11 commented 2 months ago

Thanks Geoff. Now raised with britkat1980.

gcoan commented 2 months ago

@LeeFarm11

Just had an idea, try setting charge rate manually in apps.yaml

AFAIK Predbat only uses the charge rate from the inverter when setting the inverter to max charge so if you over-wrote it in apps.yaml it should over-ride the non-existence of this entity from GivTCP.

But still would be good to get it fixed in givtcp

LeeFarm11 commented 2 months ago

Like this?

image

gcoan commented 2 months ago

yes. does it work?

or create a number helper and set that to 11000

LeeFarm11 commented 2 months ago

Unfortunately no.

`----------------------------------------------------------- Bootstrap Predbat Startup Add-on: predbat Home Battery Prediction and Control

Add-on version: 1.1.8 You are running the latest version of this add-on. Predbat files are installed correctly for version v8.3.5 Starting Standalone Predbat 2024-08-21 12:55:07.526836: Loading apps.yaml 2024-08-21 12:55:07.827884: Info: Connected to Home Assistant at http://supervisor/core 2024-08-21 12:55:07.839082: Warn: Failed to decode response <Response [404]> from http://supervisor/core/addons/self/info 2024-08-21 12:55:07.840473: Creating task: <coroutine object HAInterface.socketLoop at 0x7f1a8a83f610> 2024-08-21 12:55:07.842647: Info: Start socket for url http://supervisor/core/api/websocket 2024-08-21 12:55:07.843612: Info: Web Socket task started 2024-08-21 12:55:07.844287: Warn: unable to find /config/appdaemon.yaml skipping checks as Predbat maybe running outside of AppDaemon 2024-08-21 12:55:07.883652: Info: Web Socket active 2024-08-21 12:55:08.023190: Warn: Regular expression argument: geserial2 unable to match re:sensor.givtcp2_(.+)_soc_kwh, now will disable 2024-08-21 12:55:08.029784: Warn: Regular expression argument: pv_forecasttoday unable to match re:(sensor.(solcast|)(pvforecast|)forecast_today), now will disable 2024-08-21 12:55:08.035827: Warn: Regular expression argument: pv_forecasttomorrow unable to match re:(sensor.(solcast|)(pvforecast|)forecast_tomorrow), now will disable 2024-08-21 12:55:08.041883: Warn: Regular expression argument: pv_forecastd3 unable to match re:(sensor.(solcast|)(pvforecast|)forecast_(day_3|d3)), now will disable 2024-08-21 12:55:08.048267: Warn: Regular expression argument: pv_forecastd4 unable to match re:(sensor.(solcast|)(pvforecast|)forecast_(day_4|d4)), now will disable 2024-08-21 12:55:08.054826: Warn: Regular expression argument: car_charging_energy unable to match re:(sensor.myenergizappi[0-9a-z]+_charge_added_session|sensor.wallbox_portal_added_energy), now will disable 2024-08-21 12:55:08.062159: Warn: Regular argument car_charging_planned expression re:(sensor.wallbox_portal_status_description|sensor.myenergizappi[0-9a-z]+_plug_status) failed to match - disabling this item 2024-08-21 12:55:08.067171: Warn: Regular expression argument: octopus_intelligent_slot unable to match re:(binary_sensor.octopusenergy([0-9a-z]+|)_intelligent_dispatching), now will disable 2024-08-21 12:55:08.072823: Warn: Regular expression argument: octopus_ready_time unable to match re:(time.octopusenergy([0-9a-z]+|)_intelligent_ready_time), now will disable 2024-08-21 12:55:08.078385: Warn: Regular expression argument: octopus_charge_limit unable to match re:(number.octopusenergy([0-9a-z]+|)_intelligent_charge_limit), now will disable 2024-08-21 12:55:08.084929: Warn: Regular expression argument: carbon_intensity unable to match re:(sensor.carbon_intensity_uk), now will disable 2024-08-21 12:55:08.090520: Warn: Regular expression argument: octopus_saving_session unable to match re:(binary_sensor.octopusenergy([0-9a-z]+|)_saving_session(s|)), now will disable 2024-08-21 12:55:08.097132: Warn: Regular expression argument: metric_octopus_import unable to match re:(sensor.(octopusenergy|)electricity[0-9a-z]+[0-9a-z]+_current_rate), now will disable 2024-08-21 12:55:08.103233: Warn: Regular expression argument: metric_octopus_export unable to match re:(sensor.(octopusenergy|)electricity[0-9a-z]+[0-9a-z]+_export_current_rate), now will disable System: Home Assistant OS 12.4 (amd64 / qemux86-64) Home Assistant Core: 2024.8.1 Home Assistant Supervisor: 2024.08.0

Please, share the above information when looking for help or support in, e.g., GitHub, forums or the Discord chat.

s6-rc: info: service base-addon-banner successfully started s6-rc: info: service fix-attrs: starting s6-rc: info: service base-addon-timezone: starting s6-rc: info: service base-addon-log-level: starting s6-rc: info: service fix-attrs successfully started [12:55:09] INFO: Configuring timezone (Europe/London)... Watching ['./prediction.py', './hass.py', './apps.yaml', './config.py', './download.py', './predbat.py', './utils.py', './ha.py', './unit_test.py', './inverter.py'] for changes s6-rc: info: service base-addon-log-level successfully started s6-rc: info: service base-addon-timezone successfully started s6-rc: info: service legacy-cont-init: starting s6-rc: info: service legacy-cont-init successfully started s6-rc: info: service legacy-services: starting s6-rc: info: service legacy-services successfully started 2024-08-21 12:55:19.341223: Warn: No solar data has been configured. 2024-08-21 12:55:19.691554: Error: Exception raised 'Battery_Charge_Rate' 2024-08-21 12:55:19.698649: Error: Traceback (most recent call last): File "/config/predbat.py", line 10956, in update_time_loop self.update_pred(scheduled=False) File "/config/predbat.py", line 9800, in update_pred self.fetch_inverter_data() File "/config/predbat.py", line 9311, in fetch_inverter_data inverter.update_status(self.minutes_now) File "/config/inverter.py", line 746, in update_status self.charge_rate_now = self.rest_data["Control"]["Battery_Charge_Rate"] / MINUTE_WATT KeyError: 'Battery_Charge_Rate'

2024-08-21 12:55:19.734174: Info: record_status Error: Exception raised 'Battery_Charge_Rate' 2024-08-21 12:55:19.734720: Error: 'Battery_Charge_Rate' Traceback (most recent call last): File "/config/hass.py", line 173, in timer_tick item"callback" File "/config/predbat.py", line 10962, in update_time_loop raise e File "/config/predbat.py", line 10956, in update_time_loop self.update_pred(scheduled=False) File "/config/predbat.py", line 9800, in update_pred self.fetch_inverter_data() File "/config/predbat.py", line 9311, in fetch_inverter_data inverter.update_status(self.minutes_now) File "/config/inverter.py", line 746, in update_status self.charge_rate_now = self.rest_data["Control"]["Battery_Charge_Rate"] / MINUTE_WATT KeyError: 'Battery_Charge_Rate'`

gcoan commented 2 months ago

I've looked at the code:

        if self.rest_data:
            self.charge_enable_time = self.rest_data["Control"]["Enable_Charge_Schedule"] == "enable"
            self.discharge_enable_time = self.rest_data["Control"]["Enable_Discharge_Schedule"] == "enable"
            self.charge_rate_now = self.rest_data["Control"]["Battery_Charge_Rate"] / MINUTE_WATT
            self.discharge_rate_now = self.rest_data["Control"]["Battery_Discharge_Rate"] / MINUTE_WATT

its the next to last line it is failing on, its using REST to communicate with GivTCP, not using the Home Assistant controls (so the changes you made earlier to apps.yaml would have had no benefit), and ti appears that GivTCP isn't providing a battery_charge_rate.

Continue pursuing the GivTCP change via brikkat, but in the meantime, comment out the rest lines in apps.yaml and try using the home assistant controls instead.

I did notice from the full list of warnings that predbat says you don't have the octopus integration setup nor the solcast. Have you configured your import and export rates manually in apps.yaml (in which case you can comment the octopus energy regular expressions out of apps.yaml), and are you intending to call solcast directly from predbat (in which case you can comment out the solcast lines in apps.yaml).
You will need import/export rates and a solar forecast for predbat to meaningfully work

LeeFarm11 commented 2 months ago

Thanks Geoff.

I will comment out the REST section.

Yes I have configured import and export rates manually. I'm on Economy 10 with Outgoing Fixed. Yes I do intend to use Solcast in Predbat, but haven't reached that point working through the instructions yet. Because of the ongoing development in GivTCP, I'm trying to go one step at a time.

gcoan commented 2 months ago

That makes sense. You can just comment out the regular expressions in apps.yaml that point to the octopus integration and solcast integration. It'll just stop the warnings when you load Predbat

LeeFarm11 commented 2 months ago

I commented out the 2 lines in apps.yaml relating to REST. ` # If using Docker then change homeassistant.local to the Docker IP address

givtcp_rest:

- 'http://192.168.1.204:6345'

` Restarted and I think it is looking better in the log file. I will continue with the instructions to add Solcast and dashboards. I'll leave the Solcast and Octopus setting alone for now.

I tried the Open Web UI and I only get error message saying connection to 192.168.1.204:5052 cannot be established. Is that indicating a problem?

LeeFarm11 commented 2 months ago

Am I doing something wrong with the code markers?

gcoan commented 2 months ago

I tried the Open Web UI and I only get error message saying connection to 192.168.1.204:5052 cannot be established. Is that indicating a problem?

I think that's part of GivTCP isn't it? Am sure I saw something earlier about it not working.

I use Power Flow Plus HACS front end component, works very well

LeeFarm11 commented 2 months ago

No this is Predbat - image

gcoan commented 2 months ago

Ah ok. That should show the predbat log file. Never heard of it not working.

Maybe try restarting the add on?

LeeFarm11 commented 2 months ago

No luck with the Web UI. But now Solcast is set up using the built in 'version', so no Solcast Addon. Here is one of the 5 minute loops. It has Solcast prediction, but now showing some issue with discharge_rate rather than charge_rate...... Any ideas? Thanks.

2024-08-21 18:10:00.487262: --------------- PredBat - update at 2024-08-21 18:10:00+01:00 with clock skew 0 minutes, minutes now 1090 2024-08-21 18:10:00.488149: Saved current settings to /config/predbat_config.json 2024-08-21 18:10:00.521658: Using cached GITHub data for https://api.github.com/repos/springfall2008/batpred/releases age 2.0 minutes 2024-08-21 18:10:00.521764: Predbat /config/predbat.py version v8.3.5 currently running, latest version is v8.3.5 latest beta v8.3.5 2024-08-21 18:10:00.521834: Autoupdate: Currently up to date 2024-08-21 18:10:00.603090: Configuration: forecast_hours 48 num_cars 0 debug enable is False calculate_plan_every 10 2024-08-21 18:10:00.605770: Predbat mode is set to Monitor 2024-08-21 18:10:01.478035: Found 5761 load_today datapoints going back 4 days 2024-08-21 18:10:03.093761: Car charging hold True threshold 6.0 2024-08-21 18:10:03.093875: Current data so far today: load 24.5 kWh import 0.0 kWh export 43.4 kWh pv 71.5 kWh 2024-08-21 18:10:03.093918: Fetching futurerate data from None 2024-08-21 18:10:03.095226: Adding rate import: {'start': '01:00:00', 'end': '06:00:00', 'rate': 11.84} => 08-21 01:00:00 to 08-21 06:00:00 @ 11.84 date None increment False 2024-08-21 18:10:03.096389: Adding rate import: {'start': '06:00:00', 'end': '14:00:00', 'rate': 26.55} => 08-21 06:00:00 to 08-21 14:00:00 @ 26.55 date None increment False 2024-08-21 18:10:03.097982: Adding rate import: {'start': '14:00:00', 'end': '17:00:00', 'rate': 11.84} => 08-21 14:00:00 to 08-21 17:00:00 @ 11.84 date None increment False 2024-08-21 18:10:03.098788: Adding rate import: {'start': '17:00:00', 'end': '21:00:00', 'rate': 26.55} => 08-21 17:00:00 to 08-21 21:00:00 @ 26.55 date None increment False 2024-08-21 18:10:03.099703: Adding rate import: {'start': '21:00:00', 'end': '23:00:00', 'rate': 11.84} => 08-21 21:00:00 to 08-21 23:00:00 @ 11.84 date None increment False 2024-08-21 18:10:03.100318: Adding rate import: {'start': '23:00:00', 'end': '01:00:00', 'rate': 26.55} => 08-21 23:00:00 to 08-21 01:00:00 @ 26.55 date None increment False 2024-08-21 18:10:03.101854: Adding rate export: {'rate': 15} => 08-21 00:00:00 to 08-21 00:00:00 @ 15.0 date None increment False 2024-08-21 18:10:03.105706: Standing charge is set to 53.66 p 2024-08-21 18:10:05.860096: Rate min forward looking: now 11.84 at end of forecast 11.84 2024-08-21 18:10:05.860609: Import rates min 11.84 max 26.55 average 20.42 2024-08-21 18:10:05.923665: Export rates min 15.0 max 15.0 average 15.0 2024-08-21 18:10:05.923793: Rate thresholds (for charge/discharge) are import 26.05p (0.0) export 15.0p (0.0) 2024-08-21 18:10:05.947928: High export rate found rates in range 15.0 to 15.0 2024-08-21 18:10:05.961947: Low Import rate found rates in range 11.84 to 11.84 2024-08-21 18:10:06.086544: Today's energy import 0.0 kWh export 43.4 kWh cost -597.34 p import 53.66 p export -651.0 p carbon 0.0 kg 2024-08-21 18:10:06.086676: Obtaining solar forecast from Solcast API 2024-08-21 18:10:06.090728: Return cached data for https://api.solcast.com.au/rooftop_sites age 8.5 minutes 2024-08-21 18:10:06.090834: Fetch data for resource id e13e-97a0-2e0b-490e 2024-08-21 18:10:06.093947: Return cached data for https://api.solcast.com.au/rooftop_sites/e13e-97a0-2e0b-490e/forecasts age 8.4 minutes 2024-08-21 18:10:06.213960: Solcast returned 337 data points 2024-08-21 18:10:06.249616: PV Forecast for today is 1.53 (1.2 10% 1.91 90%) kWh and left today is 0.56 (0.31 10% 0.89 90%) kWh 2024-08-21 18:10:06.277684: PV Forecast for day tomorrow is 35.28 (18.18 10% 52.03 90%) kWh 2024-08-21 18:10:06.308038: PV Forecast for day d2 is 87.66 (46.31 10% 99.98 90%) kWh 2024-08-21 18:10:06.339205: PV Forecast for day d3 is 51.03 (2.85 10% 102.35 90%) kWh 2024-08-21 18:10:06.371800: PV Forecast for day d4 is 96.78 (41.67 10% 103.86 90%) kWh 2024-08-21 18:10:06.402248: PV Forecast for day d5 is 74.93 (19.36 10% 102.14 90%) kWh 2024-08-21 18:10:06.431553: PV Forecast for day d6 is 89.39 (27.93 10% 99.73 90%) kWh 2024-08-21 18:10:06.656343: Historical data totals for days [1, 2, 3] are [29.86, 33.63, 31.24] - min 29.86 2024-08-21 18:10:06.656441: Model filter enabled - Discarding day 1 as it is the lowest of the 3 datapoints 2024-08-21 18:10:06.657495: Historical days now [2, 3] weight [0.75, 0.5] 2024-08-21 18:10:06.753198: Today's load divergence 111.34 % in-day adjustment 110.78 % damping 0.95x 2024-08-21 18:10:06.753284: Today's predicted so far 19.96 kWh with 0.0 kWh car/iBoost excluded and 0 kWh import ignored and 0 forecast extra. 2024-08-21 18:10:06.753329: Today's actual load so far 23.4 kWh with 1.0 kWh Car/iBoost excluded and 0 kWh import ignored. 2024-08-21 18:10:07.085292: Inverter 0: Type GE GivEnergy 2024-08-21 18:10:07.085495: Inverter 0 has timed pause support enabled 2024-08-21 18:10:07.086083: Invertor time 2024-08-21 17:08:12+00:00, Predbat computer time 2024-08-21 18:10:07.085786+01:00, difference -1.93 minutes 2024-08-21 18:10:07.086196: Reserve min: 4.0% Battery_min:4.0% 2024-08-21 18:10:07.086293: Inverter 0 with soc_max 10.0 kWh nominal_capacity 10.0 kWh battery rate raw 11000.0 w charge rate 11.0 kW discharge rate 11.0 kW battery_rate_min 200.0 w ac limit 11.5 kW export limit 11.5 kW reserve 4.0 % current_reserve 4.0 % 2024-08-21 18:10:07.086398: Inverter 0 scheduled_charge_enable off scheduled_discharge_enable off 2024-08-21 18:10:07.086670: Inverter 0 SOC: 0.0kW 0% Current charge rate 11000W Current discharge rate 200W Current power 0.0W Current voltage 52.0V 2024-08-21 18:10:07.086712: Inverter 0 scheduled charge enable is False 2024-08-21 18:10:07.086744: Inverter 0 charge windows currently [] 2024-08-21 18:10:07.086780: Inverter 0 Charge settings: timed charged is disabled, power 11.0 kW 2024-08-21 18:10:07.087089: Inverter 0 Wrote scheduled_discharge_enable to False successfully and got off 2024-08-21 18:10:07.087881: Inverter 0 sensor.predbat_GE_0_scheduled_discharge_enable set to False 2024-08-21 18:10:07.087941: Inverter 0 scheduled discharge enable is False 2024-08-21 18:10:07.088112: Inverter 0 discharge windows currently [{'start': 0, 'end': 0, 'average': 0}, {'start': 1440, 'end': 1440, 'average': 0}] 2024-08-21 18:10:07.088260: Found 1 inverters totals: min reserve 0.4 current reserve 0.4 soc_max 10.0 soc 0.0 charge rate 11.0 kW discharge rate 0.2 kW battery_rate_min 200.0 w ac limit 11.5 export limit 11.5 kW loss charge 3 % loss discharge 3 % inverter loss 4 % 2024-08-21 18:10:07.299681: Base charge window [ ] 2024-08-21 18:10:07.300182: Base discharge window [ 21-08 00:00:00 - 21-08 00:00:00 @ 0p 100.0%, 22-08 00:00:00 - 22-08 00:00:00 @ 0p 100.0% ] 2024-08-21 18:10:07.300247: Plan was last updated on 2024-08-21 18:05:00+01:00 and is now 5.0 minutes old 2024-08-21 18:10:07.300289: Best charge window [ ] 2024-08-21 18:10:07.308607: Best discharge window [ 21-08 18:00:00 - 21-08 18:30:00 @ 15.0p 100%, 21-08 18:30:00 - 21-08 19:00:00 @ 15.0p 100%, 21-08 19:00:00 - 21-08 19:30:00 @ 15.0p 100%, 21-08 19:30:00 - 21-08 20:00:00 @ 15.0p 100%, 21-08 20:00:00 - 21-08 20:30:00 @ 15.0p 100%, 21-08 20:30:00 - 21-08 21:00:00 @ 15.0p 100%, 21-08 21:00:00 - 21-08 21:30:00 @ 15.0p 100%, 21-08 21:30:00 - 21-08 22:00:00 @ 15.0p 100%, 21-08 22:00:00 - 21-08 22:30:00 @ 15.0p 100%, 21-08 22:30:00 - 21-08 23:00:00 @ 15.0p 100%, 21-08 23:00:00 - 21-08 23:30:00 @ 15.0p 100%, 21-08 23:30:00 - 22-08 00:00:00 @ 15.0p 100%, 22-08 00:00:00 - 22-08 00:30:00 @ 15.0p 100%, 22-08 00:30:00 - 22-08 01:00:00 @ 15.0p 100%, 22-08 01:00:00 - 22-08 01:30:00 @ 15.0p 100%, 22-08 01:30:00 - 22-08 02:00:00 @ 15.0p 100%, 22-08 02:00:00 - 22-08 02:30:00 @ 15.0p 100%, 22-08 02:30:00 - 22-08 03:00:00 @ 15.0p 100%, 22-08 03:00:00 - 22-08 03:30:00 @ 15.0p 100%, 22-08 03:30:00 - 22-08 04:00:00 @ 15.0p 100%, 22-08 04:00:00 - 22-08 04:30:00 @ 15.0p 100%, 22-08 04:30:00 - 22-08 05:00:00 @ 15.0p 100%, 22-08 05:00:00 - 22-08 05:30:00 @ 15.0p 100%, 22-08 05:30:00 - 22-08 06:00:00 @ 15.0p 100%, 22-08 06:00:00 - 22-08 06:30:00 @ 15.0p 100%, 22-08 06:30:00 - 22-08 07:00:00 @ 15.0p 100%, 22-08 07:00:00 - 22-08 07:30:00 @ 15.0p 100%, 22-08 07:30:00 - 22-08 08:00:00 @ 15.0p 100%, 22-08 08:00:00 - 22-08 08:30:00 @ 15.0p 100%, 22-08 08:30:00 - 22-08 09:00:00 @ 15.0p 100%, 22-08 09:00:00 - 22-08 09:30:00 @ 15.0p 100%, 22-08 09:30:00 - 22-08 10:00:00 @ 15.0p 100%, 22-08 10:00:00 - 22-08 10:30:00 @ 15.0p 100%, 22-08 10:30:00 - 22-08 11:00:00 @ 15.0p 100%, 22-08 11:00:00 - 22-08 11:30:00 @ 15.0p 100%, 22-08 11:30:00 - 22-08 12:00:00 @ 15.0p 100%, 22-08 12:00:00 - 22-08 12:30:00 @ 15.0p 100%, 22-08 12:30:00 - 22-08 13:00:00 @ 15.0p 100%, 22-08 13:00:00 - 22-08 13:30:00 @ 15.0p 100%, 22-08 13:30:00 - 22-08 14:00:00 @ 15.0p 100%, 22-08 14:00:00 - 22-08 14:30:00 @ 15.0p 100%, 22-08 14:30:00 - 22-08 15:00:00 @ 15.0p 100%, 22-08 15:00:00 - 22-08 15:30:00 @ 15.0p 100%, 22-08 15:30:00 - 22-08 16:00:00 @ 15.0p 100%, 22-08 16:00:00 - 22-08 16:30:00 @ 15.0p 100%, 22-08 16:30:00 - 22-08 17:00:00 @ 15.0p 100%, 22-08 17:00:00 - 22-08 17:30:00 @ 15.0p 100%, 22-08 17:30:00 - 22-08 18:00:00 @ 15.0p 100%, 22-08 18:00:00 - 22-08 18:30:00 @ 15.0p 100%, 22-08 18:30:00 - 22-08 19:00:00 @ 15.0p 100%, 22-08 19:00:00 - 22-08 19:30:00 @ 15.0p 100%, 22-08 19:30:00 - 22-08 20:00:00 @ 15.0p 100%, 22-08 20:00:00 - 22-08 20:30:00 @ 15.0p 100%, 22-08 20:30:00 - 22-08 21:00:00 @ 15.0p 100%, 22-08 21:00:00 - 22-08 21:30:00 @ 15.0p 100%, 22-08 21:30:00 - 22-08 22:00:00 @ 15.0p 100%, 22-08 22:00:00 - 22-08 22:30:00 @ 15.0p 100%, 22-08 22:30:00 - 22-08 23:00:00 @ 15.0p 100%, 22-08 23:00:00 - 22-08 23:30:00 @ 15.0p 100%, 22-08 23:30:00 - 23-08 00:00:00 @ 15.0p 100%, 23-08 00:00:00 - 23-08 00:30:00 @ 15.0p 100%, 23-08 00:30:00 - 23-08 01:00:00 @ 15.0p 100%, 23-08 01:00:00 - 23-08 01:30:00 @ 15.0p 100%, 23-08 01:30:00 - 23-08 02:00:00 @ 15.0p 100%, 23-08 02:00:00 - 23-08 02:30:00 @ 15.0p 100%, 23-08 02:30:00 - 23-08 03:00:00 @ 15.0p 100%, 23-08 03:00:00 - 23-08 03:30:00 @ 15.0p 100%, 23-08 03:30:00 - 23-08 04:00:00 @ 15.0p 100%, 23-08 04:00:00 - 23-08 04:30:00 @ 15.0p 100%, 23-08 04:30:00 - 23-08 05:00:00 @ 15.0p 100%, 23-08 05:00:00 - 23-08 05:30:00 @ 15.0p 100%, 23-08 05:30:00 - 23-08 06:00:00 @ 15.0p 100%, 23-08 06:00:00 - 23-08 06:30:00 @ 15.0p 100%, 23-08 06:30:00 - 23-08 07:00:00 @ 15.0p 100%, 23-08 07:00:00 - 23-08 07:30:00 @ 15.0p 100%, 23-08 07:30:00 - 23-08 08:00:00 @ 15.0p 100%, 23-08 08:00:00 - 23-08 08:30:00 @ 15.0p 100%, 23-08 08:30:00 - 23-08 09:00:00 @ 15.0p 100%, 23-08 09:00:00 - 23-08 09:30:00 @ 15.0p 100%, 23-08 09:30:00 - 23-08 10:00:00 @ 15.0p 100%, 23-08 10:00:00 - 23-08 10:30:00 @ 15.0p 100%, 23-08 10:30:00 - 23-08 11:00:00 @ 15.0p 100%, 23-08 11:00:00 - 23-08 11:30:00 @ 15.0p 100%, 23-08 11:30:00 - 23-08 12:00:00 @ 15.0p 100%, 23-08 12:00:00 - 23-08 12:30:00 @ 15.0p 100%, 23-08 12:30:00 - 23-08 13:00:00 @ 15.0p 100%, 23-08 13:00:00 - 23-08 13:30:00 @ 15.0p 100%, 23-08 13:30:00 - 23-08 14:00:00 @ 15.0p 100%, 23-08 14:00:00 - 23-08 14:30:00 @ 15.0p 100%, 23-08 14:30:00 - 23-08 15:00:00 @ 15.0p 100%, 23-08 15:00:00 - 23-08 15:30:00 @ 15.0p 100%, 23-08 15:30:00 - 23-08 16:00:00 @ 15.0p 100%, 23-08 16:00:00 - 23-08 16:30:00 @ 15.0p 100%, 23-08 16:30:00 - 23-08 17:00:00 @ 15.0p 100%, 23-08 17:00:00 - 23-08 17:30:00 @ 15.0p 100%, 23-08 17:30:00 - 23-08 18:00:00 @ 15.0p 100%, 23-08 18:00:00 - 23-08 18:30:00 @ 15.0p 100% ] 2024-08-21 18:10:07.314274: PV Forecast 123.1 kWh and 10% Forecast 64.7 kWh pv cloud factor 0.2 2024-08-21 18:10:07.332502: Load divergence over 8.0 hours mean 1165.0 W, min 432.96 W, max 3840.0 W, std dev 543.69 W, divergence 23.33% 2024-08-21 18:10:07.501783: Creating pool of 2 processes to match your CPU count 2024-08-21 18:10:07.649207: predict base end_record 08-23 18:10:00 final soc 9.95 kWh metric -1004.33 p metric_keep 162.59 min_soc 0.07 @ 08-21 18:10:00 kWh load 89.67 pv 194.58 2024-08-21 18:10:07.654539: [ 18:10, 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, 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, 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] 2024-08-21 18:10:07.658575: SOC: [ 0.0, 0.07, 0.07, 0.07, 0.07, 0.07, 0.07, 0.07, 0.07, 0.07, 0.07, 0.07, 0.07, 0.07, 0.07, 0.07, 0.07, 0.07, 0.07, 0.07, 0.07, 0.07, 0.07, 0.07, 0.07, 0.07, 0.07, 0.07, 0.07, 0.07, 0.07, 0.07, 0.09, 0.09, 0.19, 0.8, 1.55, 2.66, 4.14, 5.72, 7.46, 8.78, 9.48, 10.0, 10.0, 10.0, 10.0, 10.0, 10.0, 9.83, 9.35, 9.16, 8.93, 8.58, 8.03, 7.37, 6.74, 6.17, 5.76, 5.43, 5.1, 4.64, 4.13, 3.59, 3.06, 1.17, 0.4, 0.4, 0.4, 0.4, 0.4, 0.4, 0.4, 0.4, 0.4, 0.4, 0.42, 1.22, 2.67, 5.49, 9.21, 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] 2024-08-21 18:10:07.662188: BAT: [ g~be+, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g~be+, g~be+, g>be+, g>be+, g<be+, g~be+, g~be+, g>be+, g~be+, g~be+, g>be+, g>be~, g>be~, g>be~, g>be~, g>be~, g~be-, g~be-, g<be-, g<be-, g~be-, g~be-, g~be-, g~be-, g~be-, g~be-, g~be-, g~be-, g~be-, g>be-, g~be-, g~be-, g~be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g~be+, g~be+, g~be+, g~be+, g<be+, g<be+, g>be+, g>be~, g>be~, g>be~, 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-08-21 18:10:07.666394: LOAD: [ 24.5, 25.25, 26.28, 26.78, 27.16, 27.57, 28.24, 28.88, 29.54, 30.31, 31.35, 31.82, 32.16, 32.65, 33.13, 33.63, 34.12, 35.91, 37.79, 38.34, 38.72, 39.11, 39.54, 39.78, 40.09, 40.39, 40.69, 41.18, 42.0, 42.53, 43.67, 44.47, 45.25, 46.34, 47.15, 47.7, 48.47, 49.15, 49.61, 50.18, 50.86, 52.09, 53.98, 55.42, 56.17, 56.69, 57.18, 57.56, 57.83, 58.68, 59.7, 60.15, 60.45, 60.78, 61.29, 61.9, 62.49, 63.02, 63.41, 63.71, 64.02, 64.45, 64.92, 65.43, 65.92, 67.68, 69.31, 69.87, 70.29, 70.67, 71.12, 71.44, 71.78, 72.06, 72.34, 72.78, 73.62, 74.4, 75.54, 76.24, 76.82, 77.76, 78.44, 78.99, 79.55, 80.06, 80.67, 81.17, 81.78, 83.44, 85.63, 87.12, 87.67, 88.1, 88.49, 88.78] 2024-08-21 18:10:07.671066: PV: [ 71.5, 72.17, 72.52, 72.66, 72.7, 72.71, 72.71, 72.71, 72.71, 72.71, 72.71, 72.71, 72.71, 72.71, 72.71, 72.71, 72.71, 72.71, 72.71, 72.71, 72.71, 72.71, 72.71, 72.71, 72.71, 72.73, 72.81, 72.97, 73.22, 73.58, 74.05, 74.62, 75.25, 75.99, 76.93, 78.14, 79.71, 81.56, 83.57, 85.79, 88.29, 90.93, 93.62, 96.26, 98.74, 101.04, 103.11, 104.81, 106.12, 107.02, 107.62, 107.89, 107.98, 107.99, 107.99, 107.99, 107.99, 107.99, 107.99, 107.99, 107.99, 107.99, 107.99, 107.99, 107.99, 107.99, 107.99, 107.99, 107.99, 107.99, 107.99, 107.99, 107.99, 108.02, 108.17, 108.53, 109.36, 110.99, 113.67, 117.31, 121.75, 127.17, 132.67, 138.17, 143.67, 149.17, 154.67, 160.17, 165.66, 171.16, 176.64, 181.49, 185.56, 188.91, 191.49, 193.31] 2024-08-21 18:10:07.675540: IMPORT: [ 0.0, 0.18, 0.87, 1.24, 1.57, 1.98, 2.65, 3.29, 3.95, 4.72, 5.76, 6.23, 6.57, 7.06, 7.54, 8.04, 8.52, 10.32, 12.2, 12.75, 13.13, 13.52, 13.95, 14.19, 14.5, 14.78, 15.0, 15.33, 15.92, 16.11, 16.79, 17.04, 17.24, 17.62, 17.62, 17.62, 17.62, 17.62, 17.62, 17.62, 17.62, 17.62, 17.62, 17.62, 17.62, 17.62, 17.62, 17.62, 17.62, 17.62, 17.62, 17.62, 17.62, 17.62, 17.62, 17.62, 17.62, 17.62, 17.62, 17.62, 17.62, 17.62, 17.62, 17.62, 17.62, 17.62, 18.54, 19.1, 19.51, 19.9, 20.35, 20.67, 21.01, 21.26, 21.39, 21.49, 21.56, 21.56, 21.56, 21.56, 21.56, 21.56, 21.56, 21.56, 21.56, 21.56, 21.56, 21.56, 21.56, 21.56, 21.56, 21.56, 21.56, 21.56, 21.56, 21.56] 2024-08-21 18:10:07.679480: EXPORT: [ 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.97, 45.6, 47.3, 48.8, 50.05, 51.03, 51.2, 51.2, 51.2, 51.2, 51.2, 51.2, 51.2, 51.2, 51.2, 51.2, 51.2, 51.2, 51.2, 51.2, 51.2, 51.2, 51.2, 51.2, 51.2, 51.2, 51.2, 51.2, 51.2, 51.2, 51.2, 51.2, 51.2, 51.2, 51.2, 51.2, 51.2, 51.2, 54.39, 58.5, 62.73, 66.94, 71.21, 75.38, 79.66, 83.84, 86.95, 89.54, 92.61, 95.96, 98.75, 100.82, 102.29] 2024-08-21 18:10:07.683933: METRIC: [ -597.34, -592.48, -574.27, -564.37, -555.65, -544.73, -526.99, -519.38, -511.64, -502.51, -490.18, -477.56, -468.72, -401.9, -389.14, -383.26, -377.52, -356.22, -334.0, -327.51, -323.01, -318.39, -313.3, -310.41, -306.8, -299.25, -293.45, -284.67, -269.15, -264.02, -245.88, -239.26, -233.91, -223.87, -223.82, -223.82, -223.82, -223.82, -223.82, -223.82, -223.82, -223.82, -223.82, -232.34, -256.85, -282.26, -304.76, -323.58, -338.29, -340.83, -340.83, -340.83, -340.83, -340.83, -340.83, -340.83, -340.83, -340.83, -340.83, -340.83, -340.83, -287.17, -287.17, -287.17, -287.17, -287.17, -276.34, -269.72, -264.78, -260.19, -254.91, -251.11, -247.1, -240.43, -236.82, -234.28, -232.42, -232.42, -232.42, -232.42, -232.42, -280.33, -341.84, -405.29, -468.54, -532.59, -595.1, -659.34, -721.95, -768.68, -807.51, -853.5, -903.78, -945.65, -976.77, -998.73] 2024-08-21 18:10:08.400202: Battery has 0.0 hours left - now at 0.0 2024-08-21 18:10:08.573181: predict base10 end_record 08-23 18:10:00 final soc 9.72 kWh metric -79.58 p metric_keep 304.28 min_soc 0.05 @ 08-21 18:10:00 kWh load 96.25 pv 136.22 2024-08-21 18:10:08.580283: [ 18:10, 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, 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, 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] 2024-08-21 18:10:08.585575: SOC: [ 0.0, 0.05, 0.05, 0.05, 0.05, 0.05, 0.05, 0.05, 0.05, 0.05, 0.05, 0.05, 0.05, 0.05, 0.05, 0.05, 0.05, 0.05, 0.05, 0.05, 0.05, 0.05, 0.05, 0.05, 0.05, 0.05, 0.05, 0.05, 0.05, 0.05, 0.05, 0.05, 0.05, 0.05, 0.05, 0.1, 0.2, 0.47, 1.1, 1.73, 2.4, 2.31, 1.62, 1.44, 1.88, 2.44, 2.94, 3.37, 3.73, 3.11, 2.19, 1.83, 1.51, 1.12, 0.5, 0.4, 0.4, 0.4, 0.4, 0.4, 0.4, 0.4, 0.4, 0.4, 0.4, 0.4, 0.4, 0.4, 0.4, 0.4, 0.4, 0.4, 0.4, 0.4, 0.4, 0.4, 0.4, 0.4, 0.4, 0.9, 1.79, 2.77, 4.8, 7.44, 9.97, 10.0, 10.0, 10.0, 10.0, 9.95, 10.0, 10.0, 10.0, 10.0, 10.0, 10.0] 2024-08-21 18:10:08.589320: BAT: [ g~be+, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g>be+, g~be+, g>be+, g<be+, g~be+, g~be+, g<be+, g~be+, g~be+, g>be+, g~be+, g<be+, g>be+, g>be+, g~be+, g<be-, g<be-, g>be-, g~be-, g~be-, g~be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g~be+, g<be-, g<be-, g~be+, g~be+, g<be+, g>be+, g<be+, g<be+, g<be+, 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-08-21 18:10:08.595701: LOAD: [ 24.5, 25.43, 26.52, 27.04, 27.46, 27.92, 28.67, 29.4, 30.09, 30.99, 32.12, 32.58, 32.96, 33.51, 34.04, 34.59, 35.12, 37.2, 39.21, 39.76, 40.18, 40.6, 41.07, 41.33, 41.67, 42.01, 42.33, 42.91, 43.78, 44.38, 45.66, 46.53, 47.41, 48.6, 49.47, 50.06, 50.93, 51.66, 52.16, 52.81, 53.54, 55.03, 57.09, 58.59, 59.38, 59.94, 60.47, 60.89, 61.19, 62.19, 63.29, 63.74, 64.08, 64.44, 65.02, 65.69, 66.34, 66.91, 67.33, 67.65, 67.98, 68.48, 69.0, 69.56, 70.1, 72.16, 73.88, 74.44, 74.9, 75.33, 75.81, 76.16, 76.53, 76.84, 77.14, 77.66, 78.6, 79.47, 80.71, 81.47, 82.13, 83.15, 83.88, 84.47, 85.11, 85.65, 86.36, 86.88, 87.58, 89.54, 91.86, 93.48, 94.02, 94.48, 94.93, 95.23] 2024-08-21 18:10:08.604442: PV: [ 71.5, 72.1, 72.31, 72.38, 72.4, 72.4, 72.4, 72.4, 72.4, 72.4, 72.4, 72.4, 72.4, 72.4, 72.4, 72.4, 72.4, 72.4, 72.4, 72.4, 72.4, 72.4, 72.4, 72.4, 72.4, 72.41, 72.45, 72.53, 72.65, 72.8, 72.98, 73.18, 73.39, 73.64, 73.97, 74.49, 75.29, 76.33, 77.5, 78.82, 80.27, 81.76, 83.24, 84.65, 85.93, 87.09, 88.15, 89.04, 89.72, 90.17, 90.41, 90.54, 90.58, 90.58, 90.58, 90.58, 90.58, 90.58, 90.58, 90.58, 90.58, 90.58, 90.58, 90.58, 90.58, 90.58, 90.58, 90.58, 90.58, 90.58, 90.58, 90.58, 90.58, 90.59, 90.67, 90.83, 91.13, 91.71, 92.65, 93.95, 95.56, 97.63, 100.49, 103.83, 107.31, 110.93, 114.71, 118.4, 121.84, 124.9, 127.5, 129.7, 131.55, 133.1, 134.38, 135.38] 2024-08-21 18:10:08.609011: IMPORT: [ 0.0, 0.4, 1.29, 1.74, 2.14, 2.6, 3.35, 4.08, 4.77, 5.67, 6.8, 7.26, 7.64, 8.19, 8.73, 9.27, 9.8, 11.89, 13.89, 14.44, 14.86, 15.29, 15.75, 16.01, 16.36, 16.68, 16.97, 17.47, 18.23, 18.68, 19.79, 20.47, 21.14, 22.09, 22.64, 22.79, 22.99, 22.99, 22.99, 22.99, 22.99, 22.99, 22.99, 22.99, 22.99, 22.99, 22.99, 22.99, 22.99, 22.99, 22.99, 22.99, 22.99, 22.99, 22.99, 23.57, 24.22, 24.78, 25.2, 25.53, 25.86, 26.36, 26.88, 27.44, 27.98, 30.04, 31.76, 32.32, 32.78, 33.2, 33.69, 34.04, 34.41, 34.7, 34.94, 35.3, 35.95, 36.26, 36.61, 36.61, 36.61, 36.61, 36.61, 36.61, 36.61, 36.61, 36.61, 36.61, 36.61, 36.61, 36.61, 36.61, 36.61, 36.61, 36.61, 36.61] 2024-08-21 18:10:08.613242: EXPORT: [ 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.6, 46.51, 49.42, 52.45, 55.06, 56.07, 56.19, 56.67, 57.91, 58.93, 59.72, 60.38] 2024-08-21 18:10:08.618690: METRIC: [ -597.34, -586.77, -563.09, -551.21, -540.43, -528.24, -508.42, -499.78, -491.56, -480.94, -467.58, -455.28, -445.26, -376.94, -362.73, -356.3, -350.0, -325.31, -301.54, -295.05, -290.12, -285.06, -279.54, -276.46, -272.41, -263.7, -256.12, -242.87, -222.7, -210.77, -181.28, -163.16, -145.44, -120.09, -105.66, -101.61, -96.3, -96.25, -96.25, -96.25, -96.25, -96.25, -96.25, -96.25, -96.25, -96.25, -96.25, -96.25, -96.25, -96.25, -96.25, -96.25, -96.25, -96.25, -96.25, -89.36, -81.69, -75.01, -70.05, -61.33, -52.55, 14.23, 28.2, 34.78, 41.19, 65.61, 85.93, 92.59, 98.0, 103.05, 108.8, 112.92, 117.31, 125.09, 131.34, 140.9, 158.24, 166.58, 175.64, 175.64, 175.64, 175.64, 175.64, 175.64, 172.71, 129.06, 85.37, 39.84, 0.8, -14.44, -16.25, -23.43, -42.08, -57.36, -69.12, -79.04] 2024-08-21 18:10:09.065911: predict best10 end_record 08-23 18:10:00 final soc 9.72 kWh metric -79.58 p metric_keep 304.28 min_soc 0.05 @ 08-21 18:10:00 kWh load 96.25 pv 136.22 2024-08-21 18:10:09.071028: [ 18:10, 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, 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, 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] 2024-08-21 18:10:09.075109: SOC: [ 0.0, 0.05, 0.05, 0.05, 0.05, 0.05, 0.05, 0.05, 0.05, 0.05, 0.05, 0.05, 0.05, 0.05, 0.05, 0.05, 0.05, 0.05, 0.05, 0.05, 0.05, 0.05, 0.05, 0.05, 0.05, 0.05, 0.05, 0.05, 0.05, 0.05, 0.05, 0.05, 0.05, 0.05, 0.05, 0.1, 0.2, 0.47, 1.1, 1.73, 2.4, 2.31, 1.62, 1.44, 1.88, 2.44, 2.94, 3.37, 3.73, 3.11, 2.19, 1.83, 1.51, 1.12, 0.5, 0.4, 0.4, 0.4, 0.4, 0.4, 0.4, 0.4, 0.4, 0.4, 0.4, 0.4, 0.4, 0.4, 0.4, 0.4, 0.4, 0.4, 0.4, 0.4, 0.4, 0.4, 0.4, 0.4, 0.4, 0.9, 1.79, 2.77, 4.8, 7.44, 9.97, 10.0, 10.0, 10.0, 10.0, 9.95, 10.0, 10.0, 10.0, 10.0, 10.0, 10.0] 2024-08-21 18:10:09.078796: BAT: [ g~be+, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g>be+, g~be+, g>be+, g<be+, g~be+, g~be+, g<be+, g~be+, g~be+, g>be+, g~be+, g<be+, g>be+, g>be+, g~be+, g<be-, g<be-, g>be-, g~be-, g~be-, g~be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g~be+, g<be-, g<be-, g~be+, g~be+, g<be+, g>be+, g<be+, g<be+, g<be+, 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-08-21 18:10:09.083125: LOAD: [ 24.5, 25.43, 26.52, 27.04, 27.46, 27.92, 28.67, 29.4, 30.09, 30.99, 32.12, 32.58, 32.96, 33.51, 34.04, 34.59, 35.12, 37.2, 39.21, 39.76, 40.18, 40.6, 41.07, 41.33, 41.67, 42.01, 42.33, 42.91, 43.78, 44.38, 45.66, 46.53, 47.41, 48.6, 49.47, 50.06, 50.93, 51.66, 52.16, 52.81, 53.54, 55.03, 57.09, 58.59, 59.38, 59.94, 60.47, 60.89, 61.19, 62.19, 63.29, 63.74, 64.08, 64.44, 65.02, 65.69, 66.34, 66.91, 67.33, 67.65, 67.98, 68.48, 69.0, 69.56, 70.1, 72.16, 73.88, 74.44, 74.9, 75.33, 75.81, 76.16, 76.53, 76.84, 77.14, 77.66, 78.6, 79.47, 80.71, 81.47, 82.13, 83.15, 83.88, 84.47, 85.11, 85.65, 86.36, 86.88, 87.58, 89.54, 91.86, 93.48, 94.02, 94.48, 94.93, 95.23] 2024-08-21 18:10:09.087151: PV: [ 71.5, 72.1, 72.31, 72.38, 72.4, 72.4, 72.4, 72.4, 72.4, 72.4, 72.4, 72.4, 72.4, 72.4, 72.4, 72.4, 72.4, 72.4, 72.4, 72.4, 72.4, 72.4, 72.4, 72.4, 72.4, 72.41, 72.45, 72.53, 72.65, 72.8, 72.98, 73.18, 73.39, 73.64, 73.97, 74.49, 75.29, 76.33, 77.5, 78.82, 80.27, 81.76, 83.24, 84.65, 85.93, 87.09, 88.15, 89.04, 89.72, 90.17, 90.41, 90.54, 90.58, 90.58, 90.58, 90.58, 90.58, 90.58, 90.58, 90.58, 90.58, 90.58, 90.58, 90.58, 90.58, 90.58, 90.58, 90.58, 90.58, 90.58, 90.58, 90.58, 90.58, 90.59, 90.67, 90.83, 91.13, 91.71, 92.65, 93.95, 95.56, 97.63, 100.49, 103.83, 107.31, 110.93, 114.71, 118.4, 121.84, 124.9, 127.5, 129.7, 131.55, 133.1, 134.38, 135.38] 2024-08-21 18:10:09.091300: IMPORT: [ 0.0, 0.4, 1.29, 1.74, 2.14, 2.6, 3.35, 4.08, 4.77, 5.67, 6.8, 7.26, 7.64, 8.19, 8.73, 9.27, 9.8, 11.89, 13.89, 14.44, 14.86, 15.29, 15.75, 16.01, 16.36, 16.68, 16.97, 17.47, 18.23, 18.68, 19.79, 20.47, 21.14, 22.09, 22.64, 22.79, 22.99, 22.99, 22.99, 22.99, 22.99, 22.99, 22.99, 22.99, 22.99, 22.99, 22.99, 22.99, 22.99, 22.99, 22.99, 22.99, 22.99, 22.99, 22.99, 23.57, 24.22, 24.78, 25.2, 25.53, 25.86, 26.36, 26.88, 27.44, 27.98, 30.04, 31.76, 32.32, 32.78, 33.2, 33.69, 34.04, 34.41, 34.7, 34.94, 35.3, 35.95, 36.26, 36.61, 36.61, 36.61, 36.61, 36.61, 36.61, 36.61, 36.61, 36.61, 36.61, 36.61, 36.61, 36.61, 36.61, 36.61, 36.61, 36.61, 36.61] 2024-08-21 18:10:09.095687: EXPORT: [ 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.6, 46.51, 49.42, 52.45, 55.06, 56.07, 56.19, 56.67, 57.91, 58.93, 59.72, 60.38] 2024-08-21 18:10:09.099896: METRIC: [ -597.34, -586.77, -563.09, -551.21, -540.43, -528.24, -508.42, -499.78, -491.56, -480.94, -467.58, -455.28, -445.26, -376.94, -362.73, -356.3, -350.0, -325.31, -301.54, -295.05, -290.12, -285.06, -279.54, -276.46, -272.41, -263.7, -256.12, -242.87, -222.7, -210.77, -181.28, -163.16, -145.44, -120.09, -105.66, -101.61, -96.3, -96.25, -96.25, -96.25, -96.25, -96.25, -96.25, -96.25, -96.25, -96.25, -96.25, -96.25, -96.25, -96.25, -96.25, -96.25, -96.25, -96.25, -96.25, -89.36, -81.69, -75.01, -70.05, -61.33, -52.55, 14.23, 28.2, 34.78, 41.19, 65.61, 85.93, 92.59, 98.0, 103.05, 108.8, 112.92, 117.31, 125.09, 131.34, 140.9, 158.24, 166.58, 175.64, 175.64, 175.64, 175.64, 175.64, 175.64, 172.71, 129.06, 85.37, 39.84, 0.8, -14.44, -16.25, -23.43, -42.08, -57.36, -69.12, -79.04] 2024-08-21 18:10:09.453982: predict best end_record 08-23 18:10:00 final soc 9.95 kWh metric -1004.33 p metric_keep 162.59 min_soc 0.07 @ 08-21 18:10:00 kWh load 89.67 pv 194.58 2024-08-21 18:10:09.459249: [ 18:10, 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, 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, 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] 2024-08-21 18:10:09.463402: SOC: [ 0.0, 0.07, 0.07, 0.07, 0.07, 0.07, 0.07, 0.07, 0.07, 0.07, 0.07, 0.07, 0.07, 0.07, 0.07, 0.07, 0.07, 0.07, 0.07, 0.07, 0.07, 0.07, 0.07, 0.07, 0.07, 0.07, 0.07, 0.07, 0.07, 0.07, 0.07, 0.07, 0.09, 0.09, 0.19, 0.8, 1.55, 2.66, 4.14, 5.72, 7.46, 8.78, 9.48, 10.0, 10.0, 10.0, 10.0, 10.0, 10.0, 9.83, 9.35, 9.16, 8.93, 8.58, 8.03, 7.37, 6.74, 6.17, 5.76, 5.43, 5.1, 4.64, 4.13, 3.59, 3.06, 1.17, 0.4, 0.4, 0.4, 0.4, 0.4, 0.4, 0.4, 0.4, 0.4, 0.4, 0.42, 1.22, 2.67, 5.49, 9.21, 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] 2024-08-21 18:10:09.467349: BAT: [ g~be+, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g~be+, g~be+, g>be+, g>be+, g<be+, g~be+, g~be+, g>be+, g~be+, g~be+, g>be+, g>be~, g>be~, g>be~, g>be~, g>be~, g~be-, g~be-, g<be-, g<be-, g~be-, g~be-, g~be-, g~be-, g~be-, g~be-, g~be-, g~be-, g~be-, g>be-, g~be-, g~be-, g~be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g~be+, g~be+, g~be+, g~be+, g<be+, g<be+, g>be+, g>be~, g>be~, g>be~, 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-08-21 18:10:09.472389: LOAD: [ 24.5, 25.25, 26.28, 26.78, 27.16, 27.57, 28.24, 28.88, 29.54, 30.31, 31.35, 31.82, 32.16, 32.65, 33.13, 33.63, 34.12, 35.91, 37.79, 38.34, 38.72, 39.11, 39.54, 39.78, 40.09, 40.39, 40.69, 41.18, 42.0, 42.53, 43.67, 44.47, 45.25, 46.34, 47.15, 47.7, 48.47, 49.15, 49.61, 50.18, 50.86, 52.09, 53.98, 55.42, 56.17, 56.69, 57.18, 57.56, 57.83, 58.68, 59.7, 60.15, 60.45, 60.78, 61.29, 61.9, 62.49, 63.02, 63.41, 63.71, 64.02, 64.45, 64.92, 65.43, 65.92, 67.68, 69.31, 69.87, 70.29, 70.67, 71.12, 71.44, 71.78, 72.06, 72.34, 72.78, 73.62, 74.4, 75.54, 76.24, 76.82, 77.76, 78.44, 78.99, 79.55, 80.06, 80.67, 81.17, 81.78, 83.44, 85.63, 87.12, 87.67, 88.1, 88.49, 88.78] 2024-08-21 18:10:09.477160: PV: [ 71.5, 72.17, 72.52, 72.66, 72.7, 72.71, 72.71, 72.71, 72.71, 72.71, 72.71, 72.71, 72.71, 72.71, 72.71, 72.71, 72.71, 72.71, 72.71, 72.71, 72.71, 72.71, 72.71, 72.71, 72.71, 72.73, 72.81, 72.97, 73.22, 73.58, 74.05, 74.62, 75.25, 75.99, 76.93, 78.14, 79.71, 81.56, 83.57, 85.79, 88.29, 90.93, 93.62, 96.26, 98.74, 101.04, 103.11, 104.81, 106.12, 107.02, 107.62, 107.89, 107.98, 107.99, 107.99, 107.99, 107.99, 107.99, 107.99, 107.99, 107.99, 107.99, 107.99, 107.99, 107.99, 107.99, 107.99, 107.99, 107.99, 107.99, 107.99, 107.99, 107.99, 108.02, 108.17, 108.53, 109.36, 110.99, 113.67, 117.31, 121.75, 127.17, 132.67, 138.17, 143.67, 149.17, 154.67, 160.17, 165.66, 171.16, 176.64, 181.49, 185.56, 188.91, 191.49, 193.31] 2024-08-21 18:10:09.481859: IMPORT: [ 0.0, 0.18, 0.87, 1.24, 1.57, 1.98, 2.65, 3.29, 3.95, 4.72, 5.76, 6.23, 6.57, 7.06, 7.54, 8.04, 8.52, 10.32, 12.2, 12.75, 13.13, 13.52, 13.95, 14.19, 14.5, 14.78, 15.0, 15.33, 15.92, 16.11, 16.79, 17.04, 17.24, 17.62, 17.62, 17.62, 17.62, 17.62, 17.62, 17.62, 17.62, 17.62, 17.62, 17.62, 17.62, 17.62, 17.62, 17.62, 17.62, 17.62, 17.62, 17.62, 17.62, 17.62, 17.62, 17.62, 17.62, 17.62, 17.62, 17.62, 17.62, 17.62, 17.62, 17.62, 17.62, 17.62, 18.54, 19.1, 19.51, 19.9, 20.35, 20.67, 21.01, 21.26, 21.39, 21.49, 21.56, 21.56, 21.56, 21.56, 21.56, 21.56, 21.56, 21.56, 21.56, 21.56, 21.56, 21.56, 21.56, 21.56, 21.56, 21.56, 21.56, 21.56, 21.56, 21.56] 2024-08-21 18:10:09.486512: EXPORT: [ 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.4, 43.97, 45.6, 47.3, 48.8, 50.05, 51.03, 51.2, 51.2, 51.2, 51.2, 51.2, 51.2, 51.2, 51.2, 51.2, 51.2, 51.2, 51.2, 51.2, 51.2, 51.2, 51.2, 51.2, 51.2, 51.2, 51.2, 51.2, 51.2, 51.2, 51.2, 51.2, 51.2, 51.2, 51.2, 51.2, 51.2, 51.2, 51.2, 54.39, 58.5, 62.73, 66.94, 71.21, 75.38, 79.66, 83.84, 86.95, 89.54, 92.61, 95.96, 98.75, 100.82, 102.29] 2024-08-21 18:10:09.491147: METRIC: [ -597.34, -592.48, -574.27, -564.37, -555.65, -544.73, -526.99, -519.38, -511.64, -502.51, -490.18, -477.56, -468.72, -401.9, -389.14, -383.26, -377.52, -356.22, -334.0, -327.51, -323.01, -318.39, -313.3, -310.41, -306.8, -299.25, -293.45, -284.67, -269.15, -264.02, -245.88, -239.26, -233.91, -223.87, -223.82, -223.82, -223.82, -223.82, -223.82, -223.82, -223.82, -223.82, -223.82, -232.34, -256.85, -282.26, -304.76, -323.58, -338.29, -340.83, -340.83, -340.83, -340.83, -340.83, -340.83, -340.83, -340.83, -340.83, -340.83, -340.83, -340.83, -287.17, -287.17, -287.17, -287.17, -287.17, -276.34, -269.72, -264.78, -260.19, -254.91, -251.11, -247.1, -240.43, -236.82, -234.28, -232.42, -232.42, -232.42, -232.42, -232.42, -280.33, -341.84, -405.29, -468.54, -532.59, -595.1, -659.34, -721.95, -768.68, -807.51, -853.5, -903.78, -945.65, -976.77, -998.73] 2024-08-21 18:10:09.502601: STATE: [ HldDis, HldDis, HldDis, HldDis, HldDis, HldDis, HldDis, HldDis, HldDis, HldDis, HldDis, HldDis, HldDis, HldDis, HldDis, HldDis, HldDis, HldDis, HldDis, HldDis, HldDis, HldDis, HldDis, HldDis, HldDis, HldDis, HldDis, HldDis, HldDis, HldDis, HldDis, HldDis, HldDis, HldDis, HldDis, HldDis, HldDis, HldDis, HldDis, HldDis, HldDis, HldDis, HldDis, HldDis, HldDis, HldDis, HldDis, HldDis, HldDis, HldDis, HldDis, HldDis, HldDis, HldDis, HldDis, HldDis, HldDis, HldDis, HldDis, HldDis, HldDis, HldDis, HldDis, HldDis, HldDis, HldDis, HldDis, HldDis, HldDis, HldDis, HldDis, HldDis, HldDis, HldDis, HldDis, HldDis, HldDis, HldDis, HldDis, HldDis, HldDis, HldDis, HldDis, HldDis, HldDis, HldDis, HldDis, HldDis, HldDis, HldDis, HldDis, HldDis, HldDis, HldDis, HldDis, HldDis] 2024-08-21 18:10:10.485106: Evaluate trigger {'name': 'large', 'minutes': 60, 'energy': 1.0} results off total_energy 0 2024-08-21 18:10:10.540949: Evaluate trigger {'name': 'small', 'minutes': 15, 'energy': 0.25} results off total_energy 0 2024-08-21 18:10:10.584858: Best charging limit socs [] export [100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100] gives import battery 0 house 21.56 export 102.66 metric -1004.33 metric10 -79.58 2024-08-21 18:10:12.067372: High export rate windows [0: 08-21 18:00:00 - 08-21 18:30:00 @ 15.0, 1: 08-21 18:30:00 - 08-21 19:00:00 @ 15.0, 2: 08-21 19:00:00 - 08-21 19:30:00 @ 15.0, 3: 08-21 19:30:00 - 08-21 20:00:00 @ 15.0, 4: 08-21 20:00:00 - 08-21 20:30:00 @ 15.0, 5: 08-21 20:30:00 - 08-21 21:00:00 @ 15.0, 6: 08-21 21:00:00 - 08-21 21:30:00 @ 15.0, 7: 08-21 21:30:00 - 08-21 22:00:00 @ 15.0, 8: 08-21 22:00:00 - 08-21 22:30:00 @ 15.0, 9: 08-21 22:30:00 - 08-21 23:00:00 @ 15.0, 10: 08-21 23:00:00 - 08-21 23:30:00 @ 15.0, 11: 08-21 23:30:00 - 08-22 00:00:00 @ 15.0, 12: 08-22 00:00:00 - 08-22 00:30:00 @ 15.0, 13: 08-22 00:30:00 - 08-22 01:00:00 @ 15.0, 14: 08-22 01:00:00 - 08-22 01:30:00 @ 15.0, 15: 08-22 01:30:00 - 08-22 02:00:00 @ 15.0, 16: 08-22 02:00:00 - 08-22 02:30:00 @ 15.0, 17: 08-22 02:30:00 - 08-22 03:00:00 @ 15.0, 18: 08-22 03:00:00 - 08-22 03:30:00 @ 15.0, 19: 08-22 03:30:00 - 08-22 04:00:00 @ 15.0, 20: 08-22 04:00:00 - 08-22 04:30:00 @ 15.0, 21: 08-22 04:30:00 - 08-22 05:00:00 @ 15.0, 22: 08-22 05:00:00 - 08-22 05:30:00 @ 15.0, 23: 08-22 05:30:00 - 08-22 06:00:00 @ 15.0, 24: 08-22 06:00:00 - 08-22 06:30:00 @ 15.0, 25: 08-22 06:30:00 - 08-22 07:00:00 @ 15.0, 26: 08-22 07:00:00 - 08-22 07:30:00 @ 15.0, 27: 08-22 07:30:00 - 08-22 08:00:00 @ 15.0, 28: 08-22 08:00:00 - 08-22 08:30:00 @ 15.0, 29: 08-22 08:30:00 - 08-22 09:00:00 @ 15.0, 30: 08-22 09:00:00 - 08-22 09:30:00 @ 15.0, 31: 08-22 09:30:00 - 08-22 10:00:00 @ 15.0, 32: 08-22 10:00:00 - 08-22 10:30:00 @ 15.0, 33: 08-22 10:30:00 - 08-22 11:00:00 @ 15.0, 34: 08-22 11:00:00 - 08-22 11:30:00 @ 15.0, 35: 08-22 11:30:00 - 08-22 12:00:00 @ 15.0, 36: 08-22 12:00:00 - 08-22 12:30:00 @ 15.0, 37: 08-22 12:30:00 - 08-22 13:00:00 @ 15.0, 38: 08-22 13:00:00 - 08-22 13:30:00 @ 15.0, 39: 08-22 13:30:00 - 08-22 14:00:00 @ 15.0, 40: 08-22 14:00:00 - 08-22 14:30:00 @ 15.0, 41: 08-22 14:30:00 - 08-22 15:00:00 @ 15.0, 42: 08-22 15:00:00 - 08-22 15:30:00 @ 15.0, 43: 08-22 15:30:00 - 08-22 16:00:00 @ 15.0, 44: 08-22 16:00:00 - 08-22 16:30:00 @ 15.0, 45: 08-22 16:30:00 - 08-22 17:00:00 @ 15.0, 46: 08-22 17:00:00 - 08-22 17:30:00 @ 15.0, 47: 08-22 17:30:00 - 08-22 18:00:00 @ 15.0, 48: 08-22 18:00:00 - 08-22 18:30:00 @ 15.0, 49: 08-22 18:30:00 - 08-22 19:00:00 @ 15.0, 50: 08-22 19:00:00 - 08-22 19:30:00 @ 15.0, 51: 08-22 19:30:00 - 08-22 20:00:00 @ 15.0, 52: 08-22 20:00:00 - 08-22 20:30:00 @ 15.0, 53: 08-22 20:30:00 - 08-22 21:00:00 @ 15.0, 54: 08-22 21:00:00 - 08-22 21:30:00 @ 15.0, 55: 08-22 21:30:00 - 08-22 22:00:00 @ 15.0, 56: 08-22 22:00:00 - 08-22 22:30:00 @ 15.0, 57: 08-22 22:30:00 - 08-22 23:00:00 @ 15.0, 58: 08-22 23:00:00 - 08-22 23:30:00 @ 15.0, 59: 08-22 23:30:00 - 08-23 00:00:00 @ 15.0, 60: 08-23 00:00:00 - 08-23 00:30:00 @ 15.0, 61: 08-23 00:30:00 - 08-23 01:00:00 @ 15.0, 62: 08-23 01:00:00 - 08-23 01:30:00 @ 15.0, 63: 08-23 01:30:00 - 08-23 02:00:00 @ 15.0, 64: 08-23 02:00:00 - 08-23 02:30:00 @ 15.0, 65: 08-23 02:30:00 - 08-23 03:00:00 @ 15.0, 66: 08-23 03:00:00 - 08-23 03:30:00 @ 15.0, 67: 08-23 03:30:00 - 08-23 04:00:00 @ 15.0, 68: 08-23 04:00:00 - 08-23 04:30:00 @ 15.0, 69: 08-23 04:30:00 - 08-23 05:00:00 @ 15.0, 70: 08-23 05:00:00 - 08-23 05:30:00 @ 15.0, 71: 08-23 05:30:00 - 08-23 06:00:00 @ 15.0, 72: 08-23 06:00:00 - 08-23 06:30:00 @ 15.0, 73: 08-23 06:30:00 - 08-23 07:00:00 @ 15.0, 74: 08-23 07:00:00 - 08-23 07:30:00 @ 15.0, 75: 08-23 07:30:00 - 08-23 08:00:00 @ 15.0, 76: 08-23 08:00:00 - 08-23 08:30:00 @ 15.0, 77: 08-23 08:30:00 - 08-23 09:00:00 @ 15.0, 78: 08-23 09:00:00 - 08-23 09:30:00 @ 15.0, 79: 08-23 09:30:00 - 08-23 10:00:00 @ 15.0, 80: 08-23 10:00:00 - 08-23 10:30:00 @ 15.0, 81: 08-23 10:30:00 - 08-23 11:00:00 @ 15.0, 82: 08-23 11:00:00 - 08-23 11:30:00 @ 15.0, 83: 08-23 11:30:00 - 08-23 12:00:00 @ 15.0, 84: 08-23 12:00:00 - 08-23 12:30:00 @ 15.0, 85: 08-23 12:30:00 - 08-23 13:00:00 @ 15.0, 86: 08-23 13:00:00 - 08-23 13:30:00 @ 15.0, 87: 08-23 13:30:00 - 08-23 14:00:00 @ 15.0, 88: 08-23 14:00:00 - 08-23 14:30:00 @ 15.0, 89: 08-23 14:30:00 - 08-23 15:00:00 @ 15.0, 90: 08-23 15:00:00 - 08-23 15:30:00 @ 15.0, 91: 08-23 15:30:00 - 08-23 16:00:00 @ 15.0, 92: 08-23 16:00:00 - 08-23 16:30:00 @ 15.0, 93: 08-23 16:30:00 - 08-23 17:00:00 @ 15.0, 94: 08-23 17:00:00 - 08-23 17:30:00 @ 15.0, 95: 08-23 17:30:00 - 08-23 18:00:00 @ 15.0, 96: 08-23 18:00:00 - 08-23 18:30:00 @ 15.0] 2024-08-21 18:10:13.038474: Low import rate windows [0: 08-21 21:00:00 - 08-21 21:30:00 @ 11.84, 1: 08-21 21:30:00 - 08-21 22:00:00 @ 11.84, 2: 08-21 22:00:00 - 08-21 22:30:00 @ 11.84, 3: 08-21 22:30:00 - 08-21 23:00:00 @ 11.84, 4: 08-22 01:00:00 - 08-22 01:30:00 @ 11.84, 5: 08-22 01:30:00 - 08-22 02:00:00 @ 11.84, 6: 08-22 02:00:00 - 08-22 02:30:00 @ 11.84, 7: 08-22 02:30:00 - 08-22 03:00:00 @ 11.84, 8: 08-22 03:00:00 - 08-22 03:30:00 @ 11.84, 9: 08-22 03:30:00 - 08-22 04:00:00 @ 11.84, 10: 08-22 04:00:00 - 08-22 04:30:00 @ 11.84, 11: 08-22 04:30:00 - 08-22 05:00:00 @ 11.84, 12: 08-22 05:00:00 - 08-22 05:30:00 @ 11.84, 13: 08-22 05:30:00 - 08-22 06:00:00 @ 11.84, 14: 08-22 14:00:00 - 08-22 14:30:00 @ 11.84, 15: 08-22 14:30:00 - 08-22 15:00:00 @ 11.84, 16: 08-22 15:00:00 - 08-22 15:30:00 @ 11.84, 17: 08-22 15:30:00 - 08-22 16:00:00 @ 11.84, 18: 08-22 16:00:00 - 08-22 16:30:00 @ 11.84, 19: 08-22 16:30:00 - 08-22 17:00:00 @ 11.84, 20: 08-22 21:00:00 - 08-22 21:30:00 @ 11.84, 21: 08-22 21:30:00 - 08-22 22:00:00 @ 11.84, 22: 08-22 22:00:00 - 08-22 22:30:00 @ 11.84, 23: 08-22 22:30:00 - 08-22 23:00:00 @ 11.84, 24: 08-23 01:00:00 - 08-23 01:30:00 @ 11.84, 25: 08-23 01:30:00 - 08-23 02:00:00 @ 11.84, 26: 08-23 02:00:00 - 08-23 02:30:00 @ 11.84, 27: 08-23 02:30:00 - 08-23 03:00:00 @ 11.84, 28: 08-23 03:00:00 - 08-23 03:30:00 @ 11.84, 29: 08-23 03:30:00 - 08-23 04:00:00 @ 11.84, 30: 08-23 04:00:00 - 08-23 04:30:00 @ 11.84, 31: 08-23 04:30:00 - 08-23 05:00:00 @ 11.84, 32: 08-23 05:00:00 - 08-23 05:30:00 @ 11.84, 33: 08-23 05:30:00 - 08-23 06:00:00 @ 11.84, 34: 08-23 14:00:00 - 08-23 14:30:00 @ 11.84, 35: 08-23 14:30:00 - 08-23 15:00:00 @ 11.84, 36: 08-23 15:00:00 - 08-23 15:30:00 @ 11.84, 37: 08-23 15:30:00 - 08-23 16:00:00 @ 11.84, 38: 08-23 16:00:00 - 08-23 16:30:00 @ 11.84, 39: 08-23 16:30:00 - 08-23 17:00:00 @ 11.84] 2024-08-21 18:10:13.139889: Inverter 0 current discharge rate is 0.0W and new target is 11000W 2024-08-21 18:11:13.517664: Warn: Inverter 0 Trying to write 11000 to discharge_rate didn't complete got 0 2024-08-21 18:11:13.562691: Info: record_status Warn: Inverter 0 write to discharge_rate failed 2024-08-21 18:11:13.634788: Will not recompute the plan, it is 5.0 minutes old and max age is 10 minutes 2024-08-21 18:11:13.783328: Completed run status Idle with Errors reported (check log) 2024-08-21 18:11:13.826923: Saved current settings to /config/predbat_config.json 2024-08-21 18:15:01.081481: --------------- PredBat - update at 2024-08-21 18:15:00+01:00 with clock skew 0 minutes, minutes now 1095

LeeFarm11 commented 2 months ago

And this line says Battery is 10kWh. But it is really 20.4kWh. Maybe that is another mis-read from GivTCP? But I don't see any relevant Entities or Helpers from GivTCP.

2024-08-21 18:10:07.086293: Inverter 0 with soc_max 10.0 kWh nominal_capacity 10.0 kWh battery rate raw 11000.0 w charge rate 11.0 kW discharge rate 11.0 kW battery_rate_min 200.0 w ac limit 11.5 kW export limit 11.5 kW reserve 4.0 % current_reserve 4.0 %

gcoan commented 2 months ago

Hi @LeeFarm11 some progress then, good

Based on what you shared earlier, the discharge rate was set correctly in apps.yaml to point to number.givtcp_SERIALNO_battery_discharge_rate but this is currently set to zero and then predbat errors when trying to set it to max discharge rate (11000W).

I also noticed the current SoC isn't being reported correctly:

2024-08-21 18:10:07.088260: Found 1 inverters totals: min reserve 0.4 current reserve 0.4 soc_max 10.0 soc 0.0 charge rate 11.0 kW discharge rate 0.2 kW battery_rate_min 200.0 w ac limit 11.5 export limit 11.5 kW loss charge 3 % loss discharge 3 % inverter loss 4 %

Coming up as zero, should be more than that.

I'm afraid these are questions for GivTCP. Must be something wrong in the mapping of modbus registers to home assistant controls.

LeeFarm11 commented 2 months ago

Thanks @gcoan

Will post in https://github.com/britkat1980/giv_tcp/issues/186

crg-n commented 2 months ago

Hi, I am having the same issue. It looks like you are making progress with the 3 phase issues in GivTCP issue #186 but I suspect the missing "Battery_Charge_Rate" remains unaddressed in the latest versions of GivTCP and so I have opened issue #215 .

I believe it is solely this problem that is upsetting Predbat for me as if I do a nasty workaround and manually set the "Battery_Charge_Rate" in inverter.py, PredBat is able to run without any other errors with GivTCP.

britkat1980 commented 2 months ago

This is an error in Dev Version of GivTCP, fixed in 716 (to be tested). I think it only happened when charge rate is set to Zero. Install 716 and confirm fix

crg-n commented 2 months ago

Fix confirmed working on my end. Many thanks! This issue could likely be closed @LeeFarm11

LeeFarm11 commented 2 months ago

Hi @crg-n

Now I'm running GivTCP Dev720 and latest update predbat. But I get this error (now relating battery size from REST). Did you make some other changes, or am I missing something? Thanks

Startup Predbat files are installed correctly for version v8.3.5 Starting Standalone Predbat 2024-08-27 22:41:53.830337: Loading apps.yaml 2024-08-27 22:41:54.094625: Info: Connected to Home Assistant at http://supervisor/core 2024-08-27 22:41:54.103079: Warn: Failed to decode response <Response [404]> from http://supervisor/core/addons/self/info 2024-08-27 22:41:54.104206: Creating task: <coroutine object HAInterface.socketLoop at 0x7f94624ff5a0> 2024-08-27 22:41:54.104932: Info: Web Socket task started 2024-08-27 22:41:54.106154: Warn: unable to find /config/appdaemon.yaml skipping checks as Predbat maybe running outside of AppDaemon 2024-08-27 22:41:54.109437: Info: Start socket for url http://supervisor/core/api/websocket 2024-08-27 22:41:54.138099: Info: Web Socket active 2024-08-27 22:41:54.242338: Warn: Regular expression argument: geserial2 unable to match re:sensor.givtcp2_(.+)_soc_kwh, now will disable 2024-08-27 22:41:54.247954: Warn: Regular expression argument: pv_forecasttoday unable to match re:(sensor.(solcast|)(pvforecast|)forecast_today), now will disable 2024-08-27 22:41:54.253020: Warn: Regular expression argument: pv_forecasttomorrow unable to match re:(sensor.(solcast|)(pvforecast|)forecast_tomorrow), now will disable 2024-08-27 22:41:54.258875: Warn: Regular expression argument: pv_forecastd3 unable to match re:(sensor.(solcast|)(pvforecast|)forecast_(day_3|d3)), now will disable 2024-08-27 22:41:54.264114: Warn: Regular expression argument: pv_forecastd4 unable to match re:(sensor.(solcast|)(pvforecast|)forecast_(day_4|d4)), now will disable 2024-08-27 22:41:54.268942: Warn: Regular expression argument: car_charging_energy unable to match re:(sensor.myenergizappi[0-9a-z]+_charge_added_session|sensor.wallbox_portal_added_energy), now will disable 2024-08-27 22:41:54.273898: Warn: Regular argument car_charging_planned expression re:(sensor.wallbox_portal_status_description|sensor.myenergizappi[0-9a-z]+_plug_status) failed to match - disabling this item 2024-08-27 22:41:54.278364: Warn: Regular expression argument: carbon_intensity unable to match re:(sensor.carbon_intensity_uk), now will disable 2024-08-27 22:41:54.282279: Warn: Regular expression argument: octopus_saving_session unable to match re:(binary_sensor.octopusenergy([0-9a-z]+|)_saving_session(s|)), now will disable 2024-08-27 22:41:54.286566: Warn: Regular expression argument: metric_octopus_import unable to match re:(sensor.(octopusenergy|)electricity[0-9a-z]+[0-9a-z]+_current_rate), now will disable 2024-08-27 22:41:54.290690: Warn: Regular expression argument: metric_octopus_export unable to match re:(sensor.(octopusenergy|)electricity[0-9a-z]+[0-9a-z]+_export_current_rate), now will disable Watching ['./prediction.py', './hass.py', './apps.yaml', './config.py', './download.py', './predbat.py', './utils.py', './ha.py', './unit_test.py', './inverter.py'] for changes 2024-08-27 22:42:03.744582: Warn: Historical day 2 has 5 minutes of gap in the data, filled from 16.05 kWh to make new average 16.11 kWh (percent 100%) 2024-08-27 22:42:04.024602: Error: Reported battery size from REST is 0.0, but it must be >0 2024-08-27 22:42:04.024665: Error: Exception raised 2024-08-27 22:42:04.032517: Error: Traceback (most recent call last): File "/config/predbat.py", line 10956, in update_time_loop self.update_pred(scheduled=False) File "/config/predbat.py", line 9800, in update_pred self.fetch_inverter_data() File "/config/predbat.py", line 9310, in fetch_inverter_data inverter = Inverter(self, id) File "/config/inverter.py", line 281, in init raise ValueError ValueError

2024-08-27 22:42:04.072690: Info: record_status Error: Exception raised 2024-08-27 22:42:04.072787: Error: Traceback (most recent call last): File "/config/hass.py", line 173, in timer_tick item"callback" File "/config/predbat.py", line 10962, in update_time_loop raise e File "/config/predbat.py", line 10956, in update_time_loop self.update_pred(scheduled=False) File "/config/predbat.py", line 9800, in update_pred self.fetch_inverter_data() File "/config/predbat.py", line 9310, in fetch_inverter_data inverter = Inverter(self, id) File "/config/inverter.py", line 281, in init raise ValueError ValueError

LeeFarm11 commented 2 months ago

Ah. @gcoan and @britkat1980 I see crg-n has AIO, not 3 phase, so maybe not the same issues. But I do still have the REST section commented out, so why is it searching for REST information?

apps.yaml - #

When set use the REST API rather than HA entity for control, should be more reliable/faster to control

Set one per inverter

If using Docker then change homeassistant.local to the Docker IP address

givtcp_rest:

- 'http://192.168.1.204:6345'

Edit: Sorry, I don't know how to stop the weird coloured big text....

crg-n commented 2 months ago

Hi Lee. No, my apologies - I was referring to the "Battery_Charge_Rate" exception from your title/first post, which BritKat has now fixed. It looks like some of your 3 phase issues might be persisting but hopefully you'll get those sorted in the GivTCP issue. I am on an AIO and it's all working through REST for me now. I think gcoan previously got you to disable REST in Predbat as a workaround for the "Battery_Charge_Rate" being missing so now that it is fixed maybe you could try REST on again?

This probably won't help your issue but one thing I found that might be useful to you in the future was connecting to the REST api directly to see what values it was making available. I believe this is what predbat calls so you can use this to figure out if the issue is with Predbat or GivTCP. For me it is at: http://homeassistant.local:6345/readData

Good luck!

LeeFarm11 commented 2 months ago

Thanks for the guidance. I will try to take a look. But I have REST commented out......... so why do I have REST errors?

image

gcoan commented 2 months ago

Hi @LeeFarm11

Yes I did advise to try commenting out the apps.yaml rest configuration lines and to use the givtcp home assistant sensors instead, to see if that fixed your original issue.

I don't know why you are getting that error when you've commented REST out, but it's hard to verify apps.yaml with all the weird formatting. What's happening is that github is parsing the apps.yaml content and trying to format it as HTML!

To stop this, precede the apps.yaml text with three backwards quotes "```" on a line on their own, then put the same after the apps.yaml fragment. This will cause github to treat the pasted file section as being code and not interpret it.

You could try REST again, but equally the sensors should work. I think you shared them before, but have a look at the sensor defined as the charge rate in apps.yaml, does it have a zero value as predbat complains? (I know the error refers to REST, it may be that the error message is misleading!)

Looking at your logfile I am slightly confused by the error

2024-08-27 22:41:54.103079: Warn: Failed to decode response <Response [404]> from http://supervisor/core/addons/self/info

as this should have been fixed in 8.3.5. Are you running predbat under docker or as the predbat add-on? It doesn't impact on this issue but I am surprised to see it in your log

britkat1980 commented 2 months ago

I believe that predbat uses rest for reading data and that the rest config line you commented out was for control…?

gcoan commented 2 months ago

I believe that predbat uses rest for reading data and that the rest config line you commented out was for control…?

Maybe that Predbat does. Learn something new every day !

Thanks

LeeFarm11 commented 2 months ago

I took a look at the REST page. http://homeassistant.local:6345/readData I think this might be the relevant section causing the battery size issue -

"TD2343G049": { "Battery_Capacity_kWh": 0.0, "Battery_Capacity_kWh_calc": 21.28, "Battery_Priority": "Load", "Battery_Type": "Lithium", "Boost_Temperature": 42.7, "Buck_Boost_Temperature": 43.1, "DC_Status": "Normal", "Inverter_Temperature": 46.2, "Invertor_Firmware": "ZAAA040404", "Invertor_Max_Bat_Rate": 11000, "Invertor_Max_Inv_Rate": 11000, "Invertor_Serial_Number": "TD2343G049", "Invertor_Software": "ZA1.0", "Invertor_Time": "2024-08-28T07:30:53+01:00", "Invertor_Type": "Gen 3 - Hybrid_3ph", "Power_Factor": 0, "Start_Delay_Time": 3, "System_Mode": "Grid_tied", "status": "Normal" }

So is this predbat reading the inverter, not related to GivTCP?

LeeFarm11 commented 2 months ago

For info here is the entire record -

REST.txt

gcoan commented 2 months ago

I took a look at the REST page. http://homeassistant.local:6345/readData I think this might be the relevant section causing the battery size issue -

"TD2343G049": { "Battery_Capacity_kWh": 0.0, "Battery_Capacity_kWh_calc": 21.28, "Battery_Priority": "Load", "Battery_Type": "Lithium", "Boost_Temperature": 42.7, "Buck_Boost_Temperature": 43.1, "DC_Status": "Normal", "Inverter_Temperature": 46.2, "Invertor_Firmware": "ZAAA040404", "Invertor_Max_Bat_Rate": 11000, "Invertor_Max_Inv_Rate": 11000, "Invertor_Serial_Number": "TD2343G049", "Invertor_Software": "ZA1.0", "Invertor_Time": "2024-08-28T07:30:53+01:00", "Invertor_Type": "Gen 3 - Hybrid_3ph", "Power_Factor": 0, "Start_Delay_Time": 3, "System_Mode": "Grid_tied", "status": "Normal" }

So is this predbat reading the inverter, not related to GivTCP?

I believe the sequence is something like:

  1. GivTCP interrogates the modbus registers on the inverter and presents the information to MQTT

  2. MQTT presents the queued data as a REST interface

  3. MQTT also populates Home Assistant entities with the data queued via REST

  4. Updating a HA GivTCP entity calls a REST interface to update MQTT

  5. Calling a MQTT REST interface causes GivTCP to update the inverter modbus registers

Predbat reads the inverter data via 1 and then 2

Predbat can write inverter data via 4 and then 5, or 5 directly. When you comment out the rest interface in apps.yaml, Predbat is doing 4 which then calls 5.

I should make this more clear in the documentation, I do need to add the instructions on installing MQTT etc so I'll include it in there

So the problem with the missing data via REST is back to GivTCP

For comparison here's the start of the REST data for my inverter/batteries (Gen 1 hybrid)

{ "Battery_Details": { "DX2327G139": { "Battery_Capacity": 182.13, "Battery_Cell_10_Voltage": 3.351, "Battery_Cell_11_Voltage": 3.349, "Battery_Cell_12_Voltage": 3.349, "Battery_Cell_13_Voltage": 3.361, "Battery_Cell_14_Voltage": 3.351, "Battery_Cell_15_Voltage": 3.353, "Battery_Cell_16_Voltage": 3.351, "Battery_Cell_1_Temperature": 22.2, "Battery_Cell_1_Voltage": 3.349, "Battery_Cell_2_Temperature": 22.8, "Battery_Cell_2_Voltage": 3.345, "Battery_Cell_3_Temperature": 23.2, "Battery_Cell_3_Voltage": 3.343, "Battery_Cell_4_Temperature": 21.4, "Battery_Cell_4_Voltage": 3.346, "Battery_Cell_5_Voltage": 3.358, "Battery_Cell_6_Voltage": 3.348, "Battery_Cell_7_Voltage": 3.349, "Battery_Cell_8_Voltage": 3.361, "Battery_Cell_9_Voltage": 3.348, "Battery_Cells": 16, "Battery_Cycles": 208, "Battery_Design_Capacity": 186.0, "Battery_Firmware_Version": 3015, "Battery_Remaining_Capacity": 63.72, "Battery_SOC": 35, "Battery_Serial_Number": "DX2327G139", "Battery_Temperature": 27.2, "Battery_USB_present": true, "Battery_Voltage": 53.608 } }, "Control": { "Active_Power_Rate": 100, "Battery_Charge_Rate": 2600, "Battery_Discharge_Rate": 2600, "Battery_Power_Cutoff": 4, "Battery_Power_Mode": "enable", "Battery_Power_Reserve": 4, "Battery_pause_mode": "Disabled", "Enable_Charge_Schedule": "enable", "Enable_Discharge": "enable", "Enable_Discharge_Schedule": "disable", "Force_Charge": "Normal", "Force_Export": "Normal", "Local_control_mode": "Load", "Mode": "Eco", "PV_input_mode": "Independent", "Reboot_Addon": "disable", "Reboot_Invertor": "disable", "Target_SOC": 98, "Temp_Pause_Charge": "Normal", "Temp_Pause_Discharge": "Normal" }, "Energy": { "Rates": { "Battery_Value": 0.319, "Battery_ppkwh": 0.096, "Current_Rate": 0.279, "Current_Rate_Type": "Day", "Day_Cost": 0.0, "Day_Energy_Total_kWh": 0, "Day_Energy_kWh": 0.0, "Day_Rate": 0.279, "Day_Start_Energy_kWh": 13483.9, "Export_Rate": 0.169, "Import_ppkwh_Today": 0.225, "Night_Cost": 0.0, "Night_Energy_Total_kWh": 0, "Night_Energy_kWh": 0.0, "Night_Rate": 0.168, "Night_Start_Energy_kWh": 13483.9 }, "Today": { "AC_Charge_Energy_Today_kWh": 0.4,

britkat1980 commented 2 months ago

I think the problem is the three phase battery capacity has a different name (_calc) suffix. I’ll align names now that were agreed the right calculation!

gcoan commented 1 month ago

is this resolved in GivTCP now?

LeeFarm11 commented 1 month ago

Hi @gcoan. Sorry I can only confirm that I do not see these issues any more, but I do not yet have predbat running because the GivTCP commands called by predbat do not yet work for the 3 phase Inverters. Mark has promised to look at it again next week. My latest input is here https://github.com/britkat1980/giv_tcp/issues/218

gcoan commented 1 month ago

Ok thanks for the update @LeeFarm11

Keep this open for any residual predbat issues

Cheers