Satmind
A reinforcement learning algorithm controller for a satellite using the orekit library
Install / Use
/learn @dkolosa/SatmindREADME
Satmind
A reinforcement learning algorithm controller for a satellite using the Orekit library. The reinforcement learning algorithm is based on the Deep Deterministic Policy Gradient (DDPG) algorithm and prioritzed experience replay. The agent is a satellite that traverses a spacecraft enviornment. THe spacecraft's thruster is based on an electric proplution system which produces a low amount of thrust (< 1 N) with a long mission time (days).
A total of four missions (3 unique) were implemented: orbit raining, inclination change, semimajor axis change, and MEO to GEO orbit.
Dependencies
Easiest way to install all the required packages is through Anaconda.
- Python 3.6 or later
- Tensorflow = 1.15
- Orekit >=10.0
- matplotlib for displaying results
- openai gym for testing RL algorithm
Use requirements.txt for easy setup using conda.
conda create -f environment.yml
Usage
python test_rl.py
tests to make sure RL algorithm is running correctly and runs in and openAI gym enviornment.
python Satmind/orekit-env.py
runs an orkit scenario that produces a contineous thrust, successfully configured if program does not crash.
Pre-trained models
To run the pre-trained models, ensure that the input file points to the correct corresponding mission.
python ddpg-sat.py --model <path to model>
Train from scratch
To run training from scratch pass:
python ddpg-sat.py
Arguments
optional arguments:
- -h, --help show this help message and exit
- --model MODEL path of a trained tensorlfow model (str: path)
- --test if testing a model (must pass a model as well)
- --savefig Save figures to file (saves in results directory)
- --showfig Display plotted figures
Configure
- To change the orbit missions edit the input.json file. The initial and target states are in Keplarian orbital elements using degrees and the duration is expressed in days.
- To change the hyperparameters for the neural netowkrs or RL algorithm are in the ddpg-sat.py
License
This software is distributed under the Apache 2.0 License.
Related Skills
proje
Interactive vocabulary learning platform with smart flashcards and spaced repetition for effective language acquisition.
YC-Killer
2.7kA library of enterprise-grade AI agents designed to democratize artificial intelligence and provide free, open-source alternatives to overvalued Y Combinator startups. If you are excited about democratizing AI access & AI agents, please star ⭐️ this repository and use the link in the readme to join our open source AI research team.
best-practices-researcher
The most comprehensive Claude Code skills registry | Web Search: https://skills-registry-web.vercel.app
research_rules
Research & Verification Rules Quote Verification Protocol Primary Task "Make sure that the quote is relevant to the chapter and so you we want to make sure that we want to have it identifie
