+1 vote
180 views

Dear OpenLCA Community,

I would like to ask how it is possible to filter and store the ecoinvent database using a Python script. In my case, the filtered database should ideally be in an Excel or CSV file format, which will then be further processed by a Matlab tool. The way how that should be done is flexible so I don't have any further requirments for that.

I have looked at the ecoinvent-brightway interface (https://github.com/brightway-lca/ecoinvent_interface), but it requires direct access to the ecoinvent website. Unfortunately, I only have the ecoinvent zolca files for OpenLCA.

Does anyone have an idea how to achieve this, or know of a relevant GitHub repository that could help?

Thanks in advance for your assistance.

Best regards,
Dominic

in openLCA by (160 points)

1 Answer

0 votes
by (520 points)
selected by
 
Best answer
You should look into the openlca IPC client- it allows you to talk to a server inside of a running OpenLCA instance and extract data.

https://github.com/GreenDelta/olca-ipc.py
by (160 points)
Ah perfect thank you very much. :)
...