You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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 allset_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 becauseAircraft.Nacelle.LAMINAR_FLOW_UPPER
andAircraft.Nacelle.LAMINAR_FLOW_LOWER
were not defined in the input data usedAviary Version
latest
Relevant environment information
No response
The text was updated successfully, but these errors were encountered: