Questions tagged [assimulo]

Assimulo is a simulation package for solving ordinary differential equations

Assimulo is a simulation package for solving ordinary differential equations. It's written in Python and combines a variety of different solvers written in FORTRAN and C. The aim is to provide a high-level interface for a wide variety of solvers, both new and old, solvers of industrial standards as well as experimental solvers. Thus allowing the comparison of different solvers for a given problem without the need to define the problem in multiple programming languages.

8 questions
23
votes
1 answer

How to combine an ODE system with a FEM system

I have a dynamic model set up as a (stiff) system of ODEs. I currently solve this with CVODE (from the SUNDIALS package in the Assimulo python package) and all is good. I now want to add a new 3D heat sink (with temperature-dependent thermal…
5
votes
4 answers

CVodeError while simulating with pyFMI

I try to set up the pyFMI on Anaconda (Python 3.6.8) Installed all the required packages listed on the pyFMI site. The fmu is loaded without the issue but while I try to simulate the fmu I get an error: Could not find cannot import name…
kelamahim
  • 577
  • 1
  • 4
  • 21
3
votes
2 answers

installation of assimulo and sundials - error

I want to use Assimulo and Sundials for the solution of differential algebraic equations in Python and therefore I am trying to install it on Ubuntu. For the installation of Sundials, I followed the installation instructions and as I understand it…
veiguf
  • 31
  • 4
1
vote
0 answers

Pathos KeyError with dill when using an instance method

I'm trying to run a simple ODE system with different values of a parameter, using Assimulo to call SUNDIAL's CVode. As a case study, I wrote these functions and solved the problem in parallel successfully: from assimulo.solvers import CVode from…
1
vote
2 answers

Sundials installed but not running in python with assimulo

Cheerio, I am trying to use Assimulo 2.9. on a Mac OS X. For that I downloaded and installed sundials via cmake by creating a builddir to the Download file and ../Downloads/sundials-2.7.0 running $cmake ../Downloads/sundials-2.7.0 …
Paul Rousseau
  • 571
  • 2
  • 7
  • 21
0
votes
1 answer

Python: How to solve DAE with Jacobian efficiently?

I am trying to use the Assimulo package to solve a set of differential algebraic equations (DAEs). I am trying to use an algorithm similar to that shown here. However, there does not seem to be an option to pass in a sparse matrix. My Jacobian…
0
votes
1 answer

How to solve - FMUException: The slave failed to initialize

I am new to the FMU world and started with it. I am trying to load and simulate an FMU in python which is created in GT-Suite. I had hard time solving the errors while loading an FMU but could do it finally.I am following jmodelica tutorials from…
chink
  • 1,505
  • 3
  • 28
  • 70
0
votes
2 answers

py2exe and assimulo - No module named algebraic

I am trying to build an executable using py2exe on a soft that uses the library assimulo (differential equation solver). The problem encountered is that during execution I receive: ImportError: No module named algebraic The exact error message…
Yvus
  • 338
  • 1
  • 20