#3483 closed defect (duplicate)
OMEdit does not draw connect statement to expandable connectors
Reported by: | mwetter | Owned by: | adeas31 |
---|---|---|---|
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 Changed 9 years ago by adeas31
- Resolution set to duplicate
- Status changed from new to closed
comment:2 Changed 9 years ago by mwetter
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 Changed 9 years ago by mwetter
I confirm that the correct connect statement can now be generated through the GUI.
comment:4 Changed 8 years ago by adeas31
- Milestone changed from Future to 1.9.4
comment:5 Changed 8 years ago by sjoelund.se
- Milestone changed from 1.9.4 to 1.9.4-1.9.x
Milestone renamed
comment:6 Changed 8 years ago by sjoelund.se
- Milestone changed from 1.9.4-1.9.x to 1.9.4
Milestone renamed
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.