ImperialCollegeLondon / sharpy

Simulation of High Aspect Ratio aeroplanes and wind turbines in Python: a nonlinear aeroelastic code
https://imperial.ac.uk/aeroelastics/sharpy
BSD 3-Clause "New" or "Revised" License
119 stars 58 forks source link

Issue in running parametric_hale.py #251

Open avvelan opened 10 months ago

avvelan commented 10 months ago

hi, I have downloaded the file

https://github.com/ACea15/Projects-SHARPy/blob/dev_rhea/aeroelasticPMOR_Optimization/parametric_aircraft/parametric_hale.py

I am using current sharpy version. I am getting the following error.

File "/home/avn/HALE/struct/sharpy/parametric_aircraft/parametric_hale.py", line 195, in g1 = ga.Model('sharpy',['sharpy'], model_dict=g1mm, components_dict=g1c, AttributeError: 'float' object has no attribute 'Model' Please help me in rectify this.