Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试使用“bw2analyzer.traverse_tagged_databases”通过自定义标签对我的功能单元活动(例如“太阳能电池板的生产”)的交流(例如“电力、中压”)的影响结果进行分组(例如,“group_tag”)。但是,该方法似乎无法在这些交换中查找标签,而我得到的只是:“defaultdict(int, {'other': 97.25234998254226})”。
所以,我想知道是否可以在交易所寻找标签?谢谢!
你是对的,只有活动可以被标记,没有交换。您可以按照此处所述手动遍历供应链。
或者作为解决方法,您可以在前台和后台活动之间添加带有标签的活动,如下所示: