Opened 5 years ago

Last modified 5 years ago

#5777 closed defect

State event at each sample step of CombiTimeTable — at Version 1

Reported by: Oliver Lenord Owned by: Lennart Ochel
Priority: high Milestone: 1.16.0
Component: Backend Version: v1.14.0
Keywords: events, table Cc:

Description (last modified by Oliver Lenord)

Simulating a simple CombiTimeTable with a time series of step size ~=0.01 leads to time events at each sample step. his slows down the simulation significantly.

The attached model contains for test cases using the CombiTimeTable with data from a file, a matrix as parameter each with a sample step of exactly 0.01 and slightly larger with 0.010000037. Test have been carried out with the step size exactly 0.01 or not. In all cases the comparison of OMEdit against Dymola shows the following:

Dymola statistics:

Number of (U) time events : 0
Number of state events : 0
Number of step events : 0

OMC Statistics:

time events 0
state events 799

For larger models the simulation time of OMEdit is multiple times slower than Dymola.

Change History (4)

by Oliver Lenord, 5 years ago

Attachment: TableIssue.mo added

by Oliver Lenord, 5 years ago

Attachment: table_data.mat added

by Oliver Lenord, 5 years ago

Attachment: table_data_even.mat added

comment:1 by Oliver Lenord, 5 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.