Problem loading solar resource file

5 posts / 0 new
Last post
jesusm1985
Problem loading solar resource file

Hi, I'm trying to execute the Matlab example given in the SDK files (pvwatts.m). However, I'm getting this error:

precheck input: variable 'solar_resource_file' required but not assigned

I have not changed the original file.
Can someone give me a clue about how to solve the problem?

I appreciate any comment. Thank you in advance

ozsolarwind

jesus

Line 13 should (probably) be "... data, 'solar_resource_file', ..." rather than "... data, 'file_name', ..."

Angus

jesusm1985

Thank you Angus, it works!

Is there any file that I can read to know all this kind of details?

ozsolarwind

If you go to your SAM SDK Library there's a program sdktool.exe Execute that and select the desired model on the left to show all it's variables. This is described in the ssc_guide (page 27 of the current copy)

Angus

jesusm1985

Excellent, thank you very much Angus.

Theme by Danetsoft and Danang Probo Sayekti inspired by Maksimer