I’ve downloaded the new version of FAST, namely FAST 8.10. I want to use the Simulink Interface, so I read this article https://wind.nrel.gov/nwtc/docs/README_FAST8.pdf. I could run the test cases 1-17, but I couldn’t run 18-25. The error is written below:
Error using Run_OpenLoop (line 30)
Error reported by S-function ‘FAST_SFunc’ in ‘OpenLoop/FAST Nonlinear Wind
FAST_InitializeAll:SrvD_Init:Yaw angle and rate are not commanded from Simulink model.
Pitch angles are not commanded from Simulink model.
Generator torque and power are not commanded from Simulink model.
HSS brake is not commanded from Simulink model.
SrvD_Init:BladedInterface_Init:The dynamic library
…\CertTest\5MW_Baseline/ServoData\DISCON_win32.dll could not be loaded. Check that
the file exists in the specified location and that it is compiled for 64-bit systems.
Besides, the project which I’m going to involve is more like test cases number 18-25, so I need to run these cases.
Please kindly let me know what the problem is.
It is the last line where the error is mentioned (the rest of the messages are just warnings):
It looks you are running 64-bit MATLAB/Simulink with a 64-bit FAST S-Function, but trying to use the 32-bit DISCON controller. You need to ensure that the addressing schemes are the same. On line 64 of the ServoDyn input file, you should change “ServoData\DISCON_win32.dll” to “ServoData\DISCON_x64.dll” to use the 64-bit version of the DISCON controller.
Thank you very much for your explanations. It is solved.
Can you please tell me the path to the ServoDyn input file?
Thanks in advance.
The filename (including path) of the ServoDyn input file are specified within the FAST primary input (*.fst) file.
Thank you Jason,
your help is greatly appreciated.
i’m using matlab2018a and fastv8, and trying to run test24 in matlab, i’ve changed “ServoData\DISCON_win32.dll” to “ServoData\DISCON_x64.dll” but it still has an error:
SrvD_Init:BladedInterface_Init:The dynamic library …\CertTest\5MW_Baseline/ServoData/DISCON_OC3Hywind_win32.dll
could not be loaded. Check that the file exists in the specified location and that it is compiled for 64-bit
I confirm that I changed the correct file as you said above. could you help me pls ?
I would guess that you haven’t changed the correct ServoDyn input file or did not press save after changing it.
Thanks for your quick reply.
I am sure I changed the names of all input files correctly.I got the path from .fst and changed them step by step.And must be saved.
but it doesn’t work.
If I change to an old version of matlab will it be useful?
I would still guess that you are changing the incorrect ServoDyn input file. I would suggest copying your input files to a new directory and running the simulation from that directory.
I checked my work steps again.
I found the input file as below .
and i change the name of the dll file.
Are my steps correct？ Hope you can point me.
Yes, these look correct to me.