Stochastic Generic Motor#

class rocketpy.stochastic.StochasticGenericMotor[source]#

A Stochastic Generic Motor class that inherits from StochasticModel.

See also

Stochastic Model and GenericMotor

Variables:
  • object (GenericMotor) – GenericMotor object to be used as a base for the stochastic model.

  • thrust_source (list) – List of strings representing the thrust source to be selected.

  • total_impulse (int, float, tuple, list) – Total impulse of the motor in newton seconds.

  • burn_start_time (int, float, tuple, list) – Burn start time of the motor in seconds.

  • burn_out_time (int, float, tuple, list) – Burn out time of the motor in seconds.

  • dry_mass (int, float, tuple, list) – Dry mass of the motor in kilograms.

  • dry_I_11 (int, float, tuple, list) – Dry inertia of the motor in kilograms times meters squared.

  • dry_I_22 (int, float, tuple, list) – Dry inertia of the motor in kilograms times meters squared.

  • dry_I_33 (int, float, tuple, list) – Dry inertia of the motor in kilograms times meters squared.

  • dry_I_12 (int, float, tuple, list) – Dry inertia of the motor in kilograms times meters squared.

  • dry_I_13 (int, float, tuple, list) – Dry inertia of the motor in kilograms times meters squared.

  • dry_I_23 (int, float, tuple, list) – Dry inertia of the motor in kilograms times meters squared.

  • chamber_radius (int, float, tuple, list) – Chamber radius of the motor in meters.

  • chamber_height (int, float, tuple, list) – Chamber height of the motor in meters.

  • chamber_position (int, float, tuple, list) – Chamber position of the motor in meters.

  • nozzle_radius (int, float, tuple, list) – Nozzle radius of the motor in meters.

  • nozzle_position (int, float, tuple, list) – Nozzle position of the motor in meters.

  • center_of_dry_mass_position (int, float, tuple, list) – Center of dry mass position of the motor in meters.

  • interpolation_method (str) – Interpolation method to be used. This attribute can not be randomized.

  • coordinate_system_orientation (str) – Coordinate system orientation to be used. This attribute can not be randomized.

__init__(generic_motor, thrust_source=None, total_impulse=None, burn_start_time=None, burn_out_time=None, propellant_initial_mass=None, dry_mass=None, dry_inertia_11=None, dry_inertia_22=None, dry_inertia_33=None, dry_inertia_12=None, dry_inertia_13=None, dry_inertia_23=None, chamber_radius=None, chamber_height=None, chamber_position=None, nozzle_radius=None, nozzle_position=None, center_of_dry_mass_position=None)[source]#

Initializes the Stochastic Generic Motor class.

See also

Stochastic Model and GenericMotor

Parameters:
  • generic_motor (GenericMotor) – GenericMotor object to be used for validation.

  • thrust_source (list, optional) – List of strings representing the thrust source to be selected.

  • total_impulse (int, float, tuple, list, optional) – Total impulse of the motor in newton seconds.

  • burn_start_time (int, float, tuple, list, optional) – Burn start time of the motor in seconds.

  • burn_out_time (int, float, tuple, list, optional) – Burn out time of the motor in seconds.

  • dry_mass (int, float, tuple, list, optional) – Dry mass of the motor in kilograms.

  • dry_I_11 (int, float, tuple, list, optional) – Dry inertia of the motor in kilograms times meters squared.

  • dry_I_22 (int, float, tuple, list, optional) – Dry inertia of the motor in kilograms times meters squared.

  • dry_I_33 (int, float, tuple, list, optional) – Dry inertia of the motor in kilograms times meters squared.

  • dry_I_12 (int, float, tuple, list, optional) – Dry inertia of the motor in kilograms times meters squared.

  • dry_I_13 (int, float, tuple, list, optional) – Dry inertia of the motor in kilograms times meters squared.

  • dry_I_23 (int, float, tuple, list, optional) – Dry inertia of the motor in kilograms times meters squared.

  • chamber_radius (int, float, tuple, list, optional) – Chamber radius of the motor in meters.

  • chamber_height (int, float, tuple, list, optional) – Chamber height of the motor in meters.

  • chamber_position (int, float, tuple, list, optional) – Position of the motor chamber in meters.

  • nozzle_radius (int, float, tuple, list, optional) – Nozzle radius of the motor in meters.

  • nozzle_position (int, float, tuple, list, optional) – Nozzle position of the motor in meters.

  • center_of_dry_mass_position (int, float, tuple, list, optional) – Center of dry mass position of the motor in meters.

create_object()[source]#

Creates a GenericMotor object from the randomly generated input arguments.

Returns:

GenericMotor object with the randomly generated input arguments.

Return type:

GenericMotor