brightway 中的排放室及其实施方式
emission compartments in brightway and how they are implemented
我想确定 Brightway 的 activity 排放到空气中的排放物,但探索这个问题让我想到了一个更普遍的问题。在实施影响评估方法时是否考虑了隔间和子隔间?
原则上排放因子取决于车厢,例如向水或空气中排放甲醛不是一回事。以impact 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')]
我只找到与排放水对应的值,但没有关于隔间/子隔间的信息。我错过了什么?
对于哪些元数据应与 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
我想确定 Brightway 的 activity 排放到空气中的排放物,但探索这个问题让我想到了一个更普遍的问题。在实施影响评估方法时是否考虑了隔间和子隔间?
原则上排放因子取决于车厢,例如向水或空气中排放甲醛不是一回事。以impact 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')]
我只找到与排放水对应的值,但没有关于隔间/子隔间的信息。我错过了什么?
对于哪些元数据应与 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