OpenMDAO / Aviary

NASA's aircraft analysis, design, and optimization tool
https://openmdao.github.io/Aviary/
Other
110 stars 51 forks source link

Expose a way for users to link values across phases in level 2 #234

Open johnjasa opened 3 months ago

johnjasa commented 3 months ago

Desired capability or behavior.

Users want to be able to link variables between phases. These variables might be computed; an example of this is throttle. To enforce continuity in the throttle profile across phase boundaries, users would have to add a linkage constraint. We should expose a way in level 2 through the phase_info for a user to specify linkages between phases.

We'll have to think about the best implementation of this, especially how we expose it to the user, because these linkages would deal with multiple phases. Should there be a separate linkages section at the top level of phase_info? Should we have a linked_variables entry in each phase and only if two (or more) neighboring phases have the variable in there do we link them?

Is your feature request related to a problem? Please describe.

No response

Associated Bug Report

No response