-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Creation of the unit process database to be aggregated #1
Comments
@PascalLesage or @cmutel do have an advice for me? |
I guess Pascal is not paying attention to Github mentions much anymore 😄 I think the point of When rewriting |
Many thanks for the quick reply and the note on bw2.5, @cmutel. |
Hi, @moritzos, I am not familiar with this library, but I think it was designed to go from a disaggregated database/datasets to a bunch of aggregated ones. You're trying to import an aggregate dataset (only containing LCIA flows as "inputs") and this might be problematic since these flows do not exist in the biosphere database. Maybe, what you can do is aggregate a random dataset in the database to LCIA scores and add the resulting LCIA "flows" to the biosphere database as described here: https://brightway2-aggregated.readthedocs.io/en/latest/tech_ref.html#adding-unit-impacts-exchanges-to-biosphere-and-unit-impact-characterization-factors-to-methods This way, the LCIA "flows" will exist in the biosphere database, and you should then be able to import your aggregated datasets containing LCIA flows. Does that make sense? |
Hi @romainsacchi, However, when I try to import an aggregated dataset containing LCIA results (as biosphere exchanges with unit impact scores) in the next step, I get the message that the biosphere exchanges are not linked. So I cannot create a database with the aggregated LCIA results. The Excel spreadsheet and code for the Excel import is shown here: Do you (or anyone else) have an idea why the biosphere exchanges are not linked and how this can be solved? |
I would like to use Brightway2-aggregated (bw2-agg) to generate aggregated (cradle-to-gate) LCIA scores for production activities according to the CML method. These aggregated LCIA scores shall be used for further LCA calculations, among others using ecoinvent 3.9.1, premise and the Activity Browser.
My issue concerns the creation of the unit process database as basis for the DatabaseAggregator. As I understand the bw2agg documentation, I need to set up a database with the unit processes (in my case the production activities) and its aggregated LCIA scores. For this purpose I created a excel sheet (see atteched screenshot), which I want to import in Brightway2 using the ExcelImporter. The excel sheet contains the output of the production activity (exchange type: production) as well as its LCIA impact scores (exchange type: biosphere) as exchanges.
To create a bw2 database including this activity, I need to link the biosphere exchanges to a database. Otherwise I cannot use the .write_database() function to create the bw2 database, as I have unlinked biosphere flows.
So my question is, how to link the impact scores (so the biosphere flows) to database, and to which database so that
In general, I use the biosphere database of ecoinvent 3.9.1. in this project, but of course it does not contain the LCIA impact score biosphere exchanges.
The text was updated successfully, but these errors were encountered: