springfall2008 / batpred

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

SolarEdge "Hold Charge" continues to charge battery from grid #1327

Open Noodleyman opened 1 month ago

Noodleyman commented 1 month ago

Describe the bug I've raised this a few times before via general discussions, but rarely had the chance to capture useful information related to the problem. However, today I was able to capture the system doing something it should not be. The issue relates to the SolarEdge system and when PredBat wants to Pause charging (hold charge). Hold Charge sets the SolarEdge mode to be "Charge from Solar Power and Grid" which continues to pull power from the grid. When it does this there have been instances where it will continue to walk up the "pause charge" target SOC to 100% and thus enter a cycle of non-stop charging from grid until the battery is full.

When I catch it doing this, I set it to read only and manually configure the "Maximize Self Consumption" mode.

Expected behavior Hold Charge should not continue to charge from grid

Predbat version 8.3.1 (Have had this issue for quite a long time, so is not new to this version)

Environment details

Screenshots The Plan: image

The actual state of the PV system: image

PredBat status image

SolarEdge Modbus Multi history showing status change: image

Input Variables: image

Switches: image

apps.yaml

pred_bat:
  module: predbat
  class: PredBat

  # Sets the prefix for all created entities in HA - only change if you want to run more than once instance
  prefix: predbat

  # XXX: This is a configuration template, delete this line once you edit your configuration
  # template: True

  # Timezone to work in
  timezone: Europe/London

  #
  # Sensors, currently more than one can be specified and they will be summed up automatically
  # however if you have two inverters only set one of them as they will both read the same.
  #
  load_today:
    - sensor.solar_house_consumption_kwh
    #- sensor.solaredge_i1_ac_energy
    #- sensor.solaredge_i1_ac_energy_kwh
  import_today:
    - sensor.solaredge_m1_imported
    #- sensor.solaredge_m1_imported_kwh
  export_today:
    - sensor.solaredge_m1_exported
    #- sensor.solaredge_m1_exported_kwh
  pv_today:
    - sensor.solar_panel_production_kwh   # This is a custom sensor - see Readme on how to create or comment out
  #
  # Controls/status - must by 1 per inverter
  #
  num_inverters: 1
  # Inverter type stubbed to SX4 to allow execution - SE is an invalid type in current head version
  inverter_type: "SE"

  # Can be enabled if you have a backup interface
  inverter:
    has_reserve_soc: True
    support_charge_freeze: False
    support_discharge_freeze: False

  battery_rate_max:
    - sensor.solaredge_b1_max_charge_power
  charge_rate:
    - number.solaredge_i1_storage_charge_limit
  discharge_rate:
    - number.solaredge_i1_storage_discharge_limit
  battery_power:
    - sensor.solaredge_b1_dc_power
  pv_power:
    - sensor.solar_panel_production_w # This is a custom sensor - see Readme on how to create or comment out
  load_power:
    - sensor.solar_house_consumption_w # This is a custom sensor - see Readme on how to create or comment out
  soc_percent:
    - sensor.solaredge_b1_state_of_energy
  soc_max:
    - sensor.solaredge_b1_maximum_energy
  # Can be enabled you have a backup interface
  reserve:
    - number.solaredge_i1_backup_reserve
  charge_start_time:
   - "02:00:00"
  charge_end_time:
   - "05:00:00"
  charge_limit:
   - number.solaredge_i1_ac_charge_limit
  scheduled_charge_enable:
   - off
  scheduled_discharge_enable:
   - off
  discharge_start_time:
   - "18:30:00"
  discharge_end_time:
   - "19:00:00"

  # Services to control charging/discharging
  charge_start_service:
    service: select.select_option
    entity_id: "select.solaredge_i1_storage_command_mode"
    option: "Charge from Solar Power and Grid"
  charge_stop_service:
    service: select.select_option
    entity_id: "select.solaredge_i1_storage_command_mode"
    option: "Maximize Self Consumption"
  discharge_start_service:
    service: select.select_option
    entity_id: "select.solaredge_i1_storage_command_mode"
    option: "Discharge to Maximize Export"

  # Inverter max AC limit (one per inverter)
  # If you have a second inverter for PV only please add the two values together
  #inverter_limit:
  # - 3600
  # - 3600
  # Export limit is a software limit set on your inverter that prevents exporting above a given level
  # When enabled Predbat will model this limit
  export_limit:
    - 3680
  #  - 3670
  #
  # The maximum rate the inverter can charge and discharge the battery can be overwritten, this will change
  # the register programming and thus cap the max rates. The default is to use the maximum supported rates (recommended)
  #
  inverter_limit_charge:
    - 5000
  inverter_limit_discharge:
    - 5000

  # Some inverters don't turn off when the rate is set to 0, still charge or discharge at around 200w
  # The value can be set here in watts to model this (doesn't change operation)
  #inverter_battery_rate_min:
  #  - 200

  # Some batteries tail off their charge rate at high soc%
  # enter the charging curve here as a % of the max charge rate for each soc percentage.
  # the default is 1.0 (full power)
  battery_charge_power_curve:
    91 : 0.91
    92 : 0.81
    93 : 0.71
    94 : 0.62
    95 : 0.52
    96 : 0.43
    97 : 0.33
    98 : 0.24
    99 : 0.24
    100 : 0.24

  # Inverter clock skew in minutes, e.g. 1 means it's 1 minute fast and -1 is 1 minute slow
  # Separate start and end options are applied to the start and end time windows, mostly as you want to start late (not early) and finish early (not late)
  # Separate discharge skew for discharge windows only
  inverter_clock_skew_start: 0
  inverter_clock_skew_end: 0
  inverter_clock_skew_discharge_start: 0
  inverter_clock_skew_discharge_end: 0

  # Clock skew adjusts the Appdaemon time
  # This is the time that Predbat takes actions like starting discharge/charging
  # Only use this for workarounds if your inverter time is correct but Predbat is somehow wrong (AppDaemon issue)
  # 1 means add 1 minute to AppDaemon time, -1 takes it away
  clock_skew: 0

  # Set these to match solcast sensor names
  # The regular expression (re:) makes the solcast bit optional
  # If these don't match find your own names in Home Assistant
  pv_forecast_today: re:(sensor.(solcast_|)(pv_forecast_|)forecast_today)
  pv_forecast_tomorrow: re:(sensor.(solcast_|)(pv_forecast_|)forecast_tomorrow)
  pv_forecast_d3: re:(sensor.(solcast_|)(pv_forecast_|)forecast_(day_3|d3))
  pv_forecast_d4: re:(sensor.(solcast_|)(pv_forecast_|)forecast_(day_4|d4))

  # car_charging_energy defines an incrementing sensor which measures the charge added to your car
  # is used for car_charging_hold feature to filter out car charging from the previous load data
  # Automatically set to detect Wallbox and Zappi, if it doesn't match manually enter your sensor name
  # Also adjust car_charging_energy_scale if it's not in kwH to fix the units
  car_charging_energy: 're:(sensor.myenergi_zappi_[0-9a-z]+_charge_added_session|sensor.wallbox_portal_added_energy)'

  num_cars: 0

  # car_charging_planned is set to a sensor which when positive indicates the car will charged in the upcoming low rate slots
  # This should not be needed if you use Octopus Intelligent Slots which will take priority if enabled
  # The list of possible values is in car_charging_planned_response
  # Auto matches Zappi and Wallbox, or change it for your own
  car_charging_planned:
    - 're:(sensor.wallbox_portal_status_description|sensor.myenergi_zappi_[0-9a-z]+_plug_status)'
    - 'connected'

  car_charging_planned_response:
    - 'yes'
    - 'on'
    - 'true'
    - 'connected'
    - 'ev connected'
    - 'charging'
    - 'paused'
    - 'waiting for car demand'
    - 'waiting for ev'
    - 'scheduled'
    - 'enabled'
    - 'latched'
    - 'locked'
    - 'plugged in'

  # To make planned car charging more accurate, either using car_charging_planned or Octopus Intelligent
  # specify your battery size in kwh, charge limit % and current car battery soc % sensors/values
  # If you have intelligent the battery size and limit will be extracted from Intelligent directly
  # Set the car SOC% if you have it to give an accurate forecast of the cars battery levels
  # One entry per car if you have multiple cars
  car_charging_battery_size:
    - 75
  car_charging_limit:
    - 're:number.tsunami_charge_limit'
  car_charging_soc:
    - 're:sensor.tsunami_battery'

  # Octopus saving session points to the saving session Sensor in the Octopus plugin, when enabled saving sessions will be at the assumed
  # Rate is read automatically from the add-in and converted to pence using the conversion rate below (default is 8)
  octopus_saving_session: 're:(binary_sensor.octopus_energy([0-9a-z_]+|)_saving_session(s|))'
  octopus_saving_session_octopoints_per_penny: 8

  # If you have Octopus intelligent, enable the intelligent slot information to add to pricing
  # Will automatically disable if not found, or comment out to disable fully
  # When enabled it overrides the 'car_charging_planned' feature and predict the car charging based on the intelligent plan (unless octopus intelligent charging is False)
  # This matches either the intelligent slot from the Octopus Plugin or from the Intelligent plugin
  #octopus_intelligent_slot: 're:(binary_sensor.octopus_intelligent_slot|re:binary_sensor.octopus_energy_intelligent_dispatching)'
  octopus_intelligent_slot: 're:binary_sensor.octopus_energy_intelligent_dispatching'
  octopus_ready_time: 're:time.octopus_energy_intelligent_ready_time'
  octopus_charge_limit: 're:number.octopus_energy_intelligent_charge_limit'

  # Energy rates
  # Please set one of these three, if multiple are set then Octopus is used first, second rates_import/rates_export and latest basic metric

  # Set import and export entity to point to the Octopus Energy plugin
  # automatically matches your meter number assuming you have only one
  # Will be ignored if you don't have the sensor
  # Or manually set it to the correct sensor names e.g:
  # sensor.octopus_energy_electricity_xxxxxxxxxx_xxxxxxxxxxxxx_current_rate
  # sensor.octopus_energy_electricity_xxxxxxxxxx_xxxxxxxxxxxxx_export_current_rate
  metric_octopus_import: 're:(sensor.(octopus_energy_|)electricity_[0-9a-z]+_[0-9a-z]+_current_rate)'
  metric_octopus_export: 're:(sensor.(octopus_energy_|)electricity_[0-9a-z]+_[0-9a-z]+_export_current_rate)'

  # Standing charge can be set to a sensor (e.g. Octopus) or manually entered in pounds here (e.g. 0.50 is 50p)
  metric_standing_charge: 're:(sensor.(octopus_energy_|)electricity_[0-9a-z]+_[0-9a-z]+_current_standing_charge)'

  # Or set your actual rates across time for import and export
  # If start/end is missing it's assumed to be a fixed rate
  # Gaps are filled with 0
  rates_import:
    -  start: "23:30:00"
       end: "05:30:00"
       rate: 7.5
    -  start: "05:30:00"
       end: "23:30:00"
       rate: 30.0

  rates_export:
    -  rate: 15.0

  # Can be used instead of the plugin to get import rates directly online
  # Overrides metric_octopus_import and rates_import
  # rates_import_octopus_url : "https://api.octopus.energy/v1/products/FLUX-IMPORT-23-02-14/electricity-tariffs/E-1R-FLUX-IMPORT-23-02-14-A/standard-unit-rates"
  # rates_import_octopus_url : "https://api.octopus.energy/v1/products/AGILE-FLEX-BB-23-02-08/electricity-tariffs/E-1R-AGILE-FLEX-BB-23-02-08-A/standard-unit-rates"

  # Overrides metric_octopus_export and rates_export
  # rates_export_octopus_url: "https://api.octopus.energy/v1/products/FLUX-EXPORT-BB-23-02-14/electricity-tariffs/E-1R-FLUX-EXPORT-BB-23-02-14-A/standard-unit-rates"
  # rates_export_octopus_url: "https://api.octopus.energy/v1/products/AGILE-OUTGOING-BB-23-02-28/electricity-tariffs/E-1R-AGILE-OUTGOING-BB-23-02-28-A/standard-unit-rates/"
  # rates_export_octopus_url: "https://api.octopus.energy/v1/products/OUTGOING-FIX-12M-BB-23-02-09/electricity-tariffs/E-1R-OUTGOING-FIX-12M-BB-23-02-09-A/standard-unit-rates/"

  # Import rates can be overridden with rate_import_override
  # Export rates can be overridden with rate_export_override
  # Use the same format as above, but a date can be included if it just applies for a set day (e.g. Octopus power ups)
  # This will override even the Octopus plugin rates if enabled
  #
  #rates_import_override:
  # -  date: '2023-09-10'
  #    start: '14:00:00'
  #    end: '14:30:00'
  #    rate: 5

  # For pv estimate, leave blank for central estimate, or add 10 for 10% curve (worst case) or 90 or 90% curve (best case)
  # If you use 10 then disable pv_metric10_weight below
  # pv_estimate: 10

  # Days previous is the number of days back to find historical load data
  # Recommended is 7 to capture day of the week but 1 can also be used
  # if you have more history you could use 7 and 14 (in a list) but the standard data in HA only lasts 10 days
  days_previous:
    - 2
    - 3
    - 4
    - 5
    - 6
    - 7
    - 8

  # Days previous weight can be used to control the weighting of the previous load points, the values are multiplied by their
  # weights and then divided through by the total weight. E.g. if you used 1 and 0.5 then the first value would have 2/3rd of the weight and the second 1/3rd
  days_previous_weight:
    - 1
    - 0.8
    - 0.7
    - 0.6
    - 0.5
    - 0.4
    - 0.3

  # Number of hours forward to forecast, best left as-is unless you have specific reason
  forecast_hours: 48

  # The number of hours ahead to count in charge planning (for cost estimates)
  # It's best to set this on your charge window repeat cycle (24) but you may want to set it higher for more variable
  # tariffs like Agile
  forecast_plan_hours: 24

  # Specify the devices that notifies are sent to, the default is 'notify' which goes to all
  #notify_devices:
  #  - mobile_app_treforsiphone12_2

  # Set the frequency in minutes that this plugin is run
  # recommend something that divides by 60 (5, 10 or 15) or you won't trigger at the start of energy price slots
  run_every: 5

  # Battery scaling makes the battery smaller (e.g. 0.9) or bigger than its reported
  # If you have an 80% DoD battery that falsely reports it's kwh then set it to 0.8 to report the real figures
  battery_scaling: 1.0

  # Can be used to scale import and export data, used for workarounds
  import_export_scaling: 1.0

  # Export triggers:
  # For each trigger give a name, the minutes of export needed and the energy required in that time
  # Multiple triggers can be set at once so in total you could use too much energy if all run
  # Creates an entity called 'binary_sensor.predbat_export_trigger_<name>' which will be turned On when the condition is valid
  # connect this to your automation to start whatever you want to trigger
  export_triggers:
     - name: 'large'
       minutes: 60
       energy: 1.0
     - name: 'small'
       minutes: 15
       energy: 0.25

  # If you have a sensor that gives the energy consumed by your solar diverter then add it here
  # this will make the predictions more accurate. It should be an incrementing sensor, it can reset at midnight or not
  # It's assumed to be in Kwh but scaling can be applied if need be
  #iboost_energy_today: 'sensor.xxxxx'
  #iboost_energy_scaling: 1.0
Noodleyman commented 1 month ago

Adding log as a 2nd post due to content length

Log file

024-07-24 08:57:22.209557 INFO AppDaemon: New client Admin Client connected
2024-07-24 08:55:58.962328 INFO pred_bat: Saved current settings to /config/predbat_config.json
2024-07-24 08:55:58.915741 INFO pred_bat: Info: record_status Hold charging target 62%-59%
2024-07-24 08:55:58.868587 INFO pred_bat: Completed run status Hold charging
2024-07-24 08:55:58.706236 INFO pred_bat: Will not recompute the plan, it is 5.0 minutes old and max age is 10 minutes
2024-07-24 08:55:58.627117 INFO pred_bat: Inverter 0 Wrote 4.0 to reserve, successfully now 4
2024-07-24 08:55:50.053928 INFO pred_bat: Warn: Failed to decode response <Response [500]> from http://supervisor/core/api/services/number/set_value
2024-07-24 08:55:46.993299 INFO pred_bat: Inverter 0 Current Reserve is 60.0 % and new target is 4.0 %
2024-07-24 08:55:46.978091 INFO pred_bat: Adjust reserve to default as SOC 62 % is above target 59 % or charging active
2024-07-24 08:55:46.962574 INFO pred_bat: Adjust idle time computed idle is 08:55:00-23:59:00
2024-07-24 08:55:46.954241 INFO pred_bat: Adjust idle time, charge 00:00:00-00:00:00 discharge 00:00:00-00:00:00
2024-07-24 08:55:46.946046 INFO pred_bat: Inverter 0 Adjust force discharge to False, change times from 00:00:00 - 00:00:00 to 00:00:00 - 00:00:00
2024-07-24 08:55:46.930696 INFO pred_bat: Setting ECO mode as we are not yet within the discharge window - next time is 07-25 18:35:00 - 07-25 19:00:00
2024-07-24 08:55:46.916459 INFO pred_bat: Next discharge window will be: 2024-07-25 18:35:00+01:00 - 2024-07-25 19:01:00+01:00 at reserve 74
2024-07-24 08:55:46.899931 INFO pred_bat: Adjust idle time computed idle is 08:55:00-23:59:00
2024-07-24 08:55:46.892478 INFO pred_bat: Adjust idle time, charge 00:00:00-00:00:00 discharge 00:00:00-00:00:00
2024-07-24 08:55:45.772843 INFO pred_bat: Inverter 0 Call service select/select_option with data {'entity_id': 'select.solaredge_i1_storage_command_mode', 'option': 'Charge from Solar Power and Grid'}
2024-07-24 08:55:45.769209 INFO pred_bat: Inverter 0 Call service template charge_start_service = {'service': 'select.select_option', 'entity_id': 'select.solaredge_i1_storage_command_mode', 'option': 'Charge from Solar Power and Grid'}
2024-07-24 08:55:45.765773 INFO pred_bat: Charge window will be: 2024-07-24 08:30:00+01:00 - 2024-07-24 09:00:00+01:00 - current soc 62 target 59
2024-07-24 08:55:45.724977 INFO pred_bat: Low import rate windows [0: 07-24 08:30:00 - 07-24 09:00:00 @ 22.1, 1: 07-24 09:00:00 - 07-24 09:30:00 @ 22.1, 2: 07-24 09:30:00 - 07-24 10:00:00 @ 22.1, 3: 07-24 10:00:00 - 07-24 10:30:00 @ 22.1, 4: 07-24 10:30:00 - 07-24 11:00:00 @ 22.1, 5: 07-24 11:00:00 - 07-24 11:30:00 @ 22.1, 6: 07-24 11:30:00 - 07-24 12:00:00 @ 22.1, 7: 07-24 12:00:00 - 07-24 12:30:00 @ 22.1, 8: 07-24 12:30:00 - 07-24 13:00:00 @ 22.1, 9: 07-24 13:00:00 - 07-24 13:30:00 @ 22.1, 10: 07-24 13:30:00 - 07-24 14:00:00 @ 22.1, 11: 07-24 14:00:00 - 07-24 14:30:00 @ 22.1, 12: 07-24 14:30:00 - 07-24 15:00:00 @ 22.1, 13: 07-24 15:00:00 - 07-24 15:30:00 @ 22.1, 14: 07-24 15:30:00 - 07-24 16:00:00 @ 22.1, 15: 07-24 19:00:00 - 07-24 19:30:00 @ 22.1, 16: 07-24 19:30:00 - 07-24 20:00:00 @ 22.1, 17: 07-24 20:00:00 - 07-24 20:30:00 @ 22.1, 18: 07-24 20:30:00 - 07-24 21:00:00 @ 22.1, 19: 07-24 21:00:00 - 07-24 21:30:00 @ 22.1, 20: 07-24 21:30:00 - 07-24 22:00:00 @ 22.1, 21: 07-24 22:00:00 - 07-24 22:30:00 @ 22.1, 22: 07-24 22:30:00 - 07-24 23:00:00 @ 22.1, 23: 07-24 23:00:00 - 07-24 23:30:00 @ 22.1, 24: 07-24 23:30:00 - 07-25 00:00:00 @ 22.1, 25: 07-25 00:00:00 - 07-25 00:30:00 @ 22.1, 26: 07-25 00:30:00 - 07-25 01:00:00 @ 22.1, 27: 07-25 01:00:00 - 07-25 01:30:00 @ 22.1, 28: 07-25 01:30:00 - 07-25 02:00:00 @ 22.1, 29: 07-25 02:00:00 - 07-25 02:30:00 @ 13.26, 30: 07-25 02:30:00 - 07-25 03:00:00 @ 13.26, 31: 07-25 03:00:00 - 07-25 03:30:00 @ 13.26, 32: 07-25 03:30:00 - 07-25 04:00:00 @ 13.26, 33: 07-25 04:00:00 - 07-25 04:30:00 @ 13.26, 34: 07-25 04:30:00 - 07-25 05:00:00 @ 13.26, 35: 07-25 05:00:00 - 07-25 05:30:00 @ 22.1, 36: 07-25 05:30:00 - 07-25 06:00:00 @ 22.1, 37: 07-25 06:00:00 - 07-25 06:30:00 @ 22.1, 38: 07-25 06:30:00 - 07-25 07:00:00 @ 22.1, 39: 07-25 07:00:00 - 07-25 07:30:00 @ 22.1, 40: 07-25 07:30:00 - 07-25 08:00:00 @ 22.1, 41: 07-25 08:00:00 - 07-25 08:30:00 @ 22.1, 42: 07-25 08:30:00 - 07-25 09:00:00 @ 22.1, 43: 07-25 09:00:00 - 07-25 09:30:00 @ 22.1, 44: 07-25 09:30:00 - 07-25 10:00:00 @ 22.1, 45: 07-25 10:00:00 - 07-25 10:30:00 @ 22.1, 46: 07-25 10:30:00 - 07-25 11:00:00 @ 22.1, 47: 07-25 11:00:00 - 07-25 11:30:00 @ 22.1, 48: 07-25 11:30:00 - 07-25 12:00:00 @ 22.1, 49: 07-25 12:00:00 - 07-25 12:30:00 @ 22.1, 50: 07-25 12:30:00 - 07-25 13:00:00 @ 22.1, 51: 07-25 13:00:00 - 07-25 13:30:00 @ 22.1, 52: 07-25 13:30:00 - 07-25 14:00:00 @ 22.1, 53: 07-25 14:00:00 - 07-25 14:30:00 @ 22.1, 54: 07-25 14:30:00 - 07-25 15:00:00 @ 22.1, 55: 07-25 15:00:00 - 07-25 15:30:00 @ 22.1, 56: 07-25 15:30:00 - 07-25 16:00:00 @ 22.1, 57: 07-25 19:00:00 - 07-25 19:30:00 @ 22.1, 58: 07-25 19:30:00 - 07-25 20:00:00 @ 22.1, 59: 07-25 20:00:00 - 07-25 20:30:00 @ 22.1, 60: 07-25 20:30:00 - 07-25 21:00:00 @ 22.1, 61: 07-25 21:00:00 - 07-25 21:30:00 @ 22.1, 62: 07-25 21:30:00 - 07-25 22:00:00 @ 22.1, 63: 07-25 22:00:00 - 07-25 22:30:00 @ 22.1, 64: 07-25 22:30:00 - 07-25 23:00:00 @ 22.1, 65: 07-25 23:00:00 - 07-25 23:30:00 @ 22.1, 66: 07-25 23:30:00 - 07-26 00:00:00 @ 22.1, 67: 07-26 00:00:00 - 07-26 00:30:00 @ 22.1, 68: 07-26 00:30:00 - 07-26 01:00:00 @ 22.1, 69: 07-26 01:00:00 - 07-26 01:30:00 @ 22.1, 70: 07-26 01:30:00 - 07-26 02:00:00 @ 22.1, 71: 07-26 02:00:00 - 07-26 02:30:00 @ 13.26, 72: 07-26 02:30:00 - 07-26 03:00:00 @ 13.26, 73: 07-26 03:00:00 - 07-26 03:30:00 @ 13.26, 74: 07-26 03:30:00 - 07-26 04:00:00 @ 13.26, 75: 07-26 04:00:00 - 07-26 04:30:00 @ 13.26, 76: 07-26 04:30:00 - 07-26 05:00:00 @ 13.26, 77: 07-26 05:00:00 - 07-26 05:30:00 @ 22.1, 78: 07-26 05:30:00 - 07-26 06:00:00 @ 22.1, 79: 07-26 06:00:00 - 07-26 06:30:00 @ 22.1, 80: 07-26 06:30:00 - 07-26 07:00:00 @ 22.1, 81: 07-26 07:00:00 - 07-26 07:30:00 @ 22.1, 82: 07-26 07:30:00 - 07-26 08:00:00 @ 22.1, 83: 07-26 08:00:00 - 07-26 08:30:00 @ 22.1, 84: 07-26 08:30:00 - 07-26 09:00:00 @ 22.1]
2024-07-24 08:55:45.362057 INFO pred_bat: Import threshold used for optimisation was 14.4p
2024-07-24 08:55:45.311401 INFO pred_bat: High export rate windows [0: 07-24 08:30:00 - 07-24 09:00:00 @ 14.84, 1: 07-24 09:00:00 - 07-24 09:30:00 @ 14.84, 2: 07-24 09:30:00 - 07-24 10:00:00 @ 14.84, 3: 07-24 10:00:00 - 07-24 10:30:00 @ 14.84, 4: 07-24 10:30:00 - 07-24 11:00:00 @ 14.84, 5: 07-24 11:00:00 - 07-24 11:30:00 @ 14.84, 6: 07-24 11:30:00 - 07-24 12:00:00 @ 14.84, 7: 07-24 12:00:00 - 07-24 12:30:00 @ 14.84, 8: 07-24 12:30:00 - 07-24 13:00:00 @ 14.84, 9: 07-24 13:00:00 - 07-24 13:30:00 @ 14.84, 10: 07-24 13:30:00 - 07-24 14:00:00 @ 14.84, 11: 07-24 14:00:00 - 07-24 14:30:00 @ 14.84, 12: 07-24 14:30:00 - 07-24 15:00:00 @ 14.84, 13: 07-24 15:00:00 - 07-24 15:30:00 @ 14.84, 14: 07-24 15:30:00 - 07-24 16:00:00 @ 14.84, 15: 07-24 16:00:00 - 07-24 16:30:00 @ 22.39, 16: 07-24 16:30:00 - 07-24 17:00:00 @ 22.39, 17: 07-24 17:00:00 - 07-24 17:30:00 @ 22.39, 18: 07-24 17:30:00 - 07-24 18:00:00 @ 22.39, 19: 07-24 18:00:00 - 07-24 18:30:00 @ 22.39, 20: 07-24 18:30:00 - 07-24 19:00:00 @ 22.39, 21: 07-24 19:00:00 - 07-24 19:30:00 @ 14.84, 22: 07-24 19:30:00 - 07-24 20:00:00 @ 14.84, 23: 07-24 20:00:00 - 07-24 20:30:00 @ 14.84, 24: 07-24 20:30:00 - 07-24 21:00:00 @ 14.84, 25: 07-24 21:00:00 - 07-24 21:30:00 @ 14.84, 26: 07-24 21:30:00 - 07-24 22:00:00 @ 14.84, 27: 07-24 22:00:00 - 07-24 22:30:00 @ 14.84, 28: 07-24 22:30:00 - 07-24 23:00:00 @ 14.84, 29: 07-24 23:00:00 - 07-24 23:30:00 @ 14.84, 30: 07-24 23:30:00 - 07-25 00:00:00 @ 14.84, 31: 07-25 00:00:00 - 07-25 00:30:00 @ 14.84, 32: 07-25 00:30:00 - 07-25 01:00:00 @ 14.84, 33: 07-25 01:00:00 - 07-25 01:30:00 @ 14.84, 34: 07-25 01:30:00 - 07-25 02:00:00 @ 14.84, 35: 07-25 05:00:00 - 07-25 05:30:00 @ 14.84, 36: 07-25 05:30:00 - 07-25 06:00:00 @ 14.84, 37: 07-25 06:00:00 - 07-25 06:30:00 @ 14.84, 38: 07-25 06:30:00 - 07-25 07:00:00 @ 14.84, 39: 07-25 07:00:00 - 07-25 07:30:00 @ 14.84, 40: 07-25 07:30:00 - 07-25 08:00:00 @ 14.84, 41: 07-25 08:00:00 - 07-25 08:30:00 @ 14.84, 42: 07-25 08:30:00 - 07-25 09:00:00 @ 14.84, 43: 07-25 09:00:00 - 07-25 09:30:00 @ 14.84, 44: 07-25 09:30:00 - 07-25 10:00:00 @ 14.84, 45: 07-25 10:00:00 - 07-25 10:30:00 @ 14.84, 46: 07-25 10:30:00 - 07-25 11:00:00 @ 14.84, 47: 07-25 11:00:00 - 07-25 11:30:00 @ 14.84, 48: 07-25 11:30:00 - 07-25 12:00:00 @ 14.84, 49: 07-25 12:00:00 - 07-25 12:30:00 @ 14.84, 50: 07-25 12:30:00 - 07-25 13:00:00 @ 14.84, 51: 07-25 13:00:00 - 07-25 13:30:00 @ 14.84, 52: 07-25 13:30:00 - 07-25 14:00:00 @ 14.84, 53: 07-25 14:00:00 - 07-25 14:30:00 @ 14.84, 54: 07-25 14:30:00 - 07-25 15:00:00 @ 14.84, 55: 07-25 15:00:00 - 07-25 15:30:00 @ 14.84, 56: 07-25 15:30:00 - 07-25 16:00:00 @ 14.84, 57: 07-25 16:00:00 - 07-25 16:30:00 @ 22.39, 58: 07-25 16:30:00 - 07-25 17:00:00 @ 22.39, 59: 07-25 17:00:00 - 07-25 17:30:00 @ 22.39, 60: 07-25 17:30:00 - 07-25 18:00:00 @ 22.39, 61: 07-25 18:00:00 - 07-25 18:30:00 @ 22.39, 62: 07-25 18:30:00 - 07-25 19:00:00 @ 22.39, 63: 07-25 19:00:00 - 07-25 19:30:00 @ 14.84, 64: 07-25 19:30:00 - 07-25 20:00:00 @ 14.84, 65: 07-25 20:00:00 - 07-25 20:30:00 @ 14.84, 66: 07-25 20:30:00 - 07-25 21:00:00 @ 14.84, 67: 07-25 21:00:00 - 07-25 21:30:00 @ 14.84, 68: 07-25 21:30:00 - 07-25 22:00:00 @ 14.84, 69: 07-25 22:00:00 - 07-25 22:30:00 @ 14.84, 70: 07-25 22:30:00 - 07-25 23:00:00 @ 14.84, 71: 07-25 23:00:00 - 07-25 23:30:00 @ 14.84, 72: 07-25 23:30:00 - 07-26 00:00:00 @ 14.84, 73: 07-26 00:00:00 - 07-26 00:30:00 @ 14.84, 74: 07-26 00:30:00 - 07-26 01:00:00 @ 14.84, 75: 07-26 01:00:00 - 07-26 01:30:00 @ 14.84, 76: 07-26 01:30:00 - 07-26 02:00:00 @ 14.84, 77: 07-26 05:00:00 - 07-26 05:30:00 @ 14.84, 78: 07-26 05:30:00 - 07-26 06:00:00 @ 14.84, 79: 07-26 06:00:00 - 07-26 06:30:00 @ 14.84, 80: 07-26 06:30:00 - 07-26 07:00:00 @ 14.84, 81: 07-26 07:00:00 - 07-26 07:30:00 @ 14.84, 82: 07-26 07:30:00 - 07-26 08:00:00 @ 14.84, 83: 07-26 08:00:00 - 07-26 08:30:00 @ 14.84, 84: 07-26 08:30:00 - 07-26 09:00:00 @ 14.84]
2024-07-24 08:55:44.958126 INFO pred_bat: Export threshold used for optimisation was 24.0p
2024-07-24 08:55:44.465073 INFO pred_bat: Best charging limit socs [5.7, 9.7, 9.7, 9.7, 9.7] export [74] gives import battery 26.59 house 1.76 export 27.21 metric 376.18 metric10 1150.48
2024-07-24 08:55:44.417148 INFO pred_bat: Evaluate trigger {'name': 'small', 'minutes': 15, 'energy': 0.25} results off total_energy 0
2024-07-24 08:55:44.366219 INFO pred_bat: Evaluate trigger {'name': 'large', 'minutes': 60, 'energy': 1.0} results off total_energy 0
2024-07-24 08:55:43.246233 INFO pred_bat: STATE: [ Chrg, , , , , , , , , , , , , Chrg, Chrg, , , , , , , , , , , , , , , , , , , , , Chrg, Chrg, Chrg, Chrg, Chrg, Chrg, , , , , , , , , , , , , , , , , , , , , , , , , , , , Dis, , , , , , , , , , , , , , , Chrg, Chrg, Chrg, Chrg, Chrg, Chrg, , , , , , , ]
2024-07-24 08:55:43.235606 INFO pred_bat: METRIC: [ 291.07, 291.07, 291.07, 291.07, 291.07, 291.07, 289.4, 269.86, 248.1, 229.62, 214.74, 200.24, 188.48, 179.94, 174.12, 171.66, 171.66, 171.66, 171.66, 171.66, 171.66, 171.66, 171.66, 171.66, 171.66, 171.66, 171.66, 171.66, 171.66, 171.66, 171.66, 171.66, 245.76, 255.62, 265.74, 275.67, 316.32, 357.54, 398.89, 433.44, 442.42, 449.13, 449.13, 449.13, 449.13, 449.13, 449.13, 449.13, 449.13, 449.13, 449.13, 449.13, 449.13, 449.13, 443.5, 422.73, 400.01, 377.61, 355.88, 333.69, 312.22, 291.61, 272.06, 251.63, 224.22, 201.96, 184.46, 172.37, 165.95, 131.63, 131.63, 131.63, 131.63, 131.63, 131.63, 131.63, 131.63, 131.63, 131.63, 131.63, 196.75, 196.75, 196.75, 196.75, 237.68, 278.92, 320.51, 353.04, 361.45, 368.31, 368.31, 368.31, 368.31, 368.31, 368.31, 368.31]
2024-07-24 08:55:43.226877 INFO pred_bat: EXPORT: [ 0.41, 0.41, 0.41, 0.41, 0.41, 0.41, 0.52, 1.83, 3.3, 4.55, 5.55, 6.53, 7.32, 7.89, 8.29, 8.47, 8.47, 8.47, 8.47, 8.47, 8.47, 8.47, 8.47, 8.47, 8.47, 8.47, 8.47, 8.47, 8.47, 8.47, 8.47, 8.47, 8.47, 8.47, 8.47, 8.47, 8.47, 8.47, 8.47, 8.47, 8.47, 8.47, 8.47, 8.47, 8.47, 8.47, 8.47, 8.47, 8.47, 8.47, 8.47, 8.47, 8.47, 8.47, 8.85, 10.25, 11.78, 13.29, 14.75, 16.25, 17.69, 19.08, 20.4, 21.78, 23.0, 24.0, 24.78, 25.32, 25.6, 27.14, 27.14, 27.14, 27.14, 27.14, 27.14, 27.14, 27.14, 27.14, 27.14, 27.14, 27.14, 27.14, 27.14, 27.14, 27.14, 27.14, 27.14, 27.14, 27.14, 27.14, 27.14, 27.14, 27.14, 27.14, 27.14, 27.14]
2024-07-24 08:55:43.219113 INFO pred_bat: IMPORT: [ 15.75, 15.75, 15.75, 15.75, 15.75, 15.75, 15.75, 15.75, 15.75, 15.75, 15.75, 15.75, 15.75, 15.75, 15.75, 15.76, 15.76, 15.76, 15.76, 15.76, 15.76, 15.76, 15.76, 15.76, 15.76, 15.76, 15.76, 15.76, 15.76, 15.76, 15.76, 15.76, 16.17, 16.62, 17.07, 17.52, 20.59, 23.7, 26.82, 29.42, 30.1, 30.61, 30.61, 30.61, 30.61, 30.61, 30.61, 30.61, 30.61, 30.61, 30.61, 30.61, 30.61, 30.61, 30.61, 30.61, 30.61, 30.61, 30.61, 30.61, 30.61, 30.61, 30.61, 30.61, 30.61, 30.61, 30.61, 30.61, 30.61, 30.61, 30.61, 30.61, 30.61, 30.61, 30.61, 30.61, 30.61, 30.61, 30.61, 30.61, 30.61, 30.61, 30.61, 30.61, 33.69, 36.8, 39.94, 42.39, 43.03, 43.54, 43.54, 43.54, 43.54, 43.54, 43.54, 43.54]
2024-07-24 08:55:43.211261 INFO pred_bat: PV: [ 2.73, 2.88, 3.75, 5.11, 6.53, 8.43, 10.93, 13.69, 16.32, 18.71, 20.85, 22.77, 24.47, 25.97, 27.25, 28.33, 29.22, 29.92, 30.47, 30.92, 31.28, 31.55, 31.77, 31.92, 32.02, 32.05, 32.05, 32.05, 32.05, 32.05, 32.05, 32.05, 32.05, 32.05, 32.05, 32.05, 32.05, 32.05, 32.05, 32.05, 32.05, 32.05, 32.05, 32.06, 32.12, 32.24, 32.49, 32.88, 33.32, 33.75, 34.51, 35.64, 37.19, 39.16, 41.44, 43.95, 46.63, 49.44, 52.22, 54.86, 57.32, 59.61, 61.85, 64.13, 66.3, 68.22, 69.9, 71.41, 72.72, 73.84, 74.64, 75.09, 75.29, 75.35, 75.35, 75.35, 75.35, 75.35, 75.35, 75.35, 75.35, 75.35, 75.35, 75.35, 75.35, 75.35, 75.35, 75.35, 75.35, 75.35, 75.35, 75.36, 75.49, 75.92, 76.74, 77.76]
2024-07-24 08:55:43.203354 INFO pred_bat: LOAD: [ 11.6, 11.7, 12.38, 13.18, 14.1, 14.97, 15.92, 16.82, 17.7, 18.74, 19.79, 20.65, 21.49, 22.36, 23.19, 24.06, 24.97, 25.78, 26.66, 27.66, 28.61, 29.66, 30.61, 31.42, 32.18, 32.88, 33.52, 34.1, 34.65, 35.18, 35.66, 36.16, 36.61, 37.06, 37.52, 37.97, 38.43, 38.93, 39.45, 39.94, 40.44, 40.95, 41.48, 42.04, 42.52, 43.07, 43.7, 44.32, 44.86, 45.42, 46.1, 46.87, 47.7, 48.5, 49.37, 50.19, 50.96, 51.87, 52.8, 53.58, 54.34, 55.11, 55.94, 56.72, 57.58, 58.43, 59.26, 60.17, 61.14, 62.22, 63.23, 64.01, 64.75, 65.42, 66.05, 66.63, 67.15, 67.66, 68.12, 68.61, 69.08, 69.55, 70.02, 70.5, 70.98, 71.49, 72.02, 72.54, 73.04, 73.56, 74.16, 74.74, 75.27, 75.94, 76.59, 77.22]
2024-07-24 08:55:43.195587 INFO pred_bat: 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<bf+, g<bf+, g<bf+, g<bf+, g<bf+, g<be-, g~be-, g<be-, g<be-, g<be-, g~be-, g>be-, g~be-, g<be-, g~be+, g~be+, g~be+, g>be+, g~be+, g>be+, g>be~, g>be~, g>be~, g>be~, g>be~, g>be~, g>be~, g>be~, g>be~, g>be~, g>be~, g>be~, g>be~, g~be-, g>be-, g>be-, g>be-, g~be-, g~be-, g~be-, g~be-, g~be-, g~be-, g~be-, g~be-, g~be-, g~be-, g~be-, g<bf+, g<bf+, g<bf+, g<bf+, g<bf+, g<be-, g~be-, g<be-, g~be-, g~be-, g~be+, g~be+, g~be+]
2024-07-24 08:55:43.188593 INFO pred_bat: SOC: [ 6.02, 6.05, 6.21, 6.72, 7.17, 8.11, 9.45, 9.7, 9.7, 9.7, 9.7, 9.7, 9.7, 9.7, 9.7, 9.7, 9.63, 9.48, 9.1, 8.48, 7.82, 6.98, 6.16, 5.45, 4.73, 4.0, 3.31, 2.68, 2.08, 1.5, 0.98, 0.44, 0.39, 0.39, 0.39, 0.39, 2.79, 5.19, 7.59, 9.53, 9.7, 9.7, 9.12, 8.52, 8.06, 7.6, 7.17, 6.9, 6.78, 6.61, 6.66, 6.97, 7.63, 8.72, 9.66, 9.7, 9.7, 9.7, 9.7, 9.7, 9.7, 9.7, 9.7, 9.7, 9.7, 9.7, 9.7, 9.7, 9.7, 8.01, 7.75, 7.37, 6.77, 6.1, 5.43, 4.8, 4.23, 3.68, 3.18, 2.65, 2.13, 1.63, 1.12, 0.59, 2.99, 5.39, 7.79, 9.58, 9.7, 9.7, 9.05, 8.44, 7.99, 7.72, 7.84, 8.2]
2024-07-24 08:55:43.180882 INFO pred_bat: [ 08:55, 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, 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]
2024-07-24 08:55:43.172654 INFO pred_bat: predict best end_record 07-26 08:35:00 final soc 9.07 kWh metric 376.18 p metric_keep 20.96 min_soc 0.39 @ 07-25 00:00:00 kWh load 78.0 pv 79.13
2024-07-24 08:55:42.737346 INFO pred_bat: METRIC: [ 291.07, 292.13, 292.13, 292.13, 292.13, 292.13, 292.13, 292.13, 292.13, 292.13, 292.13, 292.13, 302.44, 320.53, 395.48, 471.81, 471.81, 471.81, 471.81, 471.81, 477.1, 510.57, 532.22, 550.48, 567.9, 584.6, 599.81, 614.01, 627.39, 640.17, 651.83, 663.88, 739.93, 750.85, 762.02, 772.86, 814.18, 856.11, 898.14, 933.33, 942.97, 950.37, 950.37, 950.37, 950.37, 950.37, 950.37, 950.37, 950.37, 950.37, 950.37, 950.37, 950.37, 950.37, 950.37, 950.37, 950.28, 937.6, 921.14, 905.9, 893.72, 884.46, 877.78, 870.93, 865.3, 864.12, 864.03, 864.03, 864.03, 847.76, 847.76, 847.76, 847.76, 847.76, 847.76, 847.76, 847.76, 847.76, 847.76, 850.89, 927.52, 938.93, 950.36, 962.11, 1003.68, 1045.62, 1087.93, 1123.36, 1133.12, 1140.71, 1140.71, 1140.71, 1140.71, 1140.71, 1140.71, 1140.71]
2024-07-24 08:55:42.728731 INFO pred_bat: EXPORT: [ 0.41, 0.41, 0.41, 0.41, 0.41, 0.41, 0.41, 0.41, 0.41, 0.41, 0.41, 0.41, 0.41, 0.41, 0.41, 0.41, 0.41, 0.41, 0.41, 0.41, 0.41, 0.41, 0.41, 0.41, 0.41, 0.41, 0.41, 0.41, 0.41, 0.41, 0.41, 0.41, 0.41, 0.41, 0.41, 0.41, 0.41, 0.41, 0.41, 0.41, 0.41, 0.41, 0.41, 0.41, 0.41, 0.41, 0.41, 0.41, 0.41, 0.41, 0.41, 0.41, 0.41, 0.41, 0.41, 0.41, 0.41, 1.27, 2.37, 3.4, 4.22, 4.85, 5.3, 5.76, 6.01, 6.06, 6.07, 6.07, 6.07, 6.79, 6.79, 6.79, 6.79, 6.79, 6.79, 6.79, 6.79, 6.79, 6.79, 6.79, 6.79, 6.79, 6.79, 6.79, 6.79, 6.79, 6.79, 6.79, 6.79, 6.79, 6.79, 6.79, 6.79, 6.79, 6.79, 6.79]
2024-07-24 08:55:42.720828 INFO pred_bat: IMPORT: [ 15.75, 15.8, 15.8, 15.8, 15.8, 15.8, 15.8, 15.8, 15.8, 15.8, 15.8, 15.8, 16.27, 17.09, 20.48, 23.93, 23.93, 23.93, 23.93, 23.93, 24.1, 25.19, 26.17, 26.99, 27.78, 28.54, 29.22, 29.87, 30.47, 31.05, 31.58, 32.12, 32.62, 33.11, 33.62, 34.11, 37.22, 40.39, 43.56, 46.21, 46.94, 47.5, 47.5, 47.5, 47.5, 47.5, 47.5, 47.5, 47.5, 47.5, 47.5, 47.5, 47.5, 47.5, 47.5, 47.5, 47.5, 47.5, 47.5, 47.5, 47.5, 47.5, 47.5, 47.5, 47.5, 47.5, 47.5, 47.5, 47.5, 47.5, 47.5, 47.5, 47.5, 47.5, 47.5, 47.5, 47.5, 47.5, 47.5, 47.64, 48.16, 48.67, 49.19, 49.72, 52.86, 56.02, 59.21, 61.89, 62.62, 63.19, 63.19, 63.19, 63.19, 63.19, 63.19, 63.19]
2024-07-24 08:55:42.710463 INFO pred_bat: PV: [ 2.73, 2.86, 3.38, 3.98, 4.44, 4.99, 5.77, 6.54, 7.17, 7.59, 7.85, 8.05, 8.21, 8.35, 8.47, 8.58, 8.67, 8.76, 8.85, 8.93, 9.0, 9.08, 9.15, 9.2, 9.25, 9.26, 9.26, 9.26, 9.26, 9.26, 9.26, 9.26, 9.26, 9.26, 9.26, 9.26, 9.26, 9.26, 9.26, 9.26, 9.26, 9.26, 9.26, 9.27, 9.32, 9.43, 9.63, 9.94, 10.27, 10.58, 11.12, 11.97, 13.2, 14.76, 16.6, 18.61, 20.77, 23.07, 25.28, 27.24, 28.97, 30.5, 31.92, 33.3, 34.55, 35.56, 36.4, 37.11, 37.7, 38.2, 38.54, 38.74, 38.84, 38.88, 38.88, 38.88, 38.88, 38.88, 38.88, 38.88, 38.88, 38.88, 38.88, 38.88, 38.88, 38.88, 38.88, 38.88, 38.88, 38.88, 38.88, 38.89, 38.95, 39.08, 39.32, 39.67]
2024-07-24 08:55:42.702715 INFO pred_bat: LOAD: [ 11.6, 11.77, 12.53, 13.43, 14.42, 15.4, 16.45, 17.42, 18.4, 19.55, 20.68, 21.63, 22.56, 23.51, 24.43, 25.39, 26.38, 27.27, 28.26, 29.36, 30.39, 31.54, 32.59, 33.47, 34.3, 35.07, 35.76, 36.4, 37.01, 37.59, 38.11, 38.66, 39.15, 39.65, 40.15, 40.64, 41.16, 41.71, 42.28, 42.82, 43.37, 43.93, 44.53, 45.13, 45.65, 46.26, 46.97, 47.64, 48.23, 48.86, 49.62, 50.49, 51.38, 52.26, 53.23, 54.11, 54.97, 55.98, 56.99, 57.85, 58.68, 59.53, 60.45, 61.31, 62.25, 63.18, 64.12, 65.11, 66.19, 67.37, 68.46, 69.32, 70.12, 70.87, 71.55, 72.18, 72.75, 73.31, 73.82, 74.35, 74.87, 75.39, 75.91, 76.44, 76.97, 77.53, 78.11, 78.68, 79.23, 79.81, 80.48, 81.09, 81.69, 82.42, 83.15, 83.83]
2024-07-24 08:55:42.694994 INFO pred_bat: 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<bf+, g<bf+, g~be-, g~be-, g>be-, g>be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<bf+, g<bf+, g<bf+, g<bf+, g<bf+, g<be-, g~be-, g<be-, g>be-, g<be-, g<be-, g>be-, g~be-, g~be-, g~be+, g~be+, g~be+, g~be+, g~be+, g~be+, g~be+, g~be+, g>be+, g>be~, g>be~, g>be~, g>be~, g>be~, g>be~, g>be~, g>be+, g~be-, g~be-, g>be-, g<be-, g~be-, g~be-, g>be-, g~be-, g~be-, g~be-, g~be-, g~be-, g~be-, g<be-, g<be-, g<be-, g<be-, g<bf+, g<bf+, g<bf+, g<bf+, g<bf+, g<be-, g~be-, g<be-, g<be-, g>be-, g~be-, g~be-, g~be-]
2024-07-24 08:55:42.688106 INFO pred_bat: SOC: [ 6.02, 6.02, 5.74, 5.38, 4.79, 4.3, 3.98, 3.72, 3.31, 2.5, 1.55, 0.73, 0.39, 0.39, 2.79, 5.19, 4.21, 3.34, 2.35, 1.25, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 2.79, 5.19, 7.59, 9.53, 9.7, 9.7, 9.05, 8.4, 7.89, 7.35, 6.78, 6.37, 6.08, 5.72, 5.46, 5.4, 5.68, 6.3, 7.1, 8.14, 9.36, 9.7, 9.7, 9.7, 9.7, 9.7, 9.7, 9.7, 9.7, 9.7, 9.54, 9.21, 8.65, 7.1, 6.27, 5.54, 4.78, 4.02, 3.28, 2.59, 1.97, 1.37, 0.81, 0.39, 0.39, 0.39, 0.39, 0.39, 2.79, 5.19, 7.59, 9.53, 9.7, 9.7, 8.97, 8.31, 7.72, 7.07, 6.53, 6.14]
2024-07-24 08:55:42.680261 INFO pred_bat: [ 08:55, 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, 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]
2024-07-24 08:55:42.671984 INFO pred_bat: predict best10 end_record 07-26 08:35:00 final soc 6.17 kWh metric 1150.48 p metric_keep 163.28 min_soc 0.39 @ 07-24 14:10:00 kWh load 84.64 pv 40.14
2024-07-24 08:55:42.232552 INFO pred_bat: METRIC: [ 291.07, 291.07, 291.07, 291.07, 291.07, 291.07, 291.07, 291.07, 291.07, 291.07, 291.07, 291.07, 302.45, 320.53, 338.16, 357.13, 385.02, 409.98, 438.11, 469.52, 499.28, 532.75, 554.4, 572.65, 590.08, 606.77, 621.99, 636.18, 649.57, 662.35, 674.0, 686.05, 762.11, 773.03, 784.19, 795.03, 801.83, 809.22, 816.73, 823.95, 831.2, 838.6, 851.85, 865.03, 875.38, 886.54, 898.09, 906.35, 912.24, 919.72, 924.94, 926.13, 926.13, 926.13, 926.13, 926.13, 926.13, 926.13, 926.13, 926.13, 926.13, 926.13, 926.13, 921.06, 915.43, 914.25, 914.16, 914.16, 914.16, 914.16, 914.16, 914.16, 914.16, 914.16, 914.16, 914.16, 914.16, 914.16, 914.16, 914.16, 979.28, 989.23, 1000.66, 1012.4, 1019.45, 1026.86, 1034.64, 1042.1, 1049.47, 1057.06, 1071.9, 1085.43, 1097.4, 1110.73, 1121.72, 1129.48]
2024-07-24 08:55:42.222137 INFO pred_bat: EXPORT: [ 0.41, 0.41, 0.41, 0.41, 0.41, 0.41, 0.41, 0.41, 0.41, 0.41, 0.41, 0.41, 0.41, 0.41, 0.41, 0.41, 0.41, 0.41, 0.41, 0.41, 0.41, 0.41, 0.41, 0.41, 0.41, 0.41, 0.41, 0.41, 0.41, 0.41, 0.41, 0.41, 0.41, 0.41, 0.41, 0.41, 0.41, 0.41, 0.41, 0.41, 0.41, 0.41, 0.41, 0.41, 0.41, 0.41, 0.41, 0.41, 0.41, 0.41, 0.41, 0.41, 0.41, 0.41, 0.41, 0.41, 0.41, 0.41, 0.41, 0.41, 0.41, 0.41, 0.41, 0.75, 1.0, 1.05, 1.06, 1.06, 1.06, 1.06, 1.06, 1.06, 1.06, 1.06, 1.06, 1.06, 1.06, 1.06, 1.06, 1.06, 1.06, 1.06, 1.06, 1.06, 1.06, 1.06, 1.06, 1.06, 1.06, 1.06, 1.06, 1.06, 1.06, 1.06, 1.06, 1.06]
2024-07-24 08:55:42.208939 INFO pred_bat: IMPORT: [ 15.75, 15.75, 15.75, 15.75, 15.75, 15.75, 15.75, 15.75, 15.75, 15.75, 15.75, 15.75, 16.27, 17.09, 17.88, 18.74, 19.64, 20.45, 21.36, 22.38, 23.34, 24.42, 25.4, 26.23, 27.01, 27.77, 28.46, 29.1, 29.71, 30.28, 30.81, 31.36, 31.85, 32.35, 32.85, 33.34, 33.85, 34.41, 34.98, 35.52, 36.07, 36.63, 37.23, 37.82, 38.29, 38.8, 39.32, 39.69, 39.96, 40.3, 40.53, 40.59, 40.59, 40.59, 40.59, 40.59, 40.59, 40.59, 40.59, 40.59, 40.59, 40.59, 40.59, 40.59, 40.59, 40.59, 40.59, 40.59, 40.59, 40.59, 40.59, 40.59, 40.59, 40.59, 40.59, 40.59, 40.59, 40.59, 40.59, 40.59, 40.59, 41.04, 41.56, 42.09, 42.62, 43.18, 43.77, 44.33, 44.88, 45.46, 46.13, 46.74, 47.28, 47.88, 48.38, 48.73]
2024-07-24 08:55:42.201039 INFO pred_bat: PV: [ 2.73, 2.86, 3.38, 3.98, 4.44, 4.99, 5.77, 6.54, 7.17, 7.59, 7.85, 8.05, 8.21, 8.35, 8.47, 8.58, 8.67, 8.76, 8.85, 8.93, 9.0, 9.08, 9.15, 9.2, 9.25, 9.26, 9.26, 9.26, 9.26, 9.26, 9.26, 9.26, 9.26, 9.26, 9.26, 9.26, 9.26, 9.26, 9.26, 9.26, 9.26, 9.26, 9.26, 9.27, 9.32, 9.43, 9.63, 9.94, 10.27, 10.58, 11.12, 11.97, 13.2, 14.76, 16.6, 18.61, 20.77, 23.07, 25.28, 27.24, 28.97, 30.5, 31.92, 33.3, 34.55, 35.56, 36.4, 37.11, 37.7, 38.2, 38.54, 38.74, 38.84, 38.88, 38.88, 38.88, 38.88, 38.88, 38.88, 38.88, 38.88, 38.88, 38.88, 38.88, 38.88, 38.88, 38.88, 38.88, 38.88, 38.88, 38.88, 38.89, 38.95, 39.08, 39.32, 39.67]
2024-07-24 08:55:42.193497 INFO pred_bat: LOAD: [ 11.6, 11.77, 12.53, 13.43, 14.42, 15.4, 16.45, 17.42, 18.4, 19.55, 20.68, 21.63, 22.56, 23.51, 24.43, 25.39, 26.38, 27.27, 28.26, 29.36, 30.39, 31.54, 32.59, 33.47, 34.3, 35.07, 35.76, 36.4, 37.01, 37.59, 38.11, 38.66, 39.15, 39.65, 40.15, 40.64, 41.16, 41.71, 42.28, 42.82, 43.37, 43.93, 44.53, 45.13, 45.65, 46.26, 46.97, 47.64, 48.23, 48.86, 49.62, 50.49, 51.38, 52.26, 53.23, 54.11, 54.97, 55.98, 56.99, 57.85, 58.68, 59.53, 60.45, 61.31, 62.25, 63.18, 64.12, 65.11, 66.19, 67.37, 68.46, 69.32, 70.12, 70.87, 71.55, 72.18, 72.75, 73.31, 73.82, 74.35, 74.87, 75.39, 75.91, 76.44, 76.97, 77.53, 78.11, 78.68, 79.23, 79.81, 80.48, 81.09, 81.69, 82.42, 83.15, 83.83]
2024-07-24 08:55:42.185681 INFO pred_bat: 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-07-24 08:55:42.178804 INFO pred_bat: SOC: [ 6.02, 5.97, 5.69, 5.33, 4.74, 4.24, 3.92, 3.67, 3.26, 2.45, 1.5, 0.68, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.67, 1.29, 2.09, 3.13, 4.35, 5.55, 6.66, 7.68, 8.51, 9.13, 9.58, 9.7, 9.7, 9.7, 9.54, 9.21, 8.65, 7.89, 7.06, 6.33, 5.57, 4.81, 4.07, 3.38, 2.76, 2.16, 1.6, 1.03, 0.46, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39]
2024-07-24 08:55:42.171030 INFO pred_bat: [ 08:55, 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, 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]
2024-07-24 08:55:42.162798 INFO pred_bat: predict base10 end_record 07-26 08:35:00 final soc 0.39 kWh metric 1137.34 p metric_keep 367.29 min_soc 0.39 @ 07-24 14:10:00 kWh load 84.64 pv 40.14
2024-07-24 08:55:41.986755 INFO pred_bat: Battery has 15.08 hours left - now at 6.02
2024-07-24 08:55:40.943062 INFO pred_bat: METRIC: [ 291.07, 291.07, 291.07, 291.07, 291.07, 291.07, 289.4, 269.86, 248.1, 229.62, 214.74, 200.24, 188.48, 179.94, 174.12, 171.59, 171.59, 171.59, 171.59, 171.59, 171.59, 171.59, 171.59, 171.59, 171.59, 171.59, 171.59, 171.59, 171.59, 171.59, 171.59, 171.59, 245.71, 255.57, 265.69, 275.62, 281.74, 288.43, 295.25, 301.83, 308.43, 315.14, 327.02, 339.19, 348.43, 357.96, 366.57, 372.2, 374.56, 378.0, 378.08, 378.08, 378.08, 378.08, 378.08, 378.08, 377.99, 377.81, 364.04, 341.85, 320.39, 299.77, 280.22, 259.79, 232.39, 210.12, 192.62, 180.53, 174.11, 174.11, 174.11, 174.11, 174.11, 174.11, 174.11, 174.11, 174.11, 174.11, 174.11, 174.11, 239.24, 239.24, 239.24, 239.24, 239.24, 239.24, 239.24, 243.22, 249.93, 256.79, 270.0, 282.5, 291.64, 297.19, 297.19, 297.19]
2024-07-24 08:55:40.934620 INFO pred_bat: EXPORT: [ 0.41, 0.41, 0.41, 0.41, 0.41, 0.41, 0.52, 1.83, 3.3, 4.55, 5.55, 6.53, 7.32, 7.89, 8.29, 8.46, 8.46, 8.46, 8.46, 8.46, 8.46, 8.46, 8.46, 8.46, 8.46, 8.46, 8.46, 8.46, 8.46, 8.46, 8.46, 8.46, 8.46, 8.46, 8.46, 8.46, 8.46, 8.46, 8.46, 8.46, 8.46, 8.46, 8.46, 8.46, 8.46, 8.46, 8.46, 8.46, 8.46, 8.46, 8.46, 8.46, 8.46, 8.46, 8.46, 8.46, 8.46, 8.48, 9.4, 10.9, 12.35, 13.73, 15.05, 16.43, 17.65, 18.65, 19.43, 19.97, 20.26, 20.26, 20.26, 20.26, 20.26, 20.26, 20.26, 20.26, 20.26, 20.26, 20.26, 20.26, 20.26, 20.26, 20.26, 20.26, 20.26, 20.26, 20.26, 20.26, 20.26, 20.26, 20.26, 20.26, 20.26, 20.26, 20.26, 20.26]
2024-07-24 08:55:40.926941 INFO pred_bat: IMPORT: [ 15.75, 15.75, 15.75, 15.75, 15.75, 15.75, 15.75, 15.75, 15.75, 15.75, 15.75, 15.75, 15.75, 15.75, 15.75, 15.75, 15.75, 15.75, 15.75, 15.75, 15.75, 15.75, 15.75, 15.75, 15.75, 15.75, 15.75, 15.75, 15.75, 15.75, 15.75, 15.75, 16.16, 16.61, 17.07, 17.51, 17.98, 18.48, 19.0, 19.49, 19.99, 20.5, 21.03, 21.58, 22.0, 22.43, 22.82, 23.08, 23.18, 23.34, 23.34, 23.34, 23.34, 23.34, 23.34, 23.34, 23.34, 23.34, 23.34, 23.34, 23.34, 23.34, 23.34, 23.34, 23.34, 23.34, 23.34, 23.34, 23.34, 23.34, 23.34, 23.34, 23.34, 23.34, 23.34, 23.34, 23.34, 23.34, 23.34, 23.34, 23.34, 23.34, 23.34, 23.34, 23.34, 23.34, 23.34, 23.64, 24.15, 24.67, 25.27, 25.83, 26.24, 26.5, 26.5, 26.5]
2024-07-24 08:55:40.918848 INFO pred_bat: PV: [ 2.73, 2.88, 3.75, 5.11, 6.53, 8.43, 10.93, 13.69, 16.32, 18.71, 20.85, 22.77, 24.47, 25.97, 27.25, 28.33, 29.22, 29.92, 30.47, 30.92, 31.28, 31.55, 31.77, 31.92, 32.02, 32.05, 32.05, 32.05, 32.05, 32.05, 32.05, 32.05, 32.05, 32.05, 32.05, 32.05, 32.05, 32.05, 32.05, 32.05, 32.05, 32.05, 32.05, 32.06, 32.12, 32.24, 32.49, 32.88, 33.32, 33.75, 34.51, 35.64, 37.19, 39.16, 41.44, 43.95, 46.63, 49.44, 52.22, 54.86, 57.32, 59.61, 61.85, 64.13, 66.3, 68.22, 69.9, 71.41, 72.72, 73.84, 74.64, 75.09, 75.29, 75.35, 75.35, 75.35, 75.35, 75.35, 75.35, 75.35, 75.35, 75.35, 75.35, 75.35, 75.35, 75.35, 75.35, 75.35, 75.35, 75.35, 75.35, 75.36, 75.49, 75.92, 76.74, 77.76]
2024-07-24 08:55:40.911151 INFO pred_bat: LOAD: [ 11.6, 11.7, 12.38, 13.18, 14.1, 14.97, 15.92, 16.82, 17.7, 18.74, 19.79, 20.65, 21.49, 22.36, 23.19, 24.06, 24.97, 25.78, 26.66, 27.66, 28.61, 29.66, 30.61, 31.42, 32.18, 32.88, 33.52, 34.1, 34.65, 35.18, 35.66, 36.16, 36.61, 37.06, 37.52, 37.97, 38.43, 38.93, 39.45, 39.94, 40.44, 40.95, 41.48, 42.04, 42.52, 43.07, 43.7, 44.32, 44.86, 45.42, 46.1, 46.87, 47.7, 48.5, 49.37, 50.19, 50.96, 51.87, 52.8, 53.58, 54.34, 55.11, 55.94, 56.72, 57.58, 58.43, 59.26, 60.17, 61.14, 62.22, 63.23, 64.01, 64.75, 65.42, 66.05, 66.63, 67.15, 67.66, 68.12, 68.61, 69.08, 69.55, 70.02, 70.5, 70.98, 71.49, 72.02, 72.54, 73.04, 73.56, 74.16, 74.74, 75.27, 75.94, 76.59, 77.22]
2024-07-24 08:55:40.902954 INFO pred_bat: 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-07-24 08:55:40.895170 INFO pred_bat: SOC: [ 6.02, 6.05, 6.21, 6.72, 7.17, 8.11, 9.45, 9.7, 9.7, 9.7, 9.7, 9.7, 9.7, 9.7, 9.7, 9.7, 9.63, 9.48, 9.1, 8.48, 7.82, 6.98, 6.16, 5.45, 4.73, 4.0, 3.31, 2.68, 2.08, 1.5, 0.98, 0.44, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.44, 0.75, 1.41, 2.5, 3.82, 5.41, 7.21, 8.99, 9.7, 9.7, 9.7, 9.7, 9.7, 9.7, 9.7, 9.7, 9.7, 9.7, 9.7, 9.69, 9.43, 9.04, 8.45, 7.78, 7.1, 6.47, 5.91, 5.36, 4.85, 4.33, 3.81, 3.31, 2.8, 2.27, 1.75, 1.2, 0.62, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.52, 0.87]
2024-07-24 08:55:40.884838 INFO pred_bat: [ 08:55, 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, 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]
2024-07-24 08:55:40.864638 INFO pred_bat: predict base end_record 07-26 08:35:00 final soc 1.41 kWh metric 297.19 p metric_keep 101.59 min_soc 0.39 @ 07-25 00:00:00 kWh load 78.0 pv 79.13
2024-07-24 08:55:40.691864 INFO pred_bat: Creating pool of 4 processes to match your CPU count
2024-07-24 08:55:40.534363 INFO pred_bat: Load divergence over 8.0 hours mean 1645.77 W, min 1104.0 W, max 2282.59 W, std dev 211.72 W, divergence 6.43%
2024-07-24 08:55:40.510231 INFO pred_bat: PV Forecast 77.3 kWh and 10% Forecast 37.7 kWh pv cloud factor 0.3
2024-07-24 08:55:40.505090 INFO pred_bat: Best discharge window [ 25-07 18:35:00 - 25-07 19:00:00 @ 22.39p 74% ]
2024-07-24 08:55:40.502359 INFO pred_bat: Best charge window [ 24-07 08:30:00 - 24-07 09:00:00 @ 22.1p 59%, 24-07 15:00:00 - 24-07 16:00:00 @ 22.1p 100%, 25-07 02:00:00 - 25-07 05:00:00 @ 13.26p 100%, 26-07 02:00:00 - 26-07 05:00:00 @ 13.26p 100%, 26-07 08:30:00 - 26-07 09:00:00 @ 22.1p 100% ]
2024-07-24 08:55:40.498993 INFO pred_bat: Plan was last updated on 2024-07-24 08:50:00+01:00 and is now 5.0 minutes old
2024-07-24 08:55:40.496531 INFO pred_bat: Base discharge window [ 24-07 00:00:00 - 24-07 00:00:00 @ 0p 100.0%, 25-07 00:00:00 - 25-07 00:00:00 @ 0p 100.0% ]
2024-07-24 08:55:40.492844 INFO pred_bat: Base charge window [ ]
2024-07-24 08:55:40.313106 INFO pred_bat: Found 1 inverters totals: min reserve 0.39 current reserve 5.82 soc_max 9.7 soc 6.02 charge rate 5.0 kW discharge rate 0.001 kW battery_rate_min 0.0 w ac limit 450000.0 export limit 3.68 kW loss charge 4 % loss discharge 4 % inverter loss 4 %
2024-07-24 08:55:40.310467 INFO pred_bat: Note: Inverter does not support charge freeze - disabled
2024-07-24 08:55:40.308272 INFO pred_bat: Note: Inverter does not support discharge freeze - disabled
2024-07-24 08:55:40.306103 INFO pred_bat: Inverter 0 discharge windows currently [{'start': 0, 'end': 0, 'average': 0}, {'start': 1440, 'end': 1440, 'average': 0}]
2024-07-24 08:55:40.302315 INFO pred_bat: Inverter 0 scheduled discharge enable is False
2024-07-24 08:55:40.298678 INFO pred_bat: Inverter 0 sensor.predbat_SE_0_scheduled_discharge_enable set to False
2024-07-24 08:55:40.295197 INFO pred_bat: Inverter 0 Wrote scheduled_discharge_enable to False successfully and got off
2024-07-24 08:55:40.291161 INFO pred_bat: Inverter 0 Charge settings: timed charged is disabled, power 5.0 kW
2024-07-24 08:55:40.287792 INFO pred_bat: Inverter 0 charge windows currently []
2024-07-24 08:55:40.284432 INFO pred_bat: Inverter 0 scheduled charge enable is False
2024-07-24 08:55:40.280125 INFO pred_bat: Inverter 0 scheduled_charge_enable set to False
2024-07-24 08:55:40.277123 INFO pred_bat: Inverter 0 Wrote scheduled_charge_enable to False successfully and got off
2024-07-24 08:55:40.273500 INFO pred_bat: Inverter 0 SOC: 6.02 kW 62 % Current charge rate 5000.0 w Current discharge rate 1.0 w Current power 4998.0 w Current voltage 52.0
2024-07-24 08:55:40.270317 INFO pred_bat: Inverter 0 scheduled_charge_enable off scheduled_discharge_enable off
2024-07-24 08:55:40.267034 INFO pred_bat: Inverter 0 with soc_max 9.7 kWh nominal_capacity 9.7 kWh battery rate raw 5000.0 w charge rate 5.0 kW discharge rate 5.0 kW battery_rate_min 0.0 w ac limit 450000.0 kW export limit 3.68 kW reserve 4.0 % current_reserve 60.0 %
2024-07-24 08:55:40.261960 INFO pred_bat: Reserve min: 4.0% Battery_min:4.0%
2024-07-24 08:55:40.256950 INFO pred_bat: Warn: Inverter 0: Using inverter type SE - not all features are available
2024-07-24 08:55:40.253690 INFO pred_bat: Inverter 0: Type SE SolarEdge
2024-07-24 08:55:40.046410 INFO pred_bat: Today's actual load so far 7.83 kWh with 0.0 kWh Car/iBoost excluded and 3.75 kWh import ignored.
2024-07-24 08:55:40.041069 INFO pred_bat: Today's predicted so far 5.67 kWh with 0.0 kWh car/iBoost excluded and 3.19 kWh import ignored and 0 forecast extra.
2024-07-24 08:55:40.035684 INFO pred_bat: Today's load divergence 107.02 % in-day adjustment 106.66 % damping 0.95x
2024-07-24 08:55:39.942473 INFO pred_bat: Historical days now [2, 3, 4, 6, 7, 8] weight [1, 0.8, 0.7, 0.5, 0.4, 0.3]
2024-07-24 08:55:39.935755 INFO pred_bat: Model filter enabled - Discarding day 5 as it is the lowest of the 7 datapoints
2024-07-24 08:55:39.930647 INFO pred_bat: Historical data totals for days [2, 3, 4, 5, 6, 7, 8] are [36.55, 26.77, 23.62, 23.17, 41.23, 32.61, 36.24] - min 23.17
2024-07-24 08:55:39.781441 INFO pred_bat: PV Forecast for day d3 is 75.17 (18.12 10% 82.7 90%) kWh
2024-07-24 08:55:39.727442 INFO pred_bat: PV Forecast for day d2 is 67.63 (24.05 10% 87.1 90%) kWh
2024-07-24 08:55:39.674547 INFO pred_bat: PV Forecast for day tomorrow is 43.3 (29.62 10% 58.1 90%) kWh
2024-07-24 08:55:39.627636 INFO pred_bat: PV Forecast for today is 32.55 (7.99 10% 62.06 90%) kWh and left today is 29.2 (6.45 10% 55.88 90%) kWh
2024-07-24 08:55:39.607833 INFO pred_bat: PV Data for pv_forecast_d4 total 75.17 kWh
2024-07-24 08:55:39.602756 INFO pred_bat: PV Data for pv_forecast_d3 total 67.63 kWh
2024-07-24 08:55:39.597705 INFO pred_bat: PV Data for pv_forecast_tomorrow total 43.3 kWh
2024-07-24 08:55:39.592609 INFO pred_bat: PV Data for pv_forecast_today total 32.55 kWh
2024-07-24 08:55:39.587503 INFO pred_bat: Using solcast from inside HA
2024-07-24 08:55:39.581370 INFO pred_bat: Today's energy import 15.75 kWh export 0.41 kWh cost 291.07 p import 297.04 p export -5.97 p carbon 0.0 kg
2024-07-24 08:55:39.410954 INFO pred_bat: Low Import rate found rates in range 13.26 to 22.1
2024-07-24 08:55:39.400354 INFO pred_bat: High export rate found rates in range 14.84 to 22.39
2024-07-24 08:55:39.388703 INFO pred_bat: Rate thresholds (for charge/discharge) are import 30.44p (0.0) export 5.21p (0.0)
2024-07-24 08:55:39.383615 INFO pred_bat: Export rates min 4.71 max 22.39 average 14.51
2024-07-24 08:55:39.342634 INFO pred_bat: Import rates min 13.26 max 30.94 average 22.1
2024-07-24 08:55:39.334758 INFO pred_bat: Rate min forward looking: now 13.26 at end of forecast 13.26
2024-07-24 08:55:38.087290 INFO pred_bat: Standing charge is set to 65.121 p
2024-07-24 08:55:38.041302 INFO pred_bat: Fetching futurerate data from None
2024-07-24 08:55:38.038123 INFO pred_bat: Current data so far today: load 11.6 kWh import 15.75 kWh export 0.41 kWh pv 2.73 kWh
2024-07-24 08:55:38.034951 INFO pred_bat: Car charging hold False threshold 6.0
2024-07-24 08:55:13.621074 INFO pred_bat: Found 12960 load_today datapoints going back 8 days
2024-07-24 08:55:00.292458 INFO pred_bat: Predbat mode is set to Control charge & discharge
2024-07-24 08:55:00.288120 INFO pred_bat: Configuration: forecast_hours 48 num_cars 0 debug enable is False calculate_plan_every 10
2024-07-24 08:55:00.205921 INFO pred_bat: Autoupdate: Currently up to date
2024-07-24 08:55:00.202947 INFO pred_bat: Predbat /config/apps/predbat.py version v8.3.1 currently running, latest version is v8.3.1 latest beta v8.3.1
2024-07-24 08:55:00.200075 INFO pred_bat: Using cached GITHub data for https://api.github.com/repos/springfall2008/batpred/releases age 105.0 minutes
2024-07-24 08:55:00.147445 INFO pred_bat: Saved current settings to /config/predbat_config.json
2024-07-24 08:55:00.143547 INFO pred_bat: --------------- PredBat - update at 2024-07-24 08:55:00+01:00 with clock skew 0 minutes, minutes now 535
2024-07-24 08:51:39.688286 INFO pred_bat: Saved current settings to /config/predbat_config.json
2024-07-24 08:51:39.640264 INFO pred_bat: Info: record_status Hold charging target 59%-59%
2024-07-24 08:51:39.589847 INFO pred_bat: Completed run status Hold charging
2024-07-24 08:51:39.353040 INFO pred_bat: Inverter 0 Wrote 60 to reserve, successfully now 60
2024-07-24 08:51:30.265473 INFO pred_bat: Inverter 0 Current Reserve is 4.0 % and new target is 60 %
2024-07-24 08:51:30.258693 INFO pred_bat: Adjust reserve to target charge 59 % (set_reserve_enable is true)
2024-07-24 08:51:30.254227 INFO pred_bat: Adjust idle time computed idle is 08:50:00-23:59:00
2024-07-24 08:51:30.249584 INFO pred_bat: Adjust idle time, charge 00:00:00-00:00:00 discharge 00:00:00-00:00:00
2024-07-24 08:51:30.245433 INFO pred_bat: Inverter 0 Adjust force discharge to False, change times from 00:00:00 - 00:00:00 to 00:00:00 - 00:00:00
2024-07-24 08:51:30.241140 INFO pred_bat: Setting ECO mode as we are not yet within the discharge window - next time is 07-25 18:35:00 - 07-25 19:00:00
2024-07-24 08:51:30.237388 INFO pred_bat: Next discharge window will be: 2024-07-25 18:35:00+01:00 - 2024-07-25 19:01:00+01:00 at reserve 74
2024-07-24 08:51:30.232885 INFO pred_bat: Adjust idle time computed idle is 08:50:00-23:59:00
2024-07-24 08:51:30.227706 INFO pred_bat: Adjust idle time, charge 00:00:00-00:00:00 discharge 00:00:00-00:00:00
2024-07-24 08:51:30.051524 INFO pred_bat: Inverter 0 Call service select/select_option with data {'entity_id': 'select.solaredge_i1_storage_command_mode', 'option': 'Charge from Solar Power and Grid'}
2024-07-24 08:51:30.047728 INFO pred_bat: Inverter 0 Call service template charge_start_service = {'service': 'select.select_option', 'entity_id': 'select.solaredge_i1_storage_command_mode', 'option': 'Charge from Solar Power and Grid'}
2024-07-24 08:51:30.043883 INFO pred_bat: Inverter 0 Wrote 0 to discharge_rate, successfully now 0
2024-07-24 08:51:21.297408 INFO pred_bat: Warn: Failed to decode response <Response [500]> from http://supervisor/core/api/services/number/set_value
2024-07-24 08:51:18.239711 INFO pred_bat: Inverter 0 current discharge rate is 5000.0 and new target is 0
2024-07-24 08:51:18.235733 INFO pred_bat: Charge window will be: 2024-07-24 08:30:00+01:00 - 2024-07-24 09:00:00+01:00 - current soc 59 target 59
2024-07-24 08:51:18.232212 INFO pred_bat: Base discharge window [ 24-07 00:00:00 - 24-07 00:00:00 @ 0p 100.0%, 25-07 00:00:00 - 25-07 00:00:00 @ 0p 100.0% ]
2024-07-24 08:51:18.228579 INFO pred_bat: Base charge window [ ]
2024-07-24 08:51:18.048541 INFO pred_bat: Found 1 inverters totals: min reserve 0.39 current reserve 0.39 soc_max 9.7 soc 5.71 charge rate 5.0 kW discharge rate 5.0 kW battery_rate_min 0.0 w ac limit 450000.0 export limit 3.68 kW loss charge 4 % loss discharge 4 % inverter loss 4 %
2024-07-24 08:51:18.045446 INFO pred_bat: Note: Inverter does not support charge freeze - disabled
2024-07-24 08:51:18.041811 INFO pred_bat: Note: Inverter does not support discharge freeze - disabled
2024-07-24 08:51:18.039398 INFO pred_bat: Inverter 0 discharge windows currently [{'start': 0, 'end': 0, 'average': 0}, {'start': 1440, 'end': 1440, 'average': 0}]
2024-07-24 08:51:18.035433 INFO pred_bat: Inverter 0 scheduled discharge enable is False
2024-07-24 08:51:18.031450 INFO pred_bat: Inverter 0 sensor.predbat_SE_0_scheduled_discharge_enable set to False
2024-07-24 08:51:18.027736 INFO pred_bat: Inverter 0 Wrote scheduled_discharge_enable to False successfully and got off
2024-07-24 08:51:18.023562 INFO pred_bat: Inverter 0 Charge settings: timed charged is disabled, power 5.0 kW
2024-07-24 08:51:18.019914 INFO pred_bat: Inverter 0 charge windows currently []
2024-07-24 08:51:18.016527 INFO pred_bat: Inverter 0 scheduled charge enable is False
2024-07-24 08:51:18.013205 INFO pred_bat: Inverter 0 scheduled_charge_enable set to False
2024-07-24 08:51:18.009992 INFO pred_bat: Inverter 0 Wrote scheduled_charge_enable to False successfully and got off
2024-07-24 08:51:18.006220 INFO pred_bat: Inverter 0 SOC: 5.71 kW 59 % Current charge rate 5000.0 w Current discharge rate 5000.0 w Current power 1377.0 w Current voltage 52.0
2024-07-24 08:51:18.002870 INFO pred_bat: Inverter 0 scheduled_charge_enable off scheduled_discharge_enable off
2024-07-24 08:51:17.999917 INFO pred_bat: Inverter 0 with soc_max 9.7 kWh nominal_capacity 9.7 kWh battery rate raw 5000.0 w charge rate 5.0 kW discharge rate 5.0 kW battery_rate_min 0.0 w ac limit 450000.0 kW export limit 3.68 kW reserve 4.0 % current_reserve 4.0 %
2024-07-24 08:51:17.995549 INFO pred_bat: Reserve min: 4.0% Battery_min:4.0%
2024-07-24 08:51:17.991309 INFO pred_bat: Warn: Inverter 0: Using inverter type SE - not all features are available
2024-07-24 08:51:17.988279 INFO pred_bat: Inverter 0: Type SE SolarEdge
2024-07-24 08:51:17.460551 INFO pred_bat: Best charging limit socs [5.7, 9.7, 9.7, 9.7, 9.7] export [74] gives import battery 26.55 house 1.76 export 27.01 metric 367.52 metric10 1144.25
2024-07-24 08:51:17.395841 INFO pred_bat: Evaluate trigger {'name': 'small', 'minutes': 15, 'energy': 0.25} results off total_energy 0
2024-07-24 08:51:17.233482 INFO pred_bat: Evaluate trigger {'name': 'large', 'minutes': 60, 'energy': 1.0} results off total_energy 0
2024-07-24 08:51:16.130889 INFO pred_bat: STATE: [ Chrg, , , , , , , , , , , , , Chrg, Chrg, , , , , , , , , , , , , , , , , , , , , Chrg, Chrg, Chrg, Chrg, Chrg, Chrg, , , , , , , , , , , , , , , , , , , , , , , , , , , , Dis, , , , , , , , , , , , , , , Chrg, Chrg, Chrg, Chrg, Chrg, Chrg, , , , , , , ]
2024-07-24 08:51:16.120693 INFO pred_bat: METRIC: [ 287.42, 286.84, 286.84, 286.84, 286.84, 286.84, 286.84, 269.74, 247.92, 229.43, 214.54, 200.04, 188.28, 179.73, 173.91, 171.43, 171.43, 171.43, 171.43, 171.43, 171.43, 171.43, 171.43, 171.43, 171.43, 171.43, 171.43, 171.43, 171.43, 171.43, 171.43, 171.43, 245.44, 255.31, 265.43, 275.36, 316.0, 357.23, 398.58, 433.13, 442.11, 448.82, 448.82, 448.82, 448.82, 448.82, 448.82, 448.82, 448.82, 448.82, 448.82, 448.82, 448.82, 448.82, 443.21, 422.36, 399.59, 377.13, 355.33, 333.07, 311.56, 290.89, 271.34, 250.85, 223.45, 201.18, 183.69, 171.59, 165.18, 130.86, 130.86, 130.86, 130.86, 130.86, 130.86, 130.86, 130.86, 130.86, 130.86, 130.86, 195.98, 195.98, 195.98, 195.98, 236.91, 278.15, 319.74, 352.28, 360.67, 367.52, 367.52, 367.52, 367.52, 367.52, 367.52, 367.52]
2024-07-24 08:51:16.110331 INFO pred_bat: EXPORT: [ 0.4, 0.44, 0.44, 0.44, 0.44, 0.44, 0.44, 1.59, 3.06, 4.31, 5.31, 6.29, 7.08, 7.66, 8.05, 8.23, 8.23, 8.23, 8.23, 8.23, 8.23, 8.23, 8.23, 8.23, 8.23, 8.23, 8.23, 8.23, 8.23, 8.23, 8.23, 8.23, 8.23, 8.23, 8.23, 8.23, 8.23, 8.23, 8.23, 8.23, 8.23, 8.23, 8.23, 8.23, 8.23, 8.23, 8.23, 8.23, 8.23, 8.23, 8.23, 8.23, 8.23, 8.23, 8.61, 10.01, 11.55, 13.06, 14.53, 16.03, 17.48, 18.87, 20.19, 21.57, 22.8, 23.79, 24.57, 25.11, 25.4, 26.93, 26.93, 26.93, 26.93, 26.93, 26.93, 26.93, 26.93, 26.93, 26.93, 26.93, 26.93, 26.93, 26.93, 26.93, 26.93, 26.93, 26.93, 26.93, 26.93, 26.93, 26.93, 26.93, 26.93, 26.93, 26.93, 26.93]
2024-07-24 08:51:16.102151 INFO pred_bat: IMPORT: [ 15.59, 15.59, 15.59, 15.59, 15.59, 15.59, 15.59, 15.59, 15.59, 15.59, 15.59, 15.59, 15.59, 15.59, 15.59, 15.59, 15.59, 15.59, 15.59, 15.59, 15.59, 15.59, 15.59, 15.59, 15.59, 15.59, 15.59, 15.59, 15.59, 15.59, 15.59, 15.59, 16.0, 16.44, 16.9, 17.35, 20.42, 23.52, 26.64, 29.25, 29.93, 30.43, 30.43, 30.43, 30.43, 30.43, 30.43, 30.43, 30.43, 30.43, 30.43, 30.43, 30.43, 30.43, 30.43, 30.43, 30.43, 30.43, 30.43, 30.43, 30.43, 30.43, 30.43, 30.43, 30.43, 30.43, 30.43, 30.43, 30.43, 30.43, 30.43, 30.43, 30.43, 30.43, 30.43, 30.43, 30.43, 30.43, 30.43, 30.43, 30.43, 30.43, 30.43, 30.43, 33.52, 36.63, 39.77, 42.22, 42.85, 43.37, 43.37, 43.37, 43.37, 43.37, 43.37, 43.37]
2024-07-24 08:51:16.094440 INFO pred_bat: PV: [ 2.5, 2.76, 3.63, 4.99, 6.42, 8.31, 10.81, 13.58, 16.21, 18.59, 20.73, 22.65, 24.35, 25.85, 27.14, 28.22, 29.1, 29.8, 30.35, 30.81, 31.16, 31.43, 31.65, 31.81, 31.9, 31.93, 31.93, 31.93, 31.93, 31.93, 31.93, 31.93, 31.93, 31.93, 31.93, 31.93, 31.93, 31.93, 31.93, 31.93, 31.93, 31.93, 31.93, 31.94, 32.0, 32.13, 32.37, 32.76, 33.21, 33.64, 34.39, 35.52, 37.07, 39.04, 41.33, 43.83, 46.51, 49.32, 52.1, 54.74, 57.2, 59.49, 61.73, 64.02, 66.18, 68.1, 69.79, 71.29, 72.61, 73.72, 74.53, 74.98, 75.17, 75.23, 75.23, 75.23, 75.23, 75.23, 75.23, 75.23, 75.23, 75.23, 75.23, 75.23, 75.23, 75.23, 75.23, 75.23, 75.23, 75.23, 75.23, 75.25, 75.37, 75.8, 76.62, 77.64]
2024-07-24 08:51:16.086709 INFO pred_bat: LOAD: [ 11.48, 11.68, 12.36, 13.16, 14.08, 14.95, 15.9, 16.8, 17.68, 18.71, 19.77, 20.63, 21.47, 22.34, 23.17, 24.04, 24.95, 25.76, 26.64, 27.64, 28.59, 29.63, 30.59, 31.4, 32.15, 32.86, 33.49, 34.07, 34.63, 35.16, 35.64, 36.13, 36.59, 37.03, 37.49, 37.94, 38.4, 38.91, 39.42, 39.92, 40.42, 40.92, 41.46, 42.02, 42.49, 43.04, 43.67, 44.29, 44.83, 45.4, 46.08, 46.85, 47.68, 48.47, 49.35, 50.16, 50.93, 51.84, 52.78, 53.56, 54.32, 55.08, 55.91, 56.7, 57.56, 58.4, 59.24, 60.15, 61.12, 62.19, 63.21, 63.99, 64.72, 65.4, 66.02, 66.6, 67.13, 67.63, 68.1, 68.58, 69.06, 69.52, 69.99, 70.48, 70.96, 71.47, 72.0, 72.51, 73.02, 73.53, 74.13, 74.71, 75.24, 75.91, 76.56, 77.19]
2024-07-24 08:51:16.078960 INFO pred_bat: BAT: [ g>bf+, g~be+, g~be+, g~be-, g~be+, g~be+, g~be+, g>be+, g>be~, g>be~, g>be~, g>be~, g>be~, g>be~, g>be~, g>be-, g>be-, g>be-, g>be-, g<be-, g~be-, g~be-, g>be-, g<be-, g<be-, g~be-, g~be-, g~be-, g~be-, g~be-, g~be-, g<be-, g<be-, g<be-, g<be-, g<bf+, g<bf+, g<bf+, g<bf+, g<bf+, g<be-, g~be-, g>be-, g>be-, g<be-, g~be-, g~be-, g~be-, g~be-, g~be+, g~be+, g~be+, g<be+, g~be+, g>be+, g>be~, g>be~, g>be~, g>be~, g>be~, g>be~, g>be~, g>be~, g>be~, g>be~, g>be~, g>be~, g>be~, g~be-, g<be-, g>be-, g~be-, g~be-, g~be-, g~be-, g~be-, g~be-, g~be-, g~be-, g~be-, g~be-, g~be-, g~be-, g<bf+, g<bf+, g<bf+, g<bf+, g<bf+, g<be-, g~be-, g<be-, g<be-, g~be-, g~be+, g~be+, g~be+]
2024-07-24 08:51:16.071810 INFO pred_bat: SOC: [ 5.69, 5.7, 5.86, 6.37, 6.81, 7.76, 9.21, 9.7, 9.7, 9.7, 9.7, 9.7, 9.7, 9.7, 9.7, 9.7, 9.63, 9.48, 9.1, 8.48, 7.83, 6.98, 6.16, 5.45, 4.73, 4.0, 3.31, 2.68, 2.08, 1.51, 0.99, 0.45, 0.39, 0.39, 0.39, 0.39, 2.79, 5.19, 7.59, 9.53, 9.7, 9.7, 9.12, 8.52, 8.06, 7.6, 7.17, 6.9, 6.78, 6.61, 6.66, 6.97, 7.63, 8.72, 9.66, 9.7, 9.7, 9.7, 9.7, 9.7, 9.7, 9.7, 9.7, 9.7, 9.7, 9.7, 9.7, 9.7, 9.7, 8.01, 7.75, 7.37, 6.77, 6.11, 5.43, 4.8, 4.23, 3.68, 3.18, 2.65, 2.13, 1.63, 1.12, 0.59, 3.0, 5.39, 7.79, 9.58, 9.7, 9.7, 9.05, 8.44, 7.99, 7.72, 7.84, 8.2]
2024-07-24 08:51:16.064097 INFO pred_bat: [ 08:50, 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, 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]
2024-07-24 08:51:16.055740 INFO pred_bat: predict best end_record 07-26 08:30:00 final soc 8.67 kWh metric 367.52 p metric_keep 21.2 min_soc 0.39 @ 07-25 00:00:00 kWh load 77.87 pv 78.84
2024-07-24 08:51:15.648890 INFO pred_bat: METRIC: [ 287.42, 289.24, 289.24, 289.24, 289.24, 289.24, 289.24, 289.24, 289.24, 289.24, 289.24, 289.24, 306.05, 324.13, 399.08, 475.4, 475.4, 475.4, 475.4, 475.4, 480.67, 514.13, 535.78, 554.03, 571.45, 588.14, 603.35, 617.54, 630.92, 643.7, 655.35, 667.4, 743.45, 754.38, 765.54, 776.38, 817.7, 859.63, 901.66, 936.85, 946.49, 953.89, 953.89, 953.89, 953.89, 953.89, 953.89, 953.89, 953.89, 953.89, 953.89, 953.89, 953.89, 953.89, 953.89, 953.89, 953.83, 941.14, 924.68, 909.44, 897.26, 887.99, 881.32, 874.46, 868.84, 867.63, 867.53, 867.53, 867.53, 851.35, 851.35, 851.35, 851.35, 851.35, 851.35, 851.35, 851.35, 851.35, 851.35, 854.43, 931.06, 942.48, 953.9, 965.65, 1007.22, 1049.16, 1091.47, 1126.9, 1136.66, 1144.25, 1144.25, 1144.25, 1144.25, 1144.25, 1144.25, 1144.25]
2024-07-24 08:51:15.640382 INFO pred_bat: EXPORT: [ 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.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.4, 0.4, 0.4, 0.4, 0.4, 0.4, 0.4, 0.4, 0.41, 1.26, 2.37, 3.4, 4.22, 4.84, 5.29, 5.76, 6.01, 6.06, 6.06, 6.06, 6.06, 6.79, 6.79, 6.79, 6.79, 6.79, 6.79, 6.79, 6.79, 6.79, 6.79, 6.79, 6.79, 6.79, 6.79, 6.79, 6.79, 6.79, 6.79, 6.79, 6.79, 6.79, 6.79, 6.79, 6.79, 6.79, 6.79, 6.79]
2024-07-24 08:51:15.632325 INFO pred_bat: IMPORT: [ 15.59, 15.67, 15.67, 15.67, 15.67, 15.67, 15.67, 15.67, 15.67, 15.67, 15.67, 15.67, 16.43, 17.25, 20.64, 24.09, 24.09, 24.09, 24.09, 24.09, 24.26, 25.35, 26.33, 27.15, 27.94, 28.69, 29.38, 30.02, 30.63, 31.21, 31.74, 32.28, 32.78, 33.27, 33.78, 34.27, 37.38, 40.54, 43.71, 46.37, 47.1, 47.65, 47.65, 47.65, 47.65, 47.65, 47.65, 47.65, 47.65, 47.65, 47.65, 47.65, 47.65, 47.65, 47.65, 47.65, 47.65, 47.65, 47.65, 47.65, 47.65, 47.65, 47.65, 47.65, 47.65, 47.65, 47.65, 47.65, 47.65, 47.65, 47.65, 47.65, 47.65, 47.65, 47.65, 47.65, 47.65, 47.65, 47.65, 47.79, 48.31, 48.83, 49.35, 49.88, 53.01, 56.18, 59.37, 62.04, 62.78, 63.35, 63.35, 63.35, 63.35, 63.35, 63.35, 63.35]
2024-07-24 08:51:15.624551 INFO pred_bat: PV: [ 2.5, 2.71, 3.24, 3.83, 4.3, 4.84, 5.62, 6.39, 7.02, 7.44, 7.71, 7.9, 8.06, 8.2, 8.33, 8.43, 8.53, 8.61, 8.7, 8.78, 8.86, 8.93, 9.0, 9.06, 9.1, 9.11, 9.11, 9.11, 9.11, 9.11, 9.11, 9.11, 9.11, 9.11, 9.11, 9.11, 9.11, 9.11, 9.11, 9.11, 9.11, 9.11, 9.11, 9.12, 9.18, 9.29, 9.48, 9.79, 10.13, 10.43, 10.97, 11.83, 13.05, 14.62, 16.45, 18.46, 20.63, 22.92, 25.13, 27.09, 28.82, 30.35, 31.77, 33.15, 34.4, 35.42, 36.25, 36.97, 37.56, 38.05, 38.39, 38.59, 38.7, 38.74, 38.74, 38.74, 38.74, 38.74, 38.74, 38.74, 38.74, 38.74, 38.74, 38.74, 38.74, 38.74, 38.74, 38.74, 38.74, 38.74, 38.74, 38.74, 38.8, 38.94, 39.18, 39.52]
2024-07-24 08:51:15.616808 INFO pred_bat: LOAD: [ 11.48, 11.76, 12.52, 13.42, 14.41, 15.39, 16.44, 17.41, 18.39, 19.54, 20.67, 21.62, 22.55, 23.5, 24.42, 25.38, 26.37, 27.26, 28.25, 29.34, 30.38, 31.53, 32.58, 33.46, 34.28, 35.06, 35.74, 36.39, 36.99, 37.57, 38.1, 38.64, 39.14, 39.63, 40.14, 40.63, 41.14, 41.7, 42.26, 42.81, 43.35, 43.91, 44.51, 45.12, 45.64, 46.25, 46.96, 47.63, 48.22, 48.85, 49.6, 50.47, 51.37, 52.25, 53.22, 54.1, 54.96, 55.97, 56.98, 57.84, 58.67, 59.52, 60.43, 61.3, 62.24, 63.17, 64.1, 65.09, 66.18, 67.36, 68.45, 69.31, 70.11, 70.85, 71.53, 72.17, 72.74, 73.29, 73.8, 74.34, 74.86, 75.37, 75.89, 76.42, 76.95, 77.51, 78.1, 78.66, 79.22, 79.79, 80.46, 81.08, 81.68, 82.41, 83.14, 83.82]
2024-07-24 08:51:15.608991 INFO pred_bat: BAT: [ g<bf+, g~be-, g~be+, g>be-, g>be-, g~be+, g~be-, g>be-, g~be-, g<be-, g~be-, g<be-, g<be-, g<bf+, g<bf+, g~be-, g<be-, g>be-, g>be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<bf+, g<bf+, g<bf+, g<bf+, g<bf+, g<be-, g~be-, g<be-, g<be-, g~be-, g~be-, g>be-, g>be-, g>be-, g~be+, g~be+, g~be+, g<be+, g~be+, g~be+, g>be+, g>be+, g>be+, g>be~, g>be~, g>be~, g>be~, g>be~, g>be~, g>be~, g>be+, g~be-, g~be-, g>be-, g<be-, g<be-, g~be-, g>be-, g~be-, g~be-, g~be-, g~be-, g~be-, g~be-, g<be-, g<be-, g<be-, g<be-, g<bf+, g<bf+, g<bf+, g<bf+, g<bf+, g<be-, g~be-, g<be-, g~be-, g>be-, g>be-, g~be-, g>be-]
2024-07-24 08:51:15.601868 INFO pred_bat: SOC: [ 5.69, 5.7, 5.42, 5.06, 4.47, 3.98, 3.66, 3.4, 2.99, 2.18, 1.23, 0.41, 0.39, 0.39, 2.79, 5.19, 4.21, 3.34, 2.35, 1.25, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 2.79, 5.19, 7.59, 9.53, 9.7, 9.7, 9.05, 8.4, 7.89, 7.35, 6.78, 6.37, 6.08, 5.72, 5.46, 5.4, 5.68, 6.3, 7.1, 8.14, 9.36, 9.7, 9.7, 9.7, 9.7, 9.7, 9.7, 9.7, 9.7, 9.69, 9.54, 9.21, 8.64, 7.1, 6.27, 5.54, 4.78, 4.02, 3.28, 2.59, 1.97, 1.37, 0.82, 0.39, 0.39, 0.39, 0.39, 0.39, 2.79, 5.19, 7.59, 9.53, 9.7, 9.7, 8.97, 8.31, 7.72, 7.07, 6.53, 6.14]
2024-07-24 08:51:15.594081 INFO pred_bat: [ 08:50, 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, 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]
2024-07-24 08:51:15.585736 INFO pred_bat: predict best10 end_record 07-26 08:30:00 final soc 5.77 kWh metric 1144.25 p metric_keep 166.24 min_soc 0.39 @ 07-24 14:00:00 kWh load 84.56 pv 39.94
2024-07-24 08:51:15.198903 INFO pred_bat: METRIC: [ 287.42, 287.42, 287.42, 287.42, 287.42, 287.42, 287.42, 287.42, 287.42, 287.42, 287.42, 288.85, 306.03, 324.12, 341.74, 360.7, 388.59, 413.55, 441.68, 473.08, 502.83, 536.29, 557.94, 576.19, 593.61, 610.3, 625.51, 639.7, 653.08, 665.86, 677.51, 689.56, 765.61, 776.53, 787.7, 798.54, 805.33, 812.73, 820.24, 827.46, 834.71, 842.11, 855.36, 868.53, 878.89, 890.05, 901.6, 909.86, 915.75, 923.23, 928.46, 929.66, 929.66, 929.66, 929.66, 929.66, 929.66, 929.66, 929.66, 929.66, 929.66, 929.66, 929.66, 924.58, 918.95, 917.75, 917.65, 917.65, 917.65, 917.65, 917.65, 917.65, 917.65, 917.65, 917.65, 917.65, 917.65, 917.65, 917.65, 917.65, 982.77, 992.76, 1004.18, 1015.93, 1022.98, 1030.39, 1038.17, 1045.63, 1053.0, 1060.59, 1075.44, 1088.96, 1100.93, 1114.26, 1125.26, 1133.01]
2024-07-24 08:51:15.190345 INFO pred_bat: EXPORT: [ 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.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.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.74, 1.0, 1.05, 1.05, 1.05, 1.05, 1.05, 1.05, 1.05, 1.05, 1.05, 1.05, 1.05, 1.05, 1.05, 1.05, 1.05, 1.05, 1.05, 1.05, 1.05, 1.05, 1.05, 1.05, 1.05, 1.05, 1.05, 1.05, 1.05, 1.05, 1.05, 1.05, 1.05]
2024-07-24 08:51:15.182613 INFO pred_bat: IMPORT: [ 15.59, 15.59, 15.59, 15.59, 15.59, 15.59, 15.59, 15.59, 15.59, 15.59, 15.59, 15.65, 16.43, 17.25, 18.04, 18.9, 19.8, 20.61, 21.52, 22.54, 23.5, 24.58, 25.56, 26.38, 27.17, 27.93, 28.62, 29.26, 29.86, 30.44, 30.97, 31.51, 32.01, 32.5, 33.01, 33.5, 34.01, 34.57, 35.14, 35.68, 36.23, 36.78, 37.38, 37.98, 38.45, 38.95, 39.48, 39.85, 40.12, 40.46, 40.69, 40.75, 40.75, 40.75, 40.75, 40.75, 40.75, 40.75, 40.75, 40.75, 40.75, 40.75, 40.75, 40.75, 40.75, 40.75, 40.75, 40.75, 40.75, 40.75, 40.75, 40.75, 40.75, 40.75, 40.75, 40.75, 40.75, 40.75, 40.75, 40.75, 40.75, 41.2, 41.72, 42.25, 42.78, 43.34, 43.92, 44.49, 45.04, 45.62, 46.29, 46.9, 47.44, 48.04, 48.54, 48.89]
2024-07-24 08:51:15.174790 INFO pred_bat: PV: [ 2.5, 2.71, 3.24, 3.83, 4.3, 4.84, 5.62, 6.39, 7.02, 7.44, 7.71, 7.9, 8.06, 8.2, 8.33, 8.43, 8.53, 8.61, 8.7, 8.78, 8.86, 8.93, 9.0, 9.06, 9.1, 9.11, 9.11, 9.11, 9.11, 9.11, 9.11, 9.11, 9.11, 9.11, 9.11, 9.11, 9.11, 9.11, 9.11, 9.11, 9.11, 9.11, 9.11, 9.12, 9.18, 9.29, 9.48, 9.79, 10.13, 10.43, 10.97, 11.83, 13.05, 14.62, 16.45, 18.46, 20.63, 22.92, 25.13, 27.09, 28.82, 30.35, 31.77, 33.15, 34.4, 35.42, 36.25, 36.97, 37.56, 38.05, 38.39, 38.59, 38.7, 38.74, 38.74, 38.74, 38.74, 38.74, 38.74, 38.74, 38.74, 38.74, 38.74, 38.74, 38.74, 38.74, 38.74, 38.74, 38.74, 38.74, 38.74, 38.74, 38.8, 38.94, 39.18, 39.52]
2024-07-24 08:51:15.167133 INFO pred_bat: LOAD: [ 11.48, 11.76, 12.52, 13.42, 14.41, 15.39, 16.44, 17.41, 18.39, 19.54, 20.67, 21.62, 22.55, 23.5, 24.42, 25.38, 26.37, 27.26, 28.25, 29.34, 30.38, 31.53, 32.58, 33.46, 34.28, 35.06, 35.74, 36.39, 36.99, 37.57, 38.1, 38.64, 39.14, 39.63, 40.14, 40.63, 41.14, 41.7, 42.26, 42.81, 43.35, 43.91, 44.51, 45.12, 45.64, 46.25, 46.96, 47.63, 48.22, 48.85, 49.6, 50.47, 51.37, 52.25, 53.22, 54.1, 54.96, 55.97, 56.98, 57.84, 58.67, 59.52, 60.43, 61.3, 62.24, 63.17, 64.1, 65.09, 66.18, 67.36, 68.45, 69.31, 70.11, 70.85, 71.53, 72.17, 72.74, 73.29, 73.8, 74.34, 74.86, 75.37, 75.89, 76.42, 76.95, 77.51, 78.1, 78.66, 79.22, 79.79, 80.46, 81.08, 81.68, 82.41, 83.14, 83.82]
2024-07-24 08:51:15.159486 INFO pred_bat: 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-07-24 08:51:15.152299 INFO pred_bat: SOC: [ 5.69, 5.61, 5.33, 4.97, 4.38, 3.89, 3.57, 3.32, 2.9, 2.09, 1.14, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.67, 1.29, 2.09, 3.13, 4.35, 5.55, 6.66, 7.68, 8.51, 9.13, 9.58, 9.7, 9.7, 9.69, 9.54, 9.21, 8.64, 7.88, 7.06, 6.33, 5.57, 4.81, 4.07, 3.38, 2.76, 2.16, 1.6, 1.02, 0.46, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39]
2024-07-24 08:51:15.144744 INFO pred_bat: [ 08:50, 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, 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]
2024-07-24 08:51:15.136421 INFO pred_bat: predict base10 end_record 07-26 08:30:00 final soc 0.39 kWh metric 1140.6 p metric_keep 369.82 min_soc 0.39 @ 07-24 13:55:00 kWh load 84.56 pv 39.94
2024-07-24 08:51:14.984654 INFO pred_bat: Battery has 15.17 hours left - now at 5.69
2024-07-24 08:51:14.083024 INFO pred_bat: METRIC: [ 287.42, 287.42, 287.42, 287.42, 287.42, 287.42, 287.42, 270.28, 248.46, 229.96, 215.07, 200.57, 188.81, 180.27, 174.44, 171.92, 171.92, 171.92, 171.92, 171.92, 171.92, 171.92, 171.92, 171.92, 171.92, 171.92, 171.92, 171.92, 171.92, 171.92, 171.92, 171.92, 245.94, 255.81, 265.93, 275.85, 281.98, 288.67, 295.49, 302.07, 308.67, 315.38, 327.26, 339.43, 348.67, 358.2, 366.81, 372.44, 374.8, 378.25, 378.3, 378.3, 378.3, 378.3, 378.3, 378.3, 378.23, 378.07, 364.26, 342.01, 320.49, 299.82, 280.27, 259.79, 232.38, 210.12, 192.62, 180.52, 174.12, 174.12, 174.12, 174.12, 174.12, 174.12, 174.12, 174.12, 174.12, 174.12, 174.12, 174.12, 239.24, 239.24, 239.24, 239.24, 239.24, 239.24, 239.24, 243.21, 249.92, 256.78, 270.0, 282.48, 291.63, 297.18, 297.18, 297.18]
2024-07-24 08:51:14.075060 INFO pred_bat: EXPORT: [ 0.4, 0.4, 0.4, 0.4, 0.4, 0.4, 0.4, 1.56, 3.03, 4.27, 5.28, 6.26, 7.05, 7.62, 8.02, 8.19, 8.19, 8.19, 8.19, 8.19, 8.19, 8.19, 8.19, 8.19, 8.19, 8.19, 8.19, 8.19, 8.19, 8.19, 8.19, 8.19, 8.19, 8.19, 8.19, 8.19, 8.19, 8.19, 8.19, 8.19, 8.19, 8.19, 8.19, 8.19, 8.19, 8.19, 8.19, 8.19, 8.19, 8.19, 8.19, 8.19, 8.19, 8.19, 8.19, 8.19, 8.19, 8.2, 9.13, 10.63, 12.08, 13.48, 14.79, 16.17, 17.4, 18.39, 19.17, 19.72, 20.0, 20.0, 20.0, 20.0, 20.0, 20.0, 20.0, 20.0, 20.0, 20.0, 20.0, 20.0, 20.0, 20.0, 20.0, 20.0, 20.0, 20.0, 20.0, 20.0, 20.0, 20.0, 20.0, 20.0, 20.0, 20.0, 20.0, 20.0]
2024-07-24 08:51:14.067200 INFO pred_bat: IMPORT: [ 15.59, 15.59, 15.59, 15.59, 15.59, 15.59, 15.59, 15.59, 15.59, 15.59, 15.59, 15.59, 15.59, 15.59, 15.59, 15.59, 15.59, 15.59, 15.59, 15.59, 15.59, 15.59, 15.59, 15.59, 15.59, 15.59, 15.59, 15.59, 15.59, 15.59, 15.59, 15.59, 15.99, 16.44, 16.89, 17.34, 17.81, 18.31, 18.82, 19.32, 19.82, 20.32, 20.86, 21.41, 21.83, 22.26, 22.65, 22.91, 23.01, 23.17, 23.17, 23.17, 23.17, 23.17, 23.17, 23.17, 23.17, 23.17, 23.17, 23.17, 23.17, 23.17, 23.17, 23.17, 23.17, 23.17, 23.17, 23.17, 23.17, 23.17, 23.17, 23.17, 23.17, 23.17, 23.17, 23.17, 23.17, 23.17, 23.17, 23.17, 23.17, 23.17, 23.17, 23.17, 23.17, 23.17, 23.17, 23.47, 23.98, 24.49, 25.09, 25.66, 26.07, 26.32, 26.32, 26.32]
2024-07-24 08:51:14.057395 INFO pred_bat: PV: [ 2.5, 2.76, 3.63, 4.99, 6.42, 8.31, 10.81, 13.58, 16.21, 18.59, 20.73, 22.65, 24.35, 25.85, 27.14, 28.22, 29.1, 29.8, 30.35, 30.81, 31.16, 31.43, 31.65, 31.81, 31.9, 31.93, 31.93, 31.93, 31.93, 31.93, 31.93, 31.93, 31.93, 31.93, 31.93, 31.93, 31.93, 31.93, 31.93, 31.93, 31.93, 31.93, 31.93, 31.94, 32.0, 32.13, 32.37, 32.76, 33.21, 33.64, 34.39, 35.52, 37.07, 39.04, 41.33, 43.83, 46.51, 49.32, 52.1, 54.74, 57.2, 59.49, 61.73, 64.02, 66.18, 68.1, 69.79, 71.29, 72.61, 73.72, 74.53, 74.98, 75.17, 75.23, 75.23, 75.23, 75.23, 75.23, 75.23, 75.23, 75.23, 75.23, 75.23, 75.23, 75.23, 75.23, 75.23, 75.23, 75.23, 75.23, 75.23, 75.25, 75.37, 75.8, 76.62, 77.64]
2024-07-24 08:51:14.048325 INFO pred_bat: LOAD: [ 11.48, 11.68, 12.36, 13.16, 14.08, 14.95, 15.9, 16.8, 17.68, 18.71, 19.77, 20.63, 21.47, 22.34, 23.17, 24.04, 24.95, 25.76, 26.64, 27.64, 28.59, 29.63, 30.59, 31.4, 32.15, 32.86, 33.49, 34.07, 34.63, 35.16, 35.64, 36.13, 36.59, 37.03, 37.49, 37.94, 38.4, 38.91, 39.42, 39.92, 40.42, 40.92, 41.46, 42.02, 42.49, 43.04, 43.67, 44.29, 44.83, 45.4, 46.08, 46.85, 47.68, 48.47, 49.35, 50.16, 50.93, 51.84, 52.78, 53.56, 54.32, 55.08, 55.91, 56.7, 57.56, 58.4, 59.24, 60.15, 61.12, 62.19, 63.21, 63.99, 64.72, 65.4, 66.02, 66.6, 67.13, 67.63, 68.1, 68.58, 69.06, 69.52, 69.99, 70.48, 70.96, 71.47, 72.0, 72.51, 73.02, 73.53, 74.13, 74.71, 75.24, 75.91, 76.56, 77.19]
2024-07-24 08:51:14.028513 INFO pred_bat: 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-07-24 08:51:14.018527 INFO pred_bat: SOC: [ 5.69, 5.74, 5.9, 6.41, 6.85, 7.79, 9.25, 9.7, 9.7, 9.7, 9.7, 9.7, 9.7, 9.7, 9.7, 9.7, 9.63, 9.48, 9.1, 8.48, 7.82, 6.98, 6.16, 5.45, 4.73, 4.0, 3.31, 2.68, 2.08, 1.51, 0.99, 0.45, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.44, 0.75, 1.41, 2.5, 3.82, 5.41, 7.21, 8.99, 9.7, 9.7, 9.7, 9.7, 9.7, 9.7, 9.7, 9.7, 9.7, 9.7, 9.7, 9.69, 9.43, 9.05, 8.45, 7.78, 7.11, 6.47, 5.91, 5.36, 4.86, 4.33, 3.81, 3.31, 2.8, 2.27, 1.75, 1.2, 0.62, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.52, 0.87]
2024-07-24 08:51:14.010505 INFO pred_bat: [ 08:50, 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, 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]
2024-07-24 08:51:14.002006 INFO pred_bat: predict base end_record 07-26 08:30:00 final soc 1.35 kWh metric 297.18 p metric_keep 101.57 min_soc 0.39 @ 07-25 00:00:00 kWh load 77.87 pv 78.84
2024-07-24 08:51:13.936161 INFO pred_bat: Filtered charge windows [ 24-07 08:30:00 - 24-07 09:00:00 @ 22.1p 59%, 24-07 15:00:00 - 24-07 16:00:00 @ 22.1p 100%, 25-07 02:00:00 - 25-07 05:00:00 @ 13.26p 100%, 26-07 02:00:00 - 26-07 05:00:00 @ 13.26p 100%, 26-07 08:30:00 - 26-07 09:00:00 @ 22.1p 100% ] reserve 0.39
2024-07-24 08:51:13.932518 INFO pred_bat: Clip off charge window 5 from 1410 - 1560 from limit 0.7 to new limit 0.0
2024-07-24 08:51:13.929116 INFO pred_bat: Clip off charge window 3 from 870 - 900 from limit 1.7 to new limit 0.0
2024-07-24 08:51:13.925684 INFO pred_bat: Clip off charge window 2 from 810 - 870 from limit 1.2 to new limit 0.0
2024-07-24 08:51:13.922126 INFO pred_bat: Clip off charge window 1 from 780 - 810 from limit 0.7 to new limit 0.0
2024-07-24 08:51:13.893570 INFO pred_bat: Discharge windows filtered [ 25-07 18:35:00 - 25-07 19:00:00 @ 22.39p 74% ]
2024-07-24 08:51:13.861698 INFO pred_bat: Calculated end_record as 07-26 08:30:00
2024-07-24 08:51:13.854951 INFO pred_bat: Best discharge windows best_metric 237.3 best_cost 240.84 best_carbon 0 best_import 28.21 metric_keep 0.23 end_record 07-26 08:30:00 windows [ 25-07 18:35:00 - 25-07 19:00:00 @ 22.39p 4% ]
2024-07-24 08:51:13.849072 INFO pred_bat: Best charge windows best_metric 237.3 best_cost 240.84 best_carbon 0 best_import 28.21 metric_keep 0.23 end_record 07-26 08:30:00 windows [ 24-07 08:30:00 - 24-07 09:00:00 @ 22.1p 59%, 24-07 13:00:00 - 24-07 13:30:00 @ 22.1p 7%, 24-07 13:30:00 - 24-07 14:00:00 @ 22.1p 12%, 24-07 14:00:00 - 24-07 14:30:00 @ 22.1p 12%, 24-07 14:30:00 - 24-07 15:00:00 @ 22.1p 18%, 24-07 15:00:00 - 24-07 15:30:00 @ 22.1p 100%, 24-07 15:30:00 - 24-07 16:00:00 @ 22.1p 100%, 24-07 23:30:00 - 25-07 00:00:00 @ 22.1p 7%, 25-07 00:00:00 - 25-07 00:30:00 @ 22.1p 7%, 25-07 00:30:00 - 25-07 01:00:00 @ 22.1p 7%, 25-07 01:00:00 - 25-07 01:30:00 @ 22.1p 7%, 25-07 01:30:00 - 25-07 02:00:00 @ 22.1p 7%, 25-07 02:00:00 - 25-07 02:30:00 @ 13.26p 100%, 25-07 02:30:00 - 25-07 03:00:00 @ 13.26p 100%, 25-07 03:00:00 - 25-07 03:30:00 @ 13.26p 100%, 25-07 03:30:00 - 25-07 04:00:00 @ 13.26p 100%, 25-07 04:00:00 - 25-07 04:30:00 @ 13.26p 100%, 25-07 04:30:00 - 25-07 05:00:00 @ 13.26p 100%, 26-07 02:00:00 - 26-07 02:30:00 @ 13.26p 100%, 26-07 02:30:00 - 26-07 03:00:00 @ 13.26p 100%, 26-07 03:00:00 - 26-07 03:30:00 @ 13.26p 100%, 26-07 03:30:00 - 26-07 04:00:00 @ 13.26p 100%, 26-07 04:00:00 - 26-07 04:30:00 @ 13.26p 100%, 26-07 04:30:00 - 26-07 05:00:00 @ 13.26p 100%, 26-07 08:30:00 - 26-07 09:00:00 @ 22.1p 100% ]
2024-07-24 08:50:59.602713 INFO pred_bat: Optimise price set 24.0 pass low price 24.0 start_at_low True best_price 14.4 best_metric 259.97 best_cost 237.78 best_cycle 50.41 best_carbon 0 best_import 28.3
2024-07-24 08:50:57.995496 INFO pred_bat: Optimise price set 14.4 pass low price 14.4 start_at_low True best_price 14.4 best_metric 259.97 best_cost 237.78 best_cycle 50.41 best_carbon 0 best_import 28.3
2024-07-24 08:50:57.991526 INFO pred_bat: Best discharge windows best_metric 259.97 best_cost 237.78 best_carbon 0 best_import 28.3 metric_keep 20.97 end_record 07-26 08:30:00 windows [ 25-07 18:35:00 - 25-07 19:00:00 @ 22.39p 4% ]
2024-07-24 08:50:57.986813 INFO pred_bat: Best charge windows best_metric 259.97 best_cost 237.78 best_carbon 0 best_import 28.3 metric_keep 20.97 end_record 07-26 08:30:00 windows [ 25-07 02:00:00 - 25-07 02:30:00 @ 13.26p 100%, 25-07 02:30:00 - 25-07 03:00:00 @ 13.26p 100%, 25-07 03:00:00 - 25-07 03:30:00 @ 13.26p 100%, 25-07 03:30:00 - 25-07 04:00:00 @ 13.26p 100%, 25-07 04:00:00 - 25-07 04:30:00 @ 13.26p 100%, 25-07 04:30:00 - 25-07 05:00:00 @ 13.26p 100%, 26-07 02:00:00 - 26-07 02:30:00 @ 13.26p 100%, 26-07 02:30:00 - 26-07 03:00:00 @ 13.26p 100%, 26-07 03:00:00 - 26-07 03:30:00 @ 13.26p 100%, 26-07 03:30:00 - 26-07 04:00:00 @ 13.26p 100%, 26-07 04:00:00 - 26-07 04:30:00 @ 13.26p 100%, 26-07 04:30:00 - 26-07 05:00:00 @ 13.26p 100%, 26-07 08:30:00 - 26-07 09:00:00 @ 22.1p 100% ]
2024-07-24 08:50:56.418868 INFO pred_bat: Optimise price set 14.4 pass normal price 14.4 start_at_low False best_price 14.4 best_metric 259.97 best_cost 237.78 best_cycle 50.41 best_carbon 0 best_import 28.3
2024-07-24 08:50:55.127674 INFO pred_bat: Optimise price set 20.6 pass normal price 20.6 start_at_low False best_price 14.4 best_metric 118.17 best_cost 230.31 best_cycle 49.36 best_carbon 0 best_import 27.64
2024-07-24 08:50:55.123373 INFO pred_bat: Best discharge windows best_metric 118.17 best_cost 230.31 best_carbon 0 best_import 27.64 metric_keep 25.12 end_record 07-26 08:30:00 windows [ ]
2024-07-24 08:50:55.118848 INFO pred_bat: Best charge windows best_metric 118.17 best_cost 230.31 best_carbon 0 best_import 27.64 metric_keep 25.12 end_record 07-26 08:30:00 windows [ 25-07 02:00:00 - 25-07 02:30:00 @ 13.26p 100%, 25-07 02:30:00 - 25-07 03:00:00 @ 13.26p 100%, 25-07 03:00:00 - 25-07 03:30:00 @ 13.26p 100%, 25-07 03:30:00 - 25-07 04:00:00 @ 13.26p 100%, 25-07 04:00:00 - 25-07 04:30:00 @ 13.26p 100%, 25-07 04:30:00 - 25-07 05:00:00 @ 13.26p 100%, 26-07 02:00:00 - 26-07 02:30:00 @ 13.26p 100%, 26-07 02:30:00 - 26-07 03:00:00 @ 13.26p 100%, 26-07 03:00:00 - 26-07 03:30:00 @ 13.26p 100%, 26-07 03:30:00 - 26-07 04:00:00 @ 13.26p 100%, 26-07 04:00:00 - 26-07 04:30:00 @ 13.26p 100%, 26-07 04:30:00 - 26-07 05:00:00 @ 13.26p 100%, 26-07 08:30:00 - 26-07 09:00:00 @ 22.1p 100% ]
2024-07-24 08:50:55.112448 INFO pred_bat: Starting second optimisation end_record 07-26 08:30:00 best_price 14.4 best_price_discharge 24.0 lowest_price_charge 14.4 with charge limits [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9.7, 9.7, 9.7, 9.7, 9.7, 9.7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9.7, 9.7, 9.7, 9.7, 9.7, 9.7, 0, 0, 0, 0, 0, 0, 0, 9.7]
2024-07-24 08:50:55.104460 INFO pred_bat: Calculated end_record as 07-26 08:30:00
2024-07-24 08:50:54.267724 INFO pred_bat: Optimise all charge found best buy/sell price band 14.4 best price threshold 13.7 at cost 230.3129 metric 118.1709 keep 25.1248 cycle 49.3595 carbon 0 import 27.64 cost 230.3129 limits [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9.7, 9.7, 9.7, 9.7, 9.7, 9.7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9.7, 9.7, 9.7, 9.7, 9.7, 9.7, 0, 0, 0, 0, 0, 0, 0, 0.0] discharge [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, 0, 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.0]
2024-07-24 08:50:52.734901 INFO pred_bat: >> Region optimisation pass width 120
2024-07-24 08:50:51.270571 INFO pred_bat: >> Region optimisation pass width 240
2024-07-24 08:50:50.342235 INFO pred_bat: >> Region optimisation pass width 480
2024-07-24 08:50:49.622243 INFO pred_bat: >> Region optimisation pass width 960
2024-07-24 08:50:49.618728 INFO pred_bat: Calculated end_record as 07-26 08:30:00
2024-07-24 08:50:49.292473 INFO pred_bat: Optimise all charge found best buy/sell price band 20.6 best price threshold 14.4 at cost 234.5598 metric 122.4164 keep 25.1248 cycle 46.6043 carbon 0 import 26.6 cost 234.5598 limits [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9.7, 9.7, 9.7, 9.7, 9.7, 9.7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9.7, 9.7, 9.7, 9.7, 9.7, 9.7, 0, 0, 0, 0, 0, 0, 0, 0.0] discharge [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.0]
2024-07-24 08:50:49.266406 INFO pred_bat: Optimise all charge found best buy/sell price band 24.0 best price threshold 24.0 at cost 401.5441 metric 264.049 keep 2.0592 cycle 11.0301 carbon 0 import 31.73 cost 401.5441 limits [9.7, 9.7, 9.7, 9.7, 9.7, 9.7, 9.7, 9.7, 9.7, 9.7, 9.7, 9.7, 9.7, 9.7, 9.7, 9.7, 9.7, 9.7, 9.7, 9.7, 9.7, 9.7, 9.7, 9.7, 9.7, 9.7, 9.7, 9.7, 9.7, 9.7, 9.7, 9.7, 9.7, 9.7, 9.7, 9.7, 9.7, 9.7, 9.7, 9.7, 9.7, 9.7, 9.7, 9.7, 9.7, 9.7, 9.7, 9.7, 9.7, 9.7, 9.7, 9.7, 9.7, 9.7, 9.7, 9.7, 9.7, 9.7, 9.7, 9.7, 9.7, 9.7, 9.7, 9.7, 9.7, 9.7, 9.7, 9.7, 9.7, 9.7, 9.7, 9.7, 9.7, 9.7, 9.7, 9.7, 9.7, 9.7, 9.7, 9.7, 9.7, 9.7, 9.7, 9.7, 0.0] discharge [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.0]
2024-07-24 08:50:49.237099 INFO pred_bat: Optimise all windows, total charge 84 discharge 84
2024-07-24 08:50:49.229768 INFO pred_bat: Calculate Best options: mode(Control charge & discharge) calculate_discharge_oncharge(True) set_discharge_freeze_only(False) set_discharge_during_charge(False) combine_charge_slots(False) combine_discharge_slots(False) combine_rate_threshold(0.0) best_soc_min(0.0 kWh) best_soc_max(0.0 kWh) best_soc_keep(0.5 kWh) inverter_loss(4 %) battery_loss(4 %) battery_loss_discharge (4 %) inverter_hybrid(True) metric_min_improvement(0.0 p) metric_min_improvement_discharge(0.1 p) metric_battery_cycle(0 p/kWh) metric_battery_value_scaling(1.0 x)
2024-07-24 08:50:49.137934 INFO pred_bat: Creating pool of 4 processes to match your CPU count
2024-07-24 08:50:49.097207 INFO pred_bat: Yesterday: No Battery/PV system cost predicted was 861.74p vs real 40.98p saving 820.76p with import 34.98 export 0
2024-07-24 08:50:49.040166 INFO pred_bat: Yesterday: Predbat disabled was 42.69p vs real 40.98p saving 1.71p with import 13.57 export 13.09 battery_cycle 25.26 start_soc 2.36 final_soc 2.36
2024-07-24 08:50:49.036676 INFO pred_bat: METRIC: [ 0, 0.0, 0.0, 0.0, 6.02, 47.71, 89.45, 131.55, 166.45, 175.72, 182.28, 182.28, 182.28, 182.28, 182.28, 182.28, 182.28, 182.28, 182.28, 181.94, 170.91, 151.47, 132.65, 121.54, 100.27, 74.56, 59.51, 39.19, 28.39, 16.51, 11.51, 11.4, 8.9, -18.44, -20.14, -20.14, -20.14, -22.43, -22.43, -22.43, -22.43, -22.43, -22.43, -22.43, -22.43, -22.43, -22.43, -22.43]
2024-07-24 08:50:49.030826 INFO pred_bat: EXPORT: [ 0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.02, 0.77, 2.08, 3.34, 4.09, 5.53, 7.26, 8.27, 9.64, 10.37, 11.17, 11.51, 11.52, 11.69, 12.91, 12.98, 12.98, 12.98, 13.09, 13.09, 13.09, 13.09, 13.09, 13.09, 13.09, 13.09, 13.09, 13.09, 13.09]
2024-07-24 08:50:49.024894 INFO pred_bat: IMPORT: [ 0, 0.0, 0.0, 0.0, 0.27, 3.42, 6.56, 9.74, 12.37, 13.07, 13.57, 13.57, 13.57, 13.57, 13.57, 13.57, 13.57, 13.57, 13.57, 13.57, 13.57, 13.57, 13.57, 13.57, 13.57, 13.57, 13.57, 13.57, 13.57, 13.57, 13.57, 13.57, 13.57, 13.57, 13.57, 13.57, 13.57, 13.57, 13.57, 13.57, 13.57, 13.57, 13.57, 13.57, 13.57, 13.57, 13.57, 13.57]
2024-07-24 08:50:49.018788 INFO pred_bat: PV: [ 0, 0.03, 0.05, 0.07, 0.08, 0.08, 0.08, 0.09, 0.09, 0.1, 0.12, 0.14, 0.17, 0.31, 0.51, 0.97, 1.39, 2.21, 3.42, 5.12, 7.92, 10.33, 12.53, 14.21, 16.79, 19.47, 21.49, 23.84, 25.35, 26.98, 28.13, 29.0, 30.31, 32.48, 33.51, 34.12, 35.11, 36.18, 36.79, 37.62, 37.97, 38.11, 38.22, 38.26, 38.29, 38.31, 38.34, 38.36]
2024-07-24 08:50:49.013182 INFO pred_bat: LOAD: [ 0, 0.53, 1.06, 1.62, 2.16, 2.7, 3.25, 3.83, 4.36, 4.89, 5.39, 5.95, 6.46, 6.95, 7.48, 8.12, 8.89, 9.5, 10.22, 11.05, 12.01, 12.83, 13.67, 14.54, 15.3, 15.98, 16.87, 17.76, 18.48, 19.25, 20.03, 21.02, 21.91, 22.77, 23.8, 24.68, 25.37, 26.48, 27.81, 29.19, 30.0, 30.79, 31.49, 32.21, 32.86, 33.39, 33.95, 34.47]
2024-07-24 08:50:49.007370 INFO pred_bat: BAT: [ g<be-, g<be-, g<be-, g<be-, g<bf+, g<bf+, g<bf+, g<bf+, g<bf+, g<be-, g>be-, g>be-, g>be-, g<be-, g~be-, g~be-, g>be-, g~be+, g>be+, g>be+, g>be+, g>be~, g>be~, g>be~, g>be~, g>be~, g>be~, g>be~, g>be~, g>be~, g~be+, g~be+, g>be+, g>be~, g<be-, g~be-, 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-07-24 08:50:49.002146 INFO pred_bat: SOC: [ 2.36, 1.81, 1.26, 0.68, 0.39, 2.79, 5.19, 7.59, 9.53, 9.7, 9.7, 9.11, 8.6, 8.21, 7.84, 7.63, 7.23, 7.41, 7.84, 8.62, 9.59, 9.7, 9.7, 9.7, 9.7, 9.7, 9.7, 9.7, 9.7, 9.7, 9.68, 9.49, 9.7, 9.7, 9.57, 9.25, 9.51, 9.29, 8.49, 7.85, 7.33, 6.63, 5.98, 5.25, 4.57, 4.01, 3.44, 2.9]
2024-07-24 08:50:48.996497 INFO pred_bat: [ 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]
2024-07-24 08:50:48.990501 INFO pred_bat: predict yesterday end_record 07-25 00:00:00 final soc 2.36 kWh metric -22.43 p metric_keep 2.15 min_soc 2.36 @ 07-24 23:55:00 kWh load 34.98 pv 38.38
2024-07-24 08:50:47.807212 INFO pred_bat: Yesterday basic charge window best: [{'start': 120, 'end': 300, 'average': 13.26}, {'start': 1560, 'end': 1740, 'average': 13.26}] charge limit best: [9.7, 9.7]
2024-07-24 08:50:47.329898 INFO pred_bat: Load divergence over 8.0 hours mean 1641.38 W, min 1080.97 W, max 2282.59 W, std dev 218.9 W, divergence 6.67%
2024-07-24 08:50:47.302025 INFO pred_bat: PV Forecast 77.2 kWh and 10% Forecast 37.7 kWh pv cloud factor 0.3
2024-07-24 08:50:47.288697 INFO pred_bat: Best discharge window [ 24-07 08:30:00 - 24-07 09:00:00 @ 14.84p 100.0%, 24-07 09:00:00 - 24-07 09:30:00 @ 14.84p 100.0%, 24-07 09:30:00 - 24-07 10:00:00 @ 14.84p 100.0%, 24-07 10:00:00 - 24-07 10:30:00 @ 14.84p 100.0%, 24-07 10:30:00 - 24-07 11:00:00 @ 14.84p 100.0%, 24-07 11:00:00 - 24-07 11:30:00 @ 14.84p 100.0%, 24-07 11:30:00 - 24-07 12:00:00 @ 14.84p 100.0%, 24-07 12:00:00 - 24-07 12:30:00 @ 14.84p 100.0%, 24-07 12:30:00 - 24-07 13:00:00 @ 14.84p 100.0%, 24-07 13:00:00 - 24-07 13:30:00 @ 14.84p 100.0%, 24-07 13:30:00 - 24-07 14:00:00 @ 14.84p 100.0%, 24-07 14:00:00 - 24-07 14:30:00 @ 14.84p 100.0%, 24-07 14:30:00 - 24-07 15:00:00 @ 14.84p 100.0%, 24-07 15:00:00 - 24-07 15:30:00 @ 14.84p 100.0%, 24-07 15:30:00 - 24-07 16:00:00 @ 14.84p 100.0%, 24-07 16:00:00 - 24-07 16:30:00 @ 22.39p 100.0%, 24-07 16:30:00 - 24-07 17:00:00 @ 22.39p 100.0%, 24-07 17:00:00 - 24-07 17:30:00 @ 22.39p 100.0%, 24-07 17:30:00 - 24-07 18:00:00 @ 22.39p 100.0%, 24-07 18:00:00 - 24-07 18:30:00 @ 22.39p 100.0%, 24-07 18:30:00 - 24-07 19:00:00 @ 22.39p 100.0%, 24-07 19:00:00 - 24-07 19:30:00 @ 14.84p 100.0%, 24-07 19:30:00 - 24-07 20:00:00 @ 14.84p 100.0%, 24-07 20:00:00 - 24-07 20:30:00 @ 14.84p 100.0%, 24-07 20:30:00 - 24-07 21:00:00 @ 14.84p 100.0%, 24-07 21:00:00 - 24-07 21:30:00 @ 14.84p 100.0%, 24-07 21:30:00 - 24-07 22:00:00 @ 14.84p 100.0%, 24-07 22:00:00 - 24-07 22:30:00 @ 14.84p 100.0%, 24-07 22:30:00 - 24-07 23:00:00 @ 14.84p 100.0%, 24-07 23:00:00 - 24-07 23:30:00 @ 14.84p 100.0%, 24-07 23:30:00 - 25-07 00:00:00 @ 14.84p 100.0%, 25-07 00:00:00 - 25-07 00:30:00 @ 14.84p 100.0%, 25-07 00:30:00 - 25-07 01:00:00 @ 14.84p 100.0%, 25-07 01:00:00 - 25-07 01:30:00 @ 14.84p 100.0%, 25-07 01:30:00 - 25-07 02:00:00 @ 14.84p 100.0%, 25-07 05:00:00 - 25-07 05:30:00 @ 14.84p 100.0%, 25-07 05:30:00 - 25-07 06:00:00 @ 14.84p 100.0%, 25-07 06:00:00 - 25-07 06:30:00 @ 14.84p 100.0%, 25-07 06:30:00 - 25-07 07:00:00 @ 14.84p 100.0%, 25-07 07:00:00 - 25-07 07:30:00 @ 14.84p 100.0%, 25-07 07:30:00 - 25-07 08:00:00 @ 14.84p 100.0%, 25-07 08:00:00 - 25-07 08:30:00 @ 14.84p 100.0%, 25-07 08:30:00 - 25-07 09:00:00 @ 14.84p 100.0%, 25-07 09:00:00 - 25-07 09:30:00 @ 14.84p 100.0%, 25-07 09:30:00 - 25-07 10:00:00 @ 14.84p 100.0%, 25-07 10:00:00 - 25-07 10:30:00 @ 14.84p 100.0%, 25-07 10:30:00 - 25-07 11:00:00 @ 14.84p 100.0%, 25-07 11:00:00 - 25-07 11:30:00 @ 14.84p 100.0%, 25-07 11:30:00 - 25-07 12:00:00 @ 14.84p 100.0%, 25-07 12:00:00 - 25-07 12:30:00 @ 14.84p 100.0%, 25-07 12:30:00 - 25-07 13:00:00 @ 14.84p 100.0%, 25-07 13:00:00 - 25-07 13:30:00 @ 14.84p 100.0%, 25-07 13:30:00 - 25-07 14:00:00 @ 14.84p 100.0%, 25-07 14:00:00 - 25-07 14:30:00 @ 14.84p 100.0%, 25-07 14:30:00 - 25-07 15:00:00 @ 14.84p 100.0%, 25-07 15:00:00 - 25-07 15:30:00 @ 14.84p 100.0%, 25-07 15:30:00 - 25-07 16:00:00 @ 14.84p 100.0%, 25-07 16:00:00 - 25-07 16:30:00 @ 22.39p 100.0%, 25-07 16:30:00 - 25-07 17:00:00 @ 22.39p 100.0%, 25-07 17:00:00 - 25-07 17:30:00 @ 22.39p 100.0%, 25-07 17:30:00 - 25-07 18:00:00 @ 22.39p 100.0%, 25-07 18:00:00 - 25-07 18:30:00 @ 22.39p 100.0%, 25-07 18:30:00 - 25-07 19:00:00 @ 22.39p 100.0%, 25-07 19:00:00 - 25-07 19:30:00 @ 14.84p 100.0%, 25-07 19:30:00 - 25-07 20:00:00 @ 14.84p 100.0%, 25-07 20:00:00 - 25-07 20:30:00 @ 14.84p 100.0%, 25-07 20:30:00 - 25-07 21:00:00 @ 14.84p 100.0%, 25-07 21:00:00 - 25-07 21:30:00 @ 14.84p 100.0%, 25-07 21:30:00 - 25-07 22:00:00 @ 14.84p 100.0%, 25-07 22:00:00 - 25-07 22:30:00 @ 14.84p 100.0%, 25-07 22:30:00 - 25-07 23:00:00 @ 14.84p 100.0%, 25-07 23:00:00 - 25-07 23:30:00 @ 14.84p 100.0%, 25-07 23:30:00 - 26-07 00:00:00 @ 14.84p 100.0%, 26-07 00:00:00 - 26-07 00:30:00 @ 14.84p 100.0%, 26-07 00:30:00 - 26-07 01:00:00 @ 14.84p 100.0%, 26-07 01:00:00 - 26-07 01:30:00 @ 14.84p 100.0%, 26-07 01:30:00 - 26-07 02:00:00 @ 14.84p 100.0%, 26-07 05:00:00 - 26-07 05:30:00 @ 14.84p 100.0%, 26-07 05:30:00 - 26-07 06:00:00 @ 14.84p 100.0%, 26-07 06:00:00 - 26-07 06:30:00 @ 14.84p 100.0%, 26-07 06:30:00 - 26-07 07:00:00 @ 14.84p 100.0%, 26-07 07:00:00 - 26-07 07:30:00 @ 14.84p 100.0%, 26-07 07:30:00 - 26-07 08:00:00 @ 14.84p 100.0%, 26-07 08:00:00 - 26-07 08:30:00 @ 14.84p 100.0%, 26-07 08:30:00 - 26-07 09:00:00 @ 14.84p 100.0% ]
2024-07-24 08:50:47.275469 INFO pred_bat: Best charge window [ 24-07 08:30:00 - 24-07 09:00:00 @ 22.1p 0.0%, 24-07 09:00:00 - 24-07 09:30:00 @ 22.1p 0.0%, 24-07 09:30:00 - 24-07 10:00:00 @ 22.1p 0.0%, 24-07 10:00:00 - 24-07 10:30:00 @ 22.1p 0.0%, 24-07 10:30:00 - 24-07 11:00:00 @ 22.1p 0.0%, 24-07 11:00:00 - 24-07 11:30:00 @ 22.1p 0.0%, 24-07 11:30:00 - 24-07 12:00:00 @ 22.1p 0.0%, 24-07 12:00:00 - 24-07 12:30:00 @ 22.1p 0.0%, 24-07 12:30:00 - 24-07 13:00:00 @ 22.1p 0.0%, 24-07 13:00:00 - 24-07 13:30:00 @ 22.1p 0.0%, 24-07 13:30:00 - 24-07 14:00:00 @ 22.1p 0.0%, 24-07 14:00:00 - 24-07 14:30:00 @ 22.1p 0.0%, 24-07 14:30:00 - 24-07 15:00:00 @ 22.1p 0.0%, 24-07 15:00:00 - 24-07 15:30:00 @ 22.1p 0.0%, 24-07 15:30:00 - 24-07 16:00:00 @ 22.1p 0.0%, 24-07 19:00:00 - 24-07 19:30:00 @ 22.1p 0.0%, 24-07 19:30:00 - 24-07 20:00:00 @ 22.1p 0.0%, 24-07 20:00:00 - 24-07 20:30:00 @ 22.1p 0.0%, 24-07 20:30:00 - 24-07 21:00:00 @ 22.1p 0.0%, 24-07 21:00:00 - 24-07 21:30:00 @ 22.1p 0.0%, 24-07 21:30:00 - 24-07 22:00:00 @ 22.1p 0.0%, 24-07 22:00:00 - 24-07 22:30:00 @ 22.1p 0.0%, 24-07 22:30:00 - 24-07 23:00:00 @ 22.1p 0.0%, 24-07 23:00:00 - 24-07 23:30:00 @ 22.1p 0.0%, 24-07 23:30:00 - 25-07 00:00:00 @ 22.1p 0.0%, 25-07 00:00:00 - 25-07 00:30:00 @ 22.1p 0.0%, 25-07 00:30:00 - 25-07 01:00:00 @ 22.1p 0.0%, 25-07 01:00:00 - 25-07 01:30:00 @ 22.1p 0.0%, 25-07 01:30:00 - 25-07 02:00:00 @ 22.1p 0.0%, 25-07 02:00:00 - 25-07 02:30:00 @ 13.26p 0.0%, 25-07 02:30:00 - 25-07 03:00:00 @ 13.26p 0.0%, 25-07 03:00:00 - 25-07 03:30:00 @ 13.26p 0.0%, 25-07 03:30:00 - 25-07 04:00:00 @ 13.26p 0.0%, 25-07 04:00:00 - 25-07 04:30:00 @ 13.26p 0.0%, 25-07 04:30:00 - 25-07 05:00:00 @ 13.26p 0.0%, 25-07 05:00:00 - 25-07 05:30:00 @ 22.1p 0.0%, 25-07 05:30:00 - 25-07 06:00:00 @ 22.1p 0.0%, 25-07 06:00:00 - 25-07 06:30:00 @ 22.1p 0.0%, 25-07 06:30:00 - 25-07 07:00:00 @ 22.1p 0.0%, 25-07 07:00:00 - 25-07 07:30:00 @ 22.1p 0.0%, 25-07 07:30:00 - 25-07 08:00:00 @ 22.1p 0.0%, 25-07 08:00:00 - 25-07 08:30:00 @ 22.1p 0.0%, 25-07 08:30:00 - 25-07 09:00:00 @ 22.1p 0.0%, 25-07 09:00:00 - 25-07 09:30:00 @ 22.1p 0.0%, 25-07 09:30:00 - 25-07 10:00:00 @ 22.1p 0.0%, 25-07 10:00:00 - 25-07 10:30:00 @ 22.1p 0.0%, 25-07 10:30:00 - 25-07 11:00:00 @ 22.1p 0.0%, 25-07 11:00:00 - 25-07 11:30:00 @ 22.1p 0.0%, 25-07 11:30:00 - 25-07 12:00:00 @ 22.1p 0.0%, 25-07 12:00:00 - 25-07 12:30:00 @ 22.1p 0.0%, 25-07 12:30:00 - 25-07 13:00:00 @ 22.1p 0.0%, 25-07 13:00:00 - 25-07 13:30:00 @ 22.1p 0.0%, 25-07 13:30:00 - 25-07 14:00:00 @ 22.1p 0.0%, 25-07 14:00:00 - 25-07 14:30:00 @ 22.1p 0.0%, 25-07 14:30:00 - 25-07 15:00:00 @ 22.1p 0.0%, 25-07 15:00:00 - 25-07 15:30:00 @ 22.1p 0.0%, 25-07 15:30:00 - 25-07 16:00:00 @ 22.1p 0.0%, 25-07 19:00:00 - 25-07 19:30:00 @ 22.1p 0.0%, 25-07 19:30:00 - 25-07 20:00:00 @ 22.1p 0.0%, 25-07 20:00:00 - 25-07 20:30:00 @ 22.1p 0.0%, 25-07 20:30:00 - 25-07 21:00:00 @ 22.1p 0.0%, 25-07 21:00:00 - 25-07 21:30:00 @ 22.1p 0.0%, 25-07 21:30:00 - 25-07 22:00:00 @ 22.1p 0.0%, 25-07 22:00:00 - 25-07 22:30:00 @ 22.1p 0.0%, 25-07 22:30:00 - 25-07 23:00:00 @ 22.1p 0.0%, 25-07 23:00:00 - 25-07 23:30:00 @ 22.1p 0.0%, 25-07 23:30:00 - 26-07 00:00:00 @ 22.1p 0.0%, 26-07 00:00:00 - 26-07 00:30:00 @ 22.1p 0.0%, 26-07 00:30:00 - 26-07 01:00:00 @ 22.1p 0.0%, 26-07 01:00:00 - 26-07 01:30:00 @ 22.1p 0.0%, 26-07 01:30:00 - 26-07 02:00:00 @ 22.1p 0.0%, 26-07 02:00:00 - 26-07 02:30:00 @ 13.26p 0.0%, 26-07 02:30:00 - 26-07 03:00:00 @ 13.26p 0.0%, 26-07 03:00:00 - 26-07 03:30:00 @ 13.26p 0.0%, 26-07 03:30:00 - 26-07 04:00:00 @ 13.26p 0.0%, 26-07 04:00:00 - 26-07 04:30:00 @ 13.26p 0.0%, 26-07 04:30:00 - 26-07 05:00:00 @ 13.26p 0.0%, 26-07 05:00:00 - 26-07 05:30:00 @ 22.1p 0.0%, 26-07 05:30:00 - 26-07 06:00:00 @ 22.1p 0.0%, 26-07 06:00:00 - 26-07 06:30:00 @ 22.1p 0.0%, 26-07 06:30:00 - 26-07 07:00:00 @ 22.1p 0.0%, 26-07 07:00:00 - 26-07 07:30:00 @ 22.1p 0.0%, 26-07 07:30:00 - 26-07 08:00:00 @ 22.1p 0.0%, 26-07 08:00:00 - 26-07 08:30:00 @ 22.1p 0.0%, 26-07 08:30:00 - 26-07 09:00:00 @ 22.1p 0.0% ]
2024-07-24 08:50:47.258556 INFO pred_bat: Will recompute the plan as it is now 10.0 minutes old and will exceed the max age of 10 minutes before the next run
2024-07-24 08:50:47.144983 INFO pred_bat: Inverter 0 Current reserve is 4.0 already at target
2024-07-24 08:50:47.132065 INFO pred_bat: Adjust reserve to default (as set_reserve_enable is true)
2024-07-24 08:50:46.491470 INFO pred_bat: Inverter 0 Call service select/select_option with data {'entity_id': 'select.solaredge_i1_storage_command_mode', 'option': 'Maximize Self Consumption'}
2024-07-24 08:50:46.487051 INFO pred_bat: Inverter 0 Call service template charge_stop_service = {'service': 'select.select_option', 'entity_id': 'select.solaredge_i1_storage_command_mode', 'option': 'Maximize Self Consumption'}
2024-07-24 08:50:46.482661 INFO pred_bat: Adjust idle time computed idle is 08:50:00-23:59:00
2024-07-24 08:50:46.478042 INFO pred_bat: Adjust idle time, charge 00:00:00-00:00:00 discharge 00:00:00-00:00:00
2024-07-24 08:50:46.473739 INFO pred_bat: Inverter 0 Adjust force discharge to False, change times from 00:00:00 - 00:00:00 to 00:00:00 - 00:00:00
2024-07-24 08:50:46.469190 INFO pred_bat: Setting ECO mode as we are not yet within the discharge window - next time is 07-25 18:35:00 - 07-25 19:00:00
2024-07-24 08:50:46.465218 INFO pred_bat: Next discharge window will be: 2024-07-25 18:35:00+01:00 - 2024-07-25 19:01:00+01:00 at reserve 74
2024-07-24 08:50:46.461635 INFO pred_bat: Not setting charging window yet as not within the window (now 07-24 08:50:00 target set_window_minutes 30 charge start time 07-24 15:00:00)
2024-07-24 08:50:46.457921 INFO pred_bat: Charge window will be: 2024-07-24 15:00:00+01:00 - 2024-07-24 16:00:00+01:00 - current soc 59 target 100
2024-07-24 08:50:46.415265 INFO pred_bat: Low import rate windows [0: 07-24 08:30:00 - 07-24 09:00:00 @ 22.1, 1: 07-24 09:00:00 - 07-24 09:30:00 @ 22.1, 2: 07-24 09:30:00 - 07-24 10:00:00 @ 22.1, 3: 07-24 10:00:00 - 07-24 10:30:00 @ 22.1, 4: 07-24 10:30:00 - 07-24 11:00:00 @ 22.1, 5: 07-24 11:00:00 - 07-24 11:30:00 @ 22.1, 6: 07-24 11:30:00 - 07-24 12:00:00 @ 22.1, 7: 07-24 12:00:00 - 07-24 12:30:00 @ 22.1, 8: 07-24 12:30:00 - 07-24 13:00:00 @ 22.1, 9: 07-24 13:00:00 - 07-24 13:30:00 @ 22.1, 10: 07-24 13:30:00 - 07-24 14:00:00 @ 22.1, 11: 07-24 14:00:00 - 07-24 14:30:00 @ 22.1, 12: 07-24 14:30:00 - 07-24 15:00:00 @ 22.1, 13: 07-24 15:00:00 - 07-24 15:30:00 @ 22.1, 14: 07-24 15:30:00 - 07-24 16:00:00 @ 22.1, 15: 07-24 19:00:00 - 07-24 19:30:00 @ 22.1, 16: 07-24 19:30:00 - 07-24 20:00:00 @ 22.1, 17: 07-24 20:00:00 - 07-24 20:30:00 @ 22.1, 18: 07-24 20:30:00 - 07-24 21:00:00 @ 22.1, 19: 07-24 21:00:00 - 07-24 21:30:00 @ 22.1, 20: 07-24 21:30:00 - 07-24 22:00:00 @ 22.1, 21: 07-24 22:00:00 - 07-24 22:30:00 @ 22.1, 22: 07-24 22:30:00 - 07-24 23:00:00 @ 22.1, 23: 07-24 23:00:00 - 07-24 23:30:00 @ 22.1, 24: 07-24 23:30:00 - 07-25 00:00:00 @ 22.1, 25: 07-25 00:00:00 - 07-25 00:30:00 @ 22.1, 26: 07-25 00:30:00 - 07-25 01:00:00 @ 22.1, 27: 07-25 01:00:00 - 07-25 01:30:00 @ 22.1, 28: 07-25 01:30:00 - 07-25 02:00:00 @ 22.1, 29: 07-25 02:00:00 - 07-25 02:30:00 @ 13.26, 30: 07-25 02:30:00 - 07-25 03:00:00 @ 13.26, 31: 07-25 03:00:00 - 07-25 03:30:00 @ 13.26, 32: 07-25 03:30:00 - 07-25 04:00:00 @ 13.26, 33: 07-25 04:00:00 - 07-25 04:30:00 @ 13.26, 34: 07-25 04:30:00 - 07-25 05:00:00 @ 13.26, 35: 07-25 05:00:00 - 07-25 05:30:00 @ 22.1, 36: 07-25 05:30:00 - 07-25 06:00:00 @ 22.1, 37: 07-25 06:00:00 - 07-25 06:30:00 @ 22.1, 38: 07-25 06:30:00 - 07-25 07:00:00 @ 22.1, 39: 07-25 07:00:00 - 07-25 07:30:00 @ 22.1, 40: 07-25 07:30:00 - 07-25 08:00:00 @ 22.1, 41: 07-25 08:00:00 - 07-25 08:30:00 @ 22.1, 42: 07-25 08:30:00 - 07-25 09:00:00 @ 22.1, 43: 07-25 09:00:00 - 07-25 09:30:00 @ 22.1, 44: 07-25 09:30:00 - 07-25 10:00:00 @ 22.1, 45: 07-25 10:00:00 - 07-25 10:30:00 @ 22.1, 46: 07-25 10:30:00 - 07-25 11:00:00 @ 22.1, 47: 07-25 11:00:00 - 07-25 11:30:00 @ 22.1, 48: 07-25 11:30:00 - 07-25 12:00:00 @ 22.1, 49: 07-25 12:00:00 - 07-25 12:30:00 @ 22.1, 50: 07-25 12:30:00 - 07-25 13:00:00 @ 22.1, 51: 07-25 13:00:00 - 07-25 13:30:00 @ 22.1, 52: 07-25 13:30:00 - 07-25 14:00:00 @ 22.1, 53: 07-25 14:00:00 - 07-25 14:30:00 @ 22.1, 54: 07-25 14:30:00 - 07-25 15:00:00 @ 22.1, 55: 07-25 15:00:00 - 07-25 15:30:00 @ 22.1, 56: 07-25 15:30:00 - 07-25 16:00:00 @ 22.1, 57: 07-25 19:00:00 - 07-25 19:30:00 @ 22.1, 58: 07-25 19:30:00 - 07-25 20:00:00 @ 22.1, 59: 07-25 20:00:00 - 07-25 20:30:00 @ 22.1, 60: 07-25 20:30:00 - 07-25 21:00:00 @ 22.1, 61: 07-25 21:00:00 - 07-25 21:30:00 @ 22.1, 62: 07-25 21:30:00 - 07-25 22:00:00 @ 22.1, 63: 07-25 22:00:00 - 07-25 22:30:00 @ 22.1, 64: 07-25 22:30:00 - 07-25 23:00:00 @ 22.1, 65: 07-25 23:00:00 - 07-25 23:30:00 @ 22.1, 66: 07-25 23:30:00 - 07-26 00:00:00 @ 22.1, 67: 07-26 00:00:00 - 07-26 00:30:00 @ 22.1, 68: 07-26 00:30:00 - 07-26 01:00:00 @ 22.1, 69: 07-26 01:00:00 - 07-26 01:30:00 @ 22.1, 70: 07-26 01:30:00 - 07-26 02:00:00 @ 22.1, 71: 07-26 02:00:00 - 07-26 02:30:00 @ 13.26, 72: 07-26 02:30:00 - 07-26 03:00:00 @ 13.26, 73: 07-26 03:00:00 - 07-26 03:30:00 @ 13.26, 74: 07-26 03:30:00 - 07-26 04:00:00 @ 13.26, 75: 07-26 04:00:00 - 07-26 04:30:00 @ 13.26, 76: 07-26 04:30:00 - 07-26 05:00:00 @ 13.26, 77: 07-26 05:00:00 - 07-26 05:30:00 @ 22.1, 78: 07-26 05:30:00 - 07-26 06:00:00 @ 22.1, 79: 07-26 06:00:00 - 07-26 06:30:00 @ 22.1, 80: 07-26 06:30:00 - 07-26 07:00:00 @ 22.1, 81: 07-26 07:00:00 - 07-26 07:30:00 @ 22.1, 82: 07-26 07:30:00 - 07-26 08:00:00 @ 22.1, 83: 07-26 08:00:00 - 07-26 08:30:00 @ 22.1, 84: 07-26 08:30:00 - 07-26 09:00:00 @ 22.1]
2024-07-24 08:50:46.054704 INFO pred_bat: Import threshold used for optimisation was 14.4p
2024-07-24 08:50:46.012090 INFO pred_bat: High export rate windows [0: 07-24 08:30:00 - 07-24 09:00:00 @ 14.84, 1: 07-24 09:00:00 - 07-24 09:30:00 @ 14.84, 2: 07-24 09:30:00 - 07-24 10:00:00 @ 14.84, 3: 07-24 10:00:00 - 07-24 10:30:00 @ 14.84, 4: 07-24 10:30:00 - 07-24 11:00:00 @ 14.84, 5: 07-24 11:00:00 - 07-24 11:30:00 @ 14.84, 6: 07-24 11:30:00 - 07-24 12:00:00 @ 14.84, 7: 07-24 12:00:00 - 07-24 12:30:00 @ 14.84, 8: 07-24 12:30:00 - 07-24 13:00:00 @ 14.84, 9: 07-24 13:00:00 - 07-24 13:30:00 @ 14.84, 10: 07-24 13:30:00 - 07-24 14:00:00 @ 14.84, 11: 07-24 14:00:00 - 07-24 14:30:00 @ 14.84, 12: 07-24 14:30:00 - 07-24 15:00:00 @ 14.84, 13: 07-24 15:00:00 - 07-24 15:30:00 @ 14.84, 14: 07-24 15:30:00 - 07-24 16:00:00 @ 14.84, 15: 07-24 16:00:00 - 07-24 16:30:00 @ 22.39, 16: 07-24 16:30:00 - 07-24 17:00:00 @ 22.39, 17: 07-24 17:00:00 - 07-24 17:30:00 @ 22.39, 18: 07-24 17:30:00 - 07-24 18:00:00 @ 22.39, 19: 07-24 18:00:00 - 07-24 18:30:00 @ 22.39, 20: 07-24 18:30:00 - 07-24 19:00:00 @ 22.39, 21: 07-24 19:00:00 - 07-24 19:30:00 @ 14.84, 22: 07-24 19:30:00 - 07-24 20:00:00 @ 14.84, 23: 07-24 20:00:00 - 07-24 20:30:00 @ 14.84, 24: 07-24 20:30:00 - 07-24 21:00:00 @ 14.84, 25: 07-24 21:00:00 - 07-24 21:30:00 @ 14.84, 26: 07-24 21:30:00 - 07-24 22:00:00 @ 14.84, 27: 07-24 22:00:00 - 07-24 22:30:00 @ 14.84, 28: 07-24 22:30:00 - 07-24 23:00:00 @ 14.84, 29: 07-24 23:00:00 - 07-24 23:30:00 @ 14.84, 30: 07-24 23:30:00 - 07-25 00:00:00 @ 14.84, 31: 07-25 00:00:00 - 07-25 00:30:00 @ 14.84, 32: 07-25 00:30:00 - 07-25 01:00:00 @ 14.84, 33: 07-25 01:00:00 - 07-25 01:30:00 @ 14.84, 34: 07-25 01:30:00 - 07-25 02:00:00 @ 14.84, 35: 07-25 05:00:00 - 07-25 05:30:00 @ 14.84, 36: 07-25 05:30:00 - 07-25 06:00:00 @ 14.84, 37: 07-25 06:00:00 - 07-25 06:30:00 @ 14.84, 38: 07-25 06:30:00 - 07-25 07:00:00 @ 14.84, 39: 07-25 07:00:00 - 07-25 07:30:00 @ 14.84, 40: 07-25 07:30:00 - 07-25 08:00:00 @ 14.84, 41: 07-25 08:00:00 - 07-25 08:30:00 @ 14.84, 42: 07-25 08:30:00 - 07-25 09:00:00 @ 14.84, 43: 07-25 09:00:00 - 07-25 09:30:00 @ 14.84, 44: 07-25 09:30:00 - 07-25 10:00:00 @ 14.84, 45: 07-25 10:00:00 - 07-25 10:30:00 @ 14.84, 46: 07-25 10:30:00 - 07-25 11:00:00 @ 14.84, 47: 07-25 11:00:00 - 07-25 11:30:00 @ 14.84, 48: 07-25 11:30:00 - 07-25 12:00:00 @ 14.84, 49: 07-25 12:00:00 - 07-25 12:30:00 @ 14.84, 50: 07-25 12:30:00 - 07-25 13:00:00 @ 14.84, 51: 07-25 13:00:00 - 07-25 13:30:00 @ 14.84, 52: 07-25 13:30:00 - 07-25 14:00:00 @ 14.84, 53: 07-25 14:00:00 - 07-25 14:30:00 @ 14.84, 54: 07-25 14:30:00 - 07-25 15:00:00 @ 14.84, 55: 07-25 15:00:00 - 07-25 15:30:00 @ 14.84, 56: 07-25 15:30:00 - 07-25 16:00:00 @ 14.84, 57: 07-25 16:00:00 - 07-25 16:30:00 @ 22.39, 58: 07-25 16:30:00 - 07-25 17:00:00 @ 22.39, 59: 07-25 17:00:00 - 07-25 17:30:00 @ 22.39, 60: 07-25 17:30:00 - 07-25 18:00:00 @ 22.39, 61: 07-25 18:00:00 - 07-25 18:30:00 @ 22.39, 62: 07-25 18:30:00 - 07-25 19:00:00 @ 22.39, 63: 07-25 19:00:00 - 07-25 19:30:00 @ 14.84, 64: 07-25 19:30:00 - 07-25 20:00:00 @ 14.84, 65: 07-25 20:00:00 - 07-25 20:30:00 @ 14.84, 66: 07-25 20:30:00 - 07-25 21:00:00 @ 14.84, 67: 07-25 21:00:00 - 07-25 21:30:00 @ 14.84, 68: 07-25 21:30:00 - 07-25 22:00:00 @ 14.84, 69: 07-25 22:00:00 - 07-25 22:30:00 @ 14.84, 70: 07-25 22:30:00 - 07-25 23:00:00 @ 14.84, 71: 07-25 23:00:00 - 07-25 23:30:00 @ 14.84, 72: 07-25 23:30:00 - 07-26 00:00:00 @ 14.84, 73: 07-26 00:00:00 - 07-26 00:30:00 @ 14.84, 74: 07-26 00:30:00 - 07-26 01:00:00 @ 14.84, 75: 07-26 01:00:00 - 07-26 01:30:00 @ 14.84, 76: 07-26 01:30:00 - 07-26 02:00:00 @ 14.84, 77: 07-26 05:00:00 - 07-26 05:30:00 @ 14.84, 78: 07-26 05:30:00 - 07-26 06:00:00 @ 14.84, 79: 07-26 06:00:00 - 07-26 06:30:00 @ 14.84, 80: 07-26 06:30:00 - 07-26 07:00:00 @ 14.84, 81: 07-26 07:00:00 - 07-26 07:30:00 @ 14.84, 82: 07-26 07:30:00 - 07-26 08:00:00 @ 14.84, 83: 07-26 08:00:00 - 07-26 08:30:00 @ 14.84, 84: 07-26 08:30:00 - 07-26 09:00:00 @ 14.84]
2024-07-24 08:50:45.655213 INFO pred_bat: Export threshold used for optimisation was 20.6p
2024-07-24 08:50:45.154541 INFO pred_bat: Best charging limit socs [9.7, 9.7, 9.7, 9.7] export [74] gives import battery 26.55 house 1.76 export 26.97 metric 377.5 metric10 1164.32
2024-07-24 08:50:45.109892 INFO pred_bat: Evaluate trigger {'name': 'small', 'minutes': 15, 'energy': 0.25} results off total_energy 0
2024-07-24 08:50:45.064386 INFO pred_bat: Evaluate trigger {'name': 'large', 'minutes': 60, 'energy': 1.0} results off total_energy 0
2024-07-24 08:50:43.924323 INFO pred_bat: STATE: [ , , , , , , , , , , , , , Chrg, Chrg, , , , , , , , , , , , , , , , , , , , , Chrg, Chrg, Chrg, Chrg, Chrg, Chrg, , , , , , , , , , , , , , , , , , , , , , , , , , , , Dis, , , , , , , , , , , , , , , Chrg, Chrg, Chrg, Chrg, Chrg, Chrg, , , , , , , ]
2024-07-24 08:50:43.914444 INFO pred_bat: METRIC: [ 287.42, 287.42, 287.42, 287.42, 287.42, 287.42, 287.42, 270.28, 248.46, 229.96, 215.07, 200.57, 188.81, 180.27, 174.44, 171.97, 171.97, 171.97, 171.97, 171.97, 171.97, 171.97, 171.97, 171.97, 171.97, 171.97, 171.97, 171.97, 171.97, 171.97, 171.97, 171.97, 245.98, 255.85, 265.96, 275.89, 316.54, 357.76, 399.12, 433.67, 442.65, 449.36, 449.36, 449.36, 449.36, 449.36, 449.36, 449.36, 449.36, 449.36, 449.36, 449.36, 449.36, 449.36, 443.74, 422.9, 400.13, 377.67, 355.86, 333.61, 312.1, 291.43, 271.87, 251.39, 223.98, 201.72, 184.22, 172.12, 165.72, 131.4, 131.4, 131.4, 131.4, 131.4, 131.4, 131.4, 131.4, 131.4, 131.4, 131.4, 196.52, 196.52, 196.52, 196.52, 237.45, 278.68, 320.28, 352.81, 361.2, 368.06, 368.06, 368.06, 368.06, 368.06, 368.06, 368.06]
2024-07-24 08:50:43.905860 INFO pred_bat: EXPORT: [ 0.4, 0.4, 0.4, 0.4, 0.4, 0.4, 0.4, 1.56, 3.03, 4.27, 5.28, 6.26, 7.05, 7.62, 8.02, 8.19, 8.19, 8.19, 8.19, 8.19, 8.19, 8.19, 8.19, 8.19, 8.19, 8.19, 8.19, 8.19, 8.19, 8.19, 8.19, 8.19, 8.19, 8.19, 8.19, 8.19, 8.19, 8.19, 8.19, 8.19, 8.19, 8.19, 8.19, 8.19, 8.19, 8.19, 8.19, 8.19, 8.19, 8.19, 8.19, 8.19, 8.19, 8.19, 8.57, 9.98, 11.51, 13.03, 14.49, 15.99, 17.44, 18.84, 20.16, 21.54, 22.76, 23.75, 24.54, 25.08, 25.36, 26.9, 26.9, 26.9, 26.9, 26.9, 26.9, 26.9, 26.9, 26.9, 26.9, 26.9, 26.9, 26.9, 26.9, 26.9, 26.9, 26.9, 26.9, 26.9, 26.9, 26.9, 26.9, 26.9, 26.9, 26.9, 26.9, 26.9]
2024-07-24 08:50:43.898019 INFO pred_bat: IMPORT: [ 15.59, 15.59, 15.59, 15.59, 15.59, 15.59, 15.59, 15.59, 15.59, 15.59, 15.59, 15.59, 15.59, 15.59, 15.59, 15.59, 15.59, 15.59, 15.59, 15.59, 15.59, 15.59, 15.59, 15.59, 15.59, 15.59, 15.59, 15.59, 15.59, 15.59, 15.59, 15.59, 16.0, 16.44, 16.9, 17.35, 20.42, 23.52, 26.64, 29.25, 29.93, 30.43, 30.43, 30.43, 30.43, 30.43, 30.43, 30.43, 30.43, 30.43, 30.43, 30.43, 30.43, 30.43, 30.43, 30.43, 30.43, 30.43, 30.43, 30.43, 30.43, 30.43, 30.43, 30.43, 30.43, 30.43, 30.43, 30.43, 30.43, 30.43, 30.43, 30.43, 30.43, 30.43, 30.43, 30.43, 30.43, 30.43, 30.43, 30.43, 30.43, 30.43, 30.43, 30.43, 33.52, 36.63, 39.77, 42.22, 42.85, 43.37, 43.37, 43.37, 43.37, 43.37, 43.37, 43.37]
2024-07-24 08:50:43.889821 INFO pred_bat: PV: [ 2.5, 2.76, 3.63, 4.99, 6.42, 8.31, 10.81, 13.58, 16.21, 18.59, 20.73, 22.65, 24.35, 25.85, 27.14, 28.22, 29.1, 29.8, 30.35, 30.81, 31.16, 31.43, 31.65, 31.81, 31.9, 31.93, 31.93, 31.93, 31.93, 31.93, 31.93, 31.93, 31.93, 31.93, 31.93, 31.93, 31.93, 31.93, 31.93, 31.93, 31.93, 31.93, 31.93, 31.94, 32.0, 32.13, 32.37, 32.76, 33.21, 33.64, 34.39, 35.52, 37.07, 39.04, 41.33, 43.83, 46.51, 49.32, 52.1, 54.74, 57.2, 59.49, 61.73, 64.02, 66.18, 68.1, 69.79, 71.29, 72.61, 73.72, 74.53, 74.98, 75.17, 75.23, 75.23, 75.23, 75.23, 75.23, 75.23, 75.23, 75.23, 75.23, 75.23, 75.23, 75.23, 75.23, 75.23, 75.23, 75.23, 75.23, 75.23, 75.25, 75.37, 75.8, 76.62, 77.64]
2024-07-24 08:50:43.881947 INFO pred_bat: LOAD: [ 11.48, 11.68, 12.36, 13.16, 14.08, 14.95, 15.9, 16.8, 17.68, 18.71, 19.77, 20.63, 21.47, 22.34, 23.17, 24.04, 24.95, 25.76, 26.64, 27.64, 28.59, 29.63, 30.59, 31.4, 32.15, 32.86, 33.49, 34.07, 34.63, 35.16, 35.64, 36.13, 36.59, 37.03, 37.49, 37.94, 38.4, 38.91, 39.42, 39.92, 40.42, 40.92, 41.46, 42.02, 42.49, 43.04, 43.67, 44.29, 44.83, 45.4, 46.08, 46.85, 47.68, 48.47, 49.35, 50.16, 50.93, 51.84, 52.78, 53.56, 54.32, 55.08, 55.91, 56.7, 57.56, 58.4, 59.24, 60.15, 61.12, 62.19, 63.21, 63.99, 64.72, 65.4, 66.02, 66.6, 67.13, 67.63, 68.1, 68.58, 69.06, 69.52, 69.99, 70.48, 70.96, 71.47, 72.0, 72.51, 73.02, 73.53, 74.13, 74.71, 75.24, 75.91, 76.56, 77.19]
2024-07-24 08:50:43.874202 INFO pred_bat: 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<bf+, g<bf+, g<bf+, g<bf+, g<bf+, g<be-, g~be-, g>be-, g>be-, g<be-, g~be-, g~be-, g~be-, g~be-, g~be+, g~be+, g~be+, g<be+, g~be+, g>be+, g>be~, g>be~, g>be~, g>be~, g>be~, g>be~, g>be~, g>be~, g>be~, g>be~, g>be~, g>be~, g>be~, g~be-, g<be-, g>be-, g~be-, g~be-, g~be-, g~be-, g~be-, g~be-, g~be-, g~be-, g~be-, g~be-, g~be-, g~be-, g<bf+, g<bf+, g<bf+, g<bf+, g<bf+, g<be-, g~be-, g<be-, g<be-, g~be-, g~be+, g~be+, g~be+]
2024-07-24 08:50:43.867212 INFO pred_bat: SOC: [ 5.69, 5.74, 5.9, 6.41, 6.85, 7.79, 9.25, 9.7, 9.7, 9.7, 9.7, 9.7, 9.7, 9.7, 9.7, 9.7, 9.63, 9.48, 9.1, 8.48, 7.83, 6.98, 6.16, 5.45, 4.73, 4.0, 3.31, 2.68, 2.08, 1.51, 0.99, 0.45, 0.39, 0.39, 0.39, 0.39, 2.79, 5.19, 7.59, 9.53, 9.7, 9.7, 9.12, 8.52, 8.06, 7.6, 7.17, 6.9, 6.78, 6.61, 6.66, 6.97, 7.63, 8.72, 9.66, 9.7, 9.7, 9.7, 9.7, 9.7, 9.7, 9.7, 9.7, 9.7, 9.7, 9.7, 9.7, 9.7, 9.7, 8.01, 7.75, 7.37, 6.77, 6.11, 5.43, 4.8, 4.23, 3.68, 3.18, 2.65, 2.13, 1.63, 1.12, 0.59, 3.0, 5.39, 7.79, 9.58, 9.7, 9.7, 9.05, 8.44, 7.99, 7.72, 7.84, 8.2]
2024-07-24 08:50:43.859540 INFO pred_bat: [ 08:50, 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, 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]
2024-07-24 08:50:43.851246 INFO pred_bat: predict best end_record 07-26 08:40:00 final soc 9.32 kWh metric 377.5 p metric_keep 20.97 min_soc 0.39 @ 07-25 00:00:00 kWh load 78.07 pv 79.3
2024-07-24 08:50:43.439567 INFO pred_bat: METRIC: [ 287.42, 287.42, 287.42, 287.42, 287.42, 287.42, 287.42, 287.42, 287.42, 287.42, 287.42, 288.85, 306.03, 324.12, 399.06, 475.39, 475.39, 475.39, 475.39, 475.39, 480.65, 514.12, 535.76, 554.01, 571.43, 588.13, 603.34, 617.52, 630.9, 643.68, 655.34, 667.38, 743.44, 754.36, 765.52, 776.37, 817.68, 859.61, 901.65, 936.84, 946.47, 953.87, 953.87, 953.87, 953.87, 953.87, 953.87, 953.87, 953.87, 953.87, 953.87, 953.87, 953.87, 953.87, 953.87, 953.87, 953.81, 941.12, 924.66, 909.42, 897.24, 887.97, 881.3, 874.44, 868.82, 867.61, 867.52, 867.52, 867.52, 851.33, 851.33, 851.33, 851.33, 851.33, 851.33, 851.33, 851.33, 851.33, 851.33, 854.42, 931.05, 942.46, 953.88, 965.63, 1007.2, 1049.14, 1091.46, 1126.89, 1136.64, 1144.23, 1144.23, 1144.23, 1144.23, 1144.23, 1144.23, 1144.23]
2024-07-24 08:50:43.430763 INFO pred_bat: EXPORT: [ 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.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.4, 0.4, 0.4, 0.4, 0.4, 0.4, 0.4, 0.4, 0.41, 1.26, 2.37, 3.4, 4.22, 4.84, 5.29, 5.76, 6.01, 6.06, 6.06, 6.06, 6.06, 6.79, 6.79, 6.79, 6.79, 6.79, 6.79, 6.79, 6.79, 6.79, 6.79, 6.79, 6.79, 6.79, 6.79, 6.79, 6.79, 6.79, 6.79, 6.79, 6.79, 6.79, 6.79, 6.79, 6.79, 6.79, 6.79, 6.79]
2024-07-24 08:50:43.420065 INFO pred_bat: IMPORT: [ 15.59, 15.59, 15.59, 15.59, 15.59, 15.59, 15.59, 15.59, 15.59, 15.59, 15.59, 15.65, 16.43, 17.25, 20.64, 24.09, 24.09, 24.09, 24.09, 24.09, 24.26, 25.34, 26.32, 27.15, 27.94, 28.69, 29.38, 30.02, 30.63, 31.21, 31.74, 32.28, 32.78, 33.27, 33.77, 34.27, 37.38, 40.54, 43.71, 46.37, 47.09, 47.65, 47.65, 47.65, 47.65, 47.65, 47.65, 47.65, 47.65, 47.65, 47.65, 47.65, 47.65, 47.65, 47.65, 47.65, 47.65, 47.65, 47.65, 47.65, 47.65, 47.65, 47.65, 47.65, 47.65, 47.65, 47.65, 47.65, 47.65, 47.65, 47.65, 47.65, 47.65, 47.65, 47.65, 47.65, 47.65, 47.65, 47.65, 47.79, 48.31, 48.83, 49.35, 49.88, 53.01, 56.18, 59.37, 62.04, 62.78, 63.35, 63.35, 63.35, 63.35, 63.35, 63.35, 63.35]
2024-07-24 08:50:43.412192 INFO pred_bat: PV: [ 2.5, 2.71, 3.24, 3.83, 4.3, 4.84, 5.62, 6.39, 7.02, 7.44, 7.71, 7.9, 8.06, 8.2, 8.33, 8.43, 8.53, 8.61, 8.7, 8.78, 8.86, 8.93, 9.0, 9.06, 9.1, 9.11, 9.11, 9.11, 9.11, 9.11, 9.11, 9.11, 9.11, 9.11, 9.11, 9.11, 9.11, 9.11, 9.11, 9.11, 9.11, 9.11, 9.11, 9.12, 9.18, 9.29, 9.48, 9.79, 10.13, 10.43, 10.97, 11.83, 13.05, 14.62, 16.45, 18.46, 20.63, 22.92, 25.13, 27.09, 28.82, 30.35, 31.77, 33.15, 34.4, 35.42, 36.25, 36.97, 37.56, 38.05, 38.39, 38.59, 38.7, 38.74, 38.74, 38.74, 38.74, 38.74, 38.74, 38.74, 38.74, 38.74, 38.74, 38.74, 38.74, 38.74, 38.74, 38.74, 38.74, 38.74, 38.74, 38.74, 38.8, 38.94, 39.18, 39.52]
2024-07-24 08:50:43.404514 INFO pred_bat: LOAD: [ 11.48, 11.76, 12.52, 13.42, 14.41, 15.39, 16.44, 17.41, 18.39, 19.54, 20.67, 21.62, 22.55, 23.5, 24.42, 25.38, 26.37, 27.26, 28.25, 29.34, 30.38, 31.53, 32.58, 33.46, 34.28, 35.06, 35.74, 36.39, 36.99, 37.57, 38.1, 38.64, 39.14, 39.63, 40.14, 40.63, 41.14, 41.7, 42.26, 42.81, 43.35, 43.91, 44.51, 45.12, 45.64, 46.25, 46.96, 47.63, 48.22, 48.85, 49.6, 50.47, 51.37, 52.25, 53.22, 54.1, 54.96, 55.97, 56.98, 57.84, 58.67, 59.52, 60.43, 61.3, 62.24, 63.17, 64.1, 65.09, 66.18, 67.36, 68.45, 69.31, 70.11, 70.85, 71.53, 72.17, 72.74, 73.29, 73.8, 74.34, 74.86, 75.37, 75.89, 76.42, 76.95, 77.51, 78.1, 78.66, 79.22, 79.79, 80.46, 81.08, 81.68, 82.41, 83.14, 83.82]
2024-07-24 08:50:43.396791 INFO pred_bat: 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<bf+, g<bf+, g~be-, g<be-, g>be-, g>be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<be-, g<bf+, g<bf+, g<bf+, g<bf+, g<bf+, g<be-, g~be-, g<be-, g<be-, g~be-, g~be-, g>be-, g>be-, g>be-, g~be+, g~be+, g~be+, g<be+, g~be+, g~be+, g>be+, g>be+, g>be+, g>be~, g>be~, g>be~, g>be~, g>be~, g>be~, g>be~, g>be+, g~be-, g~be-, g>be-, g<be-, g<be-, g~be-, g>be-, g~be-, g~be-, g~be-, g~be-, g~be-, g~be-, g<be-, g<be-, g<be-, g<be-, g<bf+, g<bf+, g<bf+, g<bf+, g<bf+, g<be-, g~be-, g<be-, g~be-, g>be-, g>be-, g~be-, g>be-]
2024-07-24 08:50:43.389943 INFO pred_bat: SOC: [ 5.69, 5.61, 5.33, 4.97, 4.38, 3.89, 3.57, 3.32, 2.9, 2.09, 1.14, 0.39, 0.39, 0.39, 2.79, 5.19, 4.21, 3.34, 2.35, 1.25, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 2.79, 5.19, 7.59, 9.53, 9.7, 9.7, 9.05, 8.4, 7.89, 7.35, 6.78, 6.37, 6.08, 5.72, 5.46, 5.4, 5.68, 6.3, 7.1, 8.14, 9.36, 9.7, 9.7, 9.7, 9.7, 9.7, 9.7, 9.7, 9.7, 9.69, 9.54, 9.21, 8.64, 7.1, 6.27, 5.54, 4.78, 4.02, 3.28, 2.59, 1.97, 1.37, 0.82, 0.39, 0.39, 0.39, 0.39, 0.39, 2.79, 5.19, 7.59, 9.53, 9.7, 9.7, 8.97, 8.31, 7.72, 7.07, 6.53, 6.14]
2024-07-24 08:50:43.382321 INFO pred_bat: [ 08:50, 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, 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]
2024-07-24 08:50:43.373908 INFO pred_bat: predict best10 end_record 07-26 08:40:00 final soc 6.57 kWh metric 1164.32 p metric_keep 165.89 min_soc 0.39 @ 07-24 18:25:00 kWh load 84.79 pv 40.11
2024-07-24 08:50:42.957452 INFO pred_bat: METRIC: [ 287.42, 287.42, 287.42, 287.42, 287.42, 287.42, 287.42, 287.42, 287.42, 287.42, 287.42, 288.85, 306.03, 324.12, 341.74, 360.7, 388.59, 413.55, 441.68, 473.08, 502.83, 536.29, 557.94, 576.19, 593.61, 610.3, 625.51, 639.7, 653.08, 665.86, 677.51, 689.56, 765.61, 776.53, 787.7, 798.54, 805.33, 812.73, 820.24, 827.46, 834.71, 842.11, 855.36, 868.53, 878.89, 890.05, 901.6, 909.86, 915.75, 923.23, 928.46, 929.66, 929.66, 929.66, 929.66, 929.66, 929.66, 929.66, 929.66, 929.66, 929.66, 929.66, 929.66, 924.58, 918.95, 917.75, 917.65, 917.65, 917.65, 917.65, 917.65, 917.65, 917.65, 917.65, 917.65, 917.65, 917.65, 917.65, 917.65, 917.65, 982.77, 992.76, 1004.18, 1015.93, 1022.98, 1030.39, 1038.17, 1045.63, 1053.0, 1060.59, 1075.44, 1088.96, 1100.93, 1114.26, 1125.26, 1133.01]
2024-07-24 08:50:42.948832 INFO pred_bat: EXPORT: [ 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.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.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.74, 1.0, 1.05, 1.05, 1.05, 1.05, 1.05, 1.05, 1.05, 1.05, 1.05, 1.05, 1.05, 1.05, 1.05, 1.05, 1.05, 1.05, 1.05, 1.05, 1.05, 1.05, 1.05, 1.05, 1.05, 1.05, 1.05, 1.05, 1.05, 1.05, 1.05, 1.05, 1.05]
2024-07-24 08:50:42.941150 INFO pred_bat: IMPORT: [ 15.59, 15.59, 15.59, 15.59, 15.59, 15.59, 15.59, 15.59, 15.59, 15.59, 15.59, 15.65, 16.43, 17.25, 18.04, 18.9, 19.8, 20.61, 21.52, 22.54, 23.5, 24.58, 25.56, 26.38, 27.17, 27.93, 28.62, 29.26, 29.86, 30.44, 30.97, 31.51, 32.01, 32.5, 33.01, 33.5, 34.01, 34.57, 35.14, 35.68, 36.23, 36.78, 37.38, 37.98, 38.45, 38.95, 39.48, 39.85, 40.12, 40.46, 40.69, 40.75, 40.75, 40.75, 40.75, 40.75, 40.75, 40.75, 40.75, 40.75, 40.75, 40.75, 40.75, 40.75, 40.75, 40.75, 40.75, 40.75, 40.75, 40.75, 40.75, 40.75, 40.75, 40.75, 40.75, 40.75, 40.75, 40.75, 40.75, 40.75, 40.75, 41.2, 41.72, 42.25, 42.78, 43.34, 43.92, 44.49, 45.04, 45.62, 46.29, 46.9, 47.44, 48.04, 48.54, 48.89]
2024-07-24 08:50:42.933338 INFO pred_bat: PV: [ 2.5, 2.71, 3.24, 3.83, 4.3, 4.84, 5.62, 6.39, 7.02, 7.44, 7.71, 7.9, 8.06, 8.2, 8.33, 8.43, 8.53, 8.61, 8.7, 8.78, 8.86, 8.93, 9.0, 9.06, 9.1, 9.11, 9.11, 9.11, 9.11, 9.11, 9.11, 9.11, 9.11, 9.11, 9.11, 9.11, 9.11, 9.11, 9.11, 9.11, 9.11, 9.11, 9.11, 9.12, 9.18, 9.29, 9.48, 9.79, 10.13, 10.43, 10.97, 11.83, 13.05, 14.62, 16.45, 18.46, 20.63, 22.92, 25.13, 27.09, 28.82, 30.35, 31.77, 33.15, 34.4, 35.42, 36.25, 36.97, 37.56, 38.05, 38.39, 38.59, 38.7, 38.74, 38.74, 38.74, 38.74, 38.74, 38.74, 38.74, 38.74, 38.74, 38.74, 38.74, 38.74, 38.74, 38.74, 38.74, 38.74, 38.74, 38.74, 38.74, 38.8, 38.94, 39.18, 39.52]
2024-07-24 08:50:42.925750 INFO pred_bat: LOAD: [ 11.48, 11.76, 12.52, 13.42, 14.41, 15.39, 16.44, 17.41, 18.39, 19.54, 20.67, 21.62, 22.55, 23.5, 24.42, 25.38, 26.37, 27.26, 28.25, 29.34, 30.38, 31.53, 32.58, 33.46, 34.28, 35.06, 35.74, 36.39, 36.99, 37.57, 38.1, 38.64, 39.14, 39.63, 40.14, 40.63, 41.14, 41.7, 42.26, 42.81, 43.35, 43.91, 44.51, 45.12, 45.64, 46.25, 46.96, 47.63, 48.22, 48.85, 49.6, 50.47, 51.37, 52.25, 53.22, 54.1, 54.96, 55.97, 56.98, 57.84, 58.67, 59.52, 60.43, 61.3, 62.24, 63.17, 64.1, 65.09, 66.18, 67.36, 68.45, 69.31, 70.11, 70.85, 71.53, 72.17, 72.74, 73.29, 73.8, 74.34, 74.86, 75.37, 75.89, 76.42, 76.95, 77.51, 78.1, 78.66, 79.22, 79.79, 80.46, 81.08, 81.68, 82.41, 83.14, 83.82]
2024-07-24 08:50:42.918055 INFO pred_bat: 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-07-24 08:50:42.911186 INFO pred_bat: SOC: [ 5.69, 5.61, 5.33, 4.97, 4.38, 3.89, 3.57, 3.32, 2.9, 2.09, 1.14, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.67, 1.29, 2.09, 3.13, 4.35, 5.55, 6.66, 7.68, 8.51, 9.13, 9.58, 9.7, 9.7, 9.69, 9.54, 9.21, 8.64, 7.88, 7.06, 6.33, 5.57, 4.81, 4.07, 3.38, 2.76, 2.16, 1.6, 1.02, 0.46, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39]
2024-07-24 08:50:42.903513 INFO pred_bat: [ 08:50, 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, 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]
2024-07-24 08:50:42.895212 INFO pred_bat: predict base10 end_record 07-26 08:40:00 final soc 0.39 kWh metric 1141.82 p metric_keep 370.35 min_soc 0.39 @ 07-24 13:55:00 kWh load 84.79 pv 40.11
2024-07-24 08:50:42.727613 INFO pred_bat: Battery has 15.17 hours left - now at 5.69
2024-07-24 08:50:41.669296 INFO pred_bat: METRIC: [ 287.42, 287.42, 287.42, 287.42, 287.42, 287.42, 287.42, 270.28, 248.46, 229.96, 215.07, 200.57, 188.81, 180.27, 174.44, 171.92, 171.92, 171.92, 171.92, 171.92, 171.92, 171.92, 171.92, 171.92, 171.92, 171.92, 171.92, 171.92, 171.92, 171.92, 171.92, 171.92, 245.94, 255.81, 265.93, 275.85, 281.98, 288.67, 295.49, 302.07, 308.67, 315.38, 327.26, 339.43, 348.67, 358.2, 366.81, 372.44, 374.8, 378.25, 378.3, 378.3, 378.3, 378.3, 378.3, 378.3, 378.23, 378.07, 364.26, 342.01, 320.49, 299.82, 280.27, 259.79, 232.38, 210.12, 192.62, 180.52, 174.12, 174.12, 174.12, 174.12, 174.12, 174.12, 174.12, 174.12, 174.12, 174.12, 174.12, 174.12, 239.24, 239.24, 239.24, 239.24, 239.24, 239.24, 239.24, 243.21, 249.92, 256.78, 270.0, 282.48, 291.63, 297.18, 297.18, 297.18]
2024-07-24 08:50:41.660725 INFO pred_bat: EXPORT: [ 0.4, 0.4, 0.4, 0.4, 0.4, 0.4, 0.4, 1.56, 3.03, 4.27, 5.28, 6.26, 7.05, 7.62, 8.02, 8.19, 8.19, 8.19, 8.19, 8.19, 8.19, 8.19, 8.19, 8.19, 8.19, 8.19, 8.19, 8.19, 8.19, 8.19, 8.19, 8.19, 8.19, 8.19, 8.19, 8.19, 8.19, 8.19, 8.19, 8.19, 8.19, 8.19, 8.19, 8.19, 8.19, 8.19, 8.19, 8.19, 8.19, 8.19, 8.19, 8.19, 8.19, 8.19, 8.19, 8.19, 8.19, 8.2, 9.13, 10.63, 12.08, 13.48, 14.79, 16.17, 17.4, 18.39, 19.17, 19.72, 20.0, 20.0, 20.0, 20.0, 20.0, 20.0, 20.0, 20.0, 20.0, 20.0, 20.0, 20.0, 20.0, 20.0, 20.0, 20.0, 20.0, 20.0, 20.0, 20.0, 20.0, 20.0, 20.0, 20.0, 20.0, 20.0, 20.0, 20.0]
2024-07-24 08:50:41.653090 INFO pred_bat: IMPORT: [ 15.59, 15.59, 15.59, 15.59, 15.59, 15.59, 15.59, 15.59, 15.59, 15.59, 15.59, 15.59, 15.59, 15.59, 15.59, 15.59, 15.59, 15.59, 15.59, 15.59, 15.59, 15.59, 15.59, 15.59, 15.59, 15.59, 15.59, 15.59, 15.59, 15.59, 15.59, 15.59, 15.99, 16.44, 16.89, 17.34, 17.81, 18.31, 18.82, 19.32, 19.82, 20.32, 20.86, 21.41, 21.83, 22.26, 22.65, 22.91, 23.01, 23.17, 23.17, 23.17, 23.17, 23.17, 23.17, 23.17, 23.17, 23.17, 23.17, 23.17, 23.17, 23.17, 23.17, 23.17, 23.17, 23.17, 23.17, 23.17, 23.17, 23.17, 23.17, 23.17, 23.17, 23.17, 23.17, 23.17, 23.17, 23.17, 23.17, 23.17, 23.17, 23.17, 23.17, 23.17, 23.17, 23.17, 23.17, 23.47, 23.98, 24.49, 25.09, 25.66, 26.07, 26.32, 26.32, 26.32]
2024-07-24 08:50:41.645131 INFO pred_bat: PV: [ 2.5, 2.76, 3.63, 4.99, 6.42, 8.31, 10.81, 13.58, 16.21, 18.59, 20.73, 22.65, 24.35, 25.85, 27.14, 28.22, 29.1, 29.8, 30.35, 30.81, 31.16, 31.43, 31.65, 31.81, 31.9, 31.93, 31.93, 31.93, 31.93, 31.93, 31.93, 31.93, 31.93, 31.93, 31.93, 31.93, 31.93, 31.93, 31.93, 31.93, 31.93, 31.93, 31.93, 31.94, 32.0, 32.13, 32.37, 32.76, 33.21, 33.64, 34.39, 35.52, 37.07, 39.04, 41.33, 43.83, 46.51, 49.32, 52.1, 54.74, 57.2, 59.49, 61.73, 64.02, 66.18, 68.1, 69.79, 71.29, 72.61, 73.72, 74.53, 74.98, 75.17, 75.23, 75.23, 75.23, 75.23, 75.23, 75.23, 75.23, 75.23, 75.23, 75.23, 75.23, 75.23, 75.23, 75.23, 75.23, 75.23, 75.23, 75.23, 75.25, 75.37, 75.8, 76.62, 77.64]
2024-07-24 08:50:41.637294 INFO pred_bat: LOAD: [ 11.48, 11.68, 12.36, 13.16, 14.08, 14.95, 15.9, 16.8, 17.68, 18.71, 19.77, 20.63, 21.47, 22.34, 23.17, 24.04, 24.95, 25.76, 26.64, 27.64, 28.59, 29.63, 30.59, 31.4, 32.15, 32.86, 33.49, 34.07, 34.63, 35.16, 35.64, 36.13, 36.59, 37.03, 37.49, 37.94, 38.4, 38.91, 39.42, 39.92, 40.42, 40.92, 41.46, 42.02, 42.49, 43.04, 43.67, 44.29, 44.83, 45.4, 46.08, 46.85, 47.68, 48.47, 49.35, 50.16, 50.93, 51.84, 52.78, 53.56, 54.32, 55.08, 55.91, 56.7, 57.56, 58.4, 59.24, 60.15, 61.12, 62.19, 63.21, 63.99, 64.72, 65.4, 66.02, 66.6, 67.13, 67.63, 68.1, 68.58, 69.06, 69.52, 69.99, 70.48, 70.96, 71.47, 72.0, 72.51, 73.02, 73.53, 74.13, 74.71, 75.24, 75.91, 76.56, 77.19]
2024-07-24 08:50:41.629513 INFO pred_bat: 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-07-24 08:50:41.622455 INFO pred_bat: SOC: [ 5.69, 5.74, 5.9, 6.41, 6.85, 7.79, 9.25, 9.7, 9.7, 9.7, 9.7, 9.7, 9.7, 9.7, 9.7, 9.7, 9.63, 9.48, 9.1, 8.48, 7.82, 6.98, 6.16, 5.45, 4.73, 4.0, 3.31, 2.68, 2.08, 1.51, 0.99, 0.45, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.44, 0.75, 1.41, 2.5, 3.82, 5.41, 7.21, 8.99, 9.7, 9.7, 9.7, 9.7, 9.7, 9.7, 9.7, 9.7, 9.7, 9.7, 9.7, 9.69, 9.43, 9.05, 8.45, 7.78, 7.11, 6.47, 5.91, 5.36, 4.86, 4.33, 3.81, 3.31, 2.8, 2.27, 1.75, 1.2, 0.62, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.39, 0.52, 0.87]
2024-07-24 08:50:41.614396 INFO pred_bat: [ 08:50, 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, 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]
2024-07-24 08:50:41.605509 INFO pred_bat: predict base end_record 07-26 08:40:00 final soc 1.59 kWh metric 297.18 p metric_keep 101.57 min_soc 0.39 @ 07-25 00:00:00 kWh load 78.07 pv 79.3
2024-07-24 08:50:41.455153 INFO pred_bat: Creating pool of 4 processes to match your CPU count
2024-07-24 08:50:41.297756 INFO pred_bat: Load divergence over 8.0 hours mean 1641.38 W, min 1080.97 W, max 2282.59 W, std dev 218.9 W, divergence 6.67%
2024-07-24 08:50:41.273827 INFO pred_bat: PV Forecast 77.2 kWh and 10% Forecast 37.7 kWh pv cloud factor 0.3
2024-07-24 08:50:41.268241 INFO pred_bat: Best discharge window [ 25-07 18:35:00 - 25-07 19:00:00 @ 22.39p 74% ]
2024-07-24 08:50:41.265759 INFO pred_bat: Best charge window [ 24-07 15:00:00 - 24-07 16:00:00 @ 22.1p 100%, 25-07 02:00:00 - 25-07 05:00:00 @ 13.26p 100%, 26-07 02:00:00 - 26-07 05:00:00 @ 13.26p 100%, 26-07 08:30:00 - 26-07 09:00:00 @ 22.1p 100% ]
2024-07-24 08:50:41.262314 INFO pred_bat: Plan was last updated on 2024-07-24 08:40:00+01:00 and is now 10.0 minutes old
2024-07-24 08:50:41.259561 INFO pred_bat: Base discharge window [ 24-07 00:00:00 - 24-07 00:00:00 @ 0p 100.0%, 25-07 00:00:00 - 25-07 00:00:00 @ 0p 100.0% ]
2024-07-24 08:50:41.255588 INFO pred_bat: Base charge window [ ]
2024-07-24 08:50:41.071121 INFO pred_bat: Found 1 inverters totals: min reserve 0.39 current reserve 0.39 soc_max 9.7 soc 5.69 charge rate 5.0 kW discharge rate 5.0 kW battery_rate_min 0.0 w ac limit 450000.0 export limit 3.68 kW loss charge 4 % loss discharge 4 % inverter loss 4 %
2024-07-24 08:50:41.068292 INFO pred_bat: Note: Inverter does not support charge freeze - disabled
2024-07-24 08:50:41.066139 INFO pred_bat: Note: Inverter does not support discharge freeze - disabled
2024-07-24 08:50:41.063813 INFO pred_bat: Inverter 0 discharge windows currently [{'start': 0, 'end': 0, 'average': 0}, {'start': 1440, 'end': 1440, 'average': 0}]
2024-07-24 08:50:41.059957 INFO pred_bat: Inverter 0 scheduled discharge enable is False
2024-07-24 08:50:41.056275 INFO pred_bat: Inverter 0 sensor.predbat_SE_0_scheduled_discharge_enable set to False
2024-07-24 08:50:41.052617 INFO pred_bat: Inverter 0 Wrote scheduled_discharge_enable to False successfully and got off
2024-07-24 08:50:41.048566 INFO pred_bat: Inverter 0 Charge settings: timed charged is disabled, power 5.0 kW
2024-07-24 08:50:41.045134 INFO pred_bat: Inverter 0 charge windows currently []
2024-07-24 08:50:41.041834 INFO pred_bat: Inverter 0 scheduled charge enable is False
2024-07-24 08:50:41.037296 INFO pred_bat: Inverter 0 scheduled_charge_enable set to False
2024-07-24 08:50:41.034328 INFO pred_bat: Inverter 0 Wrote scheduled_charge_enable to False successfully and got off
2024-07-24 08:50:41.030773 INFO pred_bat: Inverter 0 SOC: 5.69 kW 59 % Current charge rate 5000.0 w Current discharge rate 5000.0 w Current power 1011.0 w Current voltage 52.0
2024-07-24 08:50:41.027786 INFO pred_bat: Inverter 0 scheduled_charge_enable off scheduled_discharge_enable off
2024-07-24 08:50:41.025174 INFO pred_bat: Inverter 0 with soc_max 9.7 kWh nominal_capacity 9.7 kWh battery rate raw 5000.0 w charge rate 5.0 kW discharge rate 5.0 kW battery_rate_min 0.0 w ac limit 450000.0 kW export limit 3.68 kW reserve 4.0 % current_reserve 4.0 %
2024-07-24 08:50:41.020553 INFO pred_bat: Reserve min: 4.0% Battery_min:4.0%
2024-07-24 08:50:41.015651 INFO pred_bat: Warn: Inverter 0: Using inverter type SE - not all features are available
2024-07-24 08:50:41.012566 INFO pred_bat: Inverter 0: Type SE SolarEdge
2024-07-24 08:50:40.800562 INFO pred_bat: Today's actual load so far 7.83 kWh with 0.0 kWh Car/iBoost excluded and 3.64 kWh import ignored.
2024-07-24 08:50:40.795302 INFO pred_bat: Today's predicted so far 5.67 kWh with 0.0 kWh car/iBoost excluded and 3.1 kWh import ignored and 0 forecast extra.
2024-07-24 08:50:40.789856 INFO pred_bat: Today's load divergence 107.0 % in-day adjustment 106.65 % damping 0.95x
2024-07-24 08:50:40.701043 INFO pred_bat: Historical days now [2, 3, 4, 6, 7, 8] weight [1, 0.8, 0.7, 0.5, 0.4, 0.3]
2024-07-24 08:50:40.694645 INFO pred_bat: Model filter enabled - Discarding day 5 as it is the lowest of the 7 datapoints
2024-07-24 08:50:40.689430 INFO pred_bat: Historical data totals for days [2, 3, 4, 5, 6, 7, 8] are [36.54, 26.74, 23.62, 23.17, 41.26, 32.62, 36.33] - min 23.17
2024-07-24 08:50:40.556760 INFO pred_bat: PV Forecast for day d3 is 75.17 (18.12 10% 82.7 90%) kWh
2024-07-24 08:50:40.510156 INFO pred_bat: PV Forecast for day d2 is 67.63 (24.05 10% 87.1 90%) kWh
2024-07-24 08:50:40.463646 INFO pred_bat: PV Forecast for day tomorrow is 43.3 (29.62 10% 58.1 90%) kWh
2024-07-24 08:50:40.417334 INFO pred_bat: PV Forecast for today is 32.55 (7.99 10% 62.06 90%) kWh and left today is 29.2 (6.45 10% 55.88 90%) kWh
2024-07-24 08:50:40.397254 INFO pred_bat: PV Data for pv_forecast_d4 total 75.17 kWh
2024-07-24 08:50:40.391661 INFO pred_bat: PV Data for pv_forecast_d3 total 67.63 kWh
2024-07-24 08:50:40.386540 INFO pred_bat: PV Data for pv_forecast_tomorrow total 43.3 kWh
2024-07-24 08:50:40.381364 INFO pred_bat: PV Data for pv_forecast_today total 32.55 kWh
2024-07-24 08:50:40.375142 INFO pred_bat: Using solcast from inside HA
2024-07-24 08:50:40.368254 INFO pred_bat: Today's energy import 15.59 kWh export 0.4 kWh cost 287.42 p import 293.35 p export -5.93 p carbon 0.0 kg
2024-07-24 08:50:40.216876 INFO pred_bat: Low Import rate found rates in range 13.26 to 22.1
2024-07-24 08:50:40.206672 INFO pred_bat: High export rate found rates in range 14.84 to 22.39
2024-07-24 08:50:40.194166 INFO pred_bat: Rate thresholds (for charge/discharge) are import 30.44p (0.0) export 5.21p (0.0)
2024-07-24 08:50:40.189261 INFO pred_bat: Export rates min 4.71 max 22.39 average 14.51
2024-07-24 08:50:40.145800 INFO pred_bat: Import rates min 13.26 max 30.94 average 22.1
2024-07-24 08:50:40.135050 INFO pred_bat: Rate min forward looking: now 13.26 at end of forecast 13.26
2024-07-24 08:50:39.093084 INFO pred_bat: Standing charge is set to 65.121 p
2024-07-24 08:50:39.046648 INFO pred_bat: Fetching futurerate data from None
2024-07-24 08:50:39.043308 INFO pred_bat: Current data so far today: load 11.48 kWh import 15.59 kWh export 0.4 kWh pv 2.5 kWh
2024-07-24 08:50:39.040312 INFO pred_bat: Car charging hold False threshold 6.0
2024-07-24 08:50:14.860706 INFO pred_bat: Found 12960 load_today datapoints going back 8 days
2024-07-24 08:50:00.285101 INFO pred_bat: Predbat mode is set to Control charge & discharge
2024-07-24 08:50:00.280264 INFO pred_bat: Configuration: forecast_hours 48 num_cars 0 debug enable is False calculate_plan_every 10
2024-07-24 08:50:00.199143 INFO pred_bat: Autoupdate: Currently up to date
2024-07-24 08:50:00.196265 INFO pred_bat: Predbat /config/apps/predbat.py version v8.3.1 currently running, latest version is v8.3.1 latest beta v8.3.1
2024-07-24 08:50:00.193554 INFO pred_bat: Using cached GITHub data for https://api.github.com/repos/springfall2008/batpred/releases age 100.0 minutes
2024-07-24 08:50:00.134091 INFO pred_bat: Saved current settings to /config/predbat_config.json
2024-07-24 08:50:00.130663 INFO pred_bat: --------------- PredBat - update at 2024-07-24 08:50:00+01:00 with clock skew 0 minutes, minutes now 530
Noodleyman commented 1 month ago

I'm assuming it is related to the "Warn: Failed to decode response" error, but I can't find any other errors or useful references in any other logs around the same time, so unsure what causes that or how to gather more details about what is causing it.

I've also shared that in the past, I don't think that a 0 discharge rate is valid for SolarEdge kit. whenever (manually or automated) setting to 0, it will reset back to the default value of 5000. perhaps this is the issue.

cyberkryten commented 1 month ago

I've only got one of those Warn responses at it's at the same point of execution:

2024-07-31 19:00:21.037162 INFO pred_bat: Inverter 0 Current Reserve is 49.0 % and new target is 10.0 %                                                                                                                                                                                                             
2024-07-31 19:00:24.052280 INFO pred_bat: Warn: Failed to decode response <Response [500]> from http://supervisor/core/api/services/number/set_value                                                                                                                                                                                                          
2024-07-31 19:00:32.686981 INFO pred_bat: Inverter 0 Wrote 10.0 to reserve, successfully now 10   

However, I'm guessing it wasn't an issue or was covered by the retries at history shows that the Reserve did get changed to 10% at 19:00:32, so whilst there may be a bug in there (most likely actually the inverter failing to cope!) it didn't have any effect (on my system at least). Does HA history show the value changed?

If it is "Holding Charge" then it has to get the power for the house from the grid, otherwise it would have to discharge the battery to power the house - it's battery or grid overnight.

If that is the intent (ie don't charge or discharge the battery) then I guess it could set the "Solar Power Only" mode (effectively Off as far as the battery is concerned) but I don't think that mode is supported by Predbat so I guess the Grid Charge is the closest mode that does what is intended?

As for setting Discharge rate, that works fine on my SE8000, it holds zero (or whatever other value is set) until the next overnight inverter reset - before I started using Predbat I had an automation to reset it to the required value. I know it works as I've been very closely monitoring (due to other issues).

Noodleyman commented 1 month ago

Morning @cyberkryten

Thanks for sharing your thoughts. You are correct abou tthe value of 0 for discharge rate. I reached out on the Modbus github community and validated that 0 is valid.

Interesting to see you have the same 500 error. I'm going to have to try and setup some tests to trigger the issue again and capture more details I think. The issue I have is replicating it this time of year with the way I have it setup is difficult. So I use set of automations to override Predbat so I can to Charge From Clipped mode when the forecast > 40kWh, that is almost every day this time of year thus the windows of time where it can manage the plans and want to hold is minimal. I might turn those off and keep an eye on it next week.

Based on the definitions in the PreddBat documentation: Hold charging - A type of charge where the target SoC % is the same as the current SoC %, effectively the same as a charge freeze (but without being explicitly selected).

Freeze discharging - The battery is in Discharge mode, the same as Idle (Eco) mode, but with charging disabled. The battery or solar covers the house load. As charging is disabled, if there is excess solar generated, the current SoC level will be held and the excess solar will be exported. If there is a shortfall of solar power to meet house load, the battery will discharge.

Based upon those descriptions, I would anticipate:

From the log I shared, I can see it did something along those lines but in reverse, although at the time I had my 0 to 1 workaround in place, so value is 1 not 0. 08:55:40.273500 INFO pred_bat: Inverter 0 SOC: 6.02 kW 62 % Current charge rate 5000.0 w Current discharge rate 1.0 w Current power 4998.0 w Current voltage 52.0

Discharge rate set to 1 / 0, Charge rate = 5000. but since it also set "Charge from Solar Power and Grid" mode, it will charge the battery at 5kWh rate, and since it is in charge mode it is also covering any shortfall in power needs from the grid (PV generation - usage = shortfall).

On SolarEdge equipment, if it wants to use the "Charge from Solar Power and Grid" mode for holds/freezes, it must set the number.solaredge_i1_storage_charge_limit gets set to 0 (or 1) and number.solaredge_i1_storage_discharge_limit to 5000.

If it wants to use the "Maximize Self Consumption" mode, then the number.solaredge_i1_storage_charge_limit gets set to 0 which will prioritize exports over charging.

I don't think the way it is working currently is correct, whic is why when a hold is attempting to implement it gets stuck in charging mode until it decides it wants an altenrate mode which will change the mode type

cyberkryten commented 1 month ago

But why would charge limit = 0 for "Hold charging" which is defined as "A type of charge where..."?

It isn't a full "Hold" (both charge/discharge set to zero) so some charging is expected, but it isn't entirely clear where from and the SoC being the same contradicts that and suggests no charging.

I suspect it comes from managing the car charging cycle, so the intent is for the battery level to remain constant whilst house and car charging comes from the grid, so it is "Battery Hold, Car Charge from Grid" - if that is the case, then your suggestion works and from looking at inverter.py it does seem that the intent is to set current charge limits to allow that

In my logs, that's only occurred when SOC<Target:

2024-07-31 20:45:08.606368 INFO pred_bat: Current SOC 94% is less than Target SOC 100. Grid charging enabled with charge current set to 65.00

65A @ 230V would be 14.95kW, so something isn't right! This may not actually work with SE.

If you grep for "Current SOC" in logs, see what you have as all the messages about the control have that text.

Noodleyman commented 1 month ago

I'm making a bunch of assumptions, some or most are likely incorrect. :)

I assume charge limit = 0, beacuse it has reached or exceeded the SoC target, so no need to put more power into the battery for now. I can see this was the case from the log I shared earlier: 2024-07-24 08:55:46.978091 INFO pred_bat: Adjust reserve to default as SOC 62 % is above target 59 % or charging active

It does seem to be using the RESERVE option though to set the hold targets, which does make sense, but that would also not allow discharge from the battery.

2024-07-24 08:55:46.978091 INFO pred_bat: Adjust reserve to default as SOC 62 % is above target 59 % or charging active
2024-07-24 08:55:46.993299 INFO pred_bat: Inverter 0 Current Reserve is 60.0 % and new target is 4.0 %

Although, whilst it is doing the above stuff it is still in the "Charge from Solar Power and Grid" mode, thus will continue to charge the battery from grid untl the battery is full (or mode changed, whichever comes first) at the solaredge_i1_storage_charge_limit rate of 5kWh.

I assume that a reserve set at the target hold SoC%, with "Charge from Solar Power and Grid" mode enabled and number.solaredge_i1_storage_charge_limit gets set to 0 would also work as a hold.

Everything you've described with regards to car charging cycle seems logical to me. From my earlier log and searching for "Current SOC" 2024-07-24 08:55:45.765773 INFO pred_bat: Charge window will be: 2024-07-24 08:30:00+01:00 - 2024-07-24 09:00:00+01:00 - current soc 62 target 59

I'll have a poke around the logs for "Current SOC". I am currently using the UI to view the logs, via :5051/aui/index.html#/logs. Is there a better method to access them for further history?

Noodleyman commented 1 month ago

adding some extra history covering the earlier logs time period: image

The 0 to 1 was my workaround kicking in, (since removed) image

image

image

cyberkryten commented 1 month ago

I see your inverter resets regularly and then sets the charge/discharge values to 11400 when it comes back online too - I spoke to SE about that and 'it just does that'!

For the logs, I SSH direct to the HA instance, but if you're not comfortable with that stick with how you're doing it.

I'm not really sure of the logic that gets used for Hold Charge during the day, will see if I can figure anything out when the car next charges up.

I decided that the SE "Charge from Clipped" was no use to me as it is the opposite and will never use the battery during the daytime which meant when demand is more than solar (I have AC) it ends up using the grid for that.

Noodleyman commented 1 month ago

It does indeed do the resets. I just assumed it's because it supports oversizing and 7.5kW peak. even if you set it higher it does not seem to violate the system limits so that's good :)

I'm fine with the SSH of the logs, I'm just not sure where the appropriate logs are stored so went with the UI option.

I dont have an EV, so no car chaging requirements here, thus why I have those switches disabled in config.

The charge from clipped is vital for me, I am in a very rural area with bad infrastructure, thus have a 3.68kWh export rate limit. but I have oversized my system to a total of 36 panels, pulling about 15kWp. I use a lot of power in the day for a variety of servers being powered up (and portable AC unit) compared to a normal home user. given the export limit I ensure I have at least 10% battery in the morning (gotta cover that coffee making time!), and once at 10% flip to charge from clipped. it will cover the home usage, then export first. once exprting at 3.68 the rest goes into the battery which will be full by about 11AM-12AM as i've been generating about 11kWh or so. The system limits itself then. need to scrape out that extra bit of export in the morning. once battery hits 100% the read only flag gets removed and gives control back to PredBat. If I had a higher export limit I would be doing it differently. As I also have the backup module, I've setup weather events to trigger dynamic reserve of battery as well. right now we've a yellow thunderstorm alert, so it's set the reserve to 50% of the battery in case of a power cut. it's working well.

Ashpork commented 1 month ago

I see your inverter resets regularly and then sets the charge/discharge values to 11400 when it comes back online too - I spoke to SE about that and 'it just does that'!

For the logs, I SSH direct to the HA instance, but if you're not comfortable with that stick with how you're doing it.

I'm not really sure of the logic that gets used for Hold Charge during the day, will see if I can figure anything out when the car next charges up.

I decided that the SE "Charge from Clipped" was no use to me as it is the opposite and will never use the battery during the daytime which meant when demand is more than solar (I have AC) it ends up using the grid for that.

On a good "sun" day, I'll typically get my battery to 85-90% overnight, and then around 5am put predbat into readonly and then set command mode to "discharge to minimize import". This then puts the PV to the load & grid, and if the load is greater than PV it'll also pull from the battery. Then when the oversized PV exceeds the inverter capabilities, the PV excess goes to the battery to charge it. It's working well with also some automation to kick predbat off readonly when I once I believe we're past the peak of the sun for the day. I'd love to get some of this logic into predbat to stop me flipping from one to another.

Noodleyman commented 2 weeks ago

I've noted a repeat of the issue today and managed to catch it whilst it was happening. I am wondering if I am perhaps just being too quick and it needs to wait for another processing cycle before adapting and changing the mode.

plan from 10:25 which says limit to 79% image

Predbat Status history: image

Storage command mode history: image

Log attached, too large to share inline. [Uploading predbat log.txt…]()

I note at 10:06 it had an error,

2024-08-20 10:05:48.607642 INFO pred_bat: Warn: Failed to decode response <Response [500]> from http://supervisor/core/api/services/number/set_value
2024-08-20 10:06:12.877519 INFO pred_bat: Warn: Inverter 0 Trying to write 0 to discharge_rate didn't complete got 5000
2024-08-20 10:06:12.926927 INFO pred_bat: Info: record_status Warn: Inverter 0 write to discharge_rate failed

There is nothing in the home assistant logs around this time to cross reference that I can find.

It also put it into "Charge from Solar Power and Grid" mode.

The thing that stands out with a "hold charging" mode, is that it instead sets the discharge rate = 0. Shouldn't that be the charge rate instead?

example: 10:11, predbat status is set to "hold charging"

Log shows: Inverter 0 SOC: 6.75 kW 70 % Current charge rate 5000.0 w Current discharge rate 0.0 w Current power 4999.0 w Current voltage 52.0

which will actually not hold charging at all, instead it will prevent power being consumed from the battery.

am I just reading this all wrong? it seems like the issue is that it is setting disharge rate instead of charge rate for holds.

cyberkryten commented 2 weeks ago

I think the wording is a little confusing if you read "Hold Charging" in isolation, but it references "Freeze Charging" and I think that explains the intent better:

Freeze charging - The battery is charging but the current battery level (SoC) is is frozen (held). Think of it as a charge to the current battery level. The grid or solar covers any house load. If there is a shortfall of Solar power to meet house load, the excess house load is met from grid import, but if there is excess Solar power above house load, the excess solar will be used to charge the battery,

Hold charging - A type of charge where the target SoC % is the same as the current SoC %, effectively the same as a charge freeze (but without being explicitly selected).

The intent is for the battery to remain unused with house load satisfied from solar or grid so the SoC remains the same or increases if Solar>Load.

This is achieved by stopping discharge from the battery by setting the discharge limit to zero.

Noodleyman commented 2 weeks ago

Kind of makes sense, although doesn't quite fit with what it is actually doing. I'll break it down based on the phrasing because it helps me understand if I am being a muppet :) .

The battery is charging but the current battery level (SoC) is is frozen (held). It did put the battery into "Charge From Solar Power and Grid" mode. We do also see in the logs, Note: Inverter does not support discharge freeze - disabled, Note: Inverter does not support charge freeze - disabled. thus it shouldn't be trying to do these freeze methods.

The grid or solar covers any house load. In this case, the solar was covering with 4kW excess.

If there is a shortfall of Solar power to meet house load, the excess house load is met from grid import In this case, there was not a shortfall, there was an excess of around 4kWh.

but if there is excess Solar power above house load, the excess solar will be used to charge the battery This was the case, and it was doing this, however because it also was in "Charge From Solar Power and Grid" mode, the shortfall between the 4Kwh into battery, and it's max charge rate of 5kWh was met from the grid. so it was pulling 1kWh from the grid as well.

If it was in either "Charge from Solar Power Only" mode, or "Maximize Self Consumption" mode, then it would have worked as per above, only putting the excess into the battery, the 4kWh