LCA-ActivityBrowser / activity-browser

GUI for brightway2
GNU Lesser General Public License v3.0
142 stars 54 forks source link

How do you add activities to a calculation setup? #319

Closed tur-ium closed 4 years ago

tur-ium commented 4 years ago

Hi, trying to create a process. I am confused as to how to add products to a calculation setup. I have tried dragging each type of activity from the datasets panel to the left, but to no avail. A tutorial on how to use activity-browser would be awesome! image

dgdekoning commented 4 years ago

Hey @tur-ium,

I completely agree that a tutorial is overdue (see #158).

The way calculation setups work in brightway is that you place activities in them that 'produce' a product (functional units) using technosphere and/or biosphere inputs. Biosphere 'activities' by themselves are not valid things to use in a setup (eg. Determining the metal depletion of the natural resource Xenon versus determining the metal depletion for a process which uses xenon to produce a lamp).

What you can do is either import an existing technosphere dataset (ecoinvent, forwast, etc.) or build some simple toy models yourself (create a database, within that database create activities, drag and drop activities into the relevant tables to become exchanges for that activity).

Note that I'm leaving out a lot of information here.

RunshengSong commented 4 years ago

@tur-ium I think you will need to import a database first that contains technosphere dataset, and then drag it from left to right in the screen you provide above.

Additional improvement here would be a adding a Add button in the panel on the right.

dgdekoning commented 4 years ago

This is now covered in the wiki, closing this for now.