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 1.2

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 1.2
File Size Uploaded Provenance Actions
bw2calc-1.2.tar.gz 30.8 kB Without provenance Details for bw2calc-1.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for bw2calc 1.2
File Interpreter ABI Platform Actions
bw2calc-1.2-py3-none-any.whl Python 3 none any Details for bw2calc-1.2-py3-none-any.whl

Total release size: 62.4 kB

Release files / bw2calc-1.2.tar.gz

Download URL bw2calc-1.2.tar.gz
Size 30.8 kB
Tags Source
SHA-256 checksum
How to use checksums
8e42962008ab7cc07691f9569522586a4c506ed6f656b7f57aaf319bd59063dc
BLAKE2b-256 checksum
How to use checksums
48669bd90c880681f43fec36a6acea2324d17c0fd9d9286d8cbc432539e1abd4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / bw2calc-1.2-py3-none-any.whl

Download URL bw2calc-1.2-py3-none-any.whl
Size 31.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5978057d42f02980854ed88c8773e3fffe71c253b710f6792f42b1da3e94e9b5
BLAKE2b-256 checksum
How to use checksums
25b1e2647b700c945cad8dce9d2a8a302170bb957ee26adf6a6c91ef9666085c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for bw2calc 1.2

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

1.2 This release

2 release files 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