Opened 11 years ago

Closed 11 years ago

#2667 closed defect (fixed)

Conditional connectors not handled by OMEdit

Reported by: tmtuomas Owned by: Willi Braun
Priority: critical Milestone: 1.9.1
Component: Run-time Version: trunk
Keywords: Cc: Lennart Ochel

Description (last modified by Martin Sjölund)

Since cardinality was deprecated a few years ago, conditional connectors have been used extensively, in particular in the MSL.

Currently OMEdit always display conditional connectors even when they are switched off, which might be a bit confusing for the user. It would be nice (and probably not too hard to implement in MetaModelica) if we only drew conditional connectors when they are active.

Attachments (2)

Model.mo (216 bytes ) - added by tmtuomas 11 years ago.
Model.mos (137 bytes ) - added by tmtuomas 11 years ago.

Download all attachments as: .zip

Change History (6)

by tmtuomas, 11 years ago

Attachment: Model.mo added

by tmtuomas, 11 years ago

Attachment: Model.mos added

comment:1 by Martin Sjölund, 11 years ago

Cc: Lennart Ochel added
Component: BackendRun-time
Description: modified (diff)
Owner: changed from probably noone to Willi Braun
Priority: normalcritical
Reporter: changed from tmtuomas to Francesco Casella
Status: newassigned
Summary: Integration with a non-zero initial value plummets at the beginning of the simulationConditional connectors not handled by OMEdit

The funny thing is:

  1. We satisfy static_stock(time=0) = 1000
  2. We satisfy der(static_stock) = 0

There is an odd discrete jump at time=0 from 1000 down to 0 though...

comment:2 by Martin Sjölund, 11 years ago

Reporter: changed from Francesco Casella to tmtuomas

comment:3 by Willi Braun, 11 years ago

Status: assignedaccepted

comment:4 by Willi Braun, 11 years ago

Resolution: fixed
Status: acceptedclosed

fixed in r20172.

Note: See TracTickets for help on using tickets.