Skip to content

brightway-lca/bw_ecoinvent_metadata

Brightway ecoinvent metadata

This package provides metadata based on the ecoinvent database <https://www.ecoinvent.org/>__ for life cycle assessment for use in the Brightway framework.

Uses bw_projects and bw_default_backend.

Installation

Install via pip or conda (conda install -c cmutel bw_ecoinvent_metadata).

Usage

After first creating a new project:

from bw_ecoinvent_metadata import add_ecoinvent_metadata
add_ecoinvent_metadata()

Development

Check out the dev branch to see the source data files.

A complete source clone require git large file storage <https://git-lfs.github.com/>__.

To regenerate the metadata database, run the following in a new project:

from bw_ecoinvent_metadata import EcoinventMetadataImporter
import bw_default_backend as backend
from bw_projects import projects

# Change as desired
temp_project = "__ecoinvent_metadata_temp__"
projects.create_project(temp_project)
version = "3.6" # Or whatever
ei = EcoinventMetadataImporter(version=version)
ei.apply_strategies()
backend.create(ei.data)

About

Base ecoinvent flows, methods, and characterization factors

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages