fastoad.models.performances.mission.routes module

Classes for computation of routes (i.e. assemblies of climb, cruise and descent phases).

class fastoad.models.performances.mission.routes.SimpleRoute(name: str = '', flight_sequence: ~typing.List[~fastoad.models.performances.mission.base.IFlightPart] = <factory>, climb_phases: ~typing.List[~fastoad.models.performances.mission.base.FlightSequence] = <object object>, cruise_segment: ~fastoad.models.performances.mission.segments.cruise.CruiseSegment = <object object>, descent_phases: ~typing.List[~fastoad.models.performances.mission.base.FlightSequence] = <object object>)[source]

Bases: FlightSequence

Computes a simple route.

The computed route will be made of:
  • any number of climb phases

  • one cruise segment

  • any number of descent phases.

climb_phases: List[FlightSequence] = <object object>

Any number of flight phases that will occur before cruise.

cruise_segment: CruiseSegment = <object object>

The cruise phase.

descent_phases: List[FlightSequence] = <object object>

Any number of flight phases that will occur after cruise.

property cruise_distance

Ground distance to be covered during cruise, as set in target of cruise_segment.

property cruise_speed: Optional[Tuple[str, float]]

Type (among true_airspeed, equivalent_airspeed and mach) and value of cruise speed.

class fastoad.models.performances.mission.routes.RangedRoute(name: str = '', flight_sequence: ~typing.List[~fastoad.models.performances.mission.base.IFlightPart] = <factory>, climb_phases: ~typing.List[~fastoad.models.performances.mission.base.FlightSequence] = <object object>, cruise_segment: ~fastoad.models.performances.mission.segments.cruise.CruiseSegment = <object object>, descent_phases: ~typing.List[~fastoad.models.performances.mission.base.FlightSequence] = <object object>, flight_distance: float = <object object>, distance_accuracy: float = 500.0)[source]

Bases: SimpleRoute

Computes a route so that it covers the specified ground distance.

flight_distance: float = <object object>

Target ground distance for whole route

distance_accuracy: float = 500.0

Accuracy on actual total ground distance for the solver. In meters

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