RCAIDE.Vehicle

Vehicle#

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

Bases: Data

RCAIDE Vehicle container class with database and input/output functionality.

Data#

RCAIDE data structure containing the loaded information. See defualts for more information.

Type:

Data

Notes

The Vehicle class serves as the top-level container for all aircraft components and systems. It provides methods for adding components to the appropriate containers and maintains the hierarchical structure of the aircraft model.

The class uses a component mapping system to automatically place new components in their appropriate containers based on their type.

Definitions

‘Component Root Map’

Internal mapping that associates component types with their container locations

‘Energy Network Root Map’

Internal mapping that associates energy network types with their container locations

__init__(*args, **kwarg)[source]#

Sets up the component hierarchy for a vehicle

Assumptions: None

Source: N/A

Inputs: None

Outputs: None

Properties Used: None

find_component_root(component)[source]#

find pointer to component data root.

Assumptions: None

Source: N/A

Inputs: None

Outputs: None

Properties Used: None

append_component(component)[source]#

Adds a component to vehicle

Assumptions:

None

Source:

None

append_energy_network(energy_network)[source]#

Adds an energy network to vehicle

Assumptions:

None

Source:

None

find_energy_network_root(energy_network)[source]#

Find pointer to energy network data root.

Assumptions:

None

Source:

None

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

Bases: Mass_Properties

The vehicle’s mass properties.

Assumptions:

None

Source:

None

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

Bases: Container, Vehicle_Mass_Properties

append(value, key=None)[source]#

Appends the vehicle mass, but only let’s one ever exist. Keeps the newest one

Assumptions:

None

Source:

None