- Index
- » Usage and Applications
- » OpenModelica Usage and Applications
- » How to create connections to a...
Page Start Prev 1 Next End
How to create connections to a specific Port of Multiport model
How to create connections to a specific Port of Multiport model
Jun-10-13 15:53:42
How can draw a connection to a specific port of a Multiport model graphically with OMEdit?
when i try to connect a Modelica.Fluid.Pipe.StaticPipe to a Modelica.Fluid.Vessels.OpenTank then I will get the errormessage
Unmatched dimension in equation connect(reservoir.ports,staticpipe.port_b,[3]!=[]
- Darxon69
- 7 Posts
Re: How to create connections to a specific Port of Multiport model
Jun-11-13 10:02:21
This is a part of OMEdit manual
Connection for Connector Array Type – If any of the start port or the end port of the connection is of an array type, the user also needs to add indices at which the connection is to be made. For this a dialog box will pop up, as soon as the user clicks on the end port of the connection asking the user for indices of the array for whichever port it is necessary. For example, let’s say, the user wants to connect, the x component instance of Modelica.Electrical.Digital.Converters.BooleanToLogic to the y component instance of Modelica.Blocks.Sources.BooleanConstant. Now since, Modelica.Electrical.Digital.Converters.BooleanToLogic.x is a connector array, as soon as the user clicks on the end port for this connection, a dialog box appears asking user the index of the start instance. See Figure 1-6.
But no popup dialog will appear in my case! It looks like a bug.
- Darxon69
- 7 Posts
Page Start Prev 1 Next End
- Index
- » Usage and Applications
- » OpenModelica Usage and Applications
- » How to create connections to a...
There are 0 guests and 0 other users also viewing this topic