File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -2038,6 +2038,7 @@ def retrieve_sam(name=None, path=None):
20382038
20392039 Examples
20402040 --------
2041+ Using a database bundled with pvlib:
20412042
20422043 >>> from pvlib import pvsystem
20432044 >>> invdb = pvsystem.retrieve_sam('CECInverter')
@@ -2061,7 +2062,8 @@ def retrieve_sam(name=None, path=None):
20612062 CEC_Type Utility Interactive
20622063 Name: AE_Solar_Energy__AE6_0__277V_, dtype: object
20632064
2064- # using the latest CEC Inverter database, via URL
2065+ Using a remote database, via URL:
2066+
20652067 >>> url = "https://raw.githubusercontent.com/NREL/SAM/refs/heads/develop/deploy/libraries/CEC%20Inverters.csv"
20662068 >>> inv_db = pvsystem.retrieve_sam(path=url)
20672069 >>> inv_db.keys()
You can’t perform that action at this time.
0 commit comments