brightway-lca / brightway2-calc

The calculation engine for the Brightway2 life cycle assessment framework.
BSD 3-Clause "New" or "Revised" License
14 stars 16 forks source link

ParameterVectorLCA should make it easy to include parameter values #19

Closed aleksandra-kim closed 4 years ago

aleksandra-kim commented 6 years ago

Original report by Chris Mutel (Bitbucket: cmutel, GitHub: cmutel).


Currently this is impossible, because only matrix presamples are included when loading presamples. Seems like the most reasonable approach would be to override __init__, and append the necessary space onto self.sample. Note that the current implementation doesn't preserve self.sample; it could be that a wrapper class would be easier in this case.

cmutel commented 4 years ago

Parameter vectors can be included via presamples - this is the "blessed" approach.