Skip to content

Commit

Permalink
Update use of Cp text file
Browse files Browse the repository at this point in the history
  • Loading branch information
nikhar-abbas committed Oct 30, 2019
1 parent 62a098e commit 779ee9a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions WTC_toolbox/turbine.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,11 @@ def load_from_fast(self, FAST_InputFile,FAST_directory, FAST_ver='OpenFAST',dev_
fast.FAST_directory = FAST_directory
fast.execute()

if txt_filename:
self.rotor_performance_filename = txt_filename
else:
self.rotor_performance_filename = 'Cp_Ct_Cq.txt'


# Grab general turbine parameters
self.TipRad = fast.fst_vt['ElastoDyn']['TipRad']
Expand Down

0 comments on commit 779ee9a

Please sign in to comment.