Skip to content

Commit

Permalink
Compute calculated channels when openfast library is used
Browse files Browse the repository at this point in the history
  • Loading branch information
dzalkind committed Nov 20, 2024
1 parent 14ccfb2 commit 8c982d8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions weis/aeroelasticse/runFAST_pywrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,9 @@ def execute(self):
# Add channel to indicate failed run
output_dict['openfast_failed'] = np.zeros(len(output_dict[channel]))

# Calculated channels
calculate_channels(output_dict, self.fst_vt)

output = OpenFASTOutput.from_dict(output_dict, self.FAST_namingOut, magnitude_channels=self.magnitude_channels)

# if save_file: write_fast
Expand Down

0 comments on commit 8c982d8

Please sign in to comment.