Archived OpenModelica forums. Posting is disabled.

Alternative forums include GitHub discussions or StackOverflow (make sure to read the Stack Overflow rules; you need to have well-formed questions)


Forgot password? | Forgot username? | Register

Solution functions to ODEs in OpenModelica

Solution functions to ODEs in OpenModelica

Hello OpenModelica community,

I want to know if there is way to get the solution functions to ODEs in the model, so I can perform some analytical tasks later.
If no, can anyone know if there are tools that can do the job.
I really need those functions.

Thank you in advance.

Re: Solution functions to ODEs in OpenModelica

Hello YacinOS

You can do some things. For example:
- Set to save simulation results in a .csv file, and open it later to get the values
- Inside Modelica code, save the interesting results in a file

Best regards
Koldo

Re: Solution functions to ODEs in OpenModelica

Hello Koldo,

Thank you for you reply, but what I'm interrested in, is not the results of the simulation (I already dealt with them), but rather the analytical solution of the ODE (which is a function). Like the "dsolve" function in Matlab.

Thank you.
Best regards.

Re: Solution functions to ODEs in OpenModelica

Hello YacinOS

I do not think it is possible to get the algebraic solution of an ODE in Modelica.
However, if you do not have Matlab or Mathematica, you can try Maxima (I like wxMaxima), that is a full-featured open source CAS (Computer Algebra System).

Best regards
Koldo

Re: Solution functions to ODEs in OpenModelica

Hello again Koldo,

Ok, I will give it a shot and see what it can offer to me. thank you by the way.

Best regards.

Re: Solution functions to ODEs in OpenModelica

Thank you for you reply, but what I'm interrested in, is not the results of the simulation


^Goldenslot^

There are 0 guests and 0 other users also viewing this topic
You are here: