FAST8 Linearization

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

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

Re: FAST8 Linearization

Postby Jason.Jonkman » Tue Mar 20, 2018 6:42 am

Dear Taha,

Are you attempting to use AeroDyn v14 or AeroDyn v15 within FAST v8? Your first attachment is an AeroDyn v14 input file whereas the third attachment is an AeroDyn v15 input file. Your second attachment is an airfoil data file formatted for AeroDyn v14.

The error you are receiving would be triggered by using an AeroDyn input file formatted for v15, but identified as v14 in the FAST primary input file (CompAero=1 selects v14 and CompAero=2 selects v15).

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

Taha.Fouda
Posts: 44
Joined: Thu Jun 22, 2017 1:51 am
Organization: DLR Institiue of Flight Systems
Location: Germany

Re: FAST8 Linearization

Postby Taha.Fouda » Tue Mar 20, 2018 8:02 am

Dear Jason,

yes, Thank you. I have solved this error but now when I use Aerodyn v15, I recieve this error


Running AeroDyn (v15.03.00, 27-Jul-2016).

FAST_InitializeAll:AD_Init:ReadInputFiles:ReadPrimaryFile:Invalid numerical input for file
"D:\FAST1\FAST8\CertTest\WP_Baseline/WP_Baseline_AeroDyn15_Dynin.dat" occurred while trying to
read TwrNds.
ReadPrimaryFile:Invalid numerical input for file
"D:\FAST1\FAST8\CertTest\WP_Baseline/WP_Baseline_AeroDyn15_Dynin.dat" occurred while trying to
read TwrNds.
FAST encountered an error during module initialization.
Simulation error level: FATAL ERROR

Aborting FAST.

Best Regards,
Taha

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

Re: FAST8 Linearization

Postby Jason.Jonkman » Tue Mar 20, 2018 9:03 am

Dear Taha,

I did notice that the first line in your tower nodes table has a TwrElev of 60 whereas the second node is 1.30. This will cause a problem because TwrElev must be specified in monotonically increasing order--from the lowest (tower-base) to the highest (tower-top) elevation. You can also enable the Echo flag in AeroDyn v15 to debug problems in your input file.

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

Taha.Fouda
Posts: 44
Joined: Thu Jun 22, 2017 1:51 am
Organization: DLR Institiue of Flight Systems
Location: Germany

Re: FAST8 Linearization

Postby Taha.Fouda » Wed Mar 21, 2018 6:54 am

Dear Jason,

Thank you, I have solved it. now my dll Controller is working well in case if using Aerodyn V14 but in case If used Aerodynm 15 it gives me this error:-


Running ServoDyn (v1.06.00a-bjj, 26-Jul-2016).

Running ServoDyn Interface for Bladed Controllers (using Intel Visual Fortran f or Windows, 14-Oct-2015).

FAST_InitializeAll:InitModuleMappings:ED_L_2_AD_L_T:MeshMapCreate:CreateMotionMa
p_L2_to_L2:CreateM
apping_ProjectToLine2:Node 43 does not project onto any line2 element.
FAST encountered an error during module initialization.
Simulation error level: FATAL ERROR

Aborting FAST.

Could you please tell me, How can I solve this error?

Best Regards
Taha

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

Re: FAST8 Linearization

Postby Jason.Jonkman » Wed Mar 21, 2018 7:13 am

Dear Taha,

It appears that FAST is aborting because of an error in the mesh-mapping search for ED_L_2_AD_L_T, which is the mesh-mapping search between the ElastoDyn Line2 tower motion output mesh and the AeroDyn Line2 tower motion input mesh. FAST will trigger this error e.g. if the tower in AeroDyn starts lower than the tower in ElastoDyn or if the tower in AeroDyn ends higher than the tower in ElastoDyn. This error has been discussed on this forum before e.g. here: viewtopic.php?f=13&t=1747&p=8378.

I hope that helps.

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

Taha.Fouda
Posts: 44
Joined: Thu Jun 22, 2017 1:51 am
Organization: DLR Institiue of Flight Systems
Location: Germany

Re: FAST8 Linearization

Postby Taha.Fouda » Wed Mar 21, 2018 8:31 am

Dear Jason,

Sorry, I tried to run the Simulation and now I has this error


Running AeroDyn (v15.03.00, 27-Jul-2016).

FAST_InitializeAll:AD_Init:ReadInputFiles:Blade1:ReadBladeInputs:Invalid numeric
al input for file
"D:\FAST1\FAST8\CertTest\WP_Baseline/blade15.dat" occurred while trying to read
Blade properties
row 1.

Here is my blade file and Aerodynmic 15 files.

Best Regards
Taha
Last edited by Taha.Fouda on Mon Mar 26, 2018 9:14 am, edited 1 time in total.

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

Re: FAST8 Linearization

Postby Jason.Jonkman » Wed Mar 21, 2018 9:10 am

Dear Taha,

Your blade15.txt file is formatted for ElastoDyn, not AeroDyn. See the NRELOffshrBsline5MW_AeroDyn_blade.dat file in the Certest/5MW_Baseline directory of the FAST v8 archive for an example blade file formatted for AeroDyn v15.

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

Taha.Fouda
Posts: 44
Joined: Thu Jun 22, 2017 1:51 am
Organization: DLR Institiue of Flight Systems
Location: Germany

Re: FAST8 Linearization

Postby Taha.Fouda » Thu Mar 22, 2018 4:02 am

Dear Jason,

Thank you. the Simulation is runng well with Aerodyn v14 and Aerodyn v15. Now I want to plot my results. I have run the Simulation with Fast 7 and I want to use PlotCertTestResults.m . but I don't know How can I entre the Inputs for this script.
( newpath, oldpath, plotFASt, plotAdams, plotSimulink ) . Could you please Show me an example for this or any help?

Best Regards
Taha

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

Re: FAST8 Linearization

Postby Jason.Jonkman » Thu Mar 22, 2018 6:53 am

Dear Taha,

The MATLAB script PlotCertTestResults.m is really meant for comparing new and old solutions from FAST, FAST-generated ADAMS models, and FAST-Simulink models from the FAST CertTest. If you want to compare multiple FAST output files for a given simulation, I would use the MATLAB script PlotFASToutput.m from the MATLAB Toolbox. The arguments to PlotFASToutput.m are well documented in its header.

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

Taha.Fouda
Posts: 44
Joined: Thu Jun 22, 2017 1:51 am
Organization: DLR Institiue of Flight Systems
Location: Germany

Re: FAST8 Linearization

Postby Taha.Fouda » Fri Mar 23, 2018 6:24 am

I have used the MATLAB script PlotFASToutput.m with FAST and I got this error

undefined fuction or variable 'FASTfilesDesc'

evenif this Input is optional.

Best regards
Taha

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

Re: FAST8 Linearization

Postby Jason.Jonkman » Fri Mar 23, 2018 6:37 am

Dear Taha,

Can you clarify how you called PlotFASToutput.m when this error was triggered?

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

Taha.Fouda
Posts: 44
Joined: Thu Jun 22, 2017 1:51 am
Organization: DLR Institiue of Flight Systems
Location: Germany

Re: FAST8 Linearization

Postby Taha.Fouda » Fri Mar 23, 2018 7:02 am

Dear Jason

I have copied it from FAST 8 to FAST 7 then I add all FAST 7 to the matlab Path then I run it.

PlotFASToutput({'../../Fast executive/Lasten_1000_1.0.out'},FASTfilesDesc,ReferenceFile,Channels,ShowLegend,CustomHdr,PlotPSDs, OnePlot)
Undefined function or variable 'FASTfilesDesc'..

Best Regards

Taha

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

Re: FAST8 Linearization

Postby Jason.Jonkman » Fri Mar 23, 2018 7:06 am

Dear Taha,

The optional arguments should be dropped from the argument list if not used i.e. call:

Code: Select all

PlotFASToutput({'../../Fast executive/Lasten_1000_1.0.out'})

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

Taha.Fouda
Posts: 44
Joined: Thu Jun 22, 2017 1:51 am
Organization: DLR Institiue of Flight Systems
Location: Germany

Re: FAST8 Linearization

Postby Taha.Fouda » Fri Mar 23, 2018 7:17 am

Dear Jason,

I have got other error.

PlotFASToutput({'../../Fast executive/Lasten_1000_1.0.out'})
ReadFASTtext::Error -1 reading from file, "../../Fast executive/Lasten_1000_1.0.out"
Index exceeds matrix dimensions.
Error in PlotFASToutput (line 93)
if length(FASTfiles{iFile}) > 4 && strcmpi( FASTfiles{iFile}((end-4):end),'.outb' )

Best Regards,
Taha

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

Re: FAST8 Linearization

Postby Jason.Jonkman » Fri Mar 23, 2018 9:04 am

Dear Taha,

Receiving "Error -1" means that the name of the FAST output file, or the path to it, is wrong.

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 “Controls”

Who is online

Users browsing this forum: No registered users and 1 guest