Numerical simulation of ODEs in python.
Python
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
doc
odelab
tests
.coveragerc
.gitignore
.travis.yml
LICENSE.rst
README.md
requirements.txt
setup.py

README.md

ODE Solvers in Python

Build Status Coverage Status ![Python version](https://img.shields.io/badge/python-3.4, 3.5-blue.svg?style=flat-square)

Numerical simulation of ODEs in Python (full documentation available).

Features

  • simulation of differential equations with various solvers
  • emphasis on long-time simulation, and efficient storage of data
  • symplectic solvers for mechanical systems
  • Generic Runge-Kutta solvers
  • Exponential solvers

Example

van der Pol example

That example can be reproduced with:

from odelab import Solver
from odelab.scheme.classic import RungeKutta4
from odelab.system.classic import VanderPol

s = Solver(scheme=RungeKutta4(.1), system=VanderPol())
s.initialize([2.7,0], name='2.7')
s.run(10.)
s.plot2D()

Read the full full documentation.