Skip to content

Commit f459c80

Browse files
authored
Fix monthly prices documentation (#815)
1 parent 2f5395e commit f459c80

File tree

2 files changed

+53
-17
lines changed

2 files changed

+53
-17
lines changed

docs/tariffs.mdx

Lines changed: 25 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ tariffs:
4646
type: fixed
4747
price: 0.294 # EUR/kWh (default)
4848
zones:
49-
- days: Mo-Fr
50-
hours: 2-5
49+
- days: Mo-Fr # Montag bis einschließlich Freitag
50+
hours: 2-5 # 02:00 bis 05:00 Uhr
5151
price: 0.2 # EUR/kWh
5252
- days: Sa,So
5353
price: 0.15 # EUR/kWh
@@ -85,13 +85,33 @@ tariffs:
8585
type: fixed
8686
price: 0.2 # EUR/kWh
8787
zones:
88-
- month: May-Sep
88+
- months: May-Sep # Mai bis einschließlich September
8989
price: 0.1 # EUR/kWh
90-
- month: Jan,Nov,Dez
90+
- months: Jan,Oct-Dec # Oktober bis einschließlich Januar
9191
price: 0.3 # EUR/kWh
9292
```
9393

94-
Du kannst die `month` Bedingung auch mit `days` und `hours` kombinieren.
94+
Du kannst die `months` Bedingung auch mit `days` und `hours` kombinieren.
95+
Im Folgenden soll ein komplexeres Beispiel die Möglichkeiten von `zones` verdeutlichen.
96+
97+
```yaml
98+
tariffs:
99+
currency: CHF
100+
grid:
101+
type: fixed
102+
price: 0.35 # CHF/kWh; Hochtarif Winter
103+
zones:
104+
- months: Apr-Sep # Niedertarif Sommer
105+
hours: 11-15
106+
price: 0.2 # CHF/kWh
107+
- months: Apr-Sep # Hochtarif Sommer
108+
hours: 0-11,15-0
109+
price: 0.3 # CHF/kWh
110+
- months: Jan-Mar,Oct-Dec # Niedertarif Winter (Am Wochenende von Oktober bis einschließlich März)
111+
days: Sa,So
112+
hours: 22-0,0-6 # 22:00 bis 06:00 Uhr; beachte: 22-6 ist nicht möglich, da 0 Uhr überstrichen wird
113+
price: 0.25 # CHF/kWh
114+
```
95115
96116
## Börsenstrompreise
97117

i18n/en/docusaurus-plugin-content-docs/current/tariffs.mdx

Lines changed: 28 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ import TabItem from "@theme/TabItem";
77
import DeviceConfig from "/src/components/DeviceConfig";
88
import DeviceFeatures from "/src/components/DeviceFeatures";
99

10-
1110
# Tariffs & Forecasts
1211

1312
Optimize your charging by integrating electricity tariffs (`grid`, `feedin`) and forecasts (`co2`, `solar`).
@@ -26,7 +25,6 @@ tariffs:
2625
2726
The simplest case is fixed values for grid consumption (`grid`) and feed-in (`feedin`).
2827

29-
3028
```yaml
3129
tariffs:
3230
currency: EUR # (default EUR)
@@ -36,8 +34,6 @@ tariffs:
3634
feedin:
3735
type: fixed
3836
price: 0.08 # EUR/kWh
39-
co2:
40-
...
4137
```
4238

4339
## Time-based Electricity Price
@@ -50,8 +46,8 @@ tariffs:
5046
type: fixed
5147
price: 0.294 # EUR/kWh (default)
5248
zones:
53-
- days: Mon-Fri
54-
hours: 2-5
49+
- days: Mon-Fri # Monday to including Friday
50+
hours: 2-5 # 02:00 to 05:00
5551
price: 0.2 # EUR/kWh
5652
- days: Sat,Sun
5753
price: 0.15 # EUR/kWh
@@ -87,15 +83,35 @@ Electricity tariffs with monthly prices can also be defined.
8783
tariffs:
8884
grid:
8985
type: fixed
90-
price: 0.2
86+
price: 0.2 # EUR/kWh
9187
zones:
92-
- month: May-Sep
93-
price: 0.1
94-
- month: Jan,Nov,Dez
95-
price: 0.3
88+
- months: May-Sep # May up to and including September
89+
price: 0.1 # EUR/kWh
90+
- months: Jan,Oct-Dec # October up to and including January
91+
price: 0.3 # EUR/kWh
9692
```
9793

98-
You can also combine the `month` condition with `days` and `hours`.
94+
You can also combine the `months` condition with `days` and `hours`.
95+
The following is a more complex example to illustrate the possibilities of `zones`.
96+
97+
```yaml
98+
tariffs:
99+
currency: CHF
100+
grid:
101+
type: fixed
102+
price: 0.35 # CHF/kWh; winter high tariff
103+
zones:
104+
- months: Apr-Sep # summer low tariff
105+
hours: 11-15
106+
price: 0.2 # CHF/kWh
107+
- months: Apr-Sep # summer high tariff
108+
hours: 0-11,15-0
109+
price: 0.3 # CHF/kWh
110+
- months: Jan-Mar,Oct-Dec # winter low tariff (at weekends from October to March inclusive)
111+
days: Sa,So
112+
hours: 22-0,0-6 # 22:00 to 06:00; note: 22-6 is not possible, as 00:00 is passed over
113+
price: 0.25 # CHF/kWh
114+
```
99115
100116
## Exchange Prices
101117

0 commit comments

Comments
 (0)