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

Output file size

Output file size

Is there a way to limit the output file size? For example, can we choose to output only the data from every 10ms? With the variable step solver, the time step of the data in the .mat file is variable, but there are times when I would only want to see the data on a certain frequency, to limit the size of the file.

Re: Output file size

The default is to only output at the times given by the output interval (equidistant time grid). Perhaps you simply need to disable events and set the output interval you desired? https://openmodelica.org/doc/OpenModeli … oeventemit

It is also possible to resample the output file (but then you get a large file that you reduce in size which is not as efficient): https://openmodelica.org/doc/OpenModeli … ionresults

Re: Output file size

Thanks - that helps. I was not aware of the -noeventemit option.

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