Skip to content

1.4

Choose a tag to compare

@jnioche jnioche released this 20 Oct 11:35
· 34 commits to main since this release

SPRUCE 1.4

⚠️ Changes that affect results

Two fixes and the new carbon intensity data change the output numbers. Expect noticeable differences from 1.3:

  • Compute energy is 3.6x higher. Energy from BoaviztAPI was being treated as MJ and converted to kWh, but the API's value is already in kWh, so every compute energy figure was 3.6 times too low. The AWS and Azure static impact files have been regenerated with the fix. (#298)
  • Bedrock estimates corrected for some models. The EcoLogits coefficients were generated with an artificially short request latency. For 245 of the 348 models, embodied impacts came out about 5 orders of magnitude too low and energy about 40% too low. Two of them are used for Bedrock: Mistral-7B and Mixtral-8x7B. The coefficients have been regenerated from the current API. (#297)
  • Carbon intensity now depends on the year of usage. Ember figures are now available per region and per year from 2022 on. Each line gets the figure for the year it was billed in, or the latest earlier year if that year isn't published yet. (#281, fixes #280)
  • Monthly carbon intensity for UK regions. A new neso.MonthlyCarbonIntensity module replaces Ember's yearly UK figure with monthly, regional figures for AWS eu-west-2, Azure uksouth / ukwest and GCP europe-west2. (#293, fixes #286)

New features

  • neso.MonthlyCarbonIntensity module, added to all default configs right after ember.AverageCarbonIntensity:

    • The source is NESO's half-hourly regional fuel mix (Carbon Intensity API), with each fuel valued at Ember's lifecycle factors.
    • Imports are weighted by the actual interconnector flows reported by Elexon.
    • The data is generated by scripts/fetch_neso_carbon_intensity.py.

    (#293)

  • spruce_version output column records which version of SPRUCE produced each enriched row. (#291, fixes #285)

  • GHG Protocol scopes in the report and dashboard. Emissions are now summarised by scope, and the overview cards are labelled with their scope. (#289, fixes #288)

  • SPRUCE version shown in the report and dashboard. (#296)

Data updates

  • Refreshed the Ember carbon intensity data, and fixed the generation of the CSV:

    • usgovvirginia is now placed in Virginia.
    • "Washington, D.C." rows are no longer dropped.
    • The script now stops instead of falling back to the national figure for US

    (#281)

  • AWS eu-west-2 is now placed in Hayes, west of London. (#293)

  • Regenerated the AWS and Azure instance impacts against BoaviztAPI 2.5.0. (#29

Fixes

  • report.py no longer runs out of memory on large inputs, because its input i than a table. (#290)
  • AWS Marketplace charges are excluded from the report and dashboard. (#292)
  • Fixed a geocode cache clash and province matching in the water fetch scripts.

Documentation

  • Documented BoaviztAPI lifespan and LCA boundaries. (#287)
  • Documented that Ember intensity excludes transmission and distribution (T&D) losses and imports. (#295)
  • Corrected the fix_cloud_regions.sh usage in the scripts README. (#295)
  • Documented MonthlyCarbonIntensity in the module overview and the configuration how-to. (#293)
  • Smaller documentation images, link fixes, and SEO improvements. (#279)
  • Added the Open Source GreenOps talk to the resources, and updated the support section.

Build and dependencies

  • Bumped actions/setup-java from 6.0.0 to 6.0.1. (#282)
  • The NESO fetch script requires carbonintensity-api 0.4.0.

Full changelog: 1.3...1.4