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.RangedRoute(name: str = '', _target: ~fastoad.model_base.flight_point.FlightPoint = None, climb_phases: ~typing.List[~fastoad.models.performances.mission.base.FlightSequence] = <object object>, cruise_segment: ~fastoad.models.performances.mission.segments.registered.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, solve_distance: bool = True)[source]
Bases:
FlightSequence
Computes a route so that it covers the specified ground distance.
- 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.
- distance_accuracy: float = 500.0
Accuracy on actual total ground distance for the solver. In meters
- solve_distance: bool = True
If True, cruise distance will be adjusted to match
flight_distance
- property cruise_distance
Ground distance to be covered during cruise, as set in target of
cruise_segment
.
- property cruise_speed: Tuple[str, float] | None
Type (among true_airspeed, equivalent_airspeed and mach) and value of cruise speed.
- 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