Skip to content
Snippets Groups Projects
Commit 55d5c3de authored by mimc's avatar mimc
Browse files

Input files to dlls are now incorporated into the system. More testing is needed

parent 636353f3
No related branches found
No related tags found
No related merge requests found
Showing
with 1101 additions and 2 deletions
......@@ -4,7 +4,7 @@ import shutil
import time
import math
import copy
from wetb.hawc2.htc_file import HTCFile
from wetb.hawc2.htc_file import HTCFile, Input_File_Data
from wetb.hawc2.ae_file import AEFile
from wetb.hawc2.pc_file import PCData
from wetb.hawc2.st_file import StOrigData, StFPMData
......@@ -218,7 +218,8 @@ class Hawc2_Simulation(object):
if file_obj.original_file.startswith(self.source_directory):
if self.source_directory != self.write_directory:
file_obj.written_file = file_obj.original_file.replace(self.source_directory, self.write_directory)
self.htcf[file_obj.key] = file_obj.written_file
if not file_obj.key is None:
self.htcf[file_obj.key] = file_obj.written_file
else:
file_obj.written_file = file_obj.original_file
if not file_obj.file_object is None:
......@@ -287,6 +288,29 @@ class Hawc2_Simulation(object):
self.accompanying_files.append(accompanying_file)
self.accompanying_destinations.append(destination)
# This will add an input object associated with a dll file input
def add_dll_input_file_object(self, dll_key, dll_input_file_name, dll_input_file_path, dll_input_file_object):
'''
dll_key The key that points to the type2_dll or the hawc_dll object that needs this file
dll_input_file_name A name to give the input file in the objects
dll_input_file_path The file path to this input file
dll_input_file_object The object that contains the data for this input file
'''
# Add the input file object to the dll
dll_section=self[dll_key]
dll_section['dll_input_file_objects.'+dll_input_file_name]=dll_input_file_object
# Add the input file to the input file object
dll_sub_key=dll_key.split('.')[-1]
if not 'dll_input' in self.input_files:
self.input_files['dll_input']={}
if not dll_sub_key in self.input_files['dll_input']:
self.input_files['dll_input'][dll_sub_key]={}
if dll_input_file_name in self.input_files['dll_input'][dll_sub_key]:
raise Exception('That input file has already been added')
self.input_files['dll_input'][dll_sub_key][dll_input_file_name]=Input_File_Data(key_in=None, original_file_in=os.path.abspath(os.path.realpath(dll_input_file_path)), file_object_in = dll_input_file_object, written_file_in = None)
# Tests whether the input for the current state has already been written
def does_input_exist(self):
print('does_input_exist called')
......@@ -599,3 +623,25 @@ class Hawc2_Simulation(object):
else:
raise KeyError('That key does not exist')
if __name__ == '__main__':
from wpdata100 import WPData100
source='./tests/test_files/hawc2_simulation/iea_10_198_rc1_winHawc.htc'
wpdata_path='./tests/test_files/hawc2_simulation/control/wpdata.100'
wpdata_obj=WPData100(wpdata_path)
# Create the object
h2_sim = Hawc2_Simulation(source_file_in=source)
# Set the write directory
h2_sim.set_write_directory('./write_directory')
# collect the accompanying_file
accompanying_file_list=['HAWC2MB.exe']
# add the extra files
h2_sim.add_accompanying_file(accompanying_file_list)
# add the dll input
h2_sim.add_dll_input_file_object(dll_key='hawc2_input.dll.type2_dll_dtu_we_controller', dll_input_file_name='wpdata', dll_input_file_path=wpdata_path, dll_input_file_object=wpdata_obj)
# write the input files
h2_sim.write_input_files()
......@@ -270,6 +270,8 @@ class HTCSection(HTCContents):
section = HTCTimoschenkoInputSection(name, begin_comments)
elif name == "aero":
section = HTCAeroInputSection(name, begin_comments)
elif name == "type2_dll" or name == "hawc_dll":
section = HTCSingleDllSection(name, begin_comments)
else:
section = HTCSection(name, begin_comments)
while lines:
......@@ -818,6 +820,89 @@ class HTCOutputSection(HTCSection):
else:
HTCSection.__setitem__(self,key,value)
class HTCSingleDllSection(HTCSection):
dll_input_files={}
def __init__(self, name='type2_dll', begin_comments="", end_comments=""):
HTCSection.__init__(self, name, begin_comments=begin_comments, end_comments=end_comments)
self.dll_input_files = {}
def keys(self):
retval = HTCSection.keys(self)
if len(self.dll_input_files)>0:
retval.append('dll_input_file_objects')
return retval
def all_keys(self):
retval = HTCSection.all_keys(self)
if len(self.dll_input_files)>0:
for key, obj in self.dll_input_files.items():
retval.append('dll_input_file_objects.'+key)
for key, obj in self.dll_input_files.items():
if hasattr(obj,'all_keys'):
sub_list=obj.all_keys()
for sub_key in sub_list:
retval.append('dll_input_file_objects.'+key+'.'+sub_key)
elif hasattr(obj,'keys'):
sub_list=obj.keys()
for sub_key in sub_list:
retval.append('dll_input_file_objects.'+key+'.'+sub_key)
return retval
def leaf_keys(self):
retval = HTCSection.leaf_keys(self)
if len(self.dll_input_files)>0:
for key, obj in self.dll_input_files.items():
if hasattr(obj,'all_keys'):
sub_list=obj.all_keys()
for sub_key in sub_list:
retval.append('dll_input_file_objects.'+key+'.'+sub_key)
elif hasattr(obj,'keys'):
sub_list=obj.keys()
for sub_key in sub_list:
retval.append('dll_input_file_objects.'+key+'.'+sub_key)
else:
retval.append('dll_input_file_objects.'+key)
return retval
def __getitem__(self, key):
if key=='dll_input_file_objects':
return self.dll_input_files
elif key.startswith('dll_input_file_objects.'):
keys.split('.')
main_key=keys[1]
if not main_key in self.dll_input_files:
raise KeyError('The key "%s" is not contained within the input file object dictionary'%(main_key))
my_obj=self.dll_input_files[main_key]
if len(keys)==2:
return my_obj
else:
if my_obj is None:
raise ValueError('It appears the object at "%s" has not been set'%(main_key))
rem_key = '.'.join(keys[2:])
return my_obj[rem_key]
else:
return HTCSection.__getitem__(self, key)
def __setitem__(self, key, val):
if key=='dll_input_file_objects':
self.dll_input_files = val
elif key.startswith('dll_input_file_objects.'):
keys=key.split('.')
main_key=keys[1]
if len(keys)==2:
self.dll_input_files[main_key]=val
else:
my_obj=self.dll_input_files[main_key]
if my_obj is None:
raise ValueError('It appears the object at "%s" has not been set'%(main_key))
rem_key = '.'.join(keys[2:])
my_obj[rem_key]=val
else:
HTCSection.__setitem__(self, key, val)
class HTCOutputAtTimeSection(HTCOutputSection):
sns_type = None
time = None
......
File added
File added
File added
File added
File added
File added
File added
7 Wind speed [m/s] Pitch [deg]
0.0 2.680706
4.0 2.680706
5.0 1.896366
6.0 0.862669
7.0 0.000078
8.0 0.000048
50.0 0.000048
\ No newline at end of file
This diff is collapsed.
#1 Hub Changed 5.11.2012 by MHHA: Mass per unit-length should not be too low
r m x_cg y_cg ri_x ri_y x_sh y_sh E G I_x I_y I_p k_x k_y A pitch x_e y_e
$1 2 hub. flexible
0 1.0 0 0 1.50E+00 1.50E+00 0 0 2.10E+11 8.08E+10 5.52E-00 5.52E-00 1.10E+00 0.5 0.5 2.98E-01 0 0 0
2.8 1.0 0 0 1.50E+00 1.50E+00 0 0 2.10E+11 8.08E+10 5.52E-00 5.52E-00 1.10E+00 0.5 0.5 2.98E-01 0 0 0
r m x_cg y_cg ri_x ri_y x_sh y_sh E G I_x I_y I_p k_x k_y A pitch x_e y_e
$2 2 hub. stiff
0 1.0 0 0 1.50E+00 1.50E+00 0 0 2.10E+16 8.08E+15 5.52E-00 5.52E-00 1.10E+00 0.5 0.5 2.98E-01 0 0 0
2.8 1.0 0 0 1.50E+00 1.50E+00 0 0 2.10E+16 8.08E+15 5.52E-00 5.52E-00 1.10E+00 0.5 0.5 2.98E-01 0 0 0
#1 Shaft
r m x_cg y_cg ri_x ri_y x_sh y_sh E G I_x I_y I_p k_x k_y A pitch x_e y_e
$1 2 shaft with hub mass on last element. flexible
0.0 1.00E+00 0 0 0.2 0.2 0 0 2.10E+11 8.08E+10 1.00E+00 1.00E+00 0.2036 0.5 0.5 10 0 0 0
7.1 1.00E+00 0 0 0.2 0.2 0 0 2.10E+11 8.08E+10 1.00E+00 1.00E+00 0.2036 0.5 0.5 10 0 0 0
r m x_cg y_cg ri_x ri_y x_sh y_sh E G I_x I_y I_p k_x k_y A pitch x_e y_e
$2 2 shaft with hub mass on last element. stiff
0.0 1.00E+00 0 0 0.2 0.2 0 0 2.10E+16 8.08E+17 1.00E+00 1.00E+00 0.2036 0.5 0.5 10 0 0 0
7.1 1.00E+00 0 0 0.2 0.2 0 0 2.10E+16 8.08E+17 1.00E+00 1.00E+00 0.2036 0.5 0.5 10 0 0 0
#1 Tower made by anyd 25.02.2013
r m x_cg y_cg ri_x ri_y x_sh y_sh E G I_x I_y I_p k_x k_y A pitch x_e y_e
$1 20
0.000 8.3837E+03 0.0000E+00 0.0000E+00 2.9211E+00 2.9211E+00 0.0000E+00 0.0000E+00 2.1000E+11 8.0769E+10 8.4160E+00 8.4160E+00 1.6832E+01 5.0000E-01 5.0000E-01 9.8632E-01 0.0000E+00 0.0000E+00 0.0000E+00
11.500 8.1012E+03 0.0000E+00 0.0000E+00 2.8226E+00 2.8226E+00 0.0000E+00 0.0000E+00 2.1000E+11 8.0769E+10 7.5934E+00 7.5934E+00 1.5187E+01 5.0000E-01 5.0000E-01 9.5308E-01 0.0000E+00 0.0000E+00 0.0000E+00
11.501 7.6767E+03 0.0000E+00 0.0000E+00 2.8233E+00 2.8233E+00 0.0000E+00 0.0000E+00 2.1000E+11 8.0769E+10 7.1991E+00 7.1991E+00 1.4398E+01 5.0000E-01 5.0000E-01 9.0314E-01 0.0000E+00 0.0000E+00 0.0000E+00
23.000 7.4090E+03 0.0000E+00 0.0000E+00 2.7249E+00 2.7249E+00 0.0000E+00 0.0000E+00 2.1000E+11 8.0769E+10 6.4720E+00 6.4720E+00 1.2944E+01 5.0000E-01 5.0000E-01 8.7165E-01 0.0000E+00 0.0000E+00 0.0000E+00
23.001 6.9992E+03 0.0000E+00 0.0000E+00 2.7256E+00 2.7256E+00 0.0000E+00 0.0000E+00 2.1000E+11 8.0769E+10 6.1171E+00 6.1171E+00 1.2234E+01 5.0000E-01 5.0000E-01 8.2343E-01 0.0000E+00 0.0000E+00 0.0000E+00
34.500 6.7464E+03 0.0000E+00 0.0000E+00 2.6271E+00 2.6271E+00 0.0000E+00 0.0000E+00 2.1000E+11 8.0769E+10 5.4779E+00 5.4779E+00 1.0956E+01 5.0000E-01 5.0000E-01 7.9369E-01 0.0000E+00 0.0000E+00 0.0000E+00
34.501 6.3512E+03 0.0000E+00 0.0000E+00 2.6278E+00 2.6278E+00 0.0000E+00 0.0000E+00 2.1000E+11 8.0769E+10 5.1598E+00 5.1598E+00 1.0320E+01 5.0000E-01 5.0000E-01 7.4720E-01 0.0000E+00 0.0000E+00 0.0000E+00
46.000 6.1133E+03 0.0000E+00 0.0000E+00 2.5294E+00 2.5294E+00 0.0000E+00 0.0000E+00 2.1000E+11 8.0769E+10 4.6013E+00 4.6013E+00 9.2027E+00 5.0000E-01 5.0000E-01 7.1921E-01 0.0000E+00 0.0000E+00 0.0000E+00
46.001 5.7328E+03 0.0000E+00 0.0000E+00 2.5301E+00 2.5301E+00 0.0000E+00 0.0000E+00 2.1000E+11 8.0769E+10 4.3173E+00 4.3173E+00 8.6346E+00 5.0000E-01 5.0000E-01 6.7444E-01 0.0000E+00 0.0000E+00 0.0000E+00
57.500 5.5097E+03 0.0000E+00 0.0000E+00 2.4316E+00 2.4316E+00 0.0000E+00 0.0000E+00 2.1000E+11 8.0769E+10 3.8327E+00 3.8327E+00 7.6654E+00 5.0000E-01 5.0000E-01 6.4820E-01 0.0000E+00 0.0000E+00 0.0000E+00
57.501 5.1439E+03 0.0000E+00 0.0000E+00 2.4323E+00 2.4323E+00 0.0000E+00 0.0000E+00 2.1000E+11 8.0769E+10 3.5803E+00 3.5803E+00 7.1605E+00 5.0000E-01 5.0000E-01 6.0516E-01 0.0000E+00 0.0000E+00 0.0000E+00
69.000 4.9357E+03 0.0000E+00 0.0000E+00 2.3339E+00 2.3339E+00 0.0000E+00 0.0000E+00 2.1000E+11 8.0769E+10 3.1629E+00 3.1629E+00 6.3258E+00 5.0000E-01 5.0000E-01 5.8067E-01 0.0000E+00 0.0000E+00 0.0000E+00
69.001 4.5845E+03 0.0000E+00 0.0000E+00 2.3346E+00 2.3346E+00 0.0000E+00 0.0000E+00 2.1000E+11 8.0769E+10 2.9396E+00 2.9396E+00 5.8792E+00 5.0000E-01 5.0000E-01 5.3935E-01 0.0000E+00 0.0000E+00 0.0000E+00
80.500 4.3912E+03 0.0000E+00 0.0000E+00 2.2361E+00 2.2361E+00 0.0000E+00 0.0000E+00 2.1000E+11 8.0769E+10 2.5832E+00 2.5832E+00 5.1664E+00 5.0000E-01 5.0000E-01 5.1661E-01 0.0000E+00 0.0000E+00 0.0000E+00
80.501 4.0547E+03 0.0000E+00 0.0000E+00 2.2368E+00 2.2368E+00 0.0000E+00 0.0000E+00 2.1000E+11 8.0769E+10 2.3867E+00 2.3867E+00 4.7734E+00 5.0000E-01 5.0000E-01 4.7702E-01 0.0000E+00 0.0000E+00 0.0000E+00
92.000 3.8762E+03 0.0000E+00 0.0000E+00 2.1384E+00 2.1384E+00 0.0000E+00 0.0000E+00 2.1000E+11 8.0769E+10 2.0852E+00 2.0852E+00 4.1705E+00 5.0000E-01 5.0000E-01 4.5602E-01 0.0000E+00 0.0000E+00 0.0000E+00
92.001 3.5543E+03 0.0000E+00 0.0000E+00 2.1391E+00 2.1391E+00 0.0000E+00 0.0000E+00 2.1000E+11 8.0769E+10 1.9133E+00 1.9133E+00 3.8267E+00 5.0000E-01 5.0000E-01 4.1816E-01 0.0000E+00 0.0000E+00 0.0000E+00
103.500 3.3908E+03 0.0000E+00 0.0000E+00 2.0406E+00 2.0406E+00 0.0000E+00 0.0000E+00 2.1000E+11 8.0769E+10 1.6611E+00 1.6611E+00 3.3223E+00 5.0000E-01 5.0000E-01 3.9891E-01 0.0000E+00 0.0000E+00 0.0000E+00
103.501 3.0836E+03 0.0000E+00 0.0000E+00 2.0413E+00 2.0413E+00 0.0000E+00 0.0000E+00 2.1000E+11 8.0769E+10 1.5117E+00 1.5117E+00 3.0234E+00 5.0000E-01 5.0000E-01 3.6277E-01 0.0000E+00 0.0000E+00 0.0000E+00
115.630 2.9267E+03 0.0000E+00 0.0000E+00 1.9375E+00 1.9375E+00 0.0000E+00 0.0000E+00 2.1000E+11 8.0769E+10 1.2925E+00 1.2925E+00 2.5850E+00 5.0000E-01 5.0000E-01 3.4432E-01 0.0000E+00 0.0000E+00 0.0000E+00
$2 20
0.000 8.3837E+03 0.0000E+00 0.0000E+00 2.9211E+00 2.9211E+00 0.0000E+00 0.0000E+00 2.1000E+17 8.0769E+17 8.4160E+00 8.4160E+00 1.6832E+01 5.0000E-01 5.0000E-01 9.8632E-01 0.0000E+00 0.0000E+00 0.0000E+00
11.500 8.1012E+03 0.0000E+00 0.0000E+00 2.8226E+00 2.8226E+00 0.0000E+00 0.0000E+00 2.1000E+17 8.0769E+17 7.5934E+00 7.5934E+00 1.5187E+01 5.0000E-01 5.0000E-01 9.5308E-01 0.0000E+00 0.0000E+00 0.0000E+00
11.501 7.6767E+03 0.0000E+00 0.0000E+00 2.8233E+00 2.8233E+00 0.0000E+00 0.0000E+00 2.1000E+17 8.0769E+17 7.1991E+00 7.1991E+00 1.4398E+01 5.0000E-01 5.0000E-01 9.0314E-01 0.0000E+00 0.0000E+00 0.0000E+00
23.000 7.4090E+03 0.0000E+00 0.0000E+00 2.7249E+00 2.7249E+00 0.0000E+00 0.0000E+00 2.1000E+17 8.0769E+17 6.4720E+00 6.4720E+00 1.2944E+01 5.0000E-01 5.0000E-01 8.7165E-01 0.0000E+00 0.0000E+00 0.0000E+00
23.001 6.9992E+03 0.0000E+00 0.0000E+00 2.7256E+00 2.7256E+00 0.0000E+00 0.0000E+00 2.1000E+17 8.0769E+17 6.1171E+00 6.1171E+00 1.2234E+01 5.0000E-01 5.0000E-01 8.2343E-01 0.0000E+00 0.0000E+00 0.0000E+00
34.500 6.7464E+03 0.0000E+00 0.0000E+00 2.6271E+00 2.6271E+00 0.0000E+00 0.0000E+00 2.1000E+17 8.0769E+17 5.4779E+00 5.4779E+00 1.0956E+01 5.0000E-01 5.0000E-01 7.9369E-01 0.0000E+00 0.0000E+00 0.0000E+00
34.501 6.3512E+03 0.0000E+00 0.0000E+00 2.6278E+00 2.6278E+00 0.0000E+00 0.0000E+00 2.1000E+17 8.0769E+17 5.1598E+00 5.1598E+00 1.0320E+01 5.0000E-01 5.0000E-01 7.4720E-01 0.0000E+00 0.0000E+00 0.0000E+00
46.000 6.1133E+03 0.0000E+00 0.0000E+00 2.5294E+00 2.5294E+00 0.0000E+00 0.0000E+00 2.1000E+17 8.0769E+17 4.6013E+00 4.6013E+00 9.2027E+00 5.0000E-01 5.0000E-01 7.1921E-01 0.0000E+00 0.0000E+00 0.0000E+00
46.001 5.7328E+03 0.0000E+00 0.0000E+00 2.5301E+00 2.5301E+00 0.0000E+00 0.0000E+00 2.1000E+17 8.0769E+17 4.3173E+00 4.3173E+00 8.6346E+00 5.0000E-01 5.0000E-01 6.7444E-01 0.0000E+00 0.0000E+00 0.0000E+00
57.500 5.5097E+03 0.0000E+00 0.0000E+00 2.4316E+00 2.4316E+00 0.0000E+00 0.0000E+00 2.1000E+17 8.0769E+17 3.8327E+00 3.8327E+00 7.6654E+00 5.0000E-01 5.0000E-01 6.4820E-01 0.0000E+00 0.0000E+00 0.0000E+00
57.501 5.1439E+03 0.0000E+00 0.0000E+00 2.4323E+00 2.4323E+00 0.0000E+00 0.0000E+00 2.1000E+17 8.0769E+17 3.5803E+00 3.5803E+00 7.1605E+00 5.0000E-01 5.0000E-01 6.0516E-01 0.0000E+00 0.0000E+00 0.0000E+00
69.000 4.9357E+03 0.0000E+00 0.0000E+00 2.3339E+00 2.3339E+00 0.0000E+00 0.0000E+00 2.1000E+17 8.0769E+17 3.1629E+00 3.1629E+00 6.3258E+00 5.0000E-01 5.0000E-01 5.8067E-01 0.0000E+00 0.0000E+00 0.0000E+00
69.001 4.5845E+03 0.0000E+00 0.0000E+00 2.3346E+00 2.3346E+00 0.0000E+00 0.0000E+00 2.1000E+17 8.0769E+17 2.9396E+00 2.9396E+00 5.8792E+00 5.0000E-01 5.0000E-01 5.3935E-01 0.0000E+00 0.0000E+00 0.0000E+00
80.500 4.3912E+03 0.0000E+00 0.0000E+00 2.2361E+00 2.2361E+00 0.0000E+00 0.0000E+00 2.1000E+17 8.0769E+17 2.5832E+00 2.5832E+00 5.1664E+00 5.0000E-01 5.0000E-01 5.1661E-01 0.0000E+00 0.0000E+00 0.0000E+00
80.501 4.0547E+03 0.0000E+00 0.0000E+00 2.2368E+00 2.2368E+00 0.0000E+00 0.0000E+00 2.1000E+17 8.0769E+17 2.3867E+00 2.3867E+00 4.7734E+00 5.0000E-01 5.0000E-01 4.7702E-01 0.0000E+00 0.0000E+00 0.0000E+00
92.000 3.8762E+03 0.0000E+00 0.0000E+00 2.1384E+00 2.1384E+00 0.0000E+00 0.0000E+00 2.1000E+17 8.0769E+17 2.0852E+00 2.0852E+00 4.1705E+00 5.0000E-01 5.0000E-01 4.5602E-01 0.0000E+00 0.0000E+00 0.0000E+00
92.001 3.5543E+03 0.0000E+00 0.0000E+00 2.1391E+00 2.1391E+00 0.0000E+00 0.0000E+00 2.1000E+17 8.0769E+17 1.9133E+00 1.9133E+00 3.8267E+00 5.0000E-01 5.0000E-01 4.1816E-01 0.0000E+00 0.0000E+00 0.0000E+00
103.500 3.3908E+03 0.0000E+00 0.0000E+00 2.0406E+00 2.0406E+00 0.0000E+00 0.0000E+00 2.1000E+17 8.0769E+17 1.6611E+00 1.6611E+00 3.3223E+00 5.0000E-01 5.0000E-01 3.9891E-01 0.0000E+00 0.0000E+00 0.0000E+00
103.501 3.0836E+03 0.0000E+00 0.0000E+00 2.0413E+00 2.0413E+00 0.0000E+00 0.0000E+00 2.1000E+17 8.0769E+17 1.5117E+00 1.5117E+00 3.0234E+00 5.0000E-01 5.0000E-01 3.6277E-01 0.0000E+00 0.0000E+00 0.0000E+00
115.630 2.9267E+03 0.0000E+00 0.0000E+00 1.9375E+00 1.9375E+00 0.0000E+00 0.0000E+00 2.1000E+17 8.0769E+17 1.2925E+00 1.2925E+00 2.5850E+00 5.0000E-01 5.0000E-01 3.4432E-01 0.0000E+00 0.0000E+00 0.0000E+00
\ No newline at end of file
#1 Tower top
r m x_cg y_cg ri_x ri_y x_sh y_sh E G I_x I_y I_p k_x k_y A pitch x_e y_e
$1 2 towertop with nacelle mass on bottom element. flexible
0.0 1.00E-04 0 0 1.36E+00 1.36E+00 0 0 2.10E+11 8.08E+10 5.52E-01 5.52E-01 1.10E+00 0.5 0.5 2.98E-01 0 0 0
2.75 1.00E-04 0 0 1.36E+00 1.36E+00 0 0 2.10E+11 8.08E+10 5.52E-01 5.52E-01 1.10E+00 0.5 0.5 2.98E-01 0 0 0
r m x_cg y_cg ri_x ri_y x_sh y_sh E G I_x I_y I_p k_x k_y A pitch x_e y_e
$2 2 towertop with nacelle mass on bottom element. Stiff
0.0 1.00E-04 0 0 1.36E+00 1.36E+00 0 0 2.10E+17 8.08E+17 5.52E-01 5.52E-01 1.10E+00 0.5 0.5 2.98E-01 0 0 0
2.75 1.00E-04 0 0 1.36E+00 1.36E+00 0 0 2.10E+17 8.08E+17 5.52E-01 5.52E-01 1.10E+00 0.5 0.5 2.98E-01 0 0 0
\ No newline at end of file
1 HAWC_AE data
1 40 r,c,t/c prin.set
0.000000000000000e+00 5.380000000000000e+00 1.000000000000000e+02 1
2.000000000000000e+00 5.380000000000000e+00 1.000000000000000e+02 1
4.712000000000000e+00 5.380000000000000e+00 9.691500000000001e+01 1
5.396000000000000e+00 5.380000000000000e+00 9.529100000000000e+01 1
6.319000000000000e+00 5.388600000000000e+00 9.266400000000000e+01 1
7.475000000000000e+00 5.421200000000000e+00 8.877500000000001e+01 1
8.858000000000001e+00 5.486500000000000e+00 8.344799999999999e+01 1
1.045800000000000e+01 5.588700000000000e+00 7.668899999999999e+01 1
1.226800000000000e+01 5.724700000000000e+00 6.875400000000000e+01 1
1.427500000000000e+01 5.881700000000000e+00 6.027300000000000e+01 1
1.646700000000000e+01 6.034600000000000e+00 5.229100000000000e+01 1
1.883300000000000e+01 6.147800000000000e+00 4.582600000000000e+01 1
2.135600000000000e+01 6.202000000000000e+00 4.095000000000000e+01 1
2.402300000000000e+01 6.195000000000000e+00 3.734300000000000e+01 1
2.681700000000000e+01 6.129200000000000e+00 3.451800000000000e+01 1
2.972100000000000e+01 6.009600000000000e+00 3.227000000000000e+01 1
3.271900000000000e+01 5.843200000000000e+00 3.048800000000000e+01 1
3.579100000000000e+01 5.640000000000000e+00 2.902000000000000e+01 1
3.892000000000000e+01 5.410700000000000e+00 2.775600000000000e+01 1
4.208600000000000e+01 5.161300000000000e+00 2.669300000000000e+01 1
4.527200000000000e+01 4.897400000000000e+00 2.582900000000000e+01 1
4.845700000000000e+01 4.625500000000000e+00 2.515700000000000e+01 1
5.162300000000000e+01 4.351900000000000e+00 2.466500000000000e+01 1
5.475000000000000e+01 4.082700000000000e+00 2.433800000000000e+01 1
5.782000000000000e+01 3.822000000000000e+00 2.415600000000000e+01 1
6.081500000000000e+01 3.572400000000000e+00 2.410000000000000e+01 1
6.371600000000000e+01 3.336400000000000e+00 2.410000000000000e+01 1
6.650600000000000e+01 3.116100000000000e+00 2.410000000000000e+01 1
6.916800000000001e+01 2.913000000000000e+00 2.410000000000000e+01 1
7.168700000000000e+01 2.727500000000000e+00 2.410000000000000e+01 1
7.404700000000000e+01 2.559500000000000e+00 2.410000000000000e+01 1
7.623399999999999e+01 2.408700000000000e+00 2.410000000000000e+01 1
7.823399999999999e+01 2.266000000000000e+00 2.410000000000000e+01 1
8.003700000000001e+01 2.117500000000000e+00 2.410000000000000e+01 1
8.163100000000000e+01 1.958800000000000e+00 2.410000000000000e+01 1
8.300600000000000e+01 1.791300000000000e+00 2.410000000000000e+01 1
8.415500000000000e+01 1.601300000000000e+00 2.410000000000000e+01 1
8.506999999999999e+01 1.385800000000000e+00 2.410000000000000e+01 1
8.574600000000000e+01 1.138400000000000e+00 2.410000000000000e+01 1
8.636600000000000e+01 8.335399999999999e-01 2.410000000000000e+01 1
This diff is collapsed.
1 HAWC_AE data
1 30 r,c,t/c prin.set
0.000000000000000e+00 4.599999999986159e+00 1.000000000000000e+02 1
3.346036023631999e+00 4.503751935780350e+00 1.000000000000000e+02 1
6.928371308882215e+00 4.734232265510711e+00 7.994935950727371e+01 1
1.073618672695723e+01 5.079905417945576e+00 5.944683119578360e+01 1
1.475283293068498e+01 5.579338369623827e+00 4.551314434467542e+01 1
1.895572128151712e+01 5.981607601802685e+00 3.651050386894947e+01 1
2.331652909473966e+01 5.989114532926438e+00 3.307394275293273e+01 1
2.780174906437233e+01 5.771948262225252e+00 3.257677939872725e+01 1
3.237358105280790e+01 5.442530713053446e+00 3.260721212219680e+01 1
3.699112808390673e+01 5.042569194805548e+00 3.248838702049363e+01 1
4.161182280094208e+01 4.615677015120212e+00 3.184173210317119e+01 1
4.619298192336360e+01 4.191381010839568e+00 3.067357095549237e+01 1
5.069336968075208e+01 3.784580248915954e+00 2.921363608236722e+01 1
5.507465002587286e+01 3.407514175115816e+00 2.766905926997110e+01 1
5.930262186289448e+01 3.068594995287317e+00 2.621244029652246e+01 1
6.334815876403687e+01 2.770711673089694e+00 2.496874256270934e+01 1
6.718780959882527e+01 2.513005682030002e+00 2.402771112235106e+01 1
7.080405310348999e+01 2.292062559532958e+00 2.337863755214868e+01 1
7.418523206350920e+01 2.104157589857689e+00 2.296142798940658e+01 1
7.732521741994316e+01 1.945178933083906e+00 2.277166006223182e+01 1
8.022286728918172e+01 1.810497608047753e+00 2.278191303361120e+01 1
8.288135069317615e+01 1.695589245274397e+00 2.294484721851439e+01 1
8.530740235624111e+01 1.596677297729864e+00 2.319998480643640e+01 1
8.751056569514995e+01 1.502099271323690e+00 2.347895690236019e+01 1
8.950246873951795e+01 1.397904272766961e+00 2.370896766544338e+01 1
9.129616447199884e+01 1.275160054862760e+00 2.381387579726771e+01 1
9.290555468228828e+01 1.132149082134654e+00 2.371262967279016e+01 1
9.434490593639900e+01 9.587993684155002e-01 2.331339070794791e+01 1
9.562845813937496e+01 7.899326899358918e-01 2.249954241113254e+01 1
9.677012044131477e+01 5.912533311646067e-01 2.110000000000000e+01 1
1 number of sets, Nset
-----------------
#1 written using the HAWC2 OpenMDAO wrapper
Case ID: iea10mw_rc1_hawc2
================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================
r [0] m [1] x_cg [2] y_cg [3] ri_x [4] ri_y [5] x_sh [6] y_sh [7] E [8] G [9] I_x [10] I_y [11] K [12] k_x [13] k_y [14] A [15] pitch [16] x_e [17] y_e [18]
================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================
$1 2
0.000000000000000e+00 1.000000000000000e+00 0.000000000000000e+00 0.000000000000000e+00 1.500000000000000e+00 1.500000000000000e+00 0.000000000000000e+00 0.000000000000000e+00 2.100000000000000e+11 8.080000000000000e+10 5.520000000000000e+00 5.520000000000000e+00 1.100000000000000e+00 5.000000000000000e-01 5.000000000000000e-01 2.980000000000000e-01 0.000000000000000e+00 0.000000000000000e+00 0.000000000000000e+00
2.800000000000000e+00 1.000000000000000e+00 0.000000000000000e+00 0.000000000000000e+00 1.500000000000000e+00 1.500000000000000e+00 0.000000000000000e+00 0.000000000000000e+00 2.100000000000000e+11 8.080000000000000e+10 5.520000000000000e+00 5.520000000000000e+00 1.100000000000000e+00 5.000000000000000e-01 5.000000000000000e-01 2.980000000000000e-01 0.000000000000000e+00 0.000000000000000e+00 0.000000000000000e+00
================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================
r [0] m [1] x_cg [2] y_cg [3] ri_x [4] ri_y [5] x_sh [6] y_sh [7] E [8] G [9] I_x [10] I_y [11] K [12] k_x [13] k_y [14] A [15] pitch [16] x_e [17] y_e [18]
================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================
$2 2
0.000000000000000e+00 1.000000000000000e+00 0.000000000000000e+00 0.000000000000000e+00 1.500000000000000e+00 1.500000000000000e+00 0.000000000000000e+00 0.000000000000000e+00 2.100000000000000e+16 8.080000000000000e+15 5.520000000000000e+00 5.520000000000000e+00 1.100000000000000e+00 5.000000000000000e-01 5.000000000000000e-01 2.980000000000000e-01 0.000000000000000e+00 0.000000000000000e+00 0.000000000000000e+00
2.800000000000000e+00 1.000000000000000e+00 0.000000000000000e+00 0.000000000000000e+00 1.500000000000000e+00 1.500000000000000e+00 0.000000000000000e+00 0.000000000000000e+00 2.100000000000000e+16 8.080000000000000e+15 5.520000000000000e+00 5.520000000000000e+00 1.100000000000000e+00 5.000000000000000e-01 5.000000000000000e-01 2.980000000000000e-01 0.000000000000000e+00 0.000000000000000e+00 0.000000000000000e+00
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment