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

Detailed data for powerImportBreakdown and powerExportBreakdown #7581

Open
fcalderan opened this issue Dec 19, 2024 · 1 comment
Open

Detailed data for powerImportBreakdown and powerExportBreakdown #7581

fcalderan opened this issue Dec 19, 2024 · 1 comment

Comments

@fcalderan
Copy link

fcalderan commented Dec 19, 2024

The /power-breakdown/latest?zone=XX endpoint returns these sub-objects as a part of the response:

    ...
   "powerImportBreakdown": {
        "FR": 3050,
        "GR": 205
    },
    "powerExportBreakdown": {
        "FR": 0,
        "GR": 0
    },
    ...

Could it be feasible to have a breakdown of these values by source, both for import and export?

E.g.

    ...
   "powerImportBreakdown": {
        "FR": {
            "power": 3050,
            "sourcesBreakdown": {
              "gas": 439",
              "nuclear": 2500,
              "geothermal": 111
            }
        }
        "GR": {
            "power": 205,
            "sourcesBreakdown": {
              ...
            }
  
       }  
    },

In case of value equals to 0 the object could simply be

    "powerExportBreakdown": {
        "FR":  {
            "power": 0,
            "sourcesBreakdown": { }
       }
    },

app.electricitymaps.com already shows import and export of electricity between countries with the carbon intensity, so I suppose this data is somewhat available.

Thanks.

@VIKTORVAV99
Copy link
Member

@jbdietrich and @madsnedergaard some feedback for you!

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

No branches or pull requests

2 participants