OpenFAST / openfast

Main repository for the NREL-supported OpenFAST whole-turbine and FAST.Farm wind farm simulation codes.
http://openfast.readthedocs.io
Apache License 2.0
678 stars 456 forks source link

matlab crashes severe (29) file not found #1097

Open VanessacNavarroi opened 2 years ago

VanessacNavarroi commented 2 years ago

Hi, im using openfast with matlab R2020b, i compiled openfast with visual basic 2019 and Intel(R) Parallel Studio XE 2020 Cluster Edition for Windows following the steps in the file OpenFAST_Simulink.pdf OpenFAST_Simulink.pdf and i didn't get all the files as in the file above, but i don't know if that is a problem bin after this i integrated to matlab the bin and matlab toolbox files, then i run Run_Test01_SIG.m succesfully just to saw two parameters of the output list test 01 then i try the same but with test 13 or as in openfast the WP_VSP_WTurb.fst but selecting the parameter RotSpeed that i add to the outlist but i have an error and matlab crashes just simulating 4 seconds run-time error i don't have the fort.86 file in any place of my computer, and the error looks like it's someting about fortran, did someone have this error? i need to use the test 13 because im doing my thesis about a flat filter control of a variable speed wind turbine, i already test my controler with fastv8 and it works with one controller order 1 maintaining the RotSpeed oscillating near 20rpm but when i try a order 2 controler i had the error DeterminePhiBounds:There is no valid value of phi for these operating conditions! and i opted upgrade to openfast because saw in the nrel forum this error was fixed on openfast. Sorry if i didn't be clear at all i don't know as much english as i wish.

bjonkman commented 2 years ago

The error message does indicate some sort of issue with file I/O in the OpenFAST-Simulink DLL. If you close Matlab and rerun that case, does the error go away?

If not, I'd recommend using the latest version of OpenFAST and trying with that code (maybe you have done this already?).

VanessacNavarroi commented 2 years ago

Hi, first of all thanks for answer If i close matlab and rerun the case i have the same error and i'm using the last openfast version, first i try with the precompiled binaries OpenFAST v3.1.0 but i had the error and tought it was because i didn't realese the binaries by miself so in order to do it i installed Visual Studio Community 2019 and after Intel(R) Parallel Studio XE 2020 but the error persist. I saw today in the realeases v3.1.0 that matlab R2021b were used for that binaries, should i upgrade matlab?

VanessacNavarroi commented 2 years ago

I try to run other test and i saw the same error is present with all the variable speed wind turbines (test 12, test 13 and test 14)