# OMIE Iberian day-ahead market prices

Zdroj: https://docs.evcc.io/cs/tariffs/omie-iberian-day-ahead-market-prices

Day-ahead electricity prices from OMIE for Portugal and Spain. No API key is required.

Podporované funkce: Portugalsko, Španělsko

## Parametry

| Název | Popis | Výchozí / příklad | |
| --- | --- | --- | --- |
| country | Country Select whether to use the Portuguese or Spanish market price published by OMIE. (PT, ES) | PT |  |
| 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: omie
      country: PT # Country, Select whether to use the Portuguese or Spanish market price published by OMIE. [PT, ES]
      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
```
