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.1.tar.gz
.
File metadata
- Download URL: pulpo_dev-0.1.1.tar.gz
- Upload date:
- Size: 28.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 52ad8acf0920213f3f297a32c8d968134815d04da078fb82f6c09598fb570327 |
|
MD5 | 7d0cda665df26e0c237d296823db99c3 |
|
BLAKE2b-256 | e446afff7fd35bacbd4fd67790ab93f68bb3e80668e202ac6ad9954a58548e54 |
File details
Details for the file pulpo_dev-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: pulpo_dev-0.1.1-py3-none-any.whl
- Upload date:
- Size: 28.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b893703980be46a6377fd2f410b86ec37cc36bc222525e9d80c84b8f4352fea8 |
|
MD5 | 5ca7efd014e79412a1ebea5841f672fb |
|
BLAKE2b-256 | 499de1802caf6d19f7e2a5b3698aabf7d11562109233f3ab697252cfb4445a39 |