Error running wind data file

  • Daniel
  • Topic Author
More
10 May 2023 01:26 #12135 by Daniel
Error running wind data file was created by Daniel
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.

  • Paul Gilman
More
10 May 2023 12:30 #12141 by Paul Gilman
Replied by Paul Gilman 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.

  • Jasmine
More
12 Oct 2024 05:12 #13514 by Jasmine
Replied by Jasmine 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.

  • Paul Gilman
More
15 Oct 2024 18:07 #13520 by Paul Gilman
Replied by Paul Gilman 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.

  • kgadarkVRA
More
21 Jan 2025 05:09 #13821 by kgadarkVRA
Replied by kgadarkVRA on topic Error running wind data file
Hello,

I am having similar error in simulating a wind farm.

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

I have attached the wind resource file. I have check and there are no gaps in the wind resource file

SAM does not give an error with other wind resource files.

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

  • Paul Gilman
More
21 Jan 2025 10:44 #13824 by Paul Gilman
Replied by Paul Gilman on topic Error running wind data file
Hello,

There are some "#DIV/0!" values that are causing SAM's wind resource file reader to fail, for example, in Row 7602.

Best regards,
Paul.

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

Moderators: Paul Gilman
Powered by Kunena Forum