Dear all,
I have a question about Using Fast V8 by microsoft visual studio c/c++ 2013.
I want to use Microsoft visual studio c/c + + 2013 to develop a program to use the function of FAST V8, by calling the FAST_Library. DLL .
the method like this:
(1)I bulid a vc + + project, put the code of FAST_Prog.c in to the project,and then make a configuration of the corresponding header file and running environment, etc…finally the project is compiled through.
(2)When I use the program to run the cases of the test18 example of FAST v8 , the running window appear.However,When it running to ServoDyn module,a parameter errors appear,and then run unexpected errors appear.so the program fails.
(3)I didn’t change any parameters in the process
of Using Fast V8 by microsoft visual studio c/c++ 2013.
(4)what is problem? How can I avoid the problem
.
Results are as follows:
[code]**************************************************************************************************
FAST (v8.16.00a-bjj, 27-Jul-2016)
Copyright (C) 2016 National Renewable Energy Laboratory
This program comes with ABSOLUTELY NO WARRANTY. See the “license.txt” file distributed with this
software for details.
Running FAST (v8.16.00a-bjj, 27-Jul-2016), compiled as a DLL S-Function for Simulink as a 32-bit
application using single precision
linked with NWTC Subroutine Library (v2.09.00, 23-Jul-2016)
Heading of the FAST input file:
FAST Certification Test #18: NREL 5.0 MW Baseline Wind Turbine (Onshore)
Running ElastoDyn (v1.04.00a-bjj, 26-Jul-2016).
Running AeroDyn (v15.03.00, 27-Jul-2016).
Running AirfoilInfo (v1.01.00a-bjj, 5-Apr-2016).
Running BEM (v1.02.00, 29-Jun-2016).
Warning: Turning off Unsteady Aerodynamics because C_nalpha is 0. BladeNode = 1, Blade = 1
Warning: Turning off Unsteady Aerodynamics because C_nalpha is 0. BladeNode = 2, Blade = 1
Warning: Turning off Unsteady Aerodynamics because C_nalpha is 0. BladeNode = 3, Blade = 1
Warning: Turning off Unsteady Aerodynamics because C_nalpha is 0. BladeNode = 4, Blade = 1
Warning: Turning off Unsteady Aerodynamics because C_nalpha is 0. BladeNode = 1, Blade = 2
Warning: Turning off Unsteady Aerodynamics because C_nalpha is 0. BladeNode = 2, Blade = 2
Warning: Turning off Unsteady Aerodynamics because C_nalpha is 0. BladeNode = 3, Blade = 2
Warning: Turning off Unsteady Aerodynamics because C_nalpha is 0. BladeNode = 4, Blade = 2
Warning: Turning off Unsteady Aerodynamics because C_nalpha is 0. BladeNode = 1, Blade = 3
Warning: Turning off Unsteady Aerodynamics because C_nalpha is 0. BladeNode = 2, Blade = 3
Warning: Turning off Unsteady Aerodynamics because C_nalpha is 0. BladeNode = 3, Blade = 3
Warning: Turning off Unsteady Aerodynamics because C_nalpha is 0. BladeNode = 4, Blade = 3
Running InflowWind (v3.03.00, 26-Jul-2016).
Opening InflowWind input file:
D:/fredj/03_Sources2008/AqwaTest/Release/jf_CertTest/5MW_Baseline/NRELOffshrBsline5MW_InflowWin
d_12mps.dat
Reading a 31x31 grid (145 m wide, 17.5 m to 162.5 m above ground) with a characteristic wind
speed of 12 m/s. This full-field file was generated by TurbSim (v1.06.00, 21-Sep-2012) on
07-Jan-2014 at 12:50:45.
Processed 1442 time steps of 20-Hz full-field data (72.05 seconds).
Running ServoDyn (v1.06.00a-bjj, 26-Jul-2016).
Running ServoDyn Interface for Bladed Controllers (using Intel Visual Fortran for
Windows/Matlab, 14-Oct-2015).
FAST_InitializeAll:SrvD_Init:ValidatePrimaryData:Yaw angle and rate are not commanded from Simulink model.
ValidatePrimaryData:Pitch angles are not commanded from Simulink model.
ValidatePrimaryData:Generator torque and power are not commanded from Simulink model.
ValidatePrimaryData:HSS brake is not commanded from Simulink model.
Timestep: 0 of 60 seconds.
[/code]
Thank you for your help,
Xiaoming chen