- Posts: 7
Problem loading solar resource file
- jesusm1985
- Topic Author
Less
More
01 Jun 2016 20:14 #4470
by jesusm1985
Problem loading solar resource file was created by jesusm1985
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
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
Please Log in or Create an account to join the conversation.
- ozsolarwind
Less
More
- Posts: 77
01 Jun 2016 21:13 #4471
by ozsolarwind
Replied by ozsolarwind on topic Problem loading solar resource file
jesus
Line 13 should (probably) be "... data, 'solar_resource_file', ..." rather than "... data, 'file_name', ..."
Angus
Line 13 should (probably) be "... data, 'solar_resource_file', ..." rather than "... data, 'file_name', ..."
Angus
Please Log in or Create an account to join the conversation.
- jesusm1985
- Topic Author
Less
More
- Posts: 7
01 Jun 2016 22:03 #4472
by jesusm1985
Replied by jesusm1985 on topic Problem loading solar resource file
Thank you Angus, it works!
Is there any file that I can read to know all this kind of details?
Is there any file that I can read to know all this kind of details?
Please Log in or Create an account to join the conversation.
- ozsolarwind
Less
More
- Posts: 77
02 Jun 2016 00:52 #4473
by ozsolarwind
Replied by ozsolarwind on topic Problem loading solar resource file
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
Angus
Please Log in or Create an account to join the conversation.
- jesusm1985
- Topic Author
Less
More
- Posts: 7
02 Jun 2016 16:24 #4474
by jesusm1985
Replied by jesusm1985 on topic Problem loading solar resource file
Excellent, thank you very much Angus.
Please Log in or Create an account to join the conversation.
Moderators: pgilman