License | |
Publications | |
Documentation | |
Build status |
This repository contains functions for calculating degradation of photovoltaic modules. For example, functions to calculate front and rear relative Humidity, as well as Acceleration Factors. A degradation calculation function is also being developed, considering humidity and spectral irradiances models.
For in depth Tutorials you can run online, see our jupyter-book
Clicking on the rocket-icon on the top allows you to launch the journals on Google Colaboratory for interactive mode.
Just uncomment the first line pip install ...
to install the environment on each journal if you follow this mode.
To run these tutorials in Binder, you can click here: It takes a minute to load the environment.
You can also run the tutorial locally in a virtual environment, i.e., venv
or
miniconda.
-
Create and activate a new environment, e.g., on Mac/Linux terminal with
venv
:python -m venv pvdeg . pvdeg/bin/activate
or with
conda
:conda create -n pvdeg conda activate pvdeg
-
Install
pvdeg
into the new environment withpip
:python -m pip install pvdeg
-
Start a Jupyter session:
jupyter notebook
-
Use the file explorer in Jupyter lab to browse to
tutorials
and start the first Tutorial.
Documentation is available in ReadTheDocs where you can find more details on the API functions.
Relative Humidity and Acceleration Factors for Solar Modules releases may be installed using the pip
and conda
tools. Compatible with Python 3.5 and above.
Install with:
pip install pvdeg
For developer installation, clone the repository, navigate to the folder location and install as:
pip install -e .[all]
We welcome contributiosn to this software, but please read the copyright license agreement (cla-1.0.md), with instructions on signing it in sign-CLA.md. For questions, email us.
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 this functions in a published work, please cite:
Holsapple, Derek, Ayala Pelaez, Silvana, Kempe, Michael. "PV Degradation Tools", NREL Github 2020, Software Record SWR-20-71.
And/or the specific release from Zenodo:
Martin Springer, Matthew Brown, Silvana Ovaitt, Tobin Ford, Joseph Karas, Mark Campanelli, Derek M Holsapple, Kevin Anderson, Michael Kempe. (2024). NREL/PVDegradationTools: 0.3.2 (0.3.2). Zenodo. https://doi.org/10.5281/zenodo.11123249