Opened 5 years ago

Last modified 3 years ago

#5709 new defect

Equidistant time grid not working properly

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

Description (last modified by massimo ceraolo)

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-process 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 (7)

comment:1 by Francesco Casella, 5 years ago

Priority: highblocker
Summary: Equidistant time grind not working properlyEquidistant time grid not working properly

comment:2 by massimo ceraolo, 5 years ago

Description: modified (diff)

comment:3 by Francesco Casella, 4 years ago

Milestone: 1.15.01.16.0

Release 1.15.0 was scrapped, because replaceable support eventually turned out to be more easily implemented in 1.16.0. Hence, all 1.15.0 tickets are rescheduled to 1.16.0

comment:4 by Francesco Casella, 4 years ago

Milestone: 1.16.01.17.0

Retargeted to 1.17.0 after 1.16.0 release

comment:5 by Francesco Casella, 4 years ago

Milestone: 1.17.01.18.0

Rescheduled to 1.18.0

comment:6 by Francesco Casella, 3 years ago

Milestone: 1.18.0

Ticket retargeted after milestone closed

comment:7 by Francesco Casella, 3 years ago

Milestone: 1.19.0

1.18.0 blocker tickets moved to 1.19.0

Note: See TracTickets for help on using tickets.