0

我正在尝试导入旧版本的 ecoinvent(3.2 和 3.3),但出现与未链接交换相关的错误。做的时候:

bw.bw2setup()
bw.add_ecoinvent_33_biosphere_flows(version='33')
bw.create_default_lcia_methods(overwrite=True)

ei33consequential=bw.SingleOutputEcospold2Importer(path,"ei_33con")
ei33consequential.apply_strategies()
ei33consequential.statistics()

有一条消息说两个交易所无法链接并被删除(残留木材、干燥氮气、液体的排放)这导致 123 个未链接的交易所和无法写入数据库。

我在 3.2 版本中得到了类似的结果(这次删除了 4 个交换和 205 个未链接的交换)。

我尝试了 3.4 版,删除交易所并没有导致未链接的交易所,所以它工作正常。用3.3截止也没有问题。

运行函数

bw.add_ecoinvent_33_biosphere_flows()

没有添加任何生物圈流量。

现在我知道 v3.4 可以正常工作,这对我来说很好,但如果出于某种原因我们尝试使用旧版本可能会出现问题。

4

1 回答 1

0

For whatever reason, the UUIDs of a few flows like venting of nitrogen, liquid changed from 3.3 to 3.4. Brightway tracks the latest version of the ecoinvent flows; you could subclass Ecospold2BiosphereImporter to point to a different metadata file, or add the obsolete flows to the Brightway base data in a pull request.

于 2018-01-12T13:55:19.140 回答