Error running wind data file

  • danny_13
  • Topic Author
More
10 May 2023 01:26 #12135 by danny_13
Error running wind data file was created by danny_13
Good day

I am trying to run a wind data file. The simulation starts running, but half way through it gives this error:

compute fail(windpower): invalid stof argument
Simulation windpower failed :compute fail(windpower): invalid stof argument

Any assistance would be greatly appreciated.

Kind regards
Daniel

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

  • pgilman
More
10 May 2023 12:30 #12141 by pgilman
Replied by pgilman on topic Error running wind data file
Hi Daniel,

This error is caused by a missing temperature value in Line 5287 of the file you sent me by email.

I used a text editor to delete the trailing comma(s) at the end of each data rows, and then tried running a Wind simulation in SAM and got a more helpful error message "error reading wind resource file for interpolation at time step 5284: line contains 3 columns, should contain 4." (Because of the two header rows, Time Step 5284 is equivalent to Line 5287, where time steps start at zero and lines start at one.)



Best regards,
Paul.

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

  • jas_cartner
More
12 Oct 2024 05:12 #13514 by jas_cartner
Replied by jas_cartner on topic Error running wind data file
Hi I am also having issues regarding that error of:
"compute fail(windpower): invalid stof argument
Simulation windpower failed :compute fail(windpower): invalid stof argument"

I have gone through my file to double check any numbers are incorrect or not in the right format but cant see any, I dont know if this is to do with my headings of the csv. 

I am new to SAM ao any help would be greatly appreciated :)

Cheers

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

  • pgilman
More
15 Oct 2024 18:07 #13520 by pgilman
Replied by pgilman on topic Error running wind data file
Hello,

There are gaps in your data. For example, wind speed and wind direction data is missing from Row 3950 of the CSV file. Be sure to fill all data gaps before using the weather file in SAM.

Best regards,
Paul.

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

Moderators: pgilman
Powered by Kunena Forum