We are pleased to announce the availability of the following versions of PELCA:
📨 INFORMATION : To stay informed about the release of new features and versions, you can subscribe to the PELCA newsletter using this link: Newsletter PELCA
You can download these versions from the releases page.
PELCA (Power Electronics Life Cycle Assessment) is an open-source project aimed at assessing the environmental impact over the life cycle of modular and diagnosable power electronics systems. The integration of modularity and diagnosability aligns with circular economy principles, promoting practices such as maintenance, repair and reuse. This project provides a tool to calculate the environmental impacts associated with the manufacturing, usage, and replacement of power electronics products.
This work began as part of the PhD thesis (collaboration between Mitsubishi Electric R&D Centre Europe and SATIE): Baudais, Briac. Eco-design in power electronics. Impacts of sizing, modularity, and diagnosticability. Electronique. Université Paris-Saclay, 2024. Français. ⟨NNT : 2024UPAST092⟩. ⟨tel-04659788⟩. Consult the thesis
The evolution of environmental impacts over time can be illustrated with a staircase curve:
- Initially, the curve shows the impacts associated with the manufacturing of the product.
- The slope of the curve represents the impacts during usage, specifically the operational losses incurred.
- When a failure occurs, the impacts rise, reflecting the need to replace the faulty component through curative maintenance (maintenance based on faults & diagnosis). This increase is influenced by the accuracy of diagnostics and by the system's architecture (modularity). More precise and selective diagnostics allow for selective replacements, assuming the modularity supports it. In contrast, an integrated system architecture does not facilitate the separation of the faulty component from the rest of the system.
- Preventive maintenance (maintenance based on schedule) allows replacing only part of a product before it breaks down.
For a detailed explanation of the algorithmic functioning of the tool, refer to Algorithm.md.
The tool was developed using the Python library Brightway2.
- Update Notes
- Installation Guide
- Example Overview
- Explanation of the Algorithm
- Contribution
- Disclaimer
- Licence
- Contact
The PELCA application is compatible with the following operating systems: Windows, Linux, and MacOS. Below are the installation steps tailored to your operating system.
-
Install Python 3.12
First, download and install Python 3.12 from the official website: 👉 Download Python 3.12
-
Set up the project
Once Python is installed, follow these steps:
- Navigate to the folder where you want to place PELCA.
- Right-click in the file explorer and select
Open in Terminal
. - Copy and paste the following commands:
# Clone the Git repository git clone https://github.com/merce-fra/PELCA.git # Navigate to the project directory cd PELCA # Create a virtual environment using Python 3.12 & "$env:LOCALAPPDATA\Programs\Python\Python312\python.exe" -m venv .venv # Change execution policy to activate the virtual environment Set-ExecutionPolicy Unrestricted -Scope Process # Activate the virtual environment .\.venv\Scripts\activate # Upgrade pip to avoid compatibility issues python.exe -m pip install --upgrade pip # Install the project dependencies pip install -r requirements_windows.txt
To install the project on Linux, open a terminal and execute the following commands:
# Clone the Git repository
git clone https://github.com/merce-fra/PELCA.git
# Navigate to the project directory
cd PELCA
# Install the Python 3.12 venv module if not already installed
sudo apt install python3.12-venv
# Create a virtual environment in the .venv folder
python3.12 -m venv .venv
# Activate the virtual environment
source .venv/bin/activate
# Install the required dependencies specified in the requirements_linux_mac.txt file
pip install -r requirements_linux_mac.txt
To install the project on MacOS, open a terminal and execute the following commands:
# Clone the Git repository
git clone https://github.com/merce-fra/PELCA.git
# Navigate to the project directory
cd PELCA
# Install the Python 3.12 venv module if not already installed
brew install [email protected]
# Create a virtual environment in the .venv folder
python3.12 -m venv .venv
# Activate the virtual environment
source .venv/bin/activate
# Install the required dependencies specified in the requirements_linux_mac.txt file
pip install -r requirements_linux_mac.txt
To assess the environmental impact, the Ecoinvent database is used. You need to download the following file:
📥 Required file: ecoinvent 3.9.1_cutoff_ecoSpold02.7z
🔗 Download link: Ecoinvent 3.9.1
ℹ️ Note: The version used is 3.9.1. Any version higher than this is not compatible. Indeed, PELCA relies on the Brightway library, which faces compatibility issues with ecoinvent starting from version 3.10. More information here: StackOverflow Discussion
Before running the application, you must configure the paths for data and output. Refer to the example Excel file:
📂 Reference file: PELCA/Input exemple/inputExample_v1.2.1_PowerModuleAndCapacitor
📑 Sheet: LCA
The following details must be specified in the Excel sheet:
Parameter | Example | Description |
---|---|---|
LCA result path | C:\Users\username\filepath |
Path where the "Results PELCA" folder will be created. If the folder doesn’t exist, it will be created automatically. |
Project name (Brightway) | inverter_test_02 |
Name of the project in Brightway. Databases must be reinstalled for each new project. |
Inventory name | Example |
Name of the inventory visible in the Activity Browser. |
Database ecoinvent | ecoinvent 3.9.1_cutoff_ecoSpold02 |
Name of the Ecoinvent database used in Brightway. |
Ecoinvent path | C:\Users\username\Downloads\ecoinvent 3.9.1_cutoff_ecoSpold02\datasets |
Path to the datasets folder of the Ecoinvent database. |
Type of simulation | Monte Carlo |
Environmental analysis mode: Analysis (traditional LCA) or Monte Carlo (uncertainty analysis + traditional LCA). |
Number of iterations (Monte Carlo) | 5 |
Number of iterations for Monte Carlo uncertainty analysis. |
ℹ️ Note: Monte Carlo results may be incorrect due to the Brightway library. This issue is being addressed. More details: Brightway Group Discussion
Once the installation is complete, you can run the application using your preferred code editor by importing the PELCA folder.
If you prefer to use a terminal, follow these steps based on your operating system.
- Go to the PELCA folder in the file explorer.
- Right-click and select "Open in Terminal".
- Run the following commands:
Set-ExecutionPolicy Unrestricted -Scope Process .\.venv\Scripts\activate python main.py
The application is now ready to use! 🚀
Open a terminal, navigate to the PELCA folder, and run:
source .venv/bin/activate
python main.py
We welcome all kinds of contributions! To contribute to the project, start by forking the repository, make your proposed changes in a new branch, and create a pull request. Make sure your code is readable and well-documented. Include unit tests if possible.
You can also contribute by submitting bug reports, feature requests, and following the issues.
This code is intended for use in a research environment only. We disclaim any responsibility for the results obtained and any subsequent use of them.
This code is licensed under LGPL-3.0-only or LGPL-3.0-or-later, and also uses other python libraries which also have their own licenses.