Opened 7 years ago
Last modified 7 years ago
#4501 assigned defect
Rotational display unit not converted correctly
Reported by: | Owned by: | Adrian Pop | |
---|---|---|---|
Priority: | high | Milestone: | Future |
Component: | Interactive Environment | Version: | |
Keywords: | Cc: |
Description
Consider the following model:
model Test Modelica.Mechanics.Rotational.Sources.QuadraticSpeedDependentTorque load( tau_nominal=-100, TorqueDirection=false, w_nominal(displayUnit="1/min") = 104.71975511966) annotation(Placement(visible = true, transformation(origin = {-2, 2}, extent = {{-10, -10}, {10, 10}}, rotation = 0))); end Test;
In this model the nominal angular velocity is equal to 104.71975511966 rad/s = 1000 1/min. Make a double click on the component load
in the Diagram view. Have a look at the attached image: it shows the wrong conversion to 6283.19 1/min. When switching back to rad/s the angular speed is displayed correctly.
This issue applies to
OMEdit 1.12.0~dev-329-gf8a7774 Connected to OpenModelica 1.12.0~dev-957-gd3d2a74 Linux Mint 18.2 64bit
Attachments (1)
Change History (4)
by , 7 years ago
Attachment: | QuadraticSpeedDependentTorque.png added |
---|
comment:2 by , 7 years ago
Component: | OMEdit → Interactive Environment |
---|---|
Owner: | changed from | to
Status: | new → assigned |
comment:3 by , 7 years ago
See #4195. According to the Modelica unit grammar we're doing the correct thing.
Note:
See TracTickets
for help on using tickets.
Wrong display unit conversion