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

Support regional energy mixes #42

Closed
adrienbanse opened this issue Apr 29, 2024 · 3 comments · Fixed by #66
Closed

Support regional energy mixes #42

adrienbanse opened this issue Apr 29, 2024 · 3 comments · Fixed by #66
Assignees

Comments

@adrienbanse
Copy link
Member

For now, we only use the world mix to compute GWP, ADPE and PE:

IF_ELECTRICITY_MIX_GWP = 5.90478e-1     # kgCO2eq / kWh (World)
IF_ELECTRICITY_MIX_ADPE = 7.37708e-8    # kgSbeq / kWh (World)
IF_ELECTRICITY_MIX_PE = 9.988           # MJ / kWh (World)

But we know that some providers only have servers in a specific region (e.g. OpenAI in the US).

We could add a column in data/models.csv indicating a zone (country, continent, ...), and then query another .csv (or query some database in another way) to ask for an average energy mix of the zone, or keep the World mix if unspecified.

@adrienbanse
Copy link
Member Author

If we can query an API such as Electricity Maps, then we can even make it time-dependent.

@adrienbanse adrienbanse self-assigned this Apr 29, 2024
@adrienbanse adrienbanse changed the title Support regional energy mixs Support regional energy mixes Apr 30, 2024
@adrienbanse
Copy link
Member Author

adrienbanse commented May 3, 2024

Started to work on this in feat/variable_mixes

@adrienbanse
Copy link
Member Author

adrienbanse commented Jul 25, 2024

Let's re-start this from scratch, and do the following:

  • Make llm_impacts more flexible with electricity mix
  • Add initialisation parameters to change the default mix (e.g. Ecologits.init(electricity_mix="USA")) (see Configuration system #57)

@adrienbanse adrienbanse linked a pull request Jul 25, 2024 that will close this issue
3 tasks
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

Successfully merging a pull request may close this issue.

1 participant