evcc icon indicating copy to clipboard operation
evcc copied to clipboard

Weekday-Based House Consumption Forecasting for the Optimizer

Open TeutoRockA opened this issue 1 week ago • 4 comments

Feature Request: Weekday-Based House Consumption Forecasting for the Optimizer

Is your feature request related to a problem?

Currently, the Optimizer uses a general average for forecasting household electricity consumption. However, household consumption often follows recurring weekly patterns that can vary significantly depending on the day of the week.

For example:

  • Higher electricity consumption on Sunday evenings due to cooking.
  • Regularly increased consumption on certain weekdays due to household routines.
  • Different consumption patterns between weekdays and weekends.

Using a single average value does not adequately reflect these recurring patterns.

Describe the solution you’d like

I would like to see an additional configuration option for House Consumption Forecasting, similar to the existing configuration options available for heating elements (heating rods) and heat pumps.

Ideally, users could choose between:

  1. General Average: Use the overall average household consumption for the forecast (current behavior).
  2. Weekday-Based Average: Calculate and use a separate average consumption profile for each day of the week (Monday through Sunday), based on historical consumption data.

The Optimizer could then use the corresponding weekday-specific consumption forecast when planning battery charging and discharging.

Example Use Case

Let’s assume my household regularly consumes significantly more electricity on Sunday evenings because we usually cook.

If the Optimizer knows about this recurring pattern, it could anticipate the higher demand and, whenever electricity prices are low beforehand, charge the battery a little more than usual.

This would help ensure that sufficient battery capacity is available to cover the increased household consumption during those periods, while taking advantage of cheaper electricity prices.

Benefits

  • More accurate household consumption forecasts.
  • Better adaptation to individual household routines.
  • Improved battery charging and discharging strategies.
  • Better utilization of dynamic electricity tariffs.
  • Less reliance on a generic average that may not represent actual consumption patterns.

Ideally, this feature would work automatically based on historical consumption data, without requiring users to manually configure individual consumption schedules.

Thanks for considering this feature!

TeutoRockA avatar Nov 22 '26 17:11 TeutoRockA

Thanks for the suggestion. Currently the home base load forecast is built in core/site_load_predictor.go (homeProfile) from a 28-day average profile over all days. A per-weekday filter already exists in core/metrics/db_profile.go and is used for the heating demand forecast, so a weekday-based home profile looks technically feasible. It would need a decision on the configuration option and on how much history is required (4 weeks gives only about 4 samples per weekday).

No duplicates found. Related: #34016 (predictable appliance loads in the optimizer).

🤖 Generated with Claude Code

github-actions[bot] avatar Nov 22 '26 17:11 github-actions[bot]

That's already available, see https://github.com/evcc-io/evcc/pull/28232.

@naltatis @daniel309 may this is the time to add an UI?

andig avatar Nov 22 '26 18:11 andig

For Heating: true, for House Consumption not yet …

TeutoRockA avatar Nov 22 '26 19:11 TeutoRockA

Yes, I think it would make sense to add a dropdown with selectable forecast strategies for the household energy @andig.

Probably Settings/Home would be a good place?

daniel309 avatar Nov 22 '26 20:11 daniel309