fastoad.models.performances.mission.base module¶
Base classes for mission computation.
-
class
fastoad.models.performances.mission.base.
AbstractFlightSequence
[source]¶ Bases:
fastoad.models.performances.mission.base.IFlightPart
Defines and computes a flight sequence.
-
compute_from
(start: fastoad.base.flight_point.FlightPoint) → pandas.core.frame.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 columns names match
FlightPoint.labels
-
abstract property
flight_sequence
¶ Defines the sequence as used in
compute_from()
.- Returns
the list of IFlightPart instances for the mission.
-
-
class
fastoad.models.performances.mission.base.
AbstractManualThrustFlightPhase
(*, propulsion: fastoad.models.propulsion.propulsion.IPropulsion, reference_area: float, polar: fastoad.models.performances.mission.polar.Polar, thrust_rate: float = 1.0, name='', time_step=None)[source]¶ Bases:
fastoad.models.performances.mission.base.AbstractFlightSequence
,abc.ABC
Base class for climb and descent phases.
Initialization is done only with keyword arguments.
- Parameters
propulsion –
reference_area –
polar –
thrust_rate –
time_step – if provided, this time step will be applied for all segments.
-
class
fastoad.models.performances.mission.base.
IFlightPart
[source]¶ Bases:
abc.ABC
-
compute_from
(start: fastoad.base.flight_point.FlightPoint) → pandas.core.frame.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 columns names match
FlightPoint.labels
-