Opened 18 years ago

Closed 12 years ago

#125 closed defect (fixed)

Pulse + Trapezoid Blocks fail

Reported by: Wilhelm.Medetz Owned by: Wilhelm.Medetz
Priority: blocker Milestone:
Component: Backend Version:
Keywords: Cc: Wilhelm.Medetz, Adrian Pop

Description


Attachments (2)

PulseError.zip (427.8 KB ) - added by Wilhelm.Medetz 18 years ago.
Project file (zipped) to reproduce the error
plot.png (10.8 KB ) - added by Wilhelm.Medetz 18 years ago.
Results Plot

Download all attachments as: .zip

Change History (6)

comment:1 by Wilhelm.Medetz, 18 years ago

The following simple model
delivers wrong results with the latest OpenModelica Snapshot
OpenModelica-1.4.3-NIGHTLY-BUILD-2007_05_10-18_09.msi

Errors:


  • pulse.y goes 2 times up and down then stays up for for 3 periods, then chged

correctly for 13 periods again freezes at +5.

  • trapezoid.y changes only one to -5, then always stays a -5

I can send your a graphical plot or the whole project to reproduce the error.

Many thanks

Wilhelm Medetz

Model:


model PulseError

Modelica.Blocks.Sources.Pulse pulse(amplitude = 5, period=0.2, width=50,

startTime = 0.1);

Modelica.Blocks.Sources.Trapezoid trapezoid(amplitude = -5, period=0.2,

width=50, startTime = 0.1);
end PulseError;

MOS File:


loadModel(Modelica);
loadFile("PulseError.mo");
simulate(PulseError, stopTime = 5);
plot({pulse.y, trapezoid.y});

by Wilhelm.Medetz, 18 years ago

Attachment: PulseError.zip added

Project file (zipped) to reproduce the error

comment:2 by Wilhelm.Medetz, 18 years ago

Created an attachment (id=16)
Project file (zipped) to reproduce the error

by Wilhelm.Medetz, 18 years ago

Attachment: plot.png added

Results Plot

comment:3 by Wilhelm.Medetz, 18 years ago

Created an attachment (id=17)
Results Plot

comment:4 by Willi Braun, 12 years ago

Component: Backend
Resolution: fixed
Status: newclosed

fixed probably long time ago

Note: See TracTickets for help on using tickets.