#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 , 9 years ago
Resolution: | → duplicate |
---|---|
Status: | new → closed |
comment:2 by , 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 , 9 years ago
I confirm that the correct connect
statement can now be generated through the GUI.
comment:4 by , 9 years ago
Milestone: | Future → 1.9.4 |
---|
Seems like duplicate of #1900.
There is no
weaBus
instance inBuildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3
. Which version are you using?Btw, support for expandable connectors is added in 22a1579/OMEdit.