Opened 9 years ago
Last modified 9 years ago
#3511 assigned defect
BackendDAEUtil.tryToSolveOrDerive don't use functionTree — at Version 4
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;
OM should be can find same tearing for a,b
and _a,_b
Change History (4)
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) |
---|
Note:
See TracTickets
for help on using tickets.
Can you provide a (small) test case?