RCAIDE.Framework.External_Interfaces.OpenVSP.get_fuel_tank_properties
get_fuel_tank_properties#
- get_fuel_tank_properties(vehicle, tag, fuel_tank_set_index=3, slices_for_calculation=100)[source]#
This function computes the center of gravity, total possible fuel mass, the available volume of each fuel tank in the vehicle through a mass properties computation in OpenVSP.
Assumptions: Fuel tanks exists in the fuselage and wings only All fuel tanks have unique names
Source: N/A
Inputs: vehicle.fuselages.*.Fuel_Tanks.*.tag [-] vehicle.wings.*.Fuel_Tanks.*.tag [-]
Outputs: vehicle.fuselages.*.Fuel_Tanks.*.mass_properties.
center_of_gravity [m] fuel_mass_when_full [kg] fuel_volume_when_full [m^3]
- vehicle.wings.*.Fuel_Tanks.*.mass_properties.
center_of_gravity [m] fuel_mass_when_full [kg] fuel_volume_when_full [m^3]
Properties Used: N/A
- apply_properties(vehicle, fuel_tanks)[source]#
Apply fuel tank properties from OpenVSP to the RCAIDE vehicle.
Assumptions: Fuel tanks exists in the fuselage and wings only
Source: N/A
Inputs: vehicle.fuselages.*.Fuel_Tanks.*.tag [-] vehicle.wings.*.Fuel_Tanks.*.tag [-] fuel_tanks.
tag [-] center_of_gravity [m] fuel_mass_when_full [kg] volume [m^3]
Outputs: vehicle.fuselages.*.Fuel_Tanks.*.mass_properties.
center_of_gravity [m] fuel_mass_when_full [kg] fuel_volume_when_full [m^3]
- vehicle.wings.*.Fuel_Tanks.*.mass_properties.
center_of_gravity [m] fuel_mass_when_full [kg] fuel_volume_when_full [m^3]
Properties Used: N/A
- get_fuel_tanks(vehicle)[source]#
Creates a data structure with fuel tanks based on fuel tanks present in the vehicle
Assumptions: Fuel tanks exists in the fuselage and wings only
Source: N/A
Inputs: vehicle.fuselages.*.Fuel_Tanks.*.tag [-] vehicle.wings.*.Fuel_Tanks.*.tag [-]
Outputs: fuel_tanks.tag [-]
Properties Used: N/A