Skip to content

Add ref scaling to gross_mass_resid constraint#1053

Merged
Kenneth-T-Moore merged 1 commit intoOpenMDAO:mainfrom
bdphilli:fix-gross-mass-resid-scaling
Mar 31, 2026
Merged

Add ref scaling to gross_mass_resid constraint#1053
Kenneth-T-Moore merged 1 commit intoOpenMDAO:mainfrom
bdphilli:fix-gross-mass-resid-scaling

Conversation

@bdphilli
Copy link
Copy Markdown
Contributor

The gross_mass_resid constraint (design_mass - actual_mass >= 0) had no ref, leaving it unscaled. For multi-mission problems where fleet missions are much lighter than the design mission, the residual can be 10-20% of GROSS_MASS, creating poorly scaled constraints.

Set ref = GROSS_MASS/4 so that typical residual values are O(0.2-0.6) in scaled space.

Summary

Summary of PR.

Related Issues

  • Resolves #

Backwards incompatibilities

None

New Dependencies

None

The gross_mass_resid constraint (design_mass - actual_mass >= 0) had
no ref, leaving it unscaled. For multi-mission problems where fleet
missions are much lighter than the design mission, the residual can
be 10-20% of GROSS_MASS, creating poorly scaled constraints.

Set ref = GROSS_MASS/4 so that typical residual values are O(0.2-0.6)
in scaled space.
Copy link
Copy Markdown
Contributor

@ehariton ehariton left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If this gets merged in after #1050 there will be a merge conflict. and we'll need to update
Mission.Design.GROSS_MASS to Aircraft.Design.GROSS_MASS

@Kenneth-T-Moore Kenneth-T-Moore added this pull request to the merge queue Mar 31, 2026
Merged via the queue into OpenMDAO:main with commit c718e88 Mar 31, 2026
10 checks passed
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.

3 participants