Open PascalLesage opened 4 years ago
@cmutel perhaps this is already possible in bw2.5. Is there documentation on the structure of data_objs that can be passed to LCA
?
This indicates a dict is accepted, perhaps the data in the PBM can be formatted to an acceptable dict.
A ParameterizedBrightwayModel instance is useful for loading all parameter data for a given group, and updating this data using presample packages.
What is is not good at is directly passing the updated data to an LCA instance. One would need to load the data, calculate new matrix presamples, save the presamples, and then use the presamples in a new LCA instance. The "saving the presamples package to disk" step should be avoidable.
It would be great if PBM objects (or its matrix data) could be passed directly to LCA instead.