RCAIDE.Library.Components.Component

Component#

class Component(*args, **kwarg)[source]#

Bases: Data

Base class for all physical components in an aircraft configuration.

tag#

Unique identifier for the component, defaults to ‘Component’

Type:

str

mass_properties#

Mass and inertia properties, initialized empty

volume_propertiesVolume_Properties

Volume Properties, initialized empty

Type:

Mass_Properties

xz_plane_symmetric#

Flag indicating if wing is xz_plane_symmetric about x-z plane, defaults to True

Type:

bool

yz_plane_symmetric#

Flag indicating if wing is yz_plane_symmetric about y-z plane, defaults to True

Type:

bool

xy_plane_symmetric#

Flag indicating if wing is xy_plane_symmetric about x-y plane, defaults to True

Type:

bool

origin#

3D coordinates [x, y, z] defining component’s reference point, defaults to [0.0, 0.0, 0.0]

Type:

ndarray

orientation_euler_angles#

Intrinsic X→Y→Z Euler angles [φ_x, φ_y, φ_z] in radians that map the component frame to the vehicle body frame. Applied via scipy.spatial.transform.Rotation.from_euler('xyz', ...): first rotate φ_x about X, then φ_y about the new Y, then φ_z about the new Z. [0.0, 0.0, 0.0] (default) means the component is aligned with the vehicle body axes (e.g. thrust along vehicle +x). Common example: [0, π/2, 0] rotates 90° about Y, pointing thrust in the vehicle +z direction (used for lift rotors).

Type:

list of float

Notes

The Component class serves as the foundation for all physical parts in RCAIDE. It provides:

  • Basic geometric positioning

  • Mass properties tracking

  • Container functionality for sub-components

See also

RCAIDE.Library.Components.Mass_Properties

Class containing mass and inertia data

RCAIDE.Framework.Core.Data

Parent class providing data structure functionality

compute_center_of_gravity(vehicle)[source]#
compute_moments_of_inertia(vehicle, center_of_gravity=[[0, 0, 0]])[source]#
class Container(*args, **kwarg)#

Bases: Container

Container class for managing collections of components.

Notes

The Container class provides organization and mass calculation functionality for groups of components. Key features include:

  • Recursive mass summation

  • Moment calculation about reference points

  • Component hierarchy management

See also

RCAIDE.Framework.Core.Container

Parent class providing base container functionality

class Container(*args, **kwarg)[source]#

Bases: Container

Container class for managing collections of components.

Notes

The Container class provides organization and mass calculation functionality for groups of components. Key features include:

  • Recursive mass summation

  • Moment calculation about reference points

  • Component hierarchy management

See also

RCAIDE.Framework.Core.Container

Parent class providing base container functionality