Class: FlightPlanPredictorUtils
Utilities for FlightPlanPredictor
Methods
predictFuelUsage
▸ predictFuelUsage(gs
, distance
, fuelFlow
, fuelWeight
): number
Predicts fuel usage to fly a distance at a ground speed with a fuel flow and weight
Parameters
Name | Type | Description |
---|---|---|
gs | number | the GPS ground speed in knots |
distance | number | the distance in nautical miles |
fuelFlow | number | the total fuel flow in gallons per hour |
fuelWeight | number | the fuel weight in pounds per gallon |
Returns
number
the predicted fuel usage in pounds
Defined in
src/sdk/utils/predictions/FlightPlanPredictorUtils.ts:36
predictTime
▸ predictTime(gs
, distance
): number
Predicts time to fly a distance at a ground speed
Parameters
Name | Type | Description |
---|---|---|
gs | number | the GPS ground speed in knots |
distance | number | the distance in nautical miles |
Returns
number
the predicted time in seconds duration
Defined in
src/sdk/utils/predictions/FlightPlanPredictorUtils.ts:22