Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OPENFAST error with Simulink #2367

Closed
JaredSP031 opened this issue Aug 12, 2024 · 6 comments
Closed

OPENFAST error with Simulink #2367

JaredSP031 opened this issue Aug 12, 2024 · 6 comments

Comments

@JaredSP031
Copy link

Hello, I'm new at working with OpenFast, I'm trying to run the Openloop file but I get this error. I don't know where to get the correct input file. Could someone help me with that.

Run_OpenLoop


OpenFAST

Copyright (C) 2024 National Renewable Energy Laboratory
Copyright (C) 2024 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-v3.5.3
Compile Info:

  • Compiler: Intel(R) Fortran Compiler 2021
  • Architecture: 64 bit
  • Precision: single
  • OpenMP: No
  • Date: Apr 11 2024
  • Time: 21:34:48
    Execution Info:
  • Date: 08/12/2024
  • Time: 15:26:23+0200

OpenFAST completed.

Error using Run_OpenLoop (line 12)
Error reported by S-function 'FAST_SFunc' in 'OpenLoop/FAST Nonlinear Wind Turbine/S-Function':
FAST_InitializeAll:FAST_Init:FAST_ReadPrimaryFile:OpenFInpFile:The input file, "

@deslaughter
Copy link
Collaborator

The location of the input file is specified in Run_OpenLoop.m in the FAST_InputFileName variable. If this hasn't been modified, then it points to ../../../reg_tests/r-test/glue-codes/openfast/AOC_WSt/AOC_WSt.fst which is for a file in the regression tests. Check to see if this file exists. If the r-test directory is empty, then the r-test submodule probably hasn't been initialized. The regression test files are stored in a git submodule (separate repository) because these files are rather large and take a while to download. Please try initialializing the submodule by running git submodule update --init --recursive within the cloned OpenFAST repo.

@JaredSP031
Copy link
Author

Captura de pantalla 2024-08-12 155448
This is how I have it written, I've already tried changing names and paths but does not work. The r-test directory has al ready several files (Generated by fast, I guess).

@deslaughter
Copy link
Collaborator

Please try removing the double quotes from around the file path, they're probably not necessary.

@JaredSP031
Copy link
Author

image
Still the issue :(

@deslaughter
Copy link
Collaborator

Try changing the backslashes to forward slashes. Or, since the input file is in the same directory as Run_OpenLoop.m, try setting the path to just WTInputFile.fst.

@deslaughter
Copy link
Collaborator

@JaredSP031 Were you able to get this working? If so, could you please close this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants