Opened 11 years ago

Closed 11 years ago

#2718 closed defect (fixed)

Relation with DAE.LUNARY not handled correctly

Reported by: Willi Braun Owned by: Willi Braun
Priority: critical Milestone: 1.9.1
Component: Backend Version: trunk
Keywords: events Cc:

Description

See following model:

model bug2718
  Real x,y,z(start=-0.002);
  Boolean b, b1;
algorithm
  b := not z > pre(x);
  when b then
    x := z+0.001;
  end when;
equation
  b1 = not z > pre(y);
  when b1 then
    y = z-0.001;
  end when;
  der(z) = 0.1*sin(50*time);
end bug2718;

The events are triggered, but without any effect to x and y.

Change History (2)

comment:1 by Willi Braun, 11 years ago

fixed in r21008.

comment:2 by Willi Braun, 11 years ago

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