LCA-ActivityBrowser / activity-browser

GUI for brightway2
GNU Lesser General Public License v3.0
134 stars 50 forks source link

flow-scenarios give me different results than standard LCA without changing default #1259

Closed SELTENEERDEN closed 2 months ago

SELTENEERDEN commented 3 months ago

Updating AB

What happened?

Hi, I just wanted to start working with flow-scenarios on a model I did for recycling of eletronic-scrap. I click on "Export as flow-scenarios" and then click on "add scenario" in the LCA-Setup and use the exported scenario file right-away, as it is. Now I get different results, then when I am calculating the "standard-LCA" for the exact same model. Any idea why this is the case? All the best and thanks in advance selteerden

Relevant errors

No response

Operating system

Windows 10

Conda environment

No response

mrvisscher commented 3 months ago

Hi @SELTENEERDEN,

Any chance that there are duplicate flows in your model that are part of the scenario? This could explain the different results.

Kind regards,

Marin

SELTENEERDEN commented 3 months ago

Hi Marin,

I have more than once the flow of e.g. market for electricity. Or I have more than once a flow with the exact same amount on the in- and output site for instance when a process step does not change the mass but only the aggregate state of the product. What exactly do you mean by duplicate flows in my model?

thank you

mrvisscher commented 3 months ago

Hi @SELTENEERDEN,

I mean that you have two duplicate flows within the same activity like this: image

In a normal calculation these would be summed, but (right now) in a scenario calculation, the sum would be overridden by a single flow from your SDF.

marc-vdm commented 2 months ago

I'm closing this issue for lack of responses, feel free to re-open it again to continue the conversation.