fastga_he.gui.payload_range module

fastga_he.gui.payload_range.payload_range_outer(aircraft_file_path: str, name='', fig=None, file_formatter=None) FigureWidget[source]

Returns a figure plot of the outer bounds of the payload range. Different designs can be superposed by providing an existing fig. Each design can be provided a name.

Parameters:
  • aircraft_file_path – path of data file

  • name – name to give to the trace added to the figure

  • fig – existing figure to which add the plot

  • file_formatter – the formatter that defines the format of data file. If not provided,

default format will be assumed. :return: wing plot figure.

fastga_he.gui.payload_range.payload_range_inner(ref_aircraft_file_path: str, sec_aircraft_file_path: str | None = None, what_to_plot: str = 'emission_factor', file_formatter=None, smooth: bool = True, grid_accuracy: int = 100, z_filter: float | None = None) FigureWidget[source]

Returns a figure plot of the inner values of the payload range. Each design can be provided a name.

Parameters:
  • ref_aircraft_file_path – path of reference aircraft data file

  • sec_aircraft_file_path – path of secondary aircraft data file which will be compared to

the reference :param what_to_plot: what data to plot, can be “fuel”, “energy”, “emissions” or “emission_factor” :param file_formatter: the formatter that defines the format of data file. If not provided, default format will be assumed. :param smooth: boolean to trigger smoothing of the heatmap :param grid_accuracy: an interpolation on a grid of size (grid_accuracy, grid_accuracy) is done on the reference ef values from the input :param z_filter: filter all values of emission factor above that value or below minus that value when comparing aircraft :return: wing plot figure.