fast-aircraft-design / FAST-OAD

FAST-OAD: An open source framework for rapid Overall Aircraft Design
GNU General Public License v3.0
47 stars 25 forks source link

Change variables displayed by default in the `MissionViewer` #534

Closed florentLutz closed 2 weeks ago

florentLutz commented 2 weeks ago

Is your feature request related to a problem? Please describe. By default when the MissionViewer is displayed, it displays the altitude as a function of the delta to the ISA. It doesn't make a lot of sense in terms of aircraft design. In the comment of the code, however it tells that it displays the altitude as a function of the ground distance which is selected with hard coded index. This tells me that it may have originally done the job but now is not working as intended anymore and that the problem will repeat with each subsequent addition of column in the mission .CSV.

Describe the solution you'd like Instead of using hard coded index, look for the right index among the column name