Opened 10 years ago
#3079 new defect
Start values are not calculated properly if they depend on secondary parameters
Reported by: | Lennart Ochel | Owned by: | Lennart Ochel |
---|---|---|---|
Priority: | high | Milestone: | Future |
Component: | Backend | Version: | trunk |
Keywords: | Cc: |
Description
Start values are calculated before the secondary parameters which leads to div. by zero. The following model demonstrates the wrong behavior:
model A parameter Real a(fixed=false); Real x(start = 1.0,fixed=true); Real y(start = 1/b,fixed=true); parameter Real b = 5.6 / a; initial equation x*2 = a; equation der(x) = 0; der(y) = 0; end A;
Attachments (1)
Note:
See TracTickets
for help on using tickets.