GithubHelp home page GithubHelp logo

baggepinnen / seetodee.jl Goto Github PK

View Code? Open in Web Editor NEW
13.0 3.0 0.0 288 KB

A small step for dynamics, a giant leap for SciML

License: MIT License

Julia 100.00%
simulation control-systems controls integration direct-collocation rk4 runge-kutta-4

seetodee.jl's Introduction

SeeToDee

Build Status Documentation, stable Documentation, latest

SeeToDee implements low-overhead, nonlinear variants of the classical c2d function from ControlSystems.jl.

Given a continuous-time dynamics function

$$\dot x = f(x, u, p, t)$$

this package contains integrators that convert the continuous-time dynamics into a discrete-time dynamics function

$$x_{t+T_s} = f(x_t, u_t, p, t)$$

that advances the state from time $t$ to time $t+T_s$, with a Zero-order-Hold (ZoH) assumption on the input $u$.

The integrators in this package focus on

  • Low overhead for single-step integration, i.e., no solution handling, no interpolation, nothing fancy at all.
  • Fixed time step. All integrators are non-adaptive, i.e., the integrators do not change their step size using error control. This typically makes the integrator have a more predictable runtime. It also reduces overhead without affecting accuracy in situations when the fixed step-size is small in relation to what would be required to meet the desired accuracy.
  • Dirt-simple interface, i.e., you literally use the integrator as a function x⁺ = f(x, u, p, t) that you can call in a loop etc. to perform simulations.
  • Inputs are first class, i.e., the signature of the dynamics take input signals (such as controlled inputs or disturbance inputs) as arguments.
  • Most things are manual. Want to simulate a trajectory? Write a loop!

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.