Opened 11 years ago

Closed 10 years ago

#2396 closed defect (fixed)

unit expressions — at Version 3

Reported by: Lennart Ochel Owned by: Lennart Ochel
Priority: high Milestone: 1.9.3
Component: Backend Version: trunk
Keywords: Cc:

Description (last modified by Lennart Ochel)

There is no support for unit expressions in OpenModelica.

Change History (3)

comment:1 by Martin Sjölund, 11 years ago

What exactly does the backend need to do with unit expressions?

comment:2 by Lennart Ochel, 11 years ago

As far as I know, there is no unit check in OpenModelica. There are at least two things missing:

  1. equation with incompatible units should get reported with a warning
  2. implicit present units should be assigned to variables automatically

This ticket is probably assigned to the wrong component.

comment:3 by Lennart Ochel, 10 years ago

Description: modified (diff)
Resolution: fixed
Status: newclosed

Now, there is a module that does unit checking in the back end (r22530). It has probably to be moved to the front end (see #2856).

Note: See TracTickets for help on using tickets.