fastoad.models.performances.mission.polar module

Aerodynamic polar data.

class fastoad.models.performances.mission.polar.Polar(cl: numpy.ndarray, cd: numpy.ndarray)[source]

Bases: object

Class for managing aerodynamic polar data.

Links drag coefficient (CD) to lift coefficient (CL). It is defined by two vectors with CL and CD values.

Once defined, for any CL value, CD can be obtained using cd().

Parameters
  • cl – a N-elements array with CL values

  • cd – a N-elements array with CD values that match CL

cd(cl)[source]

Computes drag coefficient (CD) by interpolation in definition data.

Parameters

cl – lift coefficient (CL) values

Returns

CD values for each provide CL values

property definition_cl

The vector that has been used for defining lift coefficient.

property optimal_cl

The CL value that provides larger lift/drag ratio.