Hi Folks,
I am just starting out on my journey to learn SUAVE, and have run the tut_mission_B737_AVL.py script.
However, I am getting the following error:
File "C:\Users\grant\AppData\Local\Programs\Python\Python311\Lib\site-packages\suave-2.5.2-py3.11.egg\SUAVE\Methods\Aerodynamics\AVL\read_results.py", line 166, in read_results
wing_local_span[i,j] = float(aero_lines_2[header + j + line_idx][8:16].strip())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: could not convert string to float: 'orces re'
Looking into the read_resuls.py script, it looks like the script is expecting every surface to have 20 rows (Nspanwise = 20), however, the last 2 surfaces have only 10 rows (Nspanwise = 10). See attached screenshots.
It looks like the .avl file doesn't specify Nspanwise for the last two surfaces, so it defaults to 10?
My questions are:
1. Does anyone else have this issue?
2. Is Nspanwise specified directly somewhere in the input python script? or somewhere else in SUAVE? I couldn't find any reference to it in the B737_AVL python file
3. Does anyone have a suggestion on how to resolve this issue?
Thanks in advance for the help!
Regards,
Grant.