openfast icon indicating copy to clipboard operation
openfast copied to clipboard

TurbSim

Open Tommi1198 opened this issue 2 years ago • 8 comments

Hi everyone, I installed TurbSim and I would like to create .bts file starting from a .inp one that I have...how can I do it? Sorry for the stupid question, but I don't really know how to do it, since it is the first time. Thanks a lot!

Tommi1198 avatar Jul 26 '22 09:07 Tommi1198

I tried to run my .inp file, but the following error occured: C:\Users\167544>turbsim64 C:\Users\167544\Desktop\FAST30\WindFiles\GoF_NWP_5400s_8mps.inp

C:\Users\167544>C:\TurbSim\TurbSim64.exe C:\Users\167544\Desktop\FAST30\WindFiles\GoF_NWP_5400s_8mps.inp

Running TurbSim (v1.50, 25-Sep-2009). Linked with the NWTC Subroutine Library (v1.01.09, 18-Jan-2008).

Reading the input file "C:\Users\167544\Desktop\FAST30\WindFiles\GoF_NWP_5400s_8mps.inp". RanLux luxury level set by RLuxGo : 3 p = 223 RanLux initialized by RLuxGo from Seeds 123456 0 0 The number of the IEC 61400-x standard must be 1, 2, or 3.

Aborting TurbSim.

But, as you can see from the file attached (that is my .inp file), the number of the IEC 61400-x is 1, so what is the problem? Thanks to all! GoF_NWP_5400s_8mps.txt

Tommi1198 avatar Jul 26 '22 13:07 Tommi1198

Dear @Tommi1198,

Input IECstandard should be in quotes, e.g., "1". You can also add the edition number, e.g., "1-Ed2".

Best regards,

jjonkman avatar Jul 26 '22 15:07 jjonkman

Dear @jjonkman, I put it in quotes but nothing changed, even using or not the edition number...what can I do? Thank you

I attached the last version of the .inp file that I used, with quotes, but the same error continues to appear GoF_NWP_5400s_8mps.txt

Tommi1198 avatar Jul 27 '22 08:07 Tommi1198

Dear @Tommi1198,

Looking again, I also see that you are running TurbSim v1.50. (Your input file says that it is formatted for TurbSim v1.21, but it doesn't actually look like your file is formatted for TurbSim v1.21.) Regardless, your input file has two extra lines that are not used by TurbSim v1.50. You must remove these lines for compatibility running TurbSim v1.50:

Line 31, UserFile Line 37, ProfileFile

Alternatively, you could run the newest version of TurbSim available in OpenFAST, which would require that you upgrade your input file to the most recent format.

Best regards,

jjonkman avatar Jul 27 '22 12:07 jjonkman

Dear @jjonkman, now TurbSim is running, but the .bts file is only 1kb...how is that possible?

Tommi1198 avatar Jul 28 '22 07:07 Tommi1198

Dear @Tommi1198,

Has TurbSim finished running? Looking again at your TurbSim input file (assuming you didn't change anything else), your UsableTime = 999999999 s. TurbSim will increase the AnalysisTime to accommodate this large UsableTime. But such is simulation is so long that TurbSim may never finish. It is much more common to run TurbSim for about 600 s.

Best regards,

jjonkman avatar Jul 28 '22 12:07 jjonkman

Dear @jjonkman, TurbSim has finished to run and the .bts file is only 1kb…moreover, I had to use a very large UsableTime to prevent the exhaustion of the wind when running my simulation with FAST.Farm (I tried to put as UsableTime “All”, but it gave me an error, I don’t know why)

Tommi1198 avatar Jul 28 '22 12:07 Tommi1198

Dear @Tommi1198,

What does TurbSim say when you run it from the command prompt when a 1kb *.bts file is generated?

TurbSim v1.50, which you are running, does not support the UsableTime = "ALL" option. For that, you must upgrade to TurbSim v2.0 or newer. The original release of TurbSim v2.0 is available here: https://www.nrel.gov/wind/nwtc/turbsim.html. This version was incorporated into this OpenFAST github repository and a few updates have been made since. So, you can also use the version of TurbSim available in this github repository.

Best regards,

jjonkman avatar Jul 28 '22 13:07 jjonkman