fastoad.models.performances.mission.segments.mass_input module

Class for specifying input mass at “any” point in the mission.

class fastoad.models.performances.mission.segments.mass_input.MassTargetSegment(name: str = '', target: ~fastoad.model_base.flight_point.FlightPoint = <object object>, isa_offset: float = 0.0)[source]

Bases: AbstractFlightSegment

Class that simply sets a target mass.

compute_from() returns a 1-row dataframe that is the start point with mass set to provided target mass.

class:~fastoad.models.performances.mission.base.FlightSequence ensures that mass is consistent for segments prior to this one.

compute_from_start_to_target(start: FlightPoint, target: FlightPoint) DataFrame[source]

Here should come the implementation for computing flight points between start and target flight points.

  • start

  • target – Definition of segment target


a pandas DataFrame where column names match fields of FlightPoint

property target: FlightPoint

The most base type