Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1st level contributions #810

Closed
marc-vdm opened this issue Jul 18, 2022 · 3 comments · Fixed by #1046
Closed

1st level contributions #810

marc-vdm opened this issue Jul 18, 2022 · 3 comments · Fixed by #1046
Labels
feature Issues/PRs related to a new feature
Milestone

Comments

@marc-vdm
Copy link
Member

We currently show total contributions (process contributions tab) and a Sankey (Sankey tab) in the results. What could have added value is to also include a system that shows us the impacts of a first level (all technosphere flows going in to the reference/functional flow) like in the example image below:
One major feature of the below image is the display of all used impact categories at once, allowing a quick overview of where each '1st level` contribution is contributing most to.
image

We could also consider a more 'advanced' version of the above where we could 'dig deeper' into processes, for example showing a sunburst or treemap figure. Perhaps where users can select certain flows to see their lower level impacts, either per level (1st/2nd etc) or per process (only dig into 1 process). These 2 figures lose 1 major benefit of the top figure though; we cannot use them for a total overview of all impact categories in 1 overview.

Technical considerations:

What we're effectively looking for is Structural Path Analysis/Power Series Expansion, commonly used in EEIOA. AFAIK, we don't have this in BW2.

We could go 1 of 2 ways:

  1. We can use the current multiLCAs from BW to calculate a bunch of processes
  2. We can use the Sankey system, and use it's graph traversal

Both solutions are not ideal to expand to lower levels, but should both work well for only the 1st level. For only the 1st level, I'm guessing a multiLCA is faster for a few flows but many impact categories, but the graph traversal would be faster with many flows but slower with many impact categories, though this is just a guess.

@marc-vdm marc-vdm added the feature Issues/PRs related to a new feature label Jul 18, 2022
@MaximeAgez
Copy link

If I can add on this idea, a low-hanging fruit would be to have the data behind the Sankey made available to users so that they can make their own graphics in Excel or whatnot, grouping whichever processes together as they please.

If I'm not mistaken everything is already made available in brightway with the GraphTraversal method:
image
Just need to change the format to something more easily usable by users.

@marc-vdm
Copy link
Member Author

Thanks for the input! Indeed, a text/table format would be nice, though it also has some inherent challenges such as the inability to show loops, like with the contribution tree in openLCA.

Using the Sankey system in BW also has some limitations, see last paragraph of my OP for that, though I also haven't come up with a good solution yet.

Copy link

github-actions bot commented Jan 2, 2025

Note

This issue has been implemented in the new release of Activity Browser 🚀 (version 2.11.0), you can get the new version by updating Activity Browser.

Do you want to be notified of new releases of Activity Browser? Subscribe to our updates mailing list ✉.

🤖 beep boop! I'm a bot and this message was an automated action.
If updating does not make sense for this issue, just ignore this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Issues/PRs related to a new feature
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants