Ask questions about HDV
Closed this issue · 7 comments
Hi,I have some questions about this file that I would like you to help solve, thank you very much.
Traceback (most recent call last):
File "D:\HDV-main\Get Solar CFs\get_solar_cf.py", line 408, in
main()
File "D:\HDV-main\Get Solar CFs\get_solar_cf.py", line 373, in main
solarGen['{lat} {lon}'.format(lat=lat, lon=lon)] = getSolarCF(solarResourceData)
File "D:\HDV-main\Get Solar CFs\get_solar_cf.py", line 125, in getSolarCF
s = pv.default("PVWattsNone")
Exception: Default configuration by that name was not found.
Hello, can you please change
import PySAM.Pvwattsv7 as pv
to
import PySAM.Pvwattsv8 as pv
and rerun?
The main.py does not call get_solar_cf.py and clean_solar_cf.py. Those two functions are to run separately to get data inputs (solar_CF_case1.xlsx, solar_CF_case2.xlsx,solar_CF_case3.xlsx) for get_solar_data.py which is called by main.py.
Since I already provided inputs for get_solar_data.py, you do not have to run get_solar_cf and clean_solar_cf in order to run main, unless you want to collect solar data for a different year for example.
I cannot see the picture you attached or your questions, could you try again?