Skip to content

Commit 1d3ddd9

Browse files
authored
docs: add optimizer (#1025)
1 parent 13bcd98 commit 1d3ddd9

10 files changed

Lines changed: 182 additions & 0 deletions

File tree

docs/features/optimizer.mdx

Lines changed: 91 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
1+
---
2+
sidebar_position: 12
3+
---
4+
5+
import Screenshot from "../../src/components/Screenshot";
6+
7+
# Optimizer 🧪
8+
9+
:::warning Experimentell
10+
Der Optimizer befindet sich in einer frühen Entwicklungsphase.
11+
Die angezeigten Daten sind aktuell rein informativ.
12+
Steuerungsaktionen folgen in zukünftigen Versionen.
13+
:::
14+
15+
Der Optimizer analysiert Prognosen, Verbrauchsdaten und den aktuellen Zustand deines Energiesystems, um kostenoptimale Entscheidungen zu treffen.
16+
Er ergänzt die regelbasierte Steuerung von evcc um eine vorausschauende Optimierung.
17+
18+
## Warum ein Optimizer?
19+
20+
evcc arbeitet regelbasiert und deterministisch.
21+
Das funktioniert hervorragend für viele Setups.
22+
Z. B. mit PV-Anlage, Batterie und einem Fahrzeug.
23+
24+
Bei komplexeren Szenarien stößt dieser Ansatz an Grenzen:
25+
26+
- **Mehrere Fahrzeuge:** Welches soll zuerst geladen werden?
27+
- **Batterie oder Fahrzeug:** Wohin soll die verfügbare Energie fließen?
28+
- **Dynamische Tarife:** Lohnt sich Netzladen heute Nacht oder reicht die Sonne morgen?
29+
30+
Der Optimizer kann diese Fragen beantworten.
31+
Aktuell legst du Einstellungen wie Preislimits oder Batterieprioritäten selbst fest.
32+
Perspektivisch kannst du diese Entscheidungen dem Optimizer überlassen.
33+
Er findet dann automatisch die optimalen Werte.
34+
Wir arbeiten Schritt für Schritt daran.
35+
36+
## Was macht der Optimizer? {#how-it-works}
37+
38+
Der Optimizer sammelt verschiedene Daten:
39+
40+
- **Prognosedaten:** PV-Ertrag, Strompreise, Einspeisetarife
41+
- **Historische Daten:** typisches Verbrauchsprofil deines Haushalts
42+
- **Aktueller Zustand:** Ladestand der Batterie, angeschlossene Fahrzeuge, Wärmebedarf
43+
44+
Auf Basis dieser Daten berechnet ein Optimierungsalgorithmus das voraussichtliche Verhalten deines Energiesystems.
45+
Er identifiziert kostenoptimale Aktionen: effiziente [Ladepläne](./plans), Batteriesteuerung (Halten, Netzladen).
46+
Außerdem prognostiziert er, wann die Hausbatterie voll oder leer sein wird.
47+
48+
Ziel: **Energiekosten minimieren.**
49+
50+
## Optimizer nutzen {#setup}
51+
52+
Aktivierung über die Benutzeroberfläche:
53+
54+
1. **Konfiguration → Experimentell** → aktivieren
55+
2. **Konfiguration → Optimizer 🧪** → aktivieren
56+
57+
Der Optimizer erfordert ein aktives [Sponsoring](/docs/sponsorship).
58+
Bei neuen Installationen kann es bis zu 24 Stunden dauern, bis genug Daten gesammelt wurden, um erste Ergebnisse anzuzeigen.
59+
60+
- **Hauptansicht → Energiefluss (aufklappen):** Zeigt an, wann die Hausbatterie voraussichtlich voll oder leer sein wird.
61+
- **Menü → Optimizer:** Diagramme, die zeigen, wie sich Hausbatterie und Ladepunkte in den nächsten Stunden verhalten sollen und wie viel Geld gespart werden kann (siehe Screenshot unten).
62+
63+
<Screenshot
64+
name="features/screenshots/optimizer-debug"
65+
caption="Optimizer Debug-Ansicht mit Prognosen und Optimierungsergebnissen."
66+
/>
67+
68+
## Aktueller Stand und Ausblick {#status}
69+
70+
Der Optimizer ist aktuell rein informativ.
71+
Er zeigt Prognosen und Einsparpotenziale an, greift aber noch nicht aktiv in die Steuerung ein.
72+
73+
Nächste Schritte:
74+
75+
- Aktionen integrieren: Hausbatterie aktiv steuern
76+
- [Ladepläne](./plans) durch den Optimizer optimieren lassen
77+
- Nutzern ermöglichen, spezifische Einstellungen an den Optimizer zu übergeben
78+
79+
## Technischer Hintergrund {#technical}
80+
81+
Der Optimizer ist Python-basiert und nutzt das starke Ökosystem für mathematische Optimierung und Statistik.
82+
Er ist kein Teil von evcc selbst, sondern ein eigenständiger Dienst.
83+
84+
Bei Aktivierung wird der Cloud-Service `optimizer.evcc.io` aufgerufen.
85+
Der Dienst arbeitet **zustandslos**.
86+
Es werden keine Daten gespeichert.
87+
Details zum Datenschutz findest du in unserer [Datenschutzerklärung](https://evcc.io/datenschutz/).
88+
89+
Der Optimizer ist wie evcc selbst Open Source: [github.com/evcc-io/optimizer](https://github.com/evcc-io/optimizer).
90+
Du kannst dir das fertige Docker Image [evcc/optimizer](https://hub.docker.com/r/evcc/optimizer) auch lokal installieren.
91+
Über die Umgebungsvariable `OPTIMIZER_URI` gibst du dann deinen eigenen Endpunkt an.
57.7 KB
Loading
133 KB
Loading
58.3 KB
Loading
129 KB
Loading
Lines changed: 91 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
1+
---
2+
sidebar_position: 12
3+
---
4+
5+
import Screenshot from "../../../../../src/components/Screenshot";
6+
7+
# Optimizer 🧪
8+
9+
:::warning Experimental
10+
The optimizer is in an early stage of development.
11+
The displayed data is currently informational only.
12+
Control actions will follow in future versions.
13+
:::
14+
15+
The optimizer analyses forecasts, consumption data, and the current state of your energy system to make cost-optimal decisions.
16+
It complements evcc's rule-based control with predictive optimisation.
17+
18+
## Why an Optimizer?
19+
20+
evcc works rule-based and deterministically.
21+
This works great for many setups.
22+
E.g. a solar system, battery, and one vehicle.
23+
24+
More complex scenarios push this approach to its limits:
25+
26+
- **Multiple vehicles:** Which one should be charged first?
27+
- **Battery or vehicle:** Where should the available energy go?
28+
- **Dynamic tariffs:** Is it worth charging from the grid tonight, or will there be enough solar energy tomorrow?
29+
30+
The optimizer can answer these questions.
31+
Currently, you set values like price limits or battery priorities yourself.
32+
In the future, you can let the optimizer handle these decisions.
33+
It will then automatically find the optimal values.
34+
We're working on this step by step.
35+
36+
## What Does the Optimizer Do? {#how-it-works}
37+
38+
The optimizer collects various data:
39+
40+
- **Forecast data:** Solar yield, electricity prices, feed-in tariffs
41+
- **Historical data:** Your household's typical consumption profile
42+
- **Current state:** Battery state of charge, connected vehicles, heating demand
43+
44+
Based on this data, an optimisation algorithm calculates the expected behaviour of your energy system.
45+
It identifies cost-optimal actions: efficient [charging plans](./plans), battery control (hold, grid charging).
46+
It also predicts when the home battery will be full or empty.
47+
48+
Goal: **Minimise energy costs.**
49+
50+
## Using the Optimizer {#setup}
51+
52+
Enable via the user interface:
53+
54+
1. **Configuration → Experimental** → enable
55+
2. **Configuration → Optimizer 🧪** → enable
56+
57+
The optimizer requires an active [sponsorship](/docs/sponsorship).
58+
For new installations, it can take up to 24 hours to collect enough data to show first results.
59+
60+
- **Main view → Energy flow (expand):** Shows when the home battery is expected to be full or empty.
61+
- **Menu → Optimizer:** Graphs showing how your home battery and charging points should behave over the coming hours and how much money can be saved (see screenshot below).
62+
63+
<Screenshot
64+
name="features/screenshots/optimizer-debug"
65+
caption="Optimizer debug view with forecasts and optimisation results."
66+
/>
67+
68+
## Current State & Next Steps {#status}
69+
70+
The optimizer is currently informational only.
71+
It shows forecasts and potential savings but does not yet actively control anything.
72+
73+
Next steps:
74+
75+
- Integrate actions: actively control the home battery
76+
- Let the optimizer optimise [charging plans](./plans)
77+
- Enable users to hand over specific settings to the optimizer
78+
79+
## Technical Background {#technical}
80+
81+
The optimizer is Python-based and leverages the strong ecosystem for mathematical optimisation and statistics.
82+
It is not part of evcc itself but a standalone service.
83+
84+
When enabled, the cloud service `optimizer.evcc.io` is called.
85+
The service is **stateless**.
86+
No data is stored.
87+
For privacy details, see our [privacy policy](https://evcc.io/en/datenschutz/).
88+
89+
Like evcc itself, the optimizer is open source: [github.com/evcc-io/optimizer](https://github.com/evcc-io/optimizer).
90+
You can also install the Docker image [evcc/optimizer](https://hub.docker.com/r/evcc/optimizer) locally.
91+
Use the `OPTIMIZER_URI` environment variable to point evcc to your own endpoint.
57.7 KB
Loading
133 KB
Loading
58.3 KB
Loading
129 KB
Loading

0 commit comments

Comments
 (0)