OpenMDAO / OpenMDAO/Aviary

Standardize component defaults across Aviary

Open
#605 6 comments 0 reactions 6 assignees View on GitHub

@nathanperreau is already working on this.

Since Feb 12, 2026.

code cleanup
Dominant language
Python
Stars
287
Forks
140
Avg merge
6d 14h
Merged PRs (30d)
18

Description

Desired capability or behavior.

With many of our components, default values for inputs/outputs are provided that come from a variety of sources - maybe there were old GASP defaults, generally reasonable values, or values that match a particular aircraft model. This is not desired for a variety of reasons.

  • These defaults can differ from what is specified in the variable metadata, which confuses which value is the "true" default
  • It can make it difficult to realize that a value was never set/specified
  • It perpetuates bad coding practices, where data should be kept separate from code
    among other things. A standard default (such as 0 or 1) should be enforced for all component inputs/outputs. Options may want similar treatment but may require additional thought before implementing.
Is your feature request related to a problem? Please describe.

No response

Associated Bug Report

No response

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.