OpenMDAO / Aviary

NASA's aircraft analysis, design, and optimization tool
https://openmdao.github.io/Aviary/
Other
134 stars 59 forks source link

Ability to run 2DOF-mission problem using level 2 interface without .csv #313

Closed jkirk5 closed 2 weeks ago

jkirk5 commented 3 months ago

Desired capability or behavior.

There is currently no way to provide initial guesses through the python interface, which prevents running 2DOF mission problems without a .csv file.

Is your feature request related to a problem? Please describe.

'load_inputs()' in methods_for_level2.py has the functionality to provide an AviaryValues object instead of a .csv. However, for 2DOF-mission problems initial guesses are strictly required, usually provided in the .csv as additional inputs. When trying to run a 2DOF-mission problem without a .csv, an error is triggered because initial guesses are defaulted to an empty dict.

Associated Bug Report

No response