Skip to content

Optimalisatie "minimize consumption" geeft ontlaad vermogen lager dan ingestelde minimum vermogen #316

@Torch1969

Description

@Torch1969

DAO versie 2025.6.2
HA versie 2025.4.4

Vervolg op https://gathering.tweakers.net/forum/view_message/82811082

Ik ben aan het experimenteren met de strategie "minimize consumption". Wat me opvalt is dat de ontlaadvermogens gedurende de nacht (380W) lager zijn dan het ingestelde minimum vermogen (440W).

Dit is ook daadwerkelijk zo in de aansturing (oud plaatje met soortgelijke situatie):

Image

Het attribuut "stop inverter" is niet gewijzigd (staat nog steeds op 1-1-2000).

Mijn (test-)config:

  "homeassistant": {
      "host": "192.168.1.101",
      "ip port": 8123,
      "token": "!secret ha_token"
  },
  "database ha": {
    "engine": "sqlite",
    "database": "home-assistant_v2.db",
    "db_path": "/homeassistant"
  },
  "database da": {
    "engine": "sqlite",
    "db_path": "../data"
  },
  "meteoserver-key": "!secret meteoserver-key",
  "prices": {
    "source day ahead": "nordpool",
    "regular high": 0.10,
    "regular low": 0.10,
    "switch to low": 23,
    "energy taxes consumption": {
      "2022-01-01": 0.06729,
      "2023-01-01": 0.12599,
      "2024-01-01": 0.10880,
      "2025-01-01": 0.10154
    },
    "energy taxes production": {
      "2022-01-01": 0.06729,
      "2023-01-01": 0.12599,
      "2024-01-01": 0.10880,
      "2025-01-01": 0.10154
    },
    "cost supplier consumption": {
      "2024-08-01": 0.02
    },
    "cost supplier production": {
      "2024-08-01": 0.02
    },
    "vat": {
      "2022-01-01": 21,
      "2022-07-01": 9,
      "2023-01-01": 21
    },
    "last invoice": "2025-01-01",
    "tax refund": "True"
  },
  "logging level" : "debug",
  "use_calc_baseload": "False",
  "baseload calc periode": 56,
  "baseload": [
    0.36,
    0.36,
    0.36,
    0.36,
    0.36,
    0.36,
    0.45,
    0.55,
    0.40,
    0.40,
    0.40,
    0.40,
    0.55,
    0.40,
    0.40,
    0.40,
    0.40,
    0.70,
    0.60,
    0.50,
    0.50,
    0.50,
    0.40,
    0.36
  ],
  "graphical backend": "",
  "graphics": {
    "style": "Solarize_Light2",
    "show" : "true",
    "prices consumption": "True",
    "prices production": "True",
    "average consumption": "True"
  },
  "strategy": "minimize consumption",
  "notifications": {
  },
  "grid": {
    "max_power": 8
  },
  "history": {
    "save days": 7
  },
  "dashboard": {
    "port": 5000
  },
  "boiler": {
    "boiler present": "False",
    "entity actual temp.": "sensor.boiler_gemeten",
    "entity setpoint": "sensor.boiler_ingesteld",
    "entity hysterese": "sensor.hysterese_hot_water",
    "cop": 2.9,
    "cooling rate": 0.4,
    "volume": 180,
    "heating allowed below": 44,
    "elec. power": 1500,
    "activate service": "press",
    "activate entity": "input_button.hw_trigger"
  },
  "heating": {
    "heater present": "False",
    "degree days factor": 3.6,
    "stages": [
      {
        "max_power": 225,
        "cop": 7.1
      },
      {
        "max_power": 300,
        "cop": 7.0
      },
      {
        "max_power": 400,
        "cop": 6.5
      },
      {
        "max_power": 500,
        "cop": 6.0
      },
      {
        "max_power": 600,
        "cop": 5.5
      },
      {
        "max_power": 750,
        "cop": 5.0
      },
      {
        "max_power": 1000,
        "cop": 4.5
      },
      {
        "max_power": 1250,
        "cop": 4.0
      }
    ],
    "entity adjust heating curve": "input_number.stooklijn_verschuiving_day_ahead",
    "adjustment factor": 0.04
  },
  "battery": [
    {
      "name": "Sessy_dllu",
      "entity actual level": "sensor.sessy_dllu_state_of_charge",
      "capacity": 5.5,
      "upper limit": 100,
      "lower limit": 0,
      "optimal lower level": 0,
      "entity min soc end opt": "input_number.dao_sessy_dllu_min_soc_end",
      "entity max soc end opt": "input_number.dao_sessy_dllu_max_soc_end",
      "charge stages": [
        {"power": 0.0,
         "efficiency": 1},
        {"power": 60.0,
         "efficiency": 0.7},
        {"power": 110.0,
         "efficiency": 0.758},
        {"power": 220.0,
         "efficiency": 0.850},
        {"power": 330.0,
         "efficiency": 0.892},
        {"power": 440.0,
         "efficiency": 0.912},
        {"power": 660.0,
         "efficiency": 0.933},
        {"power": 880.0,
         "efficiency": 0.942},
        {"power": 1100.0,
         "efficiency": 0.946},
        {"power": 1320.0,
         "efficiency": 0.942},
        {"power": 1540.0,
         "efficiency": 0.938},
        {"power": 1760.0,
         "efficiency": 0.929},
        {"power": 1980.0,
         "efficiency": 0.921},
        {"power": 2200.0,
         "efficiency": 0.908}
      ],
      "discharge stages": [
        {"power": 0.0,
         "efficiency": 1},
        {"power": 60.0,
         "efficiency": 0.7},
        {"power": 85.0,
         "efficiency": 0.735},
        {"power": 170.0,
         "efficiency": 0.829},
        {"power": 255.0,
         "efficiency": 0.882},
        {"power": 340.0,
         "efficiency": 0.921},
        {"power": 510.0,
         "efficiency": 0.943},
        {"power": 680.0,
         "efficiency": 0.957},
        {"power": 850.0,
         "efficiency": 0.957},
        {"power": 1020.0,
         "efficiency": 0.953},
        {"power": 1190.0,
         "efficiency": 0.943},
        {"power": 1360.0,
         "efficiency": 0.936},
        {"power": 1530.0,
         "efficiency": 0.929},
        {"power": 1700.0,
         "efficiency": 0.925}
      ],
      "reduced hours":
       {  "1": 2200,
          "2": 2200,
         "18": 2200,
         "19": 2200
       },
      "minimum power": 440,
      "dc_to_bat efficiency": 1,
      "bat_to_dc efficiency": 1,
      "cycle cost": 0.01,
      "entity set power feedin": "input_number.dao_sessy_dllu_set_power_feedin",
      "entity set operating mode": "input_select.dao_sessy_dllu_set_operating_mode",
      "entity stop inverter": "input_datetime.dao_sessy_dllu_stop_inverter",
      "entity balance switch": "input_boolean.dao_sessy_dllu_balance_switch",
      "entity calculated soc": "input_number.dao_sessy_dllu_calculated_soc",
      "solar": []
    }    
  ],
  "solar": [ 
    {
      "name": "Zon ZW",
      "tilt": 45,
      "orientation": 40,
      "capacity": 4.2,
      "yield": 0.01125,
      "entity pv switch": "input_boolean.dao_pv_switch_zw"
    },
    {
      "name": "Zon NO",
      "tilt": 45,
      "orientation": -140,
      "capacity": 2.6,
      "yield": 0.00765,
      "entity pv switch": ""
    }  
  ],
"electric vehicle": [
    {
      "name": "Kia",
      "capacity": 11.1,
      "entity position": "input_select.dao_ev_position",
      "charge three phase": "False",
      "charge stages" : [
        {"ampere": 0, "efficiency": 0.00},
        {"ampere": 15, "efficiency": 0.89}
      ],      
      "entity actual level": "sensor.dao_ev_actual_level",
      "entity plugged in": "binary_sensor.laadpaal_thuis_bezet",
      "entity stop charging": "input_datetime.dao_stop_laden_ev",
      "charge scheduler": {
        "entity set level": "input_number.dao_ev_set_level",
        "level margin": 2,
        "entity ready datetime": "input_datetime.dao_ev_ready_time"
      },
      "charge switch": "input_boolean.dao_ev_charge_switch",
      "entity set charging ampere": "input_number.dao_ev_set_charging_ampere"
    }
  ],
  "machines" : [ ],
  "tibber": {
    "api_token": "!secret tibber_api_token"
  },
  "report": {
    "entities grid consumption": [
      "sensor.sessy_p9xk_tariff_1_consumed_energy",
      "sensor.sessy_p9xk_tariff_2_consumed_energy"
    ],
    "entities grid production": [
      "sensor.sessy_p9xk_tariff_1_produced_energy",
      "sensor.sessy_p9xk_tariff_2_produced_energy"
    ],
    "entities solar production ac": [
      "sensor.extra_total",
      "sensor.zon_no_energie_totaal"
    ],
    "entities solar production dc": [],
    "entities ev consumption" : ["sensor.laadpaal_thuis_energie"],
    "entities wp consumption" : ["sensor.ac_totaal_energie"],
    "entities boiler consumption": [],
    "entities battery consumption": ["sensor.sessy_dllu_charged_energy"],
    "entities battery production": ["sensor.sessy_dllu_discharged_energy"]
  },
  "scheduler": {
    "active": "false",
    "0545": "get_meteo_data",
    "1145": "get_meteo_data",
    "1745": "get_meteo_data",
    "2345": "get_meteo_data",
    "1255": "get_day_ahead_prices",
    "1355": "get_day_ahead_prices",
    "1455": "get_day_ahead_prices",
    "1554": "get_day_ahead_prices",
    "1655": "get_day_ahead_prices",
    "xx00": "calc_optimum",
    "2359": "clean_data"
  }
}

De log van de berekening (met "logging level": debug)

2025-07-02 20:12:17 debug: python pad:['/root/dao/prog', '/root', '/root/dao', '/root/dao/prog', '/usr/lib/python311.zip', '/usr/lib/python3.11', '/usr/lib/python3.11/lib-dynload', '/root/dao/venv/day_ahead/lib/python3.11/site-packages']
2025-07-02 20:12:17 info: Day Ahead Optimalisering versie: 2025.6.2
2025-07-02 20:12:17 info: Day Ahead Optimalisering gestart op: 02-07-2025 20:12:17
2025-07-02 20:12:17 debug: Locatie: latitude 53.000186 longitude: 6.2862016
2025-07-02 20:12:17 info: Day Ahead Optimalisatie gestart: 02-07-2025 20:12:17 taak: calc_optimum_met_debug
2025-07-02 20:12:17 debug: Connection status Pool size: 5  Connections in pool: 0 Current Overflow: -5 Current Checked out connections: 0 at line 538 in /root/dao/prog/da_base.py
2025-07-02 20:12:17 debug: Starting new HTTP connection (1): 192.168.1.101:8123
2025-07-02 20:12:17 debug: http://192.168.1.101:8123 "GET /api/ HTTP/1.1" 200 34
2025-07-02 20:12:17 debug: Starting new HTTP connection (1): 192.168.1.101:8123
2025-07-02 20:12:17 debug: http://192.168.1.101:8123 "GET /api/config HTTP/1.1" 200 1520
2025-07-02 20:12:17 debug: Connection status Pool size: 5  Connections in pool: 0 Current Overflow: -5 Current Checked out connections: 0 at line 202 in /root/dao/prog/da_base.py
2025-07-02 20:12:17 info: Debug = True
2025-07-02 20:12:17 debug: Starting new HTTP connection (1): 192.168.1.101:8123
2025-07-02 20:12:17 debug: http://192.168.1.101:8123 "GET /api/ HTTP/1.1" 200 34
2025-07-02 20:12:17 debug: Starting new HTTP connection (1): 192.168.1.101:8123
2025-07-02 20:12:17 debug: http://192.168.1.101:8123 "GET /api/config HTTP/1.1" 200 1520
2025-07-02 20:12:17 debug: Connection status Pool size: 5  Connections in pool: 1 Current Overflow: -4 Current Checked out connections: 0 at line 202 in /root/dao/prog/da_base.py
2025-07-02 20:12:17 debug: Prognose data:
          time                tijd  temp  glob_rad      pv_rad  da_price   da_cons   da_prod
0   1751493600 2025-07-03 00:00:00  18.0       0.0    0.000000   0.08392  0.248607  0.248607
1   1751497200 2025-07-03 01:00:00  18.0       0.0    0.000000   0.08091  0.244964  0.244964
2   1751500800 2025-07-03 02:00:00  17.0       0.0    0.000000   0.07900  0.242653  0.242653
3   1751504400 2025-07-03 03:00:00  17.0       0.0    0.000000   0.07893  0.242569  0.242569
4   1751508000 2025-07-03 04:00:00  16.0       0.0    0.000000   0.08088  0.244928  0.244928
5   1751511600 2025-07-03 05:00:00  16.0       2.0    2.000000   0.08645  0.251668  0.251668
6   1751515200 2025-07-03 06:00:00  16.0      29.0    2.662654   0.10696  0.276485  0.276485
7   1751518800 2025-07-03 07:00:00  16.0      54.0    8.259141   0.11200  0.282583  0.282583
8   1751522400 2025-07-03 08:00:00  17.0     114.0   10.794318   0.10490  0.273992  0.273992
9   1751526000 2025-07-03 09:00:00  17.0      84.0   41.538280   0.09045  0.256508  0.256508
10  1751529600 2025-07-03 10:00:00  17.0     113.0   54.785892   0.07506  0.237886  0.237886
11  1751533200 2025-07-03 11:00:00  18.0     230.0  106.066201   0.05735  0.216457  0.216457
12  1751536800 2025-07-03 12:00:00  19.0     294.0  185.028218   0.04216  0.198077  0.198077
13  1751540400 2025-07-03 13:00:00  20.0     281.0  226.098231   0.03412  0.188349  0.188349
14  1751544000 2025-07-03 14:00:00  20.0     277.0  254.842130   0.00721  0.155787  0.155787
15  1751547600 2025-07-03 15:00:00  20.0     261.0  263.282039   0.01638  0.166883  0.166883
16  1751551200 2025-07-03 16:00:00  20.0     225.0  240.985919   0.05568  0.214436  0.214436
17  1751554800 2025-07-03 17:00:00  20.0     190.0  213.407146   0.08099  0.245061  0.245061
18  1751558400 2025-07-03 18:00:00  20.0     147.0  170.160562   0.09574  0.262909  0.262909
19  1751562000 2025-07-03 19:00:00  19.0      91.0  103.937835   0.10871  0.278602  0.278602
20  1751565600 2025-07-03 20:00:00  18.0      45.0   49.317254   0.15416  0.333597  0.333597
21  1751569200 2025-07-03 21:00:00  17.0      10.0   10.611754   0.17922  0.363920  0.363920
22  1751572800 2025-07-03 22:00:00  16.0       0.0    0.000000   0.14643  0.324244  0.324244
23  1751576400 2025-07-03 23:00:00  15.0       0.0    0.000000   0.13000  0.304363  0.304363
2025-07-02 20:12:17 info: Baseload uit instellingen
2025-07-02 20:12:18 debug: Reduced hours for Sessy_dllu
hour max-power(kW)
 0  2.200
 1  2.200
 2  2.200
 3  2.200
 4  2.200
 5  2.200
 6  2.200
 7  2.200
 8  2.200
 9  2.200
10  2.200
11  2.200
12  2.200
13  2.200
14  2.200
15  2.200
16  2.200
17  2.200
18  2.200
19  2.200
20  2.200
21  2.200
22  2.200
23  2.200
2025-07-02 20:12:18 debug: cycle cost: 0.01 eur/kWh
2025-07-02 20:12:18 debug: Starting new HTTP connection (1): 192.168.1.101:8123
2025-07-02 20:12:18 debug: http://192.168.1.101:8123 "GET /api/states/sensor.sessy_dllu_state_of_charge HTTP/1.1" 200 432
2025-07-02 20:12:18 info: Startwaarde SoC Sessy_dllu: 62.0%
2025-07-02 20:12:18 debug: Starting new HTTP connection (1): 192.168.1.101:8123
2025-07-02 20:12:18 debug: http://192.168.1.101:8123 "GET /api/states/input_number.dao_sessy_dllu_min_soc_end HTTP/1.1" 200 499
2025-07-02 20:12:18 debug: Starting new HTTP connection (1): 192.168.1.101:8123
2025-07-02 20:12:18 debug: http://192.168.1.101:8123 "GET /api/states/input_number.dao_sessy_dllu_max_soc_end HTTP/1.1" 200 493
2025-07-02 20:12:18 info: Boiler niet aanwezig of staat uit, boiler wordt niet ingepland
2025-07-02 20:12:18 debug: Starting new HTTP connection (1): 192.168.1.101:8123
2025-07-02 20:12:18 debug: http://192.168.1.101:8123 "GET /api/states/binary_sensor.laadpaal_thuis_bezet HTTP/1.1" 200 346
2025-07-02 20:12:18 debug: Starting new HTTP connection (1): 192.168.1.101:8123
2025-07-02 20:12:18 debug: http://192.168.1.101:8123 "GET /api/states/input_select.dao_ev_position HTTP/1.1" 200 432
2025-07-02 20:12:18 debug: Starting new HTTP connection (1): 192.168.1.101:8123
2025-07-02 20:12:18 debug: http://192.168.1.101:8123 "GET /api/states/sensor.dao_ev_actual_level HTTP/1.1" 200 470
2025-07-02 20:12:18 debug: Starting new HTTP connection (1): 192.168.1.101:8123
2025-07-02 20:12:18 debug: http://192.168.1.101:8123 "GET /api/states/input_number.dao_ev_set_level HTTP/1.1" 200 473
2025-07-02 20:12:18 debug: Starting new HTTP connection (1): 192.168.1.101:8123
2025-07-02 20:12:18 debug: http://192.168.1.101:8123 "GET /api/states/input_datetime.dao_ev_ready_time HTTP/1.1" 200 497
2025-07-02 20:12:18 info: Instellingen voor laden van EV: Kia
2025-07-02 20:12:18 info:  Ampere  Effic. Grid kW Accu kW
2025-07-02 20:12:18 info:    0.00    0.00    0.00    0.00
2025-07-02 20:12:18 info:   15.00    0.89    3.45    3.07
2025-07-02 20:12:18 info: Capaciteit accu: 11.1 kWh
2025-07-02 20:12:18 info: Maximaal laadvermogen: 3.45 kW
2025-07-02 20:12:18 info: Klaar met laden op: 03-07-2025 06:15:00
2025-07-02 20:12:18 info: Huidig laadniveau: 16.0 %
2025-07-02 20:12:18 info: Gewenst laadniveau:100.0 %
2025-07-02 20:12:18 info: Marge voor het laden: 2 %
2025-07-02 20:12:18 info: Locatie: away
2025-07-02 20:12:18 info: Ingeplugged:True
2025-07-02 20:12:18 info: Benodigde energie: 9.324 kWh
2025-07-02 20:12:18 info: Tijd nodig om te laden: 3.04 uur
2025-07-02 20:12:18 debug: Starting new HTTP connection (1): 192.168.1.101:8123
2025-07-02 20:12:18 debug: http://192.168.1.101:8123 "GET /api/states/input_boolean.dao_ev_charge_switch HTTP/1.1" 200 432
2025-07-02 20:12:18 debug: Starting new HTTP connection (1): 192.168.1.101:8123
2025-07-02 20:12:18 debug: http://192.168.1.101:8123 "GET /api/states/input_number.dao_ev_set_charging_ampere HTTP/1.1" 200 515
2025-07-02 20:12:18 info: Afgerond naar hele uren: 4
2025-07-02 20:12:18 info: Stand laden schakelaar: off
2025-07-02 20:12:18 info: Stand aantal ampere laden: 15.0 A
2025-07-02 20:12:18 info: Opladen wordt niet ingepland, omdat auto is niet huis.
2025-07-02 20:12:18 info: Warmtepomp niet aanwezig of enabled - warmtepomp wordt niet ingepland
Welcome to the CBC MILP Solver 
Version: Trunk
Build Date: Oct 24 2021 

Starting solution of the Linear programming relaxation problem using Dual Simplex

Clp0024I Matrix will be packed to eliminate 110 small elements
Coin0506I Presolve 912 (-297) rows, 1216 (-591) columns and 3776 (-734) elements
Clp0014I Perturbing problem by 0.001% of 1.3718564 - largest nonzero change 0.00010757335 ( 0.027080413%) - largest zero change 0.00010752069
Clp0000I Optimal - objective value 0
Coin0511I After Postsolve, objective 0, infeasibilities - dual 0 (0), primal 0 (0)
Clp0032I Optimal objective 0 - 161 iterations time 0.002, Presolve 0.00

Starting MIP optimization
Cgl0002I 48 variables fixed
Cgl0003I 0 fixed, 0 tightened bounds, 11 strengthened rows, 0 substitutions
Cgl0003I 0 fixed, 0 tightened bounds, 10 strengthened rows, 0 substitutions
Cgl0004I processed model has 936 rows, 1264 columns (425 integer (425 of which binary)) and 3800 elements
Coin3009W Conflict graph built in 0.000 seconds, density: 0.073%
Cgl0015I Clique Strengthening extended 0 cliques, 0 were dominated
Cbc0036I Heuristics switched off as 24 branching objects are of wrong type
Cbc0045I Nauty did not find any useful orbits in time 0.011
Cbc0031I 55 added rows had average density of 82.127273
Cbc0013I At root node, 55 cuts changed objective from 0 to 0 in 10 passes
Cbc0014I Cut generator 0 (Probing) - 128 row cuts average 17.7 elements, 0 column cuts (0 active)  in 0.017 seconds - new frequency is -100
Cbc0014I Cut generator 1 (Gomory) - 83 row cuts average 116.4 elements, 0 column cuts (0 active)  in 0.007 seconds - new frequency is -100
Cbc0014I Cut generator 2 (Knapsack) - 24 row cuts average 9.6 elements, 0 column cuts (0 active)  in 0.013 seconds - new frequency is -100
Cbc0014I Cut generator 3 (Clique) - 0 row cuts average 0.0 elements, 0 column cuts (0 active)  in 0.000 seconds - new frequency is -100
Cbc0014I Cut generator 4 (OddWheel) - 0 row cuts average 0.0 elements, 0 column cuts (0 active)  in 0.001 seconds - new frequency is -100
Cbc0014I Cut generator 5 (MixedIntegerRounding2) - 112 row cuts average 40.8 elements, 0 column cuts (0 active)  in 0.006 seconds - new frequency is -100
Cbc0014I Cut generator 6 (FlowCover) - 14 row cuts average 6.0 elements, 0 column cuts (0 active)  in 0.007 seconds - new frequency is -100
Cbc0014I Cut generator 7 (TwoMirCuts) - 120 row cuts average 125.8 elements, 0 column cuts (0 active)  in 0.012 seconds - new frequency is -100
Cbc0016I Integer solution of 0.14087907 found by strong branching after 1407 iterations and 23 nodes (0.29 seconds)
Cbc0016I Integer solution of 0.025867707 found by strong branching after 1450 iterations and 33 nodes (0.33 seconds)
Cbc0016I Integer solution of 0 found by strong branching after 1481 iterations and 37 nodes (0.34 seconds)
Cbc0001I Search completed - best objective 0, took 1481 iterations and 37 nodes (0.34 seconds)
Cbc0032I Strong branching done 328 times (3008 iterations), fathomed 3 nodes and fixed 18 variables
Cbc0035I Maximum depth 23, 1 variables fixed on reduced cost
Coin0505I Presolved problem not optimal, resolve after postsolve
Coin0505I Presolved problem not optimal, resolve after postsolve
Coin0505I Presolved problem not optimal, resolve after postsolve
Coin0505I Presolved problem not optimal, resolve after postsolve
Cgl0013I Postprocessed model is infeasible - possible tolerance issue - try without preprocessing
47 bounds tightened after postprocessing

Total time (CPU seconds):       0.37   (Wallclock seconds):       0.38

2025-07-02 20:12:18 info: Eerste berekening
2025-07-02 20:12:18 info: Kosten (euro): -1.82 
2025-07-02 20:12:18 info: Levering (kWh): 0.00  
Starting solution of the Linear programming relaxation problem using Dual Simplex

Clp0014I Perturbing problem by 0.001% of 0.14771807 - largest nonzero change 2.8432011e-05 ( 0.0019058537%) - largest zero change 2.9952331e-05
Clp0000I Optimal - objective value -6.1869176

Starting MIP optimization
Cgl0002I 48 variables fixed
Cgl0003I 9 fixed, 0 tightened bounds, 0 strengthened rows, 0 substitutions
Cgl0004I processed model has 803 rows, 1131 columns (350 integer (350 of which binary)) and 3099 elements
Coin3009W Conflict graph built in 0.000 seconds, density: 0.083%
Cgl0015I Clique Strengthening extended 0 cliques, 0 were dominated
Cbc0045I MIPStart provided solution with cost -1.81637
Cbc0012I Integer solution of -1.8491179 found by Reduced search after 0 iterations and 0 nodes (0.03 seconds)
Cbc0036I Heuristics switched off as 24 branching objects are of wrong type
Cbc0045I Nauty: 3889 orbits (2 useful covering 126 variables), 124 generators, group size: 1.44061e+198 - sparse size 18680 - took 0.054 seconds
Cbc0031I 32 added rows had average density of 54.65625
Cbc0013I At root node, 32 cuts changed objective from -6.1840344 to -6.1744509 in 10 passes
Cbc0014I Cut generator 0 (Probing) - 31 row cuts average 7.1 elements, 15 column cuts (15 active)  in 0.011 seconds - new frequency is 1
Cbc0014I Cut generator 1 (Gomory) - 85 row cuts average 129.2 elements, 0 column cuts (0 active)  in 0.007 seconds - new frequency is 1
Cbc0014I Cut generator 2 (Knapsack) - 7 row cuts average 10.1 elements, 0 column cuts (0 active)  in 0.008 seconds - new frequency is 1
Cbc0014I Cut generator 3 (Clique) - 0 row cuts average 0.0 elements, 0 column cuts (0 active)  in 0.000 seconds - new frequency is -100
Cbc0014I Cut generator 4 (OddWheel) - 0 row cuts average 0.0 elements, 0 column cuts (0 active)  in 0.000 seconds - new frequency is -100
Cbc0014I Cut generator 5 (MixedIntegerRounding2) - 38 row cuts average 73.9 elements, 0 column cuts (0 active)  in 0.005 seconds - new frequency is 1
Cbc0014I Cut generator 6 (FlowCover) - 0 row cuts average 0.0 elements, 0 column cuts (0 active)  in 0.004 seconds - new frequency is -100
Cbc0014I Cut generator 7 (TwoMirCuts) - 88 row cuts average 100.9 elements, 0 column cuts (0 active)  in 0.008 seconds - new frequency is -100
Cbc0010I After 42 nodes, 15 on tree, -1.8491179 best solution, best possible -6.1744509 (0.31 seconds)
Cbc0016I Integer solution of -6.1618278 found by strong branching after 890 iterations and 64 nodes (0.37 seconds)
Cbc0016I Integer solution of -6.1622546 found by strong branching after 1040 iterations and 74 nodes (0.42 seconds)
Cbc0016I Integer solution of -6.1629469 found by strong branching after 1177 iterations and 78 nodes (0.46 seconds)
Cbc0016I Integer solution of -6.1716967 found by strong branching after 1317 iterations and 85 nodes (0.50 seconds)
Cbc0016I Integer solution of -6.1725442 found by strong branching after 1519 iterations and 95 nodes (0.57 seconds)
Cbc0004I Integer solution of -6.1729338 found after 2142 iterations and 114 nodes (0.68 seconds)
Cbc0011I Exiting as integer gap of 8.5803435e-05 less than 1e-10 or 0.01%
Cbc0001I Search completed - best objective -6.172933844114179, took 2166 iterations and 115 nodes (0.68 seconds)
Cbc0032I Strong branching done 586 times (4219 iterations), fathomed 19 nodes and fixed 39 variables
Cbc0035I Maximum depth 38, 321 variables fixed on reduced cost
Coin0505I Presolved problem not optimal, resolve after postsolve
Coin0505I Presolved problem not optimal, resolve after postsolve
Coin0505I Presolved problem not optimal, resolve after postsolve
Cgl0013I Postprocessed model is infeasible - possible tolerance issue - try without preprocessing
45 bounds tightened after postprocessing

Total time (CPU seconds):       0.73   (Wallclock seconds):       0.73

2025-07-02 20:12:19 info: Herberekening
2025-07-02 20:12:19 info: Kosten (euro): -6.17 
2025-07-02 20:12:19 info: Levering (kWh): 0.00  
2025-07-02 20:12:19 info: Strategie: minimale levering
2025-07-02 20:12:19 info: Het programma heeft een optimale oplossing gevonden.
2025-07-02 20:12:19 info: Niet geoptimaliseerd, kosten met day ahead tarieven: -5.52 
2025-07-02 20:12:19 info: Geoptimaliseerd, kosten met day ahead tarieven: -6.17 
2025-07-02 20:12:19 info: Levering: 0.00   (kWh)
2025-07-02 20:12:19 info: In- en uitgaande energie per uur batterij Sessy_dllu
   uur   ac->    eff   ->dc pv->dc   dc->    eff  ->bat  o_eff    SoC
          kWh      %    kWh    kWh    kWh      %    kWh      %      %
     0  -0.29  94.30  -0.30   0.00  -0.30 100.00  -0.30  94.30  56.48
     1  -0.36  94.30  -0.38   0.00  -0.38 100.00  -0.38  94.30  49.54
     2  -0.36  94.30  -0.38   0.00  -0.38 100.00  -0.38  94.30  42.60
     3  -0.36  94.30  -0.38   0.00  -0.38 100.00  -0.38  94.30  35.66
     4  -0.36  94.30  -0.38   0.00  -0.38 100.00  -0.38  94.30  28.72
     5  -0.34  94.30  -0.36   0.00  -0.36 100.00  -0.36  94.30  22.16
     6  -0.51  95.70  -0.53   0.00  -0.53 100.00  -0.53  95.70  12.47
     7  -0.66  95.70  -0.69   0.00  -0.69 100.00  -0.69  95.70  -0.00
     8   0.00     --   0.00   0.00   0.00     --   0.00     --  -0.00
     9   0.00     --   0.00   0.00   0.00     --   0.00     --  -0.00
    10   0.00     --   0.00   0.00   0.00     --   0.00     --  -0.00
    11   0.00     --   0.00   0.00   0.00     --   0.00     --  -0.00
    12   0.00     --   0.00   0.00   0.00     --   0.00     --  -0.00
    13   1.61  93.50   1.50   0.00   1.50 100.00   1.50  93.50  27.31
    14   2.20  90.80   2.00   0.00   2.00 100.00   2.00  90.80  63.63
    15   2.20  90.80   2.00   0.00   2.00 100.00   2.00  90.80  99.95
    16   0.00     --   0.00   0.00   0.00     --   0.00     --  99.95
    17   0.00     --   0.00   0.00   0.00     --   0.00     --  99.95
    18   0.00     --   0.00   0.00   0.00     --   0.00     --  99.95
    19   0.00     --   0.00   0.00   0.00     --   0.00     --  99.95
    20  -1.53  92.90  -1.65   0.00  -1.65 100.00  -1.65  92.90  70.00
    21  -1.57  92.50  -1.70   0.00  -1.70 100.00  -1.70  92.50  39.09
    22  -1.19  94.30  -1.26   0.00  -1.26 100.00  -1.26  94.30  16.15
    23  -0.85  95.70  -0.89   0.00  -0.89 100.00  -0.89  95.70   0.00
Totaal  -2.37     --  -3.41   0.00  -3.41     --  -3.41     --       
2025-07-02 20:12:19 info: Berekende prognoses zijn niet opgeslagen.
2025-07-02 20:12:19 info: Berekende prognoses: 
   uur  bat_in  bat_out   cons   prod   base   boil     wp     ev  pv_ac   cost  profit  b_tem
  0.00    0.00     0.29   0.00   0.00   0.36   0.00   0.00   0.00   0.00   0.00   -0.00  20.00
  1.00    0.00     0.36   0.00   0.00   0.36   0.00   0.00   0.00   0.00   0.00   -0.00  20.00
  2.00    0.00     0.36   0.00   0.00   0.36   0.00   0.00   0.00   0.00   0.00   -0.00  20.00
  3.00    0.00     0.36   0.00   0.00   0.36   0.00   0.00   0.00   0.00   0.00   -0.00  20.00
  4.00    0.00     0.36   0.00   0.00   0.36   0.00   0.00   0.00   0.00   0.00   -0.00  20.00
  5.00    0.00     0.34   0.00   0.02   0.36   0.00   0.00   0.00   0.04   0.00   -0.00  20.00
  6.00    0.00     0.51   0.00   0.53   0.45   0.00   0.00   0.00   0.47   0.00   -0.15  20.00
  7.00    0.00     0.66   0.00   0.98   0.55   0.00   0.00   0.00   0.87   0.00   -0.28  20.00
  8.00    0.00     0.00   0.00   1.41   0.40   0.00   0.00   0.00   1.81   0.00   -0.39  20.00
  9.00    0.00     0.00   0.00   0.85   0.40   0.00   0.00   0.00   1.25   0.00   -0.22  20.00
 10.00    0.00     0.00   0.00   1.29   0.40   0.00   0.00   0.00   1.69   0.00   -0.31  20.00
 11.00    0.00     0.00   0.00   2.86   0.40   0.00   0.00   0.00   3.26   0.00   -0.62  20.00
 12.00    0.00     0.00   0.00   3.64   0.55   0.00   0.00   0.00   4.19   0.00   -0.72  20.00
 13.00    1.61     0.00   0.00   2.16   0.40   0.00   0.00   0.00   4.17   0.00   -0.41  20.00
 14.00    2.20     0.00   0.00   1.61   0.40   0.00   0.00   0.00   4.21   0.00   -0.25  20.00
 15.00    2.20     0.00   0.00   1.44   0.40   0.00   0.00   0.00   4.04   0.00   -0.24  20.00
 16.00    0.00     0.00   0.00   3.15   0.40   0.00   0.00   0.00   3.55   0.00   -0.68  20.00
 17.00    0.00     0.00   0.00   2.35   0.70   0.00   0.00   0.00   3.05   0.00   -0.58  20.00
 18.00    0.00     0.00   0.00   1.85   0.60   0.00   0.00   0.00   2.45   0.00   -0.49  20.00
 19.00    0.00     0.00   0.00   1.08   0.50   0.00   0.00   0.00   1.58   0.00   -0.30  20.00
 20.00    0.00     1.53   0.00   1.83   0.50   0.00   0.00   0.00   0.80   0.00   -0.61  20.00
 21.00    0.00     1.57   0.00   1.25   0.50   0.00   0.00   0.00   0.18   0.00   -0.46  20.00
 22.00    0.00     1.19   0.00   0.79   0.40   0.00   0.00   0.00   0.00   0.00   -0.26  20.00
 23.00    0.00     0.85   0.00   0.49   0.36   0.00   0.00   0.00   0.00   0.00   -0.15  20.00
Totaal    6.01     8.38   0.00  29.57  10.47   0.00   0.00   0.00  37.60   0.00   -7.09       
2025-07-02 20:12:19 info: Winst: € 0.65
2025-07-02 20:12:19 info: Onderstaande settings worden NIET doorgezet naar HA
2025-07-02 20:12:19 debug: Starting new HTTP connection (1): 192.168.1.101:8123
2025-07-02 20:12:19 debug: http://192.168.1.101:8123 "GET /api/states/input_boolean.dao_ev_charge_switch HTTP/1.1" 200 432
2025-07-02 20:12:19 debug: Starting new HTTP connection (1): 192.168.1.101:8123
2025-07-02 20:12:19 debug: http://192.168.1.101:8123 "GET /api/states/input_number.dao_ev_set_charging_ampere HTTP/1.1" 200 515
2025-07-02 20:12:19 info: Berekeningsuitkomst voor opladen van Kia:
2025-07-02 20:12:19 info: - aantal ampere 0A (was 15.0A)
2025-07-02 20:12:19 info: - stand schakelaar 'off' (was 'off')
2025-07-02 20:12:19 info: - positie: away
2025-07-02 20:12:19 info: - ingeplugd: True
2025-07-02 20:12:19 info: Kia is niet thuis of niet ingeplugd
2025-07-02 20:12:19 info: Evaluatie status laden Kia op 2025-07-02 20:12
2025-07-02 20:12:19 debug: Starting new HTTP connection (1): 192.168.1.101:8123
2025-07-02 20:12:19 debug: http://192.168.1.101:8123 "GET /api/states/input_boolean.dao_ev_charge_switch HTTP/1.1" 200 432
2025-07-02 20:12:19 info: - schakelaar laden: off
2025-07-02 20:12:19 debug: Starting new HTTP connection (1): 192.168.1.101:8123
2025-07-02 20:12:19 debug: http://192.168.1.101:8123 "GET /api/states/input_number.dao_ev_set_charging_ampere HTTP/1.1" 200 515
2025-07-02 20:12:19 info: - aantal ampere: 15.0
2025-07-02 20:12:19 debug: Starting new HTTP connection (1): 192.168.1.101:8123
2025-07-02 20:12:19 debug: http://192.168.1.101:8123 "GET /api/states/input_boolean.dao_pv_switch_zw HTTP/1.1" 200 387
2025-07-02 20:12:19 info: Grid set point: 0.0 W
2025-07-02 20:12:19 info: Cycle cost Sessy_dllu: 0.14 euro
2025-07-02 20:12:19 info: Netto vermogen naar(+)/uit(-) batterij Sessy_dllu zou zijn: -360 W
2025-07-02 20:12:19 info: Balanceren zou zijn: True
2025-07-02 20:12:21 debug: Connection status Pool size: 5  Connections in pool: 1 Current Overflow: -4 Current Checked out connections: 0 at line 541 in /root/dao/prog/da_base.py
2025-07-02 20:12:21 debug: Connection status Pool size: 5  Connections in pool: 1 Current Overflow: -4 Current Checked out connections: 0 at line 3425 in /root/dao/webserver/../prog/day_ahead.py
debug:root:Dialect: sqlite, database: day_ahead.db, db_path: ../data
debug:root:db_url: sqlite://///root/dao/data/day_ahead.db
debug:root:Dialect: sqlite, database: home-assistant_v2.db, db_path: /homeassistant
debug:root:db_url: sqlite://///homeassistant/home-assistant_v2.db
debug:root:Connection status Pool size: 5  Connections in pool: 0 Current Overflow: -5 Current Checked out connections: 0 at line 202 in /root/dao/prog/da_base.py

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions