OpenModelica


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.

Administrator has disabled public posting. Please login or register in order to proceed.

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

Administrator has disabled public posting. Please login or register in order to proceed.

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.

Administrator has disabled public posting. Please login or register in order to proceed.

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

Administrator has disabled public posting. Please login or register in order to proceed.

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.

Administrator has disabled public posting. Please login or register in order to proceed.

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^

Administrator has disabled public posting. Please login or register in order to proceed.
There are 0 guests and 0 other users also viewing this topic
You are here: