Skip to content

The names of the different .fst (WT_FASTInFile) in the .ffst output file should not be fed from template file. #46

@Yuksel-Rudy

Description

@Yuksel-Rudy

Suppose we have a template file that has the following wind turbine information:

--- WIND TURBINES ---
1                 NumTurbines        - Number of wind turbines (-) [>=1]                         [last 6 columns below used only for Mod_AmbWind=2 or 3]
WT_X     WT_Y  WT_Z     WT_FASTInFile                          X0_High  Y0_High  Z0_High  dX_High  dY_High  dZ_High
(m)      (m)   (m)      (string)                               (m)      (m)      (m)      (m)      (m)      (m)
   0.000 0     0.000    "../IEA-15-240-RWT-UMaineSemi_IGNORE_THIS_NAME.T1.fst"     -180     -180     -2       15       15       15

After initializingFFCaseCreation class, and setting up the template file names, suppose the user has put the name of the turbine file name as follows:

templateFiles = {'turbfilename' : 'IEA-15-240-RWT-UMaineSemi.T'}

Then, when calling FF_setup method in FFarmCaseCreation, the generated FAST.Farm output will take the name from the template file with the tag _IGNORE_THIS_NAME instead from the templateFiles

Unwanted Output:

--- WIND TURBINES ---
2                      NumTurbines - Number of wind turbines (-) [>=1] [last 6 columns below used only for Mod_AmbWind=2 or 3]
WT_X            WT_Y            WT_Z            WT_FASTInFile   X0_High         Y0_High         Z0_High         dX_High         dY_High         dZ_High        
      (m)             (m)             (m)          (string)           (m)             (m)             (m)             (m)             (m)             (m)      
0	0	0	"../IEA-15-240-RWT-UMaineSemi_IGNORE_THIS_NAME.T1.fst"	-144	-145	1	4	5	5
1600	0	0	"../IEA-15-240-RWT-UMaineSemi_IGNORE_THIS_NAME.T2.fst"	1456	-145	1	4	5	5

Expected Output:

--- WIND TURBINES ---
2                      NumTurbines - Number of wind turbines (-) [>=1] [last 6 columns below used only for Mod_AmbWind=2 or 3]
WT_X            WT_Y            WT_Z            WT_FASTInFile   X0_High         Y0_High         Z0_High         dX_High         dY_High         dZ_High        
      (m)             (m)             (m)          (string)           (m)             (m)             (m)             (m)             (m)             (m)      
0	0	0	"../IEA-15-240-RWT-UMaineSemi.T1.fst"	-144	-145	1	4	5	5
1600	0	0	"../IEA-15-240-RWT-UMaineSemi.T2.fst"	1456	-145	1	4	5	5

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions