OcelotProject / Ocelot

Ocelot is open-source linking for life cycle assessment. See https://ocelot.space/ for more information.
Other
25 stars 7 forks source link

Figure out error for `silica_fume` #87

Closed cmutel closed 8 years ago

cmutel commented 8 years ago

Running the cutoff system model gives the following error:

NameError
   5.36e-11* cement+silica_fume*0+ ggbfs*0
                     ^^^
name 'silica_fume' is not defined

This variable is defined in the following datasets:

These are datasets for cement production, alternative constituents 6-20% (CH and CA-QC). The error is raised twice. However, this variable is defined:

<intermediateExchange 
    id="aa85b9fe-d139-4928-90ef-04466931a75a" 
    variableName="silica_fume" 
    amount="0" 
    isCalculatedAmount="false" 
    intermediateExchangeId="a950e420-5f94-4a19-b24c-70ac0ef35693" 
    productionVolumeAmount="0" 
    productionVolumeMathematicalRelation="APV_cement/ cement*ABS( silica_fume)">
    <name xml:lang="en">silica fume, densified</name>

Need to understand why this variable is not in the scope for evaluation.