Opened 5 years ago
Last modified 5 years ago
#5543 new defect
OMEdit does not check if added connections are valid
Reported by: | Francesco Casella | Owned by: | Adrian Pop |
---|---|---|---|
Priority: | blocker | Milestone: | 2.0.0 |
Component: | NF API | Version: | |
Keywords: | Cc: | Adrian Pop, Per Östlund |
Description
When connecting any two ports, OMEdit should check that the two connectors are compatible. This is currently not the case: if you connect one electrical pin of the attached example with the thermal port of the thermal capacitor, the connection is accepted.
What is even more problematic is that the resulting model can be compiled, but this is the subject of another ticket, see #5542
Attachments (1)
Change History (3)
by , 5 years ago
Attachment: | TestConnection.mo added |
---|
comment:1 by , 5 years ago
Cc: | added |
---|
comment:2 by , 5 years ago
Component: | OMEdit → NF API |
---|---|
Milestone: | 1.14.0 → 2.0.0 |
Owner: | changed from | to
Note:
See TracTickets
for help on using tickets.
We use to have that check but was really slow for real models since we just instantiates the model to find out if the connection is valid or not. Maybe with the new frontend it is possible to have a new API to check this.