RCAIDE.Library.Methods.Mass_Properties.Moment_of_Inertia.update_moments_of_inertia

update_moments_of_inertia#

update_moments_of_inertia(state, vehicle)[source]#

Updates the vehicle center of gravity accounting for fuel consumption during flight.

Parameters:
  • vehicle (RCAIDE.Library.Components.Vehicle) –

    Vehicle object containing all components and fuel systems
    • networkslist

      List of propulsion networks

    • fuel_lineslist

      List of fuel lines within each network

    • fuel_tankslist
      List of fuel tanks within each fuel line
      • fuelRCAIDE.Library.Components.Energy.Storages.Fuel
        Fuel component with mass properties
        • mass_propertiesData
          • massfloat

            Current fuel mass [kg]

          • center_of_gravitylist

            Fuel tank center of gravity [m]

        • originlist

          Fuel tank origin location [m]

  • conditions (RCAIDE.Framework.Core.Data) –

    Flight conditions and state data
    • aerodynamics : Data

    • weights : Data

Returns:

CG – Updated moment of intertia tensor variables Shape: (1, N) where N is the number of flight conditions

Return type:

numpy.ndarray

Notes

This function calculates the moment of inertia of the vehicle by accounting for fuel consumption during flight.

Major Assumptions
  • Fuel tank locations and orientations remain constant

  • No fuel sloshing or redistribution effects

  • Vehicle structure mass remains constant

  • Fuel density is constant

update_fuel_tank_moment_of_inertia(fuel_tank, state)[source]#