Skip to content

Conversation

@cfrontin
Copy link
Collaborator

Bring in NSGA2 from the WISDEM and enable its use as an OpenMDAO driver.

@cfrontin cfrontin changed the base branch from main to develop November 25, 2025 16:28
Copy link
Contributor

Copilot AI left a 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.

Copy link
Contributor

@jaredthomas68 jaredthomas68 left a 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants