Modelio sysml ports7/7/2023 when I send a physical item, typed by a Block, it is sent as an Item Flow, but when I send a logical item, such as data, it is typed by a ValueType, and sent as an Information Flow. Why use ValueTypes for data blocks that flow across Proxy Ports? Because then they will show up as Information Flow items instead of Item Flow items across a connector between two Proxy Ports on an Internal Block Diagram (IBD). You can even create a generic table at this point which will list every data element in a given message, or in all messages, and add all the relevant Data Element tags as columns, and use it as a current specification for each message and data element of each message, and allow much easier editing of all the information directly in that table. Create a new stereotype with a custom name something like "Data Element" and add tags for any meta-data that is needed about each data element, such as length (in bits or bytes), underlying type in the message, any unit or scaling factors, position in the message, etc.Type the data flow properties of the connections with a ValueType whose attributes are the individual data elements of that data block (i.e.Note some of this may be better served as meta data in tags as part of a separate stereotype. Value properties that define characteristics of that connection, such as source and destination IP addresses and port numbers, comm loss and retry info, etc.Flow properties that represent blocks of data, such as messages, which are sent as a group across the connection.Use an Interface Block to type each logical connection (nested proxy port) with an Interface Block containing the following:.Nested elements for logical/abstract data flows across the network interface, such as sockets/connections.Nested full port elements for physical nested ports, such as pins that make up a physical ethernet port.Flow properties that represent physical items flowing out of the port, such as total electrical current (power).Use a block to type the network interface, including:. Use a full port for the raw network interface, the physical layer.I'm using MagicDraw as the SysML tool, but I don't think that should impact the core answer. a class/block) and when you are defining that this thing is a quantity that flows in your model (a flow of some kind - the message passes from one task or piece of hardware to another). I guess this boils down to confusion over when you are defining a thing (i.e. If the base message definition is a normal block, then when do you create a flow property that gets typed by that block, so that something can actually flow from one task to another through the port?Īn Interface Block should occur somewhere in there, in order to type the port, right? Does that mean I use it to define a message directly, or does that depend on my port scheme (i.e. In SysML, when modeling a message, I'm having trouble understanding what element type should be used to define it, its elements, and a port that it flows through.īoth can type a proxy port (formerly flow port, if I understand correctly), or type most other properties in other blocks as one builds up a full message interface or port system (either straight ports or nested ports).
0 Comments
Leave a Reply. |