Skip to content

Commit 0a62ed6

Browse files
committed
review
1 parent f638d93 commit 0a62ed6

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

docs/sphinx/source/whatsnew/v0.11.3.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Breaking Changes
1111
pvlib.location.Location.tz attribute. (:issue:`2340`, :pull:`2341`)
1212
* Users must now provide ModelChain.spectral_model, or the 'no_loss' spectral
1313
model is assumed. pvlib.modelchain.ModelChain no longer attempts to infer
14-
the spectral from PVSystem attributes. (:issue:`2017`, :pull:`2253`)
14+
the spectral model from PVSystem attributes. (:issue:`2017`, :pull:`2253`)
1515

1616
Bug fixes
1717
~~~~~~~~~

pvlib/modelchain.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -330,15 +330,15 @@ class ModelChain:
330330
'interp' and 'no_loss'. The ModelChain instance will be passed as the
331331
first argument to a user-defined function.
332332
333-
spectral_model : str or function, default ``'no_loss'``
333+
spectral_model : str or function, optional
334334
Valid strings are:
335335
336336
- ``'sapm'``
337337
- ``'first_solar'``
338338
- ``'no_loss'``
339339
340340
The ModelChain instance will be passed as the first argument to
341-
a user-defined function.
341+
a user-defined function. If not specified, ``'no_loss'`` is assumed.
342342
343343
temperature_model : str or function, optional
344344
Valid strings are: 'sapm', 'pvsyst', 'faiman', 'fuentes', 'noct_sam'.
@@ -364,7 +364,7 @@ def __init__(self, system, location,
364364
solar_position_method='nrel_numpy',
365365
airmass_model='kastenyoung1989',
366366
dc_model=None, ac_model=None, aoi_model=None,
367-
spectral_model='no_loss', temperature_model=None,
367+
spectral_model=None, temperature_model=None,
368368
dc_ohmic_model='no_loss',
369369
losses_model='no_loss', name=None):
370370

0 commit comments

Comments
 (0)