Skip to content

nasa/GlennOPT

Repository files navigation

GlennOPT

Installation Instructions

pip install glennopt

Objective

The objective of this project is to develop a standalone multi-objective optimization tool that handles failed simulations and can be used to spam the cluster. This tool will be entirely written in python making it compatible with windows and linux.

Why this tool?

This tool overcomes some of the limitations of gradient based optimization where F(x) = y which isn't always true for all simulations. GlennOPT uses a variation of Genetic Optimizers called Differential Evolution (DE). DE is capable of handling failed simulations. In the event of a failure the objective is set to a high value making the individual" undesireable for mutation and crossover. The other reason why someone would use this tool is if they had other parameters besides the objective that they wanted to keep track of or constrain. A good example of this is optimizing turbomachinery. There are many other parameters other than efficiency and power that matter. You might want to keep track of the mach number entering and exiting the geometry, flow angles, just to name a few. I recommend scipy minimize if you need something Gradient based.

Summary

Many optimization packages seem like a compile of past tools written in other languages, they lack universal features described above that can make big data really happen at Glenn

Project Goals and Tasks

Key Features

  • Keeps track of each evaluation
  • Restarts from an Population folder
  • Execution timeouts (If CFD is stuck, kill it, but keep eval folder)
  • Exports all results to tecplot, csv
  • Track performance parameters
  • Apply constraints to performance parameters Future Features
  • Addition of other optimization algorithms
  • Incorporate metamodels (machine learning, kriging) directly in the optimization

Tutorials

Multi-Objective Kursawe Function

Single Objective Rosenbrock

Multi and Single Objective Probe Placement

Dataframe to Tecplot

Contributors

Position Dates Responsibility
Justin Rush LERCIP Intern Fall 2020 CCD DOE
Nadeem Kever LERCIP Intern Summer-Fall 2020 Single Objective DE
Trey Harrison Researcher Fall 2020- Probe Optimization test case
Paht Juangphanich Researcher Spring 2020- Architect

Funding

The development of this library was supported by NASA AATT (Advance Air Transport Technology). The development is supported by NASA Glenn LTE Branch however anyone is welcome to contribute by submitting a pull request.

License

NASA Open Source Agreement