pulpo package for optimization in LCI databases
Project description
◦ Python-based User-defined Lifecycle Production Optimization!
📍 Overview
Pulpo is a comprehensive Life Cycle Optimization (LCO) tool designed to streamline the optimization of environmental impacts across the entire lifecycle of products. It facilitates the import of data from the LCI databases accessed via brightway, converts inputs into optimization-ready formats, defines and solves optimization models using the Pyomo package, and saves and summarizes results. Pulpo empowers users to efficiently optimize and analyze environmental impacts, supporting sustainable decision-making through lifecycle-based strategies.
🚀 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, an electricity case, and a plastic 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()
pulpo.plastic_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
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
Built Distribution
File details
Details for the file pulpo_dev-0.1.2.tar.gz
.
File metadata
- Download URL: pulpo_dev-0.1.2.tar.gz
- Upload date:
- Size: 28.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e676ef7a3934ea6a86c6267893a051e53680383ec653f436b998fda13126926c |
|
MD5 | 0fe2a186e3401f4ba76627b6b11b9749 |
|
BLAKE2b-256 | 817154889da8d5c28ae2ff5fa9bd95eef26bf02a78d4e6189dadcd7032da421b |
File details
Details for the file pulpo_dev-0.1.2-py3-none-any.whl
.
File metadata
- Download URL: pulpo_dev-0.1.2-py3-none-any.whl
- Upload date:
- Size: 28.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 46f8720acca9dd00f034a1e3563cf19636efe583f864b1feb5e02f5c586616fd |
|
MD5 | 2f01f529e3ac3c643af6ea7be6fc1c15 |
|
BLAKE2b-256 | 0e543e637f53560a33784162f4a492efd4c5c7b057a2a8cd47eb65f6068fe1ee |