scenarioAerocapture

Overview

Demonstrates a spacecraft performing aerocapture. Module: tabularAtmosphere is used to read in a table of atmospheric density value for the planet. A cannonball drag effector (Module: dragDynamicEffector) is used to simulate the atmospheric drag force.

The script is found in the folder basilisk/examples and executed by using:

python3 scenarioAerocapture.py

Illustration of Simulation Results

For the Earth aerocapture the following figures illustrate the simulation results. The spacecraft first dips into the atmosphere and looses orbital energy to the point of being capture by the planet. The spacecraft has enough velocity to escape the planet atmosphere at the end of the simulation time. This is also illustrated by the velocity versus altitude plot. The density plot illustrates the result of the tabular atmosphere model.

show_plots = True, planetCase = `Earth`
../_images/scenarioAerocapture5Earth.svg ../_images/scenarioAerocapture4Earth.svg ../_images/scenarioAerocapture3Earth.svg ../_images/scenarioAerocapture2Earth.svg

For the Mars aerocapture scenario the orbit is adjusted to be suitable for this planet scenario. Here too the spacecraft enters the atmosphere to burn off orbital energy and become captured by the planet.

show_plots = True, planetCase = `Mars`
../_images/scenarioAerocapture5Mars.svg ../_images/scenarioAerocapture4Mars.svg ../_images/scenarioAerocapture3Mars.svg ../_images/scenarioAerocapture2Mars.svg
scenarioAerocapture.run(show_plots, planetCase)[source]

The scenarios can be run with the followings setups parameters:

Parameters:
  • show_plots (bool) – Determines if the script should display plots

  • planetCase (string) – Specify if a Mars or Earth arrival is simulated

scenarioAerocapture.sph2rv(xxsph)[source]

NOTE: this function assumes inertial and planet-fixed frames are aligned at this time