Opened 8 years ago
Closed 8 years ago
#4184 closed defect (duplicate)
Display unit "deg" converted wrong on windows
Reported by: | Owned by: | Lennart Ochel | |
---|---|---|---|
Priority: | critical | Milestone: | 1.12.0 |
Component: | Run-time | Version: | v1.12.0 |
Keywords: | Cc: | Adeel Asghar, Adrian Pop, Martin Sjölund, Lennart Ochel |
Description
I am getting an incorrect simulation result from recent nightly builds of OpenModelica-64bit.
File Motor1Da-v1.11.0-dev-93-gaadd604.png shows what I believe is a correct result. The file Motor1Da-JModelica.png shows the result of simulating the same system using JModelica, with results that agree with the OM v1.11.0-dev-93 result.
File Motor1Da-v1.12.0-dev-54-gc3e6c1b.png, however, shows a different result and one that does not make any sense. The relevant equation from the inertial element is, w = der(phi);, which is directly contradicted by the result which has phi as negative and w as positive.
I have also attached the source file used for all of these simulation, Motor1Da.mo.
Attachments (4)
Change History (9)
by , 8 years ago
Attachment: | Motor1Da-v1.11.0-dev-93-gaadd604.png added |
---|
by , 8 years ago
Attachment: | Motor1Da-JModelica.png added |
---|
by , 8 years ago
Attachment: | Motor1Da-v1.12.0-dev-54-gc3e6c1b.png added |
---|
by , 8 years ago
Attachment: | Motor1Da.mo added |
---|
comment:1 by , 8 years ago
Cc: | added |
---|---|
Component: | *unknown* → Run-time |
Owner: | changed from | to
Priority: | high → critical |
Status: | new → assigned |
comment:2 by , 8 years ago
comment:3 by , 8 years ago
Owner: | changed from | to
---|---|
Summary: | Incorrect simulation result → Display unit "deg" converted wrong on windows |
Okay, the simulation results are correct even on windows. This is an issue of display unit "deg" on windows, it seems to work correct on a linux machine.
comment:5 by , 8 years ago
Milestone: | Future → 1.12.0 |
---|---|
Resolution: | → duplicate |
Status: | assigned → closed |
This model works for me as expected. Can anybody run it on windows?