-
Notifications
You must be signed in to change notification settings - Fork 9
WISDEM NSGA2 incorporation #158
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: develop
Are you sure you want to change the base?
Conversation
Merge develop changes into main
Update installation instructions
…re/outside_driver
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR integrates the NSGA2 (Non-dominated Sorting Genetic Algorithm II) optimization driver from WISDEM into the ARD framework, enabling its use as an OpenMDAO driver for multi-objective optimization problems.
- Adds NSGA2Driver import and conditional instantiation in the driver setup logic
- Introduces a new visualization utility function for calculating plot ranges with configurable buffers
- Provides a new example configuration (example 06) demonstrating NSGA2 driver usage for onshore multifidelity optimization
Reviewed changes
Copilot reviewed 4 out of 5 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
| ard/api/interface.py | Adds NSGA2Driver support with conditional instantiation based on driver name in configuration |
| ard/viz/utils.py | New utility function for calculating plot value ranges with percentage-based buffers |
| examples/06_onshore_multifidelity/inputs/windio.yaml | Configuration file defining wind plant site, boundaries, and turbine layout for example 06 |
| examples/06_onshore_multifidelity/inputs/ard_system.yaml | System configuration showcasing NSGA2 driver setup with optimization parameters, design variables, constraints, and objectives |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
jaredthomas68
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks pretty good. Just a few comments, mostly on the example.
Bring in NSGA2 from the WISDEM and enable its use as an OpenMDAO driver.