Skip to main content
License license
Publications JOSS paper DOI Zenodo software DOI
Documentation Documentation Status
Build status GitHub Actions Testing Status

PVDeg: Python Package for Modeling Degradation of Photovoltaic Systems

PVDeg is an open-source Python package for modeling photovoltaic (PV) degradation, developed at the National Laboratory of the Rockies (NLR, formerly 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.

Key Features

  • 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

Example Applications

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

Documentation

Full documentation is available at ReadTheDocs including:

Installation

PVDeg releases may be installed using pip and conda tools. Compatible with Python 3.10 and above.

Quick Install:

pip install pvdeg

With 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/NatLabRockies/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.

Tutorials

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

Binder

Run tutorials in your browser without installation: Binder

Local Installation

  1. Install PVDeg (see Installation)

  2. Clone the repository to access tutorial notebooks:

    git clone https://github.com/NatLabRockies/PVDegradationTools.git
    cd PVDegradationTools
    
  3. Start Jupyter:

    jupyter notebook
    
  4. Navigate to tutorials organized by category:

    • 01_basics/ - Introduction to PVDeg fundamentals
    • 02_degradation/ - Degradation mechanism modeling
    • 03_monte_carlo/ - Monte Carlo uncertainty analysis
    • 04_scenario/ - Scenario-based modeling workflows
    • 05_geospatial/ - Geospatial and HPC scenarios
    • 06_advanced/ - Advanced topics and API access
    • 10_workshop_demos/ - Workshop demonstrations
    • tools/ - Standalone analysis tools

📖 For more information on running and validating notebooks, see the documentation.

License

BSD 3-clause

Contributing

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.

Getting support

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.

Citing

If you use PVDeg in published work, please cite both the paper and the software.

Daxini, R., Ovaitt, S., Springer, M., Ford, T., & Kempe, M. (2026).
"PVDeg: a Python package for modeling degradation of solar photovoltaic systems."
Journal of Open Source Software, 11(127), 10617.
https://doi.org/10.21105/joss.10617

BibTeX
@article{pvdeg_joss,
  author    = {Daxini, Rajiv and Ovaitt, Silvana and Springer, Martin and
               Ford, Tobin and Kempe, Michael},
  title     = {{PVDeg: a Python package for modeling degradation of solar
               photovoltaic systems}},
  journal   = {Journal of Open Source Software},
  publisher = {The Open Journal},
  year      = {2026},
  volume    = {11},
  number    = {127},
  pages     = {10617},
  doi       = {10.21105/joss.10617},
  url       = {https://doi.org/10.21105/joss.10617}
}

Citation for the latest PVDeg software version:

Springer, M., Ovaitt, S., Daxini, R., Ford, T., Brown, M., Karas, J., Holsapple, D., & Kempe, M. (2026).
"PVDeg: a Python package for modeling degradation of solar photovoltaic systems" [Computer software].
Zenodo.
https://doi.org/10.5281/zenodo.8088382

BibTeX
@software{pvdeg,
  author    = {Springer, Martin and Ovaitt, Silvana and Daxini, Rajiv and
               Ford, Tobin and Brown, Matthew and Karas, Joseph and
               Holsapple, Derek and Kempe, Michael},
  title     = {{PVDeg: a Python package for modeling degradation of solar
               photovoltaic systems}},
  publisher = {Zenodo},
  year      = {2026},
  doi       = {10.5281/zenodo.8088382},
  url       = {https://doi.org/10.5281/zenodo.8088382}
}

The Zenodo DOI above always resolves to the latest release. To cite the exact version you used, pick it from the version list on the Zenodo page, or use the "Cite this repository" button in the right sidebar.

If you use PVDeg in a commercial or publicly-available application, please consider displaying the PVDeg logo:

PVDeg logo (stacked)    PVDeg logo (horizontal)

Black, white, and color versions (SVG) are available in docs/source/_static/logo-vectors.

Acknowledgements

This work was authored in part by the National Laboratory of the Rockies for the U.S. Department of Energy (DOE), operated under Contract No. DE-AC36-08GO28308. Funding provided as part of the Durable Module Materials Consortium 2 (DuraMAT 2) funded by the U.S. DOE Office of Critical Minerals and Energy Innovation (CMEI) Solar Energy Technologies Office (SETO), Agreement 38259. 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.

HPC disclaimer: A portion of this research was performed using computational resources sponsored by the U.S. Department of Energy's Office of Critical Minerals and Energy Innovation and located at the National Laboratory of the Rockies.

NLR Software Record: SWR-20-71 (Holsapple, Derek; Ayala Pelaez, Silvana; Kempe, Michael. "PV Degradation Tools", NLR Github 2020)

Metadata

Release files for pvdeg 0.7.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pvdeg 0.7.6
File Size Uploaded Provenance Actions
pvdeg-0.7.6.tar.gz 31.4 MB With provenance Details for pvdeg-0.7.6.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pvdeg 0.7.6
File Interpreter ABI Platform Actions
pvdeg-0.7.6-py3-none-any.whl Python 3 none any Details for pvdeg-0.7.6-py3-none-any.whl

Total release size: 34.9 MB

Release files / pvdeg-0.7.6.tar.gz

Download URL pvdeg-0.7.6.tar.gz
Size 31.4 MB
Tags Source
SHA-256 checksum
How to use checksums
b4e696f6df82b2d29d223bc8d4f9190101f815345f67f525ef79be35625c9f96
BLAKE2b-256 checksum
How to use checksums
e7c0f58011a8a0c0aa57d534d6c147d2a1130c8e4844d415f0db9a2acd932ffc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 17, 2026.

Transparency log

Release files / pvdeg-0.7.6-py3-none-any.whl

Download URL pvdeg-0.7.6-py3-none-any.whl
Size 3.5 MB
Tags Python 3
SHA-256 checksum
How to use checksums
e47c97eb7edd59c7d131f722658a4f83cd90cc533fa41407eebb56439d7d9c6d
BLAKE2b-256 checksum
How to use checksums
a406a5073403ab2abefe7c75e6cf7bad660e43a705ae008789ce5f3cfb31fcc2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 17, 2026.

Transparency log

Security for pvdeg 0.7.6

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for pvdeg-0.7.6.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 17, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page