You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the same flow occurs multiple times in a process but with different data quality values:
only one data quality value is selected for the flow of the process in the result calculation:
this is an issue in openLCA 1.10.x and 2.0.x. In openLCA 2.0.x however, it works when the flow has different locations in the process and a regionalized calculation is performed:
but not with a normal calculation.
In openLCA 2.0 we collect the DQ values in a single table scan and organize them in flow * process matrices for the different DQ indicators (just allocating single bytes for DQI scores). This structure is fast for calculating aggregated DQ results based on inventory and impact results. But in order to fix this bug we need to calculate process based aggregations during the table scan. Depending on the aggregation function this has to include the respective amount of the flow which again may depends on formulas, unit conversions etc... thus, the best would be to collect the DQ information directly in the inventory builder where the formula interpreter, conversion table, allocation factors etc. are present. And then we could attach the DQ matrices to the output matrices of the inventory builder (as we do for the uncertainty parameters)...
To calculate such process based aggregations in the table scan, we need to hold the total amounts etc., e.g:
Another problem is that our BMatrix structures where we store the DQ values may have to grow during the table scan as we build the flow index during that scan. Also there is currently no way to calculate result based DQ values for intermediate product and waste flows (e.g. based on their total requirements). When we fix this bug, we may also should think about this.
The text was updated successfully, but these errors were encountered:
When the same flow occurs multiple times in a process but with different data quality values:
only one data quality value is selected for the flow of the process in the result calculation:
this is an issue in openLCA 1.10.x and 2.0.x. In openLCA 2.0.x however, it works when the flow has different locations in the process and a regionalized calculation is performed:
but not with a normal calculation.
In openLCA 2.0 we collect the DQ values in a single table scan and organize them in
flow * process
matrices for the different DQ indicators (just allocating single bytes for DQI scores). This structure is fast for calculating aggregated DQ results based on inventory and impact results. But in order to fix this bug we need to calculate process based aggregations during the table scan. Depending on the aggregation function this has to include the respective amount of the flow which again may depends on formulas, unit conversions etc... thus, the best would be to collect the DQ information directly in the inventory builder where the formula interpreter, conversion table, allocation factors etc. are present. And then we could attach the DQ matrices to the output matrices of the inventory builder (as we do for the uncertainty parameters)...To calculate such process based aggregations in the table scan, we need to hold the total amounts etc., e.g:
Another problem is that our
BMatrix
structures where we store the DQ values may have to grow during the table scan as we build the flow index during that scan. Also there is currently no way to calculate result based DQ values for intermediate product and waste flows (e.g. based on their total requirements). When we fix this bug, we may also should think about this.The text was updated successfully, but these errors were encountered: