Brightway的排放隔间及其实施方式

时间:2017-11-23 21:23:35

标签: brightway

我想确定Brightway活动的排放量,但探索这个问题会引出一个更普遍的问题。在影响评估方法的实施中是否考虑了隔间和子隔间?

原则上,排放因子取决于隔室,例如将甲醛释放到水或空气中是不一样的。以影响2002终点人类健康方法为例。根据ecoinvent LCIA implementation_3.3 提供的电子表格,CF在空气中高出3个数量级。如果我在Brightway中使用相同的方法检查实现:

m_name=[m for m in bw.methods if '2002' in str(m) 
    and 'human toxicity' in str(m)][0]

m=bw.Method(m_name)

# Generate the dictionary using a comprehension:
m_dict = {bw.get_activity(ef[0])['name']:ef[1] for ef in m.load()}

# put the whole thing in a neat Pandas series
m_series=pd.Series(m_dict,
      name="{}, {}".format(m.name, m.metadata['unit']))

m_series[m_series.index.str.contains('Formaldehyde')]

我只找到与水排放相对应的值,但没有关于隔室/子隔室的信息。我错过了什么?

1 个答案:

答案 0 :(得分:1)

对于哪些元数据应该与Brightway2中的生物圈流(或任何节点)相关联,没有任何实际要求,但是密钥categories填充在默认元数据中:

In [1]: import brightway2 as bw

In [2]: for flow in bw.Database("biosphere3"):
   ...:     if 'formaldehyde' in flow['name'].lower():
   ...:         print(flow['name'], flow['categories'])
   ...:
Formaldehyde ('water',)
Formaldehyde ('air', 'lower stratosphere + upper troposphere')
Formaldehyde ('water', 'ocean')
Formaldehyde ('water', 'surface water')
Formaldehyde ('water', 'ground-')
Formaldehyde ('air', 'low population density, long-term')
Formaldehyde ('water', 'ground-, long-term')
Formaldehyde ('air', 'urban air close to ground')
Formaldehyde ('air',)
Formaldehyde ('air', 'non-urban air or from high stacks')

空气和水的排放均以('IMPACT 2002+ (Endpoint)', 'human health', 'total')

为特征
In [3]: name = ('IMPACT 2002+ (Endpoint)', 'human health', 'total')

In [4]: for key, cf in bw.Method(name).load():
   ...:     flow = bw.get_activity(key)
   ...:     if 'formaldehyde' in flow['name'].lower():
   ...:         print(flow, cf)
   ...:
'Formaldehyde' (kilogram, None, ('air', 'low population density, long-term')) 0.00180414
'Formaldehyde' (kilogram, None, ('air', 'non-urban air or from high stacks')) 0.00180414
'Formaldehyde' (kilogram, None, ('air',)) 0.00180414
'Formaldehyde' (kilogram, None, ('air', 'urban air close to ground')) 0.00180414
'Formaldehyde' (kilogram, None, ('water', 'surface water')) 8.1879e-06
'Formaldehyde' (kilogram, None, ('water',)) 8.1879e-06