# Strømligning

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

Unterstützte Funktionen: Dänemark

## Parameter

| Name | Beschreibung | Standard / Beispiel | |
| --- | --- | --- | --- |
| apikey | API Key |  |  |
| supplierid | Grid supplier ID | radius_c |  |
| pricetype | Price type (consumption, production) | consumption |  |
| productid | Product ID | enkel_energi-enkel_kvartal |  |
| customergroupid | Customer group ID | C_egenproducent |  |
| agreementstart | Agreement start | 2025-03-01 |  |
| 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: stromligning
      apikey: # API Key
      supplierid: radius_c # Grid supplier ID
      pricetype: consumption # Price type, [consumption, production] (optional)
      productid: enkel_energi-enkel_kvartal # Product ID, optional
      customergroupid: C_egenproducent # Customer group ID, optional
      agreementstart: '2025-03-01' # Agreement start, optional
      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)
```
