Default values do not work when using multiple engine types
@jkirk5 is already working on this.
Since Nov 28, 2025.
- Dominant language
- Python
- Stars
- 287
- Forks
- 140
- Avg merge
- 6d 14h
- Merged PRs (30d)
- 18
Description
Description
Normally, if your Aviary model does not define a variable, the default value is used. In the case where your model using multiple engine types, and you do not specify a required variable that should be vectorized across engines (Aircraft.Engine.*, Aircraft.Nacelle.*), an error occurs. This happens because all set_input_defaults() is called on every variable in the metadata using metadata defaults, which neglects to add the vectorization needed for multiple engine types.
Example
This error can be seen when running test_bench_multiengine.py, which fails because Aircraft.Nacelle.LAMINAR_FLOW_UPPER and Aircraft.Nacelle.LAMINAR_FLOW_LOWER were not defined in the input data used
Aviary Version
latest
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.