| License |
|
| Publications |
|
| Documentation |
|
| Build status |
|
PVDeg is an open-source Python package for modeling photovoltaic (PV) degradation, developed at the National Renewable Energy Laboratory (NREL) and supported by the Durable Module Materials (DuraMAT) consortium. It provides modular functions, materials databases, and calculation workflows for simulating degradation mechanisms (e.g., LeTID, hydrolysis, UV exposure) using weather data from the National Solar Radiation Database (NSRDB) and the Photovoltaic Geographical Information System (PVGIS). By integrating Monte Carlo uncertainty propagation and geospatial processing, PVDeg enables field-relevant predictions and uncertainty quantification of module reliability and lifetime.
- Core Degradation Functions: Dedicated functions for physical degradation mechanisms including moisture ingress, LeTID, UV exposure, and thermal stress
- Scenario Class: Simplified workflow interface for complex multi-parameter degradation studies
- Geospatial Analysis: Large-scale spatial analyses with parallel processing across geographic regions
- Monte Carlo Framework: Uncertainty quantification through parameter distribution sampling
- Material Databases: Curated degradation parameters, kinetic coefficients, and material properties
- Weather Data Integration: Seamless access to NSRDB and PVGIS meteorological data
- Standards Support: Contributions to IEC TS 63126 and other standardization efforts
PVDeg has been adopted in multiple studies across the PV reliability community:
- Thermal Stability and IEC TS 63126 Compliance: Calculate effective standoff distances and generate public maps supporting the IEC TS 63126 standard
- Light and Elevated Temperature Induced Degradation (LeTID): Integrated into international interlaboratory comparison studies and field-aged array analyses
- Geospatial Performance Modeling: Coupled with GeoGridFusion to streamline weather-data storage and spatial queries for large-scale degradation simulations
- Agrivoltaics and System-Level Modeling: Combined with PySAM to assess degradation-driven yield losses in dual-use agrivoltaic systems
- Material-Property Parameterization: Studies of UV-induced polymer degradation and moisture-related failures in encapsulants and backsheets
Full documentation is available at ReadTheDocs including:
- π API Reference - Complete function and class documentation
- π User Guide - Installation, tutorials, and usage guides
- π§ Contributing Guide - Development setup and guidelines
- π° What's New - Release notes and changelogs
PVDeg releases may be installed using pip and conda tools. Compatible with Python 3.10 and above.
Quick Install:
pip install pvdegWith optional dependencies:
| Group | Install Command | Purpose |
|---|---|---|
| sam | pip install pvdeg[sam] |
PySAM support for system modeling |
| docs | pip install pvdeg[docs] |
Sphinx documentation tools |
| test | pip install pvdeg[test] |
Testing and validation tools |
| books | pip install pvdeg[books] |
Jupyter Book publishing |
| all | pip install pvdeg[all] |
All optional dependencies |
Developer Installation:
git clone https://github.com/NREL/PVDegradationTools.git
cd PVDegradationTools
pip install -e .[all]π For detailed installation instructions including conda environments, HPC setup, troubleshooting, and version compatibility, see the Installation Guide.
PVDeg provides comprehensive tutorials organized by topic. Choose your preferred environment:
Interactive tutorials with live execution: PVDeg Jupyter Book
- Click the π rocket icon to launch notebooks in Google Colab
- Development Preview: See latest changes at dev-preview
Run tutorials in your browser without installation:
-
Install PVDeg (see Installation)
-
Clone the repository to access tutorial notebooks:
git clone https://github.com/NREL/PVDegradationTools.git cd PVDegradationTools -
Start Jupyter:
jupyter notebook
-
Navigate to tutorials organized by category:
01_basics/- Introduction to PVDeg fundamentals02_degradation/- Degradation mechanism modeling03_monte_carlo/- Monte Carlo uncertainty analysis04_geospatial/- Geospatial and HPC scenarios05_advanced/- Advanced topics and API access10_workshop_demos/- Workshop demonstrationstools/- Standalone analysis tools
π For more information on running and validating notebooks, see the documentation.
We welcome contributions to this software! Please see CONTRIBUTING.md for detailed instructions on:
- Setting up your development environment
- Installing and using pre-commit hooks
- Code style guidelines
- Testing and documentation requirements
- Contributing to material property and degradation parameter databases
- Submitting pull requests
Please read the copyright license agreement (cla-1.0.md), with instructions on signing it in sign-CLA.md.
All code, documentation, and discussion contributors are acknowledged for their contributions to the PVDeg project.
If you suspect that you may have discovered a bug or if you'd like to change something about PVDeg, then please make an issue on our GitHub issues page.
If you use PVDeg in a published work, please cite both the software and the paper.
Software Citation:
Click the "Cite this repository" button in the right sidebar to get a formatted citation, or visit Zenodo for the DOI corresponding to your specific version:
On the Zenodo page, use the "Cite as" section in the right sidebar to copy the citation in your preferred format (BibTeX, APA, etc.).
JOSS Paper (In Review):
Daxini, R., Ovaitt, S., Springer, M., Ford, T., & Kempe, M. (2025). PVDeg: a python package for modeling degradation on solar photovoltaic systems. Journal of Open Source Software (In Review).
This work was authored by the National Renewable Energy Laboratory, operated by Alliance for Sustainable Energy, LLC, for the U.S. Department of Energy (DOE) under Contract No. DE-AC36-08GO28308. Funding provided as part of the Durable Modules Materials Consortium (DuraMAT), an Energy Materials Network Consortium funded by the U.S. Department of Energy, Office of Energy Efficiency and Renewable Energy, Solar Energy Technologies Office Agreement Number 32509. The research was performed using computational resources sponsored by the Department of Energy's Office of Energy Efficiency and Renewable Energy and located at the National Renewable Energy Laboratory. The views expressed in the article do not necessarily represent the views of the DOE or the U.S. Government. The U.S. Government retains and the publisher, by accepting the article for publication, acknowledges that the U.S. Government retains a nonexclusive, paid-up, irrevocable, worldwide license to publish or reproduce the published form of this work, or allow others to do so, for U.S. Government purposes.
NREL Software Record: SWR-20-71 (Holsapple, Derek; Ayala Pelaez, Silvana; Kempe, Michael. "PV Degradation Tools", NREL Github 2020)