LCA-ActivityBrowser / activity-browser

GUI for brightway2
GNU Lesser General Public License v3.0
142 stars 54 forks source link

Issues with simply getting Brighway2 to run with ecoinvent datasets #171

Closed wzbernstein closed 6 years ago

wzbernstein commented 6 years ago

Currently, we are trying to map manufacturing process models that carry analytical expressions in a MathML representation to ecoSpold and to run the generated files in Brightway2 to conduct some LCAs. We are running into some persistent errors using Brightway (even with Ecoinvent files) and thought someone here might provide some helpful guidance/insight.

We have been using EcoEditor and the Ecoinvent 3.4 database as a reference source. We are able to save the datasets in the ecoSpold2 format following the Brightway documentation + examples. We tried to import the datasets, but when we executed the command: “apply_strategies”, got an error at the "create_composite_code" strategy with "KeyError: 'flow'". Strangely, we found 2 datasets that work with the same exact procedure (acetanilide production, GLO, 2010 - 2010.spold being one of them).

Any ideas?

haasad commented 6 years ago

Welcome the the AB. First of all, this is probably not the ideal place to look for support for basic brightway problems. The issues in this repository are used to discuss matters that concern the activity browser. Brightway and its core packages are developed on bitbucket, see the brightway homepage for more details. There is also a brightway tag on stackoverflow, where you can reach more people for support. I'll close this issue since it's off-topic for the AB, but feel free to ask follow-up questions here.

Regarding your problem: