IEAWindTask37 / IEA-15-240-RWT

15MW reference wind turbine repository developed in conjunction with IEA Wind
Apache License 2.0
210 stars 133 forks source link

zsh: segmentation fault openfast IEA-15-240-RWT-Monopile.fst #168

Closed Ssurya013 closed 2 months ago

Ssurya013 commented 11 months ago

Hi,

I am new to OpenFAST platform. I am running OpeFAST from my Mac. I cloned the IEA-15-24-RWT develop branch. I changed the path for libdiscon.dylib in the servodyn file. While running the .fst file I get the following warnings and errors. May I ask how to resolve the warnings and errors, please?

(openfast_env) sb01@P6Q22Q IEA-15-240-RWT-Monopile % openfast IEA-15-240-RWT-Monopile.fst


OpenFAST

Copyright (C) 2023 National Renewable Energy Laboratory Copyright (C) 2023 Envision Energy USA LTD

This program is licensed under Apache License Version 2.0 and comes with ABSOLUTELY NO WARRANTY. See the "LICENSE" file distributed with this software for details.


OpenFAST-HEAD-HASH-NOTFOUND Compile Info:


Running ROSCO-v2.8.0 A wind turbine controller framework for public use in the scientific field
Developed in collaboration: National Renewable Energy Laboratory
Delft University of Technology, The Netherlands

ROSCO Warning: Did not find DT_Out in input file. Using default value of 0.0000000000000000
ROSCO Warning: Did not find VS_ConstPower in input file. Using default value of 0 ROSCO Warning: Did not find PRC_Mode in input file. Using default value of 0 ROSCO:SetParameters:ParseInput_Int_Opt:Missing or default values are not allowed for F_NumNotchFilts. Please check control modes.

Program received signal SIGSEGV: Segmentation fault - invalid memory reference.

Backtrace for this error:

0 0x102b2fcf7

1 0x102b2ed23

2 0x186df9a23

3 0x1023a34af

zsh: segmentation fault openfast IEA-15-240-RWT-Monopile.fst

gbarter commented 11 months ago

Hello,

I just posted an update for ROSCO v2.8, so that might help with you error. If not, we cannot anticipate all possible combinations of compilers and OS versions, so you might need to compile the ROSCO library yourself from its source.

Cheers, Garrett

Ssurya013 commented 11 months ago

Hi Garrett,

Thank you for the update. I was however getting the same set of warnings and errors even after the update . I then compiled the ROSCO library from its source, still it did not solve the issues. The 15MW UMaineSemi within ROSCO repository Test_Cases runs without any issues. I then compared the input files for both the cases and found out that there are a few variables those were missing in the input file compiled by ROSCO for the monopile case. After adding those variables manually, the monopile model now runs without any issues. Thank you very much for your time. Much appreciated.

Cheers, Surya

gbarter commented 11 months ago

Hi Surya,

I am glad to hear that things are working although I didn't fully follow your last comment. If there are corrections that need to be posted to one of the repository files, please let me know.

Cheeres, Garrett