forked from modelon-community/Assimulo
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathREADME
More file actions
42 lines (32 loc) · 1.67 KB
/
Copy pathREADME
File metadata and controls
42 lines (32 loc) · 1.67 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
========
ASSIMULO
========
README
=======
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,yd), (implicit problems). Assimulo currently supports Explicit
Euler, adaptive Runge-Kutta of order 4 and Runge-Kutta of order 4. It
also wraps the popular SUNDIALS
(https://computation.llnl.gov/casc/sundials/main.html) solvers CVode
(for explicit problems) and IDA (for implicit problems). Hairer's
(http://www.unige.ch/~hairer/software.html) codes Radau5, Rodas and
Dopri5 is also available. CVode and IDA supports discontinuous systems
of the form f(t,y,sw) and f(t,y,yd,sw) with event(root)-functions
defined as g(t,y,sw) and g(t,y,yd,sw) where sw should be fixed during
the integration.
The package comes with a Problem specifications class and subclasses corresponding
to the different problem, Implicit_Problem and Explicit_Problem. To define and
solve a problem, first import the solver of choice and the appropriate
(Implicit/Explicit)_Problem class. Then define your function, f and initial conditions
which 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, visit
http://www.jmodelica.org/assimulo
INSTALL
See the INSTALL file or the installation page on http://www.jmodelica.org/assimulo.
CONTACT
Trac-site: https://trac.jmodelica.org/assimulo/wiki
Homepage: http://www.jmodelica.org/assimulo
Email: christian.winther@modelon.com