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:
FlightSequenceComputes a whole mission.
Allows to define a target fuel consumption for the whole mission.
- 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.
- append(flight_part: IFlightPart)
Append flight part to the end of the sequence.
- clear()
Remove all parts from flight sequence.
- consumed_mass_before_input_weight: float = 0.0
Consumed mass between sequence start and target mass, if any defined
- extend(seq)
Extend flight sequence by appending elements from the iterable.
- index(*args, **kwargs)
Return first index of value (see list.index()).
- property target: FlightPoint | None
Target of the last element of current sequence.
- part_flight_points: List[pd.DataFrame]