You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CALL AllocAry( InputGuess%PositionXYZ, 3, InitInp%NumWindPoints, "Array of positions at which to find wind velocities", TmpErrStat, TmpErrMsg ); if (Failed()) return
218
203
InputGuess%PositionXYZ =0.0_ReKi
219
-
InputGuess%HubPosition =0.0_ReKi
204
+
InputGuess%HubPosition =InitInp%HubPosition
220
205
CALL Eye(InputGuess%HubOrientation,TmpErrStat,TmpErrMsg); if (Failed()) return
221
206
222
207
! Allocate the array for passing velocities out
@@ -619,12 +604,10 @@ SUBROUTINE InflowWind_CalcOutput( Time, InputData, p, &
typedef ^ ^ IntKi ConsiderHubMotion - - - "Flag whether or not the hub motion's impact on the Lidar measurement will be considered [0 for no, 1 for yes]" -
79
+
typedef ^ ^ IntKi ConsiderHubMotion - - - "whether or not the hub motion's impact on the Lidar measurement will be considered" -
typedef ^ ^ ReKi MSL2SWL - - - "Mean sea level to still water level" m
101
100
typedef ^ ^ LOGICAL BoxExceedAllow - .FALSE. - "Flag to allow Extrapolation winds outside box starting at this index (for OLAF wakes and LidarSim)" -
102
101
typedef ^ ^ LOGICAL LidarEnabled - .false. - "Enable LiDAR for this instance of InflowWind? (FAST.Farm, ADI, and InflowWind driver/library are not compatible)" -
102
+
typedef ^ ^ ReKi HubPosition {3} - - "initial position of the hub (lidar mounted on hub) [0,0,HubHeight]" "m"
INTEGER(IntKi) :: ConsiderHubMotion =0_IntKi!< Flag whether or not the hub motion's impact on the Lidar measurement will be considered [0 for no, 1 for yes] [-]
97
+
INTEGER(IntKi) :: ConsiderHubMotion =0_IntKi!< whether or not the hub motion's impact on the Lidar measurement will be considered [-]
98
98
TYPE(Grid3D_InitInputType) :: FF !< scaling data [-]
99
99
END TYPE InflowWind_InputFile
100
100
! =======================
@@ -111,14 +111,14 @@ MODULE InflowWind_Types
111
111
TYPE(FileInfoType) :: PassedFileInfo !< If we don't use the input file, pass everything through this [FilePassingMethod = 1] [-]
112
112
TYPE(InflowWind_InputFile) :: PassedFileData !< If we don't use the input file, pass everything through this [FilePassingMethod = 2] [-]
113
113
LOGICAL:: OutputAccel =.FALSE.!< Flag to output wind acceleration [-]
114
-
TYPE(Lidar_InitInputType) :: lidar !< InitInput for lidar data [-]
115
114
TYPE(Grid4D_InitInputType) :: FDext !< InitInput for 4D external wind data [-]
116
115
REAL(ReKi) :: RadAvg =0.0_ReKi!< Radius (from hub) used for averaging wind speed [-]
117
116
INTEGER(IntKi) :: MHK =0_IntKi!< MHK turbine type switch [-]
118
117
REAL(ReKi) :: WtrDpth =0.0_ReKi!< Water depth [m]
119
118
REAL(ReKi) :: MSL2SWL =0.0_ReKi!< Mean sea level to still water level [m]
120
119
LOGICAL:: BoxExceedAllow =.FALSE.!< Flag to allow Extrapolation winds outside box starting at this index (for OLAF wakes and LidarSim) [-]
121
120
LOGICAL:: LidarEnabled =.false.!< Enable LiDAR for this instance of InflowWind? (FAST.Farm, ADI, and InflowWind driver/library are not compatible) [-]
121
+
REAL(ReKi) , DIMENSION(1:3) :: HubPosition =0.0_ReKi!< initial position of the hub (lidar mounted on hub) [0,0,HubHeight] [m]
0 commit comments