EOS_connect icon indicating copy to clipboard operation
EOS_connect copied to clipboard

[LOADS] 'wolf_warmwasser' has had no schedule from the optimizer for over 600 s - deciding from its own plan until one arrives

Open HolBaum5 opened this issue 1 month ago • 5 comments

eos.txt

📝 Issue Description

What happened? I configured a managed load for the hot water / buffer tank of my heat pump (Wolf CHA, 600 l buffer tank with fresh water station). The optimizer backend is local_evopt. Since then, EOS Connect logs a warning for this load roughly every 10 minutes, saying it has no schedule from the optimizer. The problem started on 0.3.40 and is still present after updating to 0.3.41.388-develop.

Expected Behavior The managed load is passed to the local EVopt optimizer as a decision variable, gets a schedule, and the schedule is used for planning (including battery discharge planning). No recurring warning.

Actual Behavior
The optimizer never returns a schedule for the load. EOS Connect falls back to its own plan and logs the following warning repeatedly (108 warnings overnight):

[LOADS] 'wolf_warmwasser' has had no schedule from the optimizer for over 600 s - deciding from its own plan until one arrives

🔄 Steps to Reproduce

  1. Set Optimizer → Backend → Source to local_evopt (Time Frame 900, Timeout 500, charging strategy maximize_self_consumption, discharging strategy discharge_before_import, terminal SoC value cheapest_ahead)
  2. Add a managed load:
    • Id: wolf_warmwasser, Type: buffer_tank (first tried hot_water_tank, same result), Enabled: on
    • Power Sensor: Wolf_Heatpump_Leistungsaufnahme_WP__EHZ (openHAB item, kW)
    • Temp Sensor: Wolf_Heatpump_Warmwassertemperatur
    • Target Temp: 46, Target Temp Sensor: Wolf_Heatpump_Warmwassersolltemperatur
    • Deadband K: 5, Ambient Temp Sensor: empty
    • Volume M3: 0.6, Surface M2: 4.5, Rated Power W: 1000, Cop Nominal: 3
    • Strategy: combined, Min Runtime Minutes: 30, Max Runtime Hours Per Day: 2
    • Window Start: 4, Window End: 21, Deadline Hours: 0
    • Min Ambient Temp C: -20, Frost Protection Temp C: 4
  3. Restart EOS Connect
  4. After about 10 minutes the warning appears and repeats every ~10 minutes

🌍 Environment

EOS Connect Version: 0.3.41.388-develop (also on 0.3.40) When did this occur? Since 2026-11-02 ~17:20 CET, continuously How often? Always Impact: Medium – the load isn't optimized and probably isn't considered in battery planning; the warning floods the alert list

📎 Additional Context

  • Smart home: openHAB 5 (sensors are openHAB items), battery: Sungrow, evcc 0.317.2
  • No switch/output is configured for the load (forecast/planning only)
  • Possibly related to #322 (managed loads with local_evopt: hot water and buffer tank get no schedule, same warning, "out of season")
  • Energy demand calculation seems to work: the Managed Loads card shows 4.0 kWh for wolf_warmwasser

HolBaum5 avatar Nov 03 '26 06:11 HolBaum5

eos.txt

HolBaum5 avatar Nov 03 '26 06:11 HolBaum5

@HolBaum5 Thanks for the detailed report and the log. They show the optimizer was scheduling wolf_warmwasser: the response at 07:30 carries a schedule with 2750 Wh for it. So the load was planned, battery planning included.

The warning came from EOS Connect giving up on a schedule too early. It treated one as overdue after a fixed 600 s, while your optimizer runs every 13–16 minutes, so the warning fired between almost every pair of runs. Two fixes cover this:

  • #365 bases that age on the optimizer's interval (twice the interval plus a grace period). It is in 0.3.41.
  • #370 stops the warning for a load with nothing to schedule, e.g. a tank within its deadband. It is on develop and will be in the next release.

Could you check with 0.3.41 or a current develop build and let us know whether the warning is gone?

ohAnd avatar Nov 15 '26 12:11 ohAnd

I am currently using version 0.3.42.401-develop. Unfortunately, the message still appears there too.

2026-11-15 16:40:00 INFO [Main] Overall state not changed recently - remaining in current state: MODE AVOID DISCHARGE  (_____OOOOO_____)
2026-11-15 16:40:01 INFO [CHARGE_DEMAND] Updating slot power (reasons: periodic_safety_refresh): demand=0 Wh, slot=299s, calculated=0 W, capped=0 W
2026-11-15 16:40:01 INFO [CHARGE_DEMAND] Slot power updated to 0 W (new commitment)
2026-11-15 16:43:15 INFO [OPT-LocalEVopt] Charging curve: run 3 with 6 slot limit(s) changed (largest change 100 W)
2026-11-15 16:45:00 INFO [CHARGE_DEMAND] Updating slot power (reasons: new_slot): demand=0 Wh, slot=900s, calculated=0 W, capped=0 W
2026-11-15 16:45:00 INFO [CHARGE_DEMAND] Slot power updated to 0 W (new commitment)
2026-11-15 16:45:00 INFO [Main] Overall state not changed recently - remaining in current state: MODE AVOID DISCHARGE  (_____OOOOO_____)
2026-11-15 16:48:00 WARNING [LOADS] 'wolf_warmwasser' has had no schedule from the optimizer for over 1920 s - deciding from its own plan until one arrives
2026-11-15 16:48:00 INFO [MAIN] Managed load 'wolf_warmwasser' is BLOCKED (no demand)
2026-11-15 16:49:55 INFO [OPT-LocalEVopt] Charging curve: limits stable after run 3
2026-11-15 16:49:55 INFO [OPT-LocalEVopt] Solved in 20 min 1.01 sec — status: Optimal (cbc: /usr/local/lib/python3.13/site-packages/pulp/apis/../solverdir/cbc/linux/i64/cbc)
2026-11-15 16:49:59 INFO [CHARGE_DEMAND] Optimizer response extraction: ac_charge[step=67] = 0.000 (0.0%) (time=2026-11-15 16:45, next_step=68 with value=0.000)

HolBaum5 avatar Nov 15 '26 15:11 HolBaum5

@HolBaum5 Thanks, that log helped. It shows a different cause than before: Solved in 20 min 1.01 sec. The optimizer run takes longer than the 15-minute interval it is meant to fit into, so the schedule for wolf_warmwasser arrives too late and the warning fires before it lands.

I re-solved the optimization request from your first log locally. Without the managed load it solves in 0.1 s. With your tank (30 min minimum runtime, start costs, 2 h/day cap) the problem gets much harder for the solver. It still finds the plan within a few seconds, but then spends minutes proving the plan is optimal, and the plan does not change during that time. On top of that, the charging-curve planning re-solved up to 8 times, and each run got the full time limit (80 % of your 500 s timeout).

Workaround right now: set Optimizer → Timeout to 60. Based on the measurements you lose nothing in plan quality, and runs stay well within the interval.

Fix: the solver gets one time budget per optimization, shared by all runs and capped at a quarter of the optimization interval. The log will say when a plan was cut off by that budget. It will be in a develop build soon (#383)

ohAnd avatar Nov 15 '26 16:11 ohAnd

I have now installed version 0.3.42.404-develop and the warning has not appeared again.

HolBaum5 avatar Nov 17 '26 16:11 HolBaum5