Skip to content
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

Add ElectricityMaps Co2 forecast #5454

Merged
merged 1 commit into from
Dec 23, 2022
Merged

Add ElectricityMaps Co2 forecast #5454

merged 1 commit into from
Dec 23, 2022

Conversation

andig
Copy link
Member

@andig andig commented Dec 12, 2022

Depends on #5445. Using something similar to

tariffs:
  grid:
    type: electricitymaps
    uri: https://api-access.electricitymaps.com/<...>/
    token: <...>
    zone: de

the planner introduced in #5445 could plan for CO2 footprint instead of price for those users that don't have access to a flexible tariff. API keys can be obtained from https://api-portal.electricitymaps.com/.

TODO

  • separate planning and cost tariffs

/cc @RTTTC @bsmout

@andig andig added the enhancement New feature or request label Dec 12, 2022
@andig andig force-pushed the feature/electricity-maps branch from d39a181 to ea3d067 Compare December 12, 2022 17:37
@schenlap
Copy link
Contributor

https://api-portal.electricitymaps.com/catalog
500 EUR/month, very expensive for this use case.

@andig
Copy link
Member Author

andig commented Dec 12, 2022

Use the free plan ;)

@RTTTC
Copy link
Contributor

RTTTC commented Dec 12, 2022

Use the free plan ;)

It seems to be free for one month only?

@thorstenwagner
Copy link

I just saw that ElectrictyMaps uses data from ENTSO-E:
https://transparency.entsoe.eu/

You can get live data what is produced for every country.

But what is most important: I found a generation forecast for solar AND wind. I think this should be pretty much correlate how climate friendly charging is... that is exactly what we need?

Moreover, it seems they have a free API:
https://transparency.entsoe.eu/content/static_content/Static%20content/web%20api/Guide.html#_generation_domain

Here are instructions how to get a security token:
https://thesmartinsights.com/how-to-query-data-from-the-entso-e-transparency-platform-using-python/

I'm willing to help to get this working but need some advice what is necessary to do.

@RTTTC
Copy link
Contributor

RTTTC commented Dec 17, 2022

#5291
I think it's most important to integrate day-ahead prices.

@thorstenwagner
Copy link

thorstenwagner commented Dec 17, 2022

Might be most relevant to save money. Personally, I don't have a dynamic tariff, so I would be most interested in charging with lowest CO2 footprint during the winter months. But I guess, as solar and wind are cheap co2-footprint probably correlates with energy prices?

@andig
Copy link
Member Author

andig commented Dec 17, 2022

The ENTSO api is quite complex. Any idea which of the various reports delivers meaningful, actionable data?

@thorstenwagner
Copy link

For planning probably this and this ?

I mean, with this data you could already calculate the relative amount of renewable energy in the grid and define a threshold when to start charging?

@RTTTC
Copy link
Contributor

RTTTC commented Dec 17, 2022

But I guess, as solar and wind are cheap co2-footprint probably correlates with energy prices?

That is correct.
Plus - day ahead price is the only hard data, unlike generation forecast, it will materialise exactly like planned in the next 24h.

@andig
Copy link
Member Author

andig commented Dec 18, 2022

I‘m not even convinced, that generation is relevant. It should be the mix consumption that matters rather than generation?

@thorstenwagner
Copy link

I would guess that mix generation and mix consumption should be pretty much the same?

@thorstenwagner
Copy link

Anyway, I agree that day ahead price is probably the best correlate for co2 friendly charging

@andig andig force-pushed the feature/electricity-maps branch 2 times, most recently from 65e24a0 to 52fb243 Compare December 23, 2022 10:19
@andig
Copy link
Member Author

andig commented Dec 23, 2022

With this feature in place, we can still add additional "tariffs", including ENTSO.

@andig andig merged commit 1684a0d into master Dec 23, 2022
@andig andig deleted the feature/electricity-maps branch December 23, 2022 10:21
@thorstenwagner
Copy link

thorstenwagner commented Dec 23, 2022

Very cool! Looking forward to the next release. Will you provide documentation how to configure it?

Merry Christmas :-)

@andig
Copy link
Member Author

andig commented Dec 23, 2022

@RTTTC
Copy link
Contributor

RTTTC commented Jan 11, 2023

It is still not clear to me how to get a free non-trial plan for electricity..
I do not see such option on their web site.

Why not use free for personal use version instead? https://www.co2signal.com
EDIT - found the answer #5199 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants