Opened 11 years ago

Closed 11 years ago

Last modified 9 years ago

#2225 closed enhancement (duplicate)

Handle time events efficiently

Reported by: casella Owned by: lochel
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 Changed 11 years ago by lochel

  • Resolution set to duplicate
  • Status changed from new to closed

See #2224

comment:2 Changed 9 years ago by dietmarw

  • Milestone changed from Future to never

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

Note: See TracTickets for help on using tickets.