Opened 5 years ago
Last modified 5 years ago
#5572 new defect
Delay operator in a for loop of an algorithm section — at Initial Version
Reported by: | Owned by: | somebody | |
---|---|---|---|
Priority: | high | Milestone: | Future |
Component: | Backend | Version: | |
Keywords: | Cc: | alireza.masoom@…, ni.ding@…, Karim Adbdelhak, Andreas Heuermann |
Description
The following simple model using a delay operator in a for-loop inside an algorithm section is not handled by OpenModelica.
model test3
Real x=sin(377*time);
Real z;
parameter Real tau[:]={0.01,0.02};
equation
algorithm
for k in 1: 2 loop
z:=delay(x,tau[k]);
end for;
end test3;
Note:
See TracTickets
for help on using tickets.