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 env 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

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.1854368.dev0.tar.gz (57.7 kB view details)

Uploaded Source

Built Distribution

lca_algebraic_dev-1.1.1854368.dev0-py2.py3-none-any.whl (73.9 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

File hashes

Hashes for lca_algebraic_dev-1.1.1854368.dev0.tar.gz
Algorithm Hash digest
SHA256 7538ecb1698ac59fd7aceb69f81b1734442b429f5fcf205e271f7cd3afee9735
MD5 003890c9a7ee16717cfd4e4f4c78a06d
BLAKE2b-256 019a516aa9f6828d8a1bb76d8a3a24a5f98eb7ec1488ec62d5ff906e24bbe678

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for lca_algebraic_dev-1.1.1854368.dev0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 8a704ddb46a845cb690cb2c481b701859c228c927eaa38804e3a064be80fb70b
MD5 0b9e88720749afea62219f64e1727795
BLAKE2b-256 caa91e4c3a497274bf5bcfcacb4ac26d4a039503068d7e37abbdd1e4bcc4b02b

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