0 votes
41 views
I have exported a product system to npz format with ReCiPe (H) midpoint LCIA and allocation == 'As defined in process'. When I calculate the GWP in the GUI the result is 3376 kg CO2e/FU; when I print the LCIA from main.py using VSCode, the result is 8204.

One more thing: I just tested the GUI with the allocation set to "none" and the LCIA match exactly all of the externally calculated values. So, it seems that the exported matrix has not accounted for the allocation. What am I missing? or is this an error in the export function?
ago in openLCA by (780 points)

1 Answer

0 votes
ago by (780 points)
I found the reason/solution. It seems that if you do not actively select the allocation method (ie pick the dropdown menu and click on your choice, even if it is visually listed as the one you want), the code will pass a null to the export engine which results in "None" as the allocation that is exported.
...