Changes between Initial Version and Version 1 of Ticket #5447, comment 22


Ignore:
Timestamp:
2021-04-24T15:26:46Z (4 years ago)
Author:
massimo ceraolo

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #5447, comment 22

    initial v1  
    1414I suppose that OMEdit does not allocate arrays to parameters right?
    1515
    16 PlotXY was designed with memory and speed efficiency in mind. For instance it plots significantly faster than OMEdit. This has an inpact on the user experience with large variables. I made a comparison with  a one-million point variable between PlotXY and OM. The plotting times for a single variable (from the same mat file) were 25 ms and 73 s respectively (more than three orders of magnitude)
     16PlotXY was designed with memory and speed efficiency in mind. For instance, it plots significantly faster than OMEdit. This has an impact on the user experience with large variables. I made a comparison with a one-million point variable between PlotXY and OM. The plotting times for a single variable (from the same mat file) were 25 ms and 5.5 s respectively, on the same laptop.
     175.5 s is ok nowadays, but PlotXY gave a real edge when computers were two or three orders of magnitude slower than today's.
    1718
    1819However, PlotXY is not adequate for plotting from production Modelica outputs, mainly because it does not list any alias, and therefore the user should envisage himself which variable is equivalent to what. I could very easily add the full list of output variables, allocating memory for all of them (and probably I'll do). More complicated would be to list alias without allocating space to them, except those to be plotted.