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

Deprecate AD14 (rebasing of PR #18) #87

Closed
wants to merge 3 commits into from
Closed

Conversation

andrew-platt
Copy link
Collaborator

@andrew-platt andrew-platt commented Jan 31, 2023

Removing AD14 and replacing with AD15. This PR supercedes #18 (that PR sat for too long and got a bit stale).

The following models still require work to determine the appropriate tau1_const parameter in the ADv15 input file:

  • AWT_YFree_WTurb
  • AWT_YFix_WSt
  • WP_VSP_WTurb_PitchFail
  • WP_VSP_WTurb
  • SWRT_YFree_VS_WTurb

5MW_ITIBarge_DLL_WTurb_WavesIrr:
(NOTE: this test was disabled due to numerical instabilities)
Screen Shot 2023-01-30 at 11 27 17 PM
Screen Shot 2023-01-30 at 11 28 36 PM
Some tuning could be done on this case to get a better match.

AOC_WSt:
Screen Shot 2023-01-30 at 11 44 27 PM
Screen Shot 2023-01-30 at 11 44 51 PM

AWT_YFix_WSt:
using DBEMT_Mod=2
(Note: channels changed, so the regression test compare does not work)
Screen Shot 2023-01-31 at 12 07 50 AM

AWT_YFree_WTurb:
(Note: channels changed, so the regression test compare does not work)
Screen Shot 2023-01-31 at 12 25 29 AM

SWRT_YFree_VS_EDC01:
Screen Shot 2023-01-31 at 12 38 00 AM

SWRT_YFree_VS_WTurb:
(NOTE: this test had been disabled due to instabilities and taking forever to run -- shorten it to 20 seconds or leave disabled)
Screen Shot 2023-01-31 at 12 50 14 AM

UAE_Dnwind_YRamp_WSt:
(NOTE: this test had been disabled due to instabilities)
Screen Shot 2023-01-31 at 1 10 58 AM

WP_VSP_WTurb_PitchFail:
Screen Shot 2023-01-31 at 1 17 58 AM
Screen Shot 2023-01-31 at 1 20 11 AM
Screen Shot 2023-01-31 at 1 20 45 AM

@andrew-platt andrew-platt marked this pull request as draft January 31, 2023 06:29
@andrew-platt andrew-platt force-pushed the f/AD14remove branch 3 times, most recently from aa65462 to c1d7855 Compare February 1, 2023 06:32
@andrew-platt
Copy link
Collaborator Author

Closes #43

@andrew-platt andrew-platt self-assigned this Feb 1, 2023
Copy link
Contributor

@ebranlard ebranlard left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for doing that. I'm all up for the deleting of the summary files.

My only comment is whether we should keep calling AeroDyn15 AeroDyn15 (in the comments and in the filenames), or if we should just call it AeroDyn.

@ebranlard
Copy link
Contributor

Another (annoying) thing I would add, is if we are redoing the baselines, we could prune some output channels and maybe increase the output dt a bit, to potentially reach output binary files of say 200kb.
For instance:
-use only only blade number for each output channel name (some kind of rotation between blade 1, 2 or 3).

  • Remove TTDspTwst which is always zero

@hkross
Copy link
Collaborator

hkross commented Feb 1, 2023

Another (annoying) thing I would add, is if we are redoing the baselines, we could prune some output channels and maybe increase the output dt a bit, to potentially reach output binary files of say 200kb. For instance: -use only only blade number for each output channel name (some kind of rotation between blade 1, 2 or 3).

* Remove TTDspTwst which is always zero

There are a few other ADAMS outputs that are always zero and could be removed as well. @andrew-platt and I discussed this when removing the ADAMS coupling code.

@bjonkman
Copy link
Collaborator

bjonkman commented Feb 1, 2023

Another (annoying) thing I would add, is if we are redoing the baselines, we could prune some output channels and maybe increase the output dt a bit, to potentially reach output binary files of say 200kb.

Also, if we are redoing baselines.... Since we have updated the way the regression test comparisons work, can we use packed binary output instead of the uncompressed binary output that most of the OpenFAST regression tests use? That would also reduce the file size.

@andrew-platt
Copy link
Collaborator Author

@bjonkman and @ebranlard, I agree pruning outputs and switching to the packed binary files is a good idea.

@andrew-platt
Copy link
Collaborator Author

@ebranlard, I agree on switching the name to just AeroDyn in comments and input files. The current version of AeroDyn is significantly different from the original AeroDyn15 -- if we were really following a numbering system we probably should be on AD18 or so by now. So calling it simply AeroDyn is much cleaner going forward. This release is a good time to do that.

Copy link
Contributor

@jjonkman jjonkman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Again, thanks for addressing this long-awaited deprecation of AeroDyn v14!

The plots above don't show an instability in the 5MW_ITIBarge_DLL_WTurb_WavesIrr test, so, I'm not sure why this test was removed. Please clarify.

Can you also clarify what is wrong with the UAE_Dnwind_YRamp_WSt test such that it had to be disabled? This model uses BEMT (rather than DBEMT) and quasi-steady airfoil aerodynamics (rather than UA), so, is much simpler than other tests.

The comment above mentions the need to tune the tau1_const in DBEMT for AWT_YFree_WTurb and SWRT_YFree_VS_WTurb. It looks like the tau1_const was set to 1.0 for these. tau1_const should be derived from Eqn. (45) in the following paper: https://openfast.readthedocs.io/en/main/_downloads/ac04f454598248483d3a339d96dcd4fd/AeroLin_2019-12.pdf. Has it been? If not, it shouldn't be too hard to estimate using this Eqn.

The comment above also mentions tuning of the tau1_const in DBEMT for AWT_YFix_WSt, but this test uses a time-varying time constant (DBEMT_Mod = 2), in which tau1_const is not used.

The comment above also mentions tuning of the tau1_const in DBEMT for WP_VSP_WTurb_PitchFail, but the new OpenFAST test uses BEMT rather than DBEMT, in which tau1_const is not used. That said, the original AeroDyn v14 model for this test uses GDW, so, was this changed to use BEMT for a reason?

Moreover, the comment above mentions WP_VSP_WTurb, but I don't see that this test was changed (this test already used AeroDyn v15).

The SWRT models are likely unstable because the tail fin aerodynamics are disabled. Tail fin aerodynamics were added back into OpenFAST in OpenFAST v3.4 (using the tail fin model from FAST v7), so, tail fin aerodynamics should be reactivated in all SWRT tests. Hopefully the results from OpenFAST will then be similar to the old results from FAST v7.

This PR partially addresses issue #93.

* 5MW_ITIBarge_DLL_WTurb_WavesIrr
* AOC_WSt
* AWT_YFix_WSt
* AWT_YFree_WTurb
* SWRT_YFree_VS_EDC01
* SWRT_YFree_VS_WTurb
* UAE_Dnwind_YRamp_WSt
* WP_VSP_WTurb_PitchFail
The SWRT wind turbine cases have been disabled for some time as they are not stable.  These were run with AD14, but did not correspond well when updated to AD15.  Given all this, we decided to remove them.
@andrew-platt
Copy link
Collaborator Author

Closing this PR as #126 now supercedes it.

@andrew-platt
Copy link
Collaborator Author

Superceded by #126

andrew-platt added a commit that referenced this pull request Jul 15, 2024
@andrew-platt andrew-platt deleted the f/AD14remove branch July 16, 2024 16:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants