Skip to main content

pulpo package for optimization in LCI databases

Project description

◦ Python-based User-defined Lifecycle Production Optimization!

Jupyter Python Markdown

GitHub license git-last-commit GitHub commit activity GitHub top language

📍 Overview

The project, "pulpo," is a life cycle assessment (LCA) optimization tool that aims to import, optimize, solve, retrieve, save, and summarize LCA results. It provides functionalities for data import from the Ecoinvent database, conversion of inputs into a dictionary for the optimization model, definition and solving of the optimization model using the pyomo package, and saving and summarizing of the model results. The tool's value lies in streamlining LCA processes, enabling optimization and analysis of environmental impacts, and facilitating the decision-making process for sustainable solutions.


🚀 Getting Started

🔧 Installation

You can now install PULPO via pip:

pip install pulpo-dev

This will install PULPO and all its dependencies. It is advised to create a new venv/conda environment for performing tasks with PULPO, in order to avoid package conflicts with other tools such as brightway, activity-browser, or premise.

🤖 Running pulpo

After installing PULPO, check if the package has been set up properly by running the setup function:

from pulpo.utils import tests

tests.setup()

This function mimics the development test functions and if all tests have passed you are good to go.

To learn the PULPO workflow for more complex case studies, find example notebooks for a hydrogen case and an electricity case here.

You can also follow these notebooks locally with the shipped package by calling:

from pulpo import pulpo

pulpo.electricity_showcase()
pulpo.hydrogen_showcase()

It should be noted that to run these showcase it is necessary to install the ecoinvent cutoff38 system model via brightway2/activity-browser. Please follow instructions on Brightway2 or Activity-Browser to see how this is done.


📄 License

This project is licensed under the ℹ️ BSD 3-Clause License. Copyright (c) 2023, Fabian Lechtenberg. All rights reserved.


👏 Acknowledgments

We would like to acknowledge the authors and contributors of these main packages that pulpo is based on:


Authors


↑ Return

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

pulpo-dev-0.0.2.tar.gz (19.5 kB view details)

Uploaded Source

Built Distribution

pulpo_dev-0.0.2-py3-none-any.whl (18.4 kB view details)

Uploaded Python 3

File details

Details for the file pulpo-dev-0.0.2.tar.gz.

File metadata

  • Download URL: pulpo-dev-0.0.2.tar.gz
  • Upload date:
  • Size: 19.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.12

File hashes

Hashes for pulpo-dev-0.0.2.tar.gz
Algorithm Hash digest
SHA256 55b99dac03d5ec117d40e6486f28bcf87224f57e3514278829c3033111ceefc5
MD5 94ca0df182b1d6297c0cc9df6b16d584
BLAKE2b-256 26f02a6035042f8f1388999e4dd729fceb195091876dea6990c6f9900ed46015

See more details on using hashes here.

File details

Details for the file pulpo_dev-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: pulpo_dev-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 18.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.12

File hashes

Hashes for pulpo_dev-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 f43a50b84f11905417a7685f2a5f6299aa319eb6fbc4cfd1de28ec68bcc71cfd
MD5 4eea2d7895105295cb8cdd2710a204c2
BLAKE2b-256 b7d6985843e78089a0dbdbe53ab7d3f173a582e72c658f70f6aeb474d68482e0

See more details on using hashes here.

Supported by

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