Stochastic Elliptical Fins#

class rocketpy.stochastic.StochasticEllipticalFins[source]#

A Stochastic Elliptical Fins class that inherits from StochasticModel.

Variables:
  • object (EllipticalFins) – EllipticalFins 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.

  • 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.

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

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

__init__(elliptical_fins=None, n=None, root_chord=None, span=None, rocket_radius=None, cant_angle=None, airfoil=None)[source]#

Initializes the Stochastic Elliptical Fins class.

See also

Stochastic Model

Parameters:
  • elliptical_fins (EllipticalFins) – EllipticalFins object to be used for validation.

  • root_chord (tuple, list, int, float) – Root 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.

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

create_object()[source]#

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

Returns:

fins – EllipticalFins object with the randomly generated input arguments.

Return type:

EllipticalFins