Simulation of an offshore Wind turbine 5MW based DFIG

This forum if for discussing controls. Questions about how to implement controls in FAST are more appropriate to the CAE Tools forum.

Moderator: Bonnie.Jonkman

Ali.Elyaakoubi
Posts: 94
Joined: Wed Oct 21, 2015 8:43 am
Organization: abdelmalek Essaadi University
Location: MOROCCO

Simulation of an offshore Wind turbine 5MW based DFIG

Postby Ali.Elyaakoubi » Mon Dec 07, 2015 12:17 pm

hello everyone i am enter to simulate a 5MW WInd turbine with FAST in cunjunction with simulink
I modeled the 5MW DFIG, a,d i used the input file test 18
when i run the simulation an error occur. It realy blok me
If can someone tell me what means this error please
Attachments
FAST.jpg
FAST.jpg (115.94 KiB) Viewed 5187 times
Last edited by Ali.Elyaakoubi on Mon Jan 25, 2016 1:13 pm, edited 1 time in total.

Bonnie.Jonkman
Posts: 552
Joined: Thu Nov 10, 2005 10:51 am
Organization: Envision Energy USA
Location: Colorado
Location: Boulder, CO
Contact:

Re: Simulation pf a offshore Wind turbine 5MW based DFIG

Postby Bonnie.Jonkman » Tue Dec 08, 2015 1:01 pm

The error indicates that it can't find 'GenSpeed' in the OutList variable. Make sure you have requested GenSpeed from ElastoDyn, and make sure OutList is initialized properly. See the Simulink initialization section on page 36 of the FAST v8 documentation: https://wind.nrel.gov/nwtc/docs/README_FAST8.pdf.
Bonnie Jonkman

Envision Energy USA, 2016-
National Renewable Energy Laboratory, 2003-2016

Ali.Elyaakoubi
Posts: 94
Joined: Wed Oct 21, 2015 8:43 am
Organization: abdelmalek Essaadi University
Location: MOROCCO

Re: Simulation pf a offshore Wind turbine 5MW based DFIG

Postby Ali.Elyaakoubi » Sat Dec 12, 2015 2:34 pm

Hello Mr i cheked the initialization process of the simulated system, but always an other error appear
If you can please tell me what menas exactely this mistake
I will be very greatful by your usful help
Attachments
FAST.gif
FAST.gif (38.26 KiB) Viewed 5172 times

Bonnie.Jonkman
Posts: 552
Joined: Thu Nov 10, 2005 10:51 am
Organization: Envision Energy USA
Location: Colorado
Location: Boulder, CO
Contact:

Re: Simulation pf a offshore Wind turbine 5MW based DFIG

Postby Bonnie.Jonkman » Mon Dec 14, 2015 9:12 am

The errors I see indicate the problem is type conversions in the DFIG block. One is expecting a complex value, but is sent a real; the other is expecting a real number but getting a complex number. This is outside the scope of the FAST SFunction, so I'm not sure I can help further with this one.
Bonnie Jonkman

Envision Energy USA, 2016-
National Renewable Energy Laboratory, 2003-2016

Ali.Elyaakoubi
Posts: 94
Joined: Wed Oct 21, 2015 8:43 am
Organization: abdelmalek Essaadi University
Location: MOROCCO

Re: Simulation pf a offshore Wind turbine 5MW based DFIG

Postby Ali.Elyaakoubi » Wed Dec 30, 2015 12:55 pm

Thank you for your reply Jonkman
I am faced to an error in my simulaion of the 5MW offshore wind turbine based DFIG
When i worked by the wind profile "5MW_Baseline/NRELOffshrBsline5MW_InflowWind_12mps.dat" the simulation worked well, but when i did just one step of wind speed the error appears

attached a photo of the error if you can suuggest me please what i can do to resolve them

Sinceerly
Attachments
FAST.jpg
FAST.jpg (156.82 KiB) Viewed 5004 times

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

Re: Simulation pf a offshore Wind turbine 5MW based DFIG

Postby Jason.Jonkman » Fri Jan 01, 2016 7:48 am

Dear Ali,

The file CertTest/5MW_Baseline/NRELOffshrBsline5MW_InflowWind_12mps.dat in the FAST v8.12 CertTest is a primary input file for the InflowWind v3.01 module of FAST. It looks like you made your own input file CertTest/wind.wnd; is this file in the same format as the primary input file for the InflowWind v3.01 module of FAST? (My guess is CertTest/wind.wnd is a file in a wind data format (that should be referenced from the InflowWind primary input file) and not a primary input file in the InflowWind v3.01 format.)

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

Ali.Elyaakoubi
Posts: 94
Joined: Wed Oct 21, 2015 8:43 am
Organization: abdelmalek Essaadi University
Location: MOROCCO

Re: Simulation pf a offshore Wind turbine 5MW based DFIG

Postby Ali.Elyaakoubi » Sat Jan 02, 2016 4:53 am

Hello dear Jonson
Thank you very much for your reply
Exactely i dont did attention to the format that you talked,I just created a simple wind profile as this attached
In fact, samply i would like to simulate my system with a simple profile (a step wind speed) tell me please how i can do
Attachments
FAST.png
FAST.png (27.66 KiB) Viewed 4928 times

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

Re: Simulation pf a offshore Wind turbine 5MW based DFIG

Postby Jason.Jonkman » Sat Jan 02, 2016 7:37 am

Dear Ali,

It looks like your file is in the format of what InflowWind v3 calls a "Uniform Wind File" (previously, AeroDyn's "hub-height" wind file format). To use this file, set WindType to 2 in the primary InflowWind input file and set Filename to point to your CertTest/wind.wnd file. See the InflowWind User's Guide for more information: https://wind.nrel.gov/nwtc/docs/InflowWind_Manual.pdf.

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

Ali.Elyaakoubi
Posts: 94
Joined: Wed Oct 21, 2015 8:43 am
Organization: abdelmalek Essaadi University
Location: MOROCCO

Re: Simulation pf a offshore Wind turbine 5MW based DFIG

Postby Ali.Elyaakoubi » Sat Jan 02, 2016 2:27 pm

Thenk you dear Jason
I did the modifications in the infloww wind v3( type 2 and i replaced the file name of wind by my profile CertTest\wind.wnd), but even an error occur
Attachments
FAST.jpg
FAST.jpg (107.78 KiB) Viewed 4920 times

Bonnie.Jonkman
Posts: 552
Joined: Thu Nov 10, 2005 10:51 am
Organization: Envision Energy USA
Location: Colorado
Location: Boulder, CO
Contact:

Re: Simulation pf a offshore Wind turbine 5MW based DFIG

Postby Bonnie.Jonkman » Sat Jan 02, 2016 6:53 pm

Ali,

The InflowWind input file is not your .wnd file. Please look at the example files in the FAST v8 CertTest folder to see how to properly call InflowWind in FAST 8.12; for example, Test03 uses a uniform wind file like you are trying to implement.
Bonnie Jonkman

Envision Energy USA, 2016-
National Renewable Energy Laboratory, 2003-2016

Ali.Elyaakoubi
Posts: 94
Joined: Wed Oct 21, 2015 8:43 am
Organization: abdelmalek Essaadi University
Location: MOROCCO

Re: Simulation pf a offshore Wind turbine 5MW based DFIG

Postby Ali.Elyaakoubi » Mon Jan 25, 2016 1:02 pm

Hello Mr Jonkman
An error occured in the simulation of the onshore 5MW WT
If you can please tell me what means, I have the suffisient espace in my placement

And an other error indicate me that S-Function 'FAST_SFunc' does not exist" ,even It exists in the path but Matlab doesnt know its format

Attached the first error image
Sinceerly
Attachments
FAST.jpg
FAST.jpg (55.16 KiB) Viewed 4622 times

Bonnie.Jonkman
Posts: 552
Joined: Thu Nov 10, 2005 10:51 am
Organization: Envision Energy USA
Location: Colorado
Location: Boulder, CO
Contact:

Re: Simulation of an offshore Wind turbine 5MW based DFIG

Postby Bonnie.Jonkman » Wed Jan 27, 2016 10:23 am

I have not seen the error about insufficient space from the FAST_SFunc. Are there any messages in the MATLAB command window? That may give you a clue. Otherwise, it may be that you are trying to run a model that can't be run in the 32-bit version. Have you tried running this with the x64 version of MATLAB (along with FAST_SFunc.mexw64)?

If you are getting an error that the mex file doesn't exist, that means that MATLAB can't find the .mex file on its search path (or if there is a mex file there, it may be for the wrong addressing scheme, i.e., w64 instead of w32 or vice versa).
Bonnie Jonkman

Envision Energy USA, 2016-
National Renewable Energy Laboratory, 2003-2016

Ali.Elyaakoubi
Posts: 94
Joined: Wed Oct 21, 2015 8:43 am
Organization: abdelmalek Essaadi University
Location: MOROCCO

Re: Simulation of an offshore Wind turbine 5MW based DFIG

Postby Ali.Elyaakoubi » Wed Jan 27, 2016 12:21 pm

Thank you very much for your help, its solved because i have used a 32 bit in 64 system
Tell me to share with you an other error, this time i thought related to the wind speed profile
In fact, i have searched on this kind of mistake and i found its response such as given in this link viewtopic.php?f=4&t=1450&p=6553&hilit=FF+wind+array+was+exhausted#p6553
I have generated annoter wind profile with turbsim by modification the parameters( Gridheignt and Gridwidth and also Numgrid_Z and Numgrid_Y) in the wind file input, but without feasability, always an error occurs that you found attached. You found also the Turbsim file input of wind
If you would konw that i have use test18 of 5MW land wind turbine

Messages in MATLAB command window
Warning: block 'PMSGWT/FAST Nonlinear Wind Turbine/S-Function':
FAST_Solution:FAST_AdvanceStates:ED_ABM4:SetCoordSy:Small angle assumption violated in SUBROUTINE SmllRotTrans()
due to a large blade deflection (ElastoDyn SetCoordSy). The solution may be inaccurate. Simulation continuing, but
future warnings from SmllRotTrans() will be suppressed.
Additional debugging message from SUBROUTINE SmllRotTrans(): 0.1375 s

Warning: block 'PMSGWT/FAST Nonlinear Wind Turbine/S-Function':
FAST_Solution:CalcOutputs_And_SolveForInputs:SolveOption2:AD14_CalcOutput:ELEMFRC:BeddoesModel:ATTACH: Blade #3
element #17 is supersonic! Other elements are likely supersonic as well. Supersonic mach nos. will be set to 0.7
to attempt continuation.

Warning: block 'PMSGWT/FAST Nonlinear Wind Turbine/S-Function':
FAST_Solution:CalcOutputs_And_SolveForInputs:SolveOption2:AD14_CalcOutput:ELEMFRC:BeddoesModel:ATTACH: Supersonic
condition has subsided with Blade #1 element #4.
AD14_CalcOutput:ELEMFRC:BeddoesModel:ATTACH: Blade #1 element #17 is supersonic! Other elements are likely
supersonic as well. Supersonic mach nos. will be set to 0.7 to attempt continuation.
AD14_CalcOutput:ELEMFRC:BeddoesModel:ATTACH: Supersonic condition has subsided with Blade #2 element #4.
AD14_CalcOutput:ELEMFRC:BeddoesModel:ATTACH: Blade #2 element #17 is supersonic! Other elements are likely
supersonic as well. Supersonic mach nos. will be set to 0.7 to attempt continuation.
AD14_CalcOutput:ELEMFRC:BeddoesModel:ATTACH: Supersonic condition has subsided with Blade #3 element #4.
AD14_CalcOutput:ELEMFRC:BeddoesModel:ATTACH: Blade #3 element #17 is supersonic! Other elements are likely
supersonic as well. Supersonic mach nos. will be set to 0.7 to attempt continuation.

Warning: block 'PMSGWT/FAST Nonlinear Wind Turbine/S-Function':
FAST_Solution:CalcOutputs_And_SolveForInputs:SolveOption2:AD14_CalcOutput:ELEMFRC:BeddoesModel:ATTACH: Supersonic
condition has subsided with Blade #1 element #4.
AD14_CalcOutput:ELEMFRC:BeddoesModel:ATTACH: Blade #1 element #16 is supersonic! Other elements are likely
supersonic as well. Supersonic mach nos. will be set to 0.7 to attempt continuation.
AD14_CalcOutput:ELEMFRC:BeddoesModel:ATTACH: Supersonic condition has subsided with Blade #2 element #4.
AD14_CalcOutput:ELEMFRC:BeddoesModel:ATTACH: Blade #2 element #16 is supersonic! Other elements are likely
supersonic as well. Supersonic mach nos. will be set to 0.7 to attempt continuation.
AD14_CalcOutput:ELEMFRC:BeddoesModel:ATTACH: Supersonic condition has subsided with Blade #3 element #4.
AD14_CalcOutput:ELEMFRC:BeddoesModel:ATTACH: Blade #3 element #16 is supersonic! Other elements are likely
supersonic as well. Supersonic mach nos. will be set to 0.7 to attempt continuation.

Warning: block 'PMSGWT/FAST Nonlinear Wind Turbine/S-Function':
FAST_Solution:CalcOutputs_And_SolveForInputs:SolveOption2:AD14_CalcOutput:ELEMFRC:BeddoesModel:ATTACH: Supersonic
condition has subsided with Blade #1 element #4.
AD14_CalcOutput:ELEMFRC:BeddoesModel:ATTACH: Blade #1 element #16 is supersonic! Other elements are likely
supersonic as well. Supersonic mach nos. will be set to 0.7 to attempt continuation.
AD14_CalcOutput:ELEMFRC:BeddoesModel:ATTACH: Supersonic condition has subsided with Blade #2 element #4.
AD14_CalcOutput:ELEMFRC:BeddoesModel:ATTACH: Blade #2 element #16 is supersonic! Other elements are likely
supersonic as well. Supersonic mach nos. will be set to 0.7 to attempt continuation.
AD14_CalcOutput:ELEMFRC:BeddoesModel:ATTACH: Supersonic condition has subsided with Blade #3 element #4.
AD14_CalcOutput:ELEMFRC:BeddoesModel:ATTACH: Blade #3 element #16 is supersonic! Other elements are likely
supersonic as well. Supersonic mach nos. will be set to 0.7 to attempt continuation.
WARNING: High VT velocity encountered during induction factor calculation.
Blade number 3, Element number 17
VNW = 3.0435, VT = -408.11

Warning: block 'PMSGWT/FAST Nonlinear Wind Turbine/S-Function':
FAST_Solution:CalcOutputs_And_SolveForInputs:SolveOption2:AD14_CalcOutput:ELEMFRC:BeddoesModel:ATTACH: Supersonic
condition has subsided with Blade #1 element #4.
AD14_CalcOutput:ELEMFRC:BeddoesModel:ATTACH: Blade #1 element #15 is supersonic! Other elements are likely
supersonic as well. Supersonic mach nos. will be set to 0.7 to attempt continuation.
AD14_CalcOutput:ELEMFRC:BeddoesModel:ATTACH: Supersonic condition has subsided with Blade #2 element #4.
AD14_CalcOutput:ELEMFRC:BeddoesModel:ATTACH: Blade #2 element #15 is supersonic! Other elements are likely
supersonic as well. Supersonic mach nos. will be set to 0.7 to attempt continuation.
AD14_CalcOutput:ELEMFRC:BeddoesModel:ATTACH: Supersonic condition has subsided with Blade #3 element #4.
AD14_CalcOutput:ELEMFRC:BeddoesModel:ATTACH: Blade #3 element #15 is supersonic! Other elements are likely
supersonic as well. Supersonic mach nos. will be set to 0.7 to attempt continuation.
WARNING: High VT velocity encountered during induction factor calculation.
Blade number 1, Element number 17
VNW = 5.2892, VT = -411.69
WARNING: High VT velocity encountered during induction factor calculation.
Blade number 2, Element number 17
VNW = 5.6725, VT = -404.23
WARNING: High VT velocity encountered during induction factor calculation.
Blade number 3, Element number 17
VNW = 2.8375, VT = -428.33

Warning: block 'PMSGWT/FAST Nonlinear Wind Turbine/S-Function':
FAST_Solution:CalcOutputs_And_SolveForInputs:SolveOption2:AD14_CalcOutput:ELEMFRC:BeddoesModel:ATTACH: Supersonic
condition has subsided with Blade #1 element #4.
AD14_CalcOutput:ELEMFRC:BeddoesModel:ATTACH: Blade #1 element #15 is supersonic! Other elements are likely
supersonic as well. Supersonic mach nos. will be set to 0.7 to attempt continuation.
AD14_CalcOutput:ELEMFRC:BeddoesModel:ATTACH: Supersonic condition has subsided with Blade #2 element #4.
AD14_CalcOutput:ELEMFRC:BeddoesModel:ATTACH: Blade #2 element #15 is supersonic! Other elements are likely
supersonic as well. Supersonic mach nos. will be set to 0.7 to attempt continuation.
AD14_CalcOutput:ELEMFRC:BeddoesModel:ATTACH: Supersonic condition has subsided with Blade #3 element #4.
AD14_CalcOutput:ELEMFRC:BeddoesModel:ATTACH: Blade #3 element #15 is supersonic! Other elements are likely
supersonic as well. Supersonic mach nos. will be set to 0.7 to attempt continuation.
WARNING: High VNB velocity encountered during induction factor calculation.
Blade number 1, Element number 3
VNW = 5.4167, VNB = -113.44
WARNING: Induced velocity warning written 5 times. The message will not be repeated, though
the condition may persist.

Warning: block 'PMSGWT/FAST Nonlinear Wind Turbine/S-Function':
FAST_Solution:CalcOutputs_And_SolveForInputs:SolveOption2:AD14_CalcOutput:ELEMFRC:BeddoesModel:ATTACH: Supersonic
condition has subsided with Blade #1 element #4.
AD14_CalcOutput:ELEMFRC:BeddoesModel:ATTACH: Blade #1 element #10 is supersonic! Other elements are likely
supersonic as well. Supersonic mach nos. will be set to 0.7 to attempt continuation.
AD14_CalcOutput:ELEMFRC:BeddoesModel:ATTACH: Supersonic condition has subsided with Blade #1 element #13.
AD14_CalcOutput:ELEMFRC:BeddoesModel:ATTACH: Blade #1 element #14 is supersonic! Other elements are likely
supersonic as well. Supersonic mach nos. will be set to 0.7 to attempt continuation.
AD14_CalcOutput:ELEMFRC:BeddoesModel:ATTACH: Supersonic condition has subsided with Blade #2 element #4.
AD14_CalcOutput:ELEMFRC:BeddoesModel:ATTACH: Blade #2 element #13 is supersonic! Other elements are likely
supersonic as well. Supersonic mach nos. will be set to 0.7 to attempt continuation.
AD14_CalcOutput:ELEMFRC:BeddoesModel:ATTACH: Supersonic condition has s


FAST completed.
Attachments
wind.txt
(6.17 KiB) Downloaded 82 times
FAST.jpg
FAST.jpg (68.14 KiB) Viewed 4485 times

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

Re: Simulation of an offshore Wind turbine 5MW based DFIG

Postby Jason.Jonkman » Wed Jan 27, 2016 3:03 pm

Dear Ali,

My guess is that the problem is not with the wind file, but that your model is going numerically unstable for some reason.

Warnings regarding a “small angle approximation violation,” warnings regarding “supersonic blades,” a simulation crash, or very large deflections that occur in the time series near the start of a simulation are good signs of a numerical instability. Without knowing more about your simulation settings, it's hard to know that what the problem is. Please use "Search..." in the upper right of the forum to search for "supersonic" to see how we've solved similar problems in the past.

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

Ali.Elyaakoubi
Posts: 94
Joined: Wed Oct 21, 2015 8:43 am
Organization: abdelmalek Essaadi University
Location: MOROCCO

Re: Simulation of an offshore Wind turbine 5MW based DFIG

Postby Ali.Elyaakoubi » Mon Aug 01, 2016 6:57 am

Dear Mr Jonson
In my simulation of 5MW NREL WT with a profile wind generated by Turbsim, the simulation works well until a moment of time it cuts about 60 to 70 seconds
I thought to the profile of wind and hence I changed it, and the error always occurs
If you can please point us the reason of the problems
Attachments
fast.jpg
fast.jpg (220.35 KiB) Viewed 3504 times


Return to “Controls”

Who is online

Users browsing this forum: No registered users and 0 guests