mlco2 / mlco2/codecarbon

Dynamic Energy mix per country

Open
#513 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement P2
Dominant language
Python
Stars
1.9k
Forks
323
Avg merge
1d 12h
Merged PRs (30d)
12

Description

Hello!

I have noticed in Denmark that the national electricity grid manager provides an API to track, among other things, the evolution of the energy mix in realtime: https://www.energidataservice.dk/tso-electricity/DeclarationGridmix

I was thinking of using this data source as a replacement for global_energy_mix.json, when computing CO2 emissions.

Have you already considered a method for people to include different APIs of this kind as plugins? I noticed another related question regarding using ElectricityMap, but it would be interesting to incorporate data from freely accessible API than rely on commercial ones.

cheers,

Étienne

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with global_energy_mix.json and the Denmark grid-mix API linked in the issue. Review the related ElectricityMap discussion before determining whether the request is for a plugin mechanism or a single data-source integration; the issue is complete only after that scope and a way to incorporate freely accessible energy-mix APIs are agreed.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend-api-design, data
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.