Opened 11 years ago

Closed 11 years ago

Last modified 9 years ago

#2225 closed enhancement (duplicate)

Handle time events efficiently

Reported by: Francesco Casella Owned by: Lennart Ochel
Priority: high Milestone: never
Component: Backend Version: trunk
Keywords: Cc:

Description

The relations

time >= <discrete_expr>
time < <discrete_expr>

can be handled as time events without resorting to crossing functions, thus leading to more efficient simulation code (see Modelica Specification 3.2 rev1, sect. 8.5).

Since the machinery to handle time events generated by the sample() operator is already in place, it shouldn't be too hard to extend it in order to also handle these special cases.

Change History (2)

comment:1 by Lennart Ochel, 11 years ago

Resolution: duplicate
Status: newclosed

See #2224

comment:2 by Dietmar Winkler, 9 years ago

Milestone: Futurenever

Sorting away the closed as invalid, won't fix and duplicate tickets from Future.

Note: See TracTickets for help on using tickets.