bw2calc.caching_lca#

Classes#

CachingLCA

Custom class which caches supply vectors.

Module Contents#

class bw2calc.caching_lca.CachingLCA(*args, **kwargs)[source]#

Bases: bw2calc.lca.LCA

Custom class which caches supply vectors.

Cache resets upon iteration. If you do weird stuff outside of iteration you should probably use the regular LCA class.

lci_calculation() None[source]#

The actual LCI calculation.

Separated from lci to be reusable in cases where the matrices are already built, e.g. redo_lci and Monte Carlo classes.

cache[source]#