Skip to content

First Solar CEC modules are inferred to be CIGS instead of CdTe #1984

Open
@kandersolar

Description

@kandersolar

Describe the bug
Some First Solar modules are incorrectly inferred to be CIGS instead of CdTe. This is because the CEC database we currently include in pvlib lists these modules as "Thin Film", which pvlib.pvsystem.Array maps to CIGS:

pvlib-python/pvlib/pvsystem.py

Lines 1024 to 1031 in 923e025

_cell_type_dict = {'Multi-c-Si': 'multisi',
'Mono-c-Si': 'monosi',
'Thin Film': 'cigs',
'a-Si/nc': 'asi',
'CIS': 'cigs',
'CIGS': 'cigs',
'1-a-Si': 'asi',
'CdTe': 'cdte',

To Reproduce

import pvlib

cec_modules = pvlib.pvsystem.retrieve_sam('cecmod')
fslr_series_4 = cec_modules['First_Solar__Inc__FS_4117_3']

array = pvlib.pvsystem.Array(pvlib.pvsystem.FixedMount(), module_parameters=fslr_series_4)
print(array._infer_cell_type())  # shows cigs instead of cdte

That means that ModelChains using the first solar spectral correction model will incorrectly use CIGS parameters instead of CdTe parameters for these modules.

Expected behavior
First Solar modules should be inferred as CdTe, not CIGS.

Versions:

  • pvlib.__version__: 0.10.3

Additional context
These modules are still listed as Thin Film in the latest version of the CEC table from SAM: https://github.com/NREL/SAM/blob/patch/deploy/libraries/CEC%20Modules.csv, so updating our table won't fix this problem.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions