# REE

Quelle: https://docs.evcc.io/de/tariffs/ree

Spain PVPC tariff extracted from [api.esios.ree.es](https://api.esios.ree.es). It is possible to create grid and feed-in tariffs. You need a token in order to be able to use the API

Unterstützte Funktionen: Spanien

## Parameter

| Name | Beschreibung | Standard / Beispiel | |
| --- | --- | --- | --- |
| securitytoken | Esios personal Security token |  |  |
| indicator | Indicator to retrieve from the API. (1001, 1739) | 1001 |  |
| region | Region (Península, Canarias, Baleares, Ceuta, Melilla) | Península |  |
| charges | Aufschlag Zusätzlicher fester Aufschlag pro kWh |  | erweitert |
| chargesZones | Aufschlagszonen Zeitabhängige Aufschläge, die den Standardaufschlag überschreiben. |  | erweitert |
| tax | Steuer Zusätzlicher prozentualer Aufschlag (z.B. 0.2 für 20%) |  | erweitert |
| formula | Formel Individuelle Formel zur Berechnung des Preises | math.Max((price + charges) * (1 + tax), 0.0) | erweitert |

## Konfigurationsbeispiel für evcc.yaml

```yaml
tariffs:
    grid:
      type: template
      template: esios
      securitytoken: # Esios personal Security token
      indicator: 1001 # Indicator to retrieve from the API., [1001, 1739]
      region: Península # Region, [Península, Canarias, Baleares, Ceuta, Melilla]
      charges: # Aufschlag, Zusätzlicher fester Aufschlag pro kWh (optional)
      chargesZones: # Aufschlagszonen, Zeitabhängige Aufschläge, die den Standardaufschlag überschreiben. (optional)
      tax: # Steuer, Zusätzlicher prozentualer Aufschlag (z.B. 0.2 für 20%) (optional)
      formula: math.Max((price + charges) * (1 + tax), 0.0) # Formel, Individuelle Formel zur Berechnung des Preises (optional)
```
