- Index
- » Usage and Applications
- » OpenModelica Usage and Applications
- » Output file size
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.
- palmer13
- 26 Posts
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
- sjoelund.se
- 1700 Posts
Re: Output file size
Thanks - that helps. I was not aware of the -noeventemit option.
- palmer13
- 26 Posts
- Index
- » Usage and Applications
- » OpenModelica Usage and Applications
- » Output file size