Skip to content

Used to preemptively generate correlated samples in Brightway2 for whole LCI databases.

License

Notifications You must be signed in to change notification settings

PascalLesage/bw2-database-preaggregator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bw2preagg - Brightway2 database preaggregator

bw2preagg is used to generate dependently sampled LCI and LCIA arrays for whole databases.

It uses Brightway2 framework and presamples. The arrays are stored as numpy.ndarray files, and can be integrated in Brightway2 models using other modules (brightway2-aggregated, presamples).

The resulting result arrays allow the use of aggregated LCI or LCIA results (also known as cradle-to-gate results) in LCA while also correctly integrating the uncertainty of LCI data, see Lesage et al. 2018.

Generating samples of cradle-to-gate results for all activities in a database can be a lengthy process, especially when dealing with large LCI databases like ecoinvent. The functions are therefore geared towards large, bulk calculations, by e.g. facilitating multiprocessing and breaking down the task in multiple “batches” that can run on different systems.

For more information, consult the documentation.

About

Used to preemptively generate correlated samples in Brightway2 for whole LCI databases.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published