Opened 14 years ago

Last modified 8 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)

Microwave.mo (7.2 KB ) - added by Per Östlund 14 years ago.

Download all attachments as: .zip

Change History (6)

by Per Östlund, 14 years ago

Attachment: Microwave.mo added

comment:1 by Lennart Ochel, 10 years ago

Cc: Frenkel TUD Patrick Täuber added; Jens Frenkel removed
Component: Backend

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.

comment:2 by Lennart Ochel, 10 years ago

Summary: findDiscreteEquation fails on qualified cref in if-statementHandling 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.

Last edited 10 years ago by Lennart Ochel (previous) (diff)

comment:3 by Dietmar Winkler, 9 years ago

Milestone: Future

comment:4 by Per Östlund, 9 years ago

Owner: changed from Per Östlund to somebody
Status: newassigned

comment:5 by Patrick Täuber, 8 years ago

Cc: kaja.balzereit@… added
Note: See TracTickets for help on using tickets.