pulpo package for optimization in LCI databases
Project description
◦ Python-based User-defined Lifecycle Production Optimization!
📍 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
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.0.4.tar.gz
.
File metadata
- Download URL: pulpo_dev-0.0.4.tar.gz
- Upload date:
- Size: 20.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.9.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 736893a649cf3d65a1e1d72ee345d5c53e2b5636bba36c983b8928170588b158 |
|
MD5 | 05c7f0c21a3e3da77da1e0816ae99706 |
|
BLAKE2b-256 | 242a337751e85aeae3f93f5281170aed99dc48f42552d325f703ec22f19472f1 |
File details
Details for the file pulpo_dev-0.0.4-py3-none-any.whl
.
File metadata
- Download URL: pulpo_dev-0.0.4-py3-none-any.whl
- Upload date:
- Size: 19.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.9.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9e5f1d922a2b3542ee3b2961229ec91f940fd2518829d4a3cd1e9a51c03ede0b |
|
MD5 | 3d8ed27989ffa3f3674cbe422243f617 |
|
BLAKE2b-256 | 5d721f1d8f237e3ab6d108ed863442786d506f5742dd0dff157f6eefc7088420 |