Skip to main content

No project description provided

Project description

bw2calc appveyor build status Test coverage report

This package provides the calculation engine for the Brightway2 life cycle assessment framework. Online documentation is available, and the source code is hosted on Bitucket.

The emphasis here has been on speed of solving the linear systems, for normal LCA calculations, graph traversal, or Monte Carlo uncertainty analysis.

The Monte Carlo LCA class can do about 30 iterations a second (on a 2011 MacBook Pro). Instead of doing LU factorization, it uses an initial guess and the conjugant gradient squared algorithm.

The multiprocessing Monte Carlo class (ParallelMonteCarlo) can do about 100 iterations a second, using 7 virtual cores. The MultiMonteCarlo class, which does Monte Carlo for many processes (and hence can re-use the factorized technosphere matrix), can do about 500 iterations a second, using 7 virtual cores. Both these algorithms perform best when the initial setup for each worker job is minimized, e.g. by dispatching big chunks.

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

bw2calc-1.7.4.tar.gz (41.6 kB view details)

Uploaded Source

Built Distribution

bw2calc-1.7.4-py3-none-any.whl (35.6 kB view details)

Uploaded Python 3

File details

Details for the file bw2calc-1.7.4.tar.gz.

File metadata

  • Download URL: bw2calc-1.7.4.tar.gz
  • Upload date:
  • Size: 41.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.6.7

File hashes

Hashes for bw2calc-1.7.4.tar.gz
Algorithm Hash digest
SHA256 0a1de7519567d7daf4544e71ea1a8918b252d232d98ccc8765d120f06b531bb4
MD5 7bf86bc43bb5009017d8fc0161c9f6ae
BLAKE2b-256 b67acc4f8bdb65a37b329f1fdeba75fe23e3abd5238b66a331ee1e700137540f

See more details on using hashes here.

File details

Details for the file bw2calc-1.7.4-py3-none-any.whl.

File metadata

  • Download URL: bw2calc-1.7.4-py3-none-any.whl
  • Upload date:
  • Size: 35.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.6.7

File hashes

Hashes for bw2calc-1.7.4-py3-none-any.whl
Algorithm Hash digest
SHA256 d9b4d2de141762ab1fe232d531eeb17e40d0dc74fe0551b58832b664fdc902b3
MD5 477289e8378cd17ff8a900330c41e28e
BLAKE2b-256 1f8636b00b41da76638fbbc9aefaa8bcde3f676b52f363676f7f36bbd13d3c83

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