Where to add specific energy mix data if available? #953
-
|
Hello there, I´m Dominic and currently working on the implementation of codecarbon at a university in Germany. I would like to perform the measurement as accurately as possible and therefore want to override the energymix data of Germany with the energymix data of our specific energyprovider at our city. I tried to find the origin of the data used by codecarbon myself, but failed. I also couldn't find an entry on the documentation. I really appreciate any help you can provide. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
|
I think this is documentation explaining where the data comes from: https://mlco2.github.io/codecarbon/faq.html#:~:text=What%20are%20the%20sources%20of%20your%20energy%20carbon%20intensity%20data%3F |
Beta Was this translation helpful? Give feedback.
-
|
If you [the reader] wants to use live energy mix data then read here. I ditched the idea of using custom energy mix data and instead trying to get live data. Best way to get live data on co2eq-emissions per kWh is to use the API of electricitymaps.com, former co2signal.com. Unfortantely, the API call does not work right now because its calling an outdated URL. I opened an Issue on that, so hopefully someone smarter than me can fix it. I hope this gives any future reader with similar ideas a good understanding. |
Beta Was this translation helpful? Give feedback.
I think this is documentation explaining where the data comes from: https://mlco2.github.io/codecarbon/faq.html#:~:text=What%20are%20the%20sources%20of%20your%20energy%20carbon%20intensity%20data%3F
Possibly you can overwrite the values in https://github.com/mlco2/codecarbon/blob/master/codecarbon/data/private_infra/global_energy_mix.json, but I have not tried.