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

Bug report #2127

Closed
Bing008 opened this issue Mar 28, 2024 · 3 comments
Closed

Bug report #2127

Bing008 opened this issue Mar 28, 2024 · 3 comments

Comments

@Bing008
Copy link

Bing008 commented Mar 28, 2024

Bug description
Missing scripts or instructions for user time series generation in r-test/glue_code/fast.farm/ModAmb_3 case.

Expected behavior
Add some instructions or scripts to make it clear how to construct the user time series wind for generating the high-resolution wind file in ambient mode 3.
Thanks to your team for building wonderful software that helps many researchers.

OpenFAST Version
v3.5.2

**************************************************************************************************
 OpenFAST

 Copyright (C)  National Renewable Energy Laboratory
 Copyright (C)  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.
 **************************************************************************************************
@jjonkman
Copy link
Collaborator

Dear @Bing008,

General guidance on how to use the user-specified time-series option of TurbSim (TurbModel = "TIMESR") are provided in the TurbSim documentation: https://openfast.readthedocs.io/en/main/_downloads/cb14d3e2d3533d76e405d730fea19846/TurbSim_v2.00.pdf.

General guidance for generating wind inflow for FAST.Farm with multiple instances of the InflowWind module (Mod_AmbWind = 3) are provided in the online FAST.Farm documentation on readthedocs: https://openfast.readthedocs.io/en/main/source/user/fast.farm/ModelGuidance.html.

NREL has developed Python scripts to automate the process of generating inflow for FAST.Farm, which we recommend that you use: https://github.com/OpenFAST/openfast_toolbox/tree/main/openfast_toolbox/fastfarm. These scripts follow the modeling guidance recommended in the FAST.Farm documentation.

Best regards,

@Bing008
Copy link
Author

Bing008 commented Mar 29, 2024

Dear @jjonkman ,
Thanks for your advice. I use the openfast_toolbox to generate the input files successfully. I used this script on Windows and Linux, respectively. In Linux this script works better. I recommend that anyone who sees this problem try to utilize this toolkit in Linux if they are experiencing more problems.
Also, I found another bug in OpenFAST.
When the NX_Low is larger than 100, stack overflowiod occurs in Openfast. This problem occurs in Windows (both OpenFAST and OpenFAST_OMP) but not in Linux.
Configuration details are as follows.
OpenFAST version 3.5.2 windows precompiled. OpenFAST_OMP version 3.5.2 windows precompiled.


 4.0           DT_Low        - Time step for low -resolution wind data interpolation; will be used as the global FAST.Farm time step (s) [>0.0]
0.5           DT_High       - Time step for high-resolution wind data interpolation (s) [>0.0]
800            NX_Low        - Number of low -resolution spatial nodes in X direction for wind data interpolation (-) [>=2]
301            NY_Low        - Number of low -resolution spatial nodes in Y direction for wind data interpolation (-) [>=2]
22             NZ_Low        - Number of low -resolution spatial nodes in Z direction for wind data interpolation (-) [>=2]
0             X0_Low        - Origin of low -resolution spatial nodes in X direction for wind data interpolation (m)
-1500.0        Y0_Low        - Origin of low -resolution spatial nodes in Y direction for wind data interpolation (m)
1.0           Z0_Low        - Origin of low -resolution spatial nodes in Z direction for wind data interpolation (m)
10.0            dX_Low        - Spacing of low -resolution spatial nodes in X direction for wind data interpolation (m) [>0.0]
10.0          dY_Low        - Spacing of low -resolution spatial nodes in Y direction for wind data interpolation (m) [>0.0]
10.0          dZ_Low        - Spacing of low -resolution spatial nodes in Z direction for wind data interpolation (m) [>0.0]
112           NX_High       - Number of high-resolution spatial nodes in X direction for wind data interpolation (-) [>=2]
91            NY_High       - Number of high-resolution spatial nodes in Y direction for wind data interpolation (-) [>=2]
63            NZ_High       - Number of high-resolution spatial nodes in Z direction for wind data interpolation (-) [>=2]


forrtl: severe (170): Program Exception - stack overflowiod of 304 seconds).
Image              PC                Routine            Line        Source
FAST.Farm_x64_OMP  00007FF7124F3F87  Unknown               Unknown  Unknown
FAST.Farm_x64_OMP  00007FF70F6E3751  Unknown               Unknown  Unknown
FAST.Farm_x64_OMP  00007FF70F73AE28  Unknown               Unknown  Unknown
FAST.Farm_x64_OMP  00007FF70F73BE21  Unknown               Unknown  Unknown
FAST.Farm_x64_OMP  00007FF711FCB22E  Unknown               Unknown  Unknown
FAST.Farm_x64_OMP  00007FF7124F4190  Unknown               Unknown  Unknown
KERNEL32.DLL       00007FFED977257D  Unknown               Unknown  Unknown
ntdll.dll          00007FFEDA54AA58  Unknown               Unknown  Unknown

Best Regards.

@jjonkman
Copy link
Collaborator

Dear @Bing008,

The stack overflow issue in FAST.Farm was reported in #2053 and fixed in #2118, which will be released in OpenFAST v3.5.3 very soon.

Best regards,

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

2 participants