LCA-ActivityBrowser / activity-browser

GUI for brightway2
GNU Lesser General Public License v3.0
149 stars 57 forks source link

development plan #1

Closed cardosan closed 5 years ago

cardosan commented 7 years ago

HI Hadrian, cool that you took this project over, do you have any development plan perhaps? I think the development of a GUI would tremendously help all the bw2 users.....I guess almost everyone is using bw2 for more advanced things but still, most of the time is often spent in working on the databases, and having GUI would allow to save a tremendous amount of time for doing other things.... I am willing to help...even if I have basically no experience with pyqt...

haasad commented 7 years ago

Hi Giuseppe, I haven't had a lot of spare time in the last two weeks, but hope to work on the activity browser a bit more in the coming weeks. At the moment i plan to do the following things:

Any thoughts on this? Maybe @cmutel wants to chime in as well?

cardosan commented 7 years ago

I think all yours are good points....I personally would give the pyinstaller thing a low priority...I know it is an hassle sometime the installation, but first this would not help everyone (e.g. I use linux...and certainly there are also mac users that would not benefit from this) and also is normally a "1 time pain"....while there are other things (see e.g. point a below) that are still painful but must be done many more times than just once.

As far as my suggestion is concerned, I have been using bw2 for some 3 yrs now, starting from very little coding knowledges and basic LCA computational skills....step by step moved to also doing some (basic) developing. As a long standing user I guess can bring some experience about the good and the bad of bw2 for users (or at least I hope :) )...and how the bad could have been simplified with a nice GUI. I think the order of importance of the things to include is :

a) database/datasets browsing and manipulation b) LCA visualization/ interpretation c) LCA running

c) Spend time on building something to run LCAs (e.g. multiple LCAs, montecarlo or whatever like this) is not urgent for me cause, first, it is rather easy to do "standard" things in bw2 (in just a few lines of short codes it is possible to run an LCA....it is very easy also for people with 0 programming and LCA experience) and this is maybe the part of bw2 were users try to push the boundary forward and explore different things than what you can do e.g. in sima.

b) Have something visual to explore lca results would make things certainly much easier and intuitive...and would certainly also attract more users. Something that would allow to explore the network like in sima would be super cool....but I guess this takes a lot of time.

a) This is really the big bottleneck of working with bw2 in my opinion and the thing that caused me frustration the most. Despite who approach bw2 normally wants to do something more than the traditional LCA, also for doing advance things normally a lot of time (sometime the most) is spent in building, checking, browsing and modifying databases....and this is definitely not easy and quite time consuming in bw2. Only building a simple db takes time....and having the possibility to do it with a (basic) GUI would really make a big change and leave much more time for doing other more "advanced" (also more funny) things.

That said, in the specific I fully support your proposals, I would add to the list:

How to you both see this points in terms of feasibility and usefulness? maybe would help to make a prioritized list of enhancement proposal in order to tackle first the most "useful".

P.S: as said I have basically no experience with GUIs development....but for what I can I am very willing to help and learn something on this.

cardosan commented 7 years ago

By the way, I just recalled that some time ago I came across this post and would be super cool to integrate a sankey style visualization. @stefanpauliuk did you managed to develop the tool? If so would you be willing to share?

cardosan commented 7 years ago

Just came across this python sankey visualization tool for LCA (underlying paper here ). Interesting to take into consideration....

stefanpauliuk commented 7 years ago

Dear @Cardosan,

thanks for the tip! I added the link to the IndEcol GitHub page: https://github.com/IndEcol/Dashboard

We are currently polishing our own code, and I plan to release it and the web application that builds on it by the end of the summer.

Cheers, Stefan

haasad commented 7 years ago

I've been working on integrating Rick Luptons d3-sankey-diagram into the activity browser for quite some time already. The implementation to interactively explore the lcia results along the supply chain as a sankey-diagram is already mostly working and looks something like this:

There are still some things to fix and polish before I can release it, but if you want to check it out @cardosan have a look at the sankey branch in this repo. I'll keep you updated about the progess.

bsteubing commented 6 years ago

@everone and @cmutel @stefanpauliuk @cardosan: Adrian and I have taken up the development of the Activity Browser again. As this project is starting to be a bit more of a collaborative effort, it was also time for a new home: https://github.com/LCA-ActivityBrowser/activity-browser. The idea is to have a small group of core developers, but also to be more open to contributions. I am currently also trying to involve students of Leiden University to contribute to some of the open issues. Regards, Bernhard