Skip to main content

Brightway2 calculations

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.

Metadata

Release files for bw2calc 0.9.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for bw2calc 0.9.1
File Size Uploaded Provenance Actions
bw2calc-0.9.1.tar.gz 14.2 kB Without provenance Details for bw2calc-0.9.1.tar.gz

Release files / bw2calc-0.9.1.tar.gz

Download URL bw2calc-0.9.1.tar.gz
Size 14.2 kB
Tags Source
SHA-256 checksum
How to use checksums
c4f347e827a6727818ea8e1f54b7e1eb66db0df6d4257eaac2def042445e84b7
BLAKE2b-256 checksum
How to use checksums
4938d9927b34443ab68e59037a75cf6f372049633c77e5f56d192ad591127506
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for bw2calc 0.9.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.9.1 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page