Skip to content

Commit 9250dbd

Browse files
committed
Added documentation [Issue 75]
1 parent d53f387 commit 9250dbd

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

pvlib/pvsystem.py

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -472,13 +472,13 @@ def calcparams_desoto(poa_global, temp_cell, alpha_isc, module_parameters,
472472

473473
def retrieve_sam(name=None, samfile=None):
474474
'''
475-
Retrieve lastest module and inverter info from SAM website.
475+
Retrieve latest module and inverter info from SAM website.
476476
477477
This function will retrieve either:
478478
479479
* CEC module database
480480
* Sandia Module database
481-
* Sandia Inverter database
481+
* CEC Inverter database
482482
483483
and return it as a pandas dataframe.
484484
@@ -489,7 +489,8 @@ def retrieve_sam(name=None, samfile=None):
489489
Name can be one of:
490490
491491
* 'CECMod' - returns the CEC module database
492-
* 'SandiaInverter' - returns the Sandia Inverter database
492+
* 'CECInverter' - returns the CEC Inverter database
493+
* 'SandiaInverter' - returns the CEC Inverter database (CEC is only current inverter db available; tag kept for backwards compatibility)
493494
* 'SandiaMod' - returns the Sandia Module database
494495
495496
samfile : String
@@ -503,14 +504,14 @@ def retrieve_sam(name=None, samfile=None):
503504
Returns
504505
-------
505506
A DataFrame containing all the elements of the desired database.
506-
Each column representa a module or inverter, and a specific dataset
507-
can be retreived by the command
507+
Each column represents a module or inverter, and a specific dataset
508+
can be retrieved by the command
508509
509510
Examples
510511
--------
511512
512513
>>> from pvlib import pvsystem
513-
>>> invdb = pvsystem.retrieve_sam(name='SandiaInverter')
514+
>>> invdb = pvsystem.retrieve_sam(name='CECInverter')
514515
>>> inverter = invdb.AE_Solar_Energy__AE6_0__277V__277V__CEC_2012_
515516
>>> inverter
516517
Vac 277.000000

0 commit comments

Comments
 (0)