|
@@ -198,7 +198,7 @@ class Node:
|
|
avgSpeedDecrease = avgSpeed * 0.80
|
|
avgSpeedDecrease = avgSpeed * 0.80
|
|
decreasedSpeedFlighttime = (trackmiles / avgSpeedDecrease) * 3600.0 # given in seconds
|
|
decreasedSpeedFlighttime = (trackmiles / avgSpeedDecrease) * 3600.0 # given in seconds
|
|
|
|
|
|
- # calculate shortcut gain and add 15 miles for final and base turn
|
|
|
|
|
|
+ # use the the distance to the IAF for optimizations
|
|
timeUntilIAF = flightTime - flightTimeOnStar
|
|
timeUntilIAF = flightTime - flightTimeOnStar
|
|
if 0.0 > timeUntilIAF.total_seconds():
|
|
if 0.0 > timeUntilIAF.total_seconds():
|
|
timeUntilIAF = timedelta(seconds = 0)
|
|
timeUntilIAF = timedelta(seconds = 0)
|