Opened 10 years ago

Last modified 10 years ago

#3002 closed defect

Impossible to graphically connect array connectors in OM. — at Initial Version

Reported by: massimo ceraolo Owned by: Adeel Asghar
Priority: normal Milestone:
Component: OMEdit Version: trunk
Keywords: Cc:

Description

This is somewhat related to #3001.

Consider the following model:

model testConn1
  Modelica.Electrical.MultiPhase.Ideal.IdealOpeningSwitch sw annotation(Placement(visible = true, transformation(origin = {-48, 8}, extent = {{-10, -10}, {10, 10}}, rotation = -90)));
  Modelica.Blocks.Sources.BooleanStep step[3] annotation(Placement(visible = true, transformation(origin = {-4, 10}, extent = {{10, -10}, {-10, 10}}, rotation = 0)));
  annotation(Icon(coordinateSystem(extent = {{-100, -100}, {100, 100}}, preserveAspectRatio = true, initialScale = 0.1, grid = {1, 1})), Diagram(coordinateSystem(extent = {{-100, -100}, {100, 100}}, preserveAspectRatio = true, initialScale = 0.1, grid = {2, 2})));
end testConn1;

It should be possible to graphically connect the output of "step" with the control signal of "sw". However this appears to be not possible with graphical actions in the OMEdit diagram view.
The expected connect equation to be generated should be:

connect(step.y, sw.control)

that should be correct because both signals are array having size 3.

Change History (0)

Note: See TracTickets for help on using tickets.