Skip to main content

A framework for Detecting Outliers in Premise LCA Operations (DOPO)

Project description

Detecting Outliers in Premise Operations (dopo)

PyPI Status Python Version License

About dopo

The Premise Validation Project introduces the Python package dopo (Detecting Outliers in Premise Operations), a toolkit for evaluating the consistency of background life cycle inventories and identifying anomalies that could affect LCA results.

It is essentially a wrapper around the Brightway2 bw2analyzer library, combined with a Dash web application for interactive exploration of datasets and results.


🧪 Features

  • Detect structural and numerical outliers in ecoinvent-based inventories.
  • Interface with Brightway2 and Premise-modified databases.
  • Filter or classify activities based on CPC, ISIC, or custom sector definitions.
  • Assess differences in environmental impacts from method-to-method or database-to-database.

📊 Dash Web Application

dopo includes a Dash-based interactive app for exploring datasets and visualizing environmental impact scores across projects.

App Features

  • ✅ Load and switch between multiple Brightway projects
  • ✅ Select one or more background databases
  • ✅ Choose a dataset grouping: Sectors, CPC, or ISIC
  • ✅ Filter datasets with a search bar
  • ✅ (Optional) Exclude market activities using a checkbox
  • ✅ Select one or more impact assessment methods
  • ✅ View either total impact scores or contribution plots
  • ✅ Interactive dropdowns to explore results by sector and method
  • ✅ Run calculations and visualize scores in seconds

Installation

[!IMPORTANT] You need to install dopo in a Python environment with brightway (2 or 2.5).

You can install dopo via from Anaconda:

$ conda install romainsacchi::dopo

Or via [pip] from [PyPI]:

$ pip install dopo

[!IMPORTANT] For Mac users with an ARM chip, you need to have scikit-umfpack as well as numpy<=1.24.4, otherwise it results in slow calculations. This is not specific to dopo but to brightway in general.

How to run the app

You can launch the app directly from the terminal using the following command:

dopo-dash

Documentation

https://dopo.readthedocs.io/en/latest/

Contributing

Contributions are very welcome. To learn more, see the Contributor Guide.

License

Distributed under the terms of the MIT license, dopo is free and open source software.

Issues

If you encounter any problems, please file an issue along with a detailed description.

Maintainers

Support

Feel free to contact Romain Sacchi if you have any questions or need help.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dopo-0.0.3.tar.gz (38.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dopo-0.0.3-py3-none-any.whl (43.8 kB view details)

Uploaded Python 3

File details

Details for the file dopo-0.0.3.tar.gz.

File metadata

  • Download URL: dopo-0.0.3.tar.gz
  • Upload date:
  • Size: 38.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for dopo-0.0.3.tar.gz
Algorithm Hash digest
SHA256 714c77d153017b646922b64f7f3b13cff65552c3c0d2e32755327c611707ae5e
MD5 2bd0c5d0b91a83f1d8dac5496a44fecd
BLAKE2b-256 825db7bd7c615bd86ef41ef00c97b4d3407507da503a8204cc849388224d16df

See more details on using hashes here.

File details

Details for the file dopo-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: dopo-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 43.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for dopo-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 03d26fb882fcc2e5a1186e1ddcf8fd93b14618d6c3d7916d513760a2faffd17b
MD5 9ab6702f0dab44c634bdf09678ed1cc0
BLAKE2b-256 19f93c44989554ed195104ac5ca889a1cf93b9f446d00f0b3df76895a1fe778b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page