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

Uploaded Source

Built Distribution

lca_algebraic_dev-1.1.1854408.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.1854408.dev0.tar.gz.

File metadata

File hashes

Hashes for lca_algebraic_dev-1.1.1854408.dev0.tar.gz
Algorithm Hash digest
SHA256 7f84b1a316407a42314a61aa903251b196d9b6b556906185e8097c551493c57a
MD5 2424463561ee4881d33b53713488e742
BLAKE2b-256 96fd8c2e1f42f167a4b6294715ee19e2ee74b3e52fb7fb35bacbcd11317b4210

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for lca_algebraic_dev-1.1.1854408.dev0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 0ff96959b2405b165af25175230c93306dd0feed28b3a7d61c756d2945d8e59e
MD5 c18a83bc886384c7956e0996d13e9c3e
BLAKE2b-256 e69058aab6768171b3a5497f7d27fce5769905261180bd0a4cba4e8754b64b44

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