-
Notifications
You must be signed in to change notification settings - Fork 491
Closed
Labels
Milestone
Description
Bug description
The section below on determining the type of the turbine looks incorrect. It might be caused by problems with merging.
- The branches for MHK are duplicated.
- The use of SubDyn no longer indicates fixed turbines because SubDyn can now be used to model floating substructures.
openfast/modules/openfast-library/src/FAST_Subs.f90
Lines 1869 to 1890 in 7e8be52
! determine what kind of turbine we're modeling: | |
IF ( p%MHK == 1 ) THEN | |
p%TurbineType = Type_MHK_Fixed | |
ELSEIF ( p%MHK == 2 ) THEN | |
p%TurbineType = Type_MHK_Floating | |
ELSEIF ( p%CompHydro == Module_HD ) THEN | |
IF ( p%CompSub == Module_SD ) THEN | |
p%TurbineType = Type_Offshore_Fixed | |
ELSE | |
p%TurbineType = Type_Offshore_Floating | |
END IF | |
ELSEIF ( p%CompMooring == Module_Orca ) THEN | |
p%TurbineType = Type_Offshore_Floating | |
ELSEIF ( p%CompSub == Module_ExtPtfm ) THEN | |
p%TurbineType = Type_Offshore_Fixed | |
ELSEIF ( p%MHK == 1 ) THEN | |
p%TurbineType = Type_MHK_Fixed | |
ELSEIF ( p%MHK == 2 ) THEN | |
p%TurbineType = Type_MHK_Floating | |
ELSE | |
p%TurbineType = Type_LandBased | |
END IF |
OpenFAST Version
This code section is from the dev
branch to be released as v4.0.0.
Additional context
It is not clear whether this issue has any impact on the results.
andrew-platt