HybridMotor Plots Class#

class rocketpy.plots.hybrid_motor_plots._HybridMotorPlots[source]#

Class that holds plot methods for HybridMotor class.

Variables:

_HybridMotorPlots.hybrid_motor (HybridMotor) – HybridMotor object that will be used for the plots.

__init__(hybrid_motor)[source]#

Initializes _MotorClass class.

Parameters:

hybrid_motor (HybridMotor) – Instance of the HybridMotor class

Return type:

None

thrust(lower_limit=None, upper_limit=None)[source]#

Plots thrust of the hybrid_motor as a function of time.

Parameters:
  • lower_limit (float) – Lower limit of the plot. Default is none, which means that the plot limits will be automatically calculated.

  • upper_limit (float) – Upper limit of the plot. Default is none, which means that the plot limits will be automatically calculated.

Return type:

None

total_mass(lower_limit=None, upper_limit=None)[source]#

Plots total_mass of the hybrid_motor as a function of time.

Parameters:
  • lower_limit (float) – Lower limit of the plot. Default is none, which means that the plot limits will be automatically calculated.

  • upper_limit (float) – Upper limit of the plot. Default is none, which means that the plot limits will be automatically calculated.

Return type:

None

mass_flow_rate(lower_limit=None, upper_limit=None)[source]#

Plots mass_flow_rate of the hybrid_motor as a function of time.

Parameters:
  • lower_limit (float) – Lower limit of the plot. Default is none, which means that the plot limits will be automatically calculated.

  • upper_limit (float) – Upper limit of the plot. Default is none, which means that the plot limits will be automatically calculated.

Return type:

None

exhaust_velocity(lower_limit=None, upper_limit=None)[source]#

Plots exhaust_velocity of the hybrid_motor as a function of time.

Parameters:
  • lower_limit (float) – Lower limit of the plot. Default is none, which means that the plot limits will be automatically calculated.

  • upper_limit (float) – Upper limit of the plot. Default is none, which means that the plot limits will be automatically calculated.

Return type:

None

grain_inner_radius(lower_limit=None, upper_limit=None)[source]#

Plots grain_inner_radius of the hybrid_motor as a function of time.

Parameters:
  • lower_limit (float) – Lower limit of the plot. Default is none, which means that the plot limits will be automatically calculated.

  • upper_limit (float) – Upper limit of the plot. Default is none, which means that the plot limits will be automatically calculated.

Return type:

None

grain_height(lower_limit=None, upper_limit=None)[source]#

Plots grain_height of the hybrid_motor as a function of time.

Parameters:
  • lower_limit (float) – Lower limit of the plot. Default is none, which means that the plot limits will be automatically calculated.

  • upper_limit (float) – Upper limit of the plot. Default is none, which means that the plot limits will be automatically calculated.

Return type:

None

burn_rate(lower_limit=None, upper_limit=None)[source]#

Plots burn_rate of the hybrid_motor as a function of time.

Parameters:
  • lower_limit (float) – Lower limit of the plot. Default is none, which means that the plot limits will be automatically calculated.

  • upper_limit (float) – Upper limit of the plot. Default is none, which means that the plot limits will be automatically calculated.

Return type:

None

burn_area(lower_limit=None, upper_limit=None)[source]#

Plots burn_area of the hybrid_motor as a function of time.

Parameters:
  • lower_limit (float) – Lower limit of the plot. Default is none, which means that the plot limits will be automatically calculated.

  • upper_limit (float) – Upper limit of the plot. Default is none, which means that the plot limits will be automatically calculated.

Return type:

None

Kn(lower_limit=None, upper_limit=None)[source]#

Plots Kn of the hybrid_motor as a function of time.

Parameters:
  • lower_limit (float) – Lower limit of the plot. Default is none, which means that the plot limits will be automatically calculated.

  • upper_limit (float) – Upper limit of the plot. Default is none, which means that the plot limits will be automatically calculated.

Return type:

None

center_of_mass(lower_limit=None, upper_limit=None)[source]#

Plots center_of_mass of the hybrid_motor as a function of time.

Parameters:
  • lower_limit (float) – Lower limit of the plot. Default is none, which means that the plot limits will be automatically calculated.

  • upper_limit (float) – Upper limit of the plot. Default is none, which means that the plot limits will be automatically calculated.

Return type:

None

I_11(lower_limit=None, upper_limit=None)[source]#

Plots I_11 of the hybrid_motor as a function of time.

Parameters:
  • lower_limit (float) – Lower limit of the plot. Default is none, which means that the plot limits will be automatically calculated.

  • upper_limit (float) – Upper limit of the plot. Default is none, which means that the plot limits will be automatically calculated.

Return type:

None

I_22(lower_limit=None, upper_limit=None)[source]#

Plots I_22 of the hybrid_motor as a function of time.

Parameters:
  • lower_limit (float) – Lower limit of the plot. Default is none, which means that the plot limits will be automatically calculated.

  • upper_limit (float) – Upper limit of the plot. Default is none, which means that the plot limits will be automatically calculated.

Return type:

None

I_33(lower_limit=None, upper_limit=None)[source]#

Plots I_33 of the hybrid_motor as a function of time.

Parameters:
  • lower_limit (float) – Lower limit of the plot. Default is none, which means that the plot limits will be automatically calculated.

  • upper_limit (float) – Upper limit of the plot. Default is none, which means that the plot limits will be automatically calculated.

Return type:

None

I_12(lower_limit=None, upper_limit=None)[source]#

Plots I_12 of the hybrid_motor as a function of time.

Parameters:
  • lower_limit (float) – Lower limit of the plot. Default is none, which means that the plot limits will be automatically calculated.

  • upper_limit (float) – Upper limit of the plot. Default is none, which means that the plot limits will be automatically calculated.

Return type:

None

I_13(lower_limit=None, upper_limit=None)[source]#

Plots I_13 of the hybrid_motor as a function of time.

Parameters:
  • lower_limit (float) – Lower limit of the plot. Default is none, which means that the plot limits will be automatically calculated.

  • upper_limit (float) – Upper limit of the plot. Default is none, which means that the plot limits will be automatically calculated.

Return type:

None

I_23(lower_limit=None, upper_limit=None)[source]#

Plots I_23 of the hybrid_motor as a function of time.

Parameters:
  • lower_limit (float) – Lower limit of the plot. Default is None, which means that the plot limits will be automatically calculated.

  • upper_limit (float) – Upper limit of the plot. Default is None, which means that the plot limits will be automatically calculated.

Return type:

None

all()[source]#

Prints out all graphs available about the HybridMotor. It simply calls all the other plotter methods in this class.

Return type:

None