Skip to content

Commit

Permalink
chore: update PySSC translation step to 'pvwattsv8'
Browse files Browse the repository at this point in the history
  • Loading branch information
danielolsen committed Feb 3, 2022
1 parent f11fae3 commit 0d0e239
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion prereise/gather/solardata/nsrdb/sam.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def calculate_power_pv(solar_data, pv_dict):
:param dict pv_dict: solar plant attributes.
:return: (*numpy.array*) hourly power output.
"""
pv_dat = pssc.dict_to_ssc_table(pv_dict, "pvwattsv7")
pv_dat = pssc.dict_to_ssc_table(pv_dict, "pvwattsv8")
pv = PVWatts.wrap(pv_dat)
pv.SolarResource.assign({"solar_resource_data": solar_data})
pv.execute()
Expand Down

0 comments on commit 0d0e239

Please sign in to comment.