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.
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.
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.
This project is licensed under the ℹ️ BSD 3-Clause
License.
Copyright (c) 2023, Fabian Lechtenberg. All rights reserved.
We would like to acknowledge the authors and contributors of these main packages that pulpo is based on: