Skip to main content
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.

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.6.tar.gz (40.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: bw2calc-1.7.6.tar.gz
  • Upload date:
  • Size: 40.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.3

File hashes

Hashes for bw2calc-1.7.6.tar.gz
Algorithm Hash digest
SHA256 deef4f435cdb950c8563f0cc28e591ae7f1713e5859e298f090af6efa23e72f3
MD5 2e0df554e2d29b8aaff47e1aec873210
BLAKE2b-256 042c0c80f1415a44f680b4bf6ebf813b14869af2f513ed4c60bc0f5ef3e0b480

See more details on using hashes here.

File details

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

File metadata

  • Download URL: bw2calc-1.7.6-py3-none-any.whl
  • Upload date:
  • Size: 35.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.3

File hashes

Hashes for bw2calc-1.7.6-py3-none-any.whl
Algorithm Hash digest
SHA256 6a2f098d1465882cfb01f677403c7f00b710a80776274b8e385fa8f9c7a13c13
MD5 1e4283e6c82126b9b12fb1cffd2e2035
BLAKE2b-256 28e454544ca4345351f0c2ed3868abfda52caedcdb0373c2f80aae521e942dc8

See more details on using hashes here.

Release history Release notifications | RSS feed

Supported by

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