RAO OC3Hywind Turbine
Moderator: Bonnie.Jonkman
-
Zahid.Ullah
- Posts: 45
- Joined: Sun Jul 24, 2016 6:59 pm
- Organization: HYU
- Location: South Korea
RAO OC3Hywind Turbine
Dear Dr. Jason Jonkman
I am trying to reproduce the RAO for OC3-Hywind model given in Fig 3. of the article entitled, "Investigation of Response Amplitude operators for floating wind turbine", by using FAST V8. I have considered all the condition same as given in the article e.g. only 6 rigid body degree of freedom are enabled. The wave model is considered 3 (white noise spectrum), wave significant height is 2 m. I use the strip theory only (disabled WAMIT) to calculate hydrodynamic forces. The drag coefficient is also Cd =0, as given in the article. I also specified the additional linear damping as given in the article and also specified the hydro-static stiffness in the input. I used fft matlab (PSD estimates using FFT) command to obtain the auto and cross spectral densities for wave elevation and the output response, and then took the ratio of the two to calculate RAO. However, there is difference in the RAO i obtained (both in frequency and amplitude). I did the simulation for 8000 sec and excluded the initial 2000 sec as given in the article.
I studied all the previous discussion regarding the RAO on this forum but still could not figure it out. I would highly appreciate if you can help me in finding where i am making a mistake. I have attached the RAO i obtained from the simulation. I also attached the snapshot of Hydrodynamic input file.
i calculated PSD taking the absolute value squared of the DFT (calculated by fft() in matlab) and then use "sgolayfilt()" for smoothing purpose. I did not know about the sampling frequency so i use 2*pi rad as sampling frequency. I will attach anything else if required. I will highly appreciate your valuable comments.
I am trying to reproduce the RAO for OC3-Hywind model given in Fig 3. of the article entitled, "Investigation of Response Amplitude operators for floating wind turbine", by using FAST V8. I have considered all the condition same as given in the article e.g. only 6 rigid body degree of freedom are enabled. The wave model is considered 3 (white noise spectrum), wave significant height is 2 m. I use the strip theory only (disabled WAMIT) to calculate hydrodynamic forces. The drag coefficient is also Cd =0, as given in the article. I also specified the additional linear damping as given in the article and also specified the hydro-static stiffness in the input. I used fft matlab (PSD estimates using FFT) command to obtain the auto and cross spectral densities for wave elevation and the output response, and then took the ratio of the two to calculate RAO. However, there is difference in the RAO i obtained (both in frequency and amplitude). I did the simulation for 8000 sec and excluded the initial 2000 sec as given in the article.
I studied all the previous discussion regarding the RAO on this forum but still could not figure it out. I would highly appreciate if you can help me in finding where i am making a mistake. I have attached the RAO i obtained from the simulation. I also attached the snapshot of Hydrodynamic input file.
i calculated PSD taking the absolute value squared of the DFT (calculated by fft() in matlab) and then use "sgolayfilt()" for smoothing purpose. I did not know about the sampling frequency so i use 2*pi rad as sampling frequency. I will attach anything else if required. I will highly appreciate your valuable comments.
- Attachments
-
- RAO pitch
- RAO_Pitch.jpg (58.6 KiB) Viewed 7089 times
-
- RAO heave
- RAO_Heave.jpg (57.52 KiB) Viewed 7089 times
-
- RAO surge
- RAO_surge.jpg (59.58 KiB) Viewed 7089 times
-
Zahid.Ullah
- Posts: 45
- Joined: Sun Jul 24, 2016 6:59 pm
- Organization: HYU
- Location: South Korea
Re: RAO OC3Hywind Turbine
Hydrodynamic input snapshot is given here.
- Attachments
-
- Hydrodynamic input.JPG (534.44 KiB) Viewed 7088 times
-
Jason.Jonkman
- Posts: 5983
- Joined: Thu Nov 03, 2005 4:38 pm
- Location: Boulder, CO
- Contact:
Re: RAO OC3Hywind Turbine
Dear Zahid,
I don't really see anything wrong in your HydroDyn input file. One thing I would probably change is to set WaveNDAmp = False to ensure that the input wave spectrum is smooth. Presumably you also have the six platform DOFs enabled your ElastoDyn module and some mooring module enabled?
Regarding your results, the first thing I see is that your natural frequencies are not correct. In rad/s, I would expect to see RAO peaks in surge at 0.05, heave at 0.20, and pitch at 0.21. When you look at the time series, do you see these frequencies correctly? If so, I would expect a problem in your MATLAB script, but I'm not sure exactly what that might be.
Best regards,
I don't really see anything wrong in your HydroDyn input file. One thing I would probably change is to set WaveNDAmp = False to ensure that the input wave spectrum is smooth. Presumably you also have the six platform DOFs enabled your ElastoDyn module and some mooring module enabled?
Regarding your results, the first thing I see is that your natural frequencies are not correct. In rad/s, I would expect to see RAO peaks in surge at 0.05, heave at 0.20, and pitch at 0.21. When you look at the time series, do you see these frequencies correctly? If so, I would expect a problem in your MATLAB script, but I'm not sure exactly what that might be.
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
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
-
Zahid.Ullah
- Posts: 45
- Joined: Sun Jul 24, 2016 6:59 pm
- Organization: HYU
- Location: South Korea
Re: RAO OC3Hywind Turbine
Dear Dr. Jason Jonkman
I highly thankful for your help and time. I followed your suggestions and found that the frequencies corresponding to peaks matches to the natural frequencies of the structure and the difference was result of some error in the Matlab script. After correcting that i re-plotted the RAOs for surge, heave and pitch. I also set WaveNDAmp = False. Also i set MAP for mooring lines and enable only six DOFs of platform in ElastoDyn module. I have attached the plots i obtained. The frequencies corresponding to peaks matches to that of the given in the article. However, there if significant difference in the magnitude of the RAOs. I also attached the snapshot of the procedure i used to obtain PSD, in case if there is any error in it. i would appreciate your valuable comments.
I highly thankful for your help and time. I followed your suggestions and found that the frequencies corresponding to peaks matches to the natural frequencies of the structure and the difference was result of some error in the Matlab script. After correcting that i re-plotted the RAOs for surge, heave and pitch. I also set WaveNDAmp = False. Also i set MAP for mooring lines and enable only six DOFs of platform in ElastoDyn module. I have attached the plots i obtained. The frequencies corresponding to peaks matches to that of the given in the article. However, there if significant difference in the magnitude of the RAOs. I also attached the snapshot of the procedure i used to obtain PSD, in case if there is any error in it. i would appreciate your valuable comments.
- Attachments
-
- Surge and Heave RAO
- Surge_Heave_2.JPG (1.62 MiB) Viewed 7053 times
-
- Pitch RAO and PSD calculation for a signal x
- PItch_PSD2.jpg (1.23 MiB) Viewed 7053 times
-
Zahid.Ullah
- Posts: 45
- Joined: Sun Jul 24, 2016 6:59 pm
- Organization: HYU
- Location: South Korea
Re: RAO OC3Hywind Turbine
I also tried to calculate PSD by using the same methodology as given in the previously attached image, but i remove the "square" from last term "abs(xdft)". In that case the surge and pitch were approximately equal in magnitude to that of given in the reference article, but there is significant difference in the magnitude of heave RAO. I also attached those plots. I dont know much about PSD, so i will be thankful for your comments on the PSD procedure i am using, and any reference material will also be highly appreciated. If you want to take a look of the time histories of wave elevation and surge, heave and pitch, i will also attached them.
- Attachments
-
- Pitch and PSD
- PItch_PSD.jpg (1.21 MiB) Viewed 7052 times
-
- Surge Heave
- Surge Heave.jpg (1.68 MiB) Viewed 7052 times
-
Jason.Jonkman
- Posts: 5983
- Joined: Thu Nov 03, 2005 4:38 pm
- Location: Boulder, CO
- Contact:
Re: RAO OC3Hywind Turbine
Dear Zahid,
I've attached a simple MATLAB script that I developed that calculates both 2-sided and 1-sided PSDs with frequencies in both rad/s and Hz directly based on fft. Does this use of this script solve your problem?
Best regards,
I've attached a simple MATLAB script that I developed that calculates both 2-sided and 1-sided PSDs with frequencies in both rad/s and Hz directly based on fft. Does this use of this script solve your problem?
Best regards,
- Attachments
-
- Jason_PSD.m.txt
- (2.73 KiB) Downloaded 274 times
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
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
-
Zahid.Ullah
- Posts: 45
- Joined: Sun Jul 24, 2016 6:59 pm
- Organization: HYU
- Location: South Korea
Re: RAO OC3Hywind Turbine
Dear Dr. Jason Jonkman
I am highly thankful for your help and the script you have provided. I tried using the matlab script however, i still found significant difference in the magnitude and could not figure out the reason for it. I was thinking that there might be some mistake i am making in the hydrodynamic input. Therefore, i attached screen shot of the hydrodynamic coefficients (as this part was not visible in the last screen shot of hydrodynamic input) and will appreciate if you can take a look at it. I have also attached the time history plot of wave elevation, surge heave and pitch. I will highly appreciate any suggestion/advice. Heartfelt thanks for the help and time.
I am highly thankful for your help and the script you have provided. I tried using the matlab script however, i still found significant difference in the magnitude and could not figure out the reason for it. I was thinking that there might be some mistake i am making in the hydrodynamic input. Therefore, i attached screen shot of the hydrodynamic coefficients (as this part was not visible in the last screen shot of hydrodynamic input) and will appreciate if you can take a look at it. I have also attached the time history plot of wave elevation, surge heave and pitch. I will highly appreciate any suggestion/advice. Heartfelt thanks for the help and time.
- Attachments
-
- Hydrodynamic Input
- Hydro input.JPG (297.29 KiB) Viewed 7044 times
-
- Pitch and wave elevation
- Pitch_Wave.jpg (1.96 MiB) Viewed 7044 times
-
- Surge Heave
- Surge_heave_time.jpg (3.02 MiB) Viewed 7044 times
-
Jason.Jonkman
- Posts: 5983
- Joined: Thu Nov 03, 2005 4:38 pm
- Location: Boulder, CO
- Contact:
Re: RAO OC3Hywind Turbine
Dear Zahid,
I would not expect your strip-theory-only solution to match the potential-flow-only solution employed in the ISOPE paper because (1) you have set the axial added mass and dynamic pressure coefficients to zero and (2) you have not set the transverse added mass and dynamic pressure coefficients to match those from the potential-flow solution for surge/pitch. If you want to better match the ISOPE paper, I would (1) use the potential-flow-only solution rather than the strip-theory-only solution or (2) set your added mass and dynamic pressure coefficients in the strip-theory-only solution to better match the potential-flow-theory-only solution.
Best regards,
I would not expect your strip-theory-only solution to match the potential-flow-only solution employed in the ISOPE paper because (1) you have set the axial added mass and dynamic pressure coefficients to zero and (2) you have not set the transverse added mass and dynamic pressure coefficients to match those from the potential-flow solution for surge/pitch. If you want to better match the ISOPE paper, I would (1) use the potential-flow-only solution rather than the strip-theory-only solution or (2) set your added mass and dynamic pressure coefficients in the strip-theory-only solution to better match the potential-flow-theory-only 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
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
-
Zahid.Ullah
- Posts: 45
- Joined: Sun Jul 24, 2016 6:59 pm
- Organization: HYU
- Location: South Korea
Re: RAO OC3Hywind Turbine
Dear Dr. Jason Jonkman
I am highly thankful for your response. I will try to find suitable coefficients for strip theory only solution and will also use potential-flow-only solution for comparison. I have another small query and will appreciate your response. I wondered if the we can get similar RAO if we use the JONSWAP/Pierson-Moskowitz spectrum (WaveMod = 2). Will it cause significant difference?
I am highly thankful for your response. I will try to find suitable coefficients for strip theory only solution and will also use potential-flow-only solution for comparison. I have another small query and will appreciate your response. I wondered if the we can get similar RAO if we use the JONSWAP/Pierson-Moskowitz spectrum (WaveMod = 2). Will it cause significant difference?
-
Jason.Jonkman
- Posts: 5983
- Joined: Thu Nov 03, 2005 4:38 pm
- Location: Boulder, CO
- Contact:
Re: RAO OC3Hywind Turbine
Dear Zahid,
The RAO is derived from the time series by dividing the cross-spectral density of the input-output by the auto-spectral density of the input in the frequency domain. This would imply that the input is irrelevant. However, I would expect numerical problems wherever the energy in the input is small i.e. at low and high frequencies when using the JONSWAP/Pierson-Moskowitz spectrum.
Best regards,
The RAO is derived from the time series by dividing the cross-spectral density of the input-output by the auto-spectral density of the input in the frequency domain. This would imply that the input is irrelevant. However, I would expect numerical problems wherever the energy in the input is small i.e. at low and high frequencies when using the JONSWAP/Pierson-Moskowitz spectrum.
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
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
-
Zahid.Ullah
- Posts: 45
- Joined: Sun Jul 24, 2016 6:59 pm
- Organization: HYU
- Location: South Korea
Re: RAO OC3Hywind Turbine
Dear Dr. Jason Jonkman
I am thankful for your help and sorry to bother you once again. Until now i was using only strip-theory in the HydroDyn, however now to better match the RAO i have to use Potential flow model only. I followed the HydroDyn user's guide and theory manual to understand properly the methodology of using Potential flow model only. I set the "PotMod = 1" to enable the WAMIT. Following the Section 6.8 (Floating platform) of HydroDyn manual which says that "for a potential-flow-only model do not create any strip theory joints or members in the input file". I made all the hydrodynamic coefficients zero and removed all the member joints and members etc. when i run the analysis it gives me an error and aborted. The error was:
"FAST_InitializeAll:HydroDyn_Init: Both meshes must be committed before they can be mapped.
HydroDyn_Init: Both meshes must be committed before they can be mapped."
I searched on this forum to find any help regarding this error and fortunately found your kind response to one of the user, given as
(Link: viewtopic.php?f=3&t=1227&p=8160&hilit=both+meshes+must+be+commite#p8177)
"Dear Patrick,
I was able to reproduce your error when I set up a similar model myself. It appears that there is a bug in HydroDyn preventing it from functioning properly when a model has no strip-theory nodes (NJoints = NMembers = 0). We'll fix this in a future release of HydroDyn. In the meantime, I suggest that you set up your HydroDyn module with two joints and one member, but with all member properties and coefficients set to zero."
I followed your suggestion and made NJoints = 2 and NMembers = 1, with all the properties equal to 0. But the error i got was
"A member can not have zero length."
I also tried it by assigning small length e.g. 0.5 and run it but then the error i obtain was "MDivSize must be greater than zero".
I will be highly thankful for your time and your help.
I am thankful for your help and sorry to bother you once again. Until now i was using only strip-theory in the HydroDyn, however now to better match the RAO i have to use Potential flow model only. I followed the HydroDyn user's guide and theory manual to understand properly the methodology of using Potential flow model only. I set the "PotMod = 1" to enable the WAMIT. Following the Section 6.8 (Floating platform) of HydroDyn manual which says that "for a potential-flow-only model do not create any strip theory joints or members in the input file". I made all the hydrodynamic coefficients zero and removed all the member joints and members etc. when i run the analysis it gives me an error and aborted. The error was:
"FAST_InitializeAll:HydroDyn_Init: Both meshes must be committed before they can be mapped.
HydroDyn_Init: Both meshes must be committed before they can be mapped."
I searched on this forum to find any help regarding this error and fortunately found your kind response to one of the user, given as
(Link: viewtopic.php?f=3&t=1227&p=8160&hilit=both+meshes+must+be+commite#p8177)
"Dear Patrick,
I was able to reproduce your error when I set up a similar model myself. It appears that there is a bug in HydroDyn preventing it from functioning properly when a model has no strip-theory nodes (NJoints = NMembers = 0). We'll fix this in a future release of HydroDyn. In the meantime, I suggest that you set up your HydroDyn module with two joints and one member, but with all member properties and coefficients set to zero."
I followed your suggestion and made NJoints = 2 and NMembers = 1, with all the properties equal to 0. But the error i got was
"A member can not have zero length."
I also tried it by assigning small length e.g. 0.5 and run it but then the error i obtain was "MDivSize must be greater than zero".
I will be highly thankful for your time and your help.
-
Jason.Jonkman
- Posts: 5983
- Joined: Thu Nov 03, 2005 4:38 pm
- Location: Boulder, CO
- Contact:
Re: RAO OC3Hywind Turbine
Dear Zahid,
To avoid an error, simply ensure that the two joints are not coincident e.g. set the first one at (0,0,0) and the second one anywhere but (0,0,0) e.g. set the second joint arbitrarily at (0,0,-1).
Best regards,
To avoid an error, simply ensure that the two joints are not coincident e.g. set the first one at (0,0,0) and the second one anywhere but (0,0,0) e.g. set the second joint arbitrarily at (0,0,-1).
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
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
-
Zahid.Ullah
- Posts: 45
- Joined: Sun Jul 24, 2016 6:59 pm
- Organization: HYU
- Location: South Korea
Re: RAO OC3Hywind Turbine
Dear Dr. Jason Jonkman
I am thankful for your help and by following the suggestions i finally obtain good results. I want to understand the white noise spectrum (WaveMod = 3) and have few points in mind. I would appreciate if you give some valuable comments.
1. For WaveMode = 2 (JONSWAP/P-M), we need to define both Hs and Tp. But for WaveMode = 3 (White-Noise Spectrum) it is given that only Hs is required. I was studying your Phd work to understand the theoretical background of White-Noise Spectrum. In the report entitled, "Dynamics Modeling and Loads Analysis of an Offshore Floating Wind Turbine" it is given in Eq. 2-16 (page 23) that two-sided spectrum is related to 1/2 (one-sided spectrum), which is JONSWAP/P-M spectrum. So, it made me confused why the Tp is not required for WaveMod = 3, when is it related to one-sided spectrum.
I am thankful for your help and by following the suggestions i finally obtain good results. I want to understand the white noise spectrum (WaveMod = 3) and have few points in mind. I would appreciate if you give some valuable comments.
1. For WaveMode = 2 (JONSWAP/P-M), we need to define both Hs and Tp. But for WaveMode = 3 (White-Noise Spectrum) it is given that only Hs is required. I was studying your Phd work to understand the theoretical background of White-Noise Spectrum. In the report entitled, "Dynamics Modeling and Loads Analysis of an Offshore Floating Wind Turbine" it is given in Eq. 2-16 (page 23) that two-sided spectrum is related to 1/2 (one-sided spectrum), which is JONSWAP/P-M spectrum. So, it made me confused why the Tp is not required for WaveMod = 3, when is it related to one-sided spectrum.
-
Jason.Jonkman
- Posts: 5983
- Joined: Thu Nov 03, 2005 4:38 pm
- Location: Boulder, CO
- Contact:
Re: RAO OC3Hywind Turbine
Dear Zahid,
The wave peak-spectral period (Tp) defines the peak of the wave spectrum. There is no peak in a white-noise wave spectrum, so, Tp is not necessary. The equation for the one-sided power-spectral density of white-noise waves (with frequencies in rad/s) is:
WaveS1Sdd = WaveHs*WaveHs/(8*( MIN( Pi/WaveDT, WvHiCOff ) – WvLowCOff ) )
where the MIN() is used in case WaveHighCtOff is specified above the highest frequency resolved by the time step.
Best regards,
The wave peak-spectral period (Tp) defines the peak of the wave spectrum. There is no peak in a white-noise wave spectrum, so, Tp is not necessary. The equation for the one-sided power-spectral density of white-noise waves (with frequencies in rad/s) is:
WaveS1Sdd = WaveHs*WaveHs/(8*( MIN( Pi/WaveDT, WvHiCOff ) – WvLowCOff ) )
where the MIN() is used in case WaveHighCtOff is specified above the highest frequency resolved by the time step.
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
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
-
Yingyi.Liu
- Posts: 105
- Joined: Thu May 01, 2014 3:16 am
- Organization: Kyushu University
- Location: Japan
Re: RAO OC3Hywind Turbine
Jason.Jonkman wrote:Dear Zahid,
I've attached a simple MATLAB script that I developed that calculates both 2-sided and 1-sided PSDs with frequencies in both rad/s and Hz directly based on fft. Does this use of this script solve your problem?
Best regards,
Dear Jason,
Can the Matlab script you uploaded be used to calculate both the auto- and the cross- power densities?
If so, would you mind to give an example on how to use it for calculating RAOs?
To save your time, I attach at the end of this post an example script I developed today together with the FAST signal file.
To my surprise, the final calculated RAO is a 2049*5000 matrix with all elements being the value of 0.0000 + 0.0000i.
Did I make mistakes in the example script?
Thanks a lot.
Best regards,
Yingyi
- Attachments
-
- DriverFastPlotRAO.m.txt
- (806 Bytes) Downloaded 202 times
-
- Test25.zip
- (1.08 MiB) Downloaded 178 times
Return to “Structural Analysis”
Who is online
Users browsing this forum: No registered users and 1 guest