Opened 8 years ago

Closed 8 years ago

#4339 closed defect (fixed)

Erroneous descriptive strings for derivatives

Reported by: massimo ceraolo Owned by: Lennart Ochel
Priority: low Milestone: 1.12.0
Component: Code Generation Version:
Keywords: Cc:

Description

I noted that descriptive strings shown by OMEdit in the Variables browser are wrong when derivatives are involved.
For instance if a Modelica.Mechanics.Translational.Components.Mass instance is considered
the descriptive string of der(v) instead of being "der(absolute velocity of component)" is "absolute velocity of component".

Change History (3)

comment:1 by Lennart Ochel, 8 years ago

Component: OMEditCode Generation
Owner: changed from Adeel Asghar to Lennart Ochel
Status: newaccepted

comment:2 by Lennart Ochel, 8 years ago

It is not only the comment, but also the min, max, nominal, and fixed attribute that are copied from the corresponding states.

comment:3 by Lennart Ochel, 8 years ago

Resolution: fixed
Status: acceptedclosed

Fixed with OMCompiler#1559.

Note: See TracTickets for help on using tickets.