Opened 5 years ago

Last modified 4 years ago

#5709 new defect

Equidistant time grind not working properly — at Initial Version

Reported by: massimo ceraolo Owned by: somebody
Priority: blocker Milestone: 1.19.0
Component: *unknown* Version:
Keywords: Cc:

Description

The Simulation setup, checking the option "equidistant time grid", while simultaneously unchecking "Store Variables at events", should give, in my understanding, control on the number of points stored in the output file.

This is very important when one wants to post-processing results, for instance using an algorithm to find harmonics in periodic curves, which often require uniform sampling time.

Take for instance:
Modelica.Electrical.PowerConverters.Examples.DCAC.SinglePhaseTwoLevel.SinglePhaseTwoLevel_R

Let us set:

  • set Stop time: 0.1
  • set Number of Intervals 5000
  • select "Equidistant time Grid"
  • unselect "Store Variables at Events".

According to these options, I would expect to have exactly 5001 points in the output file, and, in fact, with Dymola this is what happens.

With OM, instead, I produce 4901 points. I suspect that these are not equidistant.

Change History (0)

Note: See TracTickets for help on using tickets.