However, if the user passes in a value of true for the green parameter the grid intensity used for the data center is set to 50g CO2e/kWh (as per the Sustainable Web Design model).
The purpose of this issue is so that we can ensure we clearly highlight this in the docs.
Related to https://github.com/thegreenwebfoundation/co2.js/issues/197
When using the
perByteTrace
orperVisitTrace
functions for the Sustainable Web Design model in CO2.js, the user can adjust the grid intensity used when calculating data center emissions. This is captured in https://github.com/thegreenwebfoundation/developer-docs/blob/main/src/docs/co2js/tutorials/customise-website-carbon-calculations.mdHowever, if the user passes in a value of
true
for thegreen
parameter the grid intensity used for the data center is set to 50g CO2e/kWh (as per the Sustainable Web Design model).The purpose of this issue is so that we can ensure we clearly highlight this in the docs.