Skip to content
This repository was archived by the owner on Nov 27, 2023. It is now read-only.

Commit 4bc73f7

Browse files
committed
Lin: ensuring sorted frequencies for lin test
1 parent 8062e41 commit 4bc73f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyFAST/linearization/examples/ex3a_MultiLinFile_Campbell.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
# --- Script Parameters
2626
fstFiles = glob.glob(os.path.join(scriptDir,'../../../data/linearization_outputs/*.fst')) # list of fst files where linearization were run, lin file will be looked for
2727
# fstFiles = glob.glob(os.path.join(scriptDir,'../../../data/NREL5MW/5MW_Land_Lin_Rotating/*.fst')) # list of fst files where linearization were run, lin file will be looked for
28+
fstFiles.sort() # Important for unittest
2829

2930
# --- Step 3: Run MBC, identify Modes, generate CSV files, and binary modes
3031
# Find lin files, perform MBC, and try to identify modes. A csv file is written with the mode IDs.
@@ -72,4 +73,3 @@
7273
np.testing.assert_almost_equal(Damp['1st_Tower_FA'][:2], [0.00352, 0.06034],4)
7374
np.testing.assert_almost_equal(OP['WS_[m/s]'], [0, 3],2)
7475
np.testing.assert_almost_equal(OP['RotSpeed_[rpm]'], [0, 6.972],2)
75-

0 commit comments

Comments
 (0)