RCAIDE.Library.Mission.Common.Initialize.differentials_altitude

differentials_altitude#

differentials_altitude(segment)[source]#

Initializes the differential altitude for mission segment time calculations

Parameters:

segment (Segment) – The mission segment being analyzed

Notes

This function calculates the time differentials based on altitude changes in the mission segment. It uses the vertical component of velocity and position to determine appropriate time steps for integration.

The function performs the following steps:
  1. Extracts control points and integration operators

  2. Calculates total altitude change

  3. Determines time step based on vertical velocity

  4. Rescales time operators

  5. Updates segment time vector

Required Segment State Variables

state.numerics.dimensionless:
  • integratearray

    Integration operator matrix

  • control_pointsarray

    Normalized time points

state.conditions.frames.inertial:
  • position_vectorarray

    Vehicle position in inertial frame [m]

  • velocity_vectorarray

    Vehicle velocity in inertial frame [m/s]

  • timearray

    Segment time vector [s]

Major Assumptions
  • Continuous vertical velocity

  • Well-defined altitude change

  • No singularities in vertical velocity

Returns:

Updates segment state directly

Return type:

None