Skip to content

lbacherle/inclination_calc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 

Repository files navigation

 inclination_calc.jl

Simple Julia program to calculate launchsite parameters.

Modes:
 1) Calculate inertial Azimuth (disregarding Earths rotation) for a launchsite or latitude and a desired inclination
 2) Calculate rotational Azimuth (taking into account Earth rotation) for a launchsite or latitude and a desired inclination
 3) Calculate resulting Inclination for a launchsite or latitude and an Azimuth angle
 4) Compare propellant mass needed for different latitudes (assuming an eastwards launch)

Conventions:
 1) All angles must be given in degrees
 2) Inclination and Latitude are defined from -90° to +90°, Azimuth from 0° to 360°

Input:
 -If file called 'values.csv' in the correct format (see example values.csv) exists, reads the values from this csv and prints all output to files
 -If this file does not exist, starts an interactive mode and allows user to freely input variables

Input File:
 -Each row corresponds to one of the 4 modes  -Input parameters that are not needed for that specific mode should be set to 0.0  -File needs to be called values.csv and should be located in the same folder as the script

Dependencies:
 1) The Plots and the CSV packages are needed to show the resulting plots. Installation can be done by typing julia into the command line to start the REPL, then typing the following:
  julia> using package
  julia> Pkg.add("Plots")
  julia> Pkg.add("CSV")

Sources:
 1) Formulas and parameters: The derivation of formulas for inertial and rotational calculations can be found under https://www.orbiterwiki.org/index.php?title=Launch_Azimuth&oldid=17141 or https://ntrs.nasa.gov/api/citations/19980227091/downloads/19980227091.pdf ('Technical Note D-233, Determination of Azimuth Angle at Burnout for placing Satellite over a selected Earth position', T.H. Skopinski and K.G Johnson, NASA, 1960)
 2) Launchsite Latitudes: 'Space Mission Engineering - The New SMAD' by Wertz, Everett and Puschell, published 2011 by Microcosm Press

more information can be found in header comment inside inclination_calc.jl

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages