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 , 12 years ago
Owner: | changed from | to
---|---|
Status: | new → accepted |
comment:2 by , 12 years ago
comment:4 by , 12 years ago
Resolution: | → fixed |
---|---|
Status: | accepted → closed |
Note:
See TracTickets
for help on using tickets.
I'm not sure
delay(x,...)
should becomex
during initialization. I always read it as "the start-value of x".