Skip to content

Commit 9638355

Browse files
committed
DOC: skip doctests in params_desoto
1 parent d02dc89 commit 9638355

File tree

1 file changed

+11
-6
lines changed

1 file changed

+11
-6
lines changed

pvlib/pvsystem.py

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,8 @@ def calcparams_desoto(S, temp_cell, alpha_isc, module_parameters, EgRef,
326326
to be 1). Source [1] suggests that an appropriate value for M
327327
as a function absolute airmass (AMa) may be:
328328
329-
>>> M = np.polyval([-0.000126, 0.002816, -0.024459, 0.086257, 0.918093], AMa)
329+
>>> M = np.polyval([-0.000126, 0.002816, -0.024459, 0.086257, 0.918093],
330+
... AMa) # doctest: +SKIP
330331
331332
M may be a DataFrame.
332333
@@ -407,31 +408,35 @@ def calcparams_desoto(S, temp_cell, alpha_isc, module_parameters, EgRef,
407408
EgRef = 1.121
408409
dEgdT = -0.0002677
409410
410-
>>> M = polyval([-0.000126 0.002816 -0.024459 0.086257 0.918093], AMa)
411+
>>> M = polyval([-0.000126, 0.002816, -0.024459, 0.086257, 0.918093],
412+
... AMa) # doctest: +SKIP
411413
412-
Source = Reference 1
414+
Source: Reference 1
413415
414416
Cadmium Telluride (CdTe):
415417
EgRef = 1.475
416418
dEgdT = -0.0003
417419
418-
>>> M = polyval([-2.46E-5 9.607E-4 -0.0134 0.0716 0.9196], AMa)
420+
>>> M = polyval([-2.46E-5, 9.607E-4, -0.0134, 0.0716, 0.9196],
421+
... AMa) # doctest: +SKIP
419422
420423
Source = Reference 4
421424
422425
Copper Indium diSelenide (CIS):
423426
EgRef = 1.010
424427
dEgdT = -0.00011
425428
426-
>>> M = polyval([-3.74E-5 0.00125 -0.01462 0.0718 0.9210], AMa)
429+
>>> M = polyval([-3.74E-5, 0.00125, -0.01462, 0.0718, 0.9210],
430+
... AMa) # doctest: +SKIP
427431
428432
Source = Reference 4
429433
430434
Copper Indium Gallium diSelenide (CIGS):
431435
EgRef = 1.15
432436
dEgdT = ????
433437
434-
>>> M = polyval([-9.07E-5 0.0022 -0.0202 0.0652 0.9417], AMa)
438+
>>> M = polyval([-9.07E-5, 0.0022, -0.0202, 0.0652, 0.9417],
439+
... AMa) # doctest: +SKIP
435440
436441
Source = Wikipedia
437442

0 commit comments

Comments
 (0)