Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#3483 closed defect (duplicate)

OMEdit does not draw connect statement to expandable connectors

Reported by: Michael Wetter Owned by: Adeel Asghar
Priority: normal Milestone: 1.9.4
Component: OMEdit Version:
Keywords: expandable connector Cc: res@…

Description

OMEdit does not draw connection lines to exandable connectors. To reproduce, delete in Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3 a connection line to the weather data bus (instance weaBus) and try to draw it again.

Change History (6)

comment:1 by Adeel Asghar, 9 years ago

Resolution: duplicate
Status: newclosed

Seems like duplicate of #1900.

There is no weaBus instance in Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3. Which version are you using?

Btw, support for expandable connectors is added in 22a1579/OMEdit.

comment:2 by Michael Wetter, 9 years ago

Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3 probably changed, but I tried again with Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody and the nightly build on Linux of OMEdit (which may not yet include https://trac.openmodelica.org/OpenModelica/changeset/22a1579/OMEdit).

Now, the lines are drawn, but the connect statements are of the form

connect(weaBus.weaBus, TBlaSky.TDewPoi);

which is invalid. What should happen is that a window asks to what variable the connection should be made, and then a connect statement of the form

connect(weaBus.TDewPoi, TBlaSky.TDewPoi);

should be generated (if TDewPoi) was selected. (Plus appropriate annotations.)

comment:3 by Michael Wetter, 9 years ago

I confirm that the correct connect statement can now be generated through the GUI.

comment:4 by Adeel Asghar, 9 years ago

Milestone: Future1.9.4

comment:5 by Martin Sjölund, 9 years ago

Milestone: 1.9.41.9.4-1.9.x

Milestone renamed

comment:6 by Martin Sjölund, 9 years ago

Milestone: 1.9.4-1.9.x1.9.4

Milestone renamed

Note: See TracTickets for help on using tickets.