Add a basic Software Carbon Intensity (SCI) implementation #231
Labels
designing
Specific outcomes to address, but that we’re not committing to
help wanted
Extra attention is needed
roadmap
Is your feature request related to a problem? Please describe.
There is currently no way to use CO2.js itself to generate an SCI score for a given model.
More about SCI here: https://wiki.greensoftware.foundation/3aee3b76b9424189b6cbe93f94152741
Describe the solution you'd like
At the very least, developers should be able to pass in an optional parameter when using CO2.js that would return an SCI score alongside the calculated carbon estimate figure (and Sustainable Web Design Model [SWDM] rating if applicable). What this might look like:
Alternately, a new SCI API could be created that would allow developers to pass in a model and related parameters. That API would then calculate an SCI score for the inputs and model provided. What this might look like:
This can be extended to provide a means for developers to "experiment" with different inputs to see the SCI score that would be returned. This could be useful in planning, prototyping, or ideation phases for projects.
For example, let's say a developer wants to see how changing the location of a workload might impact the SCI score for a database backup process that runs once a day for 1 hour. They have knowledge of, or guestimate, the following:
This could open up the possibility for developers to use multiple models in calculating an SCI score as well.
Describe alternatives you've considered
This would not be a replacement for other tools like Impact Framework. However, it would complement Impact Framework and allow an easily approachable initial entry to the SCI for developers first touching the topic or those who'd like to use SCI but cannot easily change their codebase to utilise Impact Framework.
The text was updated successfully, but these errors were encountered: