# Energy Forecast

Zdroj: https://docs.evcc.io/cs/tariffs/energy-forecast

Podporované funkce: Německo, Lucembursko, Rakousko, Francie, Nizozemsko, Belgie, Polsko, Dánsko

## Parametry

| Název | Popis | Výchozí / příklad | |
| --- | --- | --- | --- |
| token | Token |  |  |
| domain | Domain (DE-LU, AT, FR, NL, BE, PL, DK1, DK2) |  |  |
| charges | Charge Additional fixed charge per kWh |  | pokročilé |
| chargesZones | Charges zones Time-based grid fees that override the default charge. |  | pokročilé |
| tax | Tax Additional percentage charge (e.g. 0.2 for 20%) |  | pokročilé |
| formula | Formula Individual formula for calculating the price | math.Max((price + charges) * (1 + tax), 0.0) | pokročilé |
| average | Average by hour |  | pokročilé |

## Příklad konfigurace pro evcc.yaml

```yaml
tariffs:
    grid:
      type: template
      template: energyforecast
      token: # Token
      domain: # Domain, [DE-LU, AT, FR, NL, BE, PL, DK1, DK2] (optional)
      charges: # Charge, Additional fixed charge per kWh (optional)
      chargesZones: # Charges zones, Time-based grid fees that override the default charge. (optional)
      tax: # Tax, Additional percentage charge (e.g. 0.2 for 20%) (optional)
      formula: math.Max((price + charges) * (1 + tax), 0.0) # Formula, Individual formula for calculating the price (optional)
      average: # Average by hour, optional
```
