@@ -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