Skip to content

Latest commit

 

History

History
80 lines (58 loc) · 2.28 KB

README.md

File metadata and controls

80 lines (58 loc) · 2.28 KB

AESA methods implemented for use in Brightway

Implemented methods and impact categories

AESA (PBs-LCIA)

  • climate change
    • atmospheric CO2 concentration
    • energy imbalance at top-of-atmosphere
  • ozone depletion
    • stratospheric O3 concentration
  • ocean acidification
    • carbonate ion concentration
  • biogeochemical flows
    • phosphorus
    • nitrogen
      • inverse modelling, surface water
      • directly fixated
  • land-system change
    • global
  • freshwater use
    • global
  • change in biosphere integrity
    • functional diversity
      • total
      • direct land use
      • CO2eq emissions

Changelog

See CHANGELOG

Usage

import brightway2 as bw
import aesa_pbs

# open an existing bw project or create a new one
bw.projects.set_current("<YOUR-PROJECT-NAME>")

# install AESA PBs methods
aesa_pbs.add_aesa_pbs(verbose=True)
# (optionally set `verbose=False` to avoid seeing the applied strategies)

# adapt a database for quantification of directly fixated nitrogen
# 1. retrieve list of nitrogenous fertilizers from "<DATABASE-NAME>"
nflow_activities = aesa_pbs.get_nitrogenous_fertilizers("<DATABASE-NAME>")

# 2. create exchanges for 'nitrogen fertilizer' in `activities` if they don't exist already.
aesa_pbs.update_nitrogen_fertilizer_exchanges(nflow_activities, show_updated=True)

See example notebook for detailed usage.

Installation

# from PyPI (recommended)
pip install aesa-pbs

# or with uv
uv add aesa-pbs

# for development
uv pip install -e .

References

Ryberg, M. W.; Owsianiak, M.; Richardson, K.; Hauschild, M. Z. developed CFs for the following categories of AESA (PBs-LCIA): "climate change", "ozone depletion", "ocean acidification", "biogeochemical flows", "land-system change" and "freshwater use". Galán-Martín, Á.; Tulus, V.; Díaz, I.; Pozo, C.; Pérez-Ramírez, J.; Guillén-Gosálbez, G. developed CFs for "change in biosphere integrity, functional diversity" of AESA (PBs-LCIA)

Maintainer

License

BSD 3-Clause License. Copyright (c) 2023, Victor Tulus. All rights reserved.