File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -2060,7 +2060,13 @@ def retrieve_sam(name=None, path=None):
20602060 CEC_Date NaN
20612061 CEC_Type Utility Interactive
20622062 Name: AE_Solar_Energy__AE6_0__277V_, dtype: object
2063- """
2063+
2064+ # using the latest CEC Inverter database, via URL
2065+ >>> inv_db = pvsystem.retrieve_sam(path="https://raw.githubusercontent.com/NREL/SAM/refs/heads/develop/deploy/libraries/CEC%20Inverters.csv")
2066+ >>> inv_db.keys()
2067+ Index(['ABB__PVI_3_0_OUTD_S_US_A__208V_', 'ABB__PVI_3_0_OUTD_S_US_A__240V_', ...],
2068+ dtype='object', length=...)
2069+ """ # noqa: E501
20642070 # error: path was previously silently ignored if name was given GH#2018
20652071 if name is not None and path is not None :
20662072 raise ValueError ("Please provide either 'name' or 'path', not both." )
You can’t perform that action at this time.
0 commit comments