Giter Site home page Giter Site logo

satellite-model's Introduction

Simulation of Orbital and Attitude Dynamics for Nano- and Pico-Satellites

This code simulates a small satellite in orbit around the Earth. It currently includes orbital dynamics described by Kepler's Laws and attitude dynamics for a rigid body.

Installation

A Python 2 distribution is required, along with the packages numpy, matplotlib, mpl_toolkits, tqdm and math. Something like Anaconda is recommended for Windows users.

Usage

To run the simulation, run RunSim.py in the Python console. This will define an orbit using the specified orbital elements, simulate it, and plot the results. Orbital elements can be specified manually on line 20 by commenting out lines 27 and 28 or by specifying presets in the file Presets.py.

Executing RunSim without changes will simulate a satellite in the Molniya orbit, producing the following plots.

3D orbital path of Molniya orbit

3D orbital path

2D ground track of Molniya orbit

2D ground track

Customisation

Earth properties can be edited in EarthProps.py, satellite properties in SatProps.py and universal properties in UniversalProps.py. The file OrbitModel.py describes the behaviour of the satellite in orbit and will likely break if played with. Plots.py produces the output plots and will also probably break.

To do list

  • Orbital dynamics
  • Attitude dynamics
  • Basic plots
    • 3D orbital path
    • 2D ground track plot
    • Time histories for satellite attitude
  • Environmental disturbances
    • Aerodynamic moment
    • Magnetic torque
    • Gravity gradient torque
    • J2 gravitational effects
  • Sensor systems
    • Rate gyroscopes
    • Magnetometer
    • Sun sensor
  • Control actuators
    • Thrusters
    • Magnetotorquer
    • Reaction wheels
    • Permamagnets
  • Software
    • Control system
  • Animations
    • Orbit animation
    • POV near satellite animation

satellite-model's People

Contributors

murrayireland avatar

Stargazers

 avatar  avatar  avatar Craig Hay avatar

Watchers

James Cloos avatar Craig Hay avatar Aldo Vargas avatar  avatar  avatar flitdu avatar

Forkers

lixinhai284

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.