activity-browser icon indicating copy to clipboard operation
activity-browser copied to clipboard

Editing characterization factors/create new LCIA method

Open alideoro opened this issue 3 years ago • 2 comments

Dear AB team,

I was wondering if the AB allows to edit characterization factors or create a new LCIA method. I am exploring a case of study, where I have to create a new LCIA method and create impacts categories, calling existing flows and adding manually characterization factors, I think many of you will be familiar with this because it is functionality available in other LCA software, but I was wondering if we could have something similar in the AB.

Kind regards,

Alicia B.

alideoro avatar Dec 08 '20 15:12 alideoro

Thank you Alicia, you can already edit characterization factors in the AB, but only via changing the uncertainty information, which is obviously not as straight forward as changing the value of a characterization factor. We also need better functionality to:

  • modify CFs
  • add substances and CFs
  • add entire LCIA methods

The good news is that brightway has just added support for importing (simple) LCIA methods via Excel and CSV: https://2.docs.brightway.dev/intro.html#importing-lcia-methods-from-the-standard-excel-template

Action required:

  • We should add support for directly modifying CFs within the AB and adding/removing substances from impact categories using drag&drop from the biosphere and right-click context menus.
  • We should include a button or so to add impact categories based on the new bw support for this

bsteubing avatar Feb 23 '21 22:02 bsteubing

Hey @StpdFox.

This is the issue I was thinking of, it has a little bit of everything:

  • Editing tables/models.
  • Using controllers to:
    • Create/Update LCIA methods. (possibly delete as well, but this needs a loud user-warning)
    • Create/Update/Delete characterization factors from IA method.

Relevant code for the method and characterization factor tables is here, with the code for the models here.

I'm thinking you can take the existing example of drop-in adding, editing and deleting from the LCA setup table classes and apply that to the CFTable so it accepts dragged-and-dropped biosphere-type activities from the ActivitiesBiosphereTable.

dgdekoning avatar Mar 03 '21 12:03 dgdekoning