Skip to main content
License license
Publications 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 a published work, please cite both the software and the paper.

Software Citation:

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
@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}
}

DOI

The 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.

JOSS Paper (In Review):

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 (In Review).

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 by 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.5

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.5
File Size Uploaded Provenance Actions
pvdeg-0.7.5.tar.gz 31.4 MB With provenance Details for pvdeg-0.7.5.tar.gz

Built distribution (wheel)

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

Total release size: 34.9 MB

Release files / pvdeg-0.7.5.tar.gz

Download URL pvdeg-0.7.5.tar.gz
Size 31.4 MB
Tags Source
SHA-256 checksum
How to use checksums
72231d002745d87dafc170a76cae37edb8d14914f854e90905c69ee9b853c529
BLAKE2b-256 checksum
How to use checksums
dcd6d5118fae69c2421b7761a84cc36345c49332de8a5d67be5391f94b0d6d12
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 6, 2026.

Transparency log

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

Download URL pvdeg-0.7.5-py3-none-any.whl
Size 3.5 MB
Tags Python 3
SHA-256 checksum
How to use checksums
07d1f4fe96544830f97db381305e8d8fa8abb5579053ec99a0051b072b89bf35
BLAKE2b-256 checksum
How to use checksums
9b950c9ad9cc274aeb6638d1f04f9a48f380f13fdbc64673747085f2fbadf337
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 6, 2026.

Transparency log

Security for pvdeg 0.7.5

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.5.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 6, 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