Opened 7 years ago

Closed 3 years ago

Last modified 3 years ago

#4481 closed defect (fixed)

Artifacts in plotting discrete simulation using synchronous Clock feature

Reported by: rahul.dutta.bits@… Owned by: Adeel Asghar
Priority: blocker Milestone: 1.19.0
Component: OMEdit Version: v1.12.0
Keywords: Cc: Lennart Ochel

Description

Hi,

I am testing the new Modelica_Synchronous features by building a simple discrete PI controller. The Clock() command seems to work fine but while plotting the outputs, there seems to be some unusual artefacts. There appears extra plot lines shown in the attached pictures.

Attaching simulation .mo files for testing.

Thanks,
Rahul

Attachments (4)

discreetPIoutput.png (13.9 KB ) - added by rahul.dutta.bits@… 7 years ago.
output plot
discreetPIoutput1.png (15.7 KB ) - added by rahul.dutta.bits@… 7 years ago.
plot 2
PI_discreet.mo (992 bytes ) - added by rahul.dutta.bits@… 7 years ago.
PI contoller
test_pwm_driver.mo (789 bytes ) - added by rahul.dutta.bits@… 7 years ago.
PI control testing

Download all attachments as: .zip

Change History (10)

by rahul.dutta.bits@…, 7 years ago

Attachment: discreetPIoutput.png added

output plot

by rahul.dutta.bits@…, 7 years ago

Attachment: discreetPIoutput1.png added

plot 2

by rahul.dutta.bits@…, 7 years ago

Attachment: PI_discreet.mo added

PI contoller

by rahul.dutta.bits@…, 7 years ago

Attachment: test_pwm_driver.mo added

PI control testing

comment:1 by Dietmar Winkler, 6 years ago

I can confirm that this is still an issue with

OMEdit 1.14.0~dev-45-g9f3d0f7
Connected to OpenModelica 1.14.0~dev-285-g270177b

comment:2 by Dietmar Winkler, 6 years ago

Component: *unknown*OMEdit
Owner: changed from somebody to Adeel Asghar

comment:3 by Francesco Casella, 6 years ago

Milestone: Future2.0.0
Priority: highblocker

Definitely worth fixing for the 2.0.0. Wouldn't hurt if we can do it earlier.

comment:4 by Adeel Asghar, 6 years ago

Cc: Lennart Ochel added

comment:5 by Andreas Heuermann, 3 years ago

Resolution: fixed
Status: newclosed

comment:6 by Francesco Casella, 3 years ago

Milestone: 2.0.01.19.0
Note: See TracTickets for help on using tickets.