Reevaluate what should be promoted out of an external subsystem in mission.
@ehariton is already working on this.
Since Feb 12, 2026.
- Dominant language
- Python
- Stars
- 287
- Forks
- 140
- Avg merge
- 6d 14h
- Merged PRs (30d)
- 18
Description
Description
Right now, we promote aircraft:* and mission:* out of any external subsystem that is added to the mission. We discovered that we are missing promotion of state variables, because they are not in the hierarchy, and while they may be classed in the hieararchy as Dynamic.*, they do not share a common prefix.
Figure out the best solution for this. There are several possibilities, but some may have drawbacks.
- promote_inputs with '*' on external subsystems in mission.
- Teach user to use the
targetsmetadata in the state dictionary to specify the true state path, which will include the external subsystem's name at the front of the path to the state. [This is what we are doing now in the battery_builder in the energy subsystem]
2a. Automatically fill thetargetsfield for the user - Automatically add the state names to the promotes on the external subsystem.
Example
subsystems/energy/battery_builder.py
This model contains a state that isn't promoted out of the external subsystem because it does not begin with aircraft or mission.
Aviary Version
0.9.4-dev
Relevant environment information
No response
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.