Welcome to the PULPO workshop! This guide will help you set up the environment, understand the repository structure, and provide an overview of the workshop.
To get started with the workshop, follow these steps to set up your environment.
- Clone or download the repository and store the files in a folder named
pulpo_workshop
.
-
Ensure you are using Python 3.10 for this workshop, as Python 3.11 or later is (currently) not supported.
Command to create a conda environment:
conda create --name pulpo_brightcon_env python=3.10 conda activate pulpo_brightcon_env
-
Once the environment is set up, install the PULPO package by running the following command:
pip install pulpo-dev
-
Notebook
X2_PULPO_exercise.ipynb
requires additional dependencies. Install them by running the following commands:pip install python-louvain pip install networkx conda install conda-forge::ipopt=3.11.1
- Notebook
X0_optimization.ipynb
requires additional dependencies. Install them by running the following commands:
pip install ipywidgets ipywidgets
pip install pdf2image
pip install ipympl
Here’s an overview of the contents of the workshop repository to help you navigate and understand the notebooks.
- Purpose: Contains all the figures and visual aids referenced throughout the notebooks to help illustrate concepts.
- Purpose: Serves as the introductory notebook to the PULPO package.
- Content: Provides a comprehensive text-based overview of PULPO's key features and capabilities.
- Purpose: Demonstrates how to use PULPO to solve the "
Rice Example
". - Content: Guides you through the problem setup, solving the optimization problem using PULPO, and interpreting the results.
- Purpose: Introduces the computational structure of Life Cycle Assessment (LCA), a core concept explored in PULPO.
- Content: This notebook covers the theory and practical coding implementation of LCA using NumPy.
- Purpose: An auxiliary notebook providing context, theory, and applications of numerical optimization.
- Content: Explains optimization terminology, formulation, and includes a case study solving a heat exchanger problem for both economic and environmental objectives.
- Purpose: A hands-on exercise for participants to practice using PULPO.
- Content: Allows you to apply your knowledge to solve a new problem using the PULPO package.
- Purpose: Provides the solution to the hands-on exercise.
- Content: Offers a step-by-step solution to the exercise, which you can use to check your work or if you need help.
Here is a brief overview of the topics and time allocation for the workshop:
- 15-20 minutes: Introduction to PULPO (Notebook 01).
- 15-20 minutes: Walk through the Rice Example (Notebook 02).
- 5-10 minutes: Questions / Check auxiliar notebooks (especially exercise).
Total Duration: 45 minutes
We hope you enjoy the workshop!