OpenMDAO /Aviary
NASA's aircraft analysis, design, and optimization tool
★ 298⑂ 151👁 8⑃ 827● 492▤ 12◈ 41
298
stars
151
forks
8
watchers
827
prs
492
issues
12
releases
41
discussions
README
Aviary: NASA's aircraft design tool
Aviary is an aircraft analysis, design, and optimization tool built on top of the Python-based optimization framework OpenMDAO.
Aviary incorporates aircraft sizing equations from its predecessors GASP (General Aviation Synthesis Program) and FLOPS (Flight Optimization System).
There are two options for the mission analysis portion of this code, a two-degrees-of-freedom (2DOF) approach, and an energy-state approach.
The user can select which type of mission analysis to use, as well as whether to use the FLOPS-based code or the GASP-based code for the weight, sizing, and aerodynamic relations.
Aviary provides a flexible and user-friendly optimization platform for conceptual aircraft design.
This tool is being used by college level senior design courses, NASA internally, a industry partners.
Aviary is under active development! While the base features of the code are relatively stable, new releases may make changes that require users on the bleeding-edge to update their models.
If you are using Aviary, please Cite us!
Documentation
Read the Docs.
Overview Slide Slow is a great place to get started if you are wondering what Aviary is at a high level.
Overview Video gives a 5 minute introduction to Aviary.
Paper by Gratz et al. describing aviaries capabilities in detail.
How NASA uses aviary to model Aircraft by Aretskin-Hariton et al. describes how aviary was applied to model a Transonic Truss-Braced Wing (TTBW) aircraft.
Installation
Pip Install
The simplest installation method for users is to install via pip:
pip install aviary
Please see the installation doc page for more detailed instructions.
Docker Install
You can also install aviary as a package/image using docker:
docker pull ghcr.io/openmdao/aviary:latest
Validation
This code has been validated using output and data from the GASP and FLOPS codes themselves. The GASP-based weight calculations in this code include in their comments which versions of the GASP standalone weights module were used in validation. The aero and EOM subsystem validations were based on runs of the entire GASP and FLOPS code as they stood in the summer of 2021 and the summer of 2022 respectively.
Quick testing
The repository installation can be tested using the command testflo at the top-level Aviary folder. If you have both SNOPT and IPOPT installed the output should look something like this:
OK
Passed: 706
Failed: 0
Skipped: 3
Ran 709 tests using 16 processes
Wall clock time: 00:00:16.97
Full testing
In addition to all of the quicker tests, we include multiple integration tests within Aviary.
These have also been known as "benchmarks".
Due to their length, these tests are not run when using the above command.
Instead, you can use the run_all_benchmarks.py file in the Aviary/aviary folder, which is just a light wrapper around the testflo call.
This will run all of the longer tests in parallel usiTop issues
#598Convert Options to Inputs19 comments · 2024-11-04#605Standardize component defaults across Aviary6 comments · 2024-11-13#502Modify Aviary to default to basic optimizers (like SLSQP) across the board6 comments · 2024-08-26#363Unify legacy-code based constants5 comments · 2024-06-27#270Complete code coverage for unittesting5 comments · 2024-05-10#233Make initial guessing consistent in terms of (initial, final) value pairs or (initial, duration) 5 comments · 2024-04-11#825Promote `aircraft:*` and `mission:*` input variables from the mission group4 comments · 2025-07-21#703The get_constraints method is never called by our core builders.4 comments · 2025-03-17
Discussions
#1316Custom 2DOF EOM with velocity/flight path angle as Dymos states. Endpoint singularity when linking flight path angle across a climb-level flight phase junction3 comments · 2026-09-25#1290Inquiry: Dynamic Throttle Allocation for Heterogeneous Engines in 2DOF1 comments · 2026-08-31#1261v1.0.20 comments · 2026-08-11#1256Inconsistency between version 0.10.0.dev (commit 867efc5) and version 1.0.11 comments · 2026-08-11#1213v1.0.10 comments · 2026-07-02#1123v1.0.00 comments · 2026-04-29#1007Flops based hybrid powered turboprop aircraft battery builder1 comments · 2026-02-25#974Minimum required inputs for sizing and aircraft and running a mission1 comments · 2026-01-22
Latest release
v1.0.2 v1.0.2 2026-08-11What's Changed 1.0.2-dev version increment by @jkirk5 in https://github.com/OpenMDAO/Aviary/pull/1214 Cleaned up a warning message when using fixed throttle allocation for multi-engine. by @Kenneth-T-Moore in https://github.com/OpenMDAO/Aviary/pull/1207 Moved the total nacelle wetted area calc into its own component. by @Kenneth-T-Moore in https://github.com/OpenMDAO/Aviary/pull/1210 Remove ambiance dependency from OpenAeroStruct wing mass example by @zain-asif-dev in https://github.com/OpenMDAO/Aviary/pull/1216 Simplified API for input/output helper functions by @jkirk5 in https://g