We’re rewarding the question askers & reputations are being recalculated! Read more.

Questions tagged [openmodelica]

OpenModelica is an open-source implementation for the Modelica modeling language.

Filter by
Sorted by
Tagged with
5
votes
2answers
244 views

Recommended language/environment for large scale semi-continuous biological models

We have a fairly large (maybe 1000 equations) differential-algebraic equation model written in ACSLX, an obsolete modelling environment similar to Modelica. The model represents the evolution of a ...
0
votes
1answer
259 views

Modelica and SIMULINK yield completely different results

I'm trying to simulate a 1D model of two bodies sliding on each other with a Coulomb friction in between. As I have explained here I modeled the friction as : The force required to keep two bodies ...
2
votes
1answer
150 views

Finite difference method not working for advection PDE with negative coefficient

I'm trying to solve a very simple advection PDE $\frac{\partial u}{\partial t}+c\frac{\partial u}{\partial x}=0$ where $c<0$. I have been able to implement a simple Modelica code to solve the ...
1
vote
0answers
55 views

Object-oriented non-linear solving in python

I'd like to build a system in Python, consisting of (broadly speaking) objects which are internally described with (not necessarily just linear) equations, that I can connect with each other - similar ...
12
votes
3answers
13k views

Alternatives to Comsol Multiphysics

This might be a question better suited for the Software Recommendations side of S.E., however I do believe that people who frequent this part of S.E. are more likely to be able to answer this question....
1
vote
1answer
273 views

Modelica “derivative” annotation problem

I have questions about the use of "derivative" annotation I wanted to ask you. Lets put a sample. The equation is this: z_level = LevelZ(time); where LevelZ(...
1
vote
0answers
251 views

How to do something in Modelica every solver iteration?

How is it possible to do something once every solver iteration? The expressions when change(time) or when time > pre(time) ...
6
votes
1answer
4k views

How to do co-simulation with two FMU models

I have two FMU developed with different simulation tools. I would like to connect them through some variables and run a co-simulation with an open source tool as OpenModelica. This co-simulation has ...