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.3.tar.gz (20.0 kB view details)

Uploaded Source

Built Distribution

pulpo_dev-0.0.3-py3-none-any.whl (19.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pulpo-dev-0.0.3.tar.gz
  • Upload date:
  • Size: 20.0 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.3.tar.gz
Algorithm Hash digest
SHA256 46e2742d9cfb148d71630b4b329232fdc1c8999da146fbee87e449a48b286041
MD5 61950eead648dae1c78bc9bc215134e8
BLAKE2b-256 a9bd221def34d29758028358ed2995abbe8457edba92acd510bcea5a3c3beb96

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pulpo_dev-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 19.0 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 25b0efa16430d79cdedd07a58d74f6941f685c3a508c705c4321966dcdbf471c
MD5 58530d2f7f58fc9cbcd0e7c277c89d27
BLAKE2b-256 d3df05c8c3238d91f890e26b604ee83ffa308752ffedf06b4bdeeb8686f5bc9b

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