I would like to introduce an impact method to my database that relates to biotic inputs. As ecoinvent has no elementary flows for biomass other than wood, i would like to add an artifical flow to each other biotic product, which could then be used to be multiplied with a characterisation factor that includes biotic losses (at e.g. farm gate).
We did this manually in the past using OpenLCA, but i am wondering if I could speed up the process at least for future updates. Therefore, i would like to write a Python Script that
- creates elementary flows
- and adds/copies them to defined processes (input)
I have found a script snipped that "adds flows" (in GitHub), but so far i was not able to make it work. I expect that I need certain libraries at the beginning of the code? Do I also have to re-direct to the path of the database or does the Addon automatically target the database i have currently opened?
PS: If anyone already wrote a similar script, i could certainly adapt it to my needs.