Opened 20 months ago

Last modified 20 months ago

#5573 assigned defect

Event switches in nested pre propagation blocks

Reported by: Jonathan Kämpe Owned by: Jonathan Kämpe
Priority: major Milestone:
Component: Modelica/FrontEnd Version: trunk
Keywords: Cc:

Description

Event switches are not handled correctly in nested pre propagation blocks. The nested blocks that contain switches need to be merged to the surrounding block. If we extract the switches to their own equations it will be handled automatically. We will also benefit in other areas (equation sorting, code generation, identical switch elimination) were there are a lot of special considerations due to the relational expressions.

Change History (3)

comment:1 Changed 20 months ago by Jonathan Kämpe

changeset:10754

Creating dev branch

changeset:10755

Refactoring relational expression handling (experimental)

changeset:10756

Adding condition on option to fix unit tests

changeset:10758

Updating last failing unit tests


changeset:10761

Updating simulation tests

comment:2 Changed 20 months ago by Jonathan Kämpe

changeset:10773

Split option in two parts. Added some todos

changeset:10784

Fixed bug where switch wasn't replaced

comment:3 Changed 20 months ago by Christian Andersson

Milestone: 2.2.x

Ticket retargeted after milestone closed

Note: See TracTickets for help on using tickets.