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

Provide a way to surface system segment level carbon estimates #101

Closed
fershad opened this issue Aug 31, 2022 · 3 comments
Closed

Provide a way to surface system segment level carbon estimates #101

fershad opened this issue Aug 31, 2022 · 3 comments
Milestone

Comments

@fershad
Copy link
Contributor

fershad commented Aug 31, 2022

Currently, CO2.js can be used to calculate carbon estimates for an entire system. In the case of the OneByte model that is data centers and networks. For the Sustainable Web Design (SWD) model, this covers data centers, networks, user devices, and production.

Ideally, there should be a way for developers to easily get carbon estimates for each individual segment. There are currently functions in the SWD model that do this, but they are not exposed through the CO2 object.

Outcome

It should be possible for a developer to obtain a breakdown of segment-level carbon estimates for a given model. This, when coupled with changes proposed for #64 and #97, would provide a means for developers to return even more detailed carbon emissions estimates.

Example

I am looking at a website, that is hosted in Portugal. The audience for this website is mostly based in Brazil. I could use average grid intensity figures for Portugal & Brazil, and plug them into the SWD model to be used when calculating device & user device carbon estimates respectively. This will enable the results returned by CO2.js to be more tailored to my website's situation, rather than all results being based off global average emissions intensity.

@mrchrisadams
Copy link
Member

hey @fershad I think this could plausibly be begun without waiting for the marginal intensity work in #97, as there are a couple of python scripts that could be converted to js ones as we discussed.

WDYT?

#69

@fershad
Copy link
Contributor Author

fershad commented Aug 31, 2022

I reckon we could make a start on it, though I'll be prioritising the Ember & UNFCCC data since it'll be mentioned in the Branch article.

@mrchrisadams
Copy link
Member

Good point - the datasets take priority 👍

@fershad fershad added this to the 0.12.0 milestone Oct 4, 2022
@fershad fershad closed this as completed Jan 24, 2023
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