Questions tagged [brightway]

Use this tag for questions about the Brightway2 life cycle assessment (LCA) software.

Brightway2 is a open source framework for life cycle assessment (LCA). It doesn’t try to replace software like SimaPro or OpenLCA, but rather to offer new possibilities to those who want to break the limits of conventional LCA. So it's not for everyone, and you will need to invest some time learning about Python to use Brightway2. Basically, this is the framework for you if your project lies at the intersection of LCA and your imagination.

209 questions
3
votes
1 answer

'PyPardisoError: The Pardiso solver failed with error code -3. See Pardiso documentation for details'. How to solve it?

PyPardisoError: The Pardiso solver failed with error code -3. See Pardiso documentation for details. I was working on Jupyter Notebook and I found this error. What does it mean and how can I fix this problem?
Kevin
  • 35
  • 2
3
votes
1 answer

Issue with Monte Carlo analysis with uncertainty on LCIA

I try to run a Monte Carlo analysis with uncertainty on characterization factor. The code is running well (no error) but the results for each iteration are always the same. Calculation works with just LCA simulation. Here is the code: Definition of…
2
votes
2 answers

"brightway2" pkg incompatible on macOS Apple M1?

I've been trying to install the "brightway2" pkg in my virtual environment with the latest version of miniconda for macOS M1 chip (Miniconda3 macOS Apple M1 64-bit bash) by following carefully the procedure…
Alexb21
  • 23
  • 3
2
votes
0 answers

Best way to install brightway on server allowing multiple users, centralized storage of databases, shareability

In my institution we are trying to transition to bw2 . Obviously everyone might have his local installation but we would like to have a more centralized approach by storing the group's db on the server and be able to track all changes made e.g.…
Giuseppe Cardellini
  • 135
  • 1
  • 2
  • 12
2
votes
0 answers

Brightway ExcelImporter fails for new biosphere exchanges

I would like to import a formatted Excel file into brightway2 that contains custom biosphere exchanges. For example, let's say I create the following biosphere activity: import brightway2 as bw ef =…
MPa
  • 1,086
  • 1
  • 10
  • 25
2
votes
1 answer

Strange result when searching in ecoinventdb through BW2

I am a Brightway2 beginner. A result has complicated my life for a few weeks now and I can't find any solutions. I've dealt with it by various tricks but I would still like to understand this problem: when I search in my database for an activity…
JeanS
  • 75
  • 7
2
votes
1 answer

Monte Carlo LCA on activities that have parameters with uncertainty from a SimaPro project returns constant value (no uncertainty)

I've imported a project from SimaPro in which almost every activity uses parameters that have uncertainty. When I run a Monte Carlo LCA on any of these in Brightway, the results are constant, as though the quantities have no uncertainty (the snippet…
Carrot
  • 23
  • 2
2
votes
0 answers

Import of Ecoinvent 2.2 and Ecoinvent 3.x fail with Brightway

The import of Ecoinvent 2.2 and 3.x does not happen. I do not understand what is the issue here. I have downloaded both 2 and 3 versions from Ecoinvent.org but both the Ecospold1 and 2 importers show me the same (or the lack of) results. `from…
HemantS
  • 31
  • 3
2
votes
1 answer

how to use the transverse_tagged_databases function in brightway2

I would like to know how to use the transverse_tagged_database method in brightway2. From the documentation is not entirely clear to me. Can we use for, example, to aggregate impacts by the isic code of the activities in the product system model?
Nabla
  • 1,509
  • 3
  • 20
  • 35
2
votes
1 answer

find a product that causes a non-square technosphere matrix with Brightway2

As a prophecy, I have a question related to a previous question of "cleaning" the database. How can I identify why my technosphere is not longer square? I have done something to my database that if I try to do an LCIA of a random activity def…
Nabla
  • 1,509
  • 3
  • 20
  • 35
2
votes
1 answer

create a new activity in Brightway2 based on an existing ecoinvent activity

I would like to create an activity "recontextualizing" an existing dataset from a database (in this case ecoinvent) that serves as a proxy. For example, create heat pumps in Quebec based on heat pumps in Switzerland but changing the origin of…
Nabla
  • 1,509
  • 3
  • 20
  • 35
2
votes
1 answer

Create very simple LCIA method in brightway2

I am very new to bw2 and I am trying to make a simple LCA without using databases but just using a manually defined inventory and LCIA method. I used the values from the example in Chapter 11 of "The Computational Structure of Life Cycle Assessment"…
2
votes
1 answer

Connecting exchange names and codes to LCA inventory results

I'm getting into Brightway2 for some energy system modeling and I'm still getting used to the all of the concepts. I've created a small custom demo database, and run lca.lci() and lca.lcia(). lca.inventory and lca.characterized_inventory both…
Jim
  • 105
  • 1
  • 7
2
votes
1 answer

Brightway2: Modifying/deleting exchanges from activity without using activity as dict

I would like to modify an activity's exchanges and save the activity back to the database. It is possible to change other aspects of the activity, like its name: some_act['name'] = "some new name" and then save the activity with: some_act.save() It…
MPa
  • 1,086
  • 1
  • 10
  • 25
2
votes
1 answer

What is the best practice when importing 2 simapro datasets in brightway2 to merge them together

I have been importing one simaproCSV dataset with a recipe sp = SimaProCSVImporter("recipe.CSV","recipe") sp.migrate("simapro-ecoinvent-3") sp.apply_strategies() and another simaproCSV dataset with 4 specific unit processes for some of the…
mklarmann
  • 33
  • 2
1
2 3
13 14