Skip to content

Commit e4a00aa

Browse files
committed
Clean up Array.get_iam() docstring
Change PVSystem.module_parameters to Array.module_parameters. Fix indentation of Raises section
1 parent 1d823cf commit e4a00aa

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

pvlib/pvsystem.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1331,7 +1331,7 @@ def get_iam(self, aoi, iam_model='physical'):
13311331
``iam_model``.
13321332
13331333
Parameters for the selected IAM model are expected to be in
1334-
``PVSystem.module_parameters``. Default parameters are available for
1334+
``Array.module_parameters``. Default parameters are available for
13351335
the 'physical', 'ashrae' and 'martin_ruiz' models.
13361336
13371337
Parameters
@@ -1350,7 +1350,8 @@ def get_iam(self, aoi, iam_model='physical'):
13501350
13511351
Raises
13521352
------
1353-
ValueError if `iam_model` is not a valid model name.
1353+
ValueError
1354+
if `iam_model` is not a valid model name.
13541355
"""
13551356
model = iam_model.lower()
13561357
if model in ['ashrae', 'physical', 'martin_ruiz']:

0 commit comments

Comments
 (0)