Opened 12 years ago

Closed 12 years ago

#2008 closed defect (fixed)

delay in initial equation

Reported by: Christian Schubert Owned by: Lennart Ochel
Priority: high Milestone: 1.9.0
Component: Backend Version: trunk
Keywords: Cc: Adrian Pop

Description

The test

simulation/modelica/nonlinear_system/nonlinearDelayTest.mos 

fails because delay is not handled properly during symbolic initialization.

According to the specification, delay returns

expr(time–delayTime) for time>time.start +
delayTime and expr(time.start) for time <= time.start +
delayTime

Thus, if I am not mistaken during initialization delay should be simplified to

delay(x, delayTime) = x

Change History (4)

comment:1 by Lennart Ochel, 12 years ago

Owner: changed from Jens Frenkel to Lennart Ochel
Status: newaccepted

comment:2 by Martin Sjölund, 12 years ago

I'm not sure delay(x,...) should become x during initialization. I always read it as "the start-value of x".

comment:3 by Lennart Ochel, 12 years ago

And where? I guess x should be fine.

probably fixed in r14646

Last edited 12 years ago by Lennart Ochel (previous) (diff)

comment:4 by Lennart Ochel, 12 years ago

Resolution: fixed
Status: acceptedclosed
Note: See TracTickets for help on using tickets.