Opened 13 years ago

Last modified 7 years ago

#1478 assigned defect

Handling mixed systems containing discrete iteration variables

Reported by: perost Owned by: somebody
Priority: critical Milestone: Future
Component: Backend Version: trunk
Keywords: Cc: perost, Frenkel, TUD, wbraun, ptaeuber, 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 perost 13 years ago.

Download all attachments as: .zip

Change History (6)

Changed 13 years ago by perost

comment:1 Changed 10 years ago by lochel

  • Cc Frenkel TUD ptaeuber added; Frenkel TUD removed
  • Component set to 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 Changed 10 years ago by lochel

  • Summary changed from findDiscreteEquation fails on qualified cref in if-statement to 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.

Last edited 10 years ago by lochel (previous) (diff)

comment:3 Changed 9 years ago by dietmarw

  • Milestone set to Future

comment:4 Changed 8 years ago by perost

  • Owner changed from perost to somebody
  • Status changed from new to assigned

comment:5 Changed 7 years ago by ptaeuber

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