Skip to content

Update Sustainable Web Design Model to Version 4 #119

Closed

Description

@mrchrisadams

Since the SWD model was worked into this library, new data and reports from DIMPACT, the IEA, Ember and Cisco systems have been published, many of which provide new top level numbers for total energy use, total transfer and so on.

This issue is a placeholder to check the original numbers in the SWD model, as well as confirm if they were using the 1024 based figure of gibibytes (often used for storage), or 1000 based figure for gigabytes (often used for transfer).

Activity

  1. added this to the 0.16 milestone on Feb 15, 2024
  2. changed the title [-]Revisit top level transfer and energy figures in the light of new data.[/-] [+]Update Sustainable Web Design Model to Version 4[/+] on May 15, 2024
  3. fershad commented on May 15, 2024

    @fershad
    Contributor

    Renamed this issue.

    The Sustainable Web Design Model has recently published an updated calculation based on newer data. This issue will capture the changes required in CO2.js to facilitate adding the new version to the library.

    The updated methodology is outlined on this page. The update includes a significant change to the calculation (linked here).

    Key changes from version 3 to version 4:

    • The production segment has been removed. Instead, the model now refers to operational and embodied emissions for the remaining three segments (data center, network, user device).
    • Rather than being binary (yes or no), green hosting can now be represented as a portion (i.e. 40% of my hosting providers servers run on green energy).

    At this time, version 4 is open for comment. As such, version 3 (the current version implemented in CO2.js _will remain the default_. This will allow us to introduce version 4 into the library, allow users to opt-in to using it, and leave space to make changes should they be required. Eventually, we will outline a roadmap for defaulting to version 4.

    What this might look like:

    import { co2 } from '@tgwf/co2';
    
    // These would use version 3 of the Sustainable Web Design Model
    const default = new co2();
    const version3 = new co2({ model: "swd" });
    const explicitVersion3 = new co2({ model: "swd", version: "3" });
    
    // This would use version 4 of the Sustainable Web Design Model
    const version4 = new co2({ model: "swd", version: "4" });

    As part of this update, we would also need to update the Sustainable Web Design Rating Scale that's being implemented in #207. The SWD group is working through making that update to the website & once that's done we'll look to replicate that in CO2.js.

  4. mrchrisadams commented on May 27, 2024

    @mrchrisadams
    MemberAuthor

    There's some more discussion about supporting new versions in the issue below. It's helpful context:

    #206

  5. fershad commented on May 31, 2024

    @fershad
    Contributor

    Version 4 has been added to CO2.js in #208 and is "opt-in" for developers to use at this time. Version 3 remains in the library as the default SWDM version.

    Discussions to update the default SWDM version to version 4 are being tracked in #209.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions