Skip to content

Commit

Permalink
Lin: enable MHK lin with warnings
Browse files Browse the repository at this point in the history
There are pieces still missing for good MHK linearization:
- buoyancy is not included in the perturbations
- added mass is not included in AeroDyn at all
  • Loading branch information
andrew-platt committed Sep 20, 2024
1 parent e893358 commit 0f60116
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/openfast-library/src/FAST_Subs.f90
Original file line number Diff line number Diff line change
Expand Up @@ -2271,7 +2271,7 @@ SUBROUTINE ValidateInputData(p, m_FAST, ErrStat, ErrMsg)

IF (p%MHK /= MHK_None .and. p%MHK /= MHK_FixedBottom .and. p%MHK /= MHK_Floating) CALL SetErrStat( ErrID_Fatal, 'MHK switch is invalid. Set MHK to 0, 1, or 2 in the FAST input file.', ErrStat, ErrMsg, RoutineName )

IF (p%MHK /= MHK_None .and. p%Linearize) CALL SetErrStat( ErrID_Fatal, 'Linearization has not yet been implemented for an MHK turbine. Change MHK or Linearize in the FAST input file.', ErrStat, ErrMsg, RoutineName )
IF (p%MHK /= MHK_None .and. p%Linearize) CALL SetErrStat( ErrID_Warn, 'Linearization is not fully implemented for an MHK turbine (buoyancy not included in perturbations, and added mass not included anywhere).', ErrStat, ErrMsg, RoutineName )

IF (p%Gravity < 0.0_ReKi) CALL SetErrStat( ErrID_Fatal, 'Gravity must not be negative.', ErrStat, ErrMsg, RoutineName )

Expand Down

0 comments on commit 0f60116

Please sign in to comment.