RCAIDE.Library.Components.Component
Component#
- class Component(*args, **kwarg)[source]#
Bases:
DataBase 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:
- 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 viascipy.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_PropertiesClass containing mass and inertia data
RCAIDE.Framework.Core.DataParent class providing data structure functionality
- class Container(*args, **kwarg)#
Bases:
ContainerContainer 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.ContainerParent class providing base container functionality
- class Container(*args, **kwarg)[source]#
Bases:
ContainerContainer 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.ContainerParent class providing base container functionality