Opened 9 years ago
Last modified 9 years ago
#3511 assigned defect
BackendDAEUtil.tryToSolveOrDerive don't use functionTree — at Version 5
Reported by: | Vitalij Ruge | Owned by: | Vitalij Ruge |
---|---|---|---|
Priority: | high | Milestone: | Future |
Component: | Backend | Version: | |
Keywords: | Cc: | Willi Braun, Patrick Täuber |
Description (last modified by )
Differentiate.differentiateExpSolve,ExpressionSolve.solve2
in tryToSolveOrDerive need for correct handling of functions the functionTree.
Example:
model testTearing function f input Real t; output Real y; algorithm y := 2 * t; end f; Real a annotation(tearingSelect = always); Real b; Real _a annotation(tearingSelect = always); Real _b; equation a = b + f(b); b = sin(a) + 3 * f(b); _a = _b + 2 * _b; _b = sin(_a) + 3 * 2 * _b; end testTearing;
It should be possible to find same tearing for a,b
loke for _a,_b
Change History (5)
comment:1 by , 9 years ago
Cc: | added |
---|
comment:2 by , 9 years ago
Cc: | added |
---|
comment:3 by , 9 years ago
Component: | Unknown → Backend |
---|
comment:4 by , 9 years ago
Description: | modified (diff) |
---|
comment:5 by , 9 years ago
Description: | modified (diff) |
---|
Note:
See TracTickets
for help on using tickets.
Can you provide a (small) test case?