Coder Social home page Coder Social logo

traj-opt-paper's Introduction

Optimizing multi-rendezvous spacecraft trajectories: ∆V matrices and sequence selection

Code for the experiments.

Installation

This code uses ephemeris data and Lambert targeting from pyKEP so pyKEP needs to be installed. Also required are: pygmo pathos and pyYAML:

pip3 install pygmo pathos pyYAML pykep

A Docker container with everything neccessary installed is also provided at aleksandarpetrov/traj-opt.

Getting Started

Running an experiment consists of:

  1. Generating ∆V matrices with the batch_Lambert_sampling.py script, e.g.:
python3 batch_Lambert_sampling.py --dt 80 --njobs 8 --output data/DV_20obj_dt80_raw --objects 20
  1. Applying wait-adjustment to the generated matrices with the wait_adjusting.py script, e.g.:
python3 wait_adjusting.py --njobs 8 --input data/DV_20obj_dt80_raw --output data/DV_20obj_dt80_wa
  1. Computing sequences of 5 objects via direct concatenation with the main.py script, e.g.:
python3 main.py --njobs 8 --input data/DV_20obj_dt80_wa --output data/DV_20obj_dt80_dced --dvtol 10000 --objects 20 --results data/20obj_dt80_results.yml --inmemory true

All this can be run in the provided Docker container by using the provided run_all.sh as a template. Note that you'd need to have Docker installed to be able to use it.

Authors

  • Aleksandar Petrov

License

Contact the authors

traj-opt-paper's People

Contributors

aleksandarpetrov avatar

Watchers

 avatar  avatar

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.