Skip to main content

The calculation engine for the Brightway2 life cycle assessment framework.

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 my 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.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.1
File Size Uploaded Provenance Actions
bw2calc-0.1.tar.gz 8.8 kB Without provenance Details for bw2calc-0.1.tar.gz

Release files / bw2calc-0.1.tar.gz

Download URL bw2calc-0.1.tar.gz
Size 8.8 kB
Tags Source
SHA-256 checksum
How to use checksums
2c521b46847a5ff0678b5f3ade7bcbe1cfdb517716c32a2d92a579b66726571a
BLAKE2b-256 checksum
How to use checksums
551e522b4387dece1e675f6c4de4ac87cc2dd102d43f424841f7e28561ff1e5d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for bw2calc 0.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.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