SAMsimPVWattsCommercialExample.py error

  • d.goodrick
  • Topic Author
More
17 Nov 2021 16:59 #10273 by d.goodrick
SAMsimPVWattsCommercialExample.py error was created by d.goodrick
Tried running the SAMsimPVWattsCommercialExample.py script in the pySAM examples folder and got the following error. Is there a hard coded link in the pvwattsv7 code?

➜  sandbox /Users/dan/.pyenv/versions/3.9.7/envs/sandbox/bin/python /Users/dan/sandbox/Sam_commercial.pyTraceback (most recent call last):  File "/Users/dan/sandbox/Sam_commercial.py", line 59, in <module>    pv.execute()Exception: pvwattsv7 execution error.        exec fail(pvwattsv7): could not open file for reading: /Users/dguittet/SAM Downloaded Weather Files/weather.csv

Please Log in or Create an account to join the conversation.

  • pgilman
More
17 Nov 2021 21:47 #10276 by pgilman
Replied by pgilman on topic SAMsimPVWattsCommercialExample.py error
Hi Dan,

Yes. You'll need to edit the 100kW_PVWatts.json file to change the value of solar_resource_file.

Best regards,
Paul.

Please Log in or Create an account to join the conversation.

Moderators: pgilman
Powered by Kunena Forum