SAM 2024.12.12 Wind not working with 5 minute weather data

  • Justin Brooks
  • Topic Author
More
13 Dec 2024 10:15 #13691 by Justin Brooks
Hello,
I have downloaded 5 minute weather data using both the WRDB website and the NREL API for this URL: [url] developer.nrel.gov/api/wind-toolkit/v2/wind/wtk-conus-5min-v1-0-0-download.json ?[/url].  I have verified that the csv file retrieved from the website and the API match.  I have also  verified that it matches the weather format described here: [url] samrepo.nrelcloud.org/help/weather_format_csv_wind.html [/url]
However, in SAM I am getting the following errors when selecting a wind resource -> No Financial Model

(1) When I click to Wind Turbine I get a popup that says: "Could not check hub height compared to resource height.  This may indicate a problem with your weather file".

(2) When I hit Simulate I get a popup that says: 
exec fail(windpower): invalid number of data records (105121): must be an integer multiple of 8760
Simulation windpower failed :exec fail(windpower): invalid number of data records (105121): must be an integer multiple of 8760
gen not assigned
Simulation grid failed :gen not assigned

I checked in Excel and Notepad++ and there are 105120 lines of data (excluding the three header / metadata rows at the top of the file), which does divide by 8760 to 12.

Any assistance with these would be appreciated as I am unsure why SAM is having issues with the NREL provided weather file as to the best of my knowledge the file is formatted correctly.

Thank you!

 

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

  • Paul Gilman
More
13 Dec 2024 11:56 - 13 Dec 2024 11:57 #13693 by Paul Gilman
Hello,

When you use the Download button on the Wind Resource input page to download weather files for SAM's Wind Power model, it downloads data from the following WIND Toolkit API endpoint:

developer.nrel.gov/docs/wind/wind-toolkit/wtk-download/

There are several new WIND Toolkit API endpoints listed here: developer.nrel.gov/docs/wind/wind-toolkit/

Unfortunately, not all of the endpoints provide weather files that work with SAM's wind power model. Based on my testing, only the following endpoints provide data that is compatible with SAM (in addition to "wtk-download" mentioned above):
  • seasia-wtk-download
  • vietnam-wtk-download
  • wtk-download
  • mexico-wtk-download
  • offshore-ca-download
  • philippines-wtk-download
The weather files provided by the new "wtk-conus-5min-v1-0-0-download" endpoint are not in the SAM CSV for Wind format :
  • The header data for latitude, longitude, and time zone is on the first two lines. The SAM CSV for Wind format uses a single line (Line 1) for this data.
  • The weather file does not contain required columns for ambient temperature or atmospheric pressure.

Best regards,
Paul.
Last edit: 13 Dec 2024 11:57 by Paul Gilman.

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

  • Justin Brooks
  • Topic Author
More
13 Dec 2024 12:11 #13694 by Justin Brooks
Hey Paul,
Thanks for the reply!  That clearly explains my issue and fixes the problem when I switch to the other endpoint.
Thank you,
Justin
 

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

Moderators: Paul Gilman
Powered by Kunena Forum