RCAIDE.Library.Plots.Emissions.plot_emission_indices

plot_emission_indices#

plot_emission_indices(results, save_figure=False, show_legend=True, save_filename='Emission_Indices', file_type='.png', width=8, height=5)[source]#

Generate a plot showing emission indices by species over the mission.

Parameters:
  • results (Data) –

    Mission results data structure containing: results.segments[i].conditions.emissions.index with fields:

    • CO2 : array, emission index [g/kg fuel]

    • NOx : array, emission index [g/kg fuel]

    • H2O : array, emission index [g/kg fuel]

    • CO : array, emission index [g/kg fuel]

    • SO2 : array, emission index [g/kg fuel]

  • save_figure (bool, optional) – Save figure to file if True, default False

  • show_legend (bool, optional) – Display species legend if True, default True

  • save_filename (str, optional) – Name for saved figure file, default “Emission_Indices”

  • file_type (str, optional) – File extension for saved figure, default “.png”

  • width (float, optional) – Figure width in inches, default 8

  • height (float, optional) – Figure height in inches, default 5

Returns:

fig – Figure showing emission index per species over time on a semi-log scale

Return type:

matplotlib.figure.Figure