Error in running TurbSim

This forum discusses modeling of wind farms and wake interaction.

Moderator: Bonnie.Jonkman

Yajun.Ren
Posts: 37
Joined: Mon Jan 21, 2019 6:54 am
Organization: The University of Edinburgh
Location: UK

Error in running TurbSim

Postby Yajun.Ren » Mon Jan 21, 2019 8:41 am

Dear all:

I have a problem when running TurbSum. When I type the syntax in command promote as the instruction of TurbSim, it shows an error like:

C:\>Users\s1707212\Downloads\TurbSim\TurbSim64.exe CertTest.inp
Using NWTC Subroutine Library (v1.04.01, 21-Feb-2012).

Running TurbSim (v1.06.00, 21-Sep-2012).
Cannot open file "CertTest.sum". Another program like MS Excel may have locked it for writing.

Aborting TurbSim.


Could you please help with this? Thank you very much.

Jason.Jonkman
Posts: 5300
Joined: Thu Nov 03, 2005 4:38 pm
Location: Boulder, CO
Contact:

Re: Error in running TurbSim

Postby Jason.Jonkman » Tue Jan 22, 2019 6:55 am

Dear Yajun.Ren,

It looks like you are running a model called CertTest.inp that is stored in C:\; is that correct? Do you have a file named CertTest.sum already located there?

Best regards,
Jason Jonkman, Ph.D.
Senior Engineer | National Wind Technology Center (NWTC)

National Renewable Energy Laboratory (NREL)
15013 Denver West Parkway | Golden, CO 80401
+1 (303) 384 – 7026 | Fax: +1 (303) 384 – 6901
nwtc.nrel.gov

Vahid.Fazlollahi
Posts: 25
Joined: Mon Nov 20, 2017 1:47 am
Organization: Shahid Beheshti University
Location: Iran, Tehran

Re: Error in running TurbSim

Postby Vahid.Fazlollahi » Thu Jan 16, 2020 8:34 am

Hi
Dear all
i have a problem when running Turbsim, how can i fix it?
it shows an error like:

C:\Users\vahid>C:\Users\vahid\Turbsim_v_alpha\CertTest\TurbSim_x64
Running TurbSim (v2.00.07a-bjj, 14-Jun-2016).
ReadInputFile:OpenFInpFile:The input file, "TurbSim.inp", was not found.
Aborting TurbSim.

Jason.Jonkman
Posts: 5300
Joined: Thu Nov 03, 2005 4:38 pm
Location: Boulder, CO
Contact:

Re: Error in running TurbSim

Postby Jason.Jonkman » Thu Jan 16, 2020 9:07 am

Dear Vahid,

A similar question was asked and answered in my post dated May 19, 2015 in the following forum topic: viewtopic.php?f=4&t=268&p=5676.

Best regards,
Jason Jonkman, Ph.D.
Senior Engineer | National Wind Technology Center (NWTC)

National Renewable Energy Laboratory (NREL)
15013 Denver West Parkway | Golden, CO 80401
+1 (303) 384 – 7026 | Fax: +1 (303) 384 – 6901
nwtc.nrel.gov

Vahid.Fazlollahi
Posts: 25
Joined: Mon Nov 20, 2017 1:47 am
Organization: Shahid Beheshti University
Location: Iran, Tehran

Re: Error in running TurbSim

Postby Vahid.Fazlollahi » Thu Jan 16, 2020 9:43 am

Dear Jason,
Thanks a lot for your attention,
Best Regards,

Satish.Jawalageri
Posts: 78
Joined: Sun May 31, 2020 4:57 am
Organization: University College Dublin
Location: Ireland

Re: Error in running TurbSim

Postby Satish.Jawalageri » Wed Oct 14, 2020 5:09 am

Hi,

Could I know where can I download the latest version of Turbsim?

I have downloaded a zip folder called Turbsim-master where I cant find any certtest.inp.

Thanks,
Satish J.

Jason.Jonkman
Posts: 5300
Joined: Thu Nov 03, 2005 4:38 pm
Location: Boulder, CO
Contact:

Re: Error in running TurbSim

Postby Jason.Jonkman » Wed Oct 14, 2020 8:47 am

Dear Satish,

TurbSim v2.0 is available on my Google Drive: https://drive.google.com/drive/folders/ ... sp=sharing. And there is a slightly newer version of Turbim, based on v2.0, included in the OpenFAST repository in github.

Best regards,
Jason Jonkman, Ph.D.
Senior Engineer | National Wind Technology Center (NWTC)

National Renewable Energy Laboratory (NREL)
15013 Denver West Parkway | Golden, CO 80401
+1 (303) 384 – 7026 | Fax: +1 (303) 384 – 6901
nwtc.nrel.gov

Satish.Jawalageri
Posts: 78
Joined: Sun May 31, 2020 4:57 am
Organization: University College Dublin
Location: Ireland

Re: Error in running TurbSim

Postby Satish.Jawalageri » Wed Oct 14, 2020 9:02 am

Dear Jason,

Thanks for your reply.

I will check this one, thanks!

Thanks,
Satish J

Satish.Jawalageri
Posts: 78
Joined: Sun May 31, 2020 4:57 am
Organization: University College Dublin
Location: Ireland

Re: Error in running TurbSim

Postby Satish.Jawalageri » Mon Oct 19, 2020 3:35 am

Dear Jason,

I am getting following error when I run the Turbsim and I have attached input file. Could you please advice me on this?

Code: Select all

D:\UCD\PhD\OpenFast\Turbsim\New folder>TurbSim_x64 TurbSim_630.inp

**************************************************************************************************
TurbSim

Copyright (C) 2020 National Renewable Energy Laboratory
Copyright (C) 2020 Envision Energy USA LTD

This program is licensed under Apache License Version 2.0 and comes with ABSOLUTELY NO WARRANTY.
See the "LICENSE" file distributed with this software for details.
**************************************************************************************************

 Running TurbSim a part of OpenFAST - v2.4.0-dirty
 linked with NWTC Subroutine Library


 Reading the input file "TurbSim_630.inp".
 ReadInputFile:ProcessLine_IECstandard:The IECstandard input parameter must be either "1", "2", or
"3" with an optional IEC 61400-1 edition number ("1-ED2"). If specified, the edition number must
be "2" or "3".

 Aborting TurbSim.


Thanks,
Satish J
Attachments
TurbSim_630.inp.rtf
(6.36 KiB) Downloaded 9 times

Jason.Jonkman
Posts: 5300
Joined: Thu Nov 03, 2005 4:38 pm
Location: Boulder, CO
Contact:

Re: Error in running TurbSim

Postby Jason.Jonkman » Mon Oct 19, 2020 7:15 am

Dear Satish,

It looks like your TurbSim input file is compatible with TurbSim v1.50, but TurbSim within OpenFAST is based on TurbSim v2.00. You can find the TurbSim v2.00 archive, with appropriately formatted input files, here: https://drive.google.com/file/d/1eCvgoO ... sp=sharing.

Best regards,
Jason Jonkman, Ph.D.
Senior Engineer | National Wind Technology Center (NWTC)

National Renewable Energy Laboratory (NREL)
15013 Denver West Parkway | Golden, CO 80401
+1 (303) 384 – 7026 | Fax: +1 (303) 384 – 6901
nwtc.nrel.gov

Satish.Jawalageri
Posts: 78
Joined: Sun May 31, 2020 4:57 am
Organization: University College Dublin
Location: Ireland

Re: Error in running TurbSim

Postby Satish.Jawalageri » Mon Oct 19, 2020 7:22 am

Dear Jason,

Thanks for your reply.

I edited my turbsim input according to v2.00 and I got the output, thanks!

Thanks,
Satish J

Georgia.Tsoukleri
Posts: 5
Joined: Thu Oct 22, 2020 9:25 am
Organization: university of patras
Location: Greece

Re: Error in running TurbSim

Postby Georgia.Tsoukleri » Fri Oct 30, 2020 11:29 am

Dear jason
when i run TurbSim v1.50 i get the followng error. The only thing i changed in the input file is uref

how can i fix this?

best regards
georgia
Attachments
turb.png
turb.png (38.26 KiB) Viewed 226 times

Jason.Jonkman
Posts: 5300
Joined: Thu Nov 03, 2005 4:38 pm
Location: Boulder, CO
Contact:

Re: Error in running TurbSim

Postby Jason.Jonkman » Fri Oct 30, 2020 11:51 am

Dear Georgia,

Are you saying you run TurbSim v1.50 and it runs as expected, change Uref in the TurbSim input and run again and get this error? This doesn't really make sense to me. Sharing your TurbSim input file may help me understand.

Best regards,
Jason Jonkman, Ph.D.
Senior Engineer | National Wind Technology Center (NWTC)

National Renewable Energy Laboratory (NREL)
15013 Denver West Parkway | Golden, CO 80401
+1 (303) 384 – 7026 | Fax: +1 (303) 384 – 6901
nwtc.nrel.gov

Georgia.Tsoukleri
Posts: 5
Joined: Thu Oct 22, 2020 9:25 am
Organization: university of patras
Location: Greece

Re: Error in running TurbSim

Postby Georgia.Tsoukleri » Fri Oct 30, 2020 12:13 pm

Dear Jason

i got this error before changing uref . I havent run turbSim successfully
should i change the location of turbsim?

this is the last input file i used
thank you



TurbSim Input File. Valid for TurbSim v1.50, 25-Sep-2009

---------Runtime Options-----------------------------------
2318573 RandSeed1 - First random seed (-2147483648 to 2147483647)
RANLUX RandSeed2 - Second random seed (-2147483648 to 2147483647) for intrinsic pRNG, or an alternative pRNG: "RanLux" or "RNSNLW"
False WrBHHTP - Output hub-height turbulence parameters in binary form? (Generates RootName.bin)
False WrFHHTP - Output hub-height turbulence parameters in formatted form? (Generates RootName.dat)
False WrADHH - Output hub-height time-series data in AeroDyn form? (Generates RootName.hh)
False WrADFF - Output full-field time-series data in TurbSim/AeroDyn form? (Generates Rootname.bts)
True WrBLFF - Output full-field time-series data in BLADED/AeroDyn form? (Generates RootName.wnd)
False WrADTWR - Output tower time-series data? (Generates RootName.twr)
False WrFMTFF - Output full-field time-series data in formatted (readable) form? (Generates RootName.u, RootName.v, RootName.w)
True WrACT - Output coherent turbulence time steps in AeroDyn form? (Generates RootName.cts)
True Clockwise - Clockwise rotation looking downwind? (used only for full-field binary files - not necessary for AeroDyn)
0 ScaleIEC - Scale IEC turbulence models to exact target standard deviation? [0=no additional scaling; 1=use hub scale uniformly; 2=use individual scales]

--------Turbine/Model Specifications-----------------------
13 NumGrid_Z - Vertical grid-point matrix dimension
13 NumGrid_Y - Horizontal grid-point matrix dimension
0.05 TimeStep - Time step [seconds]
600 AnalysisTime - Length of analysis time series [seconds] (program will add time if necessary: AnalysisTime = MAX(AnalysisTime, UsableTime+GridWidth/MeanHHWS) )
40 UsableTime - Usable length of output time series [seconds] (program will add GridWidth/MeanHHWS seconds)
84.2876 HubHt - Hub height [m] (should be > 0.5*GridHeight)
80.00 GridHeight - Grid height [m]
80.00 GridWidth - Grid width [m] (should be >= 2*(RotorRadius+ShaftLength))
0 VFlowAng - Vertical mean flow (uptilt) angle [degrees]
0 HFlowAng - Horizontal mean flow (skew) angle [degrees]

--------Meteorological Boundary Conditions-------------------
"SMOOTH" TurbModel - Turbulence model ("IECKAI"=Kaimal, "IECVKM"=von Karman, "GP_LLJ", "NWTCUP", "SMOOTH", "WF_UPW", "WF_07D", "WF_14D", or "NONE")
"1-ED3" IECstandard - Number of IEC 61400-x standard (x=1,2, or 3 with optional 61400-1 edition number (i.e. "1-Ed2") )
"A" IECturbc - IEC turbulence characteristic ("A", "B", "C" or the turbulence intensity in percent) ("KHTEST" option with NWTCUP model, not used for other models)
"NTM" IEC_WindType - IEC turbulence type ("NTM"=normal, "xETM"=extreme turbulence, "xEWM1"=extreme 1-year wind, "xEWM50"=extreme 50-year wind, where x=wind turbine class 1, 2, or 3)
default ETMc - IEC Extreme Turbulence Model "c" parameter [m/s]
default WindProfileType - Wind profile type ("JET","LOG"=logarithmic,"PL"=power law,"IEC"=PL on rotor disk,LOG elsewhere, or "default")
84.2876 RefHt - Height of the reference wind speed [m]
24 URef - Mean (total) wind speed at the reference height [m/s] (or "default" for JET wind profile)
default ZJetMax - Jet height [m] (used only for JET wind profile, valid 70-490 m)
default PLExp - Power law exponent [-] (or "default")
default Z0 - Surface roughness length [m] (or "default")

--------Non-IEC Meteorological Boundary Conditions------------
default Latitude - Site latitude [degrees] (or "default")
0.05 RICH_NO - Gradient Richardson number
default UStar - Friction or shear velocity [m/s] (or "default")
default ZI - Mixing layer depth [m] (or "default")
default PC_UW - Hub mean u'w' Reynolds stress (or "default")
default PC_UV - Hub mean u'v' Reynolds stress (or "default")
default PC_VW - Hub mean v'w' Reynolds stress (or "default")
default IncDec1 - u-component coherence parameters (e.g. "10.0 0.3e-3" in quotes) (or "default")
default IncDec2 - v-component coherence parameters (e.g. "10.0 0.3e-3" in quotes) (or "default")
default IncDec3 - w-component coherence parameters (e.g. "10.0 0.3e-3" in quotes) (or "default")
default CohExp - Coherence exponent (or "default")

--------Coherent Turbulence Scaling Parameters-------------------
"M:\coh_events\eventdata" CTEventPath - Name of the path where event data files are located
"Random" CTEventFile - Type of event files ("LES", "DNS", or "RANDOM")
true Randomize - Randomize the disturbance scale and locations? (true/false)
1.0 DistScl - Disturbance scale (ratio of wave height to rotor disk). (Ignored when Randomize = true.)
0.5 CTLy - Fractional location of tower centerline from right (looking downwind) to left side of the dataset. (Ignored when Randomize = true.)
0.5 CTLz - Fractional location of hub height from the bottom of the dataset. (Ignored when Randomize = true.)
30.0 CTStartTime - Minimum start time for coherent structures in RootName.cts [seconds]

==================================================
NOTE: Do not add or remove any lines in this file!
==================================================

Jason.Jonkman
Posts: 5300
Joined: Thu Nov 03, 2005 4:38 pm
Location: Boulder, CO
Contact:

Re: Error in running TurbSim

Postby Jason.Jonkman » Fri Oct 30, 2020 1:04 pm

Dear Georgia,

OK, that makes more sense. You are getting this error because you've set WrACT = True, which requires that you have the coherent structure data files stored on your computer, located in the directory indicated by CTEventPath. I suspect that you don't actually want to use the coherent structures, so, set WrACT = False and the error should disappear.

Best regards,
Jason Jonkman, Ph.D.
Senior Engineer | National Wind Technology Center (NWTC)

National Renewable Energy Laboratory (NREL)
15013 Denver West Parkway | Golden, CO 80401
+1 (303) 384 – 7026 | Fax: +1 (303) 384 – 6901
nwtc.nrel.gov


Return to “Wind Farm Modeling”

Who is online

Users browsing this forum: No registered users and 1 guest