Giter VIP home page Giter VIP logo

assimulo's Introduction

About

Assimulo is a Cython/Python based simulation package that allows for simulation of both ordinary differential equations of the form $f(t,y)$ (explicit problems) and differential algebraic equations of the form $f(t, y, y_d)$ (implicit problems). Assimulo currently supports Explicit Euler, adaptive Runge-Kutta of order 4 and Runge-Kutta of order 4. Assimulo also wraps the popular SUNDIALS solvers CVode (for explicit problems) and IDA (for implicit problems). Hairer's codes Radau5, Rodas and Dopri5 is also available.

CVode and IDA supports discontinuous systems of the form $f(t, y, s_w)$ and $f(t, y, y_d, s_w)$ with event(root)-functions defined as $g(t, y, s_w)$ and $g(t, y, y_d, s_w)$ where $s_w$ should be fixed during the integration.

The package comes with a Problem specifications class and subclasses corresponding to different types of problems. Choices are Implicit_Problem and Explicit_Problem. To define and solve a problem, first import the solver of choice and the appropriate Implicit/Explicit class. Furthermore, define your function $f$ and the initial conditions to pass to the problem class constructor. Then, create your solver, set the attributes (method, absolute/relative tolerance etc.) and use the simulate method to simulate.

For more information about Assimulo, documentation tutorial etc, see the docs from the older JModelica website.

Sundials Compliance

Current Assimulo development aims for compliancy with Sundials v2.7.0.

Some optional features in `Assimulo>=3.4.1`` are built on the modified Sundials version that can be accessed here.

Installation

See the INSTALL file or the installation page on http://www.jmodelica.org/assimulo.

Contributing

For information about contributing, see https://github.com/modelon/contributing.

Contact

For contact, either via email or the easiest is immediately by filing an issue or pull request here on GitHub. Email: christian.winther at modelon.com.

assimulo's People

Contributors

chria avatar clausfse avatar petermeisrimelmodelon avatar modelonrobinandersson avatar christian-winther avatar jschueller avatar agnesramle avatar aramle avatar efredriksson-modelon avatar jakesson 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.