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
Hello! Thanks for all your work on AirTrafficSim -- it has been an incredibly helpful tool for my research.
I have encountered an issue while trying to use piston and turboprop aircraft (e.g., BE20, C208). The Performance.cal_transition_alt function assumes that perf_model.climb_schedule[n, -2] and perf_model.climb_schedule[n, -1] are non-zero, but this appears to only be the case for jet aircraft. See the following code:
I was able to resolve this issue by simply using the jet calculations for all aircraft, but this clearly isn't the right approach. I did not have time to dig into the flight models too deeply, but figured I'd report the problem here to see if anyone more familiar with the code might have some pointers!
Hello! Thanks for all your work on AirTrafficSim -- it has been an incredibly helpful tool for my research.
I have encountered an issue while trying to use piston and turboprop aircraft (e.g., BE20, C208). The
Performance.cal_transition_alt
function assumes thatperf_model.climb_schedule[n, -2]
andperf_model.climb_schedule[n, -1]
are non-zero, but this appears to only be the case for jet aircraft. See the following code:AirTrafficSim/airtrafficsim/core/performance/bada.py
Lines 1029 to 1036 in d8a41e7
I was able to resolve this issue by simply using the jet calculations for all aircraft, but this clearly isn't the right approach. I did not have time to dig into the flight models too deeply, but figured I'd report the problem here to see if anyone more familiar with the code might have some pointers!
Thanks!
The text was updated successfully, but these errors were encountered: