Skip to content

IvanVnucec/Calculate_The_Magnetic_field_over_a_satellite_orbit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Magnetic field over satellite orbit

Given orbit parameters and Universal Coordinated Time (UTC) the program calculates vector of magnetic field over number of points on the satellite orbit. This program was used as demonstration for the CubeSat program at the University of Zagreb.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

Program requires Aerospace Toolbox to be already installed.

Installing

  1. Clone this repository,
  2. Open main.m file and there you have orbit parameters to tweak.

Running

To get some data out of the system one should:

  1. Modify the orbit parameters and UTC time at the top of the main.m file:
RAAN    =  38;                % Right Ascension of Ascendent Node [deg]
w       =  35;                % Argument of perigee               [deg]
v0      =  54;                % True anomaly at the departure     [deg]
i       =  51.64;             % inclination                       [deg]
a       =  6700;              % Major semi-axis           (>6378) [km]
e       =  0.001;             % Eccentricity
start_time = datetime('now'); % UTC time of sattelite starting point
norb = 5;                     % number of orbits
time_step = 60;               % Calculate point every time_step   [s],
                              %   decrease for faster calculation
  1. Press Run button.

Authors

License

This project is licensed under the MIT License - see the LICENSE file for details

Acknowledgments

  • Special thanks to Ennio Condoleo. This code is modified version of his program which can be found here: LINK

  • This program was used as a Project on the FER CubeSat called FERSAT at the University of Zagreb. LINK.

About

Calculating magnetic field over satellite orbit.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages