-
-
Notifications
You must be signed in to change notification settings - Fork 759
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tariffs calculated incorrectly with data source from ENTSOE when currency is other than EUR #17580
Comments
I'm not familiar with it- does it offer anything else? Maybe we could also return local currency.
Presentation is as configured by user. If you have EUR data you'll need to configure EUR or convert the currency. evcc does not do any automatic conversion. Alternative solution: use a formula for currency conversion using #17002 |
I think ENTSO-e only provides EUR Tariff. Try following to convert to your local currency:
|
Yeah, so... Obviously I wasn't very happy with this response, static exchange rate will always be a hack, and apparently ENTSO-E only provides EUR data as stated above. SOOO, I kinda fixed it in another way ./evcc -c evcc.yaml tariff -l debug This was based on the energinet tariff source, but uses Nordpool data instead which have SE/NO/DK and other areas as well. Will create pull request as soon as I have figured out how to. And cleaned up the code somewhat. Maybe close this bug report with a documentation update only and then I will provide the Nordpool tariff source later. |
Don‘t eneginet and elering also provide Nordpool data? If we can get them from the source that wouldn‘t hurt 👍🏻 |
Nordpool provides data for Although some combinations do not report any values according to my testing. I just noticed the Nordpool feature request and will attach a patch to that thread when I've cleaned up the code a bit so that more people can test. |
Describe the bug
The calculation of the current price for electricity is done incorrectly when using other than EUR for the ENTSOE tariff price source. The api always fetches the price in EUR, but the presentation is in local currency, which in the case of SEK leads to an underestimation of the electricity price by a factor of 10.
Currently (2024-12-04, 08:00-09:00) the price in SE4 is 3.13 SEK/kWh which is 0.27 EUR/kWh
Calculation from EVCC:

Expected (with configuration as below):
(3.13 + 0.73744) * 1.25 = 4.8 SEK / kWh
Actual:
(0.270 + 0.73744) * 1.25 = 1.26 SEK / kWh
Steps to reproduce
Configuration details
Log details
What type of operating system are you running?
Linux
Nightly build
Version
0.137.7
The text was updated successfully, but these errors were encountered: