Skip to content

RSS optimized

Choose a tag to compare

@romainsacchi romainsacchi released this 14 Apr 19:45
· 118 commits to master since this release
8a40858

Highlights

Faster and lighter workflows

  • Much faster and lighter write_db_to_brightway() on Brightway 2.5
  • Lower RAM usage during cold NewDatabase() initialization
  • Leaner post-update() scenario caching and reload
  • Faster Brightway superstructure export

Better Brightway export behavior

  • Fast exports now behave much more like regular Brightway databases
  • Exported databases remain searchable and browsable
  • Activity Browser compatibility was fixed by ensuring process types are set
  • Export UX is clearer, with progress bars, overwrite notices, and an explicit “database
    written” message

Updated data and assumptions

  • Refreshed solar PV efficiency assumptions
  • Added new PV anchor years and a perovskite-Si tandem trajectory
  • Expanded GCAM variable mappings across sectors
  • Updated GCAM regional mapping assets, including Ukraine coverage

Workflow and data fixes

  • Better IAM normalization when an exact 2020 datapoint is missing
  • End-of-pipe emissions updates moved later in the workflow to avoid ordering issues
  • Improved electricity validation diagnostics
  • Fixed cold-cache reload behavior
  • Fixed migrated inventory gap filling, where replacement-based exchanges could be
    duplicated incorrectly after migration splits

In one sentence

2.4.0 moves premise from a mostly correct but heavy Brightway export workflow to a much
leaner one, while also updating PV and GCAM assumptions and fixing several export, cache,
and inventory edge cases.

Observed local benchmark

On a local full three-scenario cold workflow benchmark, compared to 2.3.9:

  • runtime dropped from about 2564 s to about 717 s
  • peak RSS dropped from about 4.38 GiB to about 2.03 GiB