Route
route
¤
AircraftRoute
¤
Options
¤
Options(
tpd_mode: TPDMode = TPDMode.AUTO,
trips_per_day_per_ac: int = 1,
max_distance: float = 20015.086796020572,
max_flight_time: float = 24.0,
config_algorithm: None | Algorithm | Algorithm = None,
sort_by: SortBy = SortBy.PER_TRIP,
)
Stopover
¤
Warning
¤
Warning(value: int)
Members:
ERR_RWY_TOO_SHORT
ERR_DISTANCE_ABOVE_SPECIFIED
ERR_DISTANCE_TOO_LONG
ERR_DISTANCE_TOO_SHORT
REDUCED_CONTRIBUTION
ERR_NO_STOPOVER
ERR_FLIGHT_TIME_ABOVE_SPECIFIED
ERR_INSUFFICIENT_DEMAND
ERR_TRIPS_PER_DAY_TOO_HIGH
calc_fuel
staticmethod
¤
calc_fuel(
ac: Aircraft,
distance: float,
user: User = am4.utils.game.User.Default(),
ci: int = 200,
) -> float
create
staticmethod
¤
create(
ap0: Airport,
ap1: Airport,
ac: Aircraft,
options: Options = AircraftRoute.Options(),
user: User = am4.utils.game.User.Default(),
) -> AircraftRoute