Skip to content

Commit a037bae

Browse files
Update modelchain docstrings
1 parent d49ee79 commit a037bae

File tree

1 file changed

+18
-20
lines changed

1 file changed

+18
-20
lines changed

pvlib/modelchain.py

Lines changed: 18 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -289,12 +289,12 @@ class ModelChain:
289289
Parameters
290290
----------
291291
system : PVSystem
292-
A :py:class:`~pvlib.pvsystem.PVSystem` object that represents
293-
the connected set of modules, inverters, etc.
292+
A :py:class:`~pvlib.pvsystem.PVSystem` object that represents the
293+
connected set of modules, inverters, etc.
294294
295295
location : Location
296-
A :py:class:`~pvlib.location.Location` object that represents
297-
the physical location at which to evaluate the model.
296+
A :py:class:`~pvlib.location.Location` object that represents the
297+
physical location at which to evaluate the model.
298298
299299
clearsky_model : str, default 'ineichen'
300300
Passed to location.get_clearsky. Only used when DNI is not found in
@@ -311,31 +311,29 @@ class ModelChain:
311311
312312
dc_model : str, or function, optional
313313
If not specified, the model will be inferred from the parameters that
314-
are common to all of system.arrays[i].module_parameters.
315-
Valid strings are 'sapm', 'desoto', 'cec', 'pvsyst', 'pvwatts'.
316-
The ModelChain instance will be passed as the first argument
317-
to a user-defined function.
314+
are common to all of system.arrays[i].module_parameters. Valid strings
315+
are 'sapm', 'desoto', 'cec', 'pvsyst', 'pvwatts'. The ModelChain
316+
instance will be passed as the first argument to a user-defined
317+
function.
318318
319319
ac_model : str, or function, optional
320320
If not specified, the model will be inferred from the parameters that
321-
are common to all of system.inverter_parameters.
322-
Valid strings are 'sandia', 'adr', 'pvwatts'. The
323-
ModelChain instance will be passed as the first argument to a
324-
user-defined function.
321+
are common to all of system.inverter_parameters. Valid strings are
322+
'sandia', 'adr', 'pvwatts'. The ModelChain instance will be passed as
323+
the first argument to a user-defined function.
325324
326325
aoi_model : str, or function, optional
327326
If not specified, the model will be inferred from the parameters that
328-
are common to all of system.arrays[i].module_parameters.
329-
Valid strings are 'ashrae', 'interp', 'martin_ruiz', 'physical',
330-
'sapm', 'schlick', 'no_loss'. The ModelChain instance will be passed
331-
as the first argument to a user-defined function.
327+
are common to all of system.arrays[i].module_parameters. Valid strings
328+
are 'ashrae', 'interp', 'martin_ruiz', 'physical', 'sapm', 'schlick',
329+
'no_loss'. The ModelChain instance will be passed as the first
330+
argument to a user-defined function.
332331
333332
spectral_model : str, or function, optional
334333
If not specified, the model will be inferred from the parameters that
335-
are common to all of system.arrays[i].module_parameters.
336-
Valid strings are 'sapm', 'first_solar', 'no_loss'.
337-
The ModelChain instance will be passed as the first argument to
338-
a user-defined function.
334+
are common to all of system.arrays[i].module_parameters. Valid strings
335+
are 'sapm', 'first_solar', 'no_loss'. The ModelChain instance will be
336+
passed as the first argument to a user-defined function.
339337
340338
temperature_model : str or function, optional
341339
Valid strings are: 'sapm', 'pvsyst', 'faiman', 'fuentes', 'noct_sam'.

0 commit comments

Comments
 (0)