Skip to content

Add spectral mismatch model comparison table #2353

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 26 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
2b3d02e
Create model_comparison.txt
RDaxini Jan 10, 2025
3fd7894
create
RDaxini Jan 10, 2025
b2e99bd
correct table formatting
RDaxini Jan 10, 2025
3560eb0
try forcing new row between jrc and pvspec
RDaxini Jan 10, 2025
23c92f7
Update model_comparison.rst
RDaxini Jan 13, 2025
6d21d7e
Update model_comparison.rst
RDaxini Jan 13, 2025
b8b0dae
Merge remote-tracking branch 'upstream/main' into spectrum_reference
RDaxini Jan 21, 2025
94ded5f
Merge remote-tracking branch 'upstream/main' into spectrum_reference
RDaxini Jan 21, 2025
f700925
Merge remote-tracking branch 'upstream/main' into spectrum_reference
RDaxini Jan 28, 2025
bcf3ff9
create user guide subection
RDaxini Jan 28, 2025
0be2e46
rename, fix gallery example link, update cell tech
RDaxini Jan 28, 2025
a5d4d9b
update name and location
RDaxini Jan 28, 2025
7e79344
rename, add layer
RDaxini Jan 28, 2025
9c588a9
references, table format, updated text
RDaxini Feb 3, 2025
13f02e1
add intro
RDaxini Feb 11, 2025
3bbd3a3
correct huld reference
RDaxini Apr 14, 2025
1d901f6
use :term: role
RDaxini Apr 14, 2025
7048766
reduce width
RDaxini Apr 14, 2025
106982a
update terms
RDaxini Apr 14, 2025
74edb15
`-` -> `any single junction`
RDaxini Apr 14, 2025
107f4ab
Merge remote-tracking branch 'upstream/main' into spectrum_reference
RDaxini Apr 14, 2025
ff22d12
accommodate new user guide folder structure
RDaxini Apr 14, 2025
9f6aab6
add captions back in
RDaxini Apr 14, 2025
4df8ae2
re-separate columns
RDaxini Apr 14, 2025
298caa8
add duramat sr library reference
RDaxini Apr 14, 2025
3555be4
Update spectrum.rst
RDaxini Apr 14, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions docs/sphinx/source/user_guide/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ This user guide is an overview and explains some of the key features of pvlib.
modeling_topics/pvsystem
modeling_topics/modelchain
modeling_topics/timetimezones
modeling_topics/spectrum
modeling_topics/bifacial
modeling_topics/clearsky
modeling_topics/weather_data
Expand Down
97 changes: 97 additions & 0 deletions docs/sphinx/source/user_guide/modeling_topics/spectrum.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,97 @@
.. _spectrum_user_guide:

Spectrum
========

The spectrum functionality of pvlib-python includes simulating clear sky
spectral irradiance curves, calculating the spectral mismatch factor for
a range of single-junction PV cell technologies, and other calculations
such as converting between spectral response and EQE, and computing average
photon energy values from spectral irradiance data.

This user guide page summarizes some of pvlib-python's spectrum-related
capabilities, starting with a summary of spectral mismatch estimation models
available in pvlib-python.

Spectral mismatch models
------------------------

pvlib-python contains several models to estimate the spectral mismatch factor
using atmospheric variables such as air mass, or system and meteorological
data such as spectral response and spectral irradiance. Two separate examples
demonstrating the application of four pvlib-python spectral mismatch models
are also available: :ref:`sphx_glr_gallery_spectrum_spectral_factor.py` and
Reference [1]_, the latter of which also contains downloadable spectral
response and spectral irradiance data. On this page, a comparison of all models
available in pvlib-python is presented. An extended review of a wider range of
models available in the published literature may be found in Reference [2]_.

The table below summarises the models currently available in pvlib, the inputs
required, cell technologies for which model coefficients have been published,
and references. Note that while most models are validated for specific cell
technologies, the Sandia Array Performance Model (SAPM) and spectral mismatch
calculation are not specific to cell type; the former is validated for a range
of commerical module products.

+---------------------------------------------------------+----------------------------+-----------------+-----------+
| Model | Inputs | Cell technology | Reference |
+=========================================================+============================+=================+===========+
| :py:func:`~pvlib.spectrum.spectral_factor_caballero` | :term:`absolute_airmass`, | CdTe, | |
| | :term:`precipitable_water`,| mono-Si, | |
| | aerosol optical depth | poly-Si, | [3]_ |
| | | aSi, | |
| | | CIGS, | |
| | | Perovskite | |
+---------------------------------------------------------+----------------------------+-----------------+-----------+
| :py:func:`~pvlib.spectrum.spectral_factor_firstsolar` | :term:`absolute_airmass`, | CdTe, | |
| | :term:`precipitable_water` | poly-Si | [4]_ |
+---------------------------------------------------------+----------------------------+-----------------+-----------+
| :py:func:`~pvlib.spectrum.spectral_factor_sapm` | :term:`absolute_airmass` | Multiple | [5]_ |
+---------------------------------------------------------+----------------------------+-----------------+-----------+
| :py:func:`~pvlib.spectrum.spectral_factor_pvspec` | :term:`absolute_airmass`, | CdTe, | |
| | clearsky index | poly-Si, | |
| | | mono-Si, | |
| | | CIGS, | [6]_ |
| | | aSi | |
+---------------------------------------------------------+----------------------------+-----------------+-----------+
| :py:func:`~pvlib.spectrum.spectral_factor_jrc` | :term:`relative_airmass`, | CdTe, | |
| | clearsky index | poly-Si | [7]_ |
+---------------------------------------------------------+----------------------------+-----------------+-----------+
| :py:func:`~pvlib.spectrum.calc_spectral_mismatch_field` | spectral response, | Any single | |
| | :term:`spectra` | junction | |
+---------------------------------------------------------+----------------------------+-----------------+-----------+


References
----------
.. [1] A. Driesse, J. S. Stein, and M. Theristis, "Global horizontal spectral
irradiance and module spectral response measurements: an open dataset
for PV research Sandia National Laboratories, ALbuquerque, NM, USA, Rep.
SAND2023-02045, 2023. Available:
https://datahub.duramat.org/dataset/module-sr-library

.. [2] R. Daxini and Y. Wu, "Review of methods to account for the solar
spectral influence on photovoltaic device performance," Energy,
vol. 286, p. 129461, Jan. 2024. :doi:`10.1016/j.energy.2023.129461`
.. [3] J. A. Caballero, E. Fernández, M. Theristis, F. Almonacid, and
G. Nofuentes, "Spectral Corrections Based on Air Mass, Aerosol Optical
Depth and Precipitable Water for PV Performance Modeling," IEEE Journal
of Photovoltaics, vol. 8, no. 2, pp. 552–558, Mar. 2018.
:doi:`10.1109/JPHOTOV.2017.2787019`
.. [4] M. Lee and A. Panchula, "Spectral Correction for Photovoltaic Module
Performance Based on Air Mass and Precipitable Water," 2016 IEEE 43rd
Photovoltaic Specialists Conference (PVSC), Portland, OR, USA, 2016,
pp. 3696-3699. :doi:`10.1109/PVSC.2016.7749836`
.. [5] D. L. King, W. E. Boyson, and J. A. Kratochvil, Photovoltaic Array
Performance Model, Sandia National Laboratories, Albuquerque, NM, USA,
Tech. Rep. SAND2004-3535, Aug. 2004. :doi:`10.2172/919131`
.. [6] S. Pelland, J. Remund, and J. Kleissl, "Development and Testing of the
PVSPEC Model of Photovoltaic Spectral Mismatch Factor," in Proc. 2020
IEEE 47th Photovoltaic Specialists Conference (PVSC), Calgary, AB,
Canada, 2020, pp. 1–6. :doi:`10.1109/PVSC45281.2020.9300932`
.. [7] H. Thomas, S. Tony, and D. Ewan, “A Simple Model for Estimating the
Influence of Spectrum Variations on PV Performance,” pp. 3385–3389, Nov.
2009, :doi:10.4229/24THEUPVSEC2009-4AV.3.27
.. [8] IEC 60904-7:2019, Photovoltaic devices — Part 7: Computation of the
spectral mismatch correction for measurements of photovoltaic devices,
International Electrotechnical Commission, Geneva, Switzerland, 2019.