FAST.Farm

Topics of general, but wind-related interest.

Moderator: Bonnie.Jonkman

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

Re: FAST.Farm

Postby Jason.Jonkman » Wed Apr 14, 2021 2:24 pm

Dear Younes,

Nice video :-).

From the plots, it looks like the turbine and/or controller of T2 are not reacting as expected when the wake from T1 hits T2. The error you are receiving seems to be triggered by the large (and negative) generator speed.

I gather you are using the OpenFAST model of NREL 5-MW baseline turbine. Did you change the controller DLL or OpenFAST models in any way (other than, say, file names/paths and initial conditions)?

The figure heading says Test #26; are you modeling the blades with BeamDyn? If so, does switching from BeamDyn to ElastoDyn solve the problem?

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

Younes.Oudich
Posts: 32
Joined: Fri Oct 02, 2020 2:44 am
Organization: self
Location: Belgium

Re: FAST.Farm

Postby Younes.Oudich » Thu Apr 15, 2021 4:18 am

Dear Jason,

Thank you a lot, you spotted the issues!
For the DLL controller, I was using the same DLL file for both turbines, which created an interference between their control behaviors. Each turbine WT{i} must have its own ServoDyn_WT{i} and DLL_WT{i} files.
For the blade modeling, I switched from BeamDyn to ElastoDyn and it worked.

Thank you again for the help!

Kindest regards

Younes

Jiaping.Cui
Posts: 25
Joined: Tue Aug 25, 2020 1:16 am
Organization: Shenyang University of Technology
Location: China

Re: FAST.Farm

Postby Jiaping.Cui » Fri Apr 16, 2021 2:33 am

Dear Jason,

Have the FAST.Farm User's Guide and Theory Manuel be published ? Or could you send me the newest version about it ?

Best regards,

Jiaping.Cui

Hamid.Mech
Posts: 1
Joined: Thu Apr 08, 2021 11:47 am
Organization: Chalmers University of Technology
Location: Sweden

Re: FAST.Farm

Postby Hamid.Mech » Fri Apr 16, 2021 4:23 am

Dear Jason,
I could not find the "Super Controller" file(s) in the Fast.Farm folder downloaded from git (https://github.com/jjonkman/OpenFAST/tree/f/fast-farm). How can I have it? Is it the right location to have the latest version of Fast.Farm?
In addition, Is there any document/tutorial to show how to compile (with Linux) and use "Super Controller"?
Best regards,
Hamid

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

Re: FAST.Farm

Postby Jason.Jonkman » Fri Apr 16, 2021 7:00 am

Dear Jiaping,

Yes, the FAST.Farm User's Guide and Theory Manuel has now been finalized and published. Here: https://www.nrel.gov/docs/fy21osti/78485.pdf.

Dear Hamid,

The FAST.Farm source code now fully supports the functional super controller. And the super controller interface is documented in the FAST.Farm User’s Guide and Theory Manual. A template of the super controller source code (SC_DLL.f90) is located in the modules\supercontroller\src directory of the repository. And a template of the source code at the turbine level (DISCON_SC.f90) is located in the reg_tests\r-test\glue-codes\fast-farm\5MW_Baseline\ServoData\DISCON directory of the repository. Moreover, my post dated Mar 18, 2021 above attaches a simple implementation example that should further clarify how it works.

My branch of FAST.Farm that you linked to is the source of the active pull request of FAST.Farm into OpenFAST: https://github.com/OpenFAST/openfast/pull/584. This should be merged into the dev branch of OpenFAST very soon (hopefully today).

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

Younes.Oudich
Posts: 32
Joined: Fri Oct 02, 2020 2:44 am
Organization: self
Location: Belgium

Re: FAST.Farm

Postby Younes.Oudich » Mon Apr 26, 2021 5:35 am

Dear Jason,

In page 61 of the user FAST.Farm manual, it is stated three methods in defining the weighting factors to compute the spatial average of the disturbed wind velocity across a wake plane (equation 6.34 and 6.35). I am wondering if the wake plane at OutDist=0m will give the spatial average wind velocity on the wind turbine rotor, and if one of the weighting three methods can be selected somehow in the FAST.Farm input files.

Kindest regards

Younes

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

Re: FAST.Farm

Postby Jason.Jonkman » Mon Apr 26, 2021 9:25 am

Dear Younes,

I'm not sure what you mean when you ask, "I am wondering if the wake plane at OutDist=0m will give the spatial average wind velocity on the wind turbine rotor?"; please clarify.

Regarding the three spatial averaging methods, the three options can be selected via FAST.Farm input Mod_Meander, which DEFAULTs to Mod_Meander = 3 (windowed jinc).

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

Eduardo.Paiva
Posts: 5
Joined: Fri Nov 13, 2020 5:05 am
Organization: IFP Energies nouvelles
Location: France

Re: FAST.Farm

Postby Eduardo.Paiva » Wed Apr 28, 2021 1:32 am

Dear Jason,

Are there sample input files for FAST.Farm v2?
If so, can you share them with me?

Thanks in advance,
Eduardo

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

Re: FAST.Farm

Postby Jason.Jonkman » Wed Apr 28, 2021 6:24 am

Dear Eduardo,

By FAST.Farm v2, I assume you mean the version of FAST.Farm that was recently merged into the dev branch of OpenFAST: https://github.com/OpenFAST/openfast/pull/584. (We don't call this FAST.Farm v2, but it will be merged into main in v3.0 of OpenFAST soon.) The corresponding dev branch of r-test contains two sample FAST.Farm models--see: https://github.com/OpenFAST/r-test/tree ... /fast-farm.

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

Eduardo.Paiva
Posts: 5
Joined: Fri Nov 13, 2020 5:05 am
Organization: IFP Energies nouvelles
Location: France

Re: FAST.Farm

Postby Eduardo.Paiva » Wed Apr 28, 2021 7:20 am

Dear Jason,

I've used the files you mentioned but I get this when I try to run FAST.Farm with them


Code: Select all

FAST.Farm

Copyright (C) 2017 National Renewable Energy Laboratory
Copyright (C) 2017 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.
**************************************************************************************************

FAST.Farm-v2.1.0-153-g559532b4
Compile Info:
 - Architecture: 64 bit
 - Precision: single
 - Date: Aug 05 2019
 - Time: 12:47:42
Execution Info:
 - Date: 04/28/2021
 - Time: 14:55:36+0200

 Heading of the FAST.Farm input file:
   Sample FAST.Farm input file
Running AWAE.
Running InflowWind.

Farm_Initialize:Farm_ValidateInput:OutFmt produces a column width of 10 instead of 14 characters.
Farm_Initialize:For efficiency, NumPlanes has been reduced to the number of time steps (134).
Farm_Initialize:AWAE_Init:InflowWind_Init:InflowWind_ReadInput:Invalid numerical input for file
"Downloads\TSinflow\InflowWind.dat" occurred while trying to read HWindSpeed.



 Aborting FAST.Farm.


I've enabled the ECHO flag in both the .fstf file and the InflowWind.dat file.
For the .fstf the echo seems to be OK, but for the inflow I get

Code: Select all




            T  Echo           - Echo the input file data
            3  WindType       - switch for wind file type (1=steady; 2=uniform; 3=binary TurbSim FF; 4=binary Bladed-style FF; 5=HAWC format; 6=User defined)
   0.0000E+00  PropagationDir - Direction of wind propagation (meteoroligical direction)
            0  NWindVel       - Number of points to output the wind velocity (0 to 9)
               WindVxiList    - List of coordinates in the inertial X direction (m)

               WindVyiList    - List of coordinates in the inertial Y direction (m)

               WindVziList    - List of coordinates in the inertial Z direction (m)



Which is weird because NWindVel should be 1, not 0

Do you have any idea of what might be the cause of this problem and how to fix it?

Thanks in advance,
Eduardo

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

Re: FAST.Farm

Postby Jason.Jonkman » Wed Apr 28, 2021 8:00 am

Dear Eduardo,

The version of FAST.Farm you are running is older than the input files you are using. The input files in the r-test I linked to are compatible with the newest version of OpenFAST and FAST.Farm in the dev branch of OpenFAST. You'll need to recompile FAST.Farm using the source code files from this dev branch to use the corresponding r-test input files.

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

Jundong.Wang
Posts: 10
Joined: Sat Feb 06, 2021 6:45 am
Organization: Ocean University of China
Location: China

Re: FAST.Farm

Postby Jundong.Wang » Fri May 07, 2021 2:04 am

Dear Jason:
I met some problems when i try to do simulation using "5MW_OC3Spar_DLL_WTurb_WavesIrr.fst" which download from the r-test, the error information is :

Code: Select all

 Heading of the FAST.Farm input file:
   FAST Certification Test #24: NREL 5.0 MW Baseline Wind Turbine with OC3 Hywind Configuration,
   for use in offshore analysis

Farm_Initialize:Farm_ReadPrimaryFile:Invalid logical input for file
".\5MW_OC3Spar_DLL_WTurb_WavesIrr.fst" occurred while trying to read UseSC.

 Aborting FAST.Farm.

I don't know how to find and define the "UseSC", is that mean supercontroller? But i do compile the newest version of the Farm.
By the way i wanna know whether i can use more than two turbines in this simulation like example'Neutral_8mps_3MW', i mean what i need to do is add some similiar code as followed?

Code: Select all

1000.0 1000.0 0.0    "OpenFAST\NRELOffshrBsline5MW_WT1.fst"                921.0   925.0    5.0      10.0     10.0     10.0
1308.0 1170.0 0.0    "OpenFAST\NRELOffshrBsline5MW_WT2.fst"               1229.0  1095.0    5.0      10.0     10.0     10.0
1616.0 1340.0 0.0    "OpenFAST\NRELOffshrBsline5MW_WT3.fst"               1537.0  1265.0    5.0      10.0   


Wish for your reply .
Thanks.

Yours, Jundong.

Younes.Oudich
Posts: 32
Joined: Fri Oct 02, 2020 2:44 am
Organization: self
Location: Belgium

Re: FAST.Farm

Postby Younes.Oudich » Fri May 07, 2021 5:28 am

Dear Jundong

I might have an idea about your issue. If I understand well your error, you are trying to run "5MW_OC3Spar_DLL_WTurb_WavesIrr.fst" file using FAST.Farm. But FAST.Farm takes ".fstf" files as input and not ".fst" files. The ".fstf" files define the wind farm configuration, while the ".fst" files define the wind turbine configuration (that OpenFAST uses to compute the power, loads and other outputs). So in your case, you should use "TSinflow.fstf" file instead. "UseSC" can be set to True or False if you want to use the Super Controller. In the system command, you should write something like that:

Code: Select all

C:\LocationOfFastFarm\FAST.Farm_x64.exe  C:\LocationOfTheFSTFfile\TSinflow.fstf


For increasing the number of turbines, you can do it by setting "NumTurbines" variable in the "TSinflow.fstf" file to the number of turbines you want in the park, then specify their locations, the ".fst" files that each one of them uses, and the high-resolution grid around them like you did in your similar code.

I hope this helps and please correct me if I'm wrong or it doesn't work.

Kindest regards

Younes

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

Re: FAST.Farm

Postby Jason.Jonkman » Fri May 07, 2021 6:36 am

Thanks, Younes, for your response to Jundong's question, which I agree with.

Just one point of clarification: we often use the extension "fst" for the OpenFAST primary input file and "fstf" for the FAST.Farm primary input file, but the software do not require these extensions.

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

Jundong.Wang
Posts: 10
Joined: Sat Feb 06, 2021 6:45 am
Organization: Ocean University of China
Location: China

Re: FAST.Farm

Postby Jundong.Wang » Sat May 08, 2021 8:07 am

Thanks,Jason and Younes,for your reponse to my questions, and i am sorry for making such error...

I solved it this problem by wrting a new 'fstf' file,but i have two more questions:

1. When try to use the super controller, I don't kown why i failed, i have compiled the last-version(I think use Fast-Farm.sln is enough,right :?: ). Nevertheless, I found 'SC_DLL.sln' in vs-build and completed the compilation, but the situation did not get better,,the error information is followed:

Code: Select all

Farm_Initialize:SC_Init:The procedure sc_end in file .\SC_DLL.dll could not be loaded.


2. I temporarily gave up the call of SC, but i got an error information:

Code: Select all

OpenFAST input file heading:
    FAST Certification Test #24: NREL 5.0 MW Baseline Wind Turbine with OC3 Hywind Configuration,
    for use in offshore analysis

Running ElastoDyn.
Nodal outputs section of ElastoDyn input file not found or improperly formatted.
Running AeroDyn.

Farm_Initialize:Farm_ValidateInput:OutFmt produces a column width of 10 instead of 20 characters.
Farm_Initialize:For efficiency, NumPlanes has been reduced to the number of time steps (101).
Farm_Initialize:T1:Farm_InitFAST:FWrap_Init:FAST_InitializeAll:AD_Init:ParsePrimaryFileInfo:ParseI
nVar:
 >> A fatal error occurred when parsing data from
 ".\openfast\NRELOffshrBsline5MW_OC3Hywind_AeroDyn15.dat".
 >> The variable "TwrShadow" was not assigned valid INTEGER value on line #9.
 >> The text being parsed was :
    "True         TwrShadow          - Calculate tower influence on wind based on downstream
    tower shadow? (flag)"
   
 Aborting FAST.Farm.


The distressing thing is that this problem occurs no matter if I change the Flag to ‘True’ or keep it to ‘False’.
It also indicate something wrong with ElastoDyn input file, I just use the default 'OC3Hywind' series of dat files in r-test.

If you have any ideas, I would be very grateful, and if you need ech file, i can provide it.

Best regards

Jundong


Return to “General”

Who is online

Users browsing this forum: No registered users and 1 guest