如何在brightway2中导入simpro CSV时处理CapitalizationError?

时间:2016-04-07 10:13:33

标签: brightway

导入CSV文件时出现以下错误:

CapitalizationError: Possible errors in upper/lower case letters for some parameters.
'_a3_spruce_yes'' not found; could be '_a3_spruce_yes'
'_a3_osb_thickness'' not found; could be '_a3_osb_thickness'
'_a3_primary_frame'' not found; could be '_a3_primary_frame'
'_a3_pp_density'' not found; could be '_a3_pp_density'......(continue)

如果我查看csv文件它看起来像(我只使用一个输入和项目参数作为示例,它们基本上都是如此,A大写)

Project Input parameters
_A3_Spruce_yes;0;Undefined;0;0;0;No;(0/1) Choice of spruce 
....
Project Calculated parameters
_A3_Douglas_Yes;1-_A3_spruce_yes;Choice of Douglas
...(there also other calculated parameters but always with the same A capitalized)

任何想法: 为什么这个问题 - 如何解决它

1 个答案:

答案 0 :(得分:1)

输入文件中有错误。 CapitalizationError不正确;相反,有一些参考文献涉及输入数据中的未定义变量,例如_Wall_Weight在包含变量_A3_OSB_A3_Plywood_A3_PP的长公式中定义,但这些变量本身并未定义。在这种情况下,正确的错误应该是ParameterError,并且只能在输入数据中解决(并且在导出程序中允许首先导出不完整的引用)。

相关问题