Skip to content

Commit 97e4c20

Browse files
committed
FF: update example with dict-based template
1 parent 2dde20d commit 97e4c20

File tree

1 file changed

+19
-19
lines changed

1 file changed

+19
-19
lines changed

openfast_toolbox/fastfarm/examples/Ex3_FFarmCompleteSetup.py

+19-19
Original file line numberDiff line numberDiff line change
@@ -87,29 +87,29 @@ def main():
8787
# ----------- Template files
8888
templatePath = '/full/path/where/template/files/are'
8989

90-
# remove from dict or put None on any input that is not applicable to your case
90+
# Put None on any input that is not applicable to your case
9191
# Files should be in templatePath
9292
templateFiles = {
93-
"EDfilename" : 'ElastoDyn.T',
94-
'SEDfilename' : 'SimplifiedElastoDyn.T',
95-
'HDfilename' : 'HydroDyn.dat',
96-
'SrvDfilename' : 'ServoDyn.T',
97-
'ADfilename' : 'AeroDyn.dat',
98-
'ADskfilename' : 'AeroDisk.dat',
99-
'SubDfilename' : 'SubDyn.dat',
100-
'IWfilename' : 'InflowWind.dat',
101-
'BDfilepath' : None,
102-
'bladefilename' : 'Blade.dat',
103-
'towerfilename' : 'Tower.dat',
104-
'turbfilename' : 'Model.T',
105-
'coeffTablefilename' : 'CpCtCq.csv',
106-
'FFfilename' : 'Model_FFarm.fstf',
107-
'controllerInputfilename' : 'DISCON.IN',
108-
'libdisconfilepath' : '/full/path/to/controller/libdiscon.so',
93+
"EDfilename" : 'ElastoDyn.T',
94+
'SEDfilename' : None, #'SimplifiedElastoDyn.T',
95+
'HDfilename' : 'HydroDyn.dat',
96+
'SrvDfilename' : 'ServoDyn.T',
97+
'ADfilename' : 'AeroDyn.dat',
98+
'ADskfilename' : 'AeroDisk.dat',
99+
'SubDfilename' : 'SubDyn.dat',
100+
'IWfilename' : 'InflowWind.dat',
101+
'BDfilepath' : None,
102+
'bladefilename' : 'Blade.dat',
103+
'towerfilename' : 'Tower.dat',
104+
'turbfilename' : 'Model.T',
105+
'libdisconfilepath' : '/full/path/to/controller/libdiscon.so',
106+
'controllerInputfilename' : 'DISCON.IN',
107+
'coeffTablefilename' : 'CpCtCq.csv',
108+
'FFfilename' : 'Model_FFarm.fstf',
109109

110110
# TurbSim setups
111-
'turbsimLowfilepath' : './SampleFiles/template_Low_InflowXX_SeedY.inp',
112-
'turbsimHighfilepath' : './SampleFiles/template_HighT1_InflowXX_SeedY.inp'
111+
'turbsimLowfilepath' : './SampleFiles/template_Low_InflowXX_SeedY.inp',
112+
'turbsimHighfilepath' : './SampleFiles/template_HighT1_InflowXX_SeedY.inp'
113113
}
114114

115115
# SLURM scripts

0 commit comments

Comments
 (0)