Skip to main content

No project description provided

Project description

bw2calc appveyor build status bw2calc drone.io 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.5.4.tar.gz (32.3 kB view details)

Uploaded Source

Built Distribution

bw2calc-1.5.4-py2-none-any.whl (30.7 kB view details)

Uploaded Python 2

File details

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

File metadata

  • Download URL: bw2calc-1.5.4.tar.gz
  • Upload date:
  • Size: 32.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for bw2calc-1.5.4.tar.gz
Algorithm Hash digest
SHA256 a9860351d0d185bfd1d481ec4b5d312293a6f708ab64564dcdfe0f7cd4fc935f
MD5 1d91f4bc279b3589f4ed89a758f79be5
BLAKE2b-256 a1ba0205651be8777c1afe6a56ed4ee4a9df122c27968e9802cc02655e44deda

See more details on using hashes here.

File details

Details for the file bw2calc-1.5.4-py2-none-any.whl.

File metadata

File hashes

Hashes for bw2calc-1.5.4-py2-none-any.whl
Algorithm Hash digest
SHA256 381fc98213cf7d426d63aa51e9f90c555a8abd2303bc9bd672ba768c5a8673ef
MD5 c0d48f8f76a0726c346cdda005e0a77a
BLAKE2b-256 7aef0130eff60fc6874a2c363c542dba7130b75862b2a8d9cc67d3510de43ab7

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