# Fingrid CO₂

Kilde: https://docs.evcc.io/da/tariffs/fingrid-co2

CO₂ data for Finnish national grid from [Fingrid OpenData](https://www.fingrid.fi/en/electricity-market-information/real-time-co2-emissions-estimate/). Get your API key by registering an account at [https://data.fingrid.fi/instructions](https://data.fingrid.fi/instructions).

Understøttede funktioner: Finland

## Parametre

| Navn | Beskrivelse | Standard / eksempel | |
| --- | --- | --- | --- |
| apiKey | API Key Get your API key by registering an account at [https://data.fingrid.fi/instructions](https://data.fingrid.fi/instructions), creating a new API key and enter it here. |  |  |
| charges | Charge Additional fixed charge per kWh |  | avanceret |
| chargesZones | Charges zones Time-based grid fees that override the default charge. |  | avanceret |
| tax | Tax Additional percentage charge (e.g. 0.2 for 20%) |  | avanceret |
| formula | Formula Individual formula for calculating the price | math.Max((price + charges) * (1 + tax), 0.0) | avanceret |

## Konfigurationseksempel til evcc.yaml

```yaml
tariffs:
    co2:
      type: template
      template: fingrid-co2
      apiKey: # API Key, Get your API key by registering an account at [https://data.fingrid.fi/instructions](https://data.fingrid.fi/instructions), creating a new API key and enter it here.
      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)
```
