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

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

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

Bases: fastoad.models.performances.mission.segments.base.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: fastoad.model_base.flight_point.FlightPoint, target: fastoad.model_base.flight_point.FlightPoint) pandas.core.frame.DataFrame[source]

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

Parameters
  • start

  • target – Definition of segment target

Returns

a pandas DataFrame where column names match fields of FlightPoint

property target: fastoad.model_base.flight_point.FlightPoint

The base class of the class hierarchy.

When called, it accepts no arguments and returns a new featureless instance that has no instance attributes and cannot be given any.