Enhance SAM with features tailored to your specific needs! We collaborate with companies, universities, and organizations to privately fund new capabilities or analyses. Your investment drives innovation while benefiting the broader energy community. Email us to learn more.

Problems with running a minute-by-minute file

  • JorgeFuentesCasillas
  • Topic Author
More
08 Nov 2016 10:56 #4905 by JorgeFuentesCasillas
Problems with running a minute-by-minute file was created by JorgeFuentesCasillas
Hello, I followed the instructions given in the Weather Data section of SAM's Help system for details of the SAM CSV weather file format. I created a minute-by-minute csv file but it seems that it doesn't run properly, I attach both the csv file and the log.txt with the error message that SAM prompts when I run the simulation. I don't know if I have to change the names in the columns or if it is some kind of format error.

I appreciate any help that you can provide me.

Kind regards,

Jorge.

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

  • Paul Gilman
More
08 Nov 2016 12:27 #4906 by Paul Gilman
Replied by Paul Gilman on topic Problems with running a minute-by-minute file
Dear Jorge,

The problem is being caused by line endings in the weather file. Please see this post for details:

sam.nrel.gov/node/69915

Also, do not include the units in labels in Row 3. It should look like this for your file:

Code:
Year,Month,Day,Hour,Minute,GHI,DNI,DHI,Tdry,Tdew,RH,Pres,Wspd,Wdir,Snow Depth


Best regards,
Paul.

Best regards,
Paul.

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

  • JorgeFuentesCasillas
  • Topic Author
More
08 Nov 2016 17:21 #4907 by JorgeFuentesCasillas
Replied by JorgeFuentesCasillas on topic Problems with running a minute-by-minute file


Excellent Paul! Thank you very much.

I used TextWrangler app to save the file with the UNIX LF format, I deleted the extra information (W/m^2) and worked smoothly. Thanks a lot.

Kind regards,

Jorge.

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

Moderators: Paul Gilman
Powered by Kunena Forum