Skip to content

Fix to Multimission so that it supports adding external subsystems. - #1362

Open
Kenneth-T-Moore wants to merge 5 commits into
OpenMDAO:mainfrom
Kenneth-T-Moore:multi_mission_propulsion
Open

Kenneth-T-Moore wants to merge 5 commits into
OpenMDAO:mainfrom
Kenneth-T-Moore:multi_mission_propulsion

Conversation

@Kenneth-T-Moore

Copy link
Copy Markdown
Member

Summary

Some time ago, we changed the API for adding external subsystems so that they are added via load_external_subsystems. This required delaying check_and_preprocess_inputs until after the subsystems are loaded. We never propagated that change into the multimission feature, and as a result, check_and_preprocess_inputs was called automatically during add_aviary_input, which is before the external subsystems are loaded. This resulted in some cryptic openmdao connection errors, particularly when one of the subsystems is propulsion.

Related Issues

  • Resolves #

Backwards incompatibilities

The check_and_preprocess_inputs must now be manually called after all aviary groups are added to a multimission problem.

AI Usage

Disclose any AI usage in this PR, including models used and files affected.

This branch has not been deployed

No deployments
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.

1 participant