fastoad.models.performances.mission.mission module

Definition of aircraft mission.

class fastoad.models.performances.mission.mission.Mission(name: str = '', _target: FlightPoint = None, target_fuel_consumption: float | None = None, reserve_ratio: float | None = 0.0, reserve_base_route_name: str | None = None, fuel_accuracy: float = 10.0)[source]

Bases: FlightSequence

Computes a whole mission.

Allows to define a target fuel consumption for the whole mission.

target_fuel_consumption: float | None = None

If not None, the mission will adjust the first

reserve_ratio: float | None = 0.0
reserve_base_route_name: str | None = None
fuel_accuracy: float = 10.0

Accuracy on actual consumed fuel for the solver. In kg

property consumed_fuel: float | None

Total consumed fuel for the whole mission (after launching compute_from())

property first_route: RangedRoute

First route in the mission.

compute_from(start: FlightPoint) DataFrame[source]

Computes a flight sequence from provided start point.

Parameters:

start – the initial flight point, defined for altitude, mass and speed (true_airspeed, equivalent_airspeed or mach). Can also be defined for time and/or ground_distance.

Returns:

a pandas DataFrame where column names match fields of FlightPoint

get_reserve_fuel()[source]
Returns:

the fuel quantity for reserve, obtained after mission computation.