Skip to content

Commit 57edf70

Browse files
committed
correct coefficients for 2025 and references
1 parent 91da25c commit 57edf70

2 files changed

Lines changed: 12 additions & 11 deletions

File tree

pvlib/pvarray.py

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -258,12 +258,12 @@ def _infer_k_huld(cell_type, pdc0, k_version):
258258
0.000159, -0.000006)}
259259
elif k_version == '2025':
260260
# Updated coefficients from EU JRC paper
261-
huld_params = {'csi': (-0.017162, -0.040289, -0.004681, 0.000148,
262-
0.000169, 0.000005),
263-
'cis': (-0.005521, -0.038576, -0.003711, -0.000901,
264-
-0.001251, 0.000001),
265-
'cdte': (-0.046477, -0.072509, -0.002252, 0.000275,
266-
0.000158, -0.000006)}
261+
huld_params = {'csi': (-0.0067560, -0.016444, -0.003015, -0.000045,
262+
-0.000043, 0.0),
263+
'cis': (-0.011001, -0.029734, -0.002887, 0.000217,
264+
-0.000163, 0.0),
265+
'cdte': (-0.020644, -0.035316, -0.003406, 0.000073,
266+
-0.000141, 0.000002)}
267267
else:
268268
raise ValueError(f'Invalid k_version={k_version}: must be either '
269269
'"2011" or "2025" as a string')
@@ -306,8 +306,9 @@ def huld(effective_irradiance, temp_mod, pdc0, k=None, cell_type=None,
306306
Used to look up default values for ``k`` if ``k`` is not specified.
307307
k_version : str, optional
308308
Either `'2011'` (default) or `'2025'`. Used to select default values
309-
for ``k`` if ``k`` is not specified. If `'2011'`, values from [1]_
310-
are used; if `'2025'` values are from [2]_.
309+
for ``k`` if ``k`` is not specified. If `'2011'`, values from PVGIS
310+
documentation and published in [2]_ as "current"; if `'2025'`
311+
values are from [3]_ published as "updated".
311312
312313
Returns
313314
-------

tests/test_pvarray.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,9 +83,9 @@ def test_huld_params():
8383
'cis': 77.086016,
8484
'cdte': 78.642762
8585
},
86-
'2025': {'csi': 76.421390,
87-
'cis': 77.095102,
88-
'cdte': 78.648450
86+
'2025': {'csi': 77.649421,
87+
'cis': 77.723110,
88+
'cdte': 77.500399
8989
}
9090
}
9191
# Test with 2011 coefficients for all cell types

0 commit comments

Comments
 (0)