FAST encountered an error during module initialization.

Provide feedback, request enhancements, and get help with wind-turbine computer-aided engineering tools.

Moderators: Bonnie.Jonkman, Jason.Jonkman

Yicheng.Fan
Posts: 6
Joined: Sat Dec 14, 2019 12:08 am
Organization: Huazhong University of Science and Technology
Location: China Wuhan

FAST encountered an error during module initialization.

Postby Yicheng.Fan » Thu Jan 14, 2021 4:13 am

Dear all:
First, my computer is 64-bit.
Then, based on 5MW_OC4Semi_WSt_WavesWN of OpenFAST v2.4, but when running,it says:

FAST_InitializeAll:HydroDyn_Init: Error allocating space for the distributed inertial
forces/moments array.

FAST encountered an error during module initialization.
Simulation error level: FATAL ERROR

Aborting OpenFAST.

I have switched to using the 64-bit OpenFAST executable, openfast_x64_double.exe and ServoData/DISCON_OC3Hywind_x64.dll. And I searched the forum for related issues, but no one encountered a similar situation with me.
So, I come here to ask if someone has face with the same problem and/or knows how to solve it.

Thanks in advanced,
Yicheng

Jason.Jonkman
Posts: 5778
Joined: Thu Nov 03, 2005 4:38 pm
Location: Boulder, CO
Contact:

Re: FAST encountered an error during module initialization.

Postby Jason.Jonkman » Thu Jan 14, 2021 9:01 am

Dear Yicheng,

An error regarding "allocating space" has been discussed before on this forum, e.g., see: viewtopic.php?f=13&t=2097&p=11432.

I would expect switching to the standard 64-bit version (not 64-bit with double precision) would solve the problem, unless you simply don't have enough RAM available on your computer.

Best regards,
Jason Jonkman, Ph.D.
Senior Engineer | National Wind Technology Center (NWTC)

National Renewable Energy Laboratory (NREL)
15013 Denver West Parkway | Golden, CO 80401
+1 (303) 384 – 7026 | Fax: +1 (303) 384 – 6901
nwtc.nrel.gov

Yicheng.Fan
Posts: 6
Joined: Sat Dec 14, 2019 12:08 am
Organization: Huazhong University of Science and Technology
Location: China Wuhan

Re: FAST encountered an error during module initialization.

Postby Yicheng.Fan » Sat Jan 16, 2021 12:21 am

Dear Jason,

Thank you very much for your suggestion. When I run the 64-bit version of the software, it can run normally, but when I run the 64-bit with double-precision version, sometimes it runs successfully, sometimes it fails. This makes me a little bit Puzzled.

Best regards,

Jason.Jonkman
Posts: 5778
Joined: Thu Nov 03, 2005 4:38 pm
Location: Boulder, CO
Contact:

Re: FAST encountered an error during module initialization.

Postby Jason.Jonkman » Sat Jan 16, 2021 2:42 pm

Dear Yicheng,

The 64-bit version with double precision requires about twice the memory as the 64-bit version with single precision. So, if the double precision version aborts, my guess is you don't have enough RAM to run it.

Regardless, I generally recommend that you run the single precision version. The single precision version is generally accurate enough and uses double precision variables where it has been deemed to be important.

Best regards,
Jason Jonkman, Ph.D.
Senior Engineer | National Wind Technology Center (NWTC)

National Renewable Energy Laboratory (NREL)
15013 Denver West Parkway | Golden, CO 80401
+1 (303) 384 – 7026 | Fax: +1 (303) 384 – 6901
nwtc.nrel.gov

Matthew.Lee
Posts: 15
Joined: Mon Nov 16, 2020 6:21 am
Organization: Trinity College Dublin
Location: Ireland

Re: FAST encountered an error during module initialization.

Postby Matthew.Lee » Wed Feb 24, 2021 6:17 am

Dear Jason,

I am working on the 15MW turbine as part of my thesis. I have been editing hydrodyn file variables WaveHs WaveTp and WaveDir. I have also been editing TurbSim.inp file variable URef and creating .bts files. From this I have been running OpenFAST with the corresponding .fst file.

The following error is produced and I am unsure how to fix it, can you help please? Thank very much.

Regards,
Matthew
Attachments
InitialisationError.JPG
InitialisationError.JPG (239.43 KiB) Viewed 615 times

Jason.Jonkman
Posts: 5778
Joined: Thu Nov 03, 2005 4:38 pm
Location: Boulder, CO
Contact:

Re: FAST encountered an error during module initialization.

Postby Jason.Jonkman » Wed Feb 24, 2021 6:27 am

Dear Matthew,

I would not expect that you'd receive this error solely by changing WaveHs, WaveTp, and WaveDir in HydroDyn or URef in TurbSim.

Regardless, the error appears to be generated by the mesh-mapping routines of OpenFAST because the end points of an element in the HydroDyn module are too close together. The element length may not be exactly zero, but less than a tolerance used in the mesh-mapping routines. Do you have two joints defined very close to (0,0-30) m in your HydroDyn input? Perhaps one joint is set just below the seabed to avoid the computation of buoyancy forces at the bottom of the pile? If so, try moving this joint a bit lower.

Best regards,
Jason Jonkman, Ph.D.
Senior Engineer | National Wind Technology Center (NWTC)

National Renewable Energy Laboratory (NREL)
15013 Denver West Parkway | Golden, CO 80401
+1 (303) 384 – 7026 | Fax: +1 (303) 384 – 6901
nwtc.nrel.gov

Matthew.Lee
Posts: 15
Joined: Mon Nov 16, 2020 6:21 am
Organization: Trinity College Dublin
Location: Ireland

Re: FAST encountered an error during module initialization.

Postby Matthew.Lee » Wed Feb 24, 2021 9:47 am

Dear Jason,

Thank you for your quick and detailed reply, I really appreciate it!

You make a good point about the two joints close to (0,0,-30). I think that is exactly what is appearing in my HydroDyn Input file, and these values were originally here when I downloaded the files from GitHub. Please see attached image. Bearing in mind this is the 15MW turbine, can you please suggest appropriate values for me to insert for Jointxi , Jointyi , Jointzi ? Thank you kindly.


Best regards,
Matthew
Attachments
MemberJointsIssue.JPG
MemberJointsIssue.JPG (65.14 KiB) Viewed 604 times

Matthew.Lee
Posts: 15
Joined: Mon Nov 16, 2020 6:21 am
Organization: Trinity College Dublin
Location: Ireland

Re: FAST encountered an error during module initialization.

Postby Matthew.Lee » Wed Feb 24, 2021 9:59 am

Dear Jason,

I understood what you meant about lowering the joint right after I posted the reply, apologies for that. Good news, it worked! And thank you for that advice.

Unfortunately, I am receiving an error regarding the grid being too small in the z-direction, kindly see the screenshot below. Is there any advice you support me with here please? Thank you.

Best,
Matthew
Attachments
SmallGrid.JPG
SmallGrid.JPG (238.26 KiB) Viewed 603 times

Jason.Jonkman
Posts: 5778
Joined: Thu Nov 03, 2005 4:38 pm
Location: Boulder, CO
Contact:

Re: FAST encountered an error during module initialization.

Postby Jason.Jonkman » Wed Feb 24, 2021 10:30 am

Dear Matthew,

It looks like your TurbSim wind field extends from 50- to 250-m above MSL. The error is triggered because an aerodynamic analysis node (in AeroDyn) is located at 40.998 m above MSL. Does this location of an aerodynamic analysis node (presumably a blade tip location) make sense to you based on the model you are running (I'm not too familiar with this model)? If so, you'll need to regenerate your wind data from TurbSim with a different (lower) wind field.

Best regards,
Jason Jonkman, Ph.D.
Senior Engineer | National Wind Technology Center (NWTC)

National Renewable Energy Laboratory (NREL)
15013 Denver West Parkway | Golden, CO 80401
+1 (303) 384 – 7026 | Fax: +1 (303) 384 – 6901
nwtc.nrel.gov

Georgia.Tsoukleri
Posts: 12
Joined: Thu Oct 22, 2020 9:25 am
Organization: university of patras
Location: Greece

Re: FAST encountered an error during module initialization.

Postby Georgia.Tsoukleri » Wed Feb 24, 2021 4:19 pm

dear Jason,
I'm using FAST.v8.16 and Test24.fst
my turbSim v1.50 input file
31 NumGrid_Z - Vertical grid-point matrix dimension
31 NumGrid_Y - Horizontal grid-point matrix dimension
0.05 TimeStep - Time step [seconds]
630.0 AnalysisTime - Length of analysis time series [seconds]
600.0 UsableTime - Usable length of output time series [seconds] (program will add GridWidth/MeanHHWS seconds) [bjj: was 630]
69.0 HubHt - Hub height [m] (should be > 0.5*GridHeight)
135.0 GridHeight - Grid height [m]
135.0 GridWidth

im getting the following error
Reading a 31x31 grid (135 m wide, 1.5 m to 136.5 m above ground) with a characteristic wind
speed of 15 m/s. This full-field file was generated by TurbSim (v1.50, 25-Sep-2009)

FAST_Solution:CalcOutputs_And_SolveForInputs:SolveOption2:InflowWind_CalcOutput:CalcOutput:IfW_TSF
FWind_CalcOutput [position=(2.5093, 17.863, 138.82) in wind-file coordinates]: FF wind array
boundaries violated. Grid too small in Z direction (Z=138.82 m is above the grid).

i changed GridHeight but i didnt find a solution
i also used the following data in ELASTODYN v1.03. INPUT
66.6 TowerHt
6 TowerBsHt

Thank you in advance
Georgia

Jason.Jonkman
Posts: 5778
Joined: Thu Nov 03, 2005 4:38 pm
Location: Boulder, CO
Contact:

Re: FAST encountered an error during module initialization.

Postby Jason.Jonkman » Wed Feb 24, 2021 4:33 pm

Dear Georgia,

A height of Z = 138.82 m seems high for an aerodynamic analysis node if the hub height is in fact 69 m. 138.82 m is higher than double the hub height meaning that the rotor blades would also likely hit the ground! Are you seeing signs of an instability in the model, e.g., unreasonably large tower or blade deflections?

If you've changed the hub-height of the NREL 5-MW turbine from 90 to 69 m by decreasing the tower length, did you change the tower mass, stiffness, or mode shapes accordingly? If not, you could have increased the natural frequencies of the tower-bending modes, which would be unrealistic and likely require small time steps to ensure numerical stability of the solution.

Best regards,
Jason Jonkman, Ph.D.
Senior Engineer | National Wind Technology Center (NWTC)

National Renewable Energy Laboratory (NREL)
15013 Denver West Parkway | Golden, CO 80401
+1 (303) 384 – 7026 | Fax: +1 (303) 384 – 6901
nwtc.nrel.gov

Georgia.Tsoukleri
Posts: 12
Joined: Thu Oct 22, 2020 9:25 am
Organization: university of patras
Location: Greece

Re: FAST encountered an error during module initialization.

Postby Georgia.Tsoukleri » Wed Feb 24, 2021 4:44 pm

dear Jason,
thank you for your reply

i received also that warning

Warning: Turning off Unsteady Aerodynamics due to high angle-of-attack. BladeNode = 5, Blade = 1

So i have to change TMassDen or TwFAStif at elastodyn tower input file??

Than you again

Georgia

Jason.Jonkman
Posts: 5778
Joined: Thu Nov 03, 2005 4:38 pm
Location: Boulder, CO
Contact:

Re: FAST encountered an error during module initialization.

Postby Jason.Jonkman » Wed Feb 24, 2021 4:53 pm

Dear Georgia,

If you want a reasonable tower design (e.g., with a first bending natural frequency between 1P and 3P), then yes, you'll need to change the tower mass, stiffness, and mode shapes.

Best regards,
Jason Jonkman, Ph.D.
Senior Engineer | National Wind Technology Center (NWTC)

National Renewable Energy Laboratory (NREL)
15013 Denver West Parkway | Golden, CO 80401
+1 (303) 384 – 7026 | Fax: +1 (303) 384 – 6901
nwtc.nrel.gov

Georgia.Tsoukleri
Posts: 12
Joined: Thu Oct 22, 2020 9:25 am
Organization: university of patras
Location: Greece

Re: FAST encountered an error during module initialization.

Postby Georgia.Tsoukleri » Wed Feb 24, 2021 6:48 pm

Dear Jason,
thank you again!!
Is there a method that i should follow in order to change the tower mass, stiffness, and mode shapes?

Best regards,
Georgia

Jason.Jonkman
Posts: 5778
Joined: Thu Nov 03, 2005 4:38 pm
Location: Boulder, CO
Contact:

Re: FAST encountered an error during module initialization.

Postby Jason.Jonkman » Thu Feb 25, 2021 6:57 am

Dear Georgia,

You could start by applying scaling laws, e.g., as discuss on our forum here: viewtopic.php?f=13&t=1459&p=7341. However, you are not scaling the full wind turbine uniformly; instead, you are just shortening the tower, so, the scaling laws will only get you so far. You'll likely need to redesign the tower. Again, aiming for a soft-stiff tower design with a first bending natural frequency between 1P and 3P would be a good design constraint.

Best regards,
Jason Jonkman, Ph.D.
Senior Engineer | National Wind Technology Center (NWTC)

National Renewable Energy Laboratory (NREL)
15013 Denver West Parkway | Golden, CO 80401
+1 (303) 384 – 7026 | Fax: +1 (303) 384 – 6901
nwtc.nrel.gov


Return to “Computer-Aided Engineering Software Tools”

Who is online

Users browsing this forum: No registered users and 1 guest