evcc icon indicating copy to clipboard operation
evcc copied to clipboard

Tariffs: add time-dependent charges (peak and off-peak)

Open andig opened this issue 1 year ago • 2 comments

Refs https://github.com/evcc-io/evcc/discussions/12331#discussioncomment-8508798, https://github.com/evcc-io/evcc/discussions/12690

andig avatar Feb 20 '24 15:02 andig

Mit: 0.124.9+1710209577

Fehlermeldung,: `[ main ] ERROR 2024/03/12 05:42:10 failed configuring grid tariff: cannot create tariff type 'energinet': 1 error(s) decoding:

  • '' has invalid keys: zones`

Konfiguration:

tariffs:
  currency: DKK
  grid:
    type: energinet
    region: dk1
    charges: 0.966
    zones:
      - days: Mo-So
        hours: 0-6
        price: 0.11012
      - days: Mo-So
        hours: 6-17
        price: 0.33035
      - days: Mo-So
        hours: 17-21
        price: 0.99105
      - days: Mo-So
        hours: 21-0
        price: 0.33035
    tax: 0.25
  feedin:
    type: energinet
    region: dk1
    charges: -0.01
    tax: 0.0```

Maergsche avatar Mar 12 '24 04:03 Maergsche

Hi, Any news about this issue, would help. Since in Finland there can also be different prices for night and daytime tariffs. So that would be Entso-E + additional tariffs based on zones.

hokkeist avatar Jul 02 '24 07:07 hokkeist

It would be great to support seasonal distinctions (summer vs. winter, defined by specific months/days) for California utilities that charge homes based on an Electric/Solar energy plan with fixed seasonal rates (no daily changes):

Winter Season: Oct 1-May 31

  • Peak (highest price) – 4 p.m. to 9 p.m is $0.XX
  • Partial-Peak – between 3 p.m and 4pm, and between 9 p.m and 12 a.m is $0.XX
  • Off-Peak (lowest price) – between 12 a.m and 3 p.m is $0.XX

Summer Season: June 1-September 30

  • Peak (highest price) – 4 p.m. to 9 p.m is $0.XX
  • Partial-Peak – between 3 p.m and 4pm, and between 9 p.m and 12 a.m is $0.XX
  • Off-Peak (lowest price) – between 12 a.m and 3 p.m is $0.XX

danielraffel avatar Jan 02 '25 07:01 danielraffel

This has been enabled with https://github.com/evcc-io/evcc/pull/17414. You can now add a formula that takes the slot‘s timestamp into account and modify charges/price accordingly.

andig avatar Jan 02 '25 08:01 andig

See https://docs.evcc.io/docs/devices/tariffs#b%C3%B6rsenpreise-mit-zeitkomponente

andig avatar Jan 02 '25 08:01 andig

@danielraffel is this enough to get you started? If not feel to start a discussion for Californian tariff and we can work on this together.

andig avatar Jan 03 '25 15:01 andig