Opened 14 years ago
Last modified 7 years ago
#1478 assigned defect
Handling mixed systems containing discrete iteration variables
Reported by: | Per Östlund | Owned by: | somebody |
---|---|---|---|
Priority: | critical | Milestone: | Future |
Component: | Backend | Version: | trunk |
Keywords: | Cc: | Per Östlund, Frenkel, TUD, Willi Braun, Patrick Täuber, kaja.balzereit@… |
Description
The attached model causes findDiscreteEquation to fail when compiling the Microwave model.
Update: The compiler actually generates code anyway, which contains a huge residual functions (> 11000 lines) and segfaults when executed.
Attachments (1)
Change History (6)
by , 14 years ago
Attachment: | Microwave.mo added |
---|
comment:1 by , 10 years ago
Cc: | added; removed |
---|---|
Component: | → Backend |
comment:2 by , 10 years ago
Summary: | findDiscreteEquation fails on qualified cref in if-statement → Handling mixed systems containing discrete iteration variables |
---|
Replying to lochel:
This is handled different since r22641. Unfortunately, now there is a discrete variable selected as tearing variable. Patrick, can you have a look?
There are discrete iteration variables, since it is not possible to tear the system without such ones. Also omcTearing does not care whether variables are discrete or not. Hence, this is now a ticket about solving mixed systems properly that cannot be handled using tearing.
comment:3 by , 9 years ago
Milestone: | → Future |
---|
comment:4 by , 9 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:5 by , 7 years ago
Cc: | added |
---|
This is handled different since r22641. Unfortunately, now there is a discrete variable selected as tearing variable. Patrick, can you have a look?
Anyway, it is possible to handle the generated system. Therefore a mixed-system solver need to be used, that tries different combination of involved Boolean iteration variables. Willi told me, that such a solver is already available in the runtime system.