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

Disable storing of variables at event

Disable storing of variables at event

Hey,

dymola has a simulation setting called, "Store variables at events" which can be deselected. Is there a similar simulation option in OM?

The main reason I'm asking is that I want to compare simulation results from different tools. Also I've noticed that in some models the number of generated time points add up to about 300'000 (5000 communication points and the rest event points) resulting in huge .mat files and slow post-processing of simulation data.

thanks,

Patrik

Re: Disable storing of variables at event

Hi,

We don't have such option. However I guess it won't be hard to implement as everything you need is in our SimulationRuntime/c code.
Also you could do this as a post-processing step to get rid of the extra points.
We also have an API to compare .mat files directly in OpenModelica. See any of the .mos scripts here:
https://trac.openmodelica.org/OpenModel … ries/msl32

Cheers,
Adrian Pop/

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