Stochastic Trapezoidal Fins#

class rocketpy.stochastic.StochasticTrapezoidalFins[source]#

A Stochastic Trapezoidal Fins class that inherits from StochasticModel.

Variables:
  • object (TrapezoidalFins) – TrapezoidalFins object to be used for validation.

  • n (list[int]) – List with an integer representing the number of fins. This attribute can be randomized.

  • root_chord (tuple, list, int, float) – Root chord of the fins in meters.

  • tip_chord (tuple, list, int, float) – Tip chord of the fins in meters.

  • span (tuple, list, int, float) – Span of the fins in meters.

  • rocket_radius (tuple, list, int, float) – Rocket radius of the fins in meters.

  • cant_angle (tuple, list, int, float) – Cant angle of the fins in degrees.

  • sweep_length (tuple, list, int, float) – Sweep length of the fins in meters.

  • sweep_angle (tuple, list, int, float) – Sweep angle of the fins in degrees.

  • airfoil (list) – List of tuples in the form of (airfoil file path, airfoil name).

  • name (list[str]) – List with the object name. This attribute can not be randomized.

__init__(trapezoidal_fins, n=None, root_chord=None, tip_chord=None, span=None, rocket_radius=None, cant_angle=None, sweep_length=None, sweep_angle=None, airfoil=None)[source]#

Initializes the Stochastic Trapezoidal Fins class.

See also

Stochastic Model

Parameters:
  • trapezoidal_fins (TrapezoidalFins) – TrapezoidalFins object to be used for validation.

  • root_chord (tuple, list, int, float) – Root chord of the fins in meters.

  • tip_chord (tuple, list, int, float) – Tip chord of the fins in meters.

  • span (tuple, list, int, float) – Span of the fins in meters.

  • rocket_radius (tuple, list, int, float) – Rocket radius of the fins in meters.

  • cant_angle (tuple, list, int, float) – Cant angle of the fins in degrees.

  • sweep_length (tuple, list, int, float) – Sweep length of the fins in meters.

  • sweep_angle (tuple, list, int, float) – Sweep angle of the fins in degrees.

  • airfoil (list[tuple]) – List of tuples in the form of (airfoil file path, airfoil name).

create_object()[source]#

Creates and returns a TrapezoidalFins object from the randomly generated input arguments.

Returns:

fins – TrapezoidalFins object with the randomly generated input arguments.

Return type:

TrapezoidalFins