brightway-lca / brightway2-io

Importing and exporting for the Brightway LCA framework
BSD 3-Clause "New" or "Revised" License
27 stars 42 forks source link

Migration Agribalyse3 (Simapro) Ecoinvent v3.8 #134

Open melanidou opened 2 years ago

melanidou commented 2 years ago

I am trying to import Agribalyse v3 into BW2 and link it to ecoinvent 3.8. I exported Agribalyse 3 from Simapro and imported ecoinvent v3.8 from ecospold. I wrote some strategies and migrations for the biosphere flows, following hints here and here so that I now have no unlinked biosphere flows.

I am now with the technosphere flows and struggling a bit. From what I can see, Agribalyse has several flows (around 1500) which mention "from Ecoinvent" in their names. Most of them refer to activities in the Agribalyse3 database, which are basically copies from the activity in the ecoinvent v3.5 DB. In order to have something as "clean" as possible, I would like to link all these "from Ecoinvent" processes to the ecoinvent v3.8 database. To do so: is there a file that exists to migrate Agribalyse3 technosphere flows, which are basically copies of ecoinvent, to ecoinvent? Or any template, for example the migration file from simapro to ecoinvent?

Thank you in advance!

R-Hammer commented 2 years ago

Hi, I’m a similar problem. Maybe we can have a chat. Have you created an export from SimaPro or the imported the csv from here?: https://doc.agribalyse.fr/documentation-en/agribalyse-data/data-access

melanidou commented 2 years ago

Hi. Good to hear :) I have exported the Agribalyse file from Simapro yes.

R-Hammer commented 2 years ago

Could please you provide me with the file? I have tested it with the file directly from agribalyse. Then i will give it a shot.

melanidou commented 1 year ago

Hi, sorry for the slow response. Do you manage to import Agribalyse and link it to ecoinvent when using the file directly from agribalyse? Then there is no need to go through simapro...

R-Hammer commented 1 year ago

Hi, unfortunately I haven’t finished to import it directly due to some error while importing. That’s the reason I asked, to try it with an export.

melanidou commented 1 year ago

ok I understand. The only issue I have is the size of the export... But I just came across this library: https://github.com/sc-gcoste/brightway-agribalyse3.1/blob/master/exploring_agb3.1.ipynb Maybe it solves this issue altogether, but I did not have time to test it yet.