Skip to main content

This library provides a layer above brightway2 for defining parametric models and running super fast LCA for monte carlo analysis.

Project description

Introduction

This library is a layer above brightway2 designed for the definition of parametric inventories with fast computation of LCA impacts, suitable for monte-carlo / global sensitivity analysis

It integrates the magic of Sympy in order to write parametric formulas as regular Python expressions.

lca-algebraic provides a set of helper functions for :

  • compact & human readable definition of activities :
    • search background (tech and biosphere) activities
    • create new foreground activities with parametrized amounts
    • parametrize / update existing background activities (extending the class Activity)
  • Definition of parameters
  • Fast computation of LCAs
  • Computation of monte carlo method and global sensitivity analysis (Sobol indices)

Installation

We don't provide conda package anymore.

This packages is available via pip /pypi

1) Setup separate environement

First create a python environment, with Python [>=3.9] :

With Conda (or mamba)

conda create -n lca python==3.10
conda activate lca

With virtual env

python3.10 -m venv .venv
source .venv/bin/activate

2) Install lca_algebraic

pip install lca_algebraic

3) [Optional] Install Jupyter & Activity Browser

You may also install Jupyter and Activity Browser on the same environment.

Jupyter :

pip install jupyter

Activity Browser can only be installed via conda/mamba. Note that it can also be installed on a separate Python env and will still be able to access and browse the projects created programmatically with lca_algebraic / Brightway.

conda install activity-browser

Licence & Copyright

This library has been developed by OIE - MinesParistech, for the project INCER-ACV, lead by ADEME.

It is distributed under the BSD License

Mailing list

Please register to this dedicated mailing list to discuss the evolutions of this library and be informed of future releases :

lca_algebraic@groupes.mines-paristech.fr

Documentation

Full documentation and example notebooks are hosted on readthedocs

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

lca_algebraic_dev-1.1.1832776.dev0.tar.gz (53.1 kB view details)

Uploaded Source

Built Distribution

lca_algebraic_dev-1.1.1832776.dev0-py2.py3-none-any.whl (72.5 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file lca_algebraic_dev-1.1.1832776.dev0.tar.gz.

File metadata

File hashes

Hashes for lca_algebraic_dev-1.1.1832776.dev0.tar.gz
Algorithm Hash digest
SHA256 58a8f4bf84410cc8c9f3857ac64d0bda544f71e104dfee2b9b89d5d99ea925f8
MD5 66cc9d955edbc38f01f500756051aec2
BLAKE2b-256 b865ef9488a680c195dbe3faeabd767bbe4ffb49dd9e4e819e587958e7ea77fe

See more details on using hashes here.

File details

Details for the file lca_algebraic_dev-1.1.1832776.dev0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for lca_algebraic_dev-1.1.1832776.dev0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 321f3ff4c9ba44d50d1a6db7bc1e76763c8ce967e2cf7fbbb218b07a2e616e3f
MD5 40cfee13f3b3719bd64407fcfb3484ea
BLAKE2b-256 c13b26834dfc019cdab56cbef2e35b5351da159733532a64d0ecf1b434f565f2

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page