Skip to content

Commit

Permalink
Fix wind inflow direction
Browse files Browse the repository at this point in the history
  • Loading branch information
dzalkind committed Aug 4, 2023
1 parent 11447ab commit 1d6861f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion weis/aeroelasticse/openmdao_openfast.py
Original file line number Diff line number Diff line change
Expand Up @@ -1916,7 +1916,7 @@ def run_FAST(self, inputs, discrete_inputs, fst_vt):
case_inputs[("ElastoDyn","BlPitch3")] = case_inputs[("ElastoDyn","BlPitch1")]
case_inputs[("ElastoDyn","Azimuth")] = {'vals':azimuth_init, 'group':1}
# Yaw offset
case_inputs[("ElastoDyn","NacYaw")] = {'vals':yaw_misalignment, 'group':1}
case_inputs[("ElastoDyn","NacYaw")] = {'vals':yaw_misalignment + fst_vt['ElastoDyn']['NacYaw'], 'group':1}

# Inputs to ServoDyn (parking), PitManRat and BlPitchF are ServoDyn modeling_options
case_inputs[("ServoDyn","TPitManS1")] = {'vals':shutdown_time, 'group':1}
Expand Down
8 changes: 4 additions & 4 deletions weis/inputs/modeling_schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1269,11 +1269,11 @@ properties:
description: Initial or fixed rotor speed (rpm)
NacYaw:
type: number
minimum: -6.283185307179586 # -360 deg
maximum: 6.283185307179586 # 360 deg
minimum: -360 #deg
maximum: 360 #deg
default: 0.0
unit: rad
description: Initial or fixed nacelle-yaw angle (radians)
unit: deg
description: Initial or fixed nacelle-yaw angle (degrees)
TTDspFA:
type: number
minimum: 0.0
Expand Down

0 comments on commit 1d6861f

Please sign in to comment.