Opened 11 years ago

Last modified 11 years ago

#2667 closed defect

Conditional connectors not handled by OMEdit — at Version 1

Reported by: Francesco Casella 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.

Change History (3)

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...

Note: See TracTickets for help on using tickets.