RCAIDE.Library.Plots.Energy.plot_propulsor_throttles
plot_propulsor_throttles#
- plot_propulsor_throttles(results, save_figure=False, show_legend=True, save_filename='Propulsor_Throttles', file_type='.png', width=11, height=7)[source]#
Creates a plot showing throttle settings for all propulsors throughout the flight mission.
- Parameters:
results (Results) – RCAIDE results structure containing segment data and propulsor throttle settings
save_figure (bool, optional) – Flag for saving the figure (default: False)
show_legend (bool, optional) – Flag for displaying plot legend (default: True)
save_filename (str, optional) – Name of file for saved figure (default: “Propulsor_Throttles”)
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 – Figure handle containing the generated plot
- Return type:
matplotlib.figure.Figure
Notes
- The function creates a single plot showing:
Throttle settings vs time for each propulsor
Different flight segments distinguished by different colors
Different propulsors distinguished in the legend
Major Assumptions
Throttle values are normalized between 0 and 1
Time is converted from seconds to minutes for plotting
All propulsors have throttle data available
Definitions
- ‘Throttle’
Normalized control input that determines propulsor power setting
- ‘Flight Segment’
Distinct phase of the mission with specific throttle requirements