Code Monkey home page Code Monkey logo

pika's Introduction

Pika

test status

A toolkit to explore multi-body dynamical systems such as the circular restricted three-body problem (CR3BP) and the CR3BP with low-thrust forces.

This software is the next evolution of the Astrohelion C++ tool which supports the same types of dynamical systems analyses.

pika's People

Contributors

adcox avatar

Watchers

 avatar

pika's Issues

Write differential corrector

Write a differential corrector to solve a CorrectionsProblem

My previous architecture:

  • A ProblemSolver accepts a CorrectionsProblem as an input
  • The problem solver has a set of "update generators" that can be used; if the first one cannot be applied, the second is tried, and so forth until either the problem is solved or the list of generators is exhuasted
  • Update Generators can include minimum norm, least squares, etc.
  • The problem solver has a single "convergence check"
  • Convergence Checks can include L2 norm of the constraint vector, infinity norm of the constraint vector, etc.

Add AngleEvent

Add a propagator event that triggers when the angle between a pre-defined vector and a subset of the propagated variable vector matches the desired value. The vectors need not be 2D or 3D; use the dot-product to get the angle in N-dimensions

MultipleShooterProblem

Create a class that inherits from CorrectionsProblem and but uses the higher level ControlPoint and Segment objects to construct the problem rather than an explicit set of Variables. This class will construct a directed graph of these points and segments and check the graph for illegal paths.

Add DeltaVConstraint

Add a constraint on the RSS of the velocity discontinuities between a propagated segment and the terminal node

Segment sequence from propagation

Add a class method to Segment that creates a sequence of segments from a propagated arc. The default behavior is a single segment that starts and ends at the propagation time limits, but the user can specify more than two indices at which to "break" the propagation. Origin and terminal control points are automatically created.

Segment.fromProp(propSol)    # --> single segment
Segment.fromProp(propSol, indices=[0, 100, 200, -1])    # --> three segments
Segment.fromProp(propSol, tof=2.3, shareTOFVar=True)    # --> multiple segments that share a single TOF variable

Add InequalityConstraint

Create a constraint object that accepts another "equality" constraint as an input, adds a slack variable, and then modifies the evaluation and adds the partials for the slack variable. This will utilize the self.importableVariables attribute to add the slack variable to a corrections problem

Add ApseConstraint

Add a constraint that forces a control point to be an apse with respect to a body, or maybe just a fixed point in space?

Add TimeContinuityConstraint

Add a constraint on the epochs of two control points linked by a segment such that the delta between the epochs is the segment time of flight

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.