RCAIDE.Library.Plots.Aerodynamics.plot_disc_and_power_loading

plot_disc_and_power_loading#

plot_disc_and_power_loading(results, save_figure=False, show_legend=True, save_filename='Disc_And_Power_Loading', file_type='.png', width=11, height=7)[source]#

Generate plots of rotor disc and power loading over time.

Parameters:
  • results (Data) –

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

    • energy[network_tag][rotor_tag].disc_loading

    • energy[network_tag][rotor_tag].power_loading

    • frames.inertial.time

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

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

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

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

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

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

Returns:

fig

Return type:

matplotlib.figure.Figure

Notes

Creates a figure with two vertically stacked subplots showing:
  • Top: Disc loading (N/m²) vs time (minutes)

  • Bottom: Power loading (N/W) vs time (minutes)

Each mission segment is plotted in a different color using the inferno colormap. Multiple rotors/propellers are distinguished by different markers.

Definitions

‘Disc Loading’

Thrust per unit rotor disc area

‘Power Loading’

Thrust per unit power (measure of efficiency)

See also

RCAIDE.Library.Plots.Common.set_axes

Standardized axis formatting

RCAIDE.Library.Plots.Common.plot_style

RCAIDE plot styling

RCAIDE.Library.Analysis.Performance.propulsion

Analysis modules

plot_propulsor_data(results, propulsor, axis_1, axis_2, line_colors, ps, pi)[source]#

Plot disc and power loading data for a single propulsor across mission segments.

Parameters:
  • results (Data) –

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

    • energy[propulsor_tag][thrustor_tag].disc_loading

    • energy[propulsor_tag][thrustor_tag].power_loading

    • frames.inertial.time

  • propulsor (Data) –

    Propulsor data structure containing: - tag : str

    Identifier for the propulsor

    • rotor/propellerData

      Thrustor component data

  • axis_1 (matplotlib.axes.Axes) – Axis for disc loading plot

  • axis_2 (matplotlib.axes.Axes) – Axis for power loading plot

  • line_colors (array) – Array of RGB colors for different segments

  • ps (Data) –

    Plot style data structure with fields: - markers : list

    Marker styles for different propulsors

    • line_widthfloat

      Width for plot lines

  • pi (int) – Index of current propulsor for marker selection

Return type:

None

Notes

Helper function for plot_disc_and_power_loading that handles plotting data for a single propulsor (rotor or propeller) across all mission segments.

The function:

  • Identifies thrustor type (rotor vs propeller)

  • Extracts time histories for each segment

  • Plots disc and power loading vs time

  • Applies consistent styling

  • Adds legend for first segment only

See also

plot_disc_and_power_loading

Main plotting function

RCAIDE.Library.Plots.Common.set_axes

Axis formatting