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

OpenModelica Result file

OpenModelica Result file

Hallo,

I am working with Modelica for a long time but mostly with Dymola. Now I would like to go back to OpenModelica and have a question about the result files there.
I am mostly working with the execetable file OM creates when translating a model. I am changing the initial data through the init File, which works fine. Now I am looking for a possibility to read out the end values of the simulation (only the end value). Dymola creates dsinfinal.txt which looks exactly like the init file but holds the end information. That makes finding the end values I need quite easy. Is there a possibility to have something similar in OM. I would like to avoid reading the result file of all data.
Hope someone can give me a hint :-)

Thanks a lot.
Lexa

Re: OpenModelica Result file

Hi,

Well, it should be possible. You can hack the c_runtime to output the final values into omcfinal.txt if you want, it should be rather easy.

Cheers,
Adrian Pop/

There are 0 guests and 0 other users also viewing this topic