QSD-Group / QSDsan

Quantitative Sustainable Design (QSD) of sanitation and resource recovery systems.
https://qsdsan.com
Other
29 stars 11 forks source link

Move ecoinvent importing function to QSDsan/EXPOsan? #114

Open yalinli2 opened 9 months ago

yalinli2 commented 9 months ago

See this post from Brightway: https://brightway.groups.io/g/updates/message/34

Essentially you can easily import ecoinvent data by just

import bw2data as bd
import bw2io as bi
bd.projects.set_current("some new project")
bi.import_ecoinvent_release(
    version="3.8",
    system_model="apos",
    username="my_ecoinvent_username",
    password="my_ecoinvent_password",
)

We currently have the BW2QSD package doing this (and cleanup of the data, etc.), I'm thinking whether it's worthwhile to incorporate that into QSDsan. Previous version of Brightway (especially the pip version) are not very stable, but I feel like they are getting much more robust now.

I haven't tested any of this... Just a thought, @joyxyz1994 @GaYeongKim comments?

GaYeongKim commented 9 months ago

Sorry, I've not used Ecoinvent or performed TEA/LCA before, so I don't think I can give a good comment. But anything that can make our work easier is welcomed :-)