Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Aircraft 3D model display error due to getting units for the promoted name #596

Closed
hschilling opened this issue Oct 30, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@hschilling
Copy link
Member

Description

When creating the Aircraft 3D model display in the dashboard, some examples have problems getting the units for variables which is needed when making this display. For the example below the error you see in the Aircraft 3d model tab is

Unable to create aircraft 3D model display due to error: Can't get units for the promoted name 'aircraft:fuselage:length' because it refers to multiple inputs: ['pre_mission.core_subsystems.core_geometry.characteristic_lengths.aircraft:fuselage:length', 'pre_mission.core_subsystems.core_geometry.fuselage.aircraft:fuselage:length', 'pre_mission.core_subsystems.core_geometry.fuselage_prelim.aircraft:fuselage:length', 'pre_mission.core_subsystems.core_mass.electrical.aircraft:fuselage:length', 'pre_mission.core_subsystems.core_mass.fuselage.aircraft:fuselage:length', 'pre_mission.core_subsystems.core_mass.landing_group.main_landing_gear_length.aircraft:fuselage:length']. Access the units using an absolute path name.

Example

Do these commands

python ./aviary/examples/external_subsystems/simple_weight/run_simple_weight.py
aviary dashboard run_simple_weight

Aviary Version

0.9.4-dev

Relevant environment information

No response

@hschilling hschilling added the bug Something isn't working label Oct 30, 2024
@hschilling hschilling self-assigned this Oct 30, 2024
@hschilling
Copy link
Member Author

Duplicate of #588

@hschilling hschilling marked this as a duplicate of #588 Nov 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant